wisetrack 2.0.8 → 2.1.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.
Files changed (61) hide show
  1. package/README.md +91 -24
  2. package/dist/cdn/sdk.bundle.min.js +1 -1
  3. package/dist/cjs/constants/constants.d.ts +3 -1
  4. package/dist/cjs/constants/endpoints.d.ts +9 -6
  5. package/dist/cjs/constants/environments.d.ts +1 -1
  6. package/dist/cjs/core/caching/queue-data.d.ts +0 -1
  7. package/dist/cjs/core/caching/request-queue-manager.d.ts +16 -31
  8. package/dist/cjs/core/fields/click-match-fields-builder.d.ts +7 -0
  9. package/dist/cjs/core/fields/heartbeat-fields-builder.d.ts +7 -0
  10. package/dist/cjs/core/network/api-client.d.ts +16 -4
  11. package/dist/cjs/core/network/network-error.d.ts +32 -16
  12. package/dist/cjs/core/network/network-manager.d.ts +9 -4
  13. package/dist/cjs/core/storage/storage-manager.d.ts +23 -2
  14. package/dist/cjs/core/wisetrack.d.ts +31 -8
  15. package/dist/cjs/core/wt-configure.d.ts +18 -0
  16. package/dist/cjs/core/wt-tracker.d.ts +5 -2
  17. package/dist/cjs/index.d.ts +4 -2
  18. package/dist/cjs/index.js +1 -1
  19. package/dist/cjs/types/config/initial-config.d.ts +8 -0
  20. package/dist/cjs/types/config/secure-config.d.ts +11 -0
  21. package/dist/cjs/types/config/wt-auth.d.ts +7 -0
  22. package/dist/cjs/types/config/wt-config-endpoints.d.ts +15 -0
  23. package/dist/cjs/types/config/wt-config.d.ts +4 -6
  24. package/dist/cjs/types/wt-deferred-lookup.d.ts +6 -0
  25. package/dist/cjs/utils/country-finder.d.ts +1 -0
  26. package/dist/cjs/utils/crypto-helper.d.ts +1 -1
  27. package/dist/cjs/utils/heartbeat-manager.d.ts +0 -0
  28. package/dist/cjs/utils/lifecycle-observer.d.ts +32 -0
  29. package/dist/cjs/utils/utils.d.ts +1 -0
  30. package/dist/cjs/utils/webgl-fingerprint.d.ts +3 -3
  31. package/dist/esm/constants/constants.d.ts +3 -1
  32. package/dist/esm/constants/endpoints.d.ts +9 -6
  33. package/dist/esm/constants/environments.d.ts +1 -1
  34. package/dist/esm/core/caching/queue-data.d.ts +0 -1
  35. package/dist/esm/core/caching/request-queue-manager.d.ts +16 -31
  36. package/dist/esm/core/fields/click-match-fields-builder.d.ts +7 -0
  37. package/dist/esm/core/fields/heartbeat-fields-builder.d.ts +7 -0
  38. package/dist/esm/core/network/api-client.d.ts +16 -4
  39. package/dist/esm/core/network/network-error.d.ts +32 -16
  40. package/dist/esm/core/network/network-manager.d.ts +9 -4
  41. package/dist/esm/core/storage/storage-manager.d.ts +23 -2
  42. package/dist/esm/core/wisetrack.d.ts +31 -8
  43. package/dist/esm/core/wt-configure.d.ts +18 -0
  44. package/dist/esm/core/wt-tracker.d.ts +5 -2
  45. package/dist/esm/index.d.ts +4 -2
  46. package/dist/esm/index.js +1 -1
  47. package/dist/esm/types/config/initial-config.d.ts +8 -0
  48. package/dist/esm/types/config/secure-config.d.ts +11 -0
  49. package/dist/esm/types/config/wt-auth.d.ts +7 -0
  50. package/dist/esm/types/config/wt-config-endpoints.d.ts +15 -0
  51. package/dist/esm/types/config/wt-config.d.ts +4 -6
  52. package/dist/esm/types/wt-deferred-lookup.d.ts +6 -0
  53. package/dist/esm/utils/country-finder.d.ts +1 -0
  54. package/dist/esm/utils/crypto-helper.d.ts +1 -1
  55. package/dist/esm/utils/heartbeat-manager.d.ts +0 -0
  56. package/dist/esm/utils/lifecycle-observer.d.ts +32 -0
  57. package/dist/esm/utils/utils.d.ts +1 -0
  58. package/dist/esm/utils/webgl-fingerprint.d.ts +3 -3
  59. package/package.json +16 -14
  60. package/dist/cjs/utils/activity-ticker.d.ts +0 -12
  61. package/dist/esm/utils/activity-ticker.d.ts +0 -12
package/dist/cjs/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";function _0x3e89(){const e=["300","18FFAnYa","1909766NiOVNJ","1800","24zXyMGw","web","173310RoLUom","1491304RfFGVk","375458tCbTkY","1214610wNgpeR","production","256193HAnfID","16677198WJGnIh","2.0.8"];return(_0x3e89=function(){return e})()}function _0xf0cc(e,t){const r=_0x3e89();return(_0xf0cc=function(e,t){return r[e-=388]})(e,t)}const _0x20ca0d=_0xf0cc;!function(){const e=_0xf0cc,t=_0x3e89();for(;;)try{if(526884===parseInt(e(393))/1+parseInt(e(401))/2+parseInt(e(391))/3+parseInt(e(392))/4+parseInt(e(394))/5*(parseInt(e(400))/6)+parseInt(e(396))/7*(-parseInt(e(389))/8)+-parseInt(e(397))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTConstants={SDK:{PLATFORM:_0x20ca0d(390),VERSION:_0x20ca0d(398)},CONFIG:{DEFAULT_ENVIRONMENT:_0x20ca0d(395)},DEFAULTS:{LOG_LEVEL:"info",SESSION_INTERVAL:_0x20ca0d(388),SUBSESSION_INTERVAL:_0x20ca0d(399),PARAMETERS_VALUE:void 0}};function _0x5af0(e,t){const r=_0xf79f();return(_0x5af0=function(e,t){return r[e-=490]})(e,t)}const _0x35b196=_0x5af0;function _0xf79f(){const e=["259760TeLSob","shouldLog","5HJcDlI","addOutputEngine","log","42IwIFSl","debug","info","7467120ejtqEO","2989910muZcSJ","6umaJBi","toUpperCase","281687BtJVwQ","prefix","DEFAULTS","58884GwoDOS","77SoqzmJ","setPrefix","outputEngines","level","indexOf","3335736haOKbP","warn","error","LOG_LEVEL","483408nUuZkt","setLevel"];return(_0xf79f=function(){return e})()}!function(){const e=_0x5af0,t=_0xf79f();for(;;)try{if(513257===parseInt(e(512))/1+-parseInt(e(515))/2*(-parseInt(e(505))/3)+parseInt(e(494))/4*(parseInt(e(502))/5)+parseInt(e(510))/6*(-parseInt(e(509))/7)+parseInt(e(498))/8+-parseInt(e(508))/9+parseInt(e(500))/10*(parseInt(e(516))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTLogger{static[_0x35b196(499)](e){this[_0x35b196(492)]=e}static[_0x35b196(490)](e){this[_0x35b196(513)]=e}static[_0x35b196(503)](e){this[_0x35b196(491)].push(e)}static shouldLog(e){const t=_0x35b196,r=[t(506),t(507),"warn","error"],n=r.indexOf(this[t(492)]);return r[t(493)](e)>=n}static[_0x35b196(504)](e,...t){const r=_0x35b196;if(!this[r(501)](e))return;const n="["+this.prefix+"-"+e[r(511)]()+"]";for(const i of this[r(491)])i(e,n,t)}static[_0x35b196(506)](...e){const t=_0x35b196;this[t(504)](t(506),...e)}static[_0x35b196(507)](...e){const t=_0x35b196;this[t(504)](t(507),...e)}static[_0x35b196(495)](...e){const t=_0x35b196;this[t(504)](t(495),...e)}static error(...e){const t=_0x35b196;this[t(504)](t(496),...e)}}function _0x556b(e,t){var r=_0x5994();return(_0x556b=function(e,t){return r[e-=428]})(e,t)}WTLogger.level=WTConstants[_0x35b196(514)][_0x35b196(497)],WTLogger.prefix="WT",WTLogger.outputEngines=[(e,t,r)=>{const n=_0x5af0;switch(e){case"debug":console[n(506)](t,...r);break;case"info":console[n(507)](t,...r);break;case"warn":console.warn(t,...r);break;case n(496):console[n(496)](t,...r);break;default:console[n(504)](t,...r)}}];var _0x505c2f=_0x556b;!function(){for(var e=_0x556b,t=_0x5994();;)try{if(941020===-parseInt(e(432))/1+parseInt(e(489))/2*(-parseInt(e(459))/3)+-parseInt(e(493))/4*(-parseInt(e(503))/5)+parseInt(e(494))/6+parseInt(e(490))/7*(-parseInt(e(498))/8)+parseInt(e(483))/9*(-parseInt(e(441))/10)+parseInt(e(473))/11*(parseInt(e(502))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTStorageKeys={DEVICE_ID:_0x505c2f(492),INITIAL_DATE:_0x505c2f(456),INITIAL_CONFIG:_0x505c2f(433),SDK_ENVIRONMENT:_0x505c2f(472),SDK_VERSION:_0x505c2f(505),CONFIG:_0x505c2f(501),SDK_CLICK_SUBMIT:_0x505c2f(447),FIRST_SESSION_SUBMIT:_0x505c2f(466),SDK_ENABLED:_0x505c2f(488),FCM_TOKEN:_0x505c2f(485),PUSH_TOKEN:"WT.PushToken",EVENT_COUNT:_0x505c2f(453),SESSION_COUNT:_0x505c2f(504),SESSION_LENGTH:"WT.SessionLenght",SUBSESSION_COUNT:"WT.SubSessionCount",ACTIVE_TIME:_0x505c2f(452),INACTIVE_TIME:_0x505c2f(439),INACTIVE_DURATION:_0x505c2f(495),REQUEST_QUEUE:_0x505c2f(500),PENDING_REQUEST_QUEUE:"WT.PendingRequestQueue"};class StorageManager{[_0x505c2f(454)](){localStorage.clear()}[_0x505c2f(437)](e,t){var r=_0x505c2f;if(t)try{const n=JSON[r(444)](t);localStorage[r(496)](e,n)}catch(t){WTLogger[r(491)](r(455)+e+"'",t)}else localStorage[r(469)](e)}[_0x505c2f(448)](e){var t=_0x505c2f;const r=localStorage[t(430)](e);if(!r)return null;try{return JSON[t(511)](r)}catch(r){return WTLogger[t(491)](t(474)+e+t(467)+r,r),null}}[_0x505c2f(478)](e){const t=localStorage[_0x505c2f(430)](e);if(null===t)return null;const r=Number(t);return isNaN(r)?null:r}optionalBool(e){var t=_0x505c2f;const r=localStorage[t(430)](e);return null===r?null:r===t(451)||r!==t(487)&&null}get[_0x505c2f(507)](){var e=_0x505c2f;return localStorage[e(430)](WTStorageKeys[e(471)])}set[_0x505c2f(507)](e){var t=_0x505c2f;e?localStorage.setItem(WTStorageKeys[t(471)],e):localStorage.removeItem(WTStorageKeys[t(471)])}get[_0x505c2f(463)](){var e=_0x505c2f;return this[e(448)](WTStorageKeys[e(506)])}set initialDate(e){this[_0x505c2f(437)](WTStorageKeys.INITIAL_DATE,e)}get[_0x505c2f(481)](){var e=_0x505c2f;return this[e(448)](WTStorageKeys[e(445)])}set[_0x505c2f(481)](e){this.setJson(WTStorageKeys.INITIAL_CONFIG,e)}get[_0x505c2f(512)](){return this[_0x505c2f(448)](WTStorageKeys.CONFIG)}set[_0x505c2f(512)](e){var t=_0x505c2f;this[t(437)](WTStorageKeys[t(443)],e)}get sdkEnabled(){var e;return null!==(e=this[_0x505c2f(457)](WTStorageKeys.SDK_ENABLED))&&void 0!==e&&e}set[_0x505c2f(431)](e){var t=_0x505c2f;localStorage[t(496)](WTStorageKeys[t(450)],e[t(458)]())}get[_0x505c2f(497)](){var e,t=_0x505c2f;return null!==(e=this[t(457)](WTStorageKeys[t(486)]))&&void 0!==e&&e}set[_0x505c2f(497)](e){var t=_0x505c2f;localStorage.setItem(WTStorageKeys[t(486)],e.toString())}get firstSessionSubmit(){var e,t=_0x505c2f;return null!==(e=this.optionalBool(WTStorageKeys[t(462)]))&&void 0!==e&&e}set firstSessionSubmit(e){var t=_0x505c2f;localStorage[t(496)](WTStorageKeys[t(462)],e.toString())}get fcmToken(){var e=_0x505c2f;return localStorage.getItem(WTStorageKeys[e(509)])}set[_0x505c2f(434)](e){var t=_0x505c2f;e?localStorage[t(496)](WTStorageKeys.FCM_TOKEN,e):localStorage[t(469)](WTStorageKeys[t(509)])}get[_0x505c2f(476)](){var e=_0x505c2f;return localStorage.getItem(WTStorageKeys[e(464)])}set pushToken(e){var t=_0x505c2f;e?localStorage.setItem(WTStorageKeys[t(464)],e):localStorage[t(469)](WTStorageKeys[t(464)])}get[_0x505c2f(480)](){var e,t=_0x505c2f;return null!==(e=this[t(478)](WTStorageKeys[t(436)]))&&void 0!==e?e:1}set[_0x505c2f(480)](e){var t=_0x505c2f;localStorage[t(496)](WTStorageKeys.SESSION_COUNT,e[t(458)]())}get[_0x505c2f(442)](){var e,t=_0x505c2f;return null!==(e=this[t(478)](WTStorageKeys[t(499)]))&&void 0!==e?e:1}set[_0x505c2f(442)](e){var t=_0x505c2f;localStorage[t(496)](WTStorageKeys[t(499)],e.toString())}get activeDuration(){var e,t=_0x505c2f;return null!==(e=this[t(478)](WTStorageKeys[t(429)]))&&void 0!==e?e:0}set activeDuration(e){var t=_0x505c2f;localStorage.setItem(WTStorageKeys[t(429)],e[t(458)]())}get[_0x505c2f(475)](){var e;return null!==(e=this.optionalNumber(WTStorageKeys.INACTIVE_DURATION))&&void 0!==e?e:0}set[_0x505c2f(475)](e){var t=_0x505c2f;localStorage[t(496)](WTStorageKeys[t(468)],e[t(458)]())}get inactiveTime(){var e=_0x505c2f;return this[e(478)](WTStorageKeys[e(446)])}set[_0x505c2f(449)](e){null!==e?localStorage.setItem(WTStorageKeys.ACTIVE_TIME,e.toString()):localStorage.removeItem(WTStorageKeys.ACTIVE_TIME)}get[_0x505c2f(470)](){return this[_0x505c2f(478)](WTStorageKeys.INACTIVE_TIME)}set[_0x505c2f(470)](e){var t=_0x505c2f;null!==e?localStorage[t(496)](WTStorageKeys[t(479)],e[t(458)]()):localStorage[t(469)](WTStorageKeys[t(479)])}get[_0x505c2f(510)](){var e,t=_0x505c2f;return null!==(e=this[t(448)](WTStorageKeys[t(477)]))&&void 0!==e?e:[]}set requestRecords(e){var t=_0x505c2f;this[t(437)](WTStorageKeys[t(477)],e)}get[_0x505c2f(440)](){var e,t=_0x505c2f;return null!==(e=this[t(448)](WTStorageKeys[t(461)]))&&void 0!==e?e:[]}set[_0x505c2f(440)](e){var t=_0x505c2f;this.setJson(WTStorageKeys[t(461)],e)}get[_0x505c2f(438)](){var e;return null!==(e=this.optionalNumber(WTStorageKeys.EVENT_COUNT))&&void 0!==e?e:0}set[_0x505c2f(438)](e){var t=_0x505c2f;localStorage[t(496)](WTStorageKeys[t(435)],e[t(458)]())}get[_0x505c2f(484)](){return localStorage.getItem(WTStorageKeys.SDK_ENVIRONMENT)}set[_0x505c2f(484)](e){var t=_0x505c2f;localStorage[t(496)](WTStorageKeys[t(428)],e)}get[_0x505c2f(482)](){var e,t=_0x505c2f;return null!==(e=localStorage[t(430)](WTStorageKeys[t(508)]))&&void 0!==e?e:WTConstants[t(465)][t(460)]}set sdkVersion(e){var t=_0x505c2f;e?localStorage.setItem(WTStorageKeys.SDK_VERSION,e):localStorage[t(469)](WTStorageKeys.SDK_VERSION)}}const storageManager=new StorageManager;function _0x5994(){var e=["10623085PioejE","Error in JSON decoding for key '","inactiveDuration","pushToken","REQUEST_QUEUE","optionalNumber","INACTIVE_TIME","sessionCount","initialConfig","sdkVersion","9GsYJtV","sdkEnvironment","WT.FcmToken","SDK_CLICK_SUBMIT","false","WT.SdkEnabled","2608fsfqeU","38255Gayecr","error","WT.DeviceId","246748GACNAM","6008292MMjKRt","WT.InactiveDuration","setItem","sdkClickSubmit","1704SHkMSU","SUBSESSION_COUNT","WT.RequestQueue","WT.Configs","24VaQSOX","70SVAuuT","WT.SessionCount","WT.SdkVersion","INITIAL_DATE","deviceId","SDK_VERSION","FCM_TOKEN","requestRecords","parse","config","SDK_ENVIRONMENT","SESSION_LENGTH","getItem","sdkEnabled","892928PlbRAv","WT.InitialConfigs","fcmToken","EVENT_COUNT","SESSION_COUNT","setJson","eventCount","WT.InactiveTime","pendingRequestRecords","2847010IPaljh","subSessionCount","CONFIG","stringify","INITIAL_CONFIG","ACTIVE_TIME","WT.SdkClickSubmit","getJson","inactiveTime","SDK_ENABLED","true","WT.ActiveTime","WT.EventCount","clear","Error in encoding object for key '","WT.InitialDate","optionalBool","toString","1182XFJFve","VERSION","PENDING_REQUEST_QUEUE","FIRST_SESSION_SUBMIT","initialDate","PUSH_TOKEN","SDK","WT.FirstSessionSubmit","': ","INACTIVE_DURATION","removeItem","activeTime","DEVICE_ID","WT.SdkEnvironment"];return(_0x5994=function(){return e})()}function _0x2832(e,t){const r=_0x3d74();return(_0x2832=function(e,t){return r[e-=115]})(e,t)}const _0x47ca7c=_0x2832;!function(){const e=_0x2832,t=_0x3d74();for(;;)try{if(854545===parseInt(e(129))/1*(parseInt(e(115))/2)+-parseInt(e(137))/3+-parseInt(e(116))/4*(parseInt(e(128))/5)+-parseInt(e(131))/6+parseInt(e(134))/7+-parseInt(e(132))/8*(parseInt(e(123))/9)+parseInt(e(122))/10*(parseInt(e(135))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class SecureConfig{static decode(e){const t=_0x2832;try{const r=atob(e);let n="";for(let e=0;e<r[t(120)];e++){const i=90^r[t(126)](e);n+=String[t(117)](i)}return n}catch(e){return console[t(136)](t(119),e),""}}static get[_0x47ca7c(130)](){const e=_0x47ca7c;return this[e(124)](e(121))}static get[_0x47ca7c(133)](){const e=_0x47ca7c;return this[e(124)](e(127))}static get STAGE_BASE_URL(){const e=_0x47ca7c;return this[e(124)](e(125))}static get[_0x47ca7c(118)](){const e=_0x47ca7c;return this[e(124)](e(138))}}function _0x3d74(){const e=["Mi4uKilgdXU5NSg/dD4/OC89dC0zKT8uKDs5MT4/LHQzKA==","42095yPjHxC","1QsBIEG","CONFIG_PATH","8816694YWskCc","8sqovwf","DEBUG_BASE_URL","1895607szqDdF","49290824mUyehh","error","1553349pNoPDy","Mi4uKilgdXU5NSg/dC0zKT8uKDs5MXQzNQ==","65566rneijU","368rgdgXZ","fromCharCode","PRODUCTION_BASE_URL","Decode error:","length","dTsqM3U9Py53OTU0PDM9","10XXMVDs","10514187xnKwwB","decode","Mi4uKilgdXU5NSg/dCkuOz0/dC0zKT8uKDs5MT4/LHQzKA==","charCodeAt"];return(_0x3d74=function(){return e})()}const _0x45f005=_0x1301;function _0x19f3(){const e=["3304688WalrVY","CONFIG","STAGE","DEBUG","790990CRIoYP","production","sandbox","367265wltxeS","STAGE_BASE_URL","112odfcjC","6164208ySnPSJ","10911uTrZIy","63VwKRSv","Unknown environment: ","stage","PRODUCTION_BASE_URL","502fyXyEQ","sdkEnvironment","PRODUCTION","5865132jjOATg","137780mfmkLz"];return(_0x19f3=function(){return e})()}function _0x1301(e,t){const r=_0x19f3();return(_0x1301=function(e,t){return r[e-=199]})(e,t)}!function(){const e=_0x1301,t=_0x19f3();for(;;)try{if(539903===-parseInt(e(211))/1+parseInt(e(199))/2*(parseInt(e(215))/3)+-parseInt(e(213))/4*(-parseInt(e(203))/5)+parseInt(e(214))/6+-parseInt(e(202))/7+-parseInt(e(204))/8+parseInt(e(216))/9*(-parseInt(e(208))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTUserEnvironment={SANDBOX:_0x45f005(210),PRODUCTION:_0x45f005(209)},WTSDKEnvironment={DEBUG:"debug",STAGE:_0x45f005(218),PRODUCTION:_0x45f005(209)},EnvironmentUtils={get sdkEnvironment(){const e=_0x45f005;var t;return null!==(t=storageManager.sdkEnvironment)&&void 0!==t?t:WTConstants[e(205)].DEFAULT_ENVIRONMENT},get needResponseDetails(){const e=_0x45f005;return this[e(200)]!==WTSDKEnvironment[e(201)]},get baseUrl(){const e=_0x45f005;switch(this[e(200)]){case WTSDKEnvironment[e(207)]:return SecureConfig.DEBUG_BASE_URL;case WTSDKEnvironment[e(206)]:return SecureConfig[e(212)];case WTSDKEnvironment.PRODUCTION:return SecureConfig[e(219)];default:throw new Error(e(217)+this.sdkEnvironment)}}};function _0x4ae9(e,t){var r=_0x4492();return(_0x4ae9=function(e,t){return r[e-=444]})(e,t)}function _0x4492(){var e=["sdkEnvironment","3996500wAyQiz","5837224kAxGTR","57696QEblSE","6764484QRCrSZ","2109384FPyuqu","1519982qRPJXK","sdkVersion","16850016HtsGoN","7UAIGPr","2ONHnTB"];return(_0x4492=function(){return e})()}var _0x35d562=_0x4ae9;!function(){for(var e=_0x4ae9,t=_0x4492();;)try{if(860599===-parseInt(e(444))/1*(parseInt(e(451))/2)+-parseInt(e(450))/3+parseInt(e(448))/4+parseInt(e(446))/5+parseInt(e(449))/6*(parseInt(e(454))/7)+-parseInt(e(447))/8+parseInt(e(453))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class ResourceWrapper{static sdkEnvironment(e){var t=_0x4ae9;try{storageManager[t(445)]=e}catch(e){}}static[_0x35d562(452)](e){var t=_0x35d562;try{storageManager[t(452)]=e}catch(e){}}}function __awaiter(e,t,r,n){return new(r||(r=Promise))(function(i,s){function o(e){try{c(n.next(e))}catch(e){s(e)}}function a(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(o,a)}c((n=n.apply(e,t||[])).next())})}"function"==typeof SuppressedError&&SuppressedError;const _0x4df27e=_0xce39;function _0xce39(e,t){const r=_0x5618();return(_0xce39=function(e,t){return r[e-=184]})(e,t)}function _0x5618(){const e=["202774YZBusM","/api/v1/sessions","4541008uLtUiE","1212MYqHUl","/api/v1/app_settings","3336444RqWdVe","855130osZVoG","1125989LeehnG","36fnzTnm","8841emSMSb","/api/v1/attributions","18fNUjgr","2470530THeHaR","62gJHFRo","/api/v1/events","14dJHrXF"];return(_0x5618=function(){return e})()}!function(){const e=_0xce39,t=_0x5618();for(;;)try{if(878741===parseInt(e(184))/1+-parseInt(e(190))/2*(-parseInt(e(186))/3)+parseInt(e(198))/4+-parseInt(e(189))/5*(-parseInt(e(188))/6)+-parseInt(e(192))/7*(parseInt(e(195))/8)+-parseInt(e(185))/9*(-parseInt(e(199))/10)+parseInt(e(193))/11*(-parseInt(e(196))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTEndpoints={EVENTS:_0x4df27e(191),SESSIONS:_0x4df27e(194),SDK_CLICKS:"/api/v1/sdk_clicks",SDK_INFOS:"/api/v1/sdk_infos",ATTRIBUTIONS:_0x4df27e(187),APP_SETTINGS:_0x4df27e(197)};var ApiError,_0x2d00b4=_0x401b;function _0x401b(e,t){var r=_0x3cde();return(_0x401b=function(e,t){return r[e-=301]})(e,t)}!function(){for(var e=_0x401b,t=_0x3cde();;)try{if(507196===-parseInt(e(316))/1+parseInt(e(331))/2*(parseInt(e(330))/3)+parseInt(e(310))/4*(-parseInt(e(311))/5)+parseInt(e(305))/6+parseInt(e(323))/7+-parseInt(e(308))/8*(parseInt(e(325))/9)+-parseInt(e(315))/10*(-parseInt(e(317))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTConfig{constructor(e,t,r,n,i,s=!0,o=!1,a=WTConstants[_0x2d00b4(312)][_0x2d00b4(314)],c=WTConstants[_0x2d00b4(312)].SUBSESSION_INTERVAL){var u=_0x2d00b4;this[u(328)]=e,this[u(318)]=t,this[u(306)]=r,this[u(326)]=n,this.attributions=i,this[u(324)]=s,this[u(320)]=o,this[u(304)]=a,this[u(309)]=c}static[_0x2d00b4(313)](e){var t,r,n,i,s=_0x2d00b4;return new WTConfig(e.events,e[s(318)],e.sdk_clicks,e[s(301)],e.attributions,null===(t=e.sdk_enabled)||void 0===t||t,null!==(r=e[s(321)])&&void 0!==r&&r,null!==(n=e[s(302)])&&void 0!==n?n:WTConstants[s(312)].SESSION_INTERVAL,null!==(i=e[s(322)])&&void 0!==i?i:WTConstants[s(312)][s(329)])}static get[_0x2d00b4(303)](){var e=_0x2d00b4;return new WTConfig(WTEndpoints[e(307)],WTEndpoints.SESSIONS,WTEndpoints.SDK_CLICKS,WTEndpoints[e(327)],WTEndpoints[e(319)],!0,!1,WTConstants[e(312)][e(314)],WTConstants[e(312)][e(329)])}}function _0x3cde(){var e=["40JqLJus","272961orqAsS","1540671oWXwWo","sessions","ATTRIBUTIONS","sdkUpdate","sdk_update","subsession_interval","4094391dYrmYS","sdkEnabled","18hIORsq","sdkInfos","SDK_INFOS","events","SUBSESSION_INTERVAL","3vcQhHf","518376zgPuJT","sdk_infos","session_interval","defaultValue","sessionInterval","2233698YxUIsd","sdkClicks","EVENTS","2905688hlgniu","subsessionInterval","1080196puCJoF","5heovHe","DEFAULTS","fromJson","SESSION_INTERVAL"];return(_0x3cde=function(){return e})()}function _0x4937(e,t){var r=_0x3ef8();return(_0x4937=function(e,t){return r[e-=477]})(e,t)}function _0x3ef8(){var e=["ServerError ","2151235ddCNaH","565259omyTqz","18zrePZO","Invalid URL: ","message","2509701AteDac","NetworkFailure","5069816FwNLea","DecodingError","InvalidUrl","NetworkError: ","3027608GrDslt","ServerError","16jxlyrJ","7505680gftqeA","name","statusCode","DecodingError: ","4012668CCPvAH"];return(_0x3ef8=function(){return e})()}function _0x4810(){var e=["maxRetries","1016695dSwHTP","231CHfdPO","3764664zTOcGw","267614ISSlna","1537630rmFkdC","21245SGBgPp","167961LZlqLx","retryInterval","30DdywVZ","38oErasD","9628164DfWDGF","3704rhPzpr"];return(_0x4810=function(){return e})()}function _0x2c65(e,t){var r=_0x4810();return(_0x2c65=function(e,t){return r[e-=454]})(e,t)}!function(){for(var e=_0x4937,t=_0x3ef8();;)try{if(953619===parseInt(e(486))/1+-parseInt(e(496))/2+-parseInt(e(490))/3+parseInt(e(492))/4+parseInt(e(485))/5*(parseInt(e(487))/6)+parseInt(e(479))/7+-parseInt(e(478))/8*(parseInt(e(483))/9))break;t.push(t.shift())}catch(e){t.push(t.shift())}}(),function(e){var t=_0x4937;class r extends Error{constructor(e){var t=_0x4937;super(t(488)+e),this[t(480)]=t(494)}}e[t(494)]=r;class n extends Error{constructor(e,r){var n=t;super(n(484)+e+": "+r),this[n(481)]=e,this[n(489)]=r,this[n(480)]=n(477)}}e[t(477)]=n;class i extends Error{constructor(e){var r=t;super(r(495)+e),this[r(480)]=r(491)}}e.NetworkError=i;class s extends Error{constructor(e){var r=t;super(r(482)+e),this[r(480)]="DecodingError"}}e[t(493)]=s}(ApiError||(ApiError={})),function(){for(var e=_0x2c65,t=_0x4810();;)try{if(810432===parseInt(e(463))/1+parseInt(e(456))/2*(-parseInt(e(466))/3)+-parseInt(e(462))/4+-parseInt(e(460))/5*(parseInt(e(455))/6)+parseInt(e(465))/7*(parseInt(e(458))/8)+-parseInt(e(457))/9+-parseInt(e(464))/10*(-parseInt(e(461))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RetryPolicy{constructor(e=3,t=2e3){var r=_0x2c65;this[r(459)]=e,this[r(454)]=t}canRetry(e){return e<this[_0x2c65(459)]}waitBeforeRetry(){return __awaiter(this,void 0,void 0,function*(){var e=_0x2c65;return new Promise(t=>setTimeout(t,this[e(454)]))})}}function _0x3534(){const e=["Server error","Error executing request","baseUrl","Unknown error","headers","822720Rbhwlk","Content-Type","-- PARAMETERS =>","✅ API SUCCESS (","1515sCgdNu","5622krTrOD","Invalid URL:","🚀 REQUEST (","1714704DIlpAl",") =>","sendRequest","warn","374838DehUEx","stringify","status","❌ API ERROR (","3148112WsKqvC","error","InvalidUrl","assign","ServerError","debug","waitBeforeRetry","986706TUaJJR","params","retryAttempt",") => ","json","application/json","text","message","392UzrcFF","Request successful","DecodingError","134372sJnJbz"];return(_0x3534=function(){return e})()}function _0x286e(e,t){const r=_0x3534();return(_0x286e=function(e,t){return r[e-=205]})(e,t)}!function(){const e=_0x286e,t=_0x3534();for(;;)try{if(610854===parseInt(e(209))/1+-parseInt(e(221))/2+-parseInt(e(217))/3+-parseInt(e(225))/4+parseInt(e(213))/5*(parseInt(e(214))/6)+parseInt(e(243))/7*(parseInt(e(240))/8)+parseInt(e(232))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const networkManager={retryPolicy:()=>new RetryPolicy,sendRequest(e){return __awaiter(this,arguments,void 0,function*(e,t={}){const r=_0x286e,n=t[r(234)]||1;let i,s;try{i=new URL(e,EnvironmentUtils[r(206)])}catch(t){throw console[r(226)](r(215),t),new(ApiError[r(227)])(""+EnvironmentUtils[r(206)]+e)}WTLogger.debug(r(216)+n+r(235)+t.method+" "+e),WTLogger[r(230)](r(211),t[r(233)]||{});const o=Object[r(228)]({Accept:r(237)},t[r(208)]);t.params&&(o[r(210)]=r(237),s=JSON[r(222)](t.params));try{const e=yield fetch(i,{method:t.method,headers:o,body:s});if(!e.ok){let t=yield e[r(236)](),n=t[r(239)]||(yield e[r(238)]());throw WTLogger[r(220)](r(224)+e[r(223)]+r(218),n),new ApiError.ServerError(e.status,t[r(239)]||r(244))}try{const t=yield e[r(236)]();return WTLogger.debug(r(212)+e.status+r(218),t.message||r(241)),t}catch(e){throw new(ApiError[r(242)])(e.message||String(e))}}catch(i){if(i instanceof ApiError[r(229)]||i instanceof ApiError.DecodingError)throw i;if(WTLogger[r(226)](r(205),i),this.retryPolicy().canRetry(n))return yield this.retryPolicy()[r(231)](),this[r(219)](e,Object[r(228)](Object[r(228)]({},t),{retryAttempt:n+1}));throw new ApiError.NetworkError(i[r(239)]||r(207))}})}};function _0x7866(e,t){const r=_0xd49d();return(_0x7866=function(e,t){return r[e-=203]})(e,t)}function _0xd49d(){const e=["10495387AKcvUa","1356618PqJSyw","sendRequest","appVersion","8GBVmFu","appToken","4604wVdBqk","6374480QTIRAh","570394sdMuJt","initialConfig","appFrameWork","POST","PLATFORM","hostname","other","20554299hswiBw","success","1524uEYcmM","2845410wZOjFa","Initial Config is not set","toISOString","fromJson","sdk_updated_at","CONFIG_PATH","sdkVersion"];return(_0xd49d=function(){return e})()}!function(){const e=_0x7866,t=_0xd49d();for(;;)try{if(873762===-parseInt(e(213))/1+-parseInt(e(223))/2+parseInt(e(222))/3*(parseInt(e(211))/4)+-parseInt(e(212))/5+-parseInt(e(206))/6+parseInt(e(205))/7+-parseInt(e(209))/8*(-parseInt(e(220))/9))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const apiClient={doGetConfig(){return __awaiter(this,void 0,void 0,function*(){const e=_0x7866,t=storageManager[e(214)];if(!t)throw e(224);const r={parameters:{app_token:t[e(210)],app_version:t[e(208)],framework:t[e(215)],package_name:window.location[e(218)],platform:WTConstants.SDK[e(217)],sdk_version:storageManager[e(204)],initiated_by:WTConstants.SDK[e(217)]+"_"+t[e(215)],store_name:e(219)}},n=yield networkManager[e(207)](SecureConfig[e(203)],{method:e(216),params:r});return WTConfig[e(226)](n.result)})},doCallRequest(e,t){return __awaiter(this,void 0,void 0,function*(){const r=_0x7866;t[r(227)]=(new Date)[r(225)]();return(yield networkManager[r(207)](e,{method:r(216),params:{needs_response_details:EnvironmentUtils.needResponseDetails,parameters:t}}))[r(221)]})}},_0x257c81=_0x364b;function _0x321a(){const e=["s, inactive duration= ","3wAturH","422986dgUBxJ","523266jAsbJV","stop","864540UXSZBO","inactiveDuration","start","hidden","tickerJob","activeDuration","hasFocus","ActivityTicker: active duration= ","isPaused","tickerDelay","198872CptFUA","1344006ouGcEp","126283hSIClK","now","7MOXVZh","1178600bqzdLV"];return(_0x321a=function(){return e})()}function _0x364b(e,t){const r=_0x321a();return(_0x364b=function(e,t){return r[e-=403]})(e,t)}!function(){const e=_0x364b,t=_0x321a();for(;;)try{if(147325===parseInt(e(421))/1+parseInt(e(406))/2*(parseInt(e(405))/3)+-parseInt(e(409))/4+-parseInt(e(403))/5+parseInt(e(407))/6+-parseInt(e(423))/7*(-parseInt(e(419))/8)+parseInt(e(420))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class ActivityTicker{constructor(){const e=_0x364b;this.tickerDelay=1e3,this[e(417)]=!1}[_0x257c81(411)](){const e=_0x257c81;this.tickerJob&&clearInterval(this[e(413)]),this[e(413)]=setInterval(()=>{const t=e;this.isPaused||document[t(412)]||document[t(415)]()&&(console.log(t(416)+storageManager[t(414)]/1e3+t(404)+storageManager[t(410)]/1e3+"s"),storageManager.activeTime=Date[t(422)](),storageManager[t(414)]+=this[t(418)])},this[e(418)])}[_0x257c81(408)](){const e=_0x257c81;clearInterval(this.tickerJob),this[e(413)]=void 0}pause(){this[_0x257c81(417)]=!0}resume(){this[_0x257c81(417)]=!1}}const activityTicker=new ActivityTicker,_0x3cfd33=_0x5348;function _0x5348(e,t){const r=_0x7b30();return(_0x5348=function(e,t){return r[e-=131]})(e,t)}function _0x7b30(){const e=["405558zRykHt","countryCode","country_code","6948752JZgxdy","153YVUROy","https://api.country.is","9KNoBAq","fetchWithTimeout","country.is failed","finally","signal","7749450DHIMFc","265xCmfWT","json","abort","63XQjeBs","_country","10480272UlAhku","10976rBFzKz","getCountryCode","country","tryAllEndpoints","1397166nrGVJw","15558JZvpvk","https://free.freeipapi.com/api/json"];return(_0x7b30=function(){return e})()}!function(){const e=_0x5348,t=_0x7b30();for(;;)try{if(619131===parseInt(e(136))/1*(parseInt(e(155))/2)+-parseInt(e(154))/3+-parseInt(e(150))/4*(-parseInt(e(144))/5)+-parseInt(e(132))/6*(-parseInt(e(147))/7)+parseInt(e(135))/8+parseInt(e(138))/9*(-parseInt(e(143))/10)+-parseInt(e(149))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class CountryFinder{constructor(){this[_0x5348(148)]=null}[_0x3cfd33(151)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5348;return!this._country&&(this[e(148)]=yield this[e(153)]()),this._country})}[_0x3cfd33(153)](){return __awaiter(this,void 0,void 0,function*(){const e=[()=>__awaiter(this,void 0,void 0,function*(){const e=_0x5348,t=yield this[e(139)](e(137));if(!t.ok)throw new Error(e(140));return(yield t[e(145)]())[e(152)]||null}),()=>__awaiter(this,void 0,void 0,function*(){const e=_0x5348,t=yield this[e(139)](e(131));if(!t.ok)throw new Error(e(140));return(yield t[e(145)]())[e(133)]||null}),()=>__awaiter(this,void 0,void 0,function*(){const e=_0x5348,t=yield this[e(139)]("https://ipwho.is/");if(!t.ok)throw new Error("ipwho.is failed");return(yield t[e(145)]())[e(134)]||null})];for(const t of e)try{const e=yield t();if(e)return e}catch(e){}return null})}[_0x3cfd33(139)](e){return __awaiter(this,arguments,void 0,function*(e,t=2e3){const r=_0x5348,n=new AbortController,i=setTimeout(()=>n[r(146)](),t);return fetch(e,{signal:n[r(142)]})[r(141)](()=>clearTimeout(i))})}}const countryFinder=new CountryFinder;function _0xc7f6(){const e=["6371233dvbbTw","1464925ytTupG","2TWzBvv","212058Vjvgtw","166376ZZDnXC","477204wnudnE","36184iVMgmm","50EgQuSh","375yvYKvi","126Hlluzx","1964buOXoG"];return(_0xc7f6=function(){return e})()}function _0x408a(e,t){const r=_0xc7f6();return(_0x408a=function(e,t){return r[e-=153]})(e,t)}!function(){const e=_0x408a,t=_0xc7f6();for(;;)try{if(224355===-parseInt(e(159))/1*(parseInt(e(161))/2)+parseInt(e(154))/3*(parseInt(e(156))/4)+-parseInt(e(158))/5+parseInt(e(162))/6+parseInt(e(155))/7*(parseInt(e(163))/8)+parseInt(e(160))/9*(-parseInt(e(153))/10)+parseInt(e(157))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const cryptoHelper={generateDeviceUUID:()=>crypto.randomUUID()};function _0x59c9(e,t){const r=_0x2387();return(_0x59c9=function(e,t){return r[e-=449]})(e,t)}const _0x58574a=_0x59c9;function _0x2387(){const e=["16zNxGgS","locked","2019428LkHbDW","49602960jroNFj","release","368604GVDmnS","createdAt","acquire","push","10557309AHLKbt","endpoint","randomUUID","4084569lLcSBO","now","parameters","5050413QkMBQJ","shift","waitingQueue","283748YeKpkU","5LcKOKV","3BmZJfq"];return(_0x2387=function(){return e})()}!function(){const e=_0x59c9,t=_0x2387();for(;;)try{if(950471===-parseInt(e(455))/1*(-parseInt(e(453))/2)+-parseInt(e(468))/3+parseInt(e(458))/4*(-parseInt(e(454))/5)+parseInt(e(461))/6+-parseInt(e(465))/7+parseInt(e(456))/8*(-parseInt(e(450))/9)+parseInt(e(459))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RequestRecord{constructor(e,t){const r=_0x59c9;this.retryCount=0,this.maxRetries=3,this.id=crypto[r(467)](),this[r(466)]=e,this[r(449)]=t,this[r(462)]=Date[r(469)]()}}class Mutex{constructor(){const e=_0x59c9;this[e(457)]=!1,this[e(452)]=[]}[_0x58574a(463)](){return __awaiter(this,void 0,void 0,function*(){return new Promise(e=>{const t=_0x59c9;this[t(457)]?this[t(452)][t(464)](e):(this.locked=!0,e())})})}[_0x58574a(460)](){const e=_0x58574a;if(this[e(452)].length>0){this[e(452)][e(451)]()()}else this[e(457)]=!1}}const _0x4efbfa=_0x14f9;function _0x14f9(e,t){const r=_0x49ee();return(_0x14f9=function(e,t){return r[e-=308]})(e,t)}function _0x49ee(){const e=["firstSessionSubmit","postRequestCheck","6RFGGys","processPendingQueue","getQueueStatus","length","343690clHabh","pow","mutex","Error sending request ","⏳ Request ","getPendingQueue","fcmToken","resetBackoffDelay","stopProcessing","5305867GqXeLp","sdkClickSubmit","failedRequestDelay","acquire","Applying backoff delay of ","isInitialized","shift","release"," failed. Retry ","isProcessing","startProcessing","maxRetries","): id=","SDK_CLICKS","BASE_DELAY_MS","2226405xiDLjO","sendRequest","Error in processing loop:","inactiveDuration","BACKOFF_MULTIPLIER","5267421aUrYkc","endpoint","addRequest"," failed after ","isCurrentlyProcessing","PROCESSING_INTERVAL_MS","977692mgWfnK","SDK_INFOS","⏰ Backoff delay ended, resuming queue processing","warn","processingInterval","MAX_DELAY_MS","8936576FTuYfg","processMainQueue","error","❌ Request ","getMainQueue","min","6zbbWDH","saveMainQueue","pendingRequestRecords","subSessionCount","retryCount","processQueues"," attempts. ","addPendingRequest","getBackoffConfig","doCallRequest","shutdown","🔄 Backoff delay manually reset","calculateBackoffDelay","initialize","parameters","SESSIONS","push_token","savePendingQueue","743068PaTpZL","now","getMainRequestsSentFlag","debug","requestRecords","push"];return(_0x49ee=function(){return e})()}!function(){const e=_0x14f9,t=_0x49ee();for(;;)try{if(662646===parseInt(e(317))/1+parseInt(e(359))/2*(parseInt(e(355))/3)+parseInt(e(347))/4+parseInt(e(383))/5+parseInt(e(329))/6*(-parseInt(e(368))/7)+-parseInt(e(323))/8+parseInt(e(311))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RequestsQueueManager{constructor(){const e=_0x14f9;this[e(373)]=!1,this[e(377)]=!1,this[e(315)]=!1,this[e(361)]=new Mutex,this[e(321)]=null,this[e(316)]=100,this[e(370)]=0,this[e(322)]=3e4,this[e(310)]=2,this[e(382)]=1e3}[_0x4efbfa(342)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x14f9;this.isInitialized=!0,!this[e(377)]&&(yield this[e(378)]())})}[_0x4efbfa(339)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x14f9;this.isInitialized&&(yield this[e(367)](),this.isInitialized=!1)})}startProcessing(){return __awaiter(this,void 0,void 0,function*(){const e=_0x14f9;if(this[e(373)]){yield this.mutex[e(371)]();try{if(this[e(377)])return;this.isProcessing=!0,this[e(321)]=setInterval(()=>__awaiter(this,void 0,void 0,function*(){const t=e;try{yield this.processQueues()}catch(e){WTLogger.error(t(308),e)}}),this[e(316)])}finally{this[e(361)][e(375)]()}yield this.processQueues()}else WTLogger.warn("Queue Manager is not initialized. Call initialize() first.")})}[_0x4efbfa(367)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x14f9;yield this[e(361)][e(371)]();try{this.isProcessing=!1,this[e(321)]&&(clearInterval(this.processingInterval),this[e(321)]=null)}finally{this[e(361)][e(375)]()}})}[_0x4efbfa(313)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x14f9;yield this.mutex[t(371)]();try{const r=this[t(327)]();if(r[t(352)](e),this.saveMainQueue(r),this.failedRequestDelay=0,!this[t(377)])return this[t(361)][t(375)](),void(yield this[t(378)]())}finally{this[t(377)]&&this.mutex[t(375)]()}})}[_0x4efbfa(336)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x14f9;yield this[t(361)][t(371)]();try{if(this.getMainRequestsSentFlag()){const r=this.getMainQueue();r.push(e),this[t(330)](r)}else{const r=this[t(364)]();r[t(352)](e),this[t(346)](r)}if(this[t(370)]=0,!this[t(377)])return this[t(361)].release(),void(yield this.startProcessing())}finally{this[t(377)]&&this.mutex[t(375)]()}})}[_0x4efbfa(334)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x14f9;if(this[e(377)]&&!this[e(315)]){if(this[e(370)]>0){if(Date.now()<this.failedRequestDelay)return;this.failedRequestDelay=0,WTLogger[e(350)](e(319))}this.isCurrentlyProcessing=!0,yield this[e(361)].acquire();try{yield this[e(324)](),yield this.processPendingQueue()}finally{this[e(361)][e(375)](),this[e(315)]=!1}}})}processMainQueue(){return __awaiter(this,void 0,void 0,function*(){const e=_0x14f9,t=this[e(327)]();if(0===t[e(358)])return;const r=t[0];try{if(yield this[e(384)](r))t[e(374)](),this[e(330)](t),this[e(354)](r),WTLogger.debug("✅ Request "+r.id+" processed successfully");else{if(t[0][e(333)]++,t[0][e(333)]>=t[0][e(379)]){const n=this[e(341)](t[0][e(333)]);this[e(370)]=Date[e(348)]()+n,WTLogger[e(320)](e(363)+r.id+e(314)+r.maxRetries+e(335)+(e(372)+n+"ms"))}else WTLogger[e(320)]("⚠️ Request "+r.id+e(376)+t[0][e(333)]+"/"+t[0][e(379)]);this[e(330)](t)}}catch(n){if(WTLogger[e(325)](e(362)+r[e(312)]+":",n),t[0][e(333)]++,t[0][e(333)]>=t[0][e(379)]){const n=this[e(341)](t[0][e(333)]);this.failedRequestDelay=Date.now()+n,WTLogger[e(320)]("⏳ Request "+r.id+" failed with error after "+t[0][e(379)]+" attempts. "+(e(372)+n)+"ms")}this[e(330)](t)}})}calculateBackoffDelay(e){const t=_0x4efbfa,r=this.BASE_DELAY_MS*Math[t(360)](this[t(310)],e-1);return Math[t(328)](r,this[t(322)])}[_0x4efbfa(356)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x14f9;if(!this[e(349)]())return;const t=this[e(364)]();if(0===t[e(358)])return;const r=this[e(327)]();r[e(352)](...t),this[e(330)](r),this[e(346)]([])})}sendRequest(e){return __awaiter(this,arguments,void 0,function*(e,t=1){const r=_0x14f9;WTLogger.debug("💥 Sending request ("+e[r(312)]+r(380)+e.id);let n=!1;try{n=yield apiClient[r(338)](e[r(312)],e[r(343)])}catch(t){WTLogger[r(325)](r(326)+e[r(312)]+" failed",t)}return n})}[_0x4efbfa(327)](){return storageManager[_0x4efbfa(351)]}saveMainQueue(e){storageManager.requestRecords=e}getPendingQueue(){return storageManager[_0x4efbfa(331)]}[_0x4efbfa(346)](e){storageManager[_0x4efbfa(331)]=e}[_0x4efbfa(349)](){return storageManager[_0x4efbfa(369)]}postRequestCheck(e){const t=_0x4efbfa;switch(e[t(312)]){case WTEndpoints[t(381)]:storageManager[t(369)]=!0;break;case WTEndpoints[t(344)]:storageManager[t(353)]?(storageManager.activeDuration=0,storageManager[t(309)]=0,storageManager[t(332)]=1):storageManager.firstSessionSubmit=!0;break;case WTEndpoints[t(318)]:storageManager[t(365)]=e[t(343)][t(345)]}}[_0x4efbfa(357)](){const e=_0x4efbfa;return{mainQueueLength:this.getMainQueue().length,pendingQueueLength:this[e(364)]()[e(358)],isProcessing:this[e(377)],mainRequestsSent:this[e(349)](),isInBackoffDelay:this[e(370)]>0&&Date.now()<this[e(370)],backoffEndsAt:this[e(370)]>0?this[e(370)]:null}}[_0x4efbfa(366)](){const e=_0x4efbfa;this[e(370)]=0,WTLogger[e(350)](e(340))}[_0x4efbfa(337)](){const e=_0x4efbfa;return{baseDelayMs:this.BASE_DELAY_MS,multiplier:this.BACKOFF_MULTIPLIER,maxDelayMs:this[e(322)]}}}const queueManager=new RequestsQueueManager;var props,NAME="name",TYPE="type",VENDOR="vendor",VERSION="version",MODEL="model",MOBILE="mobile",TABLET="tablet",SMARTTV="smarttv",CH_ALL_VALUES=["brands","fullVersionList",MOBILE,MODEL,"platform","platformVersion","architecture","formFactors","bitness"],NAVIGATOR="undefined"!=typeof window&&window.navigator?window.navigator:void 0,NAVIGATOR_UADATA=NAVIGATOR&&NAVIGATOR.userAgentData?NAVIGATOR.userAgentData:void 0,enumerize=function(e){for(var t={},r=0;r<e.length;r++)t[e[r].toUpperCase()]=e[r];return t},has=function(e,t){if("object"==typeof e&&e.length>0){for(var r in e)if(lowerize(t)==lowerize(e[r]))return!0;return!1}return!!isString(e)&&lowerize(t)==lowerize(e)},isExtensions=function(e,t){for(var r in e)return/^(browser|cpu|device|engine|os)$/.test(r)||!!t&&isExtensions(e[r])},isString=function(e){return"string"==typeof e},itemListToArray=function(e){if(e){for(var t=[],r=strip(/\\?\"/g,e).split(","),n=0;n<r.length;n++)if(r[n].indexOf(";")>-1){var i=trim(r[n]).split(";v=");t[n]={brand:i[0],version:i[1]}}else t[n]=trim(r[n]);return t}},lowerize=function(e){return isString(e)?e.toLowerCase():e},majorize=function(e){return isString(e)?strip(/[^\d\.]/g,e).split(".")[0]:void 0},setProps=function(e){for(var t in e){var r=e[t];"object"==typeof r&&2==r.length?this[r[0]]=r[1]:this[r]=void 0}return this},strip=function(e,t){return isString(t)?t.replace(e,""):t},stripQuotes=function(e){return strip(/\\?\"/g,e)},trim=function(e,t){if(isString(e))return e=strip(/^\s\s*/,e),void 0===t?e:e.substring(0,500)},rgxMapper=function(e,t){if(e&&t)for(var r,n,i,s,o,a,c=0;c<t.length&&!o;){var u=t[c],d=t[c+1];for(r=n=0;r<u.length&&!o&&u[r];)if(o=u[r++].exec(e))for(i=0;i<d.length;i++)a=o[++n],"object"==typeof(s=d[i])&&s.length>0?2===s.length?"function"==typeof s[1]?this[s[0]]=s[1].call(this,a):this[s[0]]=s[1]:s.length>=3&&("function"!=typeof s[1]||s[1].exec&&s[1].test?3==s.length?this[s[0]]=a?a.replace(s[1],s[2]):void 0:4==s.length?this[s[0]]=a?s[3].call(this,a.replace(s[1],s[2])):void 0:s.length>4&&(this[s[0]]=a?s[3].apply(this,[a.replace(s[1],s[2])].concat(s.slice(4))):void 0):s.length>3?this[s[0]]=a?s[1].apply(this,s.slice(2)):void 0:this[s[0]]=a?s[1].call(this,a,s[2]):void 0):this[s]=a||void 0;c+=2}},strMapper=function(e,t){for(var r in t)if("object"==typeof t[r]&&t[r].length>0){for(var n=0;n<t[r].length;n++)if(has(t[r][n],e))return"?"===r?void 0:r}else if(has(t[r],e))return"?"===r?void 0:r;return t.hasOwnProperty("*")?t["*"]:e},windowsVersionMap={ME:"4.90","NT 3.51":"3.51","NT 4.0":"4.0",2e3:["5.0","5.01"],XP:["5.1","5.2"],Vista:"6.0",7:"6.1",8:"6.2",8.1:"6.3",10:["6.4","10.0"],NT:""},formFactorsMap={embedded:"Automotive",mobile:"Mobile",tablet:["Tablet","EInk"],smarttv:"TV",wearable:"Watch",xr:["VR","XR"],"?":["Desktop","Unknown"],"*":void 0},browserHintsMap={Chrome:"Google Chrome",Edge:"Microsoft Edge","Edge WebView2":"Microsoft Edge WebView2","Chrome WebView":"Android WebView","Chrome Headless":"HeadlessChrome","Huawei Browser":"HuaweiBrowser","MIUI Browser":"Miui Browser","Opera Mobi":"OperaMobile",Yandex:"YaBrowser"},defaultRegexes={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[VERSION,[NAME,"Mobile Chrome"]],[/webview.+edge\/([\w\.]+)/i],[VERSION,[NAME,"Edge WebView"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[VERSION,[NAME,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[NAME,VERSION],[/opios[\/ ]+([\w\.]+)/i],[VERSION,[NAME,"Opera Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[VERSION,[NAME,"Opera GX"]],[/\bopr\/([\w\.]+)/i],[VERSION,[NAME,"Opera"]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[VERSION,[NAME,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[VERSION,[NAME,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon|otter|dooble|(?:lg |qute)browser)\/([-\w\.]+)/i,/(heytap|ovi|115|surf)browser\/([\d\.]+)/i,/(ecosia|weibo)(?:__| \w+@)([\d\.]+)/i],[NAME,VERSION],[/quark(?:pc)?\/([-\w\.]+)/i],[VERSION,[NAME,"Quark"]],[/\bddg\/([\w\.]+)/i],[VERSION,[NAME,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[VERSION,[NAME,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[VERSION,[NAME,"WeChat"]],[/konqueror\/([\w\.]+)/i],[VERSION,[NAME,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[VERSION,[NAME,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[VERSION,[NAME,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[VERSION,[NAME,"Smart Lenovo Browser"]],[/(avast|avg)\/([\w\.]+)/i],[[NAME,/(.+)/,"$1 Secure Browser"],VERSION],[/\bfocus\/([\w\.]+)/i],[VERSION,[NAME,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[VERSION,[NAME,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[VERSION,[NAME,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[VERSION,[NAME,"Dolphin"]],[/coast\/([\w\.]+)/i],[VERSION,[NAME,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[VERSION,[NAME,"MIUI Browser"]],[/fxios\/([\w\.-]+)/i],[VERSION,[NAME,"Mobile Firefox"]],[/\bqihoobrowser\/?([\w\.]*)/i],[VERSION,[NAME,"360"]],[/\b(qq)\/([\w\.]+)/i],[[NAME,/(.+)/,"$1Browser"],VERSION],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[NAME,/(.+)/,"$1 Browser"],VERSION],[/samsungbrowser\/([\w\.]+)/i],[VERSION,[NAME,"Samsung Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[VERSION,[NAME,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[NAME,"Sogou Mobile"],VERSION],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[NAME,VERSION],[/(lbbrowser|rekonq)/i],[NAME],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[VERSION,NAME],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[NAME,"Facebook"],VERSION,[TYPE,"inapp"]],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(instagram|snapchat|klarna)[\/ ]([-\w\.]+)/i],[NAME,VERSION,[TYPE,"inapp"]],[/\bgsa\/([\w\.]+) .*safari\//i],[VERSION,[NAME,"GSA"],[TYPE,"inapp"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[VERSION,[NAME,"TikTok"],[TYPE,"inapp"]],[/\[(linkedin)app\]/i],[NAME,[TYPE,"inapp"]],[/(chromium)[\/ ]([-\w\.]+)/i],[NAME,VERSION],[/headlesschrome(?:\/([\w\.]+)| )/i],[VERSION,[NAME,"Chrome Headless"]],[/wv\).+chrome\/([\w\.]+).+edgw\//i],[VERSION,[NAME,"Edge WebView2"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[NAME,"Chrome WebView"],VERSION],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[VERSION,[NAME,"Android Browser"]],[/chrome\/([\w\.]+) mobile/i],[VERSION,[NAME,"Mobile Chrome"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[NAME,VERSION],[/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i],[VERSION,[NAME,"Mobile Safari"]],[/iphone .*mobile(?:\/\w+ | ?)safari/i],[[NAME,"Mobile Safari"]],[/version\/([\w\.\,]+) .*(safari)/i],[VERSION,NAME],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[NAME,[VERSION,"1"]],[/(webkit|khtml)\/([\w\.]+)/i],[NAME,VERSION],[/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i],[[NAME,"Mobile Firefox"],VERSION],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[NAME,"Netscape"],VERSION],[/(wolvic|librewolf)\/([\w\.]+)/i],[NAME,VERSION],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[VERSION,[NAME,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[NAME,[VERSION,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[NAME,[VERSION,/[^\d\.]+./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[["architecture","amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[["architecture","ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[["architecture","arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[["architecture","armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[["architecture","arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[["architecture",/ower/,"",lowerize]],[/ sun4\w[;\)]/i],[["architecture","sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[["architecture",lowerize]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[MODEL,[VENDOR,"Samsung"],[TYPE,TABLET]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr]|browser)[-\w]+)/i,/sec-(sgh\w+)/i],[MODEL,[VENDOR,"Samsung"],[TYPE,MOBILE]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[MODEL,[VENDOR,"Apple"],[TYPE,MOBILE]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[MODEL,[VENDOR,"Apple"],[TYPE,TABLET]],[/(macintosh);/i],[MODEL,[VENDOR,"Apple"]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[MODEL,[VENDOR,"Sharp"],[TYPE,MOBILE]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[MODEL,[VENDOR,"Honor"],[TYPE,TABLET]],[/honor([-\w ]+)[;\)]/i],[MODEL,[VENDOR,"Honor"],[TYPE,MOBILE]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[MODEL,[VENDOR,"Huawei"],[TYPE,TABLET]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[MODEL,[VENDOR,"Huawei"],[TYPE,MOBILE]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[MODEL,/_/g," "],[VENDOR,"Xiaomi"],[TYPE,TABLET]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[MODEL,/_/g," "],[VENDOR,"Xiaomi"],[TYPE,MOBILE]],[/droid.+; (cph2[3-6]\d[13579]|((gm|hd)19|(ac|be|in|kb)20|(d[en]|eb|le|mt)21|ne22)[0-2]\d|p[g-k]\w[1m]10)\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[MODEL,[VENDOR,"OnePlus"],[TYPE,MOBILE]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[MODEL,[VENDOR,"OPPO"],[TYPE,MOBILE]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[MODEL,[VENDOR,strMapper,{OnePlus:["203","304","403","404","413","415"],"*":"OPPO"}],[TYPE,TABLET]],[/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i],[MODEL,[VENDOR,"BLU"],[TYPE,MOBILE]],[/; vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[MODEL,[VENDOR,"Vivo"],[TYPE,MOBILE]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[MODEL,[VENDOR,"Realme"],[TYPE,MOBILE]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[MODEL,[VENDOR,"Lenovo"],[TYPE,TABLET]],[/lenovo[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i],[MODEL,[VENDOR,"Lenovo"],[TYPE,MOBILE]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ]([\w\s]+)(\)| bui)/i,/((?:moto(?! 360)[-\w\(\) ]+|xt\d{3,4}[cgkosw\+]?[-\d]*|nexus 6)(?= bui|\)))/i],[MODEL,[VENDOR,"Motorola"],[TYPE,MOBILE]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[MODEL,[VENDOR,"Motorola"],[TYPE,TABLET]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[MODEL,[VENDOR,"LG"],[TYPE,TABLET]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch|webos))(\w+)/i,/\blg-?([\d\w]+) bui/i],[MODEL,[VENDOR,"LG"],[TYPE,MOBILE]],[/(nokia) (t[12][01])/i],[VENDOR,MODEL,[TYPE,TABLET]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[MODEL,/_/g," "],[TYPE,MOBILE],[VENDOR,"Nokia"]],[/(pixel (c|tablet))\b/i],[MODEL,[VENDOR,"Google"],[TYPE,TABLET]],[/droid.+;(?: google)? (g(01[13]a|020[aem]|025[jn]|1b60|1f8f|2ybb|4s1m|576d|5nz6|8hhn|8vou|a02099|c15s|d1yq|e2ae|ec77|gh2x|kv4x|p4bc|pj41|r83y|tt9q|ur25|wvk6)|pixel[\d ]*a?( pro)?( xl)?( fold)?( \(5g\))?)( bui|\))/i],[MODEL,[VENDOR,"Google"],[TYPE,MOBILE]],[/(google) (pixelbook( go)?)/i],[VENDOR,MODEL],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-\w\w\d\d)(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[MODEL,[VENDOR,"Sony"],[TYPE,MOBILE]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[MODEL,"Xperia Tablet"],[VENDOR,"Sony"],[TYPE,TABLET]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[MODEL,[VENDOR,"Amazon"],[TYPE,TABLET]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[MODEL,/(.+)/g,"Fire Phone $1"],[VENDOR,"Amazon"],[TYPE,MOBILE]],[/(playbook);[-\w\),; ]+(rim)/i],[MODEL,VENDOR,[TYPE,TABLET]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[MODEL,[VENDOR,"BlackBerry"],[TYPE,MOBILE]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[MODEL,[VENDOR,"ASUS"],[TYPE,TABLET]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[MODEL,[VENDOR,"ASUS"],[TYPE,MOBILE]],[/(nexus 9)/i],[MODEL,[VENDOR,"HTC"],[TYPE,TABLET]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[VENDOR,[MODEL,/_/g," "],[TYPE,MOBILE]],[/tcl (xess p17aa)/i,/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])(_\w(\w|\w\w))?(\)| bui)/i],[MODEL,[VENDOR,"TCL"],[TYPE,TABLET]],[/droid [\w\.]+; (418(?:7d|8v)|5087z|5102l|61(?:02[dh]|25[adfh]|27[ai]|56[dh]|59k|65[ah])|a509dl|t(?:43(?:0w|1[adepqu])|50(?:6d|7[adju])|6(?:09dl|10k|12b|71[efho]|76[hjk])|7(?:66[ahju]|67[hw]|7[045][bh]|71[hk]|73o|76[ho]|79w|81[hks]?|82h|90[bhsy]|99b)|810[hs]))(_\w(\w|\w\w))?(\)| bui)/i],[MODEL,[VENDOR,"TCL"],[TYPE,MOBILE]],[/(itel) ((\w+))/i],[[VENDOR,lowerize],MODEL,[TYPE,strMapper,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[MODEL,[VENDOR,"Acer"],[TYPE,TABLET]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[MODEL,[VENDOR,"Meizu"],[TYPE,MOBILE]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[MODEL,[VENDOR,"Ulefone"],[TYPE,MOBILE]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[MODEL,[VENDOR,"Energizer"],[TYPE,MOBILE]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[MODEL,[VENDOR,"Cat"],[TYPE,MOBILE]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[MODEL,[VENDOR,"Smartfren"],[TYPE,MOBILE]],[/droid.+; (a(in)?(0(15|59|6[35])|142)p?)/i],[MODEL,[VENDOR,"Nothing"],[TYPE,MOBILE]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[MODEL,[VENDOR,"Archos"],[TYPE,TABLET]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[MODEL,[VENDOR,"Archos"],[TYPE,MOBILE]],[/; (n159v)/i],[MODEL,[VENDOR,"HMD"],[TYPE,MOBILE]],[/(imo) (tab \w+)/i,/(infinix|tecno) (x1101b?|p904|dp(7c|8d|10a)( pro)?|p70[1-3]a?|p904|t1101)/i],[VENDOR,MODEL,[TYPE,TABLET]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (blu|hmd|imo|infinix|lava|oneplus|tcl)[_ ]([\w\+ ]+?)(?: bui|\)|; r)/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(oppo) ?([\w ]+) bui/i],[VENDOR,MODEL,[TYPE,MOBILE]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i],[VENDOR,MODEL,[TYPE,TABLET]],[/(surface duo)/i],[MODEL,[VENDOR,"Microsoft"],[TYPE,TABLET]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[MODEL,[VENDOR,"Fairphone"],[TYPE,MOBILE]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[MODEL,[VENDOR,"Nvidia"],[TYPE,TABLET]],[/(sprint) (\w+)/i],[VENDOR,MODEL,[TYPE,MOBILE]],[/(kin\.[onetw]{3})/i],[[MODEL,/\./g," "],[VENDOR,"Microsoft"],[TYPE,MOBILE]],[/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[MODEL,[VENDOR,"Zebra"],[TYPE,TABLET]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[MODEL,[VENDOR,"Zebra"],[TYPE,MOBILE]],[/smart-tv.+(samsung)/i],[VENDOR,[TYPE,SMARTTV]],[/hbbtv.+maple;(\d+)/i],[[MODEL,/^/,"SmartTV"],[VENDOR,"Samsung"],[TYPE,SMARTTV]],[/(vizio)(?: |.+model\/)(\w+-\w+)/i,/tcast.+(lg)e?. ([-\w]+)/i],[VENDOR,MODEL,[TYPE,SMARTTV]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[VENDOR,"LG"],[TYPE,SMARTTV]],[/(apple) ?tv/i],[VENDOR,[MODEL,"Apple TV"],[TYPE,SMARTTV]],[/crkey.*devicetype\/chromecast/i],[[MODEL,"Chromecast Third Generation"],[VENDOR,"Google"],[TYPE,SMARTTV]],[/crkey.*devicetype\/([^/]*)/i],[[MODEL,/^/,"Chromecast "],[VENDOR,"Google"],[TYPE,SMARTTV]],[/fuchsia.*crkey/i],[[MODEL,"Chromecast Nest Hub"],[VENDOR,"Google"],[TYPE,SMARTTV]],[/crkey/i],[[MODEL,"Chromecast"],[VENDOR,"Google"],[TYPE,SMARTTV]],[/(portaltv)/i],[MODEL,[VENDOR,"Facebook"],[TYPE,SMARTTV]],[/droid.+aft(\w+)( bui|\))/i],[MODEL,[VENDOR,"Amazon"],[TYPE,SMARTTV]],[/(shield \w+ tv)/i],[MODEL,[VENDOR,"Nvidia"],[TYPE,SMARTTV]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[MODEL,[VENDOR,"Sharp"],[TYPE,SMARTTV]],[/(bravia[\w ]+)( bui|\))/i],[MODEL,[VENDOR,"Sony"],[TYPE,SMARTTV]],[/(mi(tv|box)-?\w+) bui/i],[MODEL,[VENDOR,"Xiaomi"],[TYPE,SMARTTV]],[/Hbbtv.*(technisat) (.*);/i],[VENDOR,MODEL,[TYPE,SMARTTV]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[VENDOR,/.+\/(\w+)/,"$1",strMapper,{LG:"lge"}],[MODEL,trim],[TYPE,SMARTTV]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[MODEL,[TYPE,SMARTTV]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:|large screen[\w ]+safari)\b/i],[[TYPE,SMARTTV]],[/(playstation \w+)/i],[MODEL,[VENDOR,"Sony"],[TYPE,"console"]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[MODEL,[VENDOR,"Microsoft"],[TYPE,"console"]],[/(ouya)/i,/(nintendo) (\w+)/i,/(retroid) (pocket ([^\)]+))/i],[VENDOR,MODEL,[TYPE,"console"]],[/droid.+; (shield)( bui|\))/i],[MODEL,[VENDOR,"Nvidia"],[TYPE,"console"]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[MODEL,[VENDOR,"Samsung"],[TYPE,"wearable"]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[VENDOR,MODEL,[TYPE,"wearable"]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[MODEL,[VENDOR,"OPPO"],[TYPE,"wearable"]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[MODEL,[VENDOR,"Apple"],[TYPE,"wearable"]],[/(opwwe\d{3})/i],[MODEL,[VENDOR,"OnePlus"],[TYPE,"wearable"]],[/(moto 360)/i],[MODEL,[VENDOR,"Motorola"],[TYPE,"wearable"]],[/(smartwatch 3)/i],[MODEL,[VENDOR,"Sony"],[TYPE,"wearable"]],[/(g watch r)/i],[MODEL,[VENDOR,"LG"],[TYPE,"wearable"]],[/droid.+; (wt63?0{2,3})\)/i],[MODEL,[VENDOR,"Zebra"],[TYPE,"wearable"]],[/droid.+; (glass) \d/i],[MODEL,[VENDOR,"Google"],[TYPE,"xr"]],[/(pico) (4|neo3(?: link|pro)?)/i],[VENDOR,MODEL,[TYPE,"xr"]],[/(quest( \d| pro)?s?).+vr/i],[MODEL,[VENDOR,"Facebook"],[TYPE,"xr"]],[/mobile vr; rv.+firefox/i],[[TYPE,"xr"]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[VENDOR,[TYPE,"embedded"]],[/(aeobc)\b/i],[MODEL,[VENDOR,"Amazon"],[TYPE,"embedded"]],[/(homepod).+mac os/i],[MODEL,[VENDOR,"Apple"],[TYPE,"embedded"]],[/windows iot/i],[[TYPE,"embedded"]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+?(mobile|vr|\d) safari/i],[MODEL,[TYPE,strMapper,{mobile:"Mobile",xr:"VR","*":TABLET}]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[TYPE,TABLET]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[TYPE,MOBILE]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[MODEL,[VENDOR,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[VERSION,[NAME,"EdgeHTML"]],[/(arkweb)\/([\w\.]+)/i],[NAME,VERSION],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[VERSION,[NAME,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[NAME,VERSION],[/ladybird\//i],[[NAME,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[VERSION,NAME]],os:[[/(windows nt) (6\.[23]); arm/i],[[NAME,/N/,"R"],[VERSION,strMapper,windowsVersionMap]],[/(windows (?:phone|mobile|iot))(?: os)?[\/ ]?([\d\.]*( se)?)/i,/(windows)[\/ ](1[01]|2000|3\.1|7|8(\.1)?|9[58]|me|server 20\d\d( r2)?|vista|xp)/i],[NAME,VERSION],[/windows nt ?([\d\.\)]*)(?!.+xbox)/i,/\bwin(?=3| ?9|n)(?:nt| 9x )?([\d\.;]*)/i],[[VERSION,/(;|\))/g,"",strMapper,windowsVersionMap],[NAME,"Windows"]],[/(windows ce)\/?([\d\.]*)/i],[NAME,VERSION],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[VERSION,/_/g,"."],[NAME,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+(haiku|morphos))/i],[[NAME,"macOS"],[VERSION,/_/g,"."]],[/android ([\d\.]+).*crkey/i],[VERSION,[NAME,"Chromecast Android"]],[/fuchsia.*crkey\/([\d\.]+)/i],[VERSION,[NAME,"Chromecast Fuchsia"]],[/crkey\/([\d\.]+).*devicetype\/smartspeaker/i],[VERSION,[NAME,"Chromecast SmartSpeaker"]],[/linux.*crkey\/([\d\.]+)/i],[VERSION,[NAME,"Chromecast Linux"]],[/crkey\/([\d\.]+)/i],[VERSION,[NAME,"Chromecast"]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[VERSION,NAME],[/(ubuntu) ([\w\.]+) like android/i],[[NAME,/(.+)/,"$1 Touch"],VERSION],[/(harmonyos)[\/ ]?([\d\.]*)/i,/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen)\w*[-\/\.; ]?([\d\.]*)/i],[NAME,VERSION],[/\(bb(10);/i],[VERSION,[NAME,"BlackBerry"]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[VERSION,[NAME,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[VERSION,[NAME,"Firefox OS"]],[/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i,/webos(?:[ \/]?|\.tv-20(?=2[2-9]))(\d[\d\.]*)/i],[VERSION,[NAME,"webOS"]],[/web0s;.+?(?:chr[o0]me|safari)\/(\d+)/i],[[VERSION,strMapper,{25:"120",24:"108",23:"94",22:"87",6:"79",5:"68",4:"53",3:"38",2:"538",1:"537","*":"TV"}],[NAME,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[VERSION,[NAME,"watchOS"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[NAME,"Chrome OS"],VERSION],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) (\w+)/i,/(xbox); +xbox ([^\);]+)/i,/(pico) .+os([\w\.]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/linux.+(mint)[\/\(\) ]?([\w\.]*)/i,/(mageia|vectorlinux|fuchsia|arcaos|arch(?= ?linux))[;l ]([\d\.]*)/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire|knoppix)(?: gnu[\/ ]linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/\b(aix)[; ]([1-9\.]{0,4})/i,/(hurd|linux|morphos)(?: (?:arm|x86|ppc)\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) ?(r\d)?/i],[NAME,VERSION],[/(sunos) ?([\d\.]*)/i],[[NAME,"Solaris"],VERSION],[/\b(beos|os\/2|amigaos|openvms|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[NAME,VERSION]]},defaultProps=(setProps.call((props={init:{},isIgnore:{},isIgnoreRgx:{},toString:{}}).init,[["browser",[NAME,VERSION,"major",TYPE]],["cpu",["architecture"]],["device",[TYPE,MODEL,VENDOR]],["engine",[NAME,VERSION]],["os",[NAME,VERSION]]]),setProps.call(props.isIgnore,[["browser",[VERSION,"major"]],["engine",[VERSION]],["os",[VERSION]]]),setProps.call(props.isIgnoreRgx,[["browser",/ ?browser$/i],["os",/ ?os$/i]]),setProps.call(props.toString,[["browser",[NAME,VERSION]],["cpu",["architecture"]],["device",[VENDOR,MODEL]],["engine",[NAME,VERSION]],["os",[NAME,VERSION]]]),props),createIData=function(e,t){var r=defaultProps.init[t],n=defaultProps.isIgnore[t]||0,i=defaultProps.isIgnoreRgx[t]||0,s=defaultProps.toString[t]||0;function o(){setProps.call(this,r)}return o.prototype.getItem=function(){return e},o.prototype.withClientHints=function(){return NAVIGATOR_UADATA?NAVIGATOR_UADATA.getHighEntropyValues(CH_ALL_VALUES).then(function(t){return e.setCH(new UACHData(t,!1)).parseCH().get()}):e.parseCH().get()},o.prototype.withFeatureCheck=function(){return e.detectFeature().get()},"result"!=t&&(o.prototype.is=function(e){var t=!1;for(var r in this)if(this.hasOwnProperty(r)&&!has(n,r)&&lowerize(i?strip(i,this[r]):this[r])==lowerize(i?strip(i,e):e)){if(t=!0,"undefined"!=e)break}else if("undefined"==e&&t){t=!t;break}return t},o.prototype.toString=function(){var e="";for(var t in s)void 0!==this[s[t]]&&(e+=(e?" ":"")+this[s[t]]);return e||"undefined"}),NAVIGATOR_UADATA||(o.prototype.then=function(e){var t=this,r=function(){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e])};r.prototype={is:o.prototype.is,toString:o.prototype.toString};var n=new r;return e(n),n}),new o};function UACHData(e,t){if(e=e||{},setProps.call(this,CH_ALL_VALUES),t)setProps.call(this,[["brands",itemListToArray(e["sec-ch-ua"])],["fullVersionList",itemListToArray(e["sec-ch-ua-full-version-list"])],[MOBILE,/\?1/.test(e["sec-ch-ua-mobile"])],[MODEL,stripQuotes(e["sec-ch-ua-model"])],["platform",stripQuotes(e["sec-ch-ua-platform"])],["platformVersion",stripQuotes(e["sec-ch-ua-platform-version"])],["architecture",stripQuotes(e["sec-ch-ua-arch"])],["formFactors",itemListToArray(e["sec-ch-ua-form-factors"])],["bitness",stripQuotes(e["sec-ch-ua-bitness"])]]);else for(var r in e)this.hasOwnProperty(r)&&void 0!==e[r]&&(this[r]=e[r])}function UAItem(e,t,r,n){return this.get=function(e){return e?this.data.hasOwnProperty(e)?this.data[e]:void 0:this.data},this.set=function(e,t){return this.data[e]=t,this},this.setCH=function(e){return this.uaCH=e,this},this.detectFeature=function(){if(NAVIGATOR&&NAVIGATOR.userAgent==this.ua)switch(this.itemType){case"browser":NAVIGATOR.brave&&"function"==typeof NAVIGATOR.brave.isBrave&&this.set(NAME,"Brave");break;case"device":!this.get(TYPE)&&NAVIGATOR_UADATA&&NAVIGATOR_UADATA[MOBILE]&&this.set(TYPE,MOBILE),"Macintosh"==this.get(MODEL)&&NAVIGATOR&&void 0!==NAVIGATOR.standalone&&NAVIGATOR.maxTouchPoints&&NAVIGATOR.maxTouchPoints>2&&this.set(MODEL,"iPad").set(TYPE,TABLET);break;case"os":!this.get(NAME)&&NAVIGATOR_UADATA&&NAVIGATOR_UADATA.platform&&this.set(NAME,NAVIGATOR_UADATA.platform);break;case"result":var e=this.data,t=function(t){return e[t].getItem().detectFeature().get()};this.set("browser",t("browser")).set("cpu",t("cpu")).set("device",t("device")).set("engine",t("engine")).set("os",t("os"))}return this},this.parseUA=function(){return"result"!=this.itemType&&rgxMapper.call(this.data,this.ua,this.rgxMap),"browser"==this.itemType&&this.set("major",majorize(this.get(VERSION))),this},this.parseCH=function(){var e=this.uaCH,t=this.rgxMap;switch(this.itemType){case"browser":case"engine":var r,n=e.fullVersionList||e.brands;if(n)for(var i in n){var s=n[i].brand||n[i],o=n[i].version;"browser"==this.itemType&&!/not.a.brand/i.test(s)&&(!r||/Chrom/.test(r)&&"Chromium"!=s||"Edge"==r&&/WebView2/.test(s))&&(s=strMapper(s,browserHintsMap),(r=this.get(NAME))&&!/Chrom/.test(r)&&/Chrom/.test(s)||this.set(NAME,s).set(VERSION,o).set("major",majorize(o)),r=s),"engine"==this.itemType&&"Chromium"==s&&this.set(VERSION,o)}break;case"cpu":var a=e.architecture;a&&(a&&"64"==e.bitness&&(a+="64"),rgxMapper.call(this.data,a+";",t));break;case"device":if(e[MOBILE]&&this.set(TYPE,MOBILE),e[MODEL]&&(this.set(MODEL,e[MODEL]),!this.get(TYPE)||!this.get(VENDOR))){var c={};rgxMapper.call(c,"droid 9; "+e[MODEL]+")",t),!this.get(TYPE)&&c.type&&this.set(TYPE,c.type),!this.get(VENDOR)&&c.vendor&&this.set(VENDOR,c.vendor)}if(e.formFactors){var u;if("string"!=typeof e.formFactors)for(var d=0;!u&&d<e.formFactors.length;)u=strMapper(e.formFactors[d++],formFactorsMap);else u=strMapper(e.formFactors,formFactorsMap);this.set(TYPE,u)}break;case"os":var l=e.platform;if(l){var p=e.platformVersion;"Windows"==l&&(p=parseInt(majorize(p),10)>=13?"11":"10"),this.set(NAME,l).set(VERSION,p)}"Windows"==this.get(NAME)&&"Xbox"==e[MODEL]&&this.set(NAME,"Xbox").set(VERSION,void 0);break;case"result":var E=this.data,f=function(t){return E[t].getItem().setCH(e).parseCH().get()};this.set("browser",f("browser")).set("cpu",f("cpu")).set("device",f("device")).set("engine",f("engine")).set("os",f("os"))}return this},setProps.call(this,[["itemType",e],["ua",t],["uaCH",n],["rgxMap",r],["data",createIData(this,e)]]),this}function UAParser(e,t,r){if("object"==typeof e?(isExtensions(e,!0)?("object"==typeof t&&(r=t),t=e):(r=e,t=void 0),e=void 0):"string"!=typeof e||isExtensions(t,!0)||(r=t,t=void 0),r&&"function"==typeof r.append){var n={};r.forEach(function(e,t){n[t]=e}),r=n}if(!(this instanceof UAParser))return new UAParser(e,t,r).getResult();var i="string"==typeof e?e:r&&r["user-agent"]?r["user-agent"]:NAVIGATOR&&NAVIGATOR.userAgent?NAVIGATOR.userAgent:"",s=new UACHData(r,!0),o=t?function(e,t){var r={},n=t;if(!isExtensions(t))for(var i in n={},t)for(var s in t[i])n[s]=t[i][s].concat(n[s]?n[s]:[]);for(var o in e)r[o]=n[o]&&n[o].length%2==0?n[o].concat(e[o]):e[o];return r}(defaultRegexes,t):defaultRegexes,a=function(e){return"result"==e?function(){return new UAItem(e,i,o,s).set("ua",i).set("browser",this.getBrowser()).set("cpu",this.getCPU()).set("device",this.getDevice()).set("engine",this.getEngine()).set("os",this.getOS()).get()}:function(){return new UAItem(e,i,o[e],s).parseUA().get()}};return setProps.call(this,[["getBrowser",a("browser")],["getCPU",a("cpu")],["getDevice",a("device")],["getEngine",a("engine")],["getOS",a("os")],["getResult",a("result")],["getUA",function(){return i}],["setUA",function(e){return isString(e)&&(i=e.length>500?trim(e,500):e),this}]]).setUA(i),this}UAParser.VERSION="2.0.4",UAParser.BROWSER=enumerize([NAME,VERSION,"major",TYPE]),UAParser.CPU=enumerize(["architecture"]),UAParser.DEVICE=enumerize([MODEL,VENDOR,TYPE,"console",MOBILE,SMARTTV,TABLET,"wearable","embedded"]),UAParser.ENGINE=UAParser.OS=enumerize([NAME,VERSION]);const _0x2ee834=_0x5425;function _0x5425(e,t){const r=_0x464d();return(_0x5425=function(e,t){return r[e-=327]})(e,t)}!function(){const e=_0x5425,t=_0x464d();for(;;)try{if(978609===-parseInt(e(366))/1+parseInt(e(367))/2+parseInt(e(335))/3+-parseInt(e(331))/4*(-parseInt(e(354))/5)+-parseInt(e(350))/6*(parseInt(e(375))/7)+-parseInt(e(334))/8+-parseInt(e(328))/9*(-parseInt(e(340))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class DeviceDetector{[_0x2ee834(353)](){const e=_0x2ee834,t=(new UAParser).getResult();return{browser:t[e(360)],os:t.os,device:t.device,engine:t[e(359)],cpu:t[e(349)],ua:t.ua}}get[_0x2ee834(347)](){const e=_0x2ee834;return window[e(352)]>=3?"high":window[e(352)]>=2?e(377):"low"}get[_0x2ee834(372)](){const e=_0x2ee834;return window.innerHeight>window[e(342)]?e(374):e(368)}get[_0x2ee834(327)](){const e=_0x2ee834,t=window[e(342)];return t<480?e(330):t<768?e(368):t<1440?"large":"xlarge"}get uiMode(){const e=_0x2ee834;var t,r,n;const i=this[e(353)](),s=(null===(t=i[e(364)])||void 0===t?void 0:t[e(338)])||"",o=(null===(n=null===(r=i.device)||void 0===r?void 0:r[e(351)])||void 0===n?void 0:n[e(378)]())||"",a=i.ua[e(378)]();return"wearable"===s||o[e(363)](e(370))?6:"smarttv"===s||a.includes(e(332))||a[e(363)](e(362))||a.includes("netcast")||a[e(363)]("googletv")||a[e(363)](e(371))?4:s===e(348)||a[e(363)]("playstation")||a[e(363)](e(344))||a[e(363)]("nintendo")?5:a[e(363)](e(337))||a[e(363)](e(333))||a[e(363)](e(343))?3:a[e(363)](e(361))||a[e(363)](e(356))||a.includes("vr")||s===e(373)?7:s===e(358)||"tablet"===s?1:""===s||s===e(345)?2:0}get uiStyle(){const e=_0x2ee834;return window[e(357)]&&window[e(357)](e(376)).matches?"1":"0"}get[_0x2ee834(341)](){const e=_0x2ee834,t=window[e(352)]||1,r=screen.width*t/160,n=screen.height*t/160;return Math.sqrt(Math.pow(r,2)+Math[e(369)](n,2))[e(365)](2)}get[_0x2ee834(346)](){const e=_0x2ee834;return e(336)in window||navigator[e(339)]>0?e(355):e(329)}}const deviceDetector=new DeviceDetector;function _0x464d(){const e=["1722080lMuYgG","normal","pow","watch","appletv","screenFormat","embedded","long","23723iaAVIz","(prefers-color-scheme: dark)","medium","toLowerCase","screenSize","17915418winzvo","pointer","small","12MJPKUm","smart-tv","android auto","13259584zYuluc","2886120qrYWwh","ontouchstart","car","type","maxTouchPoints","10EWlbbS","displaySize","innerWidth","carplay","xbox","desktop","screenType","screenDensity","console","cpu","738yWCiFs","model","devicePixelRatio","getDeviceInfo","1643905MwJSlw","touch","vive","matchMedia","mobile","engine","browser","oculus","hbbtv","includes","device","toFixed","1747121Ibjthy"];return(_0x464d=function(){return e})()}function _0x22e6(e,t){const r=_0x5b08();return(_0x22e6=function(e,t){return r[e-=182]})(e,t)}const _0x4315a8=_0x22e6;!function(){const e=_0x22e6,t=_0x5b08();for(;;)try{if(849972===-parseInt(e(194))/1*(-parseInt(e(185))/2)+-parseInt(e(200))/3*(parseInt(e(199))/4)+-parseInt(e(190))/5*(-parseInt(e(208))/6)+-parseInt(e(205))/7+parseInt(e(207))/8*(parseInt(e(187))/9)+-parseInt(e(202))/10+parseInt(e(186))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class StorageSupport{constructor(){this[_0x22e6(184)]=null}[_0x4315a8(197)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x22e6;if(this[e(184)])return this.supportResults;const t=this[e(195)](),r=this.isSessionStorageSupported(),n=yield this[e(201)]();return this[e(184)]={localStorage:t,sessionStorage:r,indexedDB:n},this.supportResults})}getStorageSizeBytes(e){const t=_0x4315a8;let r=0;for(let n=0;n<e[t(196)];n++){const i=e.key(n);if(!i)continue;const s=e[t(189)](i);null!=s&&(r+=2*i[t(196)],r+=2*s[t(196)])}return r}[_0x4315a8(195)](){const e=_0x4315a8;try{const t=e(209);return localStorage[e(198)](t,"1"),localStorage[e(191)](t),!0}catch(e){return!1}}[_0x4315a8(182)](){const e=_0x4315a8;try{const t=e(209);return sessionStorage.setItem(t,"1"),sessionStorage[e(191)](t),!0}catch(e){return!1}}[_0x4315a8(201)](){const e=_0x4315a8;return"indexedDB"in window?new Promise(t=>{const r=e;try{const e=indexedDB.open(r(192));e[r(204)]=()=>t(!1),e[r(183)]=()=>{const n=r;e[n(203)][n(206)](),indexedDB[n(188)](n(192)),t(!0)}}catch(e){t(!1)}}):Promise[e(193)](!1)}}function _0x5b08(){const e=["__test__","isSessionStorageSupported","onsuccess","supportResults","30saAzix","34259995hTjRez","11162781yJiCtc","deleteDatabase","getItem","120845ARKZLQ","removeItem","__test__check__","resolve","66504JqXVUa","isLocalStorageSupported","length","getSupportResult","setItem","2972600nsZczX","6CVUHWK","isIndexedDBSupported","14902510BxaEPF","result","onerror","11696335WmxTYf","close","8RnzMBC","36peYZOo"];return(_0x5b08=function(){return e})()}const storageSupport=new StorageSupport;function _0x15c0(e,t){const r=_0x25cc();return(_0x15c0=function(e,t){return r[e-=482]})(e,t)}const _0x5210f4=_0x15c0;function _0x25cc(){const e=["Wix","/_next/","__VUE__","/_nuxt/","jQuery","hostname","Zepto.js","7154072DfsigI","detectWebFramework","wp-includes","join","Zepto","Alpine.js","search","[x-data], [x-init], [x-bind]","22hRTdxd","referrer","Backbone","scripts","[data-v-app], [data-v-]","includes","996925ELvSMl","svelte","wp-content","Angular","__REACT_DEVTOOLS_GLOBAL_HOOK__","entries","Backbone.js","495xhWdtu","cdn.shopify.com","Vue.js","WordPress","/js/app.js","some","React","wix.com","Gatsby.js","Drupal","documentElement","startsWith",'meta[name="generator"][content*="Ghost"]',"Ghost CMS","1343718CWcXYa","7325857YrZFQi","290101YEqwEi","_reactRootContainer",".ng-binding, [ng-app], [data-ng-app], [ng-controller], [data-ng-controller], [ng-repeat], [data-ng-repeat]","utm_medium","utm_","textContent","static.squarespace.com","Squarespace","150QzquWm","Nuxt.js","10aRqIuv","Svelte","keys",'meta[name="generator"][content*="WordPress"]',"src","7013UvjHHZ","15348VWzxnV","__reactContainer","querySelectorAll","querySelector","map","Laravel","location"];return(_0x25cc=function(){return e})()}!function(){const e=_0x15c0,t=_0x25cc();for(;;)try{if(658302===-parseInt(e(527))/1*(-parseInt(e(483))/2)+-parseInt(e(496))/3*(parseInt(e(528))/4)+-parseInt(e(489))/5+-parseInt(e(520))/6*(-parseInt(e(512))/7)+parseInt(e(542))/8+parseInt(e(510))/9+parseInt(e(522))/10*(-parseInt(e(511))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class Utils{static getUTMParamsString(){const e=_0x15c0,t=new URLSearchParams(window[e(534)][e(548)]),r={};for(const[n,i]of t[e(494)]())n.startsWith(e(516))&&i&&(r[n]=i);if(!r.utm_source){const t=document[e(484)];r.utm_source=t?new URL(t)[e(540)]:"other"}return!r[e(515)]&&(r[e(515)]="organic"),Object.entries(r)[e(532)](([e,t])=>e+"="+encodeURIComponent(t))[e(545)]("&")}}function _0x3429(e,t){const r=_0x55d9();return(_0x3429=function(e,t){return r[e-=476]})(e,t)}Utils[_0x5210f4(543)]=()=>{const e=_0x5210f4;return document.querySelector("script[id=__NEXT_DATA__]")||[...document[e(486)]][e(501)](t=>t[e(526)][e(488)](e(536)))?"Next.js":window.React||document[e(531)]("[data-reactroot], [data-reactid]")||Array.from(document[e(530)]("*"))[e(501)](t=>void 0!==t[e(513)]||Object[e(524)](t)[e(501)](t=>t[e(507)](e(529))))||window[e(493)]?e(502):[...document.scripts][e(501)](t=>t[e(526)].includes(e(538)))?e(521):window[e(537)]||window.Vue||document.querySelector(e(487))?e(498):document[e(531)]("[id=___gatsby]")?e(504):window||document[e(531)](e(514))||document[e(531)]('script[src*="angular.js"], script[src*="angular.min.js"]')||window.ng||document.querySelector("[ng-version]")?e(492):[...document[e(486)]][e(501)](t=>{const r=e;var n;return t[r(526)][r(488)](r(490))||(null===(n=t[r(517)])||void 0===n?void 0:n[r(488)](r(490)))})?e(523):document.querySelector(e(482))?e(547):window[e(539)]?e(539):window[e(485)]?e(495):window.Meteor?"Meteor.js":window[e(546)]?e(541):document[e(531)](e(525))||[...document[e(486)]].some(t=>t[e(526)][e(488)](e(491))||t[e(526)][e(488)](e(544)))?e(499):[...document[e(486)]][e(501)](t=>t[e(526)][e(488)](e(500))||t[e(526)][e(488)]("mix-manifest.json"))?e(533):document[e(531)]('meta[name="generator"][content*="Drupal"]')||document[e(506)].innerHTML[e(488)]("drupal-settings-json")?e(505):document[e(506)].innerHTML[e(488)](e(497))?"Shopify":[...document[e(486)]][e(501)](t=>t[e(526)][e(488)](e(518)))?e(519):[...document[e(486)]][e(501)](t=>t[e(526)][e(488)](e(503)))?e(535):document[e(531)](e(508))?e(509):void 0};const _0x540299=_0x3429;function _0x55d9(){const e=["getWebGLFingerprint","textBaseline","join","vendor","canvas","2mhnyDA","SHADING_LANGUAGE_VERSION","5465748NUtZkQ","subtle","from","#069","fillRect","createElement","renderer","UNMASKED_RENDERER_WEBGL","experimental-webgl","RENDERER","top","MAX_RENDERBUFFER_SIZE","281255CCQIGg","getParameter","VENDOR","toDataURL","getExtension","1281542eKHuLj","webgl","23541948pnQtBj","42LZTbVT","SHA-256","33yVuOjy","18960qXlkrv","padStart","stringify","UNMASKED_VENDOR_WEBGL","digest","3432048VTZzRa","hashData","20QWNtCd","fillText","1478907pUKuaF","encode","MAX_TEXTURE_SIZE","getContext","fillStyle","getCanvasFingerprint","font","WEBGL_debug_renderer_info","WiseTrack WebGL Fingerprint!","#f60","2569OeFdza"];return(_0x55d9=function(){return e})()}!function(){const e=_0x3429,t=_0x55d9();for(;;)try{if(989116===-parseInt(e(497))/1+parseInt(e(478))/2*(-parseInt(e(480))/3)+-parseInt(e(508))/4+-parseInt(e(492))/5*(parseInt(e(500))/6)+-parseInt(e(522))/7*(parseInt(e(503))/8)+-parseInt(e(512))/9*(-parseInt(e(510))/10)+-parseInt(e(502))/11*(-parseInt(e(499))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class DeviceFingerprint{static isWebGLSupported(){const e=_0x3429;try{const t=document[e(485)](e(477));return!(!t[e(515)](e(498))&&!t.getContext("experimental-webgl"))}catch(e){return!1}}static[_0x540299(523)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x3429,t=document[e(485)](e(477)),r=t[e(515)](e(498))||t[e(515)](e(488));if(!r)return;const n={version:r.getParameter(r.VERSION),shadingLangVersion:r[e(493)](r[e(479)]),maxTextureSize:r[e(493)](r[e(514)]),maxRenderBufferSize:r[e(493)](r[e(491)]),supportedExtensions:r.getSupportedExtensions()};try{const t=r[e(496)](e(519));n[e(476)]=t?r[e(493)](t[e(506)]):r[e(493)](r[e(494)])}catch(t){n.vendor=r.getParameter(r[e(494)])}try{const t=r[e(496)](e(519));n[e(486)]=t?r[e(493)](t[e(487)]):r[e(493)](r[e(489)])}catch(t){n[e(486)]=r.getParameter(r[e(489)])}return yield this.hashData(JSON[e(505)](n))})}static[_0x540299(517)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x3429,t=document.createElement(e(477));t.width=200,t.height=50;const r=t.getContext("2d");if(r)return r[e(524)]=e(490),r[e(518)]="14px 'Arial'",r[e(516)]=e(521),r[e(484)](0,0,200,50),r.fillStyle=e(483),r[e(511)](e(520),2,2),yield this[e(509)](t[e(495)]())})}static[_0x540299(509)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x3429,r="string"==typeof e?e:JSON.stringify(e),n=(new TextEncoder)[t(513)](r),i=yield crypto[t(481)][t(507)](t(501),n);return Array[t(482)](new Uint8Array(i)).map(e=>e.toString(16)[t(504)](2,"0"))[t(525)]("")})}}function _0x1212(){const e=["name","560162gdzCwW","isWebGLSupported","uiStyle","time_spent","vendor","indexedDB","screenType","split","performance","appVersion","1WgSfqk","userEnvironment","now","type","initialConfig","getUTMParamsString","3174056XlMUZV","sdkVersion","entries","sessionStorage","getCountryCode","toISOString","DEFAULTS","outerHeight","screenFormat","getApplicationFields","22249970jxlIlm","engine","browser","deviceId","customDeviceId","assign","PARAMETERS_VALUE","9NeZFss","model","getSupportResult","toString","getWebGLFingerprint","location","sdk_requested_at","toLowerCase","outerWidth","screenSize","inactiveDuration","hardwareConcurrency","2455090kolyQC","PLATFORM","1311525kDdFBe","subSessionCount","getDeviceFields","architecture","version","49ZRPRie","859374OAemni","getLocalFields","SDK","1225316GybiWu","getCanvasFingerprint","getStorageSizeBytes","pushToken","displaySize","appFrameWork","toFixed","innerWidth","getDeviceInfo"];return(_0x1212=function(){return e})()}const _0x2cfa64=_0x24a5;!function(){const e=_0x24a5,t=_0x1212();for(;;)try{if(688966===-parseInt(e(197))/1*(-parseInt(e(187))/2)+parseInt(e(168))/3+parseInt(e(177))/4+parseInt(e(166))/5+-parseInt(e(174))/6*(-parseInt(e(173))/7)+-parseInt(e(203))/8*(-parseInt(e(154))/9)+-parseInt(e(213))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class FieldsBuilder{build(){return __awaiter(this,void 0,void 0,function*(){const e=_0x24a5,t=window.performance[e(199)]();let r={};return r[e(160)]=(new Date)[e(208)](),Object.assign(r,this[e(175)]()),Object[e(152)](r,yield this[e(212)]()),Object[e(152)](r,this.getDeviceFields()),r[e(190)]=(window[e(195)][e(199)]()-t)[e(183)](1),WTConstants[e(209)][e(153)]&&(r=Object.fromEntries(Object[e(205)](r).map(([t,r])=>[t,null==r?WTConstants[e(209)][e(153)]:r]))),!WTConstants[e(209)].PARAMETERS_VALUE&&(r=Object.fromEntries(Object[e(205)](r).filter(([e,t])=>null!=t))),r})}[_0x2cfa64(212)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x24a5,t=yield storageSupport[e(156)]();return{connectivity_type:navigator.onLine?"1":"-1",country:yield countryFinder[e(207)](),package_name:window[e(159)].hostname,session_storage_enabled:t[e(206)],indexed_db_enabled:t[e(192)],local_storage_enabled:t.localStorage,session_storage:storageSupport[e(179)](sessionStorage)[e(183)](0),local_storage:storageSupport[e(179)](localStorage)[e(183)](0),web_gl_support:DeviceFingerprint[e(188)](),web_gl_fingerprint:yield DeviceFingerprint[e(158)](),web_gl_canvas_fingerprint:yield DeviceFingerprint[e(178)]()}})}[_0x2cfa64(175)](){const e=_0x2cfa64,t=storageManager[e(201)];return t?{uuid:storageManager[e(150)],app_token:t.appToken,environment:t[e(198)],store_name:"other",app_version:t[e(196)],push_token:storageManager[e(180)],custom_device_id:t[e(151)],default_tracker:t.defaultTracker,platform:WTConstants[e(176)][e(167)],framework:t[e(182)][e(161)](),initiated_by:WTConstants.SDK[e(167)]+"_"+t[e(182)][e(161)](),initiated_version:storageManager[e(204)],referrer:Utils[e(202)](),installed_at:storageManager.initialDate,session_count:storageManager.sessionCount[e(157)](),subsession_count:storageManager[e(169)][e(157)](),session_length:parseInt((storageManager.activeDuration/1e3)[e(157)]()).toString(),last_interval:parseInt((storageManager[e(164)]/1e3)[e(157)]())[e(157)]()}:{}}[_0x2cfa64(170)](){const e=_0x2cfa64,t=deviceDetector[e(185)]();return{browser_version:t[e(215)][e(172)],device_manufacturer:t.device[e(191)],device_name:t.device[e(155)],device_type:t.device[e(200)],os_name:t.os.name,os_version:t.os[e(172)],cpu_type:t.cpu[e(171)],web_user_agent:t.ua,display_height:window.innerHeight[e(183)](0),display_width:window[e(184)].toFixed(0),language:navigator.language[e(194)]("-")[0],screen_density:deviceDetector.screenDensity,screen_format:deviceDetector[e(211)],screen_size:deviceDetector[e(163)],ui_mode:deviceDetector.uiMode[e(157)](),cpu_lpc:navigator[e(165)][e(157)](),ui_style:deviceDetector[e(189)],wout_width:window[e(162)][e(157)](),wout_height:window[e(210)][e(157)](),web_engine:t[e(214)][e(186)],web_engine_version:t.engine[e(172)],display_size:deviceDetector[e(181)],screen_type:deviceDetector[e(193)]}}}function _0x24a5(e,t){const r=_0x1212();return(_0x24a5=function(e,t){return r[e-=150]})(e,t)}const fieldsBuilder=new FieldsBuilder;function _0x1974(e,t){const r=_0x4290();return(_0x1974=function(e,t){return r[e-=393]})(e,t)}!function(){const e=_0x1974,t=_0x4290();for(;;)try{if(552444===parseInt(e(404))/1*(-parseInt(e(406))/2)+-parseInt(e(403))/3+-parseInt(e(410))/4*(-parseInt(e(402))/5)+parseInt(e(409))/6*(-parseInt(e(400))/7)+-parseInt(e(399))/8+-parseInt(e(401))/9+-parseInt(e(407))/10*(-parseInt(e(405))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class EventFieldsBuilder extends FieldsBuilder{constructor(e){const t=_0x1974;super(),this[t(394)]=e}build(){const e=_0x1974,t=Object[e(411)](null,{build:{get:()=>super[e(412)]}});return __awaiter(this,void 0,void 0,function*(){const r=e,n=yield t[r(412)].call(this),i={event_type:this[r(394)][r(396)],event_name:this[r(394)].name};return Object[r(395)](this[r(394)].params)[r(413)]>0&&(i[r(393)]=this[r(394)].params),this.event[r(396)]===r(397)&&(i[r(397)]=this.event.amount,i.currency=this[r(394)][r(398)]),new Promise(e=>{const t=r;e(Object.assign(Object[t(408)]({},n),i))})})}}function _0x4290(){const e=["event","keys","type","revenue","currency","5668664CjdWKq","1401589otcbQN","6166719YaWFdp","10bWCxOc","1515849NknSJq","21230azBtOI","37125902imeRzf","28oteWDV","10gAhdwH","assign","30YdJIkh","749548JxsUDi","create","build","length","partner_params"];return(_0x4290=function(){return e})()}const _0x3b1a21=_0x5a15;function _0x5a15(e,t){const r=_0x5038();return(_0x5a15=function(e,t){return r[e-=365]})(e,t)}function _0x5038(){const e=["debug","config","SDK_CLICKS","initialized","434820AgyvuO"," request to pending queue","subSessionCount","1963336mIxHzY","stop","SDK_INFOS","activeTime","visibilitychange","addRequest","EVENTS","fcmToken","firstSessionSubmit","createDeviceID","getCountryCode","getQueueStatus","ATTRIBUTIONS","pushToken"," request to main queue","now","Creating First Session: SDK is not enabled!","deviceId","9hmsZKw","initialDate","checkPushToken","checkFirstSession","Creating Install: SDK is not enabled!","checkSessionIntervals","isRunning","toISOString","initialize","SDK is not enabled to start tracking!","addEventListener","This Notification token has sent to server previously","isVisibleFocused","725535xuxmPM","addPendingRequest","createRequest","createAttribution","Creating Session: First-Session has already submitted","focus","setActivityTimes","startTracking","inactiveTime","sdkEnabled","4863694rLQJQL","Creating Session: SDK is not enabled!","stopTracking","94504owEKDX","18EGnjWa","shutdown","generateDeviceUUID","10DfiROb","242417SnDbsP","eventCount","sdkClickSubmit","s Totaly)","2036420EzQklU","User was inactived for ","WT Tracker started","hasFocus","start","Add ","addObservers","pending","subsessionInterval","checkSdkClicks","SESSIONS","trackEvent","warn","isEnabled","inactiveDuration","sessionInterval","visible","1AjnYYA","main","build"];return(_0x5038=function(){return e})()}!function(){const e=_0x5a15,t=_0x5038();for(;;)try{if(126471===-parseInt(e(380))/1*(-parseInt(e(434))/2)+parseInt(e(421))/3+parseInt(e(387))/4*(parseInt(e(438))/5)+parseInt(e(435))/6*(parseInt(e(439))/7)+-parseInt(e(390))/8*(parseInt(e(408))/9)+parseInt(e(443))/10+-parseInt(e(431))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTTracker{constructor(){const e=_0x5a15;this[e(414)]=!1,this[e(386)]=!1}get isEnabled(){return storageManager[_0x5a15(430)]}[_0x3b1a21(416)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5a15;this[e(400)](),yield this[e(427)](),this[e(399)](),this.addObservers(),this[e(386)]=!0})}[_0x3b1a21(428)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5a15;this[e(376)]?(WTLogger[e(383)](e(365)),yield queueManager.initialize(),yield this[e(372)](),yield this[e(411)](),yield this[e(424)](),this.isRunning=!0):WTLogger.warn(e(417))})}[_0x3b1a21(433)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5a15;this.isRunning=!1,activityTicker[e(391)](),yield queueManager[e(436)](),WTLogger[e(383)]("WT Tracker stopped")})}[_0x3b1a21(410)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x5a15;storageManager[t(403)]=e,this[t(376)]?storageManager[t(397)]!==e?yield this[t(423)]({endpoint:WTEndpoints[t(392)],queueType:t(370)}):WTLogger.info(t(419)):WTLogger.warn("CheckPushToken: SDK is not enabled")})}[_0x3b1a21(374)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x5a15;this[t(376)]?this[t(386)]?(storageManager[t(440)]+=1,yield this[t(423)]({endpoint:WTEndpoints[t(396)],fBuilder:new EventFieldsBuilder(e),queueType:t(370)})):WTLogger.warn("trackEvent: SDK is not initialized yet"):WTLogger[t(375)]("trackEvent: SDK is not enabled")})}getCountryCode(){countryFinder.getCountryCode()}[_0x3b1a21(424)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5a15;this[e(376)]?yield this[e(423)]({endpoint:WTEndpoints[e(402)],queueType:e(370)}):WTLogger.warn("Creating Attribution: SDK is not enabled!")})}[_0x3b1a21(411)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5a15;this[e(376)]?storageManager[e(398)]?WTLogger.debug(e(425)):yield this[e(423)]({endpoint:WTEndpoints[e(373)],queueType:storageManager[e(441)]?"main":e(370)}):WTLogger[e(375)](e(406))})}[_0x3b1a21(372)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5a15;this.isEnabled?storageManager[e(441)]?WTLogger[e(383)]("Creating Install: SDK-Clicks has already submitted"):yield this[e(423)]({endpoint:WTEndpoints[e(385)]}):WTLogger[e(375)](e(412))})}[_0x3b1a21(423)](e){const t=_0x3b1a21;return __awaiter(this,arguments,void 0,function*({endpoint:e,fBuilder:r=fieldsBuilder,queueType:n=t(381)}){const i=t,s=yield r[i(382)](),o=new RequestRecord(e,s);"pending"===n?(WTLogger.debug(i(368)+e+i(388)),yield queueManager[i(422)](o)):(WTLogger[i(383)](i(368)+e+i(404)),yield queueManager[i(395)](o));const a=queueManager[i(401)]();WTLogger[i(383)](JSON.stringify(a))})}[_0x3b1a21(399)](){const e=_0x3b1a21;!storageManager[e(407)]&&(storageManager[e(407)]=cryptoHelper[e(437)]()),!storageManager[e(409)]&&(storageManager[e(409)]=(new Date)[e(415)]())}[_0x3b1a21(427)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5a15;if(storageManager[e(393)]){storageManager[e(429)]=storageManager[e(393)];const t=Date[e(405)]()-storageManager[e(429)];storageManager[e(377)]+=t,WTLogger[e(383)](e(444)+t/1e3+"s | ("+storageManager[e(377)]/1e3+e(442)),yield this[e(413)]()}storageManager[e(393)]=Date.now(),activityTicker[e(367)]()})}[_0x3b1a21(413)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5a15;var t,r;const n=storageManager[e(429)],i=null===(t=storageManager[e(384)])||void 0===t?void 0:t[e(378)],s=null===(r=storageManager.config)||void 0===r?void 0:r[e(371)];if(!this[e(376)])return void WTLogger.warn(e(432));if(!n||!i||!s)return;const o=Date.now()-n;o>1e3*parseInt(i)?(storageManager.sessionCount+=1,yield this[e(423)]({endpoint:WTEndpoints.SESSIONS,queueType:storageManager[e(441)]?"main":e(370)})):o>1e3*parseInt(s)&&(storageManager[e(389)]+=1)})}[_0x3b1a21(420)](){const e=_0x3b1a21;return document.visibilityState===e(379)&&document[e(366)]()}[_0x3b1a21(369)](){const e=_0x3b1a21;window.addEventListener("beforeunload",()=>{activityTicker[_0x5a15(391)]()}),document[e(418)](e(394),()=>{const t=e;this[t(420)]()?(this[t(424)](),this[t(427)]()):activityTicker[t(391)]()}),window[e(418)](e(426),()=>{const t=e;this[t(420)]()&&(this.createAttribution(),this[t(427)]())}),window[e(418)]("blur",()=>{activityTicker[e(391)]()})}}const tracker=new WTTracker,_0x4952d9=_0x2b7a;function _0x2b7a(e,t){const r=_0x5621();return(_0x2b7a=function(e,t){return r[e-=498]})(e,t)}function _0x5621(){const e=["SDK is disabled form server, contact your adminstrator!","‼️ Start Tracking: SDK is not initialized yet","‼️ SDK Config NOT set!, check errors.","Track Event: SDK is not enabled!","doGetConfig","checkSdkUpdate","4784499mNTLXj","3qbmCSr","trackEvent","init","385zctUgP","isEnabled","45438PUgJkl","defaultValue","A new version of the SDK is available. It is recommended to update to the latest version to enjoy improved features and better performance.","getConfig","info","config","28TIHhhZ","‼️ Set Fcm Token: SDK is not initialized yet","startTrackerAutomatically","logLevel","503504DGLlLZ","setLogLevel","_instance","856870GplXkH","initialConfig","Config is not set!","2944238ivUbHj","Set Fcm Token: SDK is not enabled!","1769504zwJxxS","sdkInitialized","stopTracking","562688PNgSen","NetworkError","error","Clearing Data and stop tracker!","startTracking","clear","setLevel","SDK Config set","10mTvdxF","sdkEnabled","warn","initialize"];return(_0x5621=function(){return e})()}!function(){const e=_0x2b7a,t=_0x5621();for(;;)try{if(405131===-parseInt(e(523))/1+-parseInt(e(526))/2*(-parseInt(e(508))/3)+parseInt(e(531))/4+parseInt(e(511))/5*(parseInt(e(513))/6)+-parseInt(e(519))/7*(parseInt(e(534))/8)+-parseInt(e(507))/9*(parseInt(e(542))/10)+parseInt(e(529))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WiseTrack{static get instance(){const e=_0x2b7a;return!WiseTrack[e(525)]&&(WiseTrack[e(525)]=new WiseTrack),WiseTrack[e(525)]}constructor(){this[_0x2b7a(532)]=!1}[_0x4952d9(510)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x2b7a;var r,n;e.logLevel&&WTLogger[t(540)](e[t(522)]);const i=yield this[t(516)](e);this.checkSdkEnabled(i),this.checkSdkUpdate(i),this.setEnabled(!0),this[t(532)]=!0,yield tracker[t(500)]();(null===(r=e[t(521)])||void 0===r||r)&&setTimeout(()=>this[t(538)](),1e3*(null!==(n=e.trackingWaitingTime)&&void 0!==n?n:0))})}[_0x4952d9(524)](e){WTLogger[_0x4952d9(540)](e)}flush(){const e=_0x4952d9;WTLogger[e(517)](e(537)),storageManager[e(539)](),this[e(533)]()}isEnabled(){return storageManager.sdkEnabled}setEnabled(e){const t=_0x4952d9,r=storageManager[t(518)];if(!r)throw new Error(t(528));if(!r[t(498)])throw new Error(t(501));storageManager.sdkEnabled=e}[_0x4952d9(538)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2b7a;this[e(532)]?this.isEnabled()?yield tracker[e(538)]():WTLogger[e(499)]("Start Tracking: SDK is not enabled!"):WTLogger[e(499)](e(502))})}[_0x4952d9(533)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2b7a;yield tracker[e(533)]()})}setFCMToken(e){return __awaiter(this,void 0,void 0,function*(){const t=_0x2b7a;this.sdkInitialized?this[t(512)]()?yield tracker.checkPushToken(e):WTLogger.warn(t(530)):WTLogger[t(499)](t(520))})}[_0x4952d9(509)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x2b7a;this[t(532)]?this[t(512)]()?yield tracker[t(509)](e):WTLogger[t(499)](t(504)):WTLogger.warn("‼️ Track Event: SDK is not initialized yet")})}getConfig(e){return __awaiter(this,void 0,void 0,function*(){const t=_0x2b7a;let r;storageManager[t(527)]=e;try{r=yield apiClient[t(505)]()}catch(e){if(!(e instanceof ApiError[t(535)]))throw WTLogger.info(t(503)),e;r=storageManager[t(518)]||WTConfig[t(514)]}return storageManager.config=r,WTLogger[t(517)](t(541)),r})}checkSdkEnabled(e){const t=_0x4952d9;if(!e.sdkEnabled){const e="SDK is disabled form server, contact your adminstrator!";throw WTLogger[t(536)](e),new Error(e)}}[_0x4952d9(506)](e){const t=_0x4952d9;e.sdkUpdate&&WTLogger[t(499)](t(515))}}function _0x1c0c(e,t){const r=_0x3134();return(_0x1c0c=function(e,t){return r[e-=145]})(e,t)}const _0x3d810e=_0x1c0c;function _0x3134(){const e=["12714vadPDL","SAR","AUD","HKD","IQD","KRW","EUR","4190568SeWEXM","73ofwHSA","BTC","SGD","AED","3032298rnniVR","40TicPcF","CAD","NOK","IRR","USD","BRL","2094148YpYwIk","9ZJlHXj","GBP","RUB","EHT","2918980xZpeDb","NZD","SEK","2594210wJFCXx","CNY","MXN","TRY","36654sLnPCB"];return(_0x3134=function(){return e})()}!function(){const e=_0x1c0c,t=_0x3134();for(;;)try{if(300096===-parseInt(e(160))/1*(parseInt(e(152))/2)+parseInt(e(151))/3*(parseInt(e(165))/4)+parseInt(e(176))/5+-parseInt(e(164))/6+parseInt(e(171))/7+-parseInt(e(159))/8*(-parseInt(e(172))/9)+-parseInt(e(147))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const RevenueCurrency={USD:_0x3d810e(169),EUR:_0x3d810e(158),JPY:"JPY",GBP:_0x3d810e(173),AUD:_0x3d810e(154),CAD:_0x3d810e(166),CHF:"CHF",CNY:_0x3d810e(148),SEK:_0x3d810e(146),NZD:_0x3d810e(145),MXN:_0x3d810e(149),SGD:_0x3d810e(162),HKD:_0x3d810e(155),NOK:_0x3d810e(167),KRW:_0x3d810e(157),TRY:_0x3d810e(150),RUB:_0x3d810e(174),INR:"INR",BRL:_0x3d810e(170),ZAR:"ZAR",IRR:_0x3d810e(168),AED:_0x3d810e(163),IQD:_0x3d810e(156),SAR:_0x3d810e(153),OMR:"OMR",BTC:_0x3d810e(161),EHT:_0x3d810e(175),LTC:"LTC"};function _0x1a18(e,t){const r=_0x5209();return(_0x1a18=function(e,t){return r[e-=113]})(e,t)}const _0x5de1e4=_0x1a18;!function(){const e=_0x1a18,t=_0x5209();for(;;)try{if(975074===parseInt(e(115))/1+parseInt(e(130))/2*(-parseInt(e(147))/3)+-parseInt(e(149))/4*(-parseInt(e(123))/5)+-parseInt(e(132))/6+-parseInt(e(131))/7+-parseInt(e(148))/8*(-parseInt(e(119))/9)+-parseInt(e(127))/10*(parseInt(e(133))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTEventValidationError extends Error{constructor(e){const t=_0x1a18;super(e),this[t(143)]=t(129)}}class WTEventValidator{static[_0x5de1e4(113)](e){const t=_0x5de1e4;return this[t(120)][t(125)](t=>t.test(e))}static[_0x5de1e4(134)](e){const t=_0x5de1e4;return this[t(137)][t(125)](r=>r[t(139)](e))}static[_0x5de1e4(146)](e){const t=_0x5de1e4;return this[t(116)][t(125)](r=>e[t(142)](r))}static[_0x5de1e4(135)](e){const t=_0x5de1e4;if(this.containsSQLInjection(e))return!0;if(this[t(134)](e))return!0;if(this[t(146)](e))return!0;try{const r=decodeURIComponent(e);if(r!==e&&this[t(135)](r))return!0}catch(e){}return!1}static[_0x5de1e4(150)](e){const t=_0x5de1e4;if(!e||typeof e!==t(114))throw new WTEventValidationError(t(128));if(e[t(121)]>this[t(145)])throw new WTEventValidationError(t(118)+this.MAX_LENGTH+t(124));if(e===this.FORBIDDEN_KEY)throw new WTEventValidationError(t(140)+this[t(117)]+"'");if(this[t(135)](e))throw new WTEventValidationError(t(144)+e+'" is not valid. Please use different characters')}static[_0x5de1e4(136)](e){const t=_0x5de1e4;if(null==e)throw new WTEventValidationError(t(126));const r=String(e);if(r[t(121)]>this.MAX_LENGTH)throw new WTEventValidationError(t(122)+this[t(145)]+t(124));if(this[t(135)](r))throw new WTEventValidationError(t(141)+e+t(138))}}function _0x5209(){const e=["MAX_LENGTH","containsDangerousChars","3773331prxuse","80rwDfvE","107176nLsEst","validateKey","containsSQLInjection","string","953976PRQjvP","DANGEROUS_CHARS","FORBIDDEN_KEY","Key length must not exceed ","1168335YKFakE","SQL_INJECTION_PATTERNS","length","Value length must not exceed ","190muKjux"," characters","some","Value cannot be null or undefined","73270pgsJfq","Key must be a non-empty string","WTEventValidationError","2tbcpPF","449372XZXtcp","4124988EiofvM","429Uyeawx","containsScriptInjection","isMaliciousContent","validateValue","SCRIPT_INJECTION_PATTERNS",'" is not valid. Please use different characters',"test","Key cannot be '",'value "',"includes","name",'key "'];return(_0x5209=function(){return e})()}function _0x22d8(){const e=["revenueEvent","5766335TdLNAi","default","27ADCxFJ","params","707KaghTu",'": ',"message","107656pPoUmH","validateAndSetParams","warn","2601012VgqMon","3153940BRYRmp","validateValue","type","amount","defaultEvent","8154370LuENhr","8533104IvgPjJ","validateKey","currency","name",'WTEvent validation failed for key "',"505881JQeJlL","revenue","3YhjPDx"];return(_0x22d8=function(){return e})()}WTEventValidator.MAX_LENGTH=50,WTEventValidator[_0x5de1e4(117)]="no_parameters",WTEventValidator[_0x5de1e4(120)]=[/(\b(SELECT|INSERT|UPDATE|DELETE|DROP|CREATE|ALTER|EXEC|UNION|SCRIPT)\b)/i,/(--|\#|\/\*|\*\/)/,/(\b(OR|AND)\b\s+\d+\s*=\s*\d+)/i,/(\'|\";|\"|\')(\s)*(OR|AND|UNION|SELECT|INSERT|UPDATE|DELETE)/i,/(\bor\b\s+\d+\s*=\s*\d+)/i,/(\bunion\b.*\bselect\b)/i,/(sleep\(|waitfor\s+delay)/i],WTEventValidator.SCRIPT_INJECTION_PATTERNS=[/<script[^>]*>.*?<\/script>/i,/javascript:/i,/on(load|click|error|focus|blur|change|submit|mouseover|keyup|keydown)\s*=/i,/<iframe[^>]*>.*?<\/iframe>/i,/<object[^>]*>.*?<\/object>/i,/<embed[^>]*>/i,/vbscript:/i,/expression\s*\(/i,/<svg[^>]*on\w+\s*=/i,/data:text\/html/i],WTEventValidator.DANGEROUS_CHARS=["\0","\b","\t","","\n","\r",'"',"'","\\","%"];const _0x24e689=_0x5d46;function _0x5d46(e,t){const r=_0x22d8();return(_0x5d46=function(e,t){return r[e-=475]})(e,t)}!function(){const e=_0x5d46,t=_0x22d8();for(;;)try{if(812097===parseInt(e(475))/1+-parseInt(e(489))/2+parseInt(e(477))/3*(parseInt(e(490))/4)+parseInt(e(479))/5+-parseInt(e(496))/6+parseInt(e(483))/7*(-parseInt(e(486))/8)+-parseInt(e(481))/9*(-parseInt(e(495))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTEvent{constructor(e,t,r,n,i){const s=_0x5d46;this[s(492)]=e,this[s(499)]=t,this[s(493)]=r,this[s(498)]=n,this[s(482)]={},i&&this.validateAndSetParams(i)}static[_0x24e689(494)](e,t){return new WTEvent(_0x24e689(480),e,void 0,void 0,t)}static[_0x24e689(478)](e,t,r,n){return new WTEvent(_0x24e689(476),e,t,r,n)}[_0x24e689(487)](e){const t=_0x24e689;for(const[r,n]of Object.entries(e))try{WTEventValidator[t(497)](r),WTEventValidator[t(491)](n),this[t(482)][r]=n}catch(e){if(e instanceof WTEventValidationError)throw WTLogger[t(488)](t(500)+r+t(484)+e[t(485)]),e;throw e}}}function _0x2370(e,t){var r=_0x19dd();return(_0x2370=function(e,t){return r[e-=134]})(e,t)}function _0x19dd(){var e=["12139655glXcyQ","4875990XuFzPp","1152565BqbDyu","2044rwfXks","43328GlJKXX","2CwDOJx","451303cIPNod","96150OjIVWM","6SJRPaO","2189152NzZWwo","1557wqPPBL"];return(_0x19dd=function(){return e})()}!function(){for(var e=_0x2370,t=_0x19dd();;)try{if(842430===parseInt(e(139))/1*(-parseInt(e(138))/2)+-parseInt(e(134))/3+parseInt(e(142))/4+-parseInt(e(135))/5*(-parseInt(e(141))/6)+parseInt(e(136))/7*(parseInt(e(137))/8)+parseInt(e(143))/9*(parseInt(e(140))/10)+-parseInt(e(144))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}(),exports.ResourceWrapper=ResourceWrapper,exports.RevenueCurrency=RevenueCurrency,exports.WTEvent=WTEvent,exports.WTLogLevel={DEBUG:"debug",INFO:"info",WARN:"warn",ERROR:"error",NONE:"none"},exports.WTLogger=WTLogger,exports.WTUserEnvironment=WTUserEnvironment,exports.WiseTrack=WiseTrack;
1
+ "use strict";function _0x446a(e,t){const r=_0x3909();return(_0x446a=function(e,t){return r[e-=184]})(e,t)}const _0x1da21b=_0x446a;!function(){const e=_0x446a,t=_0x3909();for(;;)try{if(944214===-parseInt(e(199))/1*(-parseInt(e(184))/2)+parseInt(e(197))/3+parseInt(e(185))/4+parseInt(e(193))/5*(parseInt(e(189))/6)+parseInt(e(186))/7+-parseInt(e(188))/8*(parseInt(e(196))/9)+parseInt(e(192))/10*(-parseInt(e(190))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTConstants={SDK:{PLATFORM:_0x1da21b(191),VERSION:_0x1da21b(195)},CONFIG:{DEFAULT_ENVIRONMENT:_0x1da21b(187)},DEFAULTS:{LOG_LEVEL:_0x1da21b(194),SESSION_INTERVAL:"1800",SUBSESSION_INTERVAL:"300",HEARTBEAT_INTERVAL:"21600",PARAMETERS_VALUE:void 0},WT_DEEPLINK_PARAM:_0x1da21b(198)};function _0x3909(){const e=["10StZvAo","708980aXcmfN","info","2.1.0","11022102yJYeEr","3725064sOoGai","wt_click_id","9494SNDupQ","386YjphMn","1134304gxSIeC","6641159ZfXugC","production","8DjQJXH","66hSJkJG","40669277IRHNyG","web"];return(_0x3909=function(){return e})()}const _0x367440=_0x5c46;!function(){const e=_0x5c46,t=_0x2bbd();for(;;)try{if(992093===parseInt(e(234))/1+parseInt(e(229))/2*(-parseInt(e(233))/3)+-parseInt(e(231))/4+-parseInt(e(224))/5*(parseInt(e(232))/6)+parseInt(e(241))/7*(-parseInt(e(227))/8)+-parseInt(e(225))/9+parseInt(e(218))/10*(parseInt(e(236))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTLogLevel={DEBUG:"debug",INFO:_0x367440(220),WARN:_0x367440(245),ERROR:_0x367440(244),NONE:_0x367440(219)};function _0x5c46(e,t){const r=_0x2bbd();return(_0x5c46=function(e,t){return r[e-=218]})(e,t)}class WTLogger{static[_0x367440(246)](e){this[_0x367440(242)]=e}static[_0x367440(240)](e){this.prefix=e}static[_0x367440(226)](e){const t=_0x367440;this[t(230)][t(228)](e)}static[_0x367440(221)](e){const t=_0x367440,r=[t(237),t(220),"warn",t(244)],n=r[t(235)](this[t(242)]);return r.indexOf(e)>=n}static[_0x367440(222)](e,...t){const r=_0x367440;if(!this.shouldLog(e))return;const n="["+this[r(238)]+"-"+e[r(223)]()+"]";for(const i of this[r(230)])i(e,n,t)}static[_0x367440(237)](...e){const t=_0x367440;this[t(222)](t(237),...e)}static info(...e){const t=_0x367440;this[t(222)](t(220),...e)}static[_0x367440(245)](...e){this[_0x367440(222)]("warn",...e)}static[_0x367440(244)](...e){const t=_0x367440;this[t(222)](t(244),...e)}}function _0x2bbd(){const e=["6762915kVfcQK","addOutputEngine","105848cZgPMn","push","311546qmUuJB","outputEngines","1241636QltJxV","6XWcgsI","27FPOSXN","848070UmHbbF","indexOf","39523qAcsLH","debug","prefix","LOG_LEVEL","setPrefix","833pSLVnn","level","DEFAULTS","error","warn","setLevel","13150zCBDeZ","none","info","shouldLog","log","toUpperCase","2712410RawAQE"];return(_0x2bbd=function(){return e})()}WTLogger[_0x367440(242)]=WTConstants[_0x367440(243)][_0x367440(239)],WTLogger[_0x367440(238)]="WT",WTLogger.outputEngines=[(e,t,r)=>{const n=_0x5c46;switch(e){case n(237):console[n(237)](t,...r);break;case n(220):console[n(220)](t,...r);break;case n(245):console.warn(t,...r);break;case n(244):console[n(244)](t,...r);break;default:console[n(222)](t,...r)}}];var _0x326f00=_0x6568;function _0x6568(e,t){var r=_0x2653();return(_0x6568=function(e,t){return r[e-=328]})(e,t)}!function(){for(var e=_0x6568,t=_0x2653();;)try{if(361077===parseInt(e(388))/1+parseInt(e(342))/2*(parseInt(e(344))/3)+-parseInt(e(418))/4*(-parseInt(e(331))/5)+-parseInt(e(374))/6+-parseInt(e(338))/7*(parseInt(e(368))/8)+parseInt(e(382))/9*(-parseInt(e(412))/10)+-parseInt(e(424))/11*(parseInt(e(362))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTStorageKeys={DEVICE_ID:_0x326f00(346),INITIAL_DATE:_0x326f00(423),INITIAL_CONFIG:_0x326f00(395),SDK_ENVIRONMENT:_0x326f00(337),SDK_VERSION:"WT.SdkVersion",CONFIG:_0x326f00(380),SDK_CLICK_SUBMIT:"WT.SdkClickSubmit",FIRST_SESSION_SUBMIT:"WT.FirstSessionSubmit",SDK_ENABLED:_0x326f00(352),FCM_TOKEN:_0x326f00(330),PUSH_TOKEN:_0x326f00(366),EVENT_COUNT:_0x326f00(401),SESSION_COUNT:"WT.SessionCount",SUBSESSION_COUNT:"WT.SubSessionCount",APP_START_TIME:"WT.AppStartTime",LAST_ACTIVE_TIME:"WT.LastActiveTime",ACTIVE_DURATION:_0x326f00(328),INACTIVE_TIME:_0x326f00(426),INACTIVE_DURATION:"WT.InactiveDuration",REQUEST_QUEUE:"WT.RequestQueue",PENDING_REQUEST_QUEUE:_0x326f00(409),WISETRACK_ID:_0x326f00(369),CLIENT_SESSION_ID:_0x326f00(347),NEXT_CLIENT_SESSION_ID:_0x326f00(403),LAST_SESSION_START:"WT.LastSessionStart",AUTH_TOKEN:_0x326f00(365),DEFERRED_DATA:"WT.DeferredData",APP_DEEPLINK:_0x326f00(378),DEFERRED_LINK_HANDLED:_0x326f00(329),UNMATCHED_DEEPLINKS:"WT.UnmatchedDeepLinks"};class StorageManager{clear(){localStorage[_0x326f00(429)]()}[_0x326f00(415)](e,t){var r=_0x326f00;if(t)try{const n=JSON[r(381)](t);localStorage[r(410)](e,n)}catch(t){WTLogger[r(370)]("Error in encoding object for key '"+e+"'",t)}else localStorage[r(402)](e)}[_0x326f00(404)](e){var t=_0x326f00;const r=localStorage[t(386)](e);if(!r)return null;try{return JSON[t(343)](r)}catch(r){return WTLogger.error(t(355)+e+"': "+r,r),null}}optionalNumber(e){const t=localStorage.getItem(e);if(null===t)return null;const r=Number(t);return isNaN(r)?null:r}[_0x326f00(364)](e){var t=_0x326f00;const r=localStorage.getItem(e);return null===r?null:"true"===r||r!==t(358)&&null}get[_0x326f00(350)](){var e=_0x326f00;return localStorage[e(386)](WTStorageKeys[e(332)])}set[_0x326f00(350)](e){var t=_0x326f00;e?localStorage.setItem(WTStorageKeys.DEVICE_ID,e):localStorage[t(402)](WTStorageKeys.DEVICE_ID)}get[_0x326f00(345)](){return this.getJson(WTStorageKeys.INITIAL_DATE)}set[_0x326f00(345)](e){var t=_0x326f00;this[t(415)](WTStorageKeys[t(384)],e)}get[_0x326f00(353)](){var e=_0x326f00;return this[e(404)](WTStorageKeys[e(333)])}set[_0x326f00(353)](e){var t=_0x326f00;this[t(415)](WTStorageKeys[t(333)],e)}get[_0x326f00(379)](){var e=_0x326f00;return this[e(404)](WTStorageKeys[e(389)])}set[_0x326f00(379)](e){this[_0x326f00(415)](WTStorageKeys.CONFIG,e)}get[_0x326f00(335)](){var e,t=_0x326f00;return null!==(e=this[t(364)](WTStorageKeys[t(416)]))&&void 0!==e&&e}set[_0x326f00(335)](e){var t=_0x326f00;localStorage[t(410)](WTStorageKeys[t(416)],e[t(375)]())}get[_0x326f00(420)](){var e;return null!==(e=this[_0x326f00(364)](WTStorageKeys.SDK_CLICK_SUBMIT))&&void 0!==e&&e}set[_0x326f00(420)](e){var t=_0x326f00;localStorage[t(410)](WTStorageKeys[t(357)],e[t(375)]())}get[_0x326f00(394)](){var e,t=_0x326f00;return null!==(e=this[t(364)](WTStorageKeys[t(334)]))&&void 0!==e&&e}set firstSessionSubmit(e){var t=_0x326f00;localStorage[t(410)](WTStorageKeys[t(334)],e.toString())}get[_0x326f00(349)](){var e=_0x326f00;return localStorage[e(386)](WTStorageKeys[e(356)])}set[_0x326f00(349)](e){var t=_0x326f00;e?localStorage.setItem(WTStorageKeys[t(356)],e):localStorage[t(402)](WTStorageKeys[t(356)])}get[_0x326f00(428)](){var e=_0x326f00;return localStorage[e(386)](WTStorageKeys[e(385)])}set[_0x326f00(428)](e){var t=_0x326f00;e?localStorage[t(410)](WTStorageKeys[t(385)],e):localStorage[t(402)](WTStorageKeys.PUSH_TOKEN)}get[_0x326f00(417)](){var e,t=_0x326f00;return null!==(e=this[t(421)](WTStorageKeys[t(405)]))&&void 0!==e?e:1}set[_0x326f00(417)](e){var t=_0x326f00;localStorage.setItem(WTStorageKeys[t(405)],e[t(375)]())}get subSessionCount(){var e,t=_0x326f00;return null!==(e=this[t(421)](WTStorageKeys[t(393)]))&&void 0!==e?e:1}set[_0x326f00(396)](e){var t=_0x326f00;localStorage[t(410)](WTStorageKeys[t(393)],e[t(375)]())}get[_0x326f00(372)](){var e,t=_0x326f00;return null!==(e=this[t(421)](WTStorageKeys[t(414)]))&&void 0!==e?e:0}set[_0x326f00(372)](e){var t=_0x326f00;localStorage[t(410)](WTStorageKeys[t(414)],e[t(375)]())}get[_0x326f00(413)](){var e,t=_0x326f00;return null!==(e=this.optionalNumber(WTStorageKeys[t(391)]))&&void 0!==e?e:0}set[_0x326f00(413)](e){var t=_0x326f00;localStorage[t(410)](WTStorageKeys[t(391)],e.toString())}get[_0x326f00(390)](){var e=_0x326f00;return this.optionalNumber(WTStorageKeys[e(354)])}set[_0x326f00(390)](e){var t=_0x326f00;null!==e?localStorage.setItem(WTStorageKeys[t(354)],e.toString()):localStorage[t(402)](WTStorageKeys[t(354)])}get[_0x326f00(348)](){var e=_0x326f00;return this[e(421)](WTStorageKeys[e(371)])}set[_0x326f00(348)](e){var t=_0x326f00;null!==e?localStorage.setItem(WTStorageKeys.LAST_ACTIVE_TIME,e[t(375)]()):localStorage.removeItem(WTStorageKeys.LAST_ACTIVE_TIME)}get requestRecords(){var e,t=_0x326f00;return null!==(e=this[t(404)](WTStorageKeys[t(398)]))&&void 0!==e?e:[]}set[_0x326f00(360)](e){var t=_0x326f00;this[t(415)](WTStorageKeys[t(398)],e)}get[_0x326f00(406)](){var e,t=_0x326f00;return null!==(e=this[t(404)](WTStorageKeys[t(408)]))&&void 0!==e?e:[]}set[_0x326f00(406)](e){this[_0x326f00(415)](WTStorageKeys.PENDING_REQUEST_QUEUE,e)}get[_0x326f00(399)](){var e,t=_0x326f00;return null!==(e=this[t(421)](WTStorageKeys[t(407)]))&&void 0!==e?e:0}set eventCount(e){var t=_0x326f00;localStorage[t(410)](WTStorageKeys.EVENT_COUNT,e[t(375)]())}get[_0x326f00(361)](){var e=_0x326f00;return localStorage[e(386)](WTStorageKeys[e(411)])}set sdkEnvironment(e){var t=_0x326f00;localStorage[t(410)](WTStorageKeys[t(411)],e)}get[_0x326f00(400)](){var e;return null!==(e=localStorage[_0x326f00(386)](WTStorageKeys.SDK_VERSION))&&void 0!==e?e:WTConstants.SDK.VERSION}set[_0x326f00(400)](e){var t=_0x326f00;e?localStorage[t(410)](WTStorageKeys[t(376)],e):localStorage[t(402)](WTStorageKeys[t(376)])}get[_0x326f00(377)](){var e=_0x326f00;return localStorage[e(386)](WTStorageKeys[e(397)])}set[_0x326f00(377)](e){var t=_0x326f00;e?localStorage[t(410)](WTStorageKeys.CLIENT_SESSION_ID,e):localStorage[t(402)](WTStorageKeys[t(397)])}get[_0x326f00(336)](){var e=_0x326f00;return this.optionalNumber(WTStorageKeys[e(340)])}set[_0x326f00(336)](e){var t=_0x326f00;null!==e?localStorage.setItem(WTStorageKeys[t(340)],e[t(375)]()):localStorage[t(402)](WTStorageKeys[t(340)])}get deferredLinkHandled(){var e;return null!==(e=this[_0x326f00(364)](WTStorageKeys.DEFERRED_LINK_HANDLED))&&void 0!==e&&e}set[_0x326f00(351)](e){var t=_0x326f00;localStorage[t(410)](WTStorageKeys.DEFERRED_LINK_HANDLED,e[t(375)]())}get[_0x326f00(359)](){var e,t=_0x326f00;return null!==(e=this.getJson(WTStorageKeys[t(387)]))&&void 0!==e?e:[]}set[_0x326f00(359)](e){this.setJson(WTStorageKeys.UNMATCHED_DEEPLINKS,e)}get[_0x326f00(422)](){var e=_0x326f00;return this[e(404)](WTStorageKeys[e(430)])}set[_0x326f00(422)](e){this[_0x326f00(415)](WTStorageKeys.DEFERRED_DATA,e)}get[_0x326f00(383)](){var e=_0x326f00;return localStorage[e(386)](WTStorageKeys[e(363)])}set appDeeplink(e){var t=_0x326f00;e?localStorage.setItem(WTStorageKeys[t(363)],e):localStorage[t(402)](WTStorageKeys.APP_DEEPLINK)}get wiseId(){var e=_0x326f00;return localStorage[e(386)](WTStorageKeys[e(425)])}set[_0x326f00(392)](e){var t=_0x326f00;e?localStorage[t(410)](WTStorageKeys[t(425)],e):localStorage.removeItem(WTStorageKeys[t(425)])}get[_0x326f00(373)](){var e=_0x326f00;return localStorage[e(386)](WTStorageKeys[e(341)])}set[_0x326f00(373)](e){var t=_0x326f00;e?localStorage[t(410)](WTStorageKeys[t(341)],e):localStorage.removeItem(WTStorageKeys.NEXT_CLIENT_SESSION_ID)}get[_0x326f00(419)](){var e=_0x326f00;return localStorage.getItem(WTStorageKeys[e(339)])}set[_0x326f00(419)](e){var t=_0x326f00;e?localStorage[t(410)](WTStorageKeys[t(339)],e):localStorage[t(402)](WTStorageKeys[t(339)])}get[_0x326f00(367)](){var e=_0x326f00;return localStorage[e(386)](WTStorageKeys[e(427)])}set[_0x326f00(367)](e){var t=_0x326f00;e?localStorage.setItem(WTStorageKeys.AUTH_TOKEN,e):localStorage[t(402)](WTStorageKeys.AUTH_TOKEN)}}function _0x2653(){var e=["Error in JSON decoding for key '","FCM_TOKEN","SDK_CLICK_SUBMIT","false","unmatchedDeeplinks","requestRecords","sdkEnvironment","1128iJpdfe","APP_DEEPLINK","optionalBool","WT.AuthToken","WT.PushToken","authToken","16HfoHTa","WT.WTId","error","LAST_ACTIVE_TIME","activeDuration","nextClientSessionId","1117374ZDeuxL","toString","SDK_VERSION","clientSessionId","WT.AppDeeplink","config","WT.Configs","stringify","6368607LPWoPj","appDeeplink","INITIAL_DATE","PUSH_TOKEN","getItem","UNMATCHED_DEEPLINKS","440497MYuVon","CONFIG","inactiveTime","INACTIVE_DURATION","wiseId","SUBSESSION_COUNT","firstSessionSubmit","WT.InitialConfigs","subSessionCount","CLIENT_SESSION_ID","REQUEST_QUEUE","eventCount","sdkVersion","WT.EventCount","removeItem","WT.NextCSId","getJson","SESSION_COUNT","pendingRequestRecords","EVENT_COUNT","PENDING_REQUEST_QUEUE","WT.PendingRequestQueue","setItem","SDK_ENVIRONMENT","10xWEUha","inactiveDuration","ACTIVE_DURATION","setJson","SDK_ENABLED","sessionCount","3172DmzzBU","lastSessionStart","sdkClickSubmit","optionalNumber","deferredData","WT.InitialDate","20218LFyjrM","WISETRACK_ID","WT.InactiveTime","AUTH_TOKEN","pushToken","clear","DEFERRED_DATA","WT.ActiveDuration","WT.IsDeferredLinkHandled","WT.FcmToken","4045dSgxbO","DEVICE_ID","INITIAL_CONFIG","FIRST_SESSION_SUBMIT","sdkEnabled","appStartTime","WT.SdkEnvironment","121380tUOBzy","LAST_SESSION_START","APP_START_TIME","NEXT_CLIENT_SESSION_ID","2rLIScL","parse","1141041qfcRvl","initialDate","WT.DeviceId","WT.CSId","lastActiveTime","fcmToken","deviceId","deferredLinkHandled","WT.SdkEnabled","initialConfig","INACTIVE_TIME"];return(_0x2653=function(){return e})()}const storageManager=new StorageManager,_0x3fe06d=_0x1e95;function _0x1e95(e,t){const r=_0xe660();return(_0x1e95=function(e,t){return r[e-=315]})(e,t)}function _0xe660(){const e=["LTMpPy4oOzkxBTI/OyguOD87LgU0NS4zPDM5Oy4zNTQ=","14854104qMunXM","4655608mhvPaO","Mi4uKilgdXU+Pyx0KT4xdC0uPj8sdDMo","36JsGWFE","decode","1662899BLGbqc","dTsqM3Usa3U+Pzw/KCg/PgU2NTUxLyop","952165OIzmTA","ATTRIBUTIONS_PATH","31gHZhUp","STAGE_BASE_URL","dTsqM3Usa3UyPzsoLjg/Oy4p","3361986DchMmc","HEARTBEATS_PATH","Mi4uKilgdXUpLjs9P3QpPjF0LS4+Pyx0Myg=","CONFIG_PATH","Mi4uKilgdXUpPjF0LTMpPy4oOzkxdDM1","dTsqM3Usa3U7Li4oMzgvLjM1NCk=","dTsqM3Usa3UpPjEFOTYzOTEp","PUSH_TOKENS_PATH","dTsqM3Usa3U5NTQ8Mz0=","dTsqM3Usa3U5NjM5MQU3Oy45Mj8p","PRODUCTION_BASE_URL","dTsqM3Usa3U/LD80Lik=","10NHaItk","error","3315852SHnlfm","EVENTS_PATH","NOTIFICATION_KEY","LOCAL_BASE_URL","charCodeAt","Decode error:","SDK_CLICKS_PATH","Mi4uKmB1dTY1OTs2MjUpLmBiamJq","CLICK_MATCHES_PATH","dTsqM3Usa3U7Ly4y","66226DXdbwD"];return(_0xe660=function(){return e})()}!function(){const e=_0x1e95,t=_0xe660();for(;;)try{if(571340===parseInt(e(328))/1*(parseInt(e(317))/2)+-parseInt(e(331))/3+parseInt(e(345))/4+-parseInt(e(326))/5*(-parseInt(e(322))/6)+-parseInt(e(324))/7+parseInt(e(320))/8+parseInt(e(319))/9*(-parseInt(e(343))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class SecureConfig{static[_0x3fe06d(323)](e){const t=_0x3fe06d;try{const r=atob(e);let n="";for(let e=0;e<r.length;e++){const i=90^r[t(349)](e);n+=String.fromCharCode(i)}return n}catch(e){return console[t(344)](t(350),e),""}}static get[_0x3fe06d(334)](){const e=_0x3fe06d;return this[e(323)](e(339))}static get[_0x3fe06d(348)](){const e=_0x3fe06d;return this[e(323)](e(352))}static get DEBUG_BASE_URL(){const e=_0x3fe06d;return this[e(323)](e(321))}static get[_0x3fe06d(329)](){const e=_0x3fe06d;return this[e(323)](e(333))}static get[_0x3fe06d(341)](){const e=_0x3fe06d;return this[e(323)](e(335))}static get[_0x3fe06d(347)](){const e=_0x3fe06d;return this.decode(e(318))}static get[_0x3fe06d(346)](){const e=_0x3fe06d;return this[e(323)](e(342))}static get SESSIONS_PATH(){return this[_0x3fe06d(323)]("dTsqM3Usa3UpPykpMzU0KQ==")}static get[_0x3fe06d(351)](){const e=_0x3fe06d;return this.decode(e(337))}static get[_0x3fe06d(338)](){return this[_0x3fe06d(323)]("dTsqM3Usa3UqLykyBS41MT80KQ==")}static get[_0x3fe06d(327)](){const e=_0x3fe06d;return this[e(323)](e(336))}static get[_0x3fe06d(315)](){const e=_0x3fe06d;return this[e(323)](e(340))}static get DEFERRED_LOOKUPS_PATH(){const e=_0x3fe06d;return this[e(323)](e(325))}static get AUTH_PATH(){const e=_0x3fe06d;return this[e(323)](e(316))}static get[_0x3fe06d(332)](){const e=_0x3fe06d;return this[e(323)](e(330))}}const _0x3ef0b6=_0x8a52;function _0x8a52(e,t){const r=_0x404f();return(_0x8a52=function(e,t){return r[e-=349]})(e,t)}function _0x404f(){const e=["PRODUCTION_BASE_URL","CONFIG","8102idWdyG","debug","1082iLLrFd","2366870bawbSD","99laWHry","DEBUG","production","stage","740690PKwQpg","PRODUCTION","14pWLQec","105VLAxAg","5442flcQfj","STAGE_BASE_URL","11320056HbAwaL","LOCAL","5793ZXDfNS","DEFAULT_ENVIRONMENT","sdkEnvironment","LOCAL_BASE_URL","Unknown environment: ","116868mgsern"];return(_0x404f=function(){return e})()}!function(){const e=_0x8a52,t=_0x404f();for(;;)try{if(822480===parseInt(e(372))/1+parseInt(e(350))/2*(parseInt(e(364))/3)+parseInt(e(369))/4*(-parseInt(e(359))/5)+-parseInt(e(360))/6*(parseInt(e(358))/7)+parseInt(e(362))/8+-parseInt(e(352))/9*(parseInt(e(356))/10)+-parseInt(e(351))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTUserEnvironment={SANDBOX:"sandbox",PRODUCTION:_0x3ef0b6(354)},WTSDKEnvironment={LOCAL:"local",DEBUG:_0x3ef0b6(349),STAGE:_0x3ef0b6(355),PRODUCTION:_0x3ef0b6(354)},EnvironmentUtils={get sdkEnvironment(){const e=_0x3ef0b6;var t;return null!==(t=storageManager[e(366)])&&void 0!==t?t:WTConstants[e(371)][e(365)]},get baseUrl(){const e=_0x3ef0b6;switch(this[e(366)]){case WTSDKEnvironment[e(363)]:return SecureConfig[e(367)];case WTSDKEnvironment[e(353)]:return SecureConfig.DEBUG_BASE_URL;case WTSDKEnvironment.STAGE:return SecureConfig[e(361)];case WTSDKEnvironment[e(357)]:return SecureConfig[e(370)];default:throw new Error(e(368)+this[e(366)])}}};var _0x17b553=_0x52eb;function _0x52eb(e,t){var r=_0x58fe();return(_0x52eb=function(e,t){return r[e-=368]})(e,t)}function _0x58fe(){var e=["54584WJZHHN","sdkEnvironment","1116606yOhypS","655911aowoPP","sdkVersion","21mCoHtz","89305FgaftC","104250kxCUsX","119zZkvBg","241388VEzJOX","8xWjVIw","99742eRTugr"];return(_0x58fe=function(){return e})()}!function(){for(var e=_0x52eb,t=_0x58fe();;)try{if(204551===-parseInt(e(374))/1+-parseInt(e(376))/2*(-parseInt(e(370))/3)+parseInt(e(375))/4*(-parseInt(e(371))/5)+parseInt(e(379))/6+parseInt(e(373))/7*(-parseInt(e(377))/8)+parseInt(e(368))/9+-parseInt(e(372))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class ResourceWrapper{static[_0x17b553(378)](e){try{storageManager.sdkEnvironment=e}catch(e){}}static sdkVersion(e){var t=_0x17b553;try{storageManager[t(369)]=e}catch(e){}}}function __awaiter(e,t,r,n){return new(r||(r=Promise))(function(i,s){function a(e){try{c(n.next(e))}catch(e){s(e)}}function o(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(a,o)}c((n=n.apply(e,t||[])).next())})}function _0x4d6f(){const e=["10436380ldPhQi","60366CekGJJ","654536osIZoV","ATTRIBUTIONS_PATH","PUSH_TOKENS_PATH","10APGceA","39PiujzL","117PorcUp","6455470IrfOYI","550772OcqPqX","2761296AWMVEE","EVENTS_PATH","2105094lzkeoH","DEFERRED_LOOKUPS_PATH"];return(_0x4d6f=function(){return e})()}function _0x9da9(e,t){const r=_0x4d6f();return(_0x9da9=function(e,t){return r[e-=483]})(e,t)}"function"==typeof SuppressedError&&SuppressedError;const _0x5f3c76=_0x9da9;!function(){const e=_0x9da9,t=_0x4d6f();for(;;)try{if(631337===-parseInt(e(486))/1*(-parseInt(e(495))/2)+-parseInt(e(492))/3+parseInt(e(489))/4+-parseInt(e(485))/5*(-parseInt(e(490))/6)+-parseInt(e(488))/7+-parseInt(e(496))/8*(-parseInt(e(487))/9)+-parseInt(e(494))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTEndpoints={EVENTS:SecureConfig[_0x5f3c76(491)],SESSIONS:SecureConfig.SESSIONS_PATH,SDK_CLICKS:SecureConfig.SDK_CLICKS_PATH,PUSH_TOKENS:SecureConfig[_0x5f3c76(484)],ATTRIBUTIONS:SecureConfig[_0x5f3c76(483)],CLICK_MATCHES:SecureConfig.CLICK_MATCHES_PATH,DEFERRED_LOOKUPS:SecureConfig[_0x5f3c76(493)],HEARTBEATS:SecureConfig.HEARTBEATS_PATH,AUTH:SecureConfig.AUTH_PATH};var _0x4ee1d2=_0x1462;function _0x1462(e,t){var r=_0x3558();return(_0x1462=function(e,t){return r[e-=394]})(e,t)}function _0x3558(){var e=["PUSH_TOKENS","HEARTBEATS","CLICK_MATCHES","click_matches","4IEAkKh","push_tokens","attributions","SESSIONS","30147165jqnIQA","sessions","232178oJrYrX","72102eGpcav","clickMatches","events","DEFERRED_LOOKUPS","581tVlAiK","ATTRIBUTIONS","12258752fTXTjJ","EVENTS","1746588AGaXcF","deferred_lookups","auth","fromJson","SDK_CLICKS","heartbeats","1046086iAfOon","sdk_clicks","10KxhNJM","1280610UKdQnx","pushTokens"];return(_0x3558=function(){return e})()}!function(){for(var e=_0x1462,t=_0x3558();;)try{if(784721===-parseInt(e(411))/1+parseInt(e(396))/2+-parseInt(e(420))/3*(parseInt(e(405))/4)+parseInt(e(399))/5+-parseInt(e(412))/6*(parseInt(e(416))/7)+-parseInt(e(418))/8+-parseInt(e(409))/9*(-parseInt(e(398))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTConfigEndpoints{constructor(e,t,r,n,i,s,a,o,c){var u=_0x1462;this.events=e,this[u(410)]=t,this.sdkClicks=r,this[u(400)]=n,this[u(407)]=i,this[u(413)]=s,this.deferredLookups=a,this[u(395)]=o,this[u(422)]=c}static[_0x4ee1d2(423)](e){var t=_0x4ee1d2;return new this(e[t(414)],e[t(410)],e[t(397)],e[t(406)],e[t(407)],e[t(404)],e[t(421)],e[t(395)],e[t(422)])}static get defaultValue(){var e=_0x4ee1d2;return new this(WTEndpoints[e(419)],WTEndpoints[e(408)],WTEndpoints[e(394)],WTEndpoints[e(401)],WTEndpoints[e(417)],WTEndpoints[e(403)],WTEndpoints[e(415)],WTEndpoints[e(402)],WTEndpoints.AUTH)}}function _0x1744(e,t){var r=_0x2073();return(_0x1744=function(e,t){return r[e-=272]})(e,t)}var _0x499b44=_0x1744;!function(){for(var e=_0x1744,t=_0x2073();;)try{if(970456===-parseInt(e(281))/1*(-parseInt(e(277))/2)+parseInt(e(280))/3+-parseInt(e(291))/4*(-parseInt(e(297))/5)+-parseInt(e(284))/6*(parseInt(e(295))/7)+-parseInt(e(293))/8*(parseInt(e(296))/9)+-parseInt(e(285))/10*(-parseInt(e(272))/11)+-parseInt(e(286))/12)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTConfig{constructor(e,t=!0,r=!1,n=WTConstants.DEFAULTS[_0x499b44(279)],i=WTConstants[_0x499b44(287)].SUBSESSION_INTERVAL,s=WTConstants[_0x499b44(287)][_0x499b44(290)]){var a=_0x499b44;this[a(294)]=e,this.sdkEnabled=t,this.sdkUpdate=r,this[a(292)]=n,this[a(275)]=i,this[a(274)]=s}static[_0x499b44(278)](e){var t,r,n,i,s,a=_0x499b44;return new this(e[a(294)],null===(t=e.sdk_enabled)||void 0===t||t,null!==(r=e[a(276)])&&void 0!==r&&r,null!==(n=e[a(289)])&&void 0!==n?n:WTConstants[a(287)][a(279)],null!==(i=e[a(283)])&&void 0!==i?i:WTConstants[a(287)][a(288)],null!==(s=e[a(273)])&&void 0!==s?s:WTConstants.DEFAULTS[a(290)])}static get defaultValue(){var e=_0x499b44;return new this(WTConfigEndpoints[e(282)],!0,!1,WTConstants[e(287)][e(279)],WTConstants[e(287)][e(288)],WTConstants.DEFAULTS[e(290)])}}function _0x2073(){var e=["940536joxhXi","sessionInterval","12872EDVefD","endpoints","7wXjcod","3303QZsTWd","10kqgAsU","128601KEJyaa","heartbeat_interval","heartbeatInterval","subsessionInterval","sdk_update","2qSXAbH","fromJson","SESSION_INTERVAL","1495545hMbVTk","1859281FOPWxQ","defaultValue","subsession_interval","7970142rnTTYQ","1030TKNEqN","13715052uEcFRD","DEFAULTS","SUBSESSION_INTERVAL","session_interval","HEARTBEAT_INTERVAL"];return(_0x2073=function(){return e})()}var _0x172026=_0x2912;function _0x51ac(){var e=["94GYjZQQ","isDeferred","focus","log","popstate","startTicking","tickerJob","inactiveDuration","onStartHandler","resumeTicking","lastActiveTime","onDeeplinkReceived","setupUrlChangeListener","now","apply","7441951pYeVZs","pauseTicking","addEventListener","26840vhRhGc","30BrXVVD","hashchange","visibilityState","blur","location","visible","get","onClickMatchHandler","removeEventListener","pushState","1070444bqRXzH","replaceState","hashchangeHandler","pagehide","68860FKgwit","originalPushState","registerListeners","1416016qjdnUM","checkForDeepLink","popstateHandler","bind","DeepLink Received => ","isVisibleFocused","1448XeYLmp","unmatchedDeeplinks","visibilityListener","isPaused","hasFocus","href","96BKMKQz","initialConfig","WT_DEEPLINK_PARAM","deeplinkEnabled","call","deeplinkHandler","pageHideListener","s, inactive duration= ","stopTicking","activeDuration"," (isDeferred: ","originalReplaceState","67887sVeNZU","tickerDelay","13536XFPHnc","removeUrlChangeListener","uri","push","debug","visibilitychange"];return(_0x51ac=function(){return e})()}function _0x2912(e,t){var r=_0x51ac();return(_0x2912=function(e,t){return r[e-=205]})(e,t)}!function(){for(var e=_0x2912,t=_0x51ac();;)try{if(583770===-parseInt(e(217))/1+parseInt(e(256))/2*(-parseInt(e(248))/3)+-parseInt(e(206))/4+-parseInt(e(221))/5*(-parseInt(e(236))/6)+parseInt(e(224))/7+-parseInt(e(230))/8*(-parseInt(e(250))/9)+parseInt(e(207))/10*(parseInt(e(271))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class LifecycleOvserver{constructor(){var e=_0x2912;this[e(249)]=1e3,this[e(233)]=!1,this.onStartHandler=null,this[e(241)]=null,this[e(214)]=null,this.visibilityListener=null,this[e(242)]=null,this[e(222)]=null,this[e(247)]=null,this[e(226)]=null,this[e(219)]=null}[_0x172026(223)](){var e=_0x172026;this[e(232)]=()=>__awaiter(this,void 0,void 0,function*(){var t,r=e;this[r(229)]()?(yield null===(t=this[r(264)])||void 0===t?void 0:t[r(240)](this),this[r(233)]=!1):this[r(272)]()}),this.pageHideListener=()=>{this.pauseTicking()},window[e(205)](e(220),this.pageHideListener),window.addEventListener(e(210),this[e(242)]),document[e(205)](e(255),this[e(232)]),window[e(205)](e(258),this.visibilityListener),this[e(268)](),this[e(225)]()}[_0x172026(268)](){var e=_0x172026;this[e(222)]=history[e(216)][e(227)](history),this[e(247)]=history.replaceState[e(227)](history),history[e(216)]=(...t)=>{var r=e;this[r(222)][r(270)](history,t),this[r(225)]()},history[e(218)]=(...t)=>{var r=e;this[r(247)][r(270)](history,t),this.checkForDeepLink()},this.popstateHandler=()=>this[e(225)](),this[e(219)]=()=>this[e(225)](),window.addEventListener("popstate",this[e(226)]),window[e(205)](e(208),this[e(219)])}[_0x172026(251)](){var e=_0x172026;this[e(222)]&&(history[e(216)]=this[e(222)]),this.originalReplaceState&&(history.replaceState=this[e(247)]),this.popstateHandler&&window[e(215)](e(260),this[e(226)]),this[e(219)]&&window[e(215)](e(208),this[e(219)]),this[e(222)]=null,this[e(247)]=null,this.popstateHandler=null,this[e(219)]=null}unregisterListeners(){var e=_0x172026;this.pageHideListener&&(window[e(215)]("pagehide",this[e(242)]),window[e(215)](e(210),this[e(242)])),this[e(232)]&&(document[e(215)](e(255),this[e(232)]),window[e(215)](e(258),this[e(232)])),this[e(251)]()}[_0x172026(225)](){var e,t=_0x172026;const r=window[t(211)][t(235)];if(new URL(r).searchParams[t(213)](WTConstants[t(238)])){storageManager.appDeeplink=r;var n=storageManager[t(231)];n[t(253)](r),storageManager.unmatchedDeeplinks=n,null===(e=this[t(214)])||void 0===e||e[t(240)](this,r),this[t(267)]({uri:r,isDeferred:!1})}}[_0x172026(267)](e){var t,r,n=_0x172026;WTLogger[n(254)](n(228)+e.uri+n(246)+e.isDeferred+")"),!1!==(null===(t=storageManager[n(237)])||void 0===t?void 0:t[n(239)])&&(null===(r=this[n(241)])||void 0===r||r[n(240)](this,e[n(252)],e[n(257)]))}[_0x172026(229)](){var e=_0x172026;return document[e(209)]===e(212)&&document[e(234)]()}[_0x172026(261)](){var e=_0x172026;this[e(262)]&&clearInterval(this[e(262)]),this[e(262)]=setInterval(()=>{var t=e;this[t(233)]||document.hidden||document.hasFocus()&&(console[t(259)]("ActivityTicker: active duration= "+storageManager.activeDuration/1e3+t(243)+storageManager[t(263)]/1e3+"s"),storageManager[t(266)]=Date[t(269)](),storageManager[t(245)]+=this[t(249)])},this[e(249)])}[_0x172026(244)](){var e=_0x172026;clearInterval(this[e(262)]),this[e(262)]=void 0}pauseTicking(){this[_0x172026(233)]=!0}[_0x172026(265)](){this[_0x172026(233)]=!1}}const lifecycleOvserver=new LifecycleOvserver;var _0x556f9f=_0x41cc;!function(){for(var e=_0x41cc,t=_0x54a9();;)try{if(915340===parseInt(e(402))/1*(-parseInt(e(400))/2)+parseInt(e(401))/3*(parseInt(e(413))/4)+parseInt(e(404))/5+-parseInt(e(399))/6+-parseInt(e(408))/7+parseInt(e(414))/8*(-parseInt(e(409))/9)+-parseInt(e(405))/10*(-parseInt(e(407))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTAuth{constructor(e,t){var r=_0x41cc;this[r(406)]=e,this[r(403)]=t}static[_0x556f9f(412)](e){var t=_0x556f9f;return new this(e[t(410)],e[t(411)])}}function _0x41cc(e,t){var r=_0x54a9();return(_0x41cc=function(e,t){return r[e-=399]})(e,t)}function _0x54a9(){var e=["wise_id","fromJson","4BFrBVZ","48XWulBY","8989824gypAxi","121152bmPqcv","4574334oejrLI","6fDCBxY","wiseId","2192385mUFlBo","25615750psHwxI","authToken","11vuveYL","5919704xvGcVC","1353087hxRNyl","auth_token"];return(_0x54a9=function(){return e})()}function _0x5e41(e,t){var r=_0x4961();return(_0x5e41=function(e,t){return r[e-=274]})(e,t)}function _0x4961(){var e=["4nJRVMa","12366ebmkbt","2103520dnTkqT","1182070HRmrUQ","177323hzAWgI","deeplink","95415oEuwLX","fromJson","721PHbCxr","2554330dxsMZx","32VstCVq","2863503jVyQWO"];return(_0x4961=function(){return e})()}var _0x2738af=_0x5e41;!function(){for(var e=_0x5e41,t=_0x4961();;)try{if(249599===parseInt(e(280))/1*(-parseInt(e(276))/2)+parseInt(e(282))/3*(parseInt(e(274))/4)+parseInt(e(279))/5+-parseInt(e(277))/6*(parseInt(e(284))/7)+parseInt(e(278))/8+parseInt(e(275))/9+-parseInt(e(285))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTDeferredLookup{constructor(e){this[_0x5e41(281)]=e}static[_0x2738af(283)](e){return new this(e[_0x2738af(281)])}}const _0x4e24d4=_0x7c2c;function _0x27b6(){const e=["1305VYWfzH","Drupal","Ghost CMS","174204EUjXVf","utm_medium","includes","5aGKdgw","96996NxITdy","innerHTML","Gatsby.js","Next.js","getHours","Zepto.js","WordPress","[id=___gatsby]","textContent","4kyJEqd","/_next/","Svelte","map","formattedDate","__VUE__","getMonth","script[id=__NEXT_DATA__]","drupal-settings-json","some","Meteor.js",'meta[name="generator"][content*="Drupal"]',"Laravel","__REACT_DEVTOOLS_GLOBAL_HOOK__","utm_","detectWebFramework","Wix","abs","4222608bsmdhe","getUTMParamsString","entries","getMinutes","getFullYear","getTimezoneOffset","48976tbaftb","Meteor","90KwFHBp","Vue","querySelector","Nuxt.js","keys","[data-v-app], [data-v-]","543278YMzbPG","documentElement","getSeconds","getDate","[ng-version]","floor","utm_source","__reactContainer","Angular","744840uDGLHN","join","Squarespace","jQuery","querySelectorAll","hostname","referrer","scripts","other","wp-includes",".ng-binding, [ng-app], [data-ng-app], [ng-controller], [data-ng-controller], [ng-repeat], [data-ng-repeat]","/js/app.js","203XZSDPt","709764WyhnDr","Shopify","location","organic","React","[x-data], [x-init], [x-bind]","src","padStart","svelte","static.squarespace.com","[data-reactroot], [data-reactid]",'meta[name="generator"][content*="WordPress"]',"startsWith"];return(_0x27b6=function(){return e})()}function _0x7c2c(e,t){const r=_0x27b6();return(_0x7c2c=function(e,t){return r[e-=413]})(e,t)}!function(){const e=_0x7c2c,t=_0x27b6();for(;;)try{if(781613===-parseInt(e(440))/1*(parseInt(e(482))/2)+-parseInt(e(441))/3*(-parseInt(e(450))/4)+parseInt(e(491))/5+parseInt(e(437))/6*(parseInt(e(420))/7)+-parseInt(e(474))/8*(-parseInt(e(434))/9)+-parseInt(e(476))/10*(-parseInt(e(421))/11)+-parseInt(e(468))/12)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class Utils{static[_0x4e24d4(469)](){const e=_0x4e24d4,t=new URLSearchParams(window[e(423)].search),r={};for(const[n,i]of t[e(470)]())n[e(433)](e(464))&&i&&(r[n]=i);if(!r[e(488)]){const t=document[e(414)];r[e(488)]=t?new URL(t)[e(413)]:e(416)}return!r.utm_medium&&(r[e(438)]=e(424)),Object[e(470)](r)[e(453)](([e,t])=>e+"="+encodeURIComponent(t))[e(492)]("&")}static[_0x4e24d4(454)](e){const t=_0x4e24d4,r=e[t(472)](),n=String(e[t(456)]()+1)[t(428)](2,"0"),i=String(e[t(485)]())[t(428)](2,"0"),s=String(e[t(445)]())[t(428)](2,"0"),a=String(e[t(471)]())[t(428)](2,"0"),o=String(e[t(484)]())[t(428)](2,"0"),c=-e[t(473)]();return r+"-"+n+"-"+i+"T"+s+":"+a+":"+o+(""+(c>=0?"+":"-")+String(Math[t(487)](Math[t(467)](c)/60)).padStart(2,"0")+String(Math.abs(c)%60).padStart(2,"0"))}}Utils[_0x4e24d4(465)]=()=>{const e=_0x4e24d4;return document[e(478)](e(457))||[...document[e(415)]][e(459)](t=>t.src[e(439)](e(451)))?e(444):window.React||document.querySelector(e(431))||Array.from(document[e(495)]("*"))[e(459)](t=>void 0!==t._reactRootContainer||Object[e(480)](t)[e(459)](t=>t[e(433)](e(489))))||window[e(463)]?e(425):[...document[e(415)]][e(459)](t=>t[e(427)][e(439)]("/_nuxt/"))?e(479):window[e(455)]||window[e(477)]||document[e(478)](e(481))?"Vue.js":document[e(478)](e(448))?e(443):window||document[e(478)](e(418))||document.querySelector('script[src*="angular.js"], script[src*="angular.min.js"]')||window.ng||document[e(478)](e(486))?e(490):[...document[e(415)]][e(459)](t=>{const r=e;var n;return t[r(427)][r(439)](r(429))||(null===(n=t[r(449)])||void 0===n?void 0:n[r(439)](r(429)))})?e(452):document[e(478)](e(426))?"Alpine.js":window[e(494)]?e(494):window.Backbone?"Backbone.js":window[e(475)]?e(460):window.Zepto?e(446):document[e(478)](e(432))||[...document[e(415)]].some(t=>t[e(427)][e(439)]("wp-content")||t.src[e(439)](e(417)))?e(447):[...document[e(415)]][e(459)](t=>t[e(427)][e(439)](e(419))||t[e(427)].includes("mix-manifest.json"))?e(462):document[e(478)](e(461))||document.documentElement[e(442)][e(439)](e(458))?e(435):document[e(483)][e(442)][e(439)]("cdn.shopify.com")?e(422):[...document[e(415)]][e(459)](t=>t.src[e(439)](e(430)))?e(493):[...document[e(415)]][e(459)](t=>t[e(427)][e(439)]("wix.com"))?e(466):document[e(478)]('meta[name="generator"][content*="Ghost"]')?e(436):void 0};const _0x41474f=_0x5055;function _0x5055(e,t){const r=_0x5d12();return(_0x5055=function(e,t){return r[e-=417]})(e,t)}function _0x5d12(){const e=["_country","catch","map","fetchWithTimeout","json","countryCode","35OZlVBf","3119519QJqdLe","abort","4tYOHQs","freeipapi failed","country","country_code","_failedCount","193812PvukFs","24659iVXWXT","78fFsQMn","9NuRaVz","https://ipwho.is/","https://free.freeipapi.com/api/json","205NVjiNI","Mozilla/5.0","signal","country.is failed","99450wPOnSH","70WfItJd","6243280pzhreR","1072092FbSVLd","341rvxfsU","181320lZbFOW","tryAllEndpoints"];return(_0x5d12=function(){return e})()}!function(){const e=_0x5055,t=_0x5d12();for(;;)try{if(678009===parseInt(e(435))/1*(parseInt(e(436))/2)+parseInt(e(447))/3*(parseInt(e(429))/4)+-parseInt(e(440))/5*(parseInt(e(444))/6)+-parseInt(e(426))/7*(-parseInt(e(418))/8)+-parseInt(e(437))/9*(-parseInt(e(446))/10)+parseInt(e(417))/11*(parseInt(e(434))/12)+-parseInt(e(427))/13*(parseInt(e(445))/14))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class CountryFinder{constructor(){this[_0x5055(420)]=null,this._failedCount=0}getCountryCode(){return __awaiter(this,void 0,void 0,function*(){const e=_0x5055;return this[e(433)]>=2?null:(!this[e(420)]&&(this._country=yield this.tryAllEndpoints()),this[e(420)])})}[_0x41474f(419)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5055,t=[()=>__awaiter(this,void 0,void 0,function*(){const e=_0x5055,t=yield this[e(423)]("https://api.country.is",2e3);if(!t.ok)throw new Error(e(443));return(yield t[e(424)]())[e(431)]||null}),()=>__awaiter(this,void 0,void 0,function*(){const e=_0x5055,t=yield this[e(423)](e(439),2e3);if(!t.ok)throw new Error(e(430));return(yield t[e(424)]())[e(425)]||null}),()=>__awaiter(this,void 0,void 0,function*(){const e=_0x5055,t=yield this[e(423)](e(438),2e3);if(!t.ok)throw new Error("ipwho.is failed");return(yield t[e(424)]())[e(432)]||null})][e(422)](t=>t()[e(421)](()=>null)),r=yield Promise.race(t);return!r&&this[e(433)]++,r||null})}[_0x41474f(423)](e){return __awaiter(this,arguments,void 0,function*(e,t=2e3){const r=_0x5055,n=new AbortController,i=setTimeout(()=>n[r(428)](),t);try{return yield fetch(e,{signal:n[r(442)],headers:{"User-Agent":r(441)}})}finally{clearTimeout(i)}})}}const countryFinder=new CountryFinder;var props,TYPEOF_FUNCTION="function",TYPEOF_OBJECT="object",TYPEOF_STRING="string",TYPEOF_UNDEFINED="undefined",BROWSER="browser",CPU="cpu",DEVICE="device",ENGINE="engine",OS="os",NAME="name",TYPE="type",VENDOR="vendor",VERSION="version",ARCHITECTURE="architecture",MODEL="model",MOBILE="mobile",TABLET="tablet",SMARTTV="smarttv",CH="sec-ch-ua",CH_FULL_VER_LIST=CH+"-full-version-list",CH_ARCH=CH+"-arch",CH_BITNESS=CH+"-bitness",CH_FORM_FACTORS=CH+"-form-factors",CH_MOBILE=CH+"-"+MOBILE,CH_MODEL=CH+"-"+MODEL,CH_PLATFORM=CH+"-platform",CH_PLATFORM_VER=CH_PLATFORM+"-version",CH_ALL_VALUES=["brands","fullVersionList",MOBILE,MODEL,"platform","platformVersion",ARCHITECTURE,"formFactors","bitness"],NAVIGATOR=typeof window!==TYPEOF_UNDEFINED&&window.navigator?window.navigator:void 0,NAVIGATOR_UADATA=NAVIGATOR&&NAVIGATOR.userAgentData?NAVIGATOR.userAgentData:void 0,enumerize=function(e){for(var t={},r=0;r<e.length;r++)t[e[r].toUpperCase()]=e[r];return t},has=function(e,t){if(typeof e===TYPEOF_OBJECT&&e.length>0){for(var r in e)if(lowerize(t)==lowerize(e[r]))return!0;return!1}return!!isString(e)&&lowerize(t)==lowerize(e)},isExtensions=function(e,t){for(var r in e)return/^(browser|cpu|device|engine|os)$/.test(r)||!!t&&isExtensions(e[r])},isString=function(e){return typeof e===TYPEOF_STRING},itemListToArray=function(e){if(e){for(var t=[],r=strip(/\\?\"/g,e).split(","),n=0;n<r.length;n++)if(r[n].indexOf(";")>-1){var i=trim(r[n]).split(";v=");t[n]={brand:i[0],version:i[1]}}else t[n]=trim(r[n]);return t}},lowerize=function(e){return isString(e)?e.toLowerCase():e},majorize=function(e){return isString(e)?strip(/[^\d\.]/g,e).split(".")[0]:void 0},setProps=function(e){for(var t in e)if(e.hasOwnProperty(t)){var r=e[t];typeof r==TYPEOF_OBJECT&&2==r.length?this[r[0]]=r[1]:this[r]=void 0}return this},strip=function(e,t){return isString(t)?t.replace(e,""):t},stripQuotes=function(e){return strip(/\\?\"/g,e)},trim=function(e,t){return e=strip(/^\s\s*/,String(e)),typeof t===TYPEOF_UNDEFINED?e:e.substring(0,t)},rgxMapper=function(e,t){if(e&&t)for(var r,n,i,s,a,o,c=0;c<t.length&&!a;){var u=t[c],d=t[c+1];for(r=n=0;r<u.length&&!a&&u[r];)if(a=u[r++].exec(e))for(i=0;i<d.length;i++)o=a[++n],typeof(s=d[i])===TYPEOF_OBJECT&&s.length>0?2===s.length?typeof s[1]==TYPEOF_FUNCTION?this[s[0]]=s[1].call(this,o):this[s[0]]=s[1]:s.length>=3&&(typeof s[1]!==TYPEOF_FUNCTION||s[1].exec&&s[1].test?3==s.length?this[s[0]]=o?o.replace(s[1],s[2]):void 0:4==s.length?this[s[0]]=o?s[3].call(this,o.replace(s[1],s[2])):void 0:s.length>4&&(this[s[0]]=o?s[3].apply(this,[o.replace(s[1],s[2])].concat(s.slice(4))):void 0):s.length>3?this[s[0]]=o?s[1].apply(this,s.slice(2)):void 0:this[s[0]]=o?s[1].call(this,o,s[2]):void 0):this[s]=o||void 0;c+=2}},strMapper=function(e,t){for(var r in t)if(typeof t[r]===TYPEOF_OBJECT&&t[r].length>0){for(var n=0;n<t[r].length;n++)if(has(t[r][n],e))return"?"===r?void 0:r}else if(has(t[r],e))return"?"===r?void 0:r;return t.hasOwnProperty("*")?t["*"]:e},windowsVersionMap={ME:"4.90","NT 3.51":"3.51","NT 4.0":"4.0",2e3:["5.0","5.01"],XP:["5.1","5.2"],Vista:"6.0",7:"6.1",8:"6.2",8.1:"6.3",10:["6.4","10.0"],NT:""},formFactorsMap={embedded:"Automotive",mobile:"Mobile",tablet:["Tablet","EInk"],smarttv:"TV",wearable:"Watch",xr:["VR","XR"],"?":["Desktop","Unknown"],"*":void 0},browserHintsMap={Chrome:"Google Chrome",Edge:"Microsoft Edge","Edge WebView2":"Microsoft Edge WebView2","Chrome WebView":"Android WebView","Chrome Headless":"HeadlessChrome","Huawei Browser":"HuaweiBrowser","MIUI Browser":"Miui Browser","Opera Mobi":"OperaMobile",Yandex:"YaBrowser"},defaultRegexes={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[VERSION,[NAME,"Mobile Chrome"]],[/webview.+edge\/([\w\.]+)/i],[VERSION,[NAME,"Edge WebView"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[VERSION,[NAME,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[NAME,VERSION],[/opios[\/ ]+([\w\.]+)/i],[VERSION,[NAME,"Opera Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[VERSION,[NAME,"Opera GX"]],[/\bopr\/([\w\.]+)/i],[VERSION,[NAME,"Opera"]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[VERSION,[NAME,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[VERSION,[NAME,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(atlas|flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon|otter|dooble|(?:hi|lg |ovi|qute)browser|palemoon)\/v?([-\w\.]+)/i,/(brave)(?: chrome)?\/([\d\.]+)/i,/(aloha|heytap|ovi|115|surf|qwant)browser\/([\d\.]+)/i,/(qwant)(?:ios|mobile)\/([\d\.]+)/i,/(ecosia|weibo)(?:__| \w+@)([\d\.]+)/i],[NAME,VERSION],[/quark(?:pc)?\/([-\w\.]+)/i],[VERSION,[NAME,"Quark"]],[/\bddg\/([\w\.]+)/i],[VERSION,[NAME,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[VERSION,[NAME,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[VERSION,[NAME,"WeChat"]],[/konqueror\/([\w\.]+)/i],[VERSION,[NAME,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[VERSION,[NAME,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[VERSION,[NAME,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[VERSION,[NAME,"Smart Lenovo Browser"]],[/(av(?:ast|g|ira))\/([\w\.]+)/i],[[NAME,/(.+)/,"$1 Secure Browser"],VERSION],[/norton\/([\w\.]+)/i],[VERSION,[NAME,"Norton Private Browser"]],[/\bfocus\/([\w\.]+)/i],[VERSION,[NAME,"Firefox Focus"]],[/ mms\/([\w\.]+)$/i],[VERSION,[NAME,"Opera Neon"]],[/ opt\/([\w\.]+)$/i],[VERSION,[NAME,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[VERSION,[NAME,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[VERSION,[NAME,"Dolphin"]],[/coast\/([\w\.]+)/i],[VERSION,[NAME,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[VERSION,[NAME,"MIUI Browser"]],[/fxios\/([\w\.-]+)/i],[VERSION,[NAME,"Mobile Firefox"]],[/\bqihoobrowser\/?([\w\.]*)/i],[VERSION,[NAME,"360"]],[/\b(qq)\/([\w\.]+)/i],[[NAME,/(.+)/,"$1Browser"],VERSION],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[NAME,/(.+)/,"$1 Browser"],VERSION],[/samsungbrowser\/([\w\.]+)/i],[VERSION,[NAME,"Samsung Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[VERSION,[NAME,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[NAME,"Sogou Mobile"],VERSION],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[NAME,VERSION],[/(lbbrowser|luakit|rekonq|steam(?= (clie|tenf|gameo)))/i],[NAME],[/ome\/([\w\.]+).+(iron(?= saf)|360(?=[es]e$))/i],[VERSION,NAME],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[NAME,"Facebook"],VERSION,[TYPE,"inapp"]],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(bing)(?:web|sapphire)\/([\w\.]+)/i,/(instagram|snapchat|klarna)[\/ ]([-\w\.]+)/i],[NAME,VERSION,[TYPE,"inapp"]],[/\bgsa\/([\w\.]+) .*safari\//i],[VERSION,[NAME,"GSA"],[TYPE,"inapp"]],[/(?:musical_ly|trill)(?:.+app_?version\/|_)([\w\.]+)/i],[VERSION,[NAME,"TikTok"],[TYPE,"inapp"]],[/\[(linkedin)app\]/i],[NAME,[TYPE,"inapp"]],[/(zalo(?:app)?)[\/\sa-z]*([\w\.-]+)/i],[[NAME,/(.+)/,"Zalo"],VERSION,[TYPE,"inapp"]],[/(chromium)[\/ ]([-\w\.]+)/i],[NAME,VERSION],[/ome-(lighthouse)$/i],[NAME,[TYPE,"fetcher"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[VERSION,[NAME,"Chrome Headless"]],[/wv\).+chrome\/([\w\.]+).+edgw\//i],[VERSION,[NAME,"Edge WebView2"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[NAME,"Chrome WebView"],VERSION],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[VERSION,[NAME,"Android Browser"]],[/chrome\/([\w\.]+) mobile/i],[VERSION,[NAME,"Mobile Chrome"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[NAME,VERSION],[/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i],[VERSION,[NAME,"Mobile Safari"]],[/iphone .*mobile(?:\/\w+ | ?)safari/i],[[NAME,"Mobile Safari"]],[/version\/([\w\.\,]+) .*(safari)/i],[VERSION,NAME],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[NAME,[VERSION,"1"]],[/(webkit|khtml)\/([\w\.]+)/i],[NAME,VERSION],[/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i],[[NAME,"Mobile Firefox"],VERSION],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[NAME,"Netscape"],VERSION],[/(wolvic|librewolf)\/([\w\.]+)/i],[NAME,VERSION],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[VERSION,[NAME,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+(?= .+rv\:.+gecko\/\d+)|[0-4][\w\.]+(?!.+compatible))/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[NAME,[VERSION,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[NAME,[VERSION,/[^\d\.]+./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[ARCHITECTURE,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[ARCHITECTURE,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[ARCHITECTURE,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[ARCHITECTURE,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[ARCHITECTURE,"arm"]],[/ sun4\w[;\)]/i],[[ARCHITECTURE,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i,/((ppc|powerpc)(64)?)( mac|;|\))/i,/(?:osf1|[freopnt]{3,4}bsd) (alpha)/i],[[ARCHITECTURE,/ower/,"",lowerize]],[/mc680.0/i],[[ARCHITECTURE,"68k"]],[/winnt.+\[axp/i],[[ARCHITECTURE,"alpha"]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[MODEL,[VENDOR,"Samsung"],[TYPE,TABLET]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr]|browser)[-\w]+)/i,/sec-(sgh\w+)/i],[MODEL,[VENDOR,"Samsung"],[TYPE,MOBILE]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)[\/\);]/i],[MODEL,[VENDOR,"Apple"],[TYPE,MOBILE]],[/\b(?:ios|apple\w+)\/.+[\(\/](ipad)/i,/\b(ipad)[\d,]*[;\] ].+(mac |i(pad)?)os/i],[MODEL,[VENDOR,"Apple"],[TYPE,TABLET]],[/(macintosh);/i],[MODEL,[VENDOR,"Apple"]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[MODEL,[VENDOR,"Sharp"],[TYPE,MOBILE]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[MODEL,[VENDOR,"Honor"],[TYPE,TABLET]],[/honor([-\w ]+)[;\)]/i],[MODEL,[VENDOR,"Honor"],[TYPE,MOBILE]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[MODEL,[VENDOR,"Huawei"],[TYPE,TABLET]],[/(?:huawei) ?([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][\dc][adnt]?)\b(?!.+d\/s)/i],[MODEL,[VENDOR,"Huawei"],[TYPE,MOBILE]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b(?:xiao)?((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[MODEL,/_/g," "],[VENDOR,"Xiaomi"],[TYPE,TABLET]],[/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/oid[^\)]+; (redmi[\-_ ]?(?:note|k)?[\w_ ]+|m?[12]\d[01]\d\w{3,6}|poco[\w ]+|(shark )?\w{3}-[ah]0|qin ?[1-3](s\+|ultra| pro)?)( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note|max|cc)?[_ ]?(?:\d{0,2}\w?)[_ ]?(?:plus|se|lite|pro)?( 5g|lte)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[MODEL,/_/g," "],[VENDOR,"Xiaomi"],[TYPE,MOBILE]],[/droid.+; (cph2[3-6]\d[13579]|((gm|hd)19|(ac|be|in|kb)20|(d[en]|eb|le|mt)21|ne22)[0-2]\d|p[g-l]\w[1m]10)\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[MODEL,[VENDOR,"OnePlus"],[TYPE,MOBILE]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[MODEL,[VENDOR,"OPPO"],[TYPE,MOBILE]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[MODEL,[VENDOR,strMapper,{OnePlus:["203","304","403","404","413","415"],"*":"OPPO"}],[TYPE,TABLET]],[/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i],[MODEL,[VENDOR,"BLU"],[TYPE,MOBILE]],[/; vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[MODEL,[VENDOR,"Vivo"],[TYPE,MOBILE]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[MODEL,[VENDOR,"Realme"],[TYPE,MOBILE]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[MODEL,[VENDOR,"Lenovo"],[TYPE,TABLET]],[/lenovo[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i],[MODEL,[VENDOR,"Lenovo"],[TYPE,MOBILE]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ]([\w\s]+)(\)| bui)/i,/((?:moto(?! 360)[-\w\(\) ]+|xt\d{3,4}[cgkosw\+]?[-\d]*|nexus 6)(?= bui|\)))/i],[MODEL,[VENDOR,"Motorola"],[TYPE,MOBILE]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[MODEL,[VENDOR,"Motorola"],[TYPE,TABLET]],[/\b(?:lg)?([vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[MODEL,[VENDOR,"LG"],[TYPE,TABLET]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch|webos))(\w+)/i,/\blg-?([\d\w]+) bui/i],[MODEL,[VENDOR,"LG"],[TYPE,MOBILE]],[/(nokia) (t[12][01])/i],[VENDOR,MODEL,[TYPE,TABLET]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*?))( bui|\)|;|\/)/i],[[MODEL,/_/g," "],[TYPE,MOBILE],[VENDOR,"Nokia"]],[/(pixel (c|tablet))\b/i],[MODEL,[VENDOR,"Google"],[TYPE,TABLET]],[/droid.+;(?: google)? (g(01[13]a|020[aem]|025[jn]|1b60|1f8f|2ybb|4s1m|576d|5nz6|8hhn|8vou|a02099|c15s|d1yq|e2ae|ec77|gh2x|kv4x|p4bc|pj41|r83y|tt9q|ur25|wvk6)|pixel[\d ]*a?( pro)?( xl)?( fold)?( \(5g\))?)( bui|\))/i],[MODEL,[VENDOR,"Google"],[TYPE,MOBILE]],[/(google) (pixelbook( go)?)/i],[VENDOR,MODEL],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-\w\w\d\d)(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[MODEL,[VENDOR,"Sony"],[TYPE,MOBILE]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[MODEL,"Xperia Tablet"],[VENDOR,"Sony"],[TYPE,TABLET]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[MODEL,[VENDOR,"Amazon"],[TYPE,TABLET]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[MODEL,/(.+)/g,"Fire Phone $1"],[VENDOR,"Amazon"],[TYPE,MOBILE]],[/(playbook);[-\w\),; ]+(rim)/i],[MODEL,VENDOR,[TYPE,TABLET]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/(?:blackberry|\(bb10;) (\w+)/i],[MODEL,[VENDOR,"BlackBerry"],[TYPE,MOBILE]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[MODEL,[VENDOR,"ASUS"],[TYPE,TABLET]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[MODEL,[VENDOR,"ASUS"],[TYPE,MOBILE]],[/(nexus 9)/i],[MODEL,[VENDOR,"HTC"],[TYPE,TABLET]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[VENDOR,[MODEL,/_/g," "],[TYPE,MOBILE]],[/tcl (xess p17aa)/i,/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])(_\w(\w|\w\w))?(\)| bui)/i],[MODEL,[VENDOR,"TCL"],[TYPE,TABLET]],[/droid [\w\.]+; (418(?:7d|8v)|5087z|5102l|61(?:02[dh]|25[adfh]|27[ai]|56[dh]|59k|65[ah])|a509dl|t(?:43(?:0w|1[adepqu])|50(?:6d|7[adju])|6(?:09dl|10k|12b|71[efho]|76[hjk])|7(?:66[ahju]|67[hw]|7[045][bh]|71[hk]|73o|76[ho]|79w|81[hks]?|82h|90[bhsy]|99b)|810[hs]))(_\w(\w|\w\w))?(\)| bui)/i],[MODEL,[VENDOR,"TCL"],[TYPE,MOBILE]],[/(itel) ((\w+))/i],[[VENDOR,lowerize],MODEL,[TYPE,strMapper,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[MODEL,[VENDOR,"Acer"],[TYPE,TABLET]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[MODEL,[VENDOR,"Meizu"],[TYPE,MOBILE]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[MODEL,[VENDOR,"Ulefone"],[TYPE,MOBILE]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[MODEL,[VENDOR,"Energizer"],[TYPE,MOBILE]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[MODEL,[VENDOR,"Cat"],[TYPE,MOBILE]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[MODEL,[VENDOR,"Smartfren"],[TYPE,MOBILE]],[/droid.+; (a(in)?(0(15|59|6[35])|142)p?)/i],[MODEL,[VENDOR,"Nothing"],[TYPE,MOBILE]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[MODEL,[VENDOR,"Archos"],[TYPE,TABLET]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[MODEL,[VENDOR,"Archos"],[TYPE,MOBILE]],[/; (n159v)/i],[MODEL,[VENDOR,"HMD"],[TYPE,MOBILE]],[/(imo) (tab \w+)/i,/(infinix|tecno) (x1101b?|p904|dp(7c|8d|10a)( pro)?|p70[1-3]a?|p904|t1101)/i],[VENDOR,MODEL,[TYPE,TABLET]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (blu|hmd|imo|infinix|lava|oneplus|tcl|wiko)[_ ]([\w\+ ]+?)(?: bui|\)|; r)/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(oppo) ?([\w ]+) bui/i,/(hisense) ([ehv][\w ]+)\)/i,/droid[^;]+; (philips)[_ ]([sv-x][\d]{3,4}[xz]?)/i],[VENDOR,MODEL,[TYPE,MOBILE]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i],[VENDOR,MODEL,[TYPE,TABLET]],[/(surface duo)/i],[MODEL,[VENDOR,"Microsoft"],[TYPE,TABLET]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[MODEL,[VENDOR,"Fairphone"],[TYPE,MOBILE]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[MODEL,[VENDOR,"Nvidia"],[TYPE,TABLET]],[/(sprint) (\w+)/i],[VENDOR,MODEL,[TYPE,MOBILE]],[/(kin\.[onetw]{3})/i],[[MODEL,/\./g," "],[VENDOR,"Microsoft"],[TYPE,MOBILE]],[/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[MODEL,[VENDOR,"Zebra"],[TYPE,TABLET]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[MODEL,[VENDOR,"Zebra"],[TYPE,MOBILE]],[/(philips)[\w ]+tv/i,/smart-tv.+(samsung)/i],[VENDOR,[TYPE,SMARTTV]],[/hbbtv.+maple;(\d+)/i],[[MODEL,/^/,"SmartTV"],[VENDOR,"Samsung"],[TYPE,SMARTTV]],[/(vizio)(?: |.+model\/)(\w+-\w+)/i,/tcast.+(lg)e?. ([-\w]+)/i],[VENDOR,MODEL,[TYPE,SMARTTV]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[VENDOR,"LG"],[TYPE,SMARTTV]],[/(apple) ?tv/i],[VENDOR,[MODEL,"Apple TV"],[TYPE,SMARTTV]],[/crkey.*devicetype\/chromecast/i],[[MODEL,"Chromecast Third Generation"],[VENDOR,"Google"],[TYPE,SMARTTV]],[/crkey.*devicetype\/([^/]*)/i],[[MODEL,/^/,"Chromecast "],[VENDOR,"Google"],[TYPE,SMARTTV]],[/fuchsia.*crkey/i],[[MODEL,"Chromecast Nest Hub"],[VENDOR,"Google"],[TYPE,SMARTTV]],[/crkey/i],[[MODEL,"Chromecast"],[VENDOR,"Google"],[TYPE,SMARTTV]],[/(portaltv)/i],[MODEL,[VENDOR,"Facebook"],[TYPE,SMARTTV]],[/droid.+aft(\w+)( bui|\))/i],[MODEL,[VENDOR,"Amazon"],[TYPE,SMARTTV]],[/(shield \w+ tv)/i],[MODEL,[VENDOR,"Nvidia"],[TYPE,SMARTTV]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[MODEL,[VENDOR,"Sharp"],[TYPE,SMARTTV]],[/(bravia[\w ]+)( bui|\))/i],[MODEL,[VENDOR,"Sony"],[TYPE,SMARTTV]],[/(mi(tv|box)-?\w+) bui/i],[MODEL,[VENDOR,"Xiaomi"],[TYPE,SMARTTV]],[/Hbbtv.*(technisat) (.*);/i],[VENDOR,MODEL,[TYPE,SMARTTV]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[VENDOR,/.+\/(\w+)/,"$1",strMapper,{LG:"lge"}],[MODEL,trim],[TYPE,SMARTTV]],[/(playstation \w+)/i],[MODEL,[VENDOR,"Sony"],[TYPE,"console"]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[MODEL,[VENDOR,"Microsoft"],[TYPE,"console"]],[/(ouya)/i,/(nintendo) (\w+)/i,/(retroid) (pocket ([^\)]+))/i,/(valve).+(steam deck)/i,/droid.+; ((shield|rgcube|gr0006))( bui|\))/i],[[VENDOR,strMapper,{Nvidia:"Shield",Anbernic:"RGCUBE",Logitech:"GR0006"}],MODEL,[TYPE,"console"]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[MODEL,[VENDOR,"Samsung"],[TYPE,"wearable"]],[/((pebble))app/i,/(asus|google|lg|oppo|xiaomi) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[VENDOR,MODEL,[TYPE,"wearable"]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[MODEL,[VENDOR,"OPPO"],[TYPE,"wearable"]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[MODEL,[VENDOR,"Apple"],[TYPE,"wearable"]],[/(opwwe\d{3})/i],[MODEL,[VENDOR,"OnePlus"],[TYPE,"wearable"]],[/(moto 360)/i],[MODEL,[VENDOR,"Motorola"],[TYPE,"wearable"]],[/(smartwatch 3)/i],[MODEL,[VENDOR,"Sony"],[TYPE,"wearable"]],[/(g watch r)/i],[MODEL,[VENDOR,"LG"],[TYPE,"wearable"]],[/droid.+; (wt63?0{2,3})\)/i],[MODEL,[VENDOR,"Zebra"],[TYPE,"wearable"]],[/droid.+; (glass) \d/i],[MODEL,[VENDOR,"Google"],[TYPE,"xr"]],[/(pico) ([\w ]+) os\d/i],[VENDOR,MODEL,[TYPE,"xr"]],[/(quest( \d| pro)?s?).+vr/i],[MODEL,[VENDOR,"Facebook"],[TYPE,"xr"]],[/mobile vr; rv.+firefox/i],[[TYPE,"xr"]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[VENDOR,[TYPE,"embedded"]],[/(aeobc)\b/i],[MODEL,[VENDOR,"Amazon"],[TYPE,"embedded"]],[/(homepod).+mac os/i],[MODEL,[VENDOR,"Apple"],[TYPE,"embedded"]],[/windows iot/i],[[TYPE,"embedded"]],[/droid.+; ([\w- ]+) (4k|android|smart|google)[- ]?tv/i],[MODEL,[TYPE,SMARTTV]],[/\b((4k|android|smart|opera)[- ]?tv|tv; rv:|large screen[\w ]+safari)\b/i],[[TYPE,SMARTTV]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew|; hmsc).+?(mobile|vr|\d) safari/i],[MODEL,[TYPE,strMapper,{mobile:"Mobile",xr:"VR","*":TABLET}]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[TYPE,TABLET]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[TYPE,MOBILE]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[MODEL,[VENDOR,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[VERSION,[NAME,"EdgeHTML"]],[/(arkweb)\/([\w\.]+)/i],[NAME,VERSION],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[VERSION,[NAME,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links|dillo)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[NAME,VERSION],[/ladybird\//i],[[NAME,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[VERSION,NAME]],os:[[/(windows nt) (6\.[23]); arm/i],[[NAME,/N/,"R"],[VERSION,strMapper,windowsVersionMap]],[/(windows (?:phone|mobile|iot))(?: os)?[\/ ]?([\d\.]*( se)?)/i,/(windows)[\/ ](1[01]|2000|3\.1|7|8(\.1)?|9[58]|me|server 20\d\d( r2)?|vista|xp)/i],[NAME,VERSION],[/windows nt ?([\d\.\)]*)(?!.+xbox)/i,/\bwin(?=3| ?9|n)(?:nt| 9x )?([\d\.;]*)/i],[[VERSION,/(;|\))/g,"",strMapper,windowsVersionMap],[NAME,"Windows"]],[/(windows ce)\/?([\d\.]*)/i],[NAME,VERSION],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv|ios(?=.+ip(?:ad|hone)|.+apple ?tv)|ip(?:ad|hone)(?: |.+i(?:pad)?)os|apple ?tv.+ios)[\/ ]([\w\.]+)/i,/\btvos ?([\w\.]+)/i,/cfnetwork\/.+darwin/i],[[VERSION,/_/g,"."],[NAME,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+(haiku|morphos))/i],[[NAME,"macOS"],[VERSION,/_/g,"."]],[/android ([\d\.]+).*crkey/i],[VERSION,[NAME,"Chromecast Android"]],[/fuchsia.*crkey\/([\d\.]+)/i],[VERSION,[NAME,"Chromecast Fuchsia"]],[/crkey\/([\d\.]+).*devicetype\/smartspeaker/i],[VERSION,[NAME,"Chromecast SmartSpeaker"]],[/linux.*crkey\/([\d\.]+)/i],[VERSION,[NAME,"Chromecast Linux"]],[/crkey\/([\d\.]+)/i],[VERSION,[NAME,"Chromecast"]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[VERSION,NAME],[/(ubuntu) ([\w\.]+) like android/i],[[NAME,/(.+)/,"$1 Touch"],VERSION],[/(harmonyos)[\/ ]?([\d\.]*)/i,/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen)\w*[-\/\.; ]?([\d\.]*)/i],[NAME,VERSION],[/\(bb(10);/i],[VERSION,[NAME,"BlackBerry"]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[VERSION,[NAME,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile[;\w ]*|tablet|tv|[^\)]*(?:viera|lg(?:l25|-d300)|alcatel ?o.+|y300-f1)); rv:([\w\.]+)\).+gecko\//i],[VERSION,[NAME,"Firefox OS"]],[/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i,/webos(?:[ \/]?|\.tv-20(?=2[2-9]))(\d[\d\.]*)/i],[VERSION,[NAME,"webOS"]],[/web0s;.+?(?:chr[o0]me|safari)\/(\d+)/i],[[VERSION,strMapper,{25:"120",24:"108",23:"94",22:"87",6:"79",5:"68",4:"53",3:"38",2:"538",1:"537","*":"TV"}],[NAME,"webOS"]],[/watch(?: ?os[,\/ ]|\d,\d\/)([\d\.]+)/i],[VERSION,[NAME,"watchOS"]],[/cros [\w]+(?:\)| ([\w\.]+)\b)/i],[VERSION,[NAME,"Chrome OS"]],[/kepler ([\w\.]+); (aft|aeo)/i],[VERSION,[NAME,"Vega OS"]],[/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) (\w+)/i,/(xbox); +xbox ([^\);]+)/i,/(pico) .+os([\w\.]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/linux.+(mint)[\/\(\) ]?([\w\.]*)/i,/(mageia|vectorlinux|fuchsia|arcaos|arch(?= ?linux))[;l ]([\d\.]*)/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire|knoppix)(?: gnu[\/ ]linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/\b(aix)[; ]([1-9\.]{0,4})/i,/(hurd|linux|morphos)(?: (?:arm|x86|ppc)\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) ?(r\d)?/i],[NAME,VERSION],[/(sunos) ?([\d\.]*)/i],[[NAME,"Solaris"],VERSION],[/\b(beos|os\/2|amigaos|openvms|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[NAME,VERSION]]},defaultProps=(setProps.call((props={init:{},isIgnore:{},isIgnoreRgx:{},toString:{}}).init,[[BROWSER,[NAME,VERSION,"major",TYPE]],[CPU,[ARCHITECTURE]],[DEVICE,[TYPE,MODEL,VENDOR]],[ENGINE,[NAME,VERSION]],[OS,[NAME,VERSION]]]),setProps.call(props.isIgnore,[[BROWSER,[VERSION,"major"]],[ENGINE,[VERSION]],[OS,[VERSION]]]),setProps.call(props.isIgnoreRgx,[[BROWSER,/ ?browser$/i],[OS,/ ?os$/i]]),setProps.call(props.toString,[[BROWSER,[NAME,VERSION]],[CPU,[ARCHITECTURE]],[DEVICE,[VENDOR,MODEL]],[ENGINE,[NAME,VERSION]],[OS,[NAME,VERSION]]]),props),createIData=function(e,t){var r=defaultProps.init[t],n=defaultProps.isIgnore[t]||0,i=defaultProps.isIgnoreRgx[t]||0,s=defaultProps.toString[t]||0;function a(){setProps.call(this,r)}return a.prototype.getItem=function(){return e},a.prototype.withClientHints=function(){return NAVIGATOR_UADATA?NAVIGATOR_UADATA.getHighEntropyValues(CH_ALL_VALUES).then(function(t){return e.setCH(new UACHData(t,!1)).parseCH().get()}):e.parseCH().get()},a.prototype.withFeatureCheck=function(){return e.detectFeature().get()},"result"!=t&&(a.prototype.is=function(e){var t=!1;for(var r in this)if(this.hasOwnProperty(r)&&!has(n,r)&&lowerize(i?strip(i,this[r]):this[r])==lowerize(i?strip(i,e):e)){if(t=!0,e!=TYPEOF_UNDEFINED)break}else if(e==TYPEOF_UNDEFINED&&t){t=!t;break}return t},a.prototype.toString=function(){var e="";for(var t in s)typeof this[s[t]]!==TYPEOF_UNDEFINED&&(e+=(e?" ":"")+this[s[t]]);return e||TYPEOF_UNDEFINED}),a.prototype.then=function(e){var t=this,r=function(){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e])};r.prototype={is:a.prototype.is,toString:a.prototype.toString,withClientHints:a.prototype.withClientHints,withFeatureCheck:a.prototype.withFeatureCheck};var n=new r;return e(n),n},new a};function UACHData(e,t){if(e=e||{},setProps.call(this,CH_ALL_VALUES),t)setProps.call(this,[["brands",itemListToArray(e[CH])],["fullVersionList",itemListToArray(e[CH_FULL_VER_LIST])],[MOBILE,/\?1/.test(e[CH_MOBILE])],[MODEL,stripQuotes(e[CH_MODEL])],["platform",stripQuotes(e[CH_PLATFORM])],["platformVersion",stripQuotes(e[CH_PLATFORM_VER])],[ARCHITECTURE,stripQuotes(e[CH_ARCH])],["formFactors",itemListToArray(e[CH_FORM_FACTORS])],["bitness",stripQuotes(e[CH_BITNESS])]]);else for(var r in e)this.hasOwnProperty(r)&&typeof e[r]!==TYPEOF_UNDEFINED&&(this[r]=e[r])}function UAItem(e,t,r,n){return setProps.call(this,[["itemType",e],["ua",t],["uaCH",n],["rgxMap",r],["data",createIData(this,e)]]),this}function UAParser(e,t,r){if(typeof e===TYPEOF_OBJECT?(isExtensions(e,!0)?(typeof t===TYPEOF_OBJECT&&(r=t),t=e):(r=e,t=void 0),e=void 0):typeof e!==TYPEOF_STRING||isExtensions(t,!0)||(r=t,t=void 0),r)if(typeof r.append===TYPEOF_FUNCTION){var n={};r.forEach(function(e,t){n[String(t).toLowerCase()]=e}),r=n}else{var i={};for(var s in r)r.hasOwnProperty(s)&&(i[String(s).toLowerCase()]=r[s]);r=i}if(!(this instanceof UAParser))return new UAParser(e,t,r).getResult();var a=typeof e===TYPEOF_STRING?e:r&&r["user-agent"]?r["user-agent"]:NAVIGATOR&&NAVIGATOR.userAgent?NAVIGATOR.userAgent:"",o=new UACHData(r,!0),c=t?function(e,t){var r={},n=t;if(!isExtensions(t))for(var i in n={},t)for(var s in t[i])n[s]=t[i][s].concat(n[s]?n[s]:[]);for(var a in e)r[a]=n[a]&&n[a].length%2==0?n[a].concat(e[a]):e[a];return r}(defaultRegexes,t):defaultRegexes,u=function(e){return"result"==e?function(){return new UAItem(e,a,c,o).set("ua",a).set(BROWSER,this.getBrowser()).set(CPU,this.getCPU()).set(DEVICE,this.getDevice()).set(ENGINE,this.getEngine()).set(OS,this.getOS()).get()}:function(){return new UAItem(e,a,c[e],o).parseUA().get()}};return setProps.call(this,[["getBrowser",u(BROWSER)],["getCPU",u(CPU)],["getDevice",u(DEVICE)],["getEngine",u(ENGINE)],["getOS",u(OS)],["getResult",u("result")],["getUA",function(){return a}],["setUA",function(e){return isString(e)&&(a=trim(e,500)),this}]]).setUA(a),this}UAItem.prototype.get=function(e){return e?this.data.hasOwnProperty(e)?this.data[e]:void 0:this.data},UAItem.prototype.set=function(e,t){return this.data[e]=t,this},UAItem.prototype.setCH=function(e){return this.uaCH=e,this},UAItem.prototype.detectFeature=function(){if(NAVIGATOR&&NAVIGATOR.userAgent==this.ua)switch(this.itemType){case BROWSER:NAVIGATOR.brave&&typeof NAVIGATOR.brave.isBrave==TYPEOF_FUNCTION&&this.set(NAME,"Brave");break;case DEVICE:!this.get(TYPE)&&NAVIGATOR_UADATA&&NAVIGATOR_UADATA[MOBILE]&&this.set(TYPE,MOBILE),"Macintosh"==this.get(MODEL)&&NAVIGATOR&&typeof NAVIGATOR.standalone!==TYPEOF_UNDEFINED&&NAVIGATOR.maxTouchPoints&&NAVIGATOR.maxTouchPoints>2&&this.set(MODEL,"iPad").set(TYPE,TABLET);break;case OS:!this.get(NAME)&&NAVIGATOR_UADATA&&NAVIGATOR_UADATA.platform&&this.set(NAME,NAVIGATOR_UADATA.platform);break;case"result":var e=this.data,t=function(t){return e[t].getItem().detectFeature().get()};this.set(BROWSER,t(BROWSER)).set(CPU,t(CPU)).set(DEVICE,t(DEVICE)).set(ENGINE,t(ENGINE)).set(OS,t(OS))}return this},UAItem.prototype.parseUA=function(){switch("result"!=this.itemType&&rgxMapper.call(this.data,this.ua,this.rgxMap),this.itemType){case BROWSER:this.set("major",majorize(this.get(VERSION)));break;case OS:if("iOS"==this.get(NAME)&&"18.6"==this.get(VERSION)){var e=/\) Version\/([\d\.]+)/.exec(this.ua);e&&parseInt(e[1].substring(0,2),10)>=26&&this.set(VERSION,e[1])}}return this},UAItem.prototype.parseCH=function(){var e=this.uaCH,t=this.rgxMap;switch(this.itemType){case BROWSER:case ENGINE:var r,n=e.fullVersionList||e.brands;if(n)for(var i=0;i<n.length;i++){var s=n[i].brand||n[i],a=n[i].version;this.itemType==BROWSER&&!/not.a.brand/i.test(s)&&(!r||/Chrom/.test(r)&&"Chromium"!=s||"Edge"==r&&/WebView2/.test(s))&&(s=strMapper(s,browserHintsMap),(r=this.get(NAME))&&!/Chrom/.test(r)&&/Chrom/.test(s)||this.set(NAME,s).set(VERSION,a).set("major",majorize(a)),r=s),this.itemType==ENGINE&&"Chromium"==s&&this.set(VERSION,a)}break;case CPU:var o=e[ARCHITECTURE];o&&(o&&"64"==e.bitness&&(o+="64"),rgxMapper.call(this.data,o+";",t));break;case DEVICE:if(e[MOBILE]&&this.set(TYPE,MOBILE),e[MODEL]&&(this.set(MODEL,e[MODEL]),!this.get(TYPE)||!this.get(VENDOR))){var c={};rgxMapper.call(c,"droid 9; "+e[MODEL]+")",t),!this.get(TYPE)&&c.type&&this.set(TYPE,c.type),!this.get(VENDOR)&&c.vendor&&this.set(VENDOR,c.vendor)}if(e.formFactors){var u;if("string"!=typeof e.formFactors)for(var d=0;!u&&d<e.formFactors.length;)u=strMapper(e.formFactors[d++],formFactorsMap);else u=strMapper(e.formFactors,formFactorsMap);this.set(TYPE,u)}break;case OS:var l=e.platform;if(l){var p=e.platformVersion;"Windows"==l&&(p=parseInt(majorize(p),10)>=13?"11":"10"),this.set(NAME,l).set(VERSION,p)}"Windows"==this.get(NAME)&&"Xbox"==e[MODEL]&&this.set(NAME,"Xbox").set(VERSION,void 0);break;case"result":var E=this.data,_=function(t){return E[t].getItem().setCH(e).parseCH().get()};this.set(BROWSER,_(BROWSER)).set(CPU,_(CPU)).set(DEVICE,_(DEVICE)).set(ENGINE,_(ENGINE)).set(OS,_(OS))}return this},UAParser.VERSION="2.0.9",UAParser.BROWSER=enumerize([NAME,VERSION,"major",TYPE]),UAParser.CPU=enumerize([ARCHITECTURE]),UAParser.DEVICE=enumerize([MODEL,VENDOR,TYPE,"console",MOBILE,SMARTTV,TABLET,"wearable","embedded"]),UAParser.ENGINE=UAParser.OS=enumerize([NAME,VERSION]);const _0x162012=_0x4226;function _0x4226(e,t){const r=_0x3b95();return(_0x4226=function(e,t){return r[e-=337]})(e,t)}!function(){const e=_0x4226,t=_0x3b95();for(;;)try{if(269718===-parseInt(e(395))/1+parseInt(e(365))/2*(-parseInt(e(382))/3)+-parseInt(e(380))/4*(parseInt(e(368))/5)+-parseInt(e(371))/6*(parseInt(e(388))/7)+-parseInt(e(374))/8*(parseInt(e(393))/9)+-parseInt(e(349))/10*(-parseInt(e(345))/11)+parseInt(e(364))/12)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class DeviceDetector{[_0x162012(342)](){const e=_0x162012,t=(new UAParser).getResult();return{browser:t[e(356)],os:t.os,device:t[e(344)],engine:t[e(351)],cpu:t[e(390)],ua:t.ua}}get screenDensity(){const e=_0x162012;return window[e(383)]>=3?"high":window[e(383)]>=2?e(389):e(359)}get[_0x162012(361)](){const e=_0x162012;return window[e(354)]>window[e(376)]?e(386):e(391)}get[_0x162012(343)](){const e=_0x162012,t=window.innerWidth;return t<480?"small":t<768?"normal":e(t<1440?387:381)}get[_0x162012(358)](){const e=_0x162012;var t,r,n;const i=this[e(342)](),s=(null===(t=i[e(344)])||void 0===t?void 0:t[e(366)])||"",a=(null===(n=null===(r=i[e(344)])||void 0===r?void 0:r.model)||void 0===n?void 0:n[e(353)]())||"",o=i.ua[e(353)]();return s===e(370)||a[e(378)]("watch")?6:s===e(362)||o[e(378)](e(347))||o.includes(e(384))||o.includes(e(394))||o[e(378)](e(392))||o[e(378)](e(352))?4:"console"===s||o[e(378)](e(339))||o[e(378)](e(379))||o[e(378)](e(372))?5:o[e(378)]("car")||o[e(378)](e(337))||o[e(378)]("carplay")?3:o.includes(e(340))||o.includes(e(346))||o[e(378)]("vr")||"embedded"===s?7:s===e(355)||"tablet"===s?1:""===s||s===e(363)?2:0}get[_0x162012(373)](){const e=_0x162012;return window[e(360)]&&window[e(360)]("(prefers-color-scheme: dark)")[e(367)]?"1":"0"}get[_0x162012(385)](){const e=_0x162012,t=window.devicePixelRatio||1,r=screen[e(350)]*t/160,n=screen[e(348)]*t/160;return Math[e(338)](Math[e(369)](r,2)+Math[e(369)](n,2))[e(375)](2)}get[_0x162012(377)](){const e=_0x162012;return e(341)in window||navigator.maxTouchPoints>0?e(357):"pointer"}}function _0x3b95(){const e=["uiStyle","16IQOtUT","toFixed","innerWidth","screenType","includes","xbox","689524jwSEhR","xlarge","628176ugPWVW","devicePixelRatio","hbbtv","displaySize","long","large","17738xKlqLF","medium","cpu","normal","googletv","1315557HtEPQy","netcast","283952HsKhKg","android auto","sqrt","playstation","oculus","ontouchstart","getDeviceInfo","screenSize","device","1900052IuIbTI","vive","smart-tv","height","20nlQZCa","width","engine","appletv","toLowerCase","innerHeight","mobile","browser","touch","uiMode","low","matchMedia","screenFormat","smarttv","desktop","17996292oTOnoE","4AuLQDK","type","matches","5visUri","pow","wearable","966aVyzxY","nintendo"];return(_0x3b95=function(){return e})()}const deviceDetector=new DeviceDetector,_0x12e22d=_0xa2cc;function _0xa2cc(e,t){const r=_0x269d();return(_0xa2cc=function(e,t){return r[e-=174]})(e,t)}!function(){const e=_0xa2cc,t=_0x269d();for(;;)try{if(706740===parseInt(e(175))/1+parseInt(e(194))/2+parseInt(e(196))/3*(parseInt(e(186))/4)+parseInt(e(193))/5*(-parseInt(e(185))/6)+parseInt(e(187))/7+-parseInt(e(198))/8*(parseInt(e(174))/9)+-parseInt(e(184))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class StorageSupport{constructor(){this[_0xa2cc(197)]=null}[_0x12e22d(181)](){return __awaiter(this,void 0,void 0,function*(){const e=_0xa2cc;if(this.supportResults)return this[e(197)];const t=this[e(177)](),r=this[e(191)](),n=yield this.isIndexedDBSupported();return this[e(197)]={localStorage:t,sessionStorage:r,indexedDB:n},this[e(197)]})}[_0x12e22d(195)](e){const t=_0x12e22d;let r=0;for(let n=0;n<e.length;n++){const i=e[t(179)](n);if(!i)continue;const s=e.getItem(i);null!=s&&(r+=2*i[t(188)],r+=2*s.length)}return r}[_0x12e22d(177)](){const e=_0x12e22d;try{const t=e(182);return localStorage.setItem(t,"1"),localStorage.removeItem(t),!0}catch(e){return!1}}[_0x12e22d(191)](){const e=_0x12e22d;try{const t=e(182);return sessionStorage[e(201)](t,"1"),sessionStorage[e(190)](t),!0}catch(e){return!1}}[_0x12e22d(202)](){const e=_0x12e22d;return e(192)in window?new Promise(t=>{const r=e;try{const e=indexedDB[r(199)]("__test__check__");e[r(180)]=()=>t(!1),e[r(183)]=()=>{const n=r;e[n(176)].close(),indexedDB[n(178)](n(200)),t(!0)}}catch(e){t(!1)}}):Promise[e(189)](!1)}}const storageSupport=new StorageSupport;function _0x269d(){const e=["162333IgoYXq","930585kTFnnE","result","isLocalStorageSupported","deleteDatabase","key","onerror","getSupportResult","__test__","onsuccess","1557360pCPKDN","1452rCfFyK","26612XXXmId","3154088yiBnHZ","length","resolve","removeItem","isSessionStorageSupported","indexedDB","18790NbkWuQ","1911310OEjSad","getStorageSizeBytes","339EPFnlI","supportResults","584qjQnmr","open","__test__check__","setItem","isIndexedDBSupported"];return(_0x269d=function(){return e})()}const _0xa51ecd=_0x66da;function _0x591c(){const e=["getContext","hashData","getParameter","975033tVzhIR","#069","SHADING_LANGUAGE_VERSION","font","196088DjKIaN","height","alphabetic","fillText","isWebGLSupported","createElement","527655JGDYfA","fillStyle","getExtension","UNMASKED_RENDERER_WEBGL","generateFingerprint","WiseTrack 🐾","VENDOR","28490992UNBZjx","8jKFuSa","experimental-webgl","null","fillRect","VERSION","top","toString","2563472GcEzbl","charCodeAt","2366315GOaZow","getCanvasFingerprint","5631522IbBwbJ","canvas","length","textBaseline","14px Arial","width","getWebGLFingerprint","UNMASKED_VENDOR_WEBGL","webgl"];return(_0x591c=function(){return e})()}function _0x66da(e,t){const r=_0x591c();return(_0x66da=function(e,t){return r[e-=443]})(e,t)}!function(){const e=_0x66da,t=_0x591c();for(;;)try{if(727455===-parseInt(e(466))/1+-parseInt(e(446))/2+parseInt(e(462))/3*(-parseInt(e(480))/4)+-parseInt(e(472))/5+-parseInt(e(450))/6+parseInt(e(448))/7+parseInt(e(479))/8)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class DeviceFingerprint{static[_0xa51ecd(470)](){const e=_0xa51ecd;try{const t=document[e(471)](e(451));return!(!t[e(459)]("webgl")&&!t[e(459)](e(481)))}catch(e){return!1}}static[_0xa51ecd(476)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x66da,[t,r]=yield Promise.all([this[e(456)](),this[e(449)]()]),n=(t||"null")+"|"+(r||e(482));return this[e(460)](n)})}static[_0xa51ecd(456)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x66da;try{const t=document[e(471)](e(451)),r=t[e(459)](e(458))||t.getContext("experimental-webgl");if(!r)return;const n=r[e(474)]("WEBGL_debug_renderer_info"),i=[r[e(461)](r[e(443)]),r[e(461)](r[e(464)]),r.getParameter(r[e(478)]),n?r.getParameter(n[e(457)]):"",n?r[e(461)](n[e(475)]):"",r[e(461)](r.MAX_TEXTURE_SIZE)[e(445)]()].join("|");return this[e(460)](i)}catch(e){return}})}static[_0xa51ecd(449)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x66da;try{const t=document[e(471)](e(451));t[e(455)]=200,t[e(467)]=50;const r=t[e(459)]("2d");if(!r)return;return r[e(453)]=e(468),r[e(465)]=e(454),r[e(453)]=e(444),r[e(473)]="#f60",r[e(483)](125,1,78,20),r[e(473)]=e(463),r[e(469)](e(477),2,15),this[e(460)](t.toDataURL())}catch(e){return}})}static hashData(e){return __awaiter(this,void 0,void 0,function*(){const t=_0x66da;let r=0;for(let n=0;n<e[t(452)];n++){r=(r<<5)-r+e[t(447)](n),r&=r}return(r>>>0)[t(445)](16).padStart(16,"0")})}}const _0xac8066=_0x5e2e;function _0x5e2e(e,t){const r=_0x6c38();return(_0x5e2e=function(e,t){return r[e-=143]})(e,t)}function _0x6c38(){const e=["getDeviceFields","filter","DEFAULTS","defaultTracker","screenSize","initialDate","getApplicationFields","initialConfig","PARAMETERS_VALUE","sessionStorage","indexedDB","innerHeight","screenFormat","now","subSessionCount","appToken","other","time_spent","engine","device","screenType","7615tRmtTU","vendor","fromEntries","getDeviceInfo","appVersion","hardwareConcurrency","152690FVvfnm","innerWidth","CONFIG","localStorage","uiStyle","8362341EzESUk","cpu","getLocalFields","screenDensity","966368lXhgkv","DEFAULT_ENVIRONMENT","toString","PLATFORM","pushToken","entries","wiseId","clientSessionId","split","sdkVersion","nextClientSessionId","getCountryCode","toLowerCase","build","46WEzFOv","formattedDate","getSupportResult","getStorageSizeBytes","clientSecret","5236616vjlypm","assign","lastSessionStart","language","sessionCount","userEnvironment","deviceId","24656nsOAgE","lastActiveTime","outerWidth","architecture","appFrameWork","performance","SDK","version","name","model","map","deeplinkEnabled","displaySize","browser","outerHeight","type","138uuiCEj","189240eqghQJ","toFixed"];return(_0x6c38=function(){return e})()}!function(){const e=_0x5e2e,t=_0x6c38();for(;;)try{if(536208===parseInt(e(194))/1*(-parseInt(e(223))/2)+parseInt(e(171))/3+parseInt(e(154))/4+-parseInt(e(200))/5*(-parseInt(e(170))/6)+parseInt(e(147))/7+parseInt(e(209))/8+-parseInt(e(205))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class FieldsBuilder{[_0xac8066(222)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5e2e,t=window[e(159)][e(186)]();let r={};return r.sdk_requested_at=Utils[e(143)](new Date),Object[e(148)](r,this[e(207)]()),Object[e(148)](r,yield this[e(179)]()),Object[e(148)](r,this[e(173)]()),r[e(190)]=Math.floor((window.performance[e(186)]()-t)/1e3),WTConstants[e(175)][e(181)]?Object[e(196)](Object[e(214)](r)[e(164)](([t,r])=>[t,null==r?WTConstants[e(175)][e(181)]:r])):Object[e(196)](Object[e(214)](r)[e(174)](([e,t])=>null!=t))})}[_0xac8066(179)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5e2e,t=yield storageSupport[e(144)]();return{connectivity_type:navigator.onLine?"1":"-1",country:yield countryFinder[e(220)](),package_name:window.location.hostname,session_storage_enabled:t[e(182)],indexed_db_enabled:t[e(183)],local_storage_enabled:t[e(203)],session_storage:storageSupport[e(145)](sessionStorage)[e(172)](0),local_storage:storageSupport.getStorageSizeBytes(localStorage)[e(172)](0),web_gl_support:DeviceFingerprint.isWebGLSupported(),web_gl_fingerprint:yield DeviceFingerprint.generateFingerprint()}})}[_0xac8066(207)](){const e=_0xac8066,t=storageManager[e(180)];return t?{uuid:storageManager[e(153)],app_token:t[e(188)],environment:t[e(152)]||WTConstants[e(202)][e(210)],store_name:e(189),app_version:t[e(198)],push_token:storageManager[e(213)],custom_device_id:t.customDeviceId,default_tracker:t[e(176)],platform:WTConstants[e(160)][e(212)],framework:t[e(158)][e(221)](),initiated_by:WTConstants[e(160)].PLATFORM+"_"+t[e(158)][e(221)](),initiated_version:storageManager[e(218)],client_secret:t[e(146)],deeplink_enabled:t[e(165)]||!0,referrer:Utils.getUTMParamsString(),installed_at:storageManager[e(178)],session_count:storageManager[e(151)],subsession_count:storageManager[e(187)],session_length:parseInt((storageManager.activeDuration/1e3)[e(211)]()),last_interval:parseInt((storageManager.inactiveDuration/1e3)[e(211)]()),cs_id:storageManager[e(216)],next_cs_id:storageManager[e(219)],last_session_created_at:storageManager[e(149)],last_active_time:null!=storageManager[e(155)]?Utils[e(143)](new Date(storageManager[e(155)])):void 0,wise_id:storageManager[e(215)]}:{}}[_0xac8066(173)](){const e=_0xac8066,t=deviceDetector[e(197)]();return{browser_version:t[e(167)][e(161)],browser_name:t[e(167)][e(162)],device_manufacturer:t[e(192)][e(195)],device_name:t[e(192)][e(163)],device_type:t[e(192)][e(169)],os_name:t.os[e(162)],os_version:t.os[e(161)],cpu_type:t[e(206)][e(157)],web_user_agent:t.ua,display_height:window[e(184)].toFixed(0),display_width:window[e(201)][e(172)](0),language:navigator[e(150)][e(217)]("-")[0],screen_density:deviceDetector[e(208)],screen_format:deviceDetector[e(185)],screen_size:deviceDetector[e(177)],ui_mode:deviceDetector.uiMode.toString(),cpu_lpc:navigator[e(199)][e(211)](),ui_style:deviceDetector[e(204)],wout_width:window[e(156)],wout_height:window[e(168)],web_engine:t[e(191)][e(162)],web_engine_version:t[e(191)][e(161)],display_size:deviceDetector[e(166)],screen_type:deviceDetector[e(193)]}}}const fieldsBuilder=new FieldsBuilder;function _0x3cd7(e,t){var r=_0xdbf2();return(_0x3cd7=function(e,t){return r[e-=118]})(e,t)}!function(){for(var e=_0x3cd7,t=_0xdbf2();;)try{if(872175===parseInt(e(119))/1*(-parseInt(e(125))/2)+-parseInt(e(127))/3+parseInt(e(131))/4+parseInt(e(130))/5*(-parseInt(e(126))/6)+parseInt(e(118))/7+parseInt(e(123))/8+-parseInt(e(124))/9*(parseInt(e(120))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTApiError extends Error{constructor(e){super(e),this.name=new.target.name}}class ConnectionError extends WTApiError{constructor(e){var t=_0x3cd7;super(e),this[t(129)]=null,this[t(122)]=!0,this[t(121)]=t(128)+(null!=e?e:"")}}function _0xdbf2(){var e=["13529NajGlU","110URceCV","localizedMessage","shouldRetryRequest","6795936xamspS","515691EfqqQf","38JLhXds","4379286ylTKsy","1246143ozrjqj","Network error: ","statusCode","5rVUIVI","4057628lAjJSz","7286146jgCkcX"];return(_0xdbf2=function(){return e})()}class HttpError extends WTApiError{constructor(e,t){var r=_0x3cd7;super(t),this[r(129)]=e,this[r(122)]=e>=500,this.localizedMessage=null!=t?t:"Server error occurred"}}class DecodingError extends WTApiError{constructor(e){var t=_0x3cd7;super(e),this[t(129)]=null,this[t(122)]=!0,this.localizedMessage="Failed to decode the response: "+(null!=e?e:"")}}class UnknownError extends WTApiError{constructor(e,t){var r=_0x3cd7;super(e),this[r(122)]=!1,this.statusCode=null!=t?t:null,this[r(121)]="Unknown Error: "+(null!=e?e:"")}}var _0x42a712=_0x3994;function _0x2121(){var e=["3526890aNKbtT","canRetry","waitBeforeRetry","3889405MrzxGZ","1054011sVEDUW","822161siSGeM","2464002dReCDK","5914312OGSQPv","7eGDeBP","retryInterval","maxRetries","2877792RpfACH","2nRepcA","9gNofEI"];return(_0x2121=function(){return e})()}function _0x3994(e,t){var r=_0x2121();return(_0x3994=function(e,t){return r[e-=129]})(e,t)}!function(){for(var e=_0x3994,t=_0x2121();;)try{if(433754===parseInt(e(142))/1*(parseInt(e(135))/2)+parseInt(e(141))/3+parseInt(e(134))/4+-parseInt(e(140))/5+parseInt(e(129))/6+parseInt(e(131))/7*(-parseInt(e(130))/8)+-parseInt(e(136))/9*(parseInt(e(137))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RetryPolicy{constructor(e=3,t=2e3){var r=_0x3994;this[r(133)]=e,this[r(132)]=t}[_0x42a712(138)](e){return e<this[_0x42a712(133)]}[_0x42a712(139)](){return __awaiter(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,this.retryInterval))})}}const _0x3b56a7=_0xeda5;function _0xeda5(e,t){const r=_0x57f3();return(_0xeda5=function(e,t){return r[e-=193]})(e,t)}function _0x57f3(){const e=["Internal Error: ","POST","retryAttempt","baseUrl","11053CzpYfl","call","refreshHandler","2238968AeZozI","assign","Decoding api error response failed: ","canRetry"," is not a valid URL Endpoint","cors","✅ Token refreshed, retrying request...","491391njgiak","Unknown error","waitBeforeRetry","stringify","localizedMessage","312dYRuNq","Error executing request","message","9usBzPf","705396wbLnRo","-- PARAMETERS =>","needsAuthentication","❌ Token refresh failed:","Authentication failed","622640dOhDze","375672DxhNph","params","retryPolicy","160SiVjNv","Authorization","method","🔄 Token expired, attempting to refresh...","sendRequest","no-cache","407568KfQAYC","9hTOOEs","application/json","status",") =>","parse","setRefreshHandler","warn",") => ","debug","❌ API ERROR (","no-store","error","authToken"];return(_0x57f3=function(){return e})()}!function(){const e=_0xeda5,t=_0x57f3();for(;;)try{if(307069===-parseInt(e(227))/1+-parseInt(e(199))/2+-parseInt(e(200))/3*(-parseInt(e(236))/4)+parseInt(e(241))/5+-parseInt(e(232))/6*(-parseInt(e(217))/7)+parseInt(e(220))/8*(-parseInt(e(235))/9)+parseInt(e(193))/10*(parseInt(e(242))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class NetworkManager{constructor(){this[_0xeda5(219)]=null}[_0x3b56a7(205)](e){this[_0x3b56a7(219)]=e}retryPolicy(){return new RetryPolicy}[_0x3b56a7(197)](e){return __awaiter(this,arguments,void 0,function*(e,t={}){const r=_0xeda5;var n;const i=t[r(215)]||1,s=!1!==t[r(238)];let a,o;try{a=new URL(e,EnvironmentUtils[r(216)])}catch(t){return new UnknownError(r(213)+EnvironmentUtils[r(216)]+e+r(224))}WTLogger[r(208)]("🚀 REQUEST ("+i+r(207)+(t.method||r(214))+" "+a,r(237),t[r(243)]||{});const c=Object[r(221)]({Accept:r(201),"Cache-Control":"no-store, no-cache, must-revalidate, proxy-revalidate",Pragma:r(198),Expires:"0"},t.headers);if(s){const e=storageManager[r(212)];e&&(c[r(194)]="Bearer "+e)}t.params&&(c["Content-Type"]=r(201),o=JSON[r(230)](t.params));try{const u=yield fetch(a,{method:t[r(195)]||r(214),headers:c,body:o,cache:r(210),mode:r(225),keepalive:!0});if(!u.ok){if(401===u[r(202)]&&s){WTLogger[r(208)](r(196));const s=yield null===(n=this[r(219)])||void 0===n?void 0:n[r(218)](this);return s instanceof WTApiError?(WTLogger[r(211)](r(239),s[r(231)]),new HttpError(401,r(240))):(WTLogger[r(208)](r(226)),this[r(197)](e,Object[r(221)](Object[r(221)]({},t),{retryAttempt:i})))}let a="";try{const e=yield u.text();a=e;const t=JSON[r(204)](e);t[r(234)]&&(a=t.message)}catch(e){WTLogger[r(211)](r(222)+e,e)}return WTLogger[r(206)](r(209)+u[r(202)]+r(203),a),new HttpError(u[r(202)],a)}try{const e=yield u.json();return WTLogger[r(208)]("✅ API SUCCESS ("+u[r(202)]+r(203),e.message||"Request successful"),e}catch(e){return new DecodingError(e[r(234)]||String(e))}}catch(n){return WTLogger.error(r(233),n),this.retryPolicy()[r(223)](i)?(yield this[r(244)]()[r(229)](),this[r(197)](e,Object[r(221)](Object[r(221)]({},t),{retryAttempt:i+1}))):new ConnectionError(n.message||r(228))}})}}const networkManager=new NetworkManager,_0x2dd5f9=_0x2a7c;function _0x46d7(){const e=["doGetDeferredData","doGetAuthToken","776nRrcpa","endpoints","Initial Config is not provided","hostname","fromJson","1931664vbApyo","DEFERRED_LOOKUPS_PATH","sdk_updated_at","deferredLookups","SDK","initialConfig","refreshToken","5oHVCsJ","config","clientSecret","PLATFORM","HEARTBEATS_PATH","sendRequest","sdkVersion","toLowerCase","71007wnKdAt","5349syCFkW","appVersion","heartbeats","3057439szEAAN","27jvlcsU","doGetConfig","result","refreshTokenPromise","wiseId","other","1326462rFZGQU","229820mFMSBM","AUTH_PATH","CONFIG_PATH","605LIXLJw","auth","1191424UxLcXE","setRefreshHandler","Client Secret is not provided"];return(_0x46d7=function(){return e})()}function _0x2a7c(e,t){const r=_0x46d7();return(_0x2a7c=function(e,t){return r[e-=165]})(e,t)}!function(){const e=_0x2a7c,t=_0x46d7();for(;;)try{if(411877===parseInt(e(174))/1+-parseInt(e(196))/2*(parseInt(e(175))/3)+-parseInt(e(191))/4+-parseInt(e(166))/5*(parseInt(e(185))/6)+-parseInt(e(178))/7+-parseInt(e(201))/8*(-parseInt(e(179))/9)+parseInt(e(186))/10*(parseInt(e(189))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class ApiClient{constructor(){const e=_0x2a7c;this[e(182)]=null,networkManager[e(192)](this[e(165)])}[_0x2dd5f9(180)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2a7c,t=storageManager.initialConfig;if(!t)return new UnknownError(e(198));const r=WTConstants[e(205)][e(169)],n=t.appFrameWork[e(173)](),i={app_token:t.appToken,app_version:t[e(176)],framework:n,package_name:window.location[e(199)],platform:r,sdk_version:storageManager[e(172)],initiated_by:r+"_"+n,store_name:e(184)},s=yield networkManager[e(171)](SecureConfig[e(188)],{params:i,needsAuthentication:!1});return s instanceof WTApiError?s:WTConfig[e(200)](s[e(181)])})}[_0x2dd5f9(195)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2a7c;var t,r,n;if(!(null===(t=storageManager[e(206)])||void 0===t?void 0:t[e(168)]))return new UnknownError(e(193));const i=yield fieldsBuilder.build(),s=yield networkManager.sendRequest(null!==(n=null===(r=storageManager.config)||void 0===r?void 0:r[e(197)][e(190)])&&void 0!==n?n:SecureConfig[e(187)],{params:i,needsAuthentication:!1});if(s instanceof WTApiError)return s;const a=WTAuth.fromJson(s[e(181)]);return storageManager.authToken=a.authToken,storageManager[e(183)]=a.wiseId,!0})}[_0x2dd5f9(194)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2a7c;var t,r;const n=yield fieldsBuilder.build(),i=yield networkManager[e(171)](null!==(r=null===(t=storageManager[e(167)])||void 0===t?void 0:t[e(197)][e(204)])&&void 0!==r?r:SecureConfig[e(202)],{params:n});return i instanceof WTApiError?i:WTDeferredLookup[e(200)](i[e(181)])})}doSendHeartbeat(e){return __awaiter(this,void 0,void 0,function*(){const t=_0x2a7c;var r,n;return!((yield networkManager[t(171)](null!==(n=null===(r=storageManager.config)||void 0===r?void 0:r[t(197)][t(177)])&&void 0!==n?n:SecureConfig[t(170)],{params:e}))instanceof WTApiError)})}doCallRequest(e,t){return __awaiter(this,void 0,void 0,function*(){const r=_0x2a7c;return t[r(203)]=Utils.formattedDate(new Date),yield networkManager[r(171)](e,{params:t})})}[_0x2dd5f9(165)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2a7c;if(this[e(182)])return this[e(182)];this[e(182)]=apiClient[e(195)]();try{return yield this[e(182)]}finally{this[e(182)]=null}})}get isRefreshingToken(){return null!==this.refreshTokenPromise}}const apiClient=new ApiClient,_0x9b0f01=_0x225e;function _0x53b3(){const e=["initialConfig","authToken","checkSdkUpdate","SDK is disabled form server, contact your administrator!","Already Authorized","onDeeplinkReceived","debug","sdkEnabled","‼️ Configuration failed: ","A new version of the SDK is available. It is recommended to update to the latest version","checkSdkEnabled","info","SDK Authentication set","10vNtsvW","configureSDK","config","sdkUpdate","DeferredLookup => SDK is not enabled!","doGetAuthToken","deferredLinkHandled","1236580xhswBt","2344536WIyCZz","shouldRetryRequest","1UBEGWW","347130WJAuOZ","deferredData","⛔ Authentication failed: ","777528TGKYje","getAuth","doGetConfig","2168kOTGEP","88668uRVtPP","deferredLookup","33817JoImmZ","defaultValue","getConfig","3753309sFxrFU","warn"];return(_0x53b3=function(){return e})()}function _0x225e(e,t){const r=_0x53b3();return(_0x225e=function(e,t){return r[e-=441]})(e,t)}!function(){const e=_0x225e,t=_0x53b3();for(;;)try{if(854769===-parseInt(e(475))/1*(parseInt(e(472))/2)+parseInt(e(450))/3+parseInt(e(473))/4*(-parseInt(e(465))/5)+parseInt(e(441))/6+-parseInt(e(447))/7*(-parseInt(e(444))/8)+-parseInt(e(445))/9+-parseInt(e(476))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTConfigure{[_0x9b0f01(466)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x225e;storageManager[t(452)]=e,yield this.getConfig(),yield this[t(442)](),this[t(446)]()})}[_0x9b0f01(449)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x225e;let t=yield apiClient[e(443)]();if(t instanceof WTApiError&&!t[e(474)])throw storageManager.sdkEnabled=!1,Error(e(460)+t.localizedMessage);storageManager[e(467)]=t instanceof WTConfig?t:storageManager.config||WTConfig[e(448)];let r=storageManager[e(467)];this[e(454)](r),this[e(462)](r),WTLogger[e(463)]("SDK Config set")})}[_0x9b0f01(442)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x225e;if(null!=storageManager[e(453)]&&null!=storageManager.wiseId)return void WTLogger.info(e(456));let t=yield apiClient[e(470)]();if(t instanceof WTApiError&&!t[e(474)])throw storageManager.sdkEnabled=!1,Error(e(478)+t.localizedMessage);WTLogger.info(e(464))})}deferredLookup(){return __awaiter(this,void 0,void 0,function*(){const e=_0x225e;if(!storageManager[e(459)])return void WTLogger[e(458)](e(469));if(storageManager[e(471)])return void WTLogger[e(458)]("DeferredLookup => deferred link was handled before");let t=yield apiClient.doGetDeferredData();if(t instanceof WTApiError)return t[e(474)]?new Promise(e=>setTimeout(()=>{e(this.deferredLookup())},3e3)):void(storageManager.deferredLinkHandled=!0);storageManager[e(477)]=t,lifecycleOvserver[e(457)]({uri:t.deeplink,isDeferred:!0}),storageManager[e(471)]=!0})}[_0x9b0f01(462)](e){const t=_0x9b0f01;if(storageManager[t(459)]=e[t(459)],!e[t(459)])throw new Error(t(455))}[_0x9b0f01(454)](e){const t=_0x9b0f01;e[t(468)]&&WTLogger[t(451)](t(461))}}const configure=new WTConfigure;function _0x51da(e,t){const r=_0xfc8f();return(_0x51da=function(e,t){return r[e-=339]})(e,t)}function _0xfc8f(){const e=["1506665JhtCFq","randomUUID","4QHuHkb","688058DHdwiQ","8730IUcebE","2919080Mdlbhi","1AhVrvK","1635010vbtAEw","1979424SsRLRt","63EKSpiN","925074ZaRJjW"];return(_0xfc8f=function(){return e})()}!function(){const e=_0x51da,t=_0xfc8f();for(;;)try{if(253902===parseInt(e(343))/1*(-parseInt(e(341))/2)+parseInt(e(347))/3+parseInt(e(339))/4*(parseInt(e(348))/5)+parseInt(e(345))/6+parseInt(e(340))/7+parseInt(e(342))/8+parseInt(e(346))/9*(-parseInt(e(344))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const cryptoHelper={generateUUID:()=>crypto[_0x51da(349)]()},_0xd8aa78=_0x14ca;function _0x14ca(e,t){const r=_0x11cb();return(_0x14ca=function(e,t){return r[e-=132]})(e,t)}function _0x11cb(){const e=["9cuyhcU","1307418CAzcPt","release","1879450AorVyO","3143320dBHATs","acquire","push","locked","maxRetries","1009722aGkWTd","307839wCkfbi","endpoint","shift","4kHdvCA","now","parameters","2569410uaBMYt","2762704EhszSj","waitingQueue","length"];return(_0x11cb=function(){return e})()}!function(){const e=_0x14ca,t=_0x11cb();for(;;)try{if(674238===-parseInt(e(151))/1+parseInt(e(144))/2+parseInt(e(150))/3*(parseInt(e(134))/4)+-parseInt(e(137))/5+parseInt(e(142))/6+parseInt(e(138))/7+parseInt(e(145))/8*(-parseInt(e(141))/9))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RequestRecord{constructor(e,t){const r=_0x14ca;this.retryCount=0,this[r(149)]=3,this.id=crypto.randomUUID(),this[r(132)]=e,this[r(136)]=t,this.createdAt=Date[r(135)]()}}class Mutex{constructor(){const e=_0x14ca;this[e(148)]=!1,this[e(139)]=[]}[_0xd8aa78(146)](){return __awaiter(this,void 0,void 0,function*(){return new Promise(e=>{const t=_0x14ca;this.locked?this.waitingQueue[t(147)](e):(this[t(148)]=!0,e())})})}[_0xd8aa78(143)](){const e=_0xd8aa78;if(this[e(139)][e(140)]>0){this[e(139)][e(133)]()()}else this.locked=!1}}const _0x507a57=_0x57fc;function _0x27dc(){const e=["startProcessing","534ubzIEu","isProcessing","doCallRequest","some","PROCESSING_INTERVAL_MS","canProcessNext","warn","values","155616BRWeZP","SDK_CLICKS","stopProcessing","endpoint","processingInterval","MAX_CONCURRENT_REQUESTS","processQueues","retry","51FMNWCL","2582MeAZjB","Error waiting for active requests:","length","createdAt","calculateBackoffDelay","getQueue","debug","requestRecords","): id=","3592206NrRZGK","💥 Sending request (","set","281330ehZejS","81eiXEez","getQueueStatus","retryCount","20855010llyMGv","Error sending request ","Error processing request ","BASE_DELAY_MS","race","has","error","catch","shift","activeRequests","shutdown","MAX_DELAY_MS","initialize","canAddRequest","finishRequest","pow","from","parameters","mutex","failedRequestDelay","574112IqEAdz","maxRetries","shouldRetryRequest","success","promise","now","size","sendRequest","min","saveQueue","Queue Manager is not initialized. Call initialize() first.","processNextRequest","BACKOFF_MULTIPLIER","acquire","addRequest","release","5ghOUOE","2349557ZEpNkS"];return(_0x27dc=function(){return e})()}function _0x57fc(e,t){const r=_0x27dc();return(_0x57fc=function(e,t){return r[e-=221]})(e,t)}!function(){const e=_0x57fc,t=_0x27dc();for(;;)try{if(391911===-parseInt(e(253))/1*(-parseInt(e(270))/2)+-parseInt(e(269))/3*(-parseInt(e(261))/4)+-parseInt(e(250))/5*(-parseInt(e(279))/6)+-parseInt(e(251))/7+parseInt(e(234))/8*(parseInt(e(283))/9)+parseInt(e(282))/10+-parseInt(e(286))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RequestsQueueManager{constructor(){const e=_0x57fc;this.isInitialized=!1,this[e(254)]=!1,this[e(232)]=new Mutex,this.processingInterval=null,this.PROCESSING_INTERVAL_MS=100,this.activeRequests=new Map,this[e(233)]=0,this[e(225)]=3e4,this[e(246)]=2,this[e(289)]=1e3,this.MAX_CONCURRENT_REQUESTS=1}[_0x507a57(226)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x57fc;this.isInitialized=!0,!this[e(254)]&&(yield this[e(252)]())})}[_0x507a57(224)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x57fc;this.isInitialized&&(yield this[e(263)](),this.isInitialized=!1,this[e(223)].clear())})}[_0x507a57(284)](){const e=_0x507a57;return{queueLength:this[e(275)]()[e(272)],isProcessing:this[e(254)],activeRequests:this[e(223)][e(240)],isInBackoffDelay:this[e(233)]>0&&Date[e(239)]()<this[e(233)],backoffEndsAt:this[e(233)]>0?this[e(233)]:null}}[_0x507a57(252)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x57fc;if(this.isInitialized){yield this[e(232)].acquire();try{if(this[e(254)])return;this[e(254)]=!0;const t=this[e(275)]().sort((t,r)=>(t.createdAt||0)-(r[e(273)]||0));this[e(243)](t),this.processingInterval=setInterval(()=>__awaiter(this,void 0,void 0,function*(){const t=e;try{yield this.processQueues()}catch(e){WTLogger[t(292)]("Error in processing loop:",e)}}),this[e(257)])}finally{this.mutex[e(249)]()}yield this[e(267)]()}else WTLogger[e(259)](e(244))})}[_0x507a57(263)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x57fc;yield this[e(232)].acquire();try{this.isProcessing=!1,this[e(265)]&&(clearInterval(this[e(265)]),this[e(265)]=null)}finally{this[e(232)][e(249)]()}const t=Array[e(230)](this.activeRequests.values()).map(t=>t[e(238)]);if(t[e(272)]>0)try{yield Promise[e(290)]([Promise.all(t),new Promise(e=>setTimeout(e,5e3))])}catch(t){WTLogger.warn(e(271),t)}})}[_0x507a57(248)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x57fc;yield this[t(232)][t(247)]();try{if(!this[t(227)](e))return;const r=this[t(275)]();r.push(e),this[t(243)](r),this.failedRequestDelay=0}finally{this[t(232)][t(249)]()}this[t(254)]&&this.activeRequests[t(240)]<this[t(266)]&&(yield this[t(245)]())})}[_0x507a57(267)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x57fc;if(this.isProcessing){if(this.failedRequestDelay>0){if(Date[e(239)]()<this[e(233)])return;this[e(233)]=0}for(;this[e(223)][e(240)]<this[e(266)]&&this[e(258)]();)yield this[e(245)]()}})}[_0x507a57(258)](){const e=_0x507a57,t=this[e(275)]();if(0===t[e(272)])return!1;const r=t[0];return!this[e(223)][e(291)](r.id)}processNextRequest(){return __awaiter(this,void 0,void 0,function*(){const e=_0x57fc;let t=null;yield this[e(232)].acquire();try{const r=this[e(275)]();if(0===r[e(272)])return;if(t=r[0],this[e(223)][e(291)](t.id))return;r[e(222)](),this[e(243)](r)}finally{this.mutex.release()}if(t){const r=this[e(241)](t);this[e(223)][e(281)](t.id,{request:t,promise:r}),r.then(e=>{this.finishRequest(t,e)})[e(221)](r=>{const n=e;WTLogger[n(292)](n(288)+t[n(264)]+":",r),this[n(228)](t,{success:!1,retry:!0})})}})}[_0x507a57(228)](e,t){return __awaiter(this,void 0,void 0,function*(){const r=_0x57fc;yield this[r(232)][r(247)]();try{if(this[r(223)].delete(e.id),t.success)WTLogger[r(276)]("✓ Request finished: "+e[r(264)]);else if(t[r(268)])if(e[r(285)]++,e[r(285)]>=e[r(235)]){const t=this[r(274)](e[r(285)]);this.failedRequestDelay=Date[r(239)]()+t;const n=this.getQueue();n.push(e),this[r(243)](n)}else{const t=this[r(275)]();t.push(e),this[r(243)](t)}}finally{this[r(232)][r(249)]()}this[r(223)].size<this[r(266)]&&(yield this[r(245)]())})}sendRequest(e){return __awaiter(this,void 0,void 0,function*(){const t=_0x57fc;WTLogger[t(276)](t(280)+e[t(264)]+t(278)+e.id);try{const r=yield apiClient[t(255)](e[t(264)],e[t(231)]);return r instanceof WTApiError?{success:!1,retry:r[t(236)]}:{success:r[t(237)],retry:!1}}catch(r){return WTLogger[t(292)](t(287)+e.endpoint+":",r),{success:!1,retry:!0}}})}[_0x507a57(274)](e){const t=_0x507a57,r=this.BASE_DELAY_MS*Math[t(229)](this[t(246)],e-1);return Math[t(242)](r,this[t(225)])}[_0x507a57(275)](){return storageManager[_0x507a57(277)]}[_0x507a57(243)](e){storageManager[_0x507a57(277)]=e}[_0x507a57(227)](e){const t=_0x507a57;if(e.endpoint===WTEndpoints[t(262)]){const e=this[t(275)]()[t(256)](e=>e[t(264)]===WTEndpoints[t(262)]),r=Array[t(230)](this[t(223)][t(260)]()).some(e=>e.request[t(264)]===WTEndpoints[t(262)]);return!storageManager.sdkClickSubmit&&(!e&&!r)}return!0}}const queueManager=new RequestsQueueManager,_0x8dd170=_0x3a3b;function _0x3a3b(e,t){const r=_0x5f08();return(_0x3a3b=function(e,t){return r[e-=431]})(e,t)}!function(){const e=_0x3a3b,t=_0x5f08();for(;;)try{if(163238===parseInt(e(441))/1+-parseInt(e(440))/2*(-parseInt(e(438))/3)+-parseInt(e(452))/4+-parseInt(e(435))/5*(-parseInt(e(434))/6)+-parseInt(e(439))/7*(parseInt(e(433))/8)+parseInt(e(437))/9+parseInt(e(431))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class ClickMatchFieldsBuilder extends FieldsBuilder{constructor(e){super(),this.deeplink=e}[_0x8dd170(448)](){return __awaiter(this,void 0,void 0,function*(){let e=storageManager,t=e.initialConfig;return new Promise(r=>{const n=_0x3a3b;r({cs_id:e.clientSessionId,wise_id:e[n(436)],uuid:e[n(444)],client_secret:null==t?void 0:t[n(446)],app_token:null==t?void 0:t[n(447)],store_name:n(450),platform:WTConstants[n(442)].PLATFORM,framework:null==t?void 0:t[n(451)][n(443)](),package_name:window.location[n(445)],app_version:null==t?void 0:t[n(453)],sdk_requested_at:Utils[n(432)](new Date),deeplink:this[n(449)]})})})}}function _0x5f08(){const e=["build","deeplink","other","appFrameWork","1189308uaLfRZ","appVersion","1597080CvfpHf","formattedDate","40NLlKsv","78BDpQbU","27245npAqWw","wiseId","1547352VLritm","15MklimV","339983sGFjoT","12186oGyxOg","270472EpMJio","SDK","toLowerCase","deviceId","hostname","clientSecret","appToken"];return(_0x5f08=function(){return e})()}function _0x1a81(){const e=["create","params","74zKkuVY","amount","108MxmNJz","3942iHOELp","23637HcyDoC","call","280897LpjOCD","10130gmRJjL","keys","revenue","event","length","build","6110oYwIiT","event_params","currency","4249zKzjTD","2456ZuAOas","560060dETIor","3837053UdTZck","eventCount","name"];return(_0x1a81=function(){return e})()}function _0x3e70(e,t){const r=_0x1a81();return(_0x3e70=function(e,t){return r[e-=336]})(e,t)}!function(){const e=_0x3e70,t=_0x1a81();for(;;)try{if(198065===parseInt(e(348))/1+parseInt(e(342))/2*(-parseInt(e(346))/3)+parseInt(e(336))/4+parseInt(e(349))/5*(-parseInt(e(344))/6)+parseInt(e(358))/7*(parseInt(e(359))/8)+-parseInt(e(345))/9*(-parseInt(e(355))/10)+-parseInt(e(337))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class EventFieldsBuilder extends FieldsBuilder{constructor(e){const t=_0x3e70;super(),this[t(352)]=e}build(){const e=_0x3e70,t=Object[e(340)](null,{build:{get:()=>super[e(354)]}});return __awaiter(this,void 0,void 0,function*(){const r=e,n=yield t[r(354)][r(347)](this),i={event_type:this[r(352)].type,event_name:this[r(352)][r(339)],event_count:storageManager[r(338)]};return Object[r(350)](this[r(352)].params)[r(353)]>0&&(i[r(356)]=this[r(352)][r(341)]),this[r(352)].type===r(351)&&(i[r(351)]=this[r(352)][r(343)],i[r(357)]=this.event[r(357)]),n.event=i,new Promise(e=>e(n))})}}const _0x116069=_0x21dc;function _0x10ea(){const e=["SESSIONS","Creating Install: SDK is not enabled!","PUSH_TOKENS","getCountryCode","clientSessionId","filter","sdkClickSubmit","build","createRequest","initialized","CLICK_MATCHES","lastActiveTime","shutdown","isEnabled","stopTracking","WT Tracker started","SDK_CLICKS","pushToken","deviceId","SDK-Clicks has already submitted","Failed to check activity times: Maximum retry attempts reached. Please ensure the SDK is enabled and initialized beforehand","8560863qLCzno","appStartTime","eventCount","setOnDeeplinkListener","checkPushToken","debug","nextClientSessionId","initialDate","unmatchedDeeplinks","initialize","3328236AkewCZ","s | (","onStartHandler","subSessionCount","trackEvent: SDK is not enabled","Failed to create click-match: SDK is not running!","ATTRIBUTIONS","25119RFXIWv","CheckPushToken: SDK is not initialized yet","now","sessionCount","deeplinkHandler","generateUUID","1366125VNXhop","Adding ","subsessionInterval","895beHRgX","checkDeepLinks","createDeviceID","firstSessionSubmit","createClickMatch","inactiveDuration","sdkEnabled","trackEvent: SDK is not initialized yet","Creating First Session: SDK is not enabled!","formattedDate","stopTicking","CheckPushToken: SDK is not enabled","createAttribution","1173760SDCWfG","registerListeners","startTicking","14FcJgRu","isRunning","Creating Attribution: SDK is not enabled!","addObservers","warn","Creating First Session: SDK is not running!","Failed to check activity times: SDK is not enabled!, try after 1s ...","EVENTS","inactiveTime","3371416LxkCFF","setActivityTimes","Failed to check activity times: SDK is not running!, try after 1s ...","checkFirstSession","unregisterListeners","User was inactived for ","12624uoHetm","activeDuration","trackEvent","7tfntVF","SDK is not enabled to start tracking!","This Notification token has sent to server previously","lastSessionStart","checkSdkClicks"];return(_0x10ea=function(){return e})()}function _0x21dc(e,t){const r=_0x10ea();return(_0x21dc=function(e,t){return r[e-=226]})(e,t)}!function(){const e=_0x21dc,t=_0x10ea();for(;;)try{if(516729===parseInt(e(262))/1*(parseInt(e(287))/2)+-parseInt(e(268))/3+parseInt(e(255))/4+parseInt(e(271))/5*(parseInt(e(302))/6)+-parseInt(e(305))/7*(-parseInt(e(296))/8)+-parseInt(e(245))/9+parseInt(e(284))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTTracker{constructor(){this[_0x21dc(288)]=!1,this.initialized=!1}get[_0x116069(237)](){return storageManager[_0x116069(277)]}initialize(){return __awaiter(this,void 0,void 0,function*(){const e=_0x21dc;this[e(227)](),this.createDeviceID(),storageManager.appStartTime=Date.now(),this[e(290)](),this.initialized=!0})}startTracking(){return __awaiter(this,void 0,void 0,function*(){const e=_0x21dc;if(!this.isEnabled)return WTLogger[e(291)](e(306));WTLogger[e(250)](e(239)),this[e(288)]=!0,yield queueManager[e(254)](),yield this[e(309)](),yield this[e(299)](),this[e(297)](),this[e(283)](),this[e(272)]()})}[_0x116069(238)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x21dc;this[e(288)]=!1,lifecycleOvserver[e(281)](),yield queueManager[e(236)](),WTLogger[e(250)]("WT Tracker stopped")})}destroy(){return __awaiter(this,void 0,void 0,function*(){const e=_0x21dc;lifecycleOvserver[e(281)](),lifecycleOvserver[e(300)]()})}[_0x116069(249)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x21dc;storageManager[t(241)]=e,this.isEnabled?this.initialized?storageManager.fcmToken!==e?yield this[t(232)]({endpoint:WTEndpoints[t(226)]}):WTLogger.info(t(307)):WTLogger[t(291)](t(263)):WTLogger.warn(t(282))})}[_0x116069(304)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x21dc;this[t(237)]?this[t(233)]?(storageManager[t(247)]+=1,yield this[t(232)]({endpoint:WTEndpoints[t(294)],fBuilder:new EventFieldsBuilder(e)})):WTLogger.warn(t(278)):WTLogger.warn(t(259))})}[_0x116069(248)](e){lifecycleOvserver[_0x116069(266)]=e}getCountryCode(){countryFinder[_0x116069(227)]()}[_0x116069(283)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x21dc;return this[e(237)]?this[e(288)]?void(yield this[e(232)]({endpoint:WTEndpoints[e(261)]})):WTLogger[e(291)]("Creating Attribution: SDK is not running!"):WTLogger[e(291)](e(289))})}checkFirstSession(){return __awaiter(this,void 0,void 0,function*(){const e=_0x21dc;return this[e(237)]?this[e(288)]?void(storageManager[e(274)]?WTLogger[e(250)]("First-Session has already submitted"):(storageManager[e(265)]=1,storageManager.subSessionCount=1,storageManager.activeDuration=0,storageManager[e(276)]=0,storageManager[e(251)]=null,yield this[e(232)]({endpoint:WTEndpoints[e(310)]}),storageManager[e(308)]=Utils[e(280)](new Date),storageManager[e(274)]=!0)):WTLogger[e(291)](e(292)):WTLogger[e(291)](e(279))})}checkSdkClicks(){return __awaiter(this,void 0,void 0,function*(){const e=_0x21dc;return this[e(237)]?storageManager[e(230)]?WTLogger[e(250)](e(243)):(yield this.createRequest({endpoint:WTEndpoints[e(240)]}),void(storageManager[e(230)]=!0)):WTLogger[e(291)](e(311))})}[_0x116069(232)](e){return __awaiter(this,arguments,void 0,function*({endpoint:e,fBuilder:t=fieldsBuilder}){const r=_0x21dc;WTLogger[r(250)](r(269)+e+" request to queue");const n=yield t[r(231)](),i=new RequestRecord(e,n);yield queueManager.addRequest(i)})}[_0x116069(273)](){const e=_0x116069;!storageManager[e(242)]&&(storageManager[e(242)]=cryptoHelper[e(267)]()),!storageManager[e(252)]&&(storageManager.initialDate=Utils[e(280)](new Date)),!storageManager.clientSessionId&&(storageManager[e(228)]=cryptoHelper.generateUUID())}checkDeepLinks(){return __awaiter(this,void 0,void 0,function*(){const e=_0x21dc;for(const t of storageManager[e(253)])yield this[e(275)](t)})}[_0x116069(275)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x21dc;if(!this[t(237)])return WTLogger[t(250)]("Failed to create click-match: SDK is not enabled!");if(!this[t(288)])return WTLogger[t(250)](t(260));const r=storageManager[t(253)];yield this[t(232)]({endpoint:WTEndpoints[t(234)],fBuilder:new ClickMatchFieldsBuilder(e)}),storageManager.unmatchedDeeplinks=r[t(229)](t=>t!==e)})}[_0x116069(297)](){return __awaiter(this,arguments,void 0,function*(e=0){const t=_0x21dc;var r,n;if(e>=100)return WTLogger[t(291)](t(244));if(!this[t(237)])return WTLogger[t(250)](t(293)),new Promise(t=>setTimeout(()=>{t(this.setActivityTimes(e+1))},1e3));if(!this.isRunning)return WTLogger[t(250)](t(298)),new Promise(r=>setTimeout(()=>{r(this[t(297)](e+1))},1e3));if(storageManager[t(235)]&&storageManager[t(246)]){storageManager.inactiveTime=storageManager.lastActiveTime;const e=storageManager[t(246)]-storageManager[t(295)];storageManager[t(276)]+=e,WTLogger[t(250)](t(301)+e/1e3+t(256)+storageManager[t(276)]/1e3+"s Totaly)");const i=null===(r=storageManager.config)||void 0===r?void 0:r.sessionInterval,s=null===(n=storageManager.config)||void 0===n?void 0:n[t(270)];i&&s&&(e>1e3*parseInt(i)?(storageManager.sessionCount+=1,storageManager[t(251)]=cryptoHelper[t(267)](),yield this[t(232)]({endpoint:WTEndpoints[t(310)]}),storageManager[t(308)]=Utils.formattedDate(new Date),storageManager[t(228)]=storageManager.nextClientSessionId,storageManager[t(251)]=null,storageManager[t(303)]=0,storageManager[t(276)]=0,storageManager[t(258)]=1):e>1e3*parseInt(s)&&(storageManager.subSessionCount+=1))}storageManager.lastActiveTime=Date[t(264)](),lifecycleOvserver[t(286)]()})}[_0x116069(290)](){const e=_0x116069;lifecycleOvserver[e(257)]=()=>__awaiter(this,void 0,void 0,function*(){const t=e;this.isRunning&&(storageManager.appStartTime=Date[t(264)](),yield this[t(297)](),this.createAttribution())}),lifecycleOvserver.onClickMatchHandler=t=>{this[e(275)](t)},lifecycleOvserver[e(285)]()}}const tracker=new WTTracker,_0x526191=_0x55cf;function _0x55cf(e,t){const r=_0xb2d2();return(_0x55cf=function(e,t){return r[e-=397]})(e,t)}function _0xb2d2(){const e=["‼️ Start Tracking: SDK is not initialized yet","warn","deeplink","5584472pzgNnQ","‼️ ClientSecret is empty!","3377560LEpWbt","setEnabled","setFCMToken","appDeeplink","15271524VQZBbc","3575832pPDQjD","7DKEtWR","clientSecret","_instance","startTracking","instance","864532OJBKfk","WiseTrack is already initialized!","appToken","5391756KbAuHv","trackEvent","Clearing Data and stop tracker!","config","sdkInitialized","checkPushToken","logLevel","performInitialization","stopTracking","5kIlJNH","trim","deferredData","info","error","sdkEnabled","initializationPromise","getDeferredDeeplink","Track Event: SDK is not enabled!","flush","configureSDK","SDK is disabled form server, contact your adminstrator!","setLogLevel","setLevel","‼️ AppToken is empty!","‼️ Track Event: SDK is not initialized yet","clear","startTrackerAutomatically","setOnDeeplinkListener","init","719123SHaBIe"];return(_0xb2d2=function(){return e})()}!function(){const e=_0x55cf,t=_0xb2d2();for(;;)try{if(903986===parseInt(e(422))/1+parseInt(e(439))/2+-parseInt(e(433))/3+parseInt(e(428))/4+-parseInt(e(402))/5*(parseInt(e(442))/6)+parseInt(e(434))/7*(-parseInt(e(426))/8)+parseInt(e(432))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WiseTrack{static get[_0x526191(438)](){const e=_0x526191;return!WiseTrack._instance&&(WiseTrack[e(436)]=new WiseTrack),WiseTrack[e(436)]}constructor(){const e=_0x526191;this[e(397)]=!1,this[e(408)]=null}[_0x526191(421)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x55cf;if(this[t(408)])return this[t(408)];if(this[t(397)])WTLogger[t(405)](t(440));else if(""!==e[t(441)][t(403)]()){if(""!==e[t(435)][t(403)]())return e[t(399)]&&WTLogger[t(415)](e[t(399)]),this[t(408)]=this[t(400)](e),tracker.initialize(),this[t(408)];WTLogger[t(406)](t(427))}else WTLogger.error(t(416))})}[_0x526191(400)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x55cf;var r,n;try{yield configure[t(412)](e),this[t(397)]=!0;if(null===(r=e[t(419)])||void 0===r||r){const r=1e3*(null!==(n=e.trackingWaitingTime)&&void 0!==n?n:0);r>0?setTimeout(()=>this[t(437)](),r):yield this.startTracking()}}catch(e){throw this[t(408)]=null,e}})}[_0x526191(414)](e){WTLogger[_0x526191(415)](e)}[_0x526191(411)](){const e=_0x526191;WTLogger[e(405)](e(444)),storageManager[e(418)](),this.stopTracking()}isEnabled(){return storageManager[_0x526191(407)]}[_0x526191(429)](e){const t=_0x526191,r=storageManager[t(445)];if(!r)throw new Error("Config is not set!");if(!r[t(407)])throw new Error(t(413));storageManager[t(407)]=e}startTracking(){return __awaiter(this,void 0,void 0,function*(){const e=_0x55cf;this[e(397)]?this.isEnabled()?yield tracker[e(437)]():WTLogger[e(424)]("Start Tracking: SDK is not enabled!"):WTLogger[e(424)](e(423))})}[_0x526191(401)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x55cf;yield tracker[e(401)]()})}[_0x526191(430)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x55cf;yield tracker[t(398)](e)})}[_0x526191(443)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x55cf;this[t(397)]?this.isEnabled()?yield tracker[t(443)](e):WTLogger[t(424)](t(410)):WTLogger[t(424)](t(417))})}[_0x526191(420)](e){tracker[_0x526191(420)](e)}getLastDeeplink(){return storageManager[_0x526191(431)]}[_0x526191(409)](){const e=_0x526191;var t;return(null===(t=storageManager[e(404)])||void 0===t?void 0:t[e(425)])||null}}const _0x3cfe92=_0x5250;function _0x5250(e,t){const r=_0x367c();return(_0x5250=function(e,t){return r[e-=295]})(e,t)}!function(){const e=_0x5250,t=_0x367c();for(;;)try{if(589980===-parseInt(e(305))/1*(-parseInt(e(307))/2)+-parseInt(e(313))/3+-parseInt(e(301))/4+-parseInt(e(324))/5*(parseInt(e(300))/6)+parseInt(e(310))/7*(parseInt(e(319))/8)+-parseInt(e(321))/9*(parseInt(e(315))/10)+parseInt(e(303))/11*(parseInt(e(318))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const RevenueCurrency={USD:_0x3cfe92(296),EUR:"EUR",JPY:"JPY",GBP:"GBP",AUD:_0x3cfe92(312),CAD:"CAD",CHF:"CHF",CNY:_0x3cfe92(317),SEK:_0x3cfe92(322),NZD:_0x3cfe92(297),MXN:_0x3cfe92(304),SGD:_0x3cfe92(309),HKD:_0x3cfe92(299),NOK:"NOK",KRW:_0x3cfe92(308),TRY:"TRY",RUB:"RUB",INR:_0x3cfe92(314),BRL:_0x3cfe92(323),ZAR:_0x3cfe92(320),IRR:_0x3cfe92(311),AED:_0x3cfe92(302),IQD:_0x3cfe92(295),SAR:_0x3cfe92(298),OMR:"OMR",BTC:_0x3cfe92(306),EHT:_0x3cfe92(316),LTC:"LTC"};function _0x367c(){const e=["NZD","SAR","HKD","1492968fDrxIg","584972GXBWdJ","AED","44ewojom","MXN","1iBiqFF","BTC","881572HsMKzQ","KRW","SGD","5746783zZIGtB","IRR","AUD","3348864YlrPaf","INR","142660HUXBSU","EHT","CNY","2689944NLbndJ","8DlJCET","ZAR","36IRYtCX","SEK","BRL","5kzVDgt","IQD","USD"];return(_0x367c=function(){return e})()}const _0x563052=_0x71ad;!function(){const e=_0x71ad,t=_0x2484();for(;;)try{if(943945===parseInt(e(448))/1+-parseInt(e(443))/2+-parseInt(e(453))/3+parseInt(e(468))/4*(-parseInt(e(459))/5)+-parseInt(e(461))/6+-parseInt(e(445))/7+parseInt(e(442))/8)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTEventValidationError extends Error{constructor(e){const t=_0x71ad;super(e),this[t(444)]=t(462)}}class WTEventValidator{static containsSQLInjection(e){const t=_0x71ad;return this[t(454)].some(r=>r[t(469)](e))}static containsScriptInjection(e){const t=_0x71ad;return this[t(439)].some(r=>r[t(469)](e))}static containsDangerousChars(e){const t=_0x71ad;return this.DANGEROUS_CHARS[t(438)](r=>e[t(463)](r))}static[_0x563052(449)](e){const t=_0x563052;if(this[t(466)](e))return!0;if(this.containsScriptInjection(e))return!0;if(this[t(464)](e))return!0;try{const t=decodeURIComponent(e);if(t!==e&&this.isMaliciousContent(t))return!0}catch(e){}return!1}static validateKey(e){const t=_0x563052;if(!e||typeof e!==t(457))throw new WTEventValidationError(t(441));if(e[t(456)]>this[t(458)])throw new WTEventValidationError("Key length must not exceed "+this[t(458)]+t(440));if(e===this[t(455)])throw new WTEventValidationError("Key cannot be '"+this.FORBIDDEN_KEY+"'");if(this.isMaliciousContent(e))throw new WTEventValidationError(t(451)+e+t(460))}static[_0x563052(447)](e){const t=_0x563052;if(null==e)throw new WTEventValidationError(t(467));const r=String(e);if(r[t(456)]>this[t(458)])throw new WTEventValidationError(t(465)+this[t(458)]+t(440));if(this[t(449)](r))throw new WTEventValidationError(t(446)+e+t(460))}}function _0x71ad(e,t){const r=_0x2484();return(_0x71ad=function(e,t){return r[e-=438]})(e,t)}function _0x2484(){const e=['key "',"DANGEROUS_CHARS","465495QxhBag","SQL_INJECTION_PATTERNS","FORBIDDEN_KEY","length","string","MAX_LENGTH","5tSidfX",'" is not valid. Please use different characters',"2029308faZFXT","WTEventValidationError","includes","containsDangerousChars","Value length must not exceed ","containsSQLInjection","Value cannot be null or undefined","4365860dvkNXG","test","some","SCRIPT_INJECTION_PATTERNS"," characters","Key must be a non-empty string","35289464qQfoMr","3042896NibuFE","name","11563279VUKPlV",'value "',"validateValue","1290955PwIcur","isMaliciousContent","no_parameters"];return(_0x2484=function(){return e})()}WTEventValidator[_0x563052(458)]=50,WTEventValidator[_0x563052(455)]=_0x563052(450),WTEventValidator[_0x563052(454)]=[/(\b(SELECT|INSERT|UPDATE|DELETE|DROP|CREATE|ALTER|EXEC|UNION|SCRIPT)\b)/i,/(--|\#|\/\*|\*\/)/,/(\b(OR|AND)\b\s+\d+\s*=\s*\d+)/i,/(\'|\";|\"|\')(\s)*(OR|AND|UNION|SELECT|INSERT|UPDATE|DELETE)/i,/(\bor\b\s+\d+\s*=\s*\d+)/i,/(\bunion\b.*\bselect\b)/i,/(sleep\(|waitfor\s+delay)/i],WTEventValidator[_0x563052(439)]=[/<script[^>]*>.*?<\/script>/i,/javascript:/i,/on(load|click|error|focus|blur|change|submit|mouseover|keyup|keydown)\s*=/i,/<iframe[^>]*>.*?<\/iframe>/i,/<object[^>]*>.*?<\/object>/i,/<embed[^>]*>/i,/vbscript:/i,/expression\s*\(/i,/<svg[^>]*on\w+\s*=/i,/data:text\/html/i],WTEventValidator[_0x563052(452)]=["\0","\b","\t","","\n","\r",'"',"'","\\","%"];const _0x17c9d3=_0x4d68;function _0x5a20(){const e=["2268972jAostw","996756jExfbN","218897qeolSv","15869DxDdYj","63ebbcGJ","amount","revenueEvent",'WTEvent validation failed for key "',"72tOQZdY","915447xHyYZW","validateKey","revenue","validateValue","4495494RUjYoW","entries","type","198QpQYbC","validateAndSetParams","warn","message","98jrDegp","5fdZIpY","params",'": ',"497450ydaEHX"];return(_0x5a20=function(){return e})()}function _0x4d68(e,t){const r=_0x5a20();return(_0x4d68=function(e,t){return r[e-=332]})(e,t)}!function(){const e=_0x4d68,t=_0x5a20();for(;;)try{if(399256===-parseInt(e(335))/1*(-parseInt(e(352))/2)+parseInt(e(341))/3+-parseInt(e(332))/4+-parseInt(e(353))/5*(-parseInt(e(345))/6)+-parseInt(e(334))/7*(-parseInt(e(340))/8)+-parseInt(e(336))/9*(-parseInt(e(356))/10)+parseInt(e(348))/11*(-parseInt(e(333))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTEvent{constructor(e,t,r,n,i){const s=_0x4d68;this[s(347)]=e,this.name=t,this[s(337)]=r,this.currency=n,this.params={},i&&this[s(349)](i)}static defaultEvent(e,t){return new WTEvent("default",e,void 0,void 0,t)}static[_0x17c9d3(338)](e,t,r,n){return new WTEvent(_0x17c9d3(343),e,t,r,n)}validateAndSetParams(e){const t=_0x17c9d3;for(const[r,n]of Object[t(346)](e))try{WTEventValidator[t(342)](r),WTEventValidator[t(344)](n),this[t(354)][r]=n}catch(e){if(e instanceof WTEventValidationError)throw WTLogger[t(350)](t(339)+r+t(355)+e[t(351)]),e;throw e}}}function _0x2367(e,t){var r=_0x4344();return(_0x2367=function(e,t){return r[e-=232]})(e,t)}function _0x4344(){var e=["7779780VLgdrU","36YXnuih","1258114UueYnJ","211jfJbJr","2194450vQuoSU","7Xwqihy","231qLVfGb","2355224yLsVjy","2992210JDoUzO","19004nGlPLJ","8146JdUAbE"];return(_0x4344=function(){return e})()}!function(){for(var e=_0x2367,t=_0x4344();;)try{if(706057===-parseInt(e(233))/1*(-parseInt(e(240))/2)+parseInt(e(236))/3*(parseInt(e(239))/4)+-parseInt(e(234))/5+parseInt(e(241))/6+-parseInt(e(235))/7*(parseInt(e(237))/8)+-parseInt(e(242))/9*(parseInt(e(238))/10)+parseInt(e(232))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}(),exports.ResourceWrapper=ResourceWrapper,exports.RevenueCurrency=RevenueCurrency,exports.WTEvent=WTEvent,exports.WTLogLevel=WTLogLevel,exports.WTLogger=WTLogger,exports.WTUserEnvironment=WTUserEnvironment,exports.WiseTrack=WiseTrack;