wisetrack 2.0.7 → 2.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";const _0x266c5a=_0x1f63;function _0x1f63(e,t){const r=_0x11ec();return(_0x1f63=function(e,t){return r[e-=409]})(e,t)}function _0x11ec(){const e=["4948440gwBfdi","2.0.7","920NvDezY","5925DMXDRA","3016ggaakA","1595dkKfcE","67026YldCJU","3CuNMHn","2365354EXJCZI","10449BfMcJj","info","1800","127812OURjOk","854KPorOh","640985RaPOez","300"];return(_0x11ec=function(){return e})()}!function(){const e=_0x1f63,t=_0x11ec();for(;;)try{if(892320===-parseInt(e(413))/1+-parseInt(e(423))/2*(-parseInt(e(422))/3)+parseInt(e(419))/4*(parseInt(e(418))/5)+-parseInt(e(421))/6*(-parseInt(e(412))/7)+parseInt(e(417))/8*(parseInt(e(424))/9)+-parseInt(e(415))/10+-parseInt(e(420))/11*(parseInt(e(411))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTConstants={SDK:{PLATFORM:"web",VERSION:_0x266c5a(416)},CONFIG:{DEFAULT_ENVIRONMENT:"production"},DEFAULTS:{LOG_LEVEL:_0x266c5a(409),SESSION_INTERVAL:_0x266c5a(410),SUBSESSION_INTERVAL:_0x266c5a(414),PARAMETERS_VALUE:void 0}},_0xaac5dc=_0x179e;!function(){const e=_0x179e,t=_0x4e99();for(;;)try{if(431587===parseInt(e(426))/1*(parseInt(e(439))/2)+-parseInt(e(432))/3+parseInt(e(421))/4*(-parseInt(e(424))/5)+parseInt(e(417))/6*(-parseInt(e(436))/7)+-parseInt(e(422))/8*(parseInt(e(433))/9)+-parseInt(e(415))/10+parseInt(e(430))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();function _0x179e(e,t){const r=_0x4e99();return(_0x179e=function(e,t){return r[e-=415]})(e,t)}const WTLogLevel={DEBUG:_0xaac5dc(416),INFO:_0xaac5dc(440),WARN:"warn",ERROR:"error",NONE:"none"};function _0x4e99(){const e=["error","224lxgNwB","4285784eCgqed","log","1935NbkDGB","warn","14BCzwYP","setLevel","prefix","shouldLog","12687961idcOgb","toUpperCase","372618CDQbCV","9iUWiXo","level","outputEngines","2684822WsaVGc","indexOf","setPrefix","51694MIxMwf","info","DEFAULTS","185750fOzonO","debug","6xIUelF","push","addOutputEngine"];return(_0x4e99=function(){return e})()}class WTLogger{static[_0xaac5dc(427)](e){this[_0xaac5dc(434)]=e}static[_0xaac5dc(438)](e){this[_0xaac5dc(428)]=e}static[_0xaac5dc(419)](e){const t=_0xaac5dc;this[t(435)][t(418)](e)}static[_0xaac5dc(429)](e){const t=_0xaac5dc,r=[t(416),t(440),t(425),t(420)],n=r[t(437)](this[t(434)]);return r[t(437)](e)>=n}static[_0xaac5dc(423)](e,...t){const r=_0xaac5dc;if(!this[r(429)](e))return;const n="["+this[r(428)]+"-"+e[r(431)]()+"]";for(const i of this[r(435)])i(e,n,t)}static[_0xaac5dc(416)](...e){const t=_0xaac5dc;this[t(423)](t(416),...e)}static[_0xaac5dc(440)](...e){const t=_0xaac5dc;this[t(423)](t(440),...e)}static[_0xaac5dc(425)](...e){const t=_0xaac5dc;this[t(423)](t(425),...e)}static error(...e){this.log("error",...e)}}function _0x347f(){var e=["ACTIVE_TIME","false","DEVICE_ID","activeDuration","PENDING_REQUEST_QUEUE","getJson","440150BYDgbg","pushToken","setItem","optionalBool","REQUEST_QUEUE","SDK_ENVIRONMENT","initialDate","1884933CGxXHa","SESSION_LENGTH","true","sdkEnvironment","SDK_CLICK_SUBMIT","FCM_TOKEN","config","WT.RequestQueue","sdkClickSubmit","WT.InitialConfigs","optionalNumber","WT.SubSessionCount","setJson","WT.FirstSessionSubmit","FIRST_SESSION_SUBMIT","EVENT_COUNT","getItem","WT.SdkEnabled","WT.SdkClickSubmit","SDK_ENABLED","WT.SessionLenght","PUSH_TOKEN","867062pHJeWv","toString","WT.Configs","SESSION_COUNT","INITIAL_CONFIG","inactiveTime","Error in encoding object for key '","sdkEnabled","WT.SdkEnvironment","': ","INACTIVE_TIME","WT.ActiveTime","initialConfig","fcmToken","subSessionCount","6158728cgIhpe","activeTime","1UrkVTy","3095451tmUuPl","WT.DeviceId","pendingRequestRecords","sessionCount","Error in JSON decoding for key '","INITIAL_DATE","error","removeItem","WT.InitialDate","SUBSESSION_COUNT","INACTIVE_DURATION","2661114NACcDF","CONFIG","eventCount","deviceId","WT.InactiveTime","32SJhgfk","inactiveDuration","parse","firstSessionSubmit","WT.InactiveDuration","788724jSXyos","requestRecords","clear"];return(_0x347f=function(){return e})()}WTLogger[_0xaac5dc(434)]=WTConstants[_0xaac5dc(441)].LOG_LEVEL,WTLogger[_0xaac5dc(428)]="WT",WTLogger[_0xaac5dc(435)]=[(e,t,r)=>{const n=_0x179e;switch(e){case"debug":console[n(416)](t,...r);break;case n(440):console[n(440)](t,...r);break;case n(425):console[n(425)](t,...r);break;case n(420):console[n(420)](t,...r);break;default:console[n(423)](t,...r)}}];var _0x5a1d6c=_0x1038;function _0x1038(e,t){var r=_0x347f();return(_0x1038=function(e,t){return r[e-=343]})(e,t)}!function(){for(var e=_0x1038,t=_0x347f();;)try{if(778916===parseInt(e(410))/1*(parseInt(e(355))/2)+parseInt(e(371))/3+parseInt(e(408))/4+-parseInt(e(364))/5+-parseInt(e(345))/6+parseInt(e(393))/7+parseInt(e(350))/8*(-parseInt(e(411))/9))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTStorageKeys={DEVICE_ID:_0x5a1d6c(412),INITIAL_DATE:_0x5a1d6c(419),INITIAL_CONFIG:_0x5a1d6c(380),SDK_ENVIRONMENT:_0x5a1d6c(401),CONFIG:_0x5a1d6c(395),SDK_CLICK_SUBMIT:_0x5a1d6c(389),FIRST_SESSION_SUBMIT:_0x5a1d6c(384),SDK_ENABLED:_0x5a1d6c(388),FCM_TOKEN:"WT.FcmToken",PUSH_TOKEN:"WT.PushToken",EVENT_COUNT:"WT.EventCount",SESSION_COUNT:"WT.SessionCount",SESSION_LENGTH:_0x5a1d6c(391),SUBSESSION_COUNT:_0x5a1d6c(382),ACTIVE_TIME:_0x5a1d6c(404),INACTIVE_TIME:_0x5a1d6c(349),INACTIVE_DURATION:_0x5a1d6c(354),REQUEST_QUEUE:_0x5a1d6c(378),PENDING_REQUEST_QUEUE:"WT.PendingRequestQueue"};class StorageManager{clear(){localStorage[_0x5a1d6c(357)]()}[_0x5a1d6c(383)](e,t){var r=_0x5a1d6c;if(t)try{const n=JSON.stringify(t);localStorage[r(366)](e,n)}catch(t){WTLogger.error(r(399)+e+"'",t)}else localStorage[r(418)](e)}getJson(e){var t=_0x5a1d6c;const r=localStorage[t(387)](e);if(!r)return null;try{return JSON[t(352)](r)}catch(r){return WTLogger[t(417)](t(415)+e+t(402)+r,r),null}}[_0x5a1d6c(381)](e){const t=localStorage[_0x5a1d6c(387)](e);if(null===t)return null;const r=Number(t);return isNaN(r)?null:r}[_0x5a1d6c(367)](e){var t=_0x5a1d6c;const r=localStorage.getItem(e);return null===r?null:r===t(373)||r!==t(359)&&null}get[_0x5a1d6c(348)](){var e=_0x5a1d6c;return localStorage.getItem(WTStorageKeys[e(360)])}set[_0x5a1d6c(348)](e){var t=_0x5a1d6c;e?localStorage.setItem(WTStorageKeys[t(360)],e):localStorage[t(418)](WTStorageKeys[t(360)])}get[_0x5a1d6c(370)](){var e=_0x5a1d6c;return this[e(363)](WTStorageKeys[e(416)])}set[_0x5a1d6c(370)](e){var t=_0x5a1d6c;this[t(383)](WTStorageKeys[t(416)],e)}get[_0x5a1d6c(405)](){var e=_0x5a1d6c;return this[e(363)](WTStorageKeys[e(397)])}set[_0x5a1d6c(405)](e){var t=_0x5a1d6c;this[t(383)](WTStorageKeys[t(397)],e)}get[_0x5a1d6c(377)](){var e=_0x5a1d6c;return this.getJson(WTStorageKeys[e(346)])}set[_0x5a1d6c(377)](e){var t=_0x5a1d6c;this[t(383)](WTStorageKeys[t(346)],e)}get[_0x5a1d6c(400)](){var e,t=_0x5a1d6c;return null!==(e=this[t(367)](WTStorageKeys[t(390)]))&&void 0!==e&&e}set sdkEnabled(e){var t=_0x5a1d6c;localStorage[t(366)](WTStorageKeys[t(390)],e[t(394)]())}get[_0x5a1d6c(379)](){var e,t=_0x5a1d6c;return null!==(e=this[t(367)](WTStorageKeys[t(375)]))&&void 0!==e&&e}set sdkClickSubmit(e){var t=_0x5a1d6c;localStorage.setItem(WTStorageKeys[t(375)],e[t(394)]())}get[_0x5a1d6c(353)](){var e,t=_0x5a1d6c;return null!==(e=this[t(367)](WTStorageKeys[t(385)]))&&void 0!==e&&e}set[_0x5a1d6c(353)](e){var t=_0x5a1d6c;localStorage[t(366)](WTStorageKeys[t(385)],e[t(394)]())}get[_0x5a1d6c(406)](){var e=_0x5a1d6c;return localStorage[e(387)](WTStorageKeys[e(376)])}set fcmToken(e){var t=_0x5a1d6c;e?localStorage.setItem(WTStorageKeys[t(376)],e):localStorage.removeItem(WTStorageKeys.FCM_TOKEN)}get[_0x5a1d6c(365)](){var e=_0x5a1d6c;return localStorage.getItem(WTStorageKeys[e(392)])}set[_0x5a1d6c(365)](e){var t=_0x5a1d6c;e?localStorage[t(366)](WTStorageKeys[t(392)],e):localStorage.removeItem(WTStorageKeys[t(392)])}get[_0x5a1d6c(414)](){var e,t=_0x5a1d6c;return null!==(e=this.optionalNumber(WTStorageKeys[t(396)]))&&void 0!==e?e:1}set[_0x5a1d6c(414)](e){var t=_0x5a1d6c;localStorage.setItem(WTStorageKeys[t(396)],e[t(394)]())}get[_0x5a1d6c(407)](){var e,t=_0x5a1d6c;return null!==(e=this[t(381)](WTStorageKeys[t(343)]))&&void 0!==e?e:1}set[_0x5a1d6c(407)](e){var t=_0x5a1d6c;localStorage[t(366)](WTStorageKeys[t(343)],e[t(394)]())}get[_0x5a1d6c(361)](){var e,t=_0x5a1d6c;return null!==(e=this.optionalNumber(WTStorageKeys[t(372)]))&&void 0!==e?e:0}set[_0x5a1d6c(361)](e){var t=_0x5a1d6c;localStorage[t(366)](WTStorageKeys[t(372)],e[t(394)]())}get[_0x5a1d6c(351)](){var e;return null!==(e=this[_0x5a1d6c(381)](WTStorageKeys.INACTIVE_DURATION))&&void 0!==e?e:0}set inactiveDuration(e){var t=_0x5a1d6c;localStorage.setItem(WTStorageKeys[t(344)],e[t(394)]())}get inactiveTime(){var e=_0x5a1d6c;return this.optionalNumber(WTStorageKeys[e(358)])}set[_0x5a1d6c(398)](e){var t=_0x5a1d6c;null!==e?localStorage[t(366)](WTStorageKeys[t(358)],e[t(394)]()):localStorage[t(418)](WTStorageKeys[t(358)])}get[_0x5a1d6c(409)](){return this[_0x5a1d6c(381)](WTStorageKeys.INACTIVE_TIME)}set[_0x5a1d6c(409)](e){var t=_0x5a1d6c;null!==e?localStorage.setItem(WTStorageKeys[t(403)],e[t(394)]()):localStorage.removeItem(WTStorageKeys[t(403)])}get requestRecords(){var e,t=_0x5a1d6c;return null!==(e=this[t(363)](WTStorageKeys[t(368)]))&&void 0!==e?e:[]}set[_0x5a1d6c(356)](e){var t=_0x5a1d6c;this[t(383)](WTStorageKeys[t(368)],e)}get[_0x5a1d6c(413)](){var e,t=_0x5a1d6c;return null!==(e=this.getJson(WTStorageKeys[t(362)]))&&void 0!==e?e:[]}set[_0x5a1d6c(413)](e){var t=_0x5a1d6c;this[t(383)](WTStorageKeys[t(362)],e)}get[_0x5a1d6c(347)](){var e,t=_0x5a1d6c;return null!==(e=this[t(381)](WTStorageKeys[t(386)]))&&void 0!==e?e:0}set[_0x5a1d6c(347)](e){var t=_0x5a1d6c;localStorage[t(366)](WTStorageKeys[t(386)],e[t(394)]())}get[_0x5a1d6c(374)](){var e=_0x5a1d6c;return localStorage[e(387)](WTStorageKeys[e(369)])}set[_0x5a1d6c(374)](e){var t=_0x5a1d6c;localStorage[t(366)](WTStorageKeys[t(369)],e)}}const storageManager=new StorageManager,_0x217d92=_0x5c6f;!function(){const e=_0x5c6f,t=_0x3c8f();for(;;)try{if(904464===-parseInt(e(162))/1*(-parseInt(e(164))/2)+parseInt(e(174))/3+parseInt(e(176))/4+-parseInt(e(177))/5*(-parseInt(e(169))/6)+parseInt(e(168))/7+-parseInt(e(155))/8*(parseInt(e(159))/9)+parseInt(e(160))/10*(-parseInt(e(167))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class SecureConfig{static[_0x217d92(161)](e){const t=_0x217d92;try{const r=atob(e);let n="";for(let e=0;e<r[t(172)];e++){const i=90^r[t(173)](e);n+=String[t(157)](i)}return n}catch(e){return console.error(t(170),e),""}}static get[_0x217d92(165)](){const e=_0x217d92;return this[e(161)](e(156))}static get[_0x217d92(171)](){const e=_0x217d92;return this[e(161)](e(158))}static get[_0x217d92(166)](){const e=_0x217d92;return this[e(161)](e(178))}static get[_0x217d92(175)](){const e=_0x217d92;return this[e(161)](e(163))}}function _0x5c6f(e,t){const r=_0x3c8f();return(_0x5c6f=function(e,t){return r[e-=155]})(e,t)}function _0x3c8f(){const e=["253181ILajdF","Mi4uKilgdXU5NSg/dC0zKT8uKDs5MXQzNQ==","2yaIvZV","CONFIG_PATH","STAGE_BASE_URL","10478809ygSoMl","5134759xKpfZP","89022JzzQQl","Decode error:","DEBUG_BASE_URL","length","charCodeAt","2158899qhnURe","PRODUCTION_BASE_URL","884276cFJkYm","480zvmnof","Mi4uKilgdXU5NSg/dCkuOz0/dC0zKT8uKDs5MT4/LHQzKA==","24DGWtEL","dTsqM3U9Py53OTU0PDM9","fromCharCode","Mi4uKilgdXU5NSg/dD4/OC89dC0zKT8uKDs5MT4/LHQzKA==","1626210bQhsgl","20YQRQyE","decode"];return(_0x3c8f=function(){return e})()}const _0x41fc43=_0x174b;function _0x4e05(){const e=["stage","23432aqnBNJ","5838wjVeOl","883218qOuGbp","STAGE_BASE_URL","sandbox","PRODUCTION_BASE_URL","8960jycmcm","177154gbsolp","Unknown environment: ","DEFAULT_ENVIRONMENT","77CzwRPx","52pvqdjK","24FTvWkF","sdkEnvironment","885SatXnu","64236knEGJC","CONFIG","DEBUG_BASE_URL","debug","2061rcOorg","DEBUG","1JdGeQI","production","385akxozE","104607CGknvw"];return(_0x4e05=function(){return e})()}function _0x174b(e,t){const r=_0x4e05();return(_0x174b=function(e,t){return r[e-=376]})(e,t)}!function(){const e=_0x174b,t=_0x4e05();for(;;)try{if(111144===parseInt(e(399))/1*(-parseInt(e(385))/2)+-parseInt(e(376))/3*(parseInt(e(390))/4)+parseInt(e(392))/5*(-parseInt(e(379))/6)+-parseInt(e(401))/7*(-parseInt(e(378))/8)+-parseInt(e(397))/9*(-parseInt(e(384))/10)+-parseInt(e(388))/11*(parseInt(e(393))/12)+parseInt(e(389))/13*(parseInt(e(380))/14))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTUserEnvironment={SANDBOX:_0x41fc43(382),PRODUCTION:_0x41fc43(400)},WTSDKEnvironment={DEBUG:_0x41fc43(396),STAGE:_0x41fc43(377),PRODUCTION:_0x41fc43(400)},EnvironmentUtils={get sdkEnvironment(){const e=_0x41fc43;var t;return null!==(t=storageManager[e(391)])&&void 0!==t?t:WTConstants[e(394)][e(387)]},get needResponseDetails(){return this[_0x41fc43(391)]!==WTSDKEnvironment.PRODUCTION},get baseUrl(){const e=_0x41fc43;switch(this[e(391)]){case WTSDKEnvironment[e(398)]:return SecureConfig[e(395)];case WTSDKEnvironment.STAGE:return SecureConfig[e(381)];case WTSDKEnvironment.PRODUCTION:return SecureConfig[e(383)];default:throw new Error(e(386)+this.sdkEnvironment)}}};function _0x49f1(){var e=["7011Tzysrd","10nSzCcu","1812228ENcgDt","1070IrhnCk","995378dYoJyr","1037076vmFOLk","818406dfRADR","1MVrtkh","10493lpQKRw","2575215NWZlGj","2984XJISOI","sdkEnvironment"];return(_0x49f1=function(){return e})()}var _0x81fed4=_0x2530;function _0x2530(e,t){var r=_0x49f1();return(_0x2530=function(e,t){return r[e-=340]})(e,t)}!function(){for(var e=_0x2530,t=_0x49f1();;)try{if(513005===-parseInt(e(348))/1*(parseInt(e(345))/2)+parseInt(e(350))/3+-parseInt(e(346))/4*(parseInt(e(342))/5)+-parseInt(e(347))/6+parseInt(e(349))/7*(parseInt(e(351))/8)+-parseInt(e(341))/9*(-parseInt(e(344))/10)+parseInt(e(343))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class ResourceWrapper{static[_0x81fed4(340)](e){var t=_0x81fed4;try{storageManager[t(340)]=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"==typeof SuppressedError&&SuppressedError;const _0xb85ded=_0x3266;function _0x3266(e,t){const r=_0x82fd();return(_0x3266=function(e,t){return r[e-=355]})(e,t)}!function(){const e=_0x3266,t=_0x82fd();for(;;)try{if(314171===-parseInt(e(356))/1+parseInt(e(358))/2*(-parseInt(e(367))/3)+parseInt(e(357))/4*(-parseInt(e(365))/5)+-parseInt(e(361))/6+parseInt(e(362))/7+parseInt(e(364))/8*(parseInt(e(366))/9)+parseInt(e(363))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTEndpoints={EVENTS:_0xb85ded(360),SESSIONS:_0xb85ded(368),SDK_CLICKS:"/api/v1/sdk_clicks",SDK_INFOS:_0xb85ded(359),ATTRIBUTIONS:_0xb85ded(355),APP_SETTINGS:"/api/v1/app_settings"};function _0x82fd(){const e=["/api/v1/sessions","/api/v1/attributions","45111jRJsXS","448204ZRAkWg","117758prVvxY","/api/v1/sdk_infos","/api/v1/events","39852XRNqAX","2081835PkqhFf","1442700cpnJNt","11848OcPHOQ","20cqYyAt","2979xvNEzZ","6viFbLB"];return(_0x82fd=function(){return e})()}var ApiError,_0x129a4f=_0x1007;function _0x1007(e,t){var r=_0x597a();return(_0x1007=function(e,t){return r[e-=244]})(e,t)}function _0x597a(){var e=["179184eKxCUK","SESSION_INTERVAL","session_interval","5278332xTvpdP","subsessionInterval","7192863CCZzVJ","757060JYapBz","events","SUBSESSION_INTERVAL","222CvRNuD","attributions","715883uYJXYZ","sdk_infos","fromJson","ATTRIBUTIONS","2912690APbSnv","SDK_CLICKS","sdkUpdate","sdkClicks","subsession_interval","DEFAULTS","37556LfsAqn","defaultValue","8MkurMT","SESSIONS","EVENTS","sdk_update"];return(_0x597a=function(){return e})()}!function(){for(var e=_0x1007,t=_0x597a();;)try{if(631610===-parseInt(e(257))/1+parseInt(e(251))/2+-parseInt(e(260))/3*(-parseInt(e(245))/4)+parseInt(e(266))/5+-parseInt(e(254))/6+-parseInt(e(262))/7*(-parseInt(e(247))/8)+parseInt(e(256))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTConfig{constructor(e,t,r,n,i,s=!0,a=!1,o=WTConstants.DEFAULTS[_0x129a4f(252)],c=WTConstants[_0x129a4f(244)][_0x129a4f(259)]){var u=_0x129a4f;this[u(258)]=e,this.sessions=t,this[u(269)]=r,this.sdkInfos=n,this[u(261)]=i,this.sdkEnabled=s,this[u(268)]=a,this.sessionInterval=o,this[u(255)]=c}static[_0x129a4f(264)](e){var t,r,n,i,s=_0x129a4f;return new WTConfig(e[s(258)],e.sessions,e.sdk_clicks,e[s(263)],e[s(261)],null===(t=e.sdk_enabled)||void 0===t||t,null!==(r=e[s(250)])&&void 0!==r&&r,null!==(n=e[s(253)])&&void 0!==n?n:WTConstants[s(244)][s(252)],null!==(i=e[s(270)])&&void 0!==i?i:WTConstants[s(244)].SUBSESSION_INTERVAL)}static get[_0x129a4f(246)](){var e=_0x129a4f;return new WTConfig(WTEndpoints[e(249)],WTEndpoints[e(248)],WTEndpoints[e(267)],WTEndpoints.SDK_INFOS,WTEndpoints[e(265)],!0,!1,WTConstants[e(244)][e(252)],WTConstants.DEFAULTS[e(259)])}}function _0x29db(){var e=["6798744OrkCqY","DecodingError","NetworkError","name","92ivYszI","1451665pCTeTh","36661140SgjUmj","InvalidUrl","Invalid URL: ","9lOPqAi","8600zJvRuJ","ServerError","407828APwmea","6062dEvfEg","message","NetworkError: ","ServerError ","60865ldaYMu","12637944nLhQxf","DecodingError: ","statusCode"];return(_0x29db=function(){return e})()}function _0x5d6b(e,t){var r=_0x29db();return(_0x5d6b=function(e,t){return r[e-=321]})(e,t)}!function(){for(var e=_0x5d6b,t=_0x29db();;)try{if(757768===parseInt(e(321))/1+parseInt(e(328))/2*(-parseInt(e(325))/3)+-parseInt(e(341))/4*(parseInt(e(333))/5)+-parseInt(e(337))/6+-parseInt(e(329))/7*(parseInt(e(326))/8)+-parseInt(e(334))/9+parseInt(e(322))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}(),function(e){var t=_0x5d6b;class r extends Error{constructor(e){var t=_0x5d6b;super(t(324)+e),this[t(340)]=t(323)}}e[t(323)]=r;class n extends Error{constructor(e,r){var n=t;super(n(332)+e+": "+r),this[n(336)]=e,this[n(330)]=r,this[n(340)]=n(327)}}e.ServerError=n;class i extends Error{constructor(e){super(t(331)+e),this.name="NetworkFailure"}}e[t(339)]=i;class s extends Error{constructor(e){var r=t;super(r(335)+e),this.name=r(338)}}e[t(338)]=s}(ApiError||(ApiError={}));var _0x104d82=_0x5a6e;function _0x5a6e(e,t){var r=_0x3b92();return(_0x5a6e=function(e,t){return r[e-=100]})(e,t)}function _0x3b92(){var e=["maxRetries","368DZrDoh","26755GSmLjs","1451166fomnoR","5674330ggtMEy","279158ibXcKm","waitBeforeRetry","419076fJXQmP","2892411HqFaqc","331720omlewg","8oTrFgE","14xiqlCD","retryInterval","canRetry"];return(_0x3b92=function(){return e})()}!function(){for(var e=_0x5a6e,t=_0x3b92();;)try{if(299805===parseInt(e(102))/1+parseInt(e(107))/2*(-parseInt(e(104))/3)+parseInt(e(112))/4*(parseInt(e(113))/5)+-parseInt(e(100))/6+-parseInt(e(108))/7*(-parseInt(e(106))/8)+-parseInt(e(105))/9+parseInt(e(101))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RetryPolicy{constructor(e=3,t=2e3){var r=_0x5a6e;this[r(111)]=e,this[r(109)]=t}[_0x104d82(110)](e){return e<this[_0x104d82(111)]}[_0x104d82(103)](){return __awaiter(this,void 0,void 0,function*(){var e=_0x5a6e;return new Promise(t=>setTimeout(t,this[e(109)]))})}}function _0x4c19(){const e=["-- PARAMETERS =>","8YlZQEb","message","application/json","retryAttempt","method","NetworkError","48udRpmb","assign","debug","463103inLfrV","retryPolicy","14zVrhZM",") =>","params","Unknown error","4850541UstZrm","Server error","waitBeforeRetry","DecodingError","9249196Dqedty","8UpqwPg","error","Content-Type","1524070dAodFF",") => ","text","InvalidUrl","headers","2624nxpgcw","Request successful","9690lAWgoq","❌ API ERROR (","warn","ServerError","3962766ujMwtp","610398gdZpFV","json","🚀 REQUEST (","status","✅ API SUCCESS ("];return(_0x4c19=function(){return e})()}function _0x16bf(e,t){const r=_0x4c19();return(_0x16bf=function(e,t){return r[e-=199]})(e,t)}!function(){const e=_0x16bf,t=_0x4c19();for(;;)try{if(973448===parseInt(e(216))/1*(-parseInt(e(227))/2)+parseInt(e(201))/3+parseInt(e(235))/4*(parseInt(e(237))/5)+-parseInt(e(200))/6*(parseInt(e(218))/7)+parseInt(e(207))/8*(-parseInt(e(222))/9)+-parseInt(e(230))/10+-parseInt(e(226))/11*(-parseInt(e(213))/12))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=_0x16bf,n=t[r(210)]||1;let i,s;try{i=new URL(e,EnvironmentUtils.baseUrl)}catch(t){throw console.error("Invalid URL:",t),new(ApiError[r(233)])(""+EnvironmentUtils.baseUrl+e)}WTLogger[r(215)](r(203)+n+r(231)+t[r(211)]+" "+e),WTLogger[r(215)](r(206),t[r(220)]||{});const a=Object.assign({Accept:r(209)},t[r(234)]);t[r(220)]&&(a[r(229)]=r(209),s=JSON.stringify(t[r(220)]));try{const e=yield fetch(i,{method:t[r(211)],headers:a,body:s});if(!e.ok){let t=yield e[r(202)](),n=t.message||(yield e[r(232)]());throw WTLogger[r(239)](r(238)+e[r(204)]+r(219),n),new(ApiError[r(199)])(e.status,t[r(208)]||r(223))}try{const t=yield e[r(202)]();return WTLogger[r(215)](r(205)+e[r(204)]+r(219),t[r(208)]||r(236)),t}catch(e){throw new(ApiError[r(225)])(e[r(208)]||String(e))}}catch(i){if(i instanceof ApiError[r(199)]||i instanceof ApiError[r(225)])throw i;if(WTLogger[r(228)]("Error executing request",i),this[r(217)]().canRetry(n))return yield this[r(217)]()[r(224)](),this.sendRequest(e,Object[r(214)](Object[r(214)]({},t),{retryAttempt:n+1}));throw new(ApiError[r(212)])(i[r(208)]||r(221))}})}};function _0x5f2e(){const e=["appFrameWork","740135qjBYyW","VERSION","SDK","sendRequest","toISOString","Initial Config is not set","fromJson","915936aFpgPw","initialConfig","sdk_updated_at","POST","53917rqLyDo","1533258VJkHtC","location","success","hostname","261636pVOJTe","appToken","CONFIG_PATH","needResponseDetails","588345euEFee","515388GnVuEN","PLATFORM"];return(_0x5f2e=function(){return e})()}function _0x5c38(e,t){const r=_0x5f2e();return(_0x5c38=function(e,t){return r[e-=233]})(e,t)}!function(){const e=_0x5c38,t=_0x5f2e();for(;;)try{if(128553===parseInt(e(251))/1+-parseInt(e(256))/2+-parseInt(e(236))/3+parseInt(e(237))/4+parseInt(e(240))/5+parseInt(e(252))/6+-parseInt(e(247))/7)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const apiClient={doGetConfig(){return __awaiter(this,void 0,void 0,function*(){const e=_0x5c38,t=storageManager[e(248)];if(!t)throw e(245);const r={parameters:{app_token:t[e(233)],app_version:t.appVersion,framework:t[e(239)],package_name:window[e(253)][e(255)],platform:WTConstants[e(242)].PLATFORM,sdk_version:WTConstants[e(242)][e(241)],initiated_by:WTConstants[e(242)][e(238)]+"_"+t[e(239)],store_name:"other"}},n=yield networkManager.sendRequest(SecureConfig[e(234)],{method:e(250),params:r});return WTConfig[e(246)](n.result)})},doCallRequest(e,t){return __awaiter(this,void 0,void 0,function*(){const r=_0x5c38;t[r(249)]=(new Date)[r(244)]();return(yield networkManager[r(243)](e,{method:r(250),params:{needs_response_details:EnvironmentUtils[r(235)],parameters:t}}))[r(254)]})}},_0x49f44c=_0x4af5;function _0x4af5(e,t){const r=_0x4cd2();return(_0x4af5=function(e,t){return r[e-=470]})(e,t)}!function(){const e=_0x4af5,t=_0x4cd2();for(;;)try{if(621692===parseInt(e(481))/1+parseInt(e(485))/2*(parseInt(e(474))/3)+-parseInt(e(492))/4*(-parseInt(e(486))/5)+parseInt(e(477))/6+parseInt(e(470))/7*(-parseInt(e(475))/8)+-parseInt(e(491))/9+-parseInt(e(472))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class ActivityTicker{constructor(){const e=_0x4af5;this.tickerDelay=1e3,this[e(490)]=!1}[_0x49f44c(480)](){const e=_0x49f44c;this.tickerJob&&clearInterval(this[e(484)]),this.tickerJob=setInterval(()=>{const t=e;this[t(490)]||document[t(479)]||document[t(482)]()&&(console[t(483)](t(476)+storageManager[t(487)]/1e3+t(488)+storageManager[t(471)]/1e3+"s"),storageManager.activeTime=Date[t(489)](),storageManager[t(487)]+=this[t(473)])},this.tickerDelay)}[_0x49f44c(478)](){const e=_0x49f44c;clearInterval(this[e(484)]),this[e(484)]=void 0}pause(){this[_0x49f44c(490)]=!0}resume(){this.isPaused=!1}}function _0x4cd2(){const e=["6307422InsrTI","stop","hidden","start","1086297ryyzCT","hasFocus","log","tickerJob","1641526WxWwnK","955IjdkJa","activeDuration","s, inactive duration= ","now","isPaused","7530417WVAtOr","22780jpBZyE","136003laSFeH","inactiveDuration","25682080qwgaEl","tickerDelay","3lzuJoL","8bXlcyH","ActivityTicker: active duration= "];return(_0x4cd2=function(){return e})()}const activityTicker=new ActivityTicker,_0x3631ae=_0x2585;!function(){const e=_0x2585,t=_0x1ae0();for(;;)try{if(316109===-parseInt(e(227))/1+parseInt(e(224))/2+-parseInt(e(221))/3*(-parseInt(e(213))/4)+parseInt(e(226))/5+-parseInt(e(215))/6*(-parseInt(e(210))/7)+-parseInt(e(225))/8+parseInt(e(212))/9*(parseInt(e(223))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class CountryFinder{constructor(){this[_0x2585(218)]=null}[_0x3631ae(214)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2585;return!this._country&&(this[e(218)]=yield this[e(219)]()),this[e(218)]})}[_0x3631ae(219)](){return __awaiter(this,void 0,void 0,function*(){const e=[()=>__awaiter(this,void 0,void 0,function*(){const e=_0x2585,t=yield this.fetchWithTimeout(e(216));if(!t.ok)throw new Error(e(211));return(yield t[e(217)]())[e(228)]||null}),()=>__awaiter(this,void 0,void 0,function*(){const e=_0x2585,t=yield this[e(229)]("https://free.freeipapi.com/api/json");if(!t.ok)throw new Error(e(211));return(yield t[e(217)]()).countryCode||null}),()=>__awaiter(this,void 0,void 0,function*(){const e=_0x2585,t=yield this[e(229)]("https://ipwho.is/");if(!t.ok)throw new Error("ipwho.is failed");return(yield t[e(217)]())[e(222)]||null})];for(const t of e)try{const e=yield t();if(e)return e}catch(e){}return null})}[_0x3631ae(229)](e){return __awaiter(this,arguments,void 0,function*(e,t=2e3){const r=_0x2585,n=new AbortController,i=setTimeout(()=>n.abort(),t);return fetch(e,{signal:n.signal})[r(220)](()=>clearTimeout(i))})}}function _0x2585(e,t){const r=_0x1ae0();return(_0x2585=function(e,t){return r[e-=210]})(e,t)}function _0x1ae0(){const e=["https://api.country.is","json","_country","tryAllEndpoints","finally","2409witZLG","country_code","10DsWMEb","41234OevDFU","2882720DBIXvY","1059950njwbLn","335435rFmRHa","country","fetchWithTimeout","1393uttXPJ","country.is failed","3081987cuwViy","244tdjonu","getCountryCode","11694JZWaUI"];return(_0x1ae0=function(){return e})()}const countryFinder=new CountryFinder;!function(){const e=_0xdc1b,t=_0x3f62();for(;;)try{if(892656===parseInt(e(479))/1*(parseInt(e(474))/2)+-parseInt(e(484))/3+-parseInt(e(481))/4*(-parseInt(e(483))/5)+-parseInt(e(476))/6*(parseInt(e(482))/7)+-parseInt(e(485))/8+parseInt(e(478))/9*(parseInt(e(477))/10)+-parseInt(e(480))/11*(-parseInt(e(475))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const cryptoHelper={generateDeviceUUID:()=>crypto.randomUUID()};function _0xdc1b(e,t){const r=_0x3f62();return(_0xdc1b=function(e,t){return r[e-=474]})(e,t)}function _0x3f62(){const e=["2985GDKzAy","1613352hEWOUU","6362744ywVZEk","13214ejohuM","15828XLuXZE","762kIqcYc","14961140EhLQEv","9PkQYqH","1xNoFYX","7513xtqVsd","7528WjLhHF","71729sZYwwA"];return(_0x3f62=function(){return e})()}const _0x3155ea=_0xb673;function _0xb673(e,t){const r=_0x28c2();return(_0xb673=function(e,t){return r[e-=156]})(e,t)}!function(){const e=_0xb673,t=_0x28c2();for(;;)try{if(513160===parseInt(e(158))/1+-parseInt(e(168))/2+parseInt(e(160))/3*(parseInt(e(167))/4)+parseInt(e(156))/5*(-parseInt(e(165))/6)+-parseInt(e(174))/7*(parseInt(e(161))/8)+parseInt(e(159))/9+parseInt(e(164))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RequestRecord{constructor(e,t){const r=_0xb673;this[r(173)]=0,this[r(170)]=3,this.id=crypto.randomUUID(),this[r(162)]=e,this[r(166)]=t,this.createdAt=Date[r(169)]()}}class Mutex{constructor(){const e=_0xb673;this.locked=!1,this[e(172)]=[]}[_0x3155ea(175)](){return __awaiter(this,void 0,void 0,function*(){return new Promise(e=>{const t=_0xb673;this[t(163)]?this[t(172)][t(176)](e):(this[t(163)]=!0,e())})})}[_0x3155ea(171)](){const e=_0x3155ea;if(this.waitingQueue[e(157)]>0){this[e(172)].shift()()}else this[e(163)]=!1}}function _0x28c2(){const e=["56DoISaq","endpoint","locked","1696250ntHGlh","1217274Ptadlu","parameters","2035500EihGEA","249512bvQyqd","now","maxRetries","release","waitingQueue","retryCount","922859Nhkbto","acquire","push","10egbbZV","length","590453YqTHsx","6278220YzpNyo","3pqJAIm"];return(_0x28c2=function(){return e})()}const _0x41f4f3=_0xa91d;function _0xa91d(e,t){const r=_0x5cec();return(_0xa91d=function(e,t){return r[e-=405]})(e,t)}function _0x5cec(){const e=["⏰ Backoff delay ended, resuming queue processing","saveMainQueue","retryCount","pow","12pSMHLr","getQueueStatus","firstSessionSubmit","22508860Nqhzpt","464020VphKer","isInitialized","BASE_DELAY_MS","Error in processing loop:","Applying backoff delay of ","Error sending request ","BACKOFF_MULTIPLIER","min","now","6146562exmNco","acquire"," processed successfully","postRequestCheck","processQueues","SESSIONS","processMainQueue","push_token","calculateBackoffDelay","getPendingQueue","getMainRequestsSentFlag","2807CwCeDk","push","): id=","7568750kWwfsd"," failed with error after ","processingInterval","MAX_DELAY_MS","maxRetries","endpoint","571185JdDImW"," attempts. ","debug","addPendingRequest","mutex","getMainQueue","addRequest","1APlxEk","Queue Manager is not initialized. Call initialize() first.","startProcessing","error","pendingRequestRecords","shutdown"," failed","failedRequestDelay","stopProcessing","SDK_INFOS","SDK_CLICKS","savePendingQueue","requestRecords"," failed. Retry ","warn","sdkClickSubmit","✅ Request ","length","362126QXKGWk","PROCESSING_INTERVAL_MS","isProcessing","sendRequest","subSessionCount","parameters","isCurrentlyProcessing","5Helnct","💥 Sending request (","6544fZyXhL","resetBackoffDelay","initialize","processPendingQueue"," failed after ","release"];return(_0x5cec=function(){return e})()}!function(){const e=_0xa91d,t=_0x5cec();for(;;)try{if(518558===parseInt(e(422))/1*(parseInt(e(440))/2)+-parseInt(e(459))/3*(-parseInt(e(463))/4)+-parseInt(e(447))/5*(parseInt(e(472))/6)+parseInt(e(406))/7*(-parseInt(e(449))/8)+-parseInt(e(415))/9+-parseInt(e(409))/10+parseInt(e(462))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RequestsQueueManager{constructor(){const e=_0xa91d;this[e(464)]=!1,this.isProcessing=!1,this[e(446)]=!1,this[e(419)]=new Mutex,this[e(411)]=null,this[e(441)]=100,this.failedRequestDelay=0,this.MAX_DELAY_MS=3e4,this[e(469)]=2,this.BASE_DELAY_MS=1e3}[_0x41f4f3(451)](){return __awaiter(this,void 0,void 0,function*(){const e=_0xa91d;this.isInitialized=!0,!this[e(442)]&&(yield this.startProcessing())})}[_0x41f4f3(427)](){return __awaiter(this,void 0,void 0,function*(){const e=_0xa91d;this[e(464)]&&(yield this[e(430)](),this[e(464)]=!1)})}[_0x41f4f3(424)](){return __awaiter(this,void 0,void 0,function*(){const e=_0xa91d;if(this.isInitialized){yield this[e(419)][e(473)]();try{if(this.isProcessing)return;this[e(442)]=!0,this.processingInterval=setInterval(()=>__awaiter(this,void 0,void 0,function*(){const t=e;try{yield this[t(476)]()}catch(e){WTLogger[t(425)](t(466),e)}}),this[e(441)])}finally{this[e(419)].release()}yield this[e(476)]()}else WTLogger[e(436)](e(423))})}[_0x41f4f3(430)](){return __awaiter(this,void 0,void 0,function*(){const e=_0xa91d;yield this.mutex[e(473)]();try{this[e(442)]=!1,this[e(411)]&&(clearInterval(this[e(411)]),this.processingInterval=null)}finally{this[e(419)][e(454)]()}})}[_0x41f4f3(421)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0xa91d;yield this[t(419)].acquire();try{const r=this[t(420)]();if(r[t(407)](e),this[t(456)](r),this.failedRequestDelay=0,!this[t(442)])return this[t(419)][t(454)](),void(yield this[t(424)]())}finally{this[t(442)]&&this[t(419)].release()}})}[_0x41f4f3(418)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0xa91d;yield this[t(419)].acquire();try{if(this[t(405)]()){const r=this[t(420)]();r[t(407)](e),this[t(456)](r)}else{const r=this.getPendingQueue();r[t(407)](e),this[t(433)](r)}if(this[t(429)]=0,!this[t(442)])return this[t(419)][t(454)](),void(yield this[t(424)]())}finally{this[t(442)]&&this[t(419)][t(454)]()}})}[_0x41f4f3(476)](){return __awaiter(this,void 0,void 0,function*(){const e=_0xa91d;if(this[e(442)]&&!this[e(446)]){if(this[e(429)]>0){if(Date[e(471)]()<this[e(429)])return;this[e(429)]=0,WTLogger.debug(e(455))}this.isCurrentlyProcessing=!0,yield this[e(419)][e(473)]();try{yield this[e(478)](),yield this.processPendingQueue()}finally{this[e(419)].release(),this[e(446)]=!1}}})}[_0x41f4f3(478)](){return __awaiter(this,void 0,void 0,function*(){const e=_0xa91d,t=this[e(420)]();if(0===t[e(439)])return;const r=t[0];try{if(yield this.sendRequest(r))t.shift(),this.saveMainQueue(t),this[e(475)](r),WTLogger[e(417)](e(438)+r.id+e(474));else{if(t[0][e(457)]++,t[0].retryCount>=t[0].maxRetries){const n=this.calculateBackoffDelay(t[0].retryCount);this.failedRequestDelay=Date.now()+n,WTLogger[e(436)]("⏳ Request "+r.id+e(453)+r[e(413)]+" attempts. "+(e(467)+n)+"ms")}else WTLogger[e(436)]("⚠️ Request "+r.id+e(435)+t[0].retryCount+"/"+t[0][e(413)]);this[e(456)](t)}}catch(n){if(WTLogger[e(425)](e(468)+r[e(414)]+":",n),t[0][e(457)]++,t[0][e(457)]>=t[0][e(413)]){const n=this[e(480)](t[0][e(457)]);this[e(429)]=Date[e(471)]()+n,WTLogger.warn("⏳ Request "+r.id+e(410)+t[0][e(413)]+e(416)+(e(467)+n)+"ms")}this.saveMainQueue(t)}})}[_0x41f4f3(480)](e){const t=_0x41f4f3,r=this.BASE_DELAY_MS*Math[t(458)](this[t(469)],e-1);return Math[t(470)](r,this.MAX_DELAY_MS)}[_0x41f4f3(452)](){return __awaiter(this,void 0,void 0,function*(){const e=_0xa91d;if(!this[e(405)]())return;const t=this[e(481)]();if(0===t[e(439)])return;const r=this[e(420)]();r[e(407)](...t),this[e(456)](r),this[e(433)]([])})}[_0x41f4f3(443)](e){return __awaiter(this,arguments,void 0,function*(e,t=1){const r=_0xa91d;WTLogger[r(417)](r(448)+e[r(414)]+r(408)+e.id);let n=!1;try{n=yield apiClient.doCallRequest(e[r(414)],e[r(445)])}catch(t){WTLogger[r(425)]("❌ Request "+e.endpoint+r(428),t)}return n})}[_0x41f4f3(420)](){return storageManager[_0x41f4f3(434)]}[_0x41f4f3(456)](e){storageManager[_0x41f4f3(434)]=e}getPendingQueue(){return storageManager[_0x41f4f3(426)]}[_0x41f4f3(433)](e){storageManager[_0x41f4f3(426)]=e}getMainRequestsSentFlag(){return storageManager[_0x41f4f3(437)]}[_0x41f4f3(475)](e){const t=_0x41f4f3;switch(e[t(414)]){case WTEndpoints[t(432)]:storageManager.sdkClickSubmit=!0;break;case WTEndpoints[t(477)]:storageManager[t(461)]?(storageManager.activeDuration=0,storageManager.inactiveDuration=0,storageManager[t(444)]=1):storageManager[t(461)]=!0;break;case WTEndpoints[t(431)]:storageManager.fcmToken=e[t(445)][t(479)]}}[_0x41f4f3(460)](){const e=_0x41f4f3;return{mainQueueLength:this[e(420)]()[e(439)],pendingQueueLength:this[e(481)]().length,isProcessing:this.isProcessing,mainRequestsSent:this[e(405)](),isInBackoffDelay:this[e(429)]>0&&Date[e(471)]()<this[e(429)],backoffEndsAt:this[e(429)]>0?this[e(429)]:null}}[_0x41f4f3(450)](){const e=_0x41f4f3;this.failedRequestDelay=0,WTLogger[e(417)]("🔄 Backoff delay manually reset")}getBackoffConfig(){const e=_0x41f4f3;return{baseDelayMs:this[e(465)],multiplier:this[e(469)],maxDelayMs:this[e(412)]}}}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,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],"object"==typeof(s=d[i])&&s.length>0?2===s.length?"function"==typeof s[1]?this[s[0]]=s[1].call(this,o):this[s[0]]=s[1]:s.length>=3&&("function"!=typeof s[1]||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("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 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,"undefined"!=e)break}else if("undefined"==e&&t){t=!t;break}return t},a.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||(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};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["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],a=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,a).set("major",majorize(a)),r=s),"engine"==this.itemType&&"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,h=function(t){return E[t].getItem().setCH(e).parseCH().get()};this.set("browser",h("browser")).set("cpu",h("cpu")).set("device",h("device")).set("engine",h("engine")).set("os",h("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),a=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,o=function(e){return"result"==e?function(){return new UAItem(e,i,a,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,a[e],s).parseUA().get()}};return setProps.call(this,[["getBrowser",o("browser")],["getCPU",o("cpu")],["getDevice",o("device")],["getEngine",o("engine")],["getOS",o("os")],["getResult",o("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 _0x36df19=_0x4df9;!function(){const e=_0x4df9,t=_0x311e();for(;;)try{if(280551===parseInt(e(293))/1+parseInt(e(262))/2*(parseInt(e(271))/3)+parseInt(e(267))/4*(parseInt(e(250))/5)+parseInt(e(255))/6*(parseInt(e(289))/7)+-parseInt(e(292))/8*(-parseInt(e(259))/9)+parseInt(e(245))/10*(parseInt(e(290))/11)+-parseInt(e(266))/12)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class DeviceDetector{getDeviceInfo(){const e=_0x4df9,t=(new UAParser)[e(280)]();return{browser:t.browser,os:t.os,device:t[e(268)],engine:t[e(246)],cpu:t[e(291)],ua:t.ua}}get[_0x36df19(248)](){const e=_0x36df19;return window[e(286)]>=3?"high":window.devicePixelRatio>=2?"medium":e(253)}get[_0x36df19(284)](){const e=_0x36df19;return window[e(258)]>window[e(269)]?"long":e(252)}get[_0x36df19(283)](){const e=_0x36df19,t=window[e(269)];return e(t<480?274:t<768?252:t<1440?288:278)}get[_0x36df19(256)](){const e=_0x36df19;var t,r,n;const i=this[e(263)](),s=(null===(t=i[e(268)])||void 0===t?void 0:t[e(298)])||"",a=(null===(n=null===(r=i[e(268)])||void 0===r?void 0:r.model)||void 0===n?void 0:n[e(302)]())||"",o=i.ua.toLowerCase();return"wearable"===s||a.includes(e(301))?6:s===e(299)||o[e(247)](e(294))||o[e(247)](e(275))||o.includes(e(276))||o[e(247)](e(260))||o[e(247)](e(265))?4:s===e(282)||o.includes(e(295))||o.includes(e(273))||o.includes("nintendo")?5:o[e(247)]("car")||o[e(247)](e(264))||o[e(247)]("carplay")?3:o[e(247)](e(270))||o[e(247)](e(272))||o[e(247)]("vr")||s===e(251)?7:s===e(281)||"tablet"===s?1:""===s||"desktop"===s?2:0}get uiStyle(){const e=_0x36df19;return window[e(300)]&&window[e(300)]("(prefers-color-scheme: dark)")[e(296)]?"1":"0"}get[_0x36df19(261)](){const e=_0x36df19,t=window[e(286)]||1,r=screen[e(277)]*t/160,n=screen[e(279)]*t/160;return Math[e(297)](Math[e(257)](r,2)+Math[e(257)](n,2)).toFixed(2)}get[_0x36df19(287)](){const e=_0x36df19;return e(285)in window||navigator[e(254)]>0?"touch":e(249)}}function _0x4df9(e,t){const r=_0x311e();return(_0x4df9=function(e,t){return r[e-=245]})(e,t)}const deviceDetector=new DeviceDetector;function _0x311e(){const e=["275DlRpSk","cpu","58000ZVWjos","67514BFmszw","smart-tv","playstation","matches","sqrt","type","smarttv","matchMedia","watch","toLowerCase","212350wZMLSa","engine","includes","screenDensity","pointer","95xGbKqw","embedded","normal","low","maxTouchPoints","350130wnaXNW","uiMode","pow","innerHeight","333Dohouv","googletv","displaySize","219246paXlGP","getDeviceInfo","android auto","appletv","18725916vDQUJw","74476HtGcZb","device","innerWidth","oculus","9Vlfoto","vive","xbox","small","hbbtv","netcast","width","xlarge","height","getResult","mobile","console","screenSize","screenFormat","ontouchstart","devicePixelRatio","screenType","large","35zySLCG"];return(_0x311e=function(){return e})()}const _0x6f07d4=_0x1d79;function _0x1d79(e,t){const r=_0x38ec();return(_0x1d79=function(e,t){return r[e-=362]})(e,t)}!function(){const e=_0x1d79,t=_0x38ec();for(;;)try{if(446973===parseInt(e(389))/1+parseInt(e(366))/2+parseInt(e(365))/3+-parseInt(e(385))/4+parseInt(e(377))/5+parseInt(e(368))/6*(-parseInt(e(374))/7)+parseInt(e(386))/8)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class StorageSupport{constructor(){this[_0x1d79(378)]=null}[_0x6f07d4(381)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x1d79;if(this[e(378)])return this[e(378)];const t=this.isLocalStorageSupported(),r=this[e(380)](),n=yield this.isIndexedDBSupported();return this[e(378)]={localStorage:t,sessionStorage:r,indexedDB:n},this[e(378)]})}[_0x6f07d4(369)](e){const t=_0x6f07d4;let r=0;for(let n=0;n<e.length;n++){const i=e[t(375)](n);if(!i)continue;const s=e[t(367)](i);null!=s&&(r+=2*i[t(362)],r+=2*s[t(362)])}return r}[_0x6f07d4(382)](){const e=_0x6f07d4;try{const t=e(373);return localStorage.setItem(t,"1"),localStorage[e(383)](t),!0}catch(e){return!1}}isSessionStorageSupported(){const e=_0x6f07d4;try{const t=e(373);return sessionStorage[e(364)](t,"1"),sessionStorage[e(383)](t),!0}catch(e){return!1}}[_0x6f07d4(372)](){const e=_0x6f07d4;return e(371)in window?new Promise(t=>{const r=e;try{const e=indexedDB[r(379)](r(363));e[r(387)]=()=>t(!1),e[r(384)]=()=>{const n=r;e[n(388)][n(376)](),indexedDB[n(370)](n(363)),t(!0)}}catch(e){t(!1)}}):Promise.resolve(!1)}}function _0x38ec(){const e=["isIndexedDBSupported","__test__","777343FjEiLE","key","close","2963890ipwqkz","supportResults","open","isSessionStorageSupported","getSupportResult","isLocalStorageSupported","removeItem","onsuccess","2463824oDkHWF","1256712iVKlis","onerror","result","400895FMbcwu","length","__test__check__","setItem","1401858gGjbBI","252wXKWFS","getItem","30ussAcy","getStorageSizeBytes","deleteDatabase","indexedDB"];return(_0x38ec=function(){return e})()}const storageSupport=new StorageSupport,_0x25d73a=_0x55e7;function _0x55e7(e,t){const r=_0x3f5e();return(_0x55e7=function(e,t){return r[e-=273]})(e,t)}!function(){const e=_0x55e7,t=_0x3f5e();for(;;)try{if(827729===parseInt(e(341))/1*(parseInt(e(312))/2)+-parseInt(e(336))/3*(-parseInt(e(291))/4)+-parseInt(e(328))/5+parseInt(e(285))/6*(-parseInt(e(343))/7)+-parseInt(e(279))/8+parseInt(e(310))/9*(parseInt(e(299))/10)+-parseInt(e(289))/11*(parseInt(e(278))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class Utils{static[_0x25d73a(301)](){const e=_0x25d73a,t=new URLSearchParams(window.location.search),r={};for(const[n,i]of t[e(290)]())n[e(303)](e(323))&&i&&(r[n]=i);if(!r[e(311)]){const t=document[e(346)];r[e(311)]=t?new URL(t)[e(319)]:e(298)}return!r[e(325)]&&(r[e(325)]=e(295)),Object.entries(r)[e(338)](([e,t])=>e+"="+encodeURIComponent(t)).join("&")}}function _0x3f5e(){const e=["Squarespace","[id=___gatsby]","other","2712990YOXxnK","querySelectorAll","getUTMParamsString","Next.js","startsWith","some","static.squarespace.com","jQuery","Wix","[data-reactroot], [data-reactid]","/_next/","54IQNuCM","utm_source","239572pVWNCP","[data-v-app], [data-v-]","__REACT_DEVTOOLS_GLOBAL_HOOK__","[x-data], [x-init], [x-bind]","scripts","Gatsby.js","_reactRootContainer","hostname","script[id=__NEXT_DATA__]",'script[src*="angular.js"], script[src*="angular.min.js"]',"Ghost CMS","utm_","Nuxt.js","utm_medium","svelte","Backbone.js","2152995ZiEoKw","includes","Laravel","innerHTML","drupal-settings-json","__reactContainer","/js/app.js",".ng-binding, [ng-app], [data-ng-app], [ng-controller], [data-ng-controller], [ng-repeat], [data-ng-repeat]","9237LnoKpm","textContent","map","Vue.js","wp-content","4iMwvVH","React","4344662okbYDF","Svelte","wix.com","referrer","cdn.shopify.com","Zepto","from","Alpine.js","wp-includes","2792964yaOxex","6942488OiJDjr","Meteor",'meta[name="generator"][content*="Drupal"]',"documentElement","Shopify",'meta[name="generator"][content*="WordPress"]',"6tAvGda","querySelector","Zepto.js","Meteor.js","22MCMTep","entries","1436NEgsJw","Angular","src","detectWebFramework","organic"];return(_0x3f5e=function(){return e})()}function _0x2bc7(){const e=["string","isWebGLSupported","1141310AZXbMy","5317650tfmTeO","getSupportedExtensions","experimental-webgl","digest","fillText","MAX_TEXTURE_SIZE","180utDuXd","VERSION","toDataURL","68QQPyZe","from","227096GEBavt","getParameter","getContext","1743964lNwwVR","vendor","getCanvasFingerprint","stringify","width","top","padStart","WEBGL_debug_renderer_info","14px 'Arial'","106809nIAhLB","getWebGLFingerprint","10969MpbMuY","font","createElement","MAX_RENDERBUFFER_SIZE","webgl","SHADING_LANGUAGE_VERSION","RENDERER","encode","WiseTrack WebGL Fingerprint!","fillRect","hashData","VENDOR","fillStyle","UNMASKED_VENDOR_WEBGL","subtle","getExtension","toString","3270495fZRlwS","#f60","renderer","6144cHiRCf"];return(_0x2bc7=function(){return e})()}function _0x407a(e,t){const r=_0x2bc7();return(_0x407a=function(e,t){return r[e-=421]})(e,t)}Utils[_0x25d73a(294)]=()=>{const e=_0x25d73a;return document[e(286)](e(320))||[...document[e(316)]][e(304)](t=>t[e(293)].includes(e(309)))?e(302):window[e(342)]||document[e(286)](e(308))||Array[e(275)](document[e(300)]("*"))[e(304)](t=>void 0!==t[e(318)]||Object.keys(t)[e(304)](t=>t[e(303)](e(333))))||window[e(314)]?e(342):[...document.scripts][e(304)](e=>e.src.includes("/_nuxt/"))?e(324):window.__VUE__||window.Vue||document[e(286)](e(313))?e(339):document[e(286)](e(297))?e(317):window||document[e(286)](e(335))||document.querySelector(e(321))||window.ng||document[e(286)]("[ng-version]")?e(292):[...document[e(316)]][e(304)](t=>{const r=e;var n;return t[r(293)][r(329)](r(326))||(null===(n=t[r(337)])||void 0===n?void 0:n[r(329)](r(326)))})?e(344):document[e(286)](e(315))?e(276):window[e(306)]?e(306):window.Backbone?e(327):window[e(280)]?e(288):window[e(274)]?e(287):document.querySelector(e(284))||[...document.scripts][e(304)](t=>t[e(293)].includes(e(340))||t[e(293)][e(329)](e(277)))?"WordPress":[...document[e(316)]].some(t=>t[e(293)][e(329)](e(334))||t[e(293)][e(329)]("mix-manifest.json"))?e(330):document[e(286)](e(281))||document[e(282)].innerHTML[e(329)](e(332))?"Drupal":document[e(282)][e(331)][e(329)](e(273))?e(283):[...document[e(316)]][e(304)](t=>t[e(293)][e(329)](e(305)))?e(296):[...document[e(316)]].some(t=>t.src[e(329)](e(345)))?e(307):document[e(286)]('meta[name="generator"][content*="Ghost"]')?e(322):void 0};const _0xb661b6=_0x407a;!function(){const e=_0x407a,t=_0x2bc7();for(;;)try{if(695565===parseInt(e(466))/1+-parseInt(e(469))/2+-parseInt(e(429))/3*(parseInt(e(464))/4)+-parseInt(e(448))/5+-parseInt(e(455))/6+parseInt(e(431))/7*(parseInt(e(451))/8)+parseInt(e(461))/9*(parseInt(e(454))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class DeviceFingerprint{static[_0xb661b6(453)](){const e=_0xb661b6;try{const t=document[e(433)]("canvas");return!(!t[e(468)](e(435))&&!t[e(468)](e(457)))}catch(e){return!1}}static[_0xb661b6(430)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x407a,t=document[e(433)]("canvas"),r=t.getContext(e(435))||t.getContext(e(457));if(!r)return;const n={version:r[e(467)](r[e(462)]),shadingLangVersion:r[e(467)](r[e(436)]),maxTextureSize:r[e(467)](r[e(460)]),maxRenderBufferSize:r.getParameter(r[e(434)]),supportedExtensions:r[e(456)]()};try{const t=r[e(446)](e(427));n[e(421)]=t?r[e(467)](t[e(444)]):r[e(467)](r[e(442)])}catch(t){n[e(421)]=r[e(467)](r[e(442)])}try{const t=r.getExtension(e(427));n[e(450)]=t?r.getParameter(t.UNMASKED_RENDERER_WEBGL):r.getParameter(r[e(437)])}catch(t){n[e(450)]=r[e(467)](r.RENDERER)}return yield this.hashData(JSON[e(423)](n))})}static[_0xb661b6(422)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x407a,t=document[e(433)]("canvas");t[e(424)]=200,t.height=50;const r=t.getContext("2d");if(r)return r.textBaseline=e(425),r[e(432)]=e(428),r.fillStyle=e(449),r[e(440)](0,0,200,50),r[e(443)]="#069",r[e(459)](e(439),2,2),yield this[e(441)](t[e(463)]())})}static[_0xb661b6(441)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x407a,r=typeof e===t(452)?e:JSON[t(423)](e),n=(new TextEncoder)[t(438)](r),i=yield crypto[t(445)][t(458)]("SHA-256",n);return Array[t(465)](new Uint8Array(i)).map(e=>e[t(447)](16)[t(426)](2,"0")).join("")})}}const _0x21593=_0x56d6;function _0xc44f(){const e=["other","screenDensity","name","isWebGLSupported","toString","PLATFORM","1238456BMXVoI","appFrameWork","deviceId","initialDate","getCountryCode","architecture","3464398YkvKae","getStorageSizeBytes","SDK","device","hardwareConcurrency","onLine","time_spent","3hwVmbh","innerWidth","language","screenFormat","469208GQmSYv","getDeviceInfo","uiMode","split","hostname","defaultTracker","entries","appVersion","toISOString","inactiveDuration","now","getApplicationFields","filter","getUTMParamsString","PARAMETERS_VALUE","vendor","toFixed","version","2079548WuUSyr","screenSize","8386272YVQLex","userEnvironment","getLocalFields","DEFAULTS","88445TPIohc","type","getSupportResult","120VJkqsA","getCanvasFingerprint","VERSION","displaySize","getDeviceFields","1179602oSOYQO","fromEntries","browser","assign","subSessionCount","appToken","activeDuration","localStorage","performance","getWebGLFingerprint","customDeviceId","engine"];return(_0xc44f=function(){return e})()}function _0x56d6(e,t){const r=_0xc44f();return(_0x56d6=function(e,t){return r[e-=380]})(e,t)}!function(){const e=_0x56d6,t=_0xc44f();for(;;)try{if(305001===parseInt(e(407))/1+-parseInt(e(439))/2+parseInt(e(403))/3*(-parseInt(e(425))/4)+-parseInt(e(431))/5*(-parseInt(e(434))/6)+-parseInt(e(396))/7+parseInt(e(390))/8+parseInt(e(427))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class FieldsBuilder{build(){return __awaiter(this,void 0,void 0,function*(){const e=_0x56d6,t=window[e(380)][e(417)]();let r={};return r.sdk_requested_at=(new Date)[e(415)](),Object[e(442)](r,this[e(429)]()),Object[e(442)](r,yield this[e(418)]()),Object.assign(r,this[e(438)]()),r[e(402)]=(window.performance[e(417)]()-t).toFixed(1),WTConstants.DEFAULTS[e(421)]&&(r=Object[e(440)](Object[e(413)](r).map(([t,r])=>[t,null==r?WTConstants.DEFAULTS[e(421)]:r]))),!WTConstants[e(430)][e(421)]&&(r=Object.fromEntries(Object[e(413)](r)[e(419)](([e,t])=>null!=t))),r})}[_0x21593(418)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x56d6,t=yield storageSupport[e(433)]();return{connectivity_type:navigator[e(401)]?"1":"-1",country:yield countryFinder[e(394)](),package_name:window.location[e(411)],session_storage_enabled:t.sessionStorage,indexed_db_enabled:t.indexedDB,local_storage_enabled:t[e(446)],session_storage:storageSupport.getStorageSizeBytes(sessionStorage)[e(423)](0),local_storage:storageSupport[e(397)](localStorage)[e(423)](0),web_gl_support:DeviceFingerprint[e(387)](),web_gl_fingerprint:yield DeviceFingerprint[e(381)](),web_gl_canvas_fingerprint:yield DeviceFingerprint[e(435)]()}})}[_0x21593(429)](){const e=_0x21593,t=storageManager.initialConfig;return t?{uuid:storageManager[e(392)],app_token:t[e(444)],environment:t[e(428)],store_name:e(384),app_version:t[e(414)],push_token:storageManager.pushToken,custom_device_id:t[e(382)],default_tracker:t[e(412)],platform:WTConstants[e(398)][e(389)],framework:t[e(391)].toLowerCase(),initiated_by:WTConstants[e(398)][e(389)]+"_"+t[e(391)].toLowerCase(),initiated_version:WTConstants[e(398)][e(436)],referrer:Utils[e(420)](),installed_at:storageManager[e(393)],session_count:storageManager.sessionCount.toString(),subsession_count:storageManager[e(443)][e(388)](),session_length:parseInt((storageManager[e(445)]/1e3).toString())[e(388)](),last_interval:parseInt((storageManager[e(416)]/1e3)[e(388)]())[e(388)]()}:{}}[_0x21593(438)](){const e=_0x21593,t=deviceDetector[e(408)]();return{browser_version:t[e(441)][e(424)],device_manufacturer:t[e(399)][e(422)],device_name:t.device.model,device_type:t[e(399)][e(432)],os_name:t.os[e(386)],os_version:t.os[e(424)],cpu_type:t.cpu[e(395)],web_user_agent:t.ua,display_height:window.innerHeight[e(423)](0),display_width:window[e(404)].toFixed(0),language:navigator[e(405)][e(410)]("-")[0],screen_density:deviceDetector[e(385)],screen_format:deviceDetector[e(406)],screen_size:deviceDetector[e(426)],ui_mode:deviceDetector[e(409)][e(388)](),cpu_lpc:navigator[e(400)].toString(),ui_style:deviceDetector.uiStyle,wout_width:window.outerWidth.toString(),wout_height:window.outerHeight[e(388)](),web_engine:t[e(383)][e(386)],web_engine_version:t[e(383)][e(424)],display_size:deviceDetector[e(437)],screen_type:deviceDetector.screenType}}}const fieldsBuilder=new FieldsBuilder;function _0x18bf(e,t){const r=_0x11e3();return(_0x18bf=function(e,t){return r[e-=124]})(e,t)}function _0x11e3(){const e=["64652ujpZFD","4423068nChUiV","event","keys","639800PyQEkP","4218590JcGGaR","name","assign","build","type","177VJleqP","186mqJKGC","currency","1043278mYVPXc","3444556vXAwTr","45398zxqDEs","call","params"];return(_0x11e3=function(){return e})()}!function(){const e=_0x18bf,t=_0x11e3();for(;;)try{if(711101===parseInt(e(137))/1+-parseInt(e(139))/2*(parseInt(e(134))/3)+parseInt(e(138))/4+parseInt(e(129))/5+parseInt(e(135))/6*(-parseInt(e(124))/7)+parseInt(e(128))/8+-parseInt(e(125))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class EventFieldsBuilder extends FieldsBuilder{constructor(e){super(),this.event=e}build(){const e=_0x18bf,t=Object.create(null,{build:{get:()=>super[e(132)]}});return __awaiter(this,void 0,void 0,function*(){const r=e,n=yield t[r(132)][r(140)](this),i={event_type:this[r(126)][r(133)],event_name:this[r(126)][r(130)]};return Object[r(127)](this.event.params).length>0&&(i.partner_params=this[r(126)][r(141)]),"revenue"===this[r(126)][r(133)]&&(i.revenue=this[r(126)].amount,i[r(136)]=this.event[r(136)]),new Promise(e=>{const t=r;e(Object.assign(Object[t(131)]({},n),i))})})}}const _0x40dc50=_0x1aa8;function _0x3275(){const e=[" request to pending queue","activeTime","warn","setActivityTimes","SESSIONS","build","53346lOQhyH","now","checkPushToken","687365HOyBvO","createDeviceID","initialDate","isRunning","blur","main","This Notification token has sent to server previously","258qiCPGv","stop","Creating Install: SDK is not enabled!","stringify","checkSessionIntervals","inactiveDuration","1443980dgOuYC","isEnabled"," request to main queue","initialized","SDK_INFOS","Add ","SDK is not enabled to start tracking!","subSessionCount","sessionCount","hasFocus","Creating First Session: SDK is not enabled!","s | (","deviceId","8647812skzvLG","visible","sdkEnabled","isVisibleFocused","fcmToken","info","3026710QlFPsO","createRequest","focus","Creating Session: First-Session has already submitted","getCountryCode","config","toISOString","firstSessionSubmit","sessionInterval","addPendingRequest","EVENTS","4453944FjgTmN","Creating Session: SDK is not enabled!","pushToken","Creating Attribution: SDK is not enabled!","checkSdkClicks","debug","checkFirstSession","trackEvent: SDK is not enabled","generateDeviceUUID","sdkClickSubmit","trackEvent: SDK is not initialized yet","trackEvent","addObservers","beforeunload","s Totaly)","CheckPushToken: SDK is not enabled","shutdown","inactiveTime","6akGniN","addEventListener","initialize","start","getQueueStatus","pending","addRequest","createAttribution","5477ajiuUb","280QgrcIw"];return(_0x3275=function(){return e})()}function _0x1aa8(e,t){const r=_0x3275();return(_0x1aa8=function(e,t){return r[e-=230]})(e,t)}!function(){const e=_0x1aa8,t=_0x3275();for(;;)try{if(927368===-parseInt(e(256))/1*(-parseInt(e(274))/2)+parseInt(e(248))/3*(parseInt(e(280))/4)+-parseInt(e(257))/5*(parseInt(e(264))/6)+parseInt(e(267))/7+parseInt(e(230))/8+-parseInt(e(293))/9+parseInt(e(299))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTTracker{constructor(){const e=_0x1aa8;this[e(270)]=!1,this[e(283)]=!1}get[_0x40dc50(281)](){return storageManager[_0x40dc50(295)]}[_0x40dc50(250)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x1aa8;this.getCountryCode(),yield this[e(261)](),this.createDeviceID(),this[e(242)](),this[e(283)]=!0})}startTracking(){return __awaiter(this,void 0,void 0,function*(){const e=_0x1aa8;this[e(281)]?(WTLogger[e(235)]("WT Tracker started"),yield queueManager[e(250)](),yield this[e(234)](),yield this[e(236)](),yield this[e(255)](),this.isRunning=!0):WTLogger[e(260)](e(286))})}stopTracking(){return __awaiter(this,void 0,void 0,function*(){const e=_0x1aa8;this[e(270)]=!1,activityTicker.stop(),yield queueManager[e(246)](),WTLogger[e(235)]("WT Tracker stopped")})}[_0x40dc50(266)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x1aa8;storageManager[t(232)]=e,this[t(281)]?storageManager[t(297)]!==e?yield this[t(300)]({endpoint:WTEndpoints[t(284)],queueType:"pending"}):WTLogger[t(298)](t(273)):WTLogger.warn(t(245))})}[_0x40dc50(241)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x1aa8;this[t(281)]?this.initialized?(storageManager.eventCount+=1,yield this[t(300)]({endpoint:WTEndpoints[t(309)],fBuilder:new EventFieldsBuilder(e),queueType:"pending"})):WTLogger[t(260)](t(240)):WTLogger[t(260)](t(237))})}[_0x40dc50(303)](){countryFinder[_0x40dc50(303)]()}createAttribution(){return __awaiter(this,void 0,void 0,function*(){const e=_0x1aa8;this.isEnabled?yield this[e(300)]({endpoint:WTEndpoints.ATTRIBUTIONS,queueType:e(253)}):WTLogger[e(260)](e(233))})}[_0x40dc50(236)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x1aa8;this.isEnabled?storageManager[e(306)]?WTLogger[e(235)](e(302)):yield this[e(300)]({endpoint:WTEndpoints[e(262)],queueType:storageManager[e(239)]?"main":"pending"}):WTLogger[e(260)](e(290))})}[_0x40dc50(234)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x1aa8;this[e(281)]?storageManager[e(239)]?WTLogger[e(235)]("Creating Install: SDK-Clicks has already submitted"):yield this[e(300)]({endpoint:WTEndpoints.SDK_CLICKS}):WTLogger[e(260)](e(276))})}[_0x40dc50(300)](e){const t=_0x40dc50;return __awaiter(this,arguments,void 0,function*({endpoint:e,fBuilder:r=fieldsBuilder,queueType:n=t(272)}){const i=t,s=yield r[i(263)](),a=new RequestRecord(e,s);n===i(253)?(WTLogger[i(235)](i(285)+e+i(258)),yield queueManager[i(308)](a)):(WTLogger.debug(i(285)+e+i(282)),yield queueManager[i(254)](a));const o=queueManager[i(252)]();WTLogger[i(235)](JSON[i(277)](o))})}[_0x40dc50(268)](){const e=_0x40dc50;!storageManager[e(292)]&&(storageManager[e(292)]=cryptoHelper[e(238)]()),!storageManager[e(269)]&&(storageManager.initialDate=(new Date)[e(305)]())}[_0x40dc50(261)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x1aa8;if(storageManager[e(259)]){storageManager[e(247)]=storageManager.activeTime;const t=Date[e(265)]()-storageManager[e(247)];storageManager.inactiveDuration+=t,WTLogger.debug("User was inactived for "+t/1e3+e(291)+storageManager[e(279)]/1e3+e(244)),yield this[e(278)]()}storageManager[e(259)]=Date[e(265)](),activityTicker[e(251)]()})}checkSessionIntervals(){return __awaiter(this,void 0,void 0,function*(){const e=_0x1aa8;var t,r;const n=storageManager[e(247)],i=null===(t=storageManager[e(304)])||void 0===t?void 0:t[e(307)],s=null===(r=storageManager[e(304)])||void 0===r?void 0:r.subsessionInterval;if(!this.isEnabled)return void WTLogger[e(260)](e(231));if(!n||!i||!s)return;const a=Date.now()-n;a>1e3*parseInt(i)?(storageManager[e(288)]+=1,yield this[e(300)]({endpoint:WTEndpoints[e(262)],queueType:storageManager[e(239)]?e(272):e(253)})):a>1e3*parseInt(s)&&(storageManager[e(287)]+=1)})}[_0x40dc50(296)](){const e=_0x40dc50;return document.visibilityState===e(294)&&document[e(289)]()}[_0x40dc50(242)](){const e=_0x40dc50;window[e(249)](e(243),()=>{activityTicker[e(275)]()}),document[e(249)]("visibilitychange",()=>{const t=e;this[t(296)]()?(this[t(255)](),this[t(261)]()):activityTicker.stop()}),window[e(249)](e(301),()=>{const t=e;this[t(296)]()&&(this.createAttribution(),this[t(261)]())}),window[e(249)](e(271),()=>{activityTicker[e(275)]()})}}const tracker=new WTTracker,_0x4c6a8c=_0x31c5;function _0x31c5(e,t){const r=_0x2387();return(_0x31c5=function(e,t){return r[e-=470]})(e,t)}!function(){const e=_0x31c5,t=_0x2387();for(;;)try{if(890307===-parseInt(e(470))/1+parseInt(e(478))/2*(-parseInt(e(514))/3)+-parseInt(e(503))/4*(-parseInt(e(507))/5)+parseInt(e(491))/6+parseInt(e(494))/7+parseInt(e(479))/8*(-parseInt(e(482))/9)+parseInt(e(484))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WiseTrack{static get instance(){const e=_0x31c5;return!WiseTrack[e(480)]&&(WiseTrack._instance=new WiseTrack),WiseTrack[e(480)]}constructor(){this[_0x31c5(485)]=!1}[_0x4c6a8c(508)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x31c5;var r,n;e.logLevel&&WTLogger[t(481)](e.logLevel);const i=yield this[t(511)](e);this[t(516)](i),this.checkSdkUpdate(i),this.setEnabled(!0),this[t(485)]=!0,yield tracker[t(471)]();(null===(r=e[t(506)])||void 0===r||r)&&setTimeout(()=>this[t(500)](),1e3*(null!==(n=e[t(510)])&&void 0!==n?n:0))})}[_0x4c6a8c(476)](e){WTLogger[_0x4c6a8c(481)](e)}flush(){const e=_0x4c6a8c;WTLogger[e(496)](e(498)),storageManager[e(499)](),this[e(515)]()}[_0x4c6a8c(495)](){return storageManager[_0x4c6a8c(474)]}[_0x4c6a8c(512)](e){const t=_0x4c6a8c,r=storageManager[t(483)];if(!r)throw new Error(t(489));if(!r.sdkEnabled)throw new Error(t(475));storageManager[t(474)]=e}[_0x4c6a8c(500)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x31c5;this[e(485)]?this[e(495)]()?yield tracker[e(500)]():WTLogger.warn(e(492)):WTLogger[e(504)](e(488))})}stopTracking(){return __awaiter(this,void 0,void 0,function*(){const e=_0x31c5;yield tracker[e(515)]()})}[_0x4c6a8c(477)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x31c5;this[t(485)]?this[t(495)]()?yield tracker[t(509)](e):WTLogger[t(504)](t(472)):WTLogger[t(504)](t(513))})}[_0x4c6a8c(505)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x31c5;this[t(485)]?this[t(495)]()?yield tracker[t(505)](e):WTLogger.warn(t(493)):WTLogger[t(504)](t(487))})}getConfig(e){return __awaiter(this,void 0,void 0,function*(){const t=_0x31c5;let r;storageManager.initialConfig=e;try{r=yield apiClient[t(497)]()}catch(e){if(!(e instanceof ApiError.NetworkError))throw WTLogger[t(496)](t(486)),e;r=storageManager[t(483)]||WTConfig[t(490)]}return storageManager[t(483)]=r,WTLogger[t(496)]("SDK Config set"),r})}[_0x4c6a8c(516)](e){const t=_0x4c6a8c;if(!e[t(474)]){const e=t(475);throw WTLogger[t(473)](e),new Error(e)}}checkSdkUpdate(e){const t=_0x4c6a8c;e[t(501)]&&WTLogger[t(504)](t(502))}}function _0x2387(){const e=["isEnabled","info","doGetConfig","Clearing Data and stop tracker!","clear","startTracking","sdkUpdate","A new version of the SDK is available. It is recommended to update to the latest version to enjoy improved features and better performance.","8dxJhTO","warn","trackEvent","startTrackerAutomatically","4415195zjWAtV","init","checkPushToken","trackingWaitingTime","getConfig","setEnabled","‼️ Set Fcm Token: SDK is not initialized yet","3aCSwxx","stopTracking","checkSdkEnabled","1015178EqkSQv","initialize","Set Fcm Token: SDK is not enabled!","error","sdkEnabled","SDK is disabled form server, contact your adminstrator!","setLogLevel","setFCMToken","1915618vZpKoX","3928PJXfMp","_instance","setLevel","13005iKODYU","config","4258770JbcPEo","sdkInitialized","‼️ SDK Config NOT set!, check errors.","‼️ Track Event: SDK is not initialized yet","‼️ Start Tracking: SDK is not initialized yet","Config is not set!","defaultValue","6963870TeHWCW","Start Tracking: SDK is not enabled!","Track Event: SDK is not enabled!","1541323onXiRA"];return(_0x2387=function(){return e})()}function _0x2009(){const e=["USD","AUD","CNY","ZAR","292wIvckQ","AED","JPY","HKD","KRW","7155412EmzxCF","57423gVYpCF","3140948jymiaS","5143936dOwddx","20PmCgCs","IRR","IQD","SEK","RUB","MXN","1wHlFRX","OMR","5gBhLUC","NOK","GBP","LTC","EHT","232AtojAK","TRY","EUR","8813112pjcGVS","533322edriWB","SGD","7040958QiRdNP","CHF"];return(_0x2009=function(){return e})()}function _0x2b96(e,t){const r=_0x2009();return(_0x2b96=function(e,t){return r[e-=318]})(e,t)}const _0x547359=_0x2b96;!function(){const e=_0x2b96,t=_0x2009();for(;;)try{if(886460===parseInt(e(323))/1*(parseInt(e(349))/2)+parseInt(e(348))/3*(-parseInt(e(342))/4)+parseInt(e(325))/5*(-parseInt(e(336))/6)+parseInt(e(350))/7+parseInt(e(330))/8*(parseInt(e(334))/9)+parseInt(e(351))/10*(-parseInt(e(347))/11)+parseInt(e(333))/12)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const RevenueCurrency={USD:_0x547359(338),EUR:_0x547359(332),JPY:_0x547359(344),GBP:_0x547359(327),AUD:_0x547359(339),CAD:"CAD",CHF:_0x547359(337),CNY:_0x547359(340),SEK:_0x547359(320),NZD:"NZD",MXN:_0x547359(322),SGD:_0x547359(335),HKD:_0x547359(345),NOK:_0x547359(326),KRW:_0x547359(346),TRY:_0x547359(331),RUB:_0x547359(321),INR:"INR",BRL:"BRL",ZAR:_0x547359(341),IRR:_0x547359(318),AED:_0x547359(343),IQD:_0x547359(319),SAR:"SAR",OMR:_0x547359(324),BTC:"BTC",EHT:_0x547359(329),LTC:_0x547359(328)},_0x1894e2=_0x34cd;function _0x34cd(e,t){const r=_0x5e81();return(_0x34cd=function(e,t){return r[e-=302]})(e,t)}!function(){const e=_0x34cd,t=_0x5e81();for(;;)try{if(256228===-parseInt(e(312))/1+parseInt(e(309))/2*(parseInt(e(308))/3)+parseInt(e(325))/4*(-parseInt(e(326))/5)+parseInt(e(334))/6*(-parseInt(e(306))/7)+-parseInt(e(307))/8+parseInt(e(331))/9+parseInt(e(305))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTEventValidationError extends Error{constructor(e){const t=_0x34cd;super(e),this[t(313)]=t(327)}}function _0x5e81(){const e=["WTEventValidationError","Value cannot be null or undefined",'" is not valid. Please use different characters',"length","440613QqATsW","some","Value length must not exceed ","936114kEbgxa"," characters","includes","Key cannot be '",'key "',"validateValue","no_parameters","DANGEROUS_CHARS","9053550OqwlSx","7QJCUff","2654520qDlnoi","1524099tMULtR","2ADaHKs","containsDangerousChars",'value "',"230084kkGzlc","name","Key length must not exceed ","containsSQLInjection","test","FORBIDDEN_KEY","containsScriptInjection","Key must be a non-empty string","MAX_LENGTH","isMaliciousContent","validateKey","SQL_INJECTION_PATTERNS","SCRIPT_INJECTION_PATTERNS","12aROrHR","813665iTMPAv"];return(_0x5e81=function(){return e})()}class WTEventValidator{static[_0x1894e2(315)](e){const t=_0x1894e2;return this[t(323)][t(332)](t=>t.test(e))}static containsScriptInjection(e){const t=_0x1894e2;return this.SCRIPT_INJECTION_PATTERNS[t(332)](r=>r[t(316)](e))}static[_0x1894e2(310)](e){const t=_0x1894e2;return this[t(304)][t(332)](r=>e[t(336)](r))}static[_0x1894e2(321)](e){const t=_0x1894e2;if(this.containsSQLInjection(e))return!0;if(this[t(318)](e))return!0;if(this[t(310)](e))return!0;try{const r=decodeURIComponent(e);if(r!==e&&this[t(321)](r))return!0}catch(e){}return!1}static[_0x1894e2(322)](e){const t=_0x1894e2;if(!e||"string"!=typeof e)throw new WTEventValidationError(t(319));if(e[t(330)]>this.MAX_LENGTH)throw new WTEventValidationError(t(314)+this[t(320)]+t(335));if(e===this[t(317)])throw new WTEventValidationError(t(337)+this.FORBIDDEN_KEY+"'");if(this[t(321)](e))throw new WTEventValidationError(t(338)+e+'" is not valid. Please use different characters')}static[_0x1894e2(302)](e){const t=_0x1894e2;if(null==e)throw new WTEventValidationError(t(328));const r=String(e);if(r[t(330)]>this[t(320)])throw new WTEventValidationError(t(333)+this.MAX_LENGTH+" characters");if(this[t(321)](r))throw new WTEventValidationError(t(311)+e+t(329))}}function _0x3c8b(e,t){const r=_0x371b();return(_0x3c8b=function(e,t){return r[e-=454]})(e,t)}function _0x371b(){const e=["22949600uJzoKT","652436rOQMey","message","681850WfBCuj","32FTeNIT","revenueEvent","264775AEHLyh","7426307RGyjYq","defaultEvent","amount","entries","1297911bGPQwC","type","validateValue","warn","6KfnPXD","default","params","revenue","5199669FbSkpY","currency","validateKey","name","16wabjMY"];return(_0x371b=function(){return e})()}WTEventValidator[_0x1894e2(320)]=50,WTEventValidator.FORBIDDEN_KEY=_0x1894e2(303),WTEventValidator[_0x1894e2(323)]=[/(\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[_0x1894e2(324)]=[/<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[_0x1894e2(304)]=["\0","\b","\t","","\n","\r",'"',"'","\\","%"];const _0x5bbbe1=_0x3c8b;!function(){const e=_0x3c8b,t=_0x371b();for(;;)try{if(579222===-parseInt(e(461))/1+parseInt(e(459))/2+parseInt(e(469))/3+-parseInt(e(462))/4*(-parseInt(e(464))/5)+parseInt(e(473))/6*(-parseInt(e(465))/7)+-parseInt(e(457))/8*(parseInt(e(477))/9)+parseInt(e(458))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTEvent{constructor(e,t,r,n,i){const s=_0x3c8b;this[s(470)]=e,this[s(456)]=t,this[s(467)]=r,this[s(454)]=n,this.params={},i&&this.validateAndSetParams(i)}static[_0x5bbbe1(466)](e,t){return new WTEvent(_0x5bbbe1(474),e,void 0,void 0,t)}static[_0x5bbbe1(463)](e,t,r,n){return new WTEvent(_0x5bbbe1(476),e,t,r,n)}validateAndSetParams(e){const t=_0x5bbbe1;for(const[r,n]of Object[t(468)](e))try{WTEventValidator[t(455)](r),WTEventValidator[t(471)](n),this[t(475)][r]=n}catch(e){if(e instanceof WTEventValidationError)throw WTLogger[t(472)]('WTEvent validation failed for key "'+r+'": '+e[t(460)]),e;throw e}}}function _0x1dee(e,t){var r=_0x35d4();return(_0x1dee=function(e,t){return r[e-=188]})(e,t)}function _0x35d4(){var e=["159655mePSHa","912222IlsvAm","2330456kOsNCr","4155kuulVv","1375911hWMSEC","16OUWYCl","2729594GCgblE","1DUxZnQ","2000xhqoaB","20296100axHtdI"];return(_0x35d4=function(){return e})()}!function(){for(var e=_0x1dee,t=_0x35d4();;)try{if(614919===parseInt(e(189))/1*(-parseInt(e(194))/2)+parseInt(e(195))/3*(-parseInt(e(190))/4)+-parseInt(e(192))/5+-parseInt(e(193))/6+parseInt(e(188))/7*(parseInt(e(197))/8)+-parseInt(e(196))/9+parseInt(e(191))/10)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;
1
+ "use strict";function _0x6301(e,t){const r=_0x2209();return(_0x6301=function(e,t){return r[e-=342]})(e,t)}const _0x166e2d=_0x6301;function _0x2209(){const e=["1819221BdCluO","7NgHYfM","1800","3906592JUHskJ","488147VwQzBx","1783074IDYunO","2.0.9","info","8972UdOuPD","300","1654294LXBFKI","production","8682939RcEyrr","635BxSDRo","1DJKLwD","web","550xlNHjI"];return(_0x2209=function(){return e})()}!function(){const e=_0x6301,t=_0x2209();for(;;)try{if(543052===parseInt(e(347))/1*(-parseInt(e(343))/2)+-parseInt(e(350))/3+-parseInt(e(358))/4*(parseInt(e(346))/5)+-parseInt(e(355))/6*(-parseInt(e(351))/7)+parseInt(e(353))/8+-parseInt(e(345))/9+parseInt(e(349))/10*(parseInt(e(354))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTConstants={SDK:{PLATFORM:_0x166e2d(348),VERSION:_0x166e2d(356)},CONFIG:{DEFAULT_ENVIRONMENT:_0x166e2d(344)},DEFAULTS:{LOG_LEVEL:_0x166e2d(357),SESSION_INTERVAL:_0x166e2d(352),SUBSESSION_INTERVAL:_0x166e2d(342),PARAMETERS_VALUE:void 0}},_0x73872f=_0x7f58;function _0x326b(){const e=["indexOf","addOutputEngine","log","error","8UbxQjr","2ADIqMx","level","setPrefix","outputEngines","debug","push","3076633lcaaRY","4267225tPIEaF","LOG_LEVEL","warn","shouldLog","prefix","none","550524CJcwWc","info","setLevel","toUpperCase","DEFAULTS","978723gHxxfE","1014165BCZxwb","599588OioMcN","59062HcQUSA"];return(_0x326b=function(){return e})()}function _0x7f58(e,t){const r=_0x326b();return(_0x7f58=function(e,t){return r[e-=236]})(e,t)}!function(){const e=_0x7f58,t=_0x326b();for(;;)try{if(735647===-parseInt(e(254))/1*(parseInt(e(260))/2)+parseInt(e(251))/3+-parseInt(e(253))/4+parseInt(e(240))/5+parseInt(e(246))/6+parseInt(e(239))/7*(-parseInt(e(259))/8)+parseInt(e(252))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTLogLevel={DEBUG:_0x73872f(237),INFO:_0x73872f(247),WARN:"warn",ERROR:_0x73872f(258),NONE:_0x73872f(245)};class WTLogger{static[_0x73872f(248)](e){this[_0x73872f(261)]=e}static[_0x73872f(262)](e){this[_0x73872f(244)]=e}static[_0x73872f(256)](e){const t=_0x73872f;this[t(236)][t(238)](e)}static shouldLog(e){const t=_0x73872f,r=["debug",t(247),t(242),t(258)],i=r[t(255)](this[t(261)]);return r.indexOf(e)>=i}static[_0x73872f(257)](e,...t){const r=_0x73872f;if(!this[r(243)](e))return;const i="["+this[r(244)]+"-"+e[r(249)]()+"]";for(const n of this[r(236)])n(e,i,t)}static[_0x73872f(237)](...e){this[_0x73872f(257)]("debug",...e)}static info(...e){this.log("info",...e)}static warn(...e){const t=_0x73872f;this[t(257)](t(242),...e)}static[_0x73872f(258)](...e){const t=_0x73872f;this[t(257)](t(258),...e)}}function _0x2e59(e,t){var r=_0x32fd();return(_0x2e59=function(e,t){return r[e-=103]})(e,t)}WTLogger[_0x73872f(261)]=WTConstants[_0x73872f(250)][_0x73872f(241)],WTLogger[_0x73872f(244)]="WT",WTLogger[_0x73872f(236)]=[(e,t,r)=>{const i=_0x7f58;switch(e){case"debug":console.debug(t,...r);break;case i(247):console.info(t,...r);break;case i(242):console[i(242)](t,...r);break;case i(258):console.error(t,...r);break;default:console[i(257)](t,...r)}}];var _0x122652=_0x2e59;!function(){for(var e=_0x2e59,t=_0x32fd();;)try{if(257210===-parseInt(e(114))/1*(-parseInt(e(119))/2)+-parseInt(e(129))/3+-parseInt(e(152))/4+-parseInt(e(158))/5+-parseInt(e(109))/6*(parseInt(e(168))/7)+parseInt(e(104))/8+parseInt(e(108))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTStorageKeys={DEVICE_ID:_0x122652(107),INITIAL_DATE:_0x122652(144),INITIAL_CONFIG:"WT.InitialConfigs",SDK_ENVIRONMENT:_0x122652(132),SDK_VERSION:"WT.SdkVersion",CONFIG:"WT.Configs",SDK_CLICK_SUBMIT:_0x122652(120),FIRST_SESSION_SUBMIT:_0x122652(164),SDK_ENABLED:_0x122652(146),FCM_TOKEN:"WT.FcmToken",PUSH_TOKEN:"WT.PushToken",EVENT_COUNT:"WT.EventCount",SESSION_COUNT:_0x122652(115),SESSION_LENGTH:"WT.SessionLenght",SUBSESSION_COUNT:_0x122652(130),ACTIVE_TIME:"WT.ActiveTime",INACTIVE_TIME:_0x122652(159),INACTIVE_DURATION:_0x122652(160),REQUEST_QUEUE:_0x122652(131),PENDING_REQUEST_QUEUE:"WT.PendingRequestQueue"};function _0x32fd(){var e=["INITIAL_CONFIG","firstSessionSubmit","setItem","WT.InitialDate","SUBSESSION_COUNT","WT.SdkEnabled","SDK","error","REQUEST_QUEUE","SDK_ENVIRONMENT","toString","553392LCzjYT","PENDING_REQUEST_QUEUE","getItem","parse","INACTIVE_TIME","pendingRequestRecords","412480YimzhG","WT.InactiveTime","WT.InactiveDuration","EVENT_COUNT","false","ACTIVE_TIME","WT.FirstSessionSubmit","INACTIVE_DURATION","activeTime","sdkVersion","147oDkXIz","requestRecords","SDK_ENABLED","true","initialConfig","PUSH_TOKEN","sdkClickSubmit","DEVICE_ID","sdkEnvironment","3507936qecRNd","CONFIG","activeDuration","WT.DeviceId","3790827zbWIIs","131952xxAIAT","FIRST_SESSION_SUBMIT","inactiveTime","SDK_VERSION","Error in JSON decoding for key '","115171TfaVsP","WT.SessionCount","sessionCount","pushToken","INITIAL_DATE","2HOFHHF","WT.SdkClickSubmit","sdkEnabled","config","stringify","SDK_CLICK_SUBMIT","setJson","initialDate","FCM_TOKEN","clear","104940zkdnYb","WT.SubSessionCount","WT.RequestQueue","WT.SdkEnvironment","fcmToken","optionalBool","deviceId","subSessionCount","optionalNumber","removeItem","SESSION_COUNT","getJson"];return(_0x32fd=function(){return e})()}class StorageManager{[_0x122652(128)](){localStorage.clear()}[_0x122652(125)](e,t){var r=_0x122652;if(t)try{const i=JSON[r(123)](t);localStorage[r(143)](e,i)}catch(t){WTLogger[r(148)]("Error in encoding object for key '"+e+"'",t)}else localStorage[r(138)](e)}[_0x122652(140)](e){var t=_0x122652;const r=localStorage[t(154)](e);if(!r)return null;try{return JSON[t(155)](r)}catch(r){return WTLogger[t(148)](t(113)+e+"': "+r,r),null}}optionalNumber(e){const t=localStorage[_0x122652(154)](e);if(null===t)return null;const r=Number(t);return isNaN(r)?null:r}[_0x122652(134)](e){var t=_0x122652;const r=localStorage[t(154)](e);return null===r?null:r===t(171)||r!==t(162)&&null}get[_0x122652(135)](){return localStorage[_0x122652(154)](WTStorageKeys.DEVICE_ID)}set[_0x122652(135)](e){var t=_0x122652;e?localStorage.setItem(WTStorageKeys[t(175)],e):localStorage[t(138)](WTStorageKeys[t(175)])}get[_0x122652(126)](){var e=_0x122652;return this[e(140)](WTStorageKeys[e(118)])}set[_0x122652(126)](e){var t=_0x122652;this[t(125)](WTStorageKeys[t(118)],e)}get initialConfig(){var e=_0x122652;return this[e(140)](WTStorageKeys[e(141)])}set[_0x122652(172)](e){var t=_0x122652;this[t(125)](WTStorageKeys[t(141)],e)}get[_0x122652(122)](){var e=_0x122652;return this[e(140)](WTStorageKeys[e(105)])}set config(e){var t=_0x122652;this.setJson(WTStorageKeys[t(105)],e)}get[_0x122652(121)](){var e;return null!==(e=this.optionalBool(WTStorageKeys.SDK_ENABLED))&&void 0!==e&&e}set sdkEnabled(e){var t=_0x122652;localStorage[t(143)](WTStorageKeys[t(170)],e[t(151)]())}get[_0x122652(174)](){var e,t=_0x122652;return null!==(e=this[t(134)](WTStorageKeys[t(124)]))&&void 0!==e&&e}set[_0x122652(174)](e){var t=_0x122652;localStorage[t(143)](WTStorageKeys[t(124)],e[t(151)]())}get[_0x122652(142)](){var e,t=_0x122652;return null!==(e=this.optionalBool(WTStorageKeys[t(110)]))&&void 0!==e&&e}set[_0x122652(142)](e){var t=_0x122652;localStorage[t(143)](WTStorageKeys[t(110)],e[t(151)]())}get[_0x122652(133)](){return localStorage.getItem(WTStorageKeys.FCM_TOKEN)}set[_0x122652(133)](e){var t=_0x122652;e?localStorage[t(143)](WTStorageKeys[t(127)],e):localStorage[t(138)](WTStorageKeys.FCM_TOKEN)}get[_0x122652(117)](){var e=_0x122652;return localStorage[e(154)](WTStorageKeys[e(173)])}set pushToken(e){var t=_0x122652;e?localStorage[t(143)](WTStorageKeys[t(173)],e):localStorage[t(138)](WTStorageKeys[t(173)])}get[_0x122652(116)](){var e,t=_0x122652;return null!==(e=this.optionalNumber(WTStorageKeys[t(139)]))&&void 0!==e?e:1}set sessionCount(e){var t=_0x122652;localStorage[t(143)](WTStorageKeys[t(139)],e[t(151)]())}get[_0x122652(136)](){var e,t=_0x122652;return null!==(e=this[t(137)](WTStorageKeys[t(145)]))&&void 0!==e?e:1}set[_0x122652(136)](e){localStorage[_0x122652(143)](WTStorageKeys.SUBSESSION_COUNT,e.toString())}get[_0x122652(106)](){var e;return null!==(e=this[_0x122652(137)](WTStorageKeys.SESSION_LENGTH))&&void 0!==e?e:0}set[_0x122652(106)](e){var t=_0x122652;localStorage[t(143)](WTStorageKeys.SESSION_LENGTH,e[t(151)]())}get inactiveDuration(){var e,t=_0x122652;return null!==(e=this[t(137)](WTStorageKeys[t(165)]))&&void 0!==e?e:0}set inactiveDuration(e){var t=_0x122652;localStorage[t(143)](WTStorageKeys[t(165)],e[t(151)]())}get inactiveTime(){var e=_0x122652;return this[e(137)](WTStorageKeys[e(163)])}set[_0x122652(111)](e){var t=_0x122652;null!==e?localStorage[t(143)](WTStorageKeys[t(163)],e.toString()):localStorage[t(138)](WTStorageKeys[t(163)])}get[_0x122652(166)](){return this[_0x122652(137)](WTStorageKeys.INACTIVE_TIME)}set[_0x122652(166)](e){var t=_0x122652;null!==e?localStorage[t(143)](WTStorageKeys[t(156)],e[t(151)]()):localStorage[t(138)](WTStorageKeys[t(156)])}get[_0x122652(169)](){var e;return null!==(e=this[_0x122652(140)](WTStorageKeys.REQUEST_QUEUE))&&void 0!==e?e:[]}set[_0x122652(169)](e){var t=_0x122652;this[t(125)](WTStorageKeys[t(149)],e)}get pendingRequestRecords(){var e,t=_0x122652;return null!==(e=this[t(140)](WTStorageKeys[t(153)]))&&void 0!==e?e:[]}set[_0x122652(157)](e){var t=_0x122652;this.setJson(WTStorageKeys[t(153)],e)}get eventCount(){var e,t=_0x122652;return null!==(e=this.optionalNumber(WTStorageKeys[t(161)]))&&void 0!==e?e:0}set eventCount(e){var t=_0x122652;localStorage[t(143)](WTStorageKeys[t(161)],e.toString())}get sdkEnvironment(){var e=_0x122652;return localStorage[e(154)](WTStorageKeys[e(150)])}set[_0x122652(103)](e){var t=_0x122652;localStorage[t(143)](WTStorageKeys[t(150)],e)}get[_0x122652(167)](){var e,t=_0x122652;return null!==(e=localStorage[t(154)](WTStorageKeys[t(112)]))&&void 0!==e?e:WTConstants[t(147)].VERSION}set[_0x122652(167)](e){var t=_0x122652;e?localStorage.setItem(WTStorageKeys.SDK_VERSION,e):localStorage[t(138)](WTStorageKeys[t(112)])}}const storageManager=new StorageManager,_0x10582c=_0x38d0;function _0x38d0(e,t){const r=_0x3e67();return(_0x38d0=function(e,t){return r[e-=492]})(e,t)}!function(){const e=_0x38d0,t=_0x3e67();for(;;)try{if(981705===-parseInt(e(507))/1+-parseInt(e(495))/2+parseInt(e(503))/3*(-parseInt(e(510))/4)+parseInt(e(504))/5*(parseInt(e(499))/6)+parseInt(e(505))/7+-parseInt(e(493))/8+parseInt(e(496))/9*(parseInt(e(497))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class SecureConfig{static[_0x10582c(498)](e){const t=_0x10582c;try{const r=atob(e);let i="";for(let e=0;e<r[t(494)];e++){const n=90^r.charCodeAt(e);i+=String[t(506)](n)}return i}catch(e){return console[t(501)](t(513),e),""}}static get[_0x10582c(502)](){const e=_0x10582c;return this[e(498)](e(512))}static get DEBUG_BASE_URL(){const e=_0x10582c;return this[e(498)](e(511))}static get[_0x10582c(500)](){const e=_0x10582c;return this[e(498)](e(492))}static get[_0x10582c(509)](){const e=_0x10582c;return this.decode(e(508))}}function _0x3e67(){const e=["error","CONFIG_PATH","8634BnJQxp","18010Mknbza","13517028xbKNyn","fromCharCode","1752607zgvUiW","Mi4uKilgdXU5NSg/dC0zKT8uKDs5MXQzNQ==","PRODUCTION_BASE_URL","1952rDDvsC","Mi4uKilgdXU5NSg/dD4/OC89dC0zKT8uKDs5MT4/LHQzKA==","dTsqM3U9Py53OTU0PDM9","Decode error:","Mi4uKilgdXU5NSg/dCkuOz0/dC0zKT8uKDs5MT4/LHQzKA==","6423680xKcxah","length","1038854HzwTex","4938939KgiwMK","30kIkABZ","decode","3138cOWSTy","STAGE_BASE_URL"];return(_0x3e67=function(){return e})()}const _0x37ba05=_0x2e67;function _0x2e67(e,t){const r=_0x462e();return(_0x2e67=function(e,t){return r[e-=327]})(e,t)}!function(){const e=_0x2e67,t=_0x462e();for(;;)try{if(129775===-parseInt(e(340))/1+-parseInt(e(345))/2*(-parseInt(e(346))/3)+parseInt(e(348))/4*(parseInt(e(333))/5)+parseInt(e(338))/6+parseInt(e(335))/7+-parseInt(e(339))/8*(-parseInt(e(330))/9)+parseInt(e(343))/10*(-parseInt(e(332))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTUserEnvironment={SANDBOX:_0x37ba05(327),PRODUCTION:_0x37ba05(342)},WTSDKEnvironment={DEBUG:"debug",STAGE:_0x37ba05(347),PRODUCTION:_0x37ba05(342)},EnvironmentUtils={get sdkEnvironment(){const e=_0x37ba05;var t;return null!==(t=storageManager[e(334)])&&void 0!==t?t:WTConstants[e(331)][e(329)]},get needResponseDetails(){const e=_0x37ba05;return this[e(334)]!==WTSDKEnvironment[e(337)]},get baseUrl(){const e=_0x37ba05;switch(this[e(334)]){case WTSDKEnvironment[e(344)]:return SecureConfig[e(341)];case WTSDKEnvironment.STAGE:return SecureConfig[e(336)];case WTSDKEnvironment[e(337)]:return SecureConfig[e(328)];default:throw new Error("Unknown environment: "+this[e(334)])}}};function _0x462e(){const e=["52290fWMVEx","DEBUG","71340EytUtA","15lwzgUo","stage","4628LosisX","sandbox","PRODUCTION_BASE_URL","DEFAULT_ENVIRONMENT","441vlcFUF","CONFIG","1353ceaqNL","1110cemEhJ","sdkEnvironment","1313438JpxSFg","STAGE_BASE_URL","PRODUCTION","1197564wSFQqT","34168PUWGyd","258769PcaKkw","DEBUG_BASE_URL","production"];return(_0x462e=function(){return e})()}var _0x58bc7a=_0x22cd;function _0x22cd(e,t){var r=_0x47dd();return(_0x22cd=function(e,t){return r[e-=318]})(e,t)}function _0x47dd(){var e=["3090210BaHgOT","sdkVersion","12118942wQwoxZ","18vosgKb","4jcXCBP","561145jPRZgo","1426008tJnKOa","1qlwUdm","sdkEnvironment","258138PLFBXK","451794QmCBVv","5521686NBMwyn","7OhTBNd"];return(_0x47dd=function(){return e})()}!function(){for(var e=_0x22cd,t=_0x47dd();;)try{if(525856===parseInt(e(323))/1*(parseInt(e(325))/2)+parseInt(e(326))/3+-parseInt(e(320))/4*(-parseInt(e(321))/5)+parseInt(e(327))/6*(-parseInt(e(328))/7)+parseInt(e(322))/8*(-parseInt(e(319))/9)+parseInt(e(329))/10+parseInt(e(318))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class ResourceWrapper{static[_0x58bc7a(324)](e){var t=_0x58bc7a;try{storageManager[t(324)]=e}catch(e){}}static[_0x58bc7a(330)](e){var t=_0x58bc7a;try{storageManager[t(330)]=e}catch(e){}}}function __awaiter(e,t,r,i){return new(r||(r=Promise))(function(n,s){function o(e){try{c(i.next(e))}catch(e){s(e)}}function a(e){try{c(i.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(o,a)}c((i=i.apply(e,t||[])).next())})}function _0xd608(e,t){const r=_0x88e2();return(_0xd608=function(e,t){return r[e-=340]})(e,t)}"function"==typeof SuppressedError&&SuppressedError;const _0x53eafd=_0xd608;function _0x88e2(){const e=["9RIJVRQ","8070858xEdRDo","595392WssYHy","21184128waJZXw","5978780dZTKDV","4685992quTIGP","/api/v1/sdk_infos","/api/v1/sessions","8552614utCdGb","/api/v1/app_settings","1152324lIGUFo"];return(_0x88e2=function(){return e})()}!function(){const e=_0xd608,t=_0x88e2();for(;;)try{if(750203===-parseInt(e(350))/1+parseInt(e(342))/2*(-parseInt(e(340))/3)+-parseInt(e(345))/4+parseInt(e(344))/5+parseInt(e(341))/6+-parseInt(e(348))/7+parseInt(e(343))/8)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTEndpoints={EVENTS:"/api/v1/events",SESSIONS:_0x53eafd(347),SDK_CLICKS:"/api/v1/sdk_clicks",SDK_INFOS:_0x53eafd(346),ATTRIBUTIONS:"/api/v1/attributions",APP_SETTINGS:_0x53eafd(349)};var ApiError,_0x597cee=_0x259f;function _0x259f(e,t){var r=_0x521f();return(_0x259f=function(e,t){return r[e-=165]})(e,t)}function _0x521f(){var e=["EVENTS","SUBSESSION_INTERVAL","2cZCBKo","session_interval","3624724LFgXqi","attributions","2691189Eoduzm","events","sdk_update","3483680PfdOGQ","sessionInterval","1549818yvPoqR","30xZcRko","778126OYLXCJ","sdk_infos","SESSION_INTERVAL","subsession_interval","defaultValue","24GHsSbx","1623706ofNlOR","sdkEnabled","sdk_clicks","DEFAULTS","sdkInfos","sessions","3987360SoxNVX"];return(_0x521f=function(){return e})()}!function(){for(var e=_0x259f,t=_0x521f();;)try{if(519726===parseInt(e(188))/1+parseInt(e(177))/2*(-parseInt(e(186))/3)+-parseInt(e(179))/4+parseInt(e(184))/5+-parseInt(e(167))/6*(parseInt(e(168))/7)+parseInt(e(174))/8+-parseInt(e(181))/9*(-parseInt(e(187))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTConfig{constructor(e,t,r,i,n,s=!0,o=!1,a=WTConstants[_0x597cee(171)][_0x597cee(190)],c=WTConstants[_0x597cee(171)].SUBSESSION_INTERVAL){var u=_0x597cee;this[u(182)]=e,this[u(173)]=t,this.sdkClicks=r,this[u(172)]=i,this[u(180)]=n,this[u(169)]=s,this.sdkUpdate=o,this[u(185)]=a,this.subsessionInterval=c}static fromJson(e){var t,r,i,n,s=_0x597cee;return new WTConfig(e[s(182)],e[s(173)],e[s(170)],e[s(189)],e[s(180)],null===(t=e.sdk_enabled)||void 0===t||t,null!==(r=e[s(183)])&&void 0!==r&&r,null!==(i=e[s(178)])&&void 0!==i?i:WTConstants[s(171)].SESSION_INTERVAL,null!==(n=e[s(165)])&&void 0!==n?n:WTConstants[s(171)][s(176)])}static get[_0x597cee(166)](){var e=_0x597cee;return new WTConfig(WTEndpoints[e(175)],WTEndpoints.SESSIONS,WTEndpoints.SDK_CLICKS,WTEndpoints.SDK_INFOS,WTEndpoints.ATTRIBUTIONS,!0,!1,WTConstants.DEFAULTS.SESSION_INTERVAL,WTConstants[e(171)][e(176)])}}function _0x4dcc(e,t){var r=_0x3ec1();return(_0x4dcc=function(e,t){return r[e-=237]})(e,t)}function _0x3ec1(){var e=["4344EBHwlk","InvalidUrl","43050xHlVwR","569579YfzCts","NetworkError: ","106104EKNAum","name","156zqbmTQ","NetworkFailure","277725aQrptC","NetworkError","statusCode","1792700NPGSJq","DecodingError","267gZqwPw","14940iFbrqk","ServerError ","ServerError","13302xvOmTb"];return(_0x3ec1=function(){return e})()}!function(){for(var e=_0x4dcc,t=_0x3ec1();;)try{if(595297===parseInt(e(240))/1+parseInt(e(242))/2+-parseInt(e(251))/3*(-parseInt(e(252))/4)+parseInt(e(239))/5*(parseInt(e(244))/6)+parseInt(e(246))/7+-parseInt(e(237))/8*(parseInt(e(255))/9)+parseInt(e(249))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}(),function(e){var t=_0x4dcc;class r extends Error{constructor(e){var t=_0x4dcc;super("Invalid URL: "+e),this.name=t(238)}}e.InvalidUrl=r;class i extends Error{constructor(e,t){var r=_0x4dcc;super(r(253)+e+": "+t),this[r(248)]=e,this.message=t,this[r(243)]=r(254)}}e[t(254)]=i;class n extends Error{constructor(e){var r=t;super(r(241)+e),this[r(243)]=r(245)}}e[t(247)]=n;class s extends Error{constructor(e){var r=t;super("DecodingError: "+e),this.name=r(250)}}e[t(250)]=s}(ApiError||(ApiError={}));var _0x235566=_0x42e9;function _0x2a4c(){var e=["maxRetries","6766740twHcSS","701248fGRyOM","2497284cXcLrY","6748740JQjxhu","retryInterval","3101760tIMvPW","20596104OQJRoN","49bKxFqX","191767XbmVPG","6cjNxCa","canRetry"];return(_0x2a4c=function(){return e})()}function _0x42e9(e,t){var r=_0x2a4c();return(_0x42e9=function(e,t){return r[e-=415]})(e,t)}!function(){for(var e=_0x42e9,t=_0x2a4c();;)try{if(736863===-parseInt(e(416))/1*(-parseInt(e(417))/2)+parseInt(e(422))/3+parseInt(e(425))/4+parseInt(e(420))/5+-parseInt(e(423))/6+-parseInt(e(415))/7*(-parseInt(e(421))/8)+-parseInt(e(426))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RetryPolicy{constructor(e=3,t=2e3){var r=_0x42e9;this[r(419)]=e,this[r(424)]=t}[_0x235566(418)](e){return e<this[_0x235566(419)]}waitBeforeRetry(){return __awaiter(this,void 0,void 0,function*(){var e=_0x42e9;return new Promise(t=>setTimeout(t,this[e(424)]))})}}function _0x23d5(){const e=["994818UlkgHY","InvalidUrl","DecodingError","210ClNJMV","241453eMdzdW","3565212vdeHCK","headers","error","Error executing request","6gYKHFV","-- PARAMETERS =>",") => ","text","Content-Type","status","Request successful","5937912hAqmTW","Server error","json","debug","ServerError","1988445SZYdvJ","✅ API SUCCESS (",") =>","canRetry","waitBeforeRetry","assign","warn","NetworkError","cors","application/json","no-store, no-cache, must-revalidate, proxy-revalidate","959siPrjg","sendRequest","28AMGBgy","retryPolicy","params","retryAttempt","12657jufeUo","no-cache","method","❌ API ERROR (","328JZoqNn","baseUrl","message"];return(_0x23d5=function(){return e})()}function _0x2cce(e,t){const r=_0x23d5();return(_0x2cce=function(e,t){return r[e-=166]})(e,t)}!function(){const e=_0x2cce,t=_0x23d5();for(;;)try{if(500736===-parseInt(e(173))/1*(-parseInt(e(178))/2)+-parseInt(e(207))/3*(-parseInt(e(203))/4)+parseInt(e(190))/5+parseInt(e(174))/6+-parseInt(e(201))/7*(parseInt(e(166))/8)+parseInt(e(185))/9+parseInt(e(172))/10*(-parseInt(e(169))/11))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=_0x2cce,i=t[r(206)]||1;let n,s;try{n=new URL(e,EnvironmentUtils[r(167)])}catch(t){throw console.error("Invalid URL:",t),new(ApiError[r(170)])(""+EnvironmentUtils[r(167)]+e)}WTLogger[r(188)]("🚀 REQUEST ("+i+r(180)+t[r(209)]+" "+e),WTLogger[r(188)](r(179),t[r(205)]||{});const o=Object[r(195)]({Accept:"application/json","Cache-Control":r(200),Pragma:r(208),Expires:"0"},t[r(175)]);t[r(205)]&&(o[r(182)]=r(199),s=JSON.stringify(t[r(205)]));try{const e=yield fetch(n,{method:t[r(209)],headers:o,body:s,cache:"no-store",mode:r(198),keepalive:!0});if(!e.ok){let t=yield e[r(187)](),i=t[r(168)]||(yield e[r(181)]());throw WTLogger[r(196)](r(210)+e.status+r(192),i),new(ApiError[r(189)])(e[r(183)],t[r(168)]||r(186))}try{const t=yield e[r(187)]();return WTLogger[r(188)](r(191)+e[r(183)]+r(192),t[r(168)]||r(184)),t}catch(e){throw new(ApiError[r(171)])(e.message||String(e))}}catch(n){if(n instanceof ApiError[r(189)]||n instanceof ApiError[r(171)])throw n;if(WTLogger[r(176)](r(177),n),this.retryPolicy()[r(193)](i))return yield this[r(204)]()[r(194)](),this[r(202)](e,Object[r(195)](Object[r(195)]({},t),{retryAttempt:i+1}));throw new(ApiError[r(197)])(n.message||"Unknown error")}})}};function _0x304b(){const e=["hostname","12580kqjZBB","location","2926zZYonk","POST","1372140MrVzLN","3877vJQmWf","11705071bCvkkq","2736qbdepp","appFrameWork","4770IWTPlm","sendRequest","109146JdRFtZ","SDK","278pLtMHZ","185cFqDxA","toISOString","initialConfig","result","PLATFORM","6858396fAGvvE","appToken"];return(_0x304b=function(){return e})()}function _0x527b(e,t){const r=_0x304b();return(_0x527b=function(e,t){return r[e-=261]})(e,t)}!function(){const e=_0x527b,t=_0x304b();for(;;)try{if(950404===-parseInt(e(279))/1*(-parseInt(e(265))/2)+-parseInt(e(278))/3+parseInt(e(271))/4+parseInt(e(266))/5*(parseInt(e(263))/6)+-parseInt(e(280))/7+-parseInt(e(281))/8*(parseInt(e(261))/9)+parseInt(e(274))/10*(parseInt(e(276))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const apiClient={doGetConfig(){return __awaiter(this,void 0,void 0,function*(){const e=_0x527b,t=storageManager[e(268)];if(!t)throw"Initial Config is not set";const r={parameters:{app_token:t[e(272)],app_version:t.appVersion,framework:t[e(282)],package_name:window[e(275)][e(273)],platform:WTConstants[e(264)][e(270)],sdk_version:storageManager.sdkVersion,initiated_by:WTConstants[e(264)][e(270)]+"_"+t.appFrameWork,store_name:"other"}},i=yield networkManager[e(262)](SecureConfig.CONFIG_PATH,{method:e(277),params:r});return WTConfig.fromJson(i[e(269)])})},doCallRequest(e,t){return __awaiter(this,void 0,void 0,function*(){const r=_0x527b;t.sdk_updated_at=(new Date)[r(267)]();return(yield networkManager[r(262)](e,{method:r(277),params:{needs_response_details:EnvironmentUtils.needResponseDetails,parameters:t}})).success})}};function _0xc4ff(e,t){const r=_0x4751();return(_0xc4ff=function(e,t){return r[e-=257]})(e,t)}function _0x4751(){const e=["23430oKTvni","tickerDelay","inactiveDuration","tickerJob","activeDuration","1927332hhvrxE","start","stop","5918016IqQCMF","60446yQlMDe","activeTime","isPaused","590034nhQYVA","ActivityTicker: active duration= ","now","pause","9tDwEqE","679hWdUcL","hasFocus","hidden","4638735FobaDH","2763KxnIpw","4130fnOmeG","s, inactive duration= "];return(_0x4751=function(){return e})()}const _0x492f78=_0xc4ff;!function(){const e=_0xc4ff,t=_0x4751();for(;;)try{if(493163===parseInt(e(263))/1*(parseInt(e(280))/2)+-parseInt(e(259))/3+parseInt(e(276))/4+parseInt(e(267))/5+parseInt(e(271))/6*(-parseInt(e(264))/7)+-parseInt(e(279))/8+parseInt(e(268))/9*(parseInt(e(269))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class ActivityTicker{constructor(){const e=_0xc4ff;this[e(272)]=1e3,this[e(258)]=!1}[_0x492f78(277)](){const e=_0x492f78;this.tickerJob&&clearInterval(this[e(274)]),this[e(274)]=setInterval(()=>{const t=e;this[t(258)]||document[t(266)]||document[t(265)]()&&(console.log(t(260)+storageManager[t(275)]/1e3+t(270)+storageManager[t(273)]/1e3+"s"),storageManager[t(257)]=Date[t(261)](),storageManager[t(275)]+=this[t(272)])},this[e(272)])}[_0x492f78(278)](){clearInterval(this[_0x492f78(274)]),this.tickerJob=void 0}[_0x492f78(262)](){this[_0x492f78(258)]=!0}resume(){this.isPaused=!1}}const activityTicker=new ActivityTicker,_0x41092a=_0x34aa;function _0x34aa(e,t){const r=_0x2199();return(_0x34aa=function(e,t){return r[e-=360]})(e,t)}function _0x2199(){const e=["finally","abort","295320NgwVBA","7XCITxa","signal","88kFyaKQ","country.is failed","json","1071kNMzLR","78WmTvcE","6PJDsvE","tryAllEndpoints","1gXMsLj","4096808ypKjzw","35570YpwsMV","171XmuQUE","34168RRgnxZ","https://free.freeipapi.com/api/json","getCountryCode","2501485dUAdaH","fetchWithTimeout","393592Fdzlxj","_country","country","1371132rebroh","ipwho.is failed"];return(_0x2199=function(){return e})()}!function(){const e=_0x34aa,t=_0x2199();for(;;)try{if(269367===-parseInt(e(379))/1*(parseInt(e(362))/2)+parseInt(e(382))/3*(parseInt(e(383))/4)+parseInt(e(360))/5*(-parseInt(e(377))/6)+-parseInt(e(370))/7*(-parseInt(e(380))/8)+parseInt(e(375))/9*(-parseInt(e(381))/10)+parseInt(e(372))/11*(-parseInt(e(369))/12)+parseInt(e(376))/13*(parseInt(e(365))/14))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class CountryFinder{constructor(){this[_0x34aa(363)]=null}[_0x41092a(385)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x34aa;return!this._country&&(this[e(363)]=yield this[e(378)]()),this[e(363)]})}[_0x41092a(378)](){return __awaiter(this,void 0,void 0,function*(){const e=[()=>__awaiter(this,void 0,void 0,function*(){const e=_0x34aa,t=yield this.fetchWithTimeout("https://api.country.is");if(!t.ok)throw new Error("country.is failed");return(yield t.json())[e(364)]||null}),()=>__awaiter(this,void 0,void 0,function*(){const e=_0x34aa,t=yield this[e(361)](e(384));if(!t.ok)throw new Error(e(373));return(yield t.json()).countryCode||null}),()=>__awaiter(this,void 0,void 0,function*(){const e=_0x34aa,t=yield this[e(361)]("https://ipwho.is/");if(!t.ok)throw new Error(e(366));return(yield t[e(374)]()).country_code||null})];for(const t of e)try{const e=yield t();if(e)return e}catch(e){}return null})}[_0x41092a(361)](e){return __awaiter(this,arguments,void 0,function*(e,t=2e3){const r=_0x34aa,i=new AbortController,n=setTimeout(()=>i[r(368)](),t);return fetch(e,{signal:i[r(371)]})[r(367)](()=>clearTimeout(n))})}}const countryFinder=new CountryFinder;function _0x1b11(e,t){const r=_0x53d2();return(_0x1b11=function(e,t){return r[e-=224]})(e,t)}!function(){const e=_0x1b11,t=_0x53d2();for(;;)try{if(339175===parseInt(e(225))/1*(parseInt(e(232))/2)+parseInt(e(227))/3*(-parseInt(e(228))/4)+-parseInt(e(226))/5+parseInt(e(235))/6*(-parseInt(e(224))/7)+parseInt(e(230))/8*(parseInt(e(234))/9)+-parseInt(e(236))/10*(-parseInt(e(229))/11)+parseInt(e(233))/12)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const cryptoHelper={generateDeviceUUID:()=>crypto[_0x1b11(231)]()};function _0x53d2(){const e=["3799092BPyJdZ","120SwYzIo","randomUUID","10806fFQNgb","4437804ZFsohm","251973WROWVT","42006Hsjici","10dpFWLU","112ePQjIU","3lOzpIw","1733920FoPgvw","4863CShWCm","872bvXSjr"];return(_0x53d2=function(){return e})()}function _0x15c6(){const e=["shift","maxRetries","retryCount","48JqysoG","randomUUID","435MjnDhw","waitingQueue","16818vuZvZz","push","1524176MYrcZk","parameters","locked","endpoint","9wZRdAb","31054VjbXjj","2926455YpuHgZ","createdAt","3125832uBnvBq","2168530RkeAly","842437qWWypM"];return(_0x15c6=function(){return e})()}!function(){const e=_0x14e4,t=_0x15c6();for(;;)try{if(442004===-parseInt(e(355))/1+-parseInt(e(370))/2*(-parseInt(e(359))/3)+parseInt(e(353))/4+-parseInt(e(361))/5*(-parseInt(e(363))/6)+parseInt(e(371))/7+-parseInt(e(365))/8*(parseInt(e(369))/9)+-parseInt(e(354))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RequestRecord{constructor(e,t){const r=_0x14e4;this[r(358)]=0,this[r(357)]=3,this.id=crypto[r(360)](),this[r(368)]=e,this[r(366)]=t,this[r(352)]=Date.now()}}function _0x14e4(e,t){const r=_0x15c6();return(_0x14e4=function(e,t){return r[e-=352]})(e,t)}class Mutex{constructor(){const e=_0x14e4;this[e(367)]=!1,this[e(362)]=[]}acquire(){return __awaiter(this,void 0,void 0,function*(){return new Promise(e=>{const t=_0x14e4;this[t(367)]?this[t(362)][t(364)](e):(this.locked=!0,e())})})}release(){const e=_0x14e4;if(this[e(362)].length>0){this[e(362)][e(356)]()()}else this[e(367)]=!1}}function _0x21b6(){const e=["SDK_INFOS","failedRequestDelay","isInitialized","processPendingQueue","Queue Manager is not initialized. Call initialize() first.","BACKOFF_MULTIPLIER","calculateBackoffDelay","initialize","getMainRequestsSentFlag","now","processingInterval","length","processQueues","20FYEQXn"," failed with error after ","PROCESSING_INTERVAL_MS","endpoint","getQueueStatus","❌ Request ","resetBackoffDelay","SESSIONS","requestRecords","3vXMjzg","1649007jKNWpa","⚠️ Request ","activeDuration","Error sending request ","subSessionCount","pendingRequestRecords","BASE_DELAY_MS","debug","error","sdkClickSubmit","saveMainQueue","addRequest","parameters"," failed. Retry ","shift","⏳ Request ","mutex","processMainQueue","MAX_DELAY_MS","push","23376iJuMhO","2137037SPRvrm","sendRequest","pow","SDK_CLICKS","getBackoffConfig","shutdown","acquire"," attempts. "," failed after ","1372800POlcwM","release","getPendingQueue","596726sZkvou","505aTbEei","getMainQueue","14502sxVsGQ","warn","postRequestCheck","firstSessionSubmit","Error in processing loop:","isCurrentlyProcessing","Applying backoff delay of ","isProcessing"," failed","): id=","fcmToken","🔄 Backoff delay manually reset","maxRetries","retryCount","💥 Sending request (","startProcessing","19899NrGsfW","stopProcessing","min"];return(_0x21b6=function(){return e})()}const _0x2e8595=_0x285b;function _0x285b(e,t){const r=_0x21b6();return(_0x285b=function(e,t){return r[e-=203]})(e,t)}!function(){const e=_0x285b,t=_0x21b6();for(;;)try{if(164454===-parseInt(e(263))/1+-parseInt(e(244))/2+-parseInt(e(210))/3*(-parseInt(e(231))/4)+-parseInt(e(245))/5*(-parseInt(e(247))/6)+-parseInt(e(232))/7+parseInt(e(241))/8+-parseInt(e(211))/9*(-parseInt(e(279))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RequestsQueueManager{constructor(){const e=_0x285b;this[e(268)]=!1,this.isProcessing=!1,this[e(252)]=!1,this.mutex=new Mutex,this[e(276)]=null,this[e(203)]=100,this[e(267)]=0,this.MAX_DELAY_MS=3e4,this[e(271)]=2,this[e(217)]=1e3}[_0x2e8595(273)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x285b;this[e(268)]=!0,!this[e(254)]&&(yield this[e(262)]())})}[_0x2e8595(237)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x285b;this[e(268)]&&(yield this.stopProcessing(),this[e(268)]=!1)})}startProcessing(){return __awaiter(this,void 0,void 0,function*(){const e=_0x285b;if(this[e(268)]){yield this[e(227)][e(238)]();try{if(this.isProcessing)return;this[e(254)]=!0,this[e(276)]=setInterval(()=>__awaiter(this,void 0,void 0,function*(){const t=e;try{yield this[t(278)]()}catch(e){WTLogger.error(t(251),e)}}),this[e(203)])}finally{this.mutex[e(242)]()}yield this[e(278)]()}else WTLogger.warn(e(270))})}[_0x2e8595(264)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x285b;yield this[e(227)][e(238)]();try{this[e(254)]=!1,this[e(276)]&&(clearInterval(this[e(276)]),this.processingInterval=null)}finally{this.mutex.release()}})}[_0x2e8595(222)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x285b;yield this[t(227)][t(238)]();try{const r=this[t(246)]();if(r[t(230)](e),this[t(221)](r),this[t(267)]=0,!this[t(254)])return this[t(227)][t(242)](),void(yield this[t(262)]())}finally{this.isProcessing&&this[t(227)][t(242)]()}})}addPendingRequest(e){return __awaiter(this,void 0,void 0,function*(){const t=_0x285b;yield this[t(227)][t(238)]();try{if(this.getMainRequestsSentFlag()){const r=this[t(246)]();r.push(e),this[t(221)](r)}else{const r=this[t(243)]();r[t(230)](e),this.savePendingQueue(r)}if(this[t(267)]=0,!this[t(254)])return this[t(227)][t(242)](),void(yield this[t(262)]())}finally{this.isProcessing&&this.mutex[t(242)]()}})}[_0x2e8595(278)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x285b;if(this[e(254)]&&!this[e(252)]){if(this[e(267)]>0){if(Date[e(275)]()<this.failedRequestDelay)return;this.failedRequestDelay=0,WTLogger.debug("⏰ Backoff delay ended, resuming queue processing")}this[e(252)]=!0,yield this.mutex[e(238)]();try{yield this.processMainQueue(),yield this.processPendingQueue()}finally{this[e(227)][e(242)](),this.isCurrentlyProcessing=!1}}})}[_0x2e8595(228)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x285b,t=this.getMainQueue();if(0===t[e(277)])return;const r=t[0];try{if(yield this[e(233)](r))t[e(225)](),this[e(221)](t),this[e(249)](r);else{if(t[0][e(260)]++,t[0].retryCount>=t[0].maxRetries){const i=this[e(272)](t[0][e(260)]);this[e(267)]=Date.now()+i,WTLogger.warn(e(226)+r.id+e(240)+r[e(259)]+e(239)+(e(253)+i+"ms"))}else WTLogger[e(248)](e(212)+r.id+e(224)+t[0][e(260)]+"/"+t[0].maxRetries);this[e(221)](t)}}catch(i){if(WTLogger.error(e(214)+r[e(204)]+":",i),t[0][e(260)]++,t[0][e(260)]>=t[0][e(259)]){const i=this.calculateBackoffDelay(t[0][e(260)]);this[e(267)]=Date[e(275)]()+i,WTLogger.warn(e(226)+r.id+e(280)+t[0][e(259)]+e(239)+(e(253)+i+"ms"))}this[e(221)](t)}})}calculateBackoffDelay(e){const t=_0x2e8595,r=this[t(217)]*Math[t(234)](this[t(271)],e-1);return Math[t(265)](r,this[t(229)])}[_0x2e8595(269)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x285b;if(!this[e(274)]())return;const t=this[e(243)]();if(0===t[e(277)])return;const r=this[e(246)]();r[e(230)](...t),this[e(221)](r),this.savePendingQueue([])})}sendRequest(e){return __awaiter(this,arguments,void 0,function*(e,t=1){const r=_0x285b;WTLogger[r(218)](r(261)+e[r(204)]+r(256)+e.id);let i=!1;try{i=yield apiClient.doCallRequest(e[r(204)],e[r(223)])}catch(t){WTLogger[r(219)](r(206)+e[r(204)]+r(255),t)}return i})}[_0x2e8595(246)](){return storageManager[_0x2e8595(209)]}saveMainQueue(e){storageManager.requestRecords=e}getPendingQueue(){return storageManager[_0x2e8595(216)]}savePendingQueue(e){storageManager[_0x2e8595(216)]=e}[_0x2e8595(274)](){return storageManager.sdkClickSubmit}[_0x2e8595(249)](e){const t=_0x2e8595;switch(e[t(204)]){case WTEndpoints[t(235)]:storageManager[t(220)]=!0;break;case WTEndpoints[t(208)]:storageManager[t(250)]?(storageManager[t(213)]=0,storageManager.inactiveDuration=0,storageManager[t(215)]=1):storageManager.firstSessionSubmit=!0;break;case WTEndpoints[t(266)]:storageManager[t(257)]=e[t(223)].push_token}}[_0x2e8595(205)](){const e=_0x2e8595;return{mainQueueLength:this[e(246)]()[e(277)],pendingQueueLength:this.getPendingQueue()[e(277)],isProcessing:this.isProcessing,mainRequestsSent:this[e(274)](),isInBackoffDelay:this[e(267)]>0&&Date[e(275)]()<this[e(267)],backoffEndsAt:this[e(267)]>0?this[e(267)]:null}}[_0x2e8595(207)](){const e=_0x2e8595;this[e(267)]=0,WTLogger[e(218)](e(258))}[_0x2e8595(236)](){const e=_0x2e8595;return{baseDelayMs:this[e(217)],multiplier:this[e(271)],maxDelayMs:this.MAX_DELAY_MS}}}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(","),i=0;i<r.length;i++)if(r[i].indexOf(";")>-1){var n=trim(r[i]).split(";v=");t[i]={brand:n[0],version:n[1]}}else t[i]=trim(r[i]);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,i,n,s,o,a,c=0;c<t.length&&!o;){var u=t[c],d=t[c+1];for(r=i=0;r<u.length&&!o&&u[r];)if(o=u[r++].exec(e))for(n=0;n<d.length;n++)a=o[++i],"object"==typeof(s=d[n])&&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 i=0;i<t[r].length;i++)if(has(t[r][i],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],i=defaultProps.isIgnore[t]||0,n=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(i,r)&&lowerize(n?strip(n,this[r]):this[r])==lowerize(n?strip(n,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 i=new r;return e(i),i}),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,i){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,i=e.fullVersionList||e.brands;if(i)for(var n in i){var s=i[n].brand||i[n],o=i[n].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,h=function(t){return E[t].getItem().setCH(e).parseCH().get()};this.set("browser",h("browser")).set("cpu",h("cpu")).set("device",h("device")).set("engine",h("engine")).set("os",h("os"))}return this},setProps.call(this,[["itemType",e],["ua",t],["uaCH",i],["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 i={};r.forEach(function(e,t){i[t]=e}),r=i}if(!(this instanceof UAParser))return new UAParser(e,t,r).getResult();var n="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={},i=t;if(!isExtensions(t))for(var n in i={},t)for(var s in t[n])i[s]=t[n][s].concat(i[s]?i[s]:[]);for(var o in e)r[o]=i[o]&&i[o].length%2==0?i[o].concat(e[o]):e[o];return r}(defaultRegexes,t):defaultRegexes,a=function(e){return"result"==e?function(){return new UAItem(e,n,o,s).set("ua",n).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,n,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 n}],["setUA",function(e){return isString(e)&&(n=e.length>500?trim(e,500):e),this}]]).setUA(n),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 _0x25c42b=_0x3eef;function _0x4b1d(){const e=["type","pow","screenDensity","embedded","3833361JVEnwu","width","40mauFrn","maxTouchPoints","130991psIdkq","desktop","mobile","125000Doenst","540912qEYoPC","includes","console","283942zAOKth","cpu","browser","matchMedia","hbbtv","large","android auto","xbox","smarttv","getResult","7937694SJYbKt","ontouchstart","smart-tv","small","normal","uiMode","touch","sqrt","engine","pointer","16123896ZibzxO","carplay","watch","innerWidth","matches","getDeviceInfo","xlarge","googletv","displaySize","long","devicePixelRatio","device","uiStyle","wearable","7OSPjMU","toLowerCase","height","playstation","netcast","vive"];return(_0x4b1d=function(){return e})()}function _0x3eef(e,t){const r=_0x4b1d();return(_0x3eef=function(e,t){return r[e-=292]})(e,t)}!function(){const e=_0x3eef,t=_0x4b1d();for(;;)try{if(685922===-parseInt(e(301))/1*(parseInt(e(322))/2)+parseInt(e(311))/3+-parseInt(e(319))/4+-parseInt(e(318))/5+-parseInt(e(332))/6+-parseInt(e(315))/7*(-parseInt(e(313))/8)+parseInt(e(342))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class DeviceDetector{[_0x25c42b(292)](){const e=_0x25c42b,t=(new UAParser)[e(331)]();return{browser:t[e(324)],os:t.os,device:t[e(298)],engine:t[e(340)],cpu:t[e(323)],ua:t.ua}}get[_0x25c42b(309)](){const e=_0x25c42b;return window.devicePixelRatio>=3?"high":window[e(297)]>=2?"medium":"low"}get screenFormat(){const e=_0x25c42b;return window.innerHeight>window[e(345)]?e(296):e(336)}get screenSize(){const e=_0x25c42b,t=window[e(345)];return e(t<480?335:t<768?336:t<1440?327:293)}get[_0x25c42b(337)](){const e=_0x25c42b;var t,r,i;const n=this[e(292)](),s=(null===(t=n[e(298)])||void 0===t?void 0:t[e(307)])||"",o=(null===(i=null===(r=n[e(298)])||void 0===r?void 0:r.model)||void 0===i?void 0:i[e(302)]())||"",a=n.ua[e(302)]();return s===e(300)||o[e(320)](e(344))?6:s===e(330)||a[e(320)](e(334))||a.includes(e(326))||a[e(320)](e(305))||a[e(320)](e(294))||a[e(320)]("appletv")?4:s===e(321)||a[e(320)](e(304))||a[e(320)](e(329))||a[e(320)]("nintendo")?5:a[e(320)]("car")||a[e(320)](e(328))||a[e(320)](e(343))?3:a[e(320)]("oculus")||a.includes(e(306))||a.includes("vr")||s===e(310)?7:s===e(317)||"tablet"===s?1:""===s||s===e(316)?2:0}get[_0x25c42b(299)](){const e=_0x25c42b;return window[e(325)]&&window.matchMedia("(prefers-color-scheme: dark)")[e(346)]?"1":"0"}get[_0x25c42b(295)](){const e=_0x25c42b,t=window[e(297)]||1,r=screen[e(312)]*t/160,i=screen[e(303)]*t/160;return Math[e(339)](Math[e(308)](r,2)+Math.pow(i,2)).toFixed(2)}get screenType(){const e=_0x25c42b;return e(333)in window||navigator[e(314)]>0?e(338):e(341)}}const deviceDetector=new DeviceDetector;function _0x5ad9(e,t){const r=_0x39b0();return(_0x5ad9=function(e,t){return r[e-=245]})(e,t)}const _0x49c2d5=_0x5ad9;!function(){const e=_0x5ad9,t=_0x39b0();for(;;)try{if(391191===-parseInt(e(251))/1+-parseInt(e(250))/2*(-parseInt(e(267))/3)+parseInt(e(247))/4*(parseInt(e(264))/5)+parseInt(e(246))/6+-parseInt(e(261))/7+parseInt(e(260))/8*(-parseInt(e(248))/9)+parseInt(e(259))/10*(-parseInt(e(266))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class StorageSupport{constructor(){this[_0x5ad9(262)]=null}getSupportResult(){return __awaiter(this,void 0,void 0,function*(){const e=_0x5ad9;if(this[e(262)])return this[e(262)];const t=this[e(245)](),r=this.isSessionStorageSupported(),i=yield this[e(249)]();return this[e(262)]={localStorage:t,sessionStorage:r,indexedDB:i},this[e(262)]})}getStorageSizeBytes(e){const t=_0x5ad9;let r=0;for(let i=0;i<e[t(257)];i++){const n=e.key(i);if(!n)continue;const s=e[t(265)](n);null!=s&&(r+=2*n[t(257)],r+=2*s[t(257)])}return r}isLocalStorageSupported(){const e=_0x5ad9;try{const t="__test__";return localStorage[e(263)](t,"1"),localStorage[e(252)](t),!0}catch(e){return!1}}[_0x49c2d5(256)](){const e=_0x49c2d5;try{const t=e(255);return sessionStorage[e(263)](t,"1"),sessionStorage.removeItem(t),!0}catch(e){return!1}}[_0x49c2d5(249)](){const e=_0x49c2d5;return e(253)in window?new Promise(t=>{const r=e;try{const e=indexedDB[r(254)](r(268));e[r(258)]=()=>t(!1),e.onsuccess=()=>{e[r(269)].close(),indexedDB.deleteDatabase("__test__check__"),t(!0)}}catch(e){t(!1)}}):Promise.resolve(!1)}}function _0x39b0(){const e=["10948YnIEBg","27snHRjD","isIndexedDBSupported","1102712ujmxLB","245892HKJkIo","removeItem","indexedDB","open","__test__","isSessionStorageSupported","length","onerror","886510YYONeZ","1467704KfWDaw","3216640fgZMGK","supportResults","setItem","1380zvRSje","getItem","22mncjoH","3pgAvYd","__test__check__","result","isLocalStorageSupported","3105156YcofJz"];return(_0x39b0=function(){return e})()}const storageSupport=new StorageSupport,_0x575888=_0xf470;function _0xf470(e,t){const r=_0x5136();return(_0xf470=function(e,t){return r[e-=444]})(e,t)}!function(){const e=_0xf470,t=_0x5136();for(;;)try{if(525057===parseInt(e(500))/1+-parseInt(e(468))/2+parseInt(e(478))/3*(-parseInt(e(444))/4)+parseInt(e(451))/5+parseInt(e(462))/6+parseInt(e(485))/7*(parseInt(e(464))/8)+parseInt(e(481))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class Utils{static getUTMParamsString(){const e=_0xf470,t=new URLSearchParams(window.location[e(504)]),r={};for(const[i,n]of t[e(453)]())i[e(477)](e(455))&&n&&(r[i]=n);if(!r[e(471)]){const e=document.referrer;r.utm_source=e?new URL(e).hostname:"other"}return!r[e(503)]&&(r.utm_medium="organic"),Object[e(453)](r)[e(487)](([e,t])=>e+"="+encodeURIComponent(t))[e(448)]("&")}}function _0x5136(){const e=["mix-manifest.json",'script[src*="angular.js"], script[src*="angular.min.js"]',"[ng-version]","417121eGeRbo","innerHTML","scripts","utm_medium","search","keys","/js/app.js","detectWebFramework","805036RLpVic","svelte","__reactContainer","includes","join",".ng-binding, [ng-app], [data-ng-app], [ng-controller], [data-ng-controller], [ng-repeat], [data-ng-repeat]","some","2274400Cspbjx","Backbone.js","entries","Squarespace","utm_","Vue.js","Zepto.js","React","Vue","querySelector","__VUE__","3467742fKbNjJ","Shopify","8tPYpAd","/_nuxt/","Ghost CMS",'meta[name="generator"][content*="WordPress"]',"651166moRDqs","Meteor","script[id=__NEXT_DATA__]","utm_source",'meta[name="generator"][content*="Ghost"]',"/_next/","Drupal",'meta[name="generator"][content*="Drupal"]',"Gatsby.js","startsWith","12aRtQac","Alpine.js","wp-includes","1338867YJppwG","drupal-settings-json","Nuxt.js","Meteor.js","398685uTdVRj","[id=___gatsby]","map","Next.js","Angular","cdn.shopify.com","documentElement","[x-data], [x-init], [x-bind]","Wix","[data-reactroot], [data-reactid]","textContent","src"];return(_0x5136=function(){return e})()}Utils[_0x575888(507)]=()=>{const e=_0x575888;return document[e(460)](e(470))||[...document.scripts][e(450)](t=>t.src.includes(e(473)))?e(488):window[e(458)]||document[e(460)](e(494))||Array.from(document.querySelectorAll("*"))[e(450)](t=>void 0!==t._reactRootContainer||Object[e(505)](t)[e(450)](t=>t[e(477)](e(446))))||window.__REACT_DEVTOOLS_GLOBAL_HOOK__?e(458):[...document[e(502)]][e(450)](t=>t[e(496)].includes(e(465)))?e(483):window[e(461)]||window[e(459)]||document[e(460)]("[data-v-app], [data-v-]")?e(456):document[e(460)](e(486))?e(476):window||document.querySelector(e(449))||document[e(460)](e(498))||window.ng||document[e(460)](e(499))?e(489):[...document.scripts][e(450)](t=>{const r=e;var i;return t[r(496)][r(447)](r(445))||(null===(i=t[r(495)])||void 0===i?void 0:i.includes("svelte"))})?"Svelte":document[e(460)](e(492))?e(479):window.jQuery?"jQuery":window.Backbone?e(452):window[e(469)]?e(484):window.Zepto?e(457):document.querySelector(e(467))||[...document[e(502)]][e(450)](t=>t[e(496)][e(447)]("wp-content")||t[e(496)].includes(e(480)))?"WordPress":[...document[e(502)]][e(450)](t=>t.src[e(447)](e(506))||t[e(496)][e(447)](e(497)))?"Laravel":document[e(460)](e(475))||document.documentElement.innerHTML[e(447)](e(482))?e(474):document[e(491)][e(501)][e(447)](e(490))?e(463):[...document[e(502)]][e(450)](t=>t[e(496)][e(447)]("static.squarespace.com"))?e(454):[...document[e(502)]].some(t=>t.src[e(447)]("wix.com"))?e(493):document[e(460)](e(472))?e(466):void 0};const _0x50020f=_0x4ae7;function _0x4ae7(e,t){const r=_0x4fc1();return(_0x4ae7=function(e,t){return r[e-=451]})(e,t)}function _0x4fc1(){const e=["12OmFypq","2rfZODm","VENDOR","stringify","UNMASKED_RENDERER_WEBGL","MAX_RENDERBUFFER_SIZE","876483sRmclx","getParameter","font","fillText","fillRect","experimental-webgl","height","getExtension","UNMASKED_VENDOR_WEBGL","RENDERER","toDataURL","#069","fillStyle","padStart","1967430SwFQRL","5066215ynWddI","2984328MDITMw","getSupportedExtensions","top","renderer","createElement","map","WiseTrack WebGL Fingerprint!","SHA-256","getWebGLFingerprint","SHADING_LANGUAGE_VERSION","#f60","encode","from","digest","webgl","canvas","MAX_TEXTURE_SIZE","6371200FJZDmz","toString","textBaseline","isWebGLSupported","vendor","subtle","14px 'Arial'","881260BqgexA","join","WEBGL_debug_renderer_info","hashData","getContext","2052044ppdycD"];return(_0x4fc1=function(){return e})()}!function(){const e=_0x4ae7,t=_0x4fc1();for(;;)try{if(458813===-parseInt(e(498))/1*(-parseInt(e(491))/2)+-parseInt(e(451))/3+-parseInt(e(496))/4+-parseInt(e(465))/5*(-parseInt(e(497))/6)+parseInt(e(466))/7+-parseInt(e(484))/8+-parseInt(e(467))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class DeviceFingerprint{static[_0x50020f(487)](){const e=_0x50020f;try{const t=document.createElement(e(482));return!(!t.getContext(e(481))&&!t[e(495)](e(456)))}catch(e){return!1}}static[_0x50020f(475)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x4ae7,t=document[e(471)](e(482)),r=t[e(495)](e(481))||t.getContext("experimental-webgl");if(!r)return;const i={version:r[e(452)](r.VERSION),shadingLangVersion:r[e(452)](r[e(476)]),maxTextureSize:r[e(452)](r[e(483)]),maxRenderBufferSize:r[e(452)](r[e(502)]),supportedExtensions:r[e(468)]()};try{const t=r[e(458)](e(493));i[e(488)]=t?r[e(452)](t[e(459)]):r[e(452)](r[e(499)])}catch(t){i.vendor=r[e(452)](r[e(499)])}try{const t=r[e(458)]("WEBGL_debug_renderer_info");i.renderer=t?r[e(452)](t[e(501)]):r[e(452)](r[e(460)])}catch(t){i[e(470)]=r[e(452)](r[e(460)])}return yield this.hashData(JSON[e(500)](i))})}static getCanvasFingerprint(){return __awaiter(this,void 0,void 0,function*(){const e=_0x4ae7,t=document.createElement(e(482));t.width=200,t[e(457)]=50;const r=t.getContext("2d");if(r)return r[e(486)]=e(469),r[e(453)]=e(490),r[e(463)]=e(477),r[e(455)](0,0,200,50),r[e(463)]=e(462),r[e(454)](e(473),2,2),yield this.hashData(t[e(461)]())})}static[_0x50020f(494)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x4ae7,r="string"==typeof e?e:JSON[t(500)](e),i=(new TextEncoder)[t(478)](r),n=yield crypto[t(489)][t(480)](t(474),i);return Array[t(479)](new Uint8Array(n))[t(472)](e=>e[t(485)](16)[t(464)](2,"0"))[t(492)]("")})}}const _0x67d40c=_0x2356;function _0x12c8(){const e=["indexedDB","displaySize","SDK","7FOnzlq","now","179678CIxsHI","initialDate","localStorage","195tzWEav","1094916NKkzhL","version","appFrameWork","sdk_requested_at","uiStyle","filter","getSupportResult","getStorageSizeBytes","assign","browser","subSessionCount","pushToken","other","isWebGLSupported","split","deviceId","hardwareConcurrency","architecture","uiMode","getLocalFields","459894HKqIga","toFixed","DEFAULTS","toLowerCase","6vBJfeG","sdkVersion","getDeviceInfo","3348280lWeoSm","device","innerWidth","customDeviceId","location","10DkiJFc","getDeviceFields","performance","entries","screenFormat","24588jihQjl","engine","screenDensity","innerHeight","cpu","PLATFORM","getApplicationFields","type","map","onLine","build","outerHeight","PARAMETERS_VALUE","appToken","initialConfig","model","defaultTracker","language","toISOString","getWebGLFingerprint","fromEntries","toString","1869444fzvfdZ","5309953GjlviI","hostname"];return(_0x12c8=function(){return e})()}!function(){const e=_0x2356,t=_0x12c8();for(;;)try{if(315720===-parseInt(e(519))/1*(-parseInt(e(476))/2)+parseInt(e(523))/3+parseInt(e(489))/4*(-parseInt(e(522))/5)+-parseInt(e(472))/6*(parseInt(e(517))/7)+parseInt(e(479))/8+parseInt(e(511))/9*(-parseInt(e(484))/10)+-parseInt(e(512))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class FieldsBuilder{[_0x67d40c(499)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2356,t=window[e(486)].now();let r={};return r[e(526)]=(new Date)[e(507)](),Object[e(460)](r,this[e(471)]()),Object[e(460)](r,yield this[e(495)]()),Object[e(460)](r,this[e(485)]()),r.time_spent=(window.performance[e(518)]()-t)[e(473)](1),WTConstants[e(474)].PARAMETERS_VALUE&&(r=Object[e(509)](Object[e(487)](r)[e(497)](([t,r])=>[t,null==r?WTConstants.DEFAULTS[e(501)]:r]))),!WTConstants.DEFAULTS[e(501)]&&(r=Object[e(509)](Object[e(487)](r)[e(528)](([e,t])=>null!=t))),r})}[_0x67d40c(495)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2356,t=yield storageSupport[e(529)]();return{connectivity_type:navigator[e(498)]?"1":"-1",country:yield countryFinder.getCountryCode(),package_name:window[e(483)][e(513)],session_storage_enabled:t.sessionStorage,indexed_db_enabled:t[e(514)],local_storage_enabled:t[e(521)],session_storage:storageSupport.getStorageSizeBytes(sessionStorage)[e(473)](0),local_storage:storageSupport[e(459)](localStorage)[e(473)](0),web_gl_support:DeviceFingerprint[e(465)](),web_gl_fingerprint:yield DeviceFingerprint[e(508)](),web_gl_canvas_fingerprint:yield DeviceFingerprint.getCanvasFingerprint()}})}[_0x67d40c(471)](){const e=_0x67d40c,t=storageManager[e(503)];return t?{uuid:storageManager[e(467)],app_token:t[e(502)],environment:t.userEnvironment,store_name:e(464),app_version:t.appVersion,push_token:storageManager[e(463)],custom_device_id:t[e(482)],default_tracker:t[e(505)],platform:WTConstants[e(516)].PLATFORM,framework:t.appFrameWork[e(475)](),initiated_by:WTConstants[e(516)][e(494)]+"_"+t[e(525)][e(475)](),initiated_version:storageManager[e(477)],referrer:Utils.getUTMParamsString(),installed_at:storageManager[e(520)],session_count:storageManager.sessionCount[e(510)](),subsession_count:storageManager[e(462)][e(510)](),session_length:parseInt((storageManager.activeDuration/1e3)[e(510)]())[e(510)](),last_interval:parseInt((storageManager.inactiveDuration/1e3)[e(510)]())[e(510)]()}:{}}getDeviceFields(){const e=_0x67d40c,t=deviceDetector[e(478)]();return{browser_version:t[e(461)][e(524)],device_manufacturer:t.device.vendor,device_name:t[e(480)][e(504)],device_type:t[e(480)][e(496)],os_name:t.os.name,os_version:t.os[e(524)],cpu_type:t[e(493)][e(469)],web_user_agent:t.ua,display_height:window[e(492)].toFixed(0),display_width:window[e(481)][e(473)](0),language:navigator[e(506)][e(466)]("-")[0],screen_density:deviceDetector[e(491)],screen_format:deviceDetector[e(488)],screen_size:deviceDetector.screenSize,ui_mode:deviceDetector[e(470)][e(510)](),cpu_lpc:navigator[e(468)].toString(),ui_style:deviceDetector[e(527)],wout_width:window.outerWidth[e(510)](),wout_height:window[e(500)].toString(),web_engine:t[e(490)].name,web_engine_version:t[e(490)][e(524)],display_size:deviceDetector[e(515)],screen_type:deviceDetector.screenType}}}function _0x2356(e,t){const r=_0x12c8();return(_0x2356=function(e,t){return r[e-=459]})(e,t)}const fieldsBuilder=new FieldsBuilder;function _0x3dce(){const e=["46rSApDJ","12NfGKsv","revenue","name","4uQmIPd","build","2519364VieygQ","currency","partner_params","keys","1338970LuiJYe","3047148EASsbZ","16iOZKnk","type","create","6576097CHNRHv","2737994CCPjMM","741633IjDspi","event","19769Zzxxsq","call","20hLsnaw","amount","assign"];return(_0x3dce=function(){return e})()}function _0x21a2(e,t){const r=_0x3dce();return(_0x21a2=function(e,t){return r[e-=103]})(e,t)}!function(){const e=_0x21a2,t=_0x3dce();for(;;)try{if(548063===-parseInt(e(116))/1*(-parseInt(e(121))/2)+parseInt(e(114))/3*(-parseInt(e(125))/4)+parseInt(e(107))/5+-parseInt(e(103))/6+-parseInt(e(113))/7*(parseInt(e(109))/8)+-parseInt(e(108))/9*(-parseInt(e(118))/10)+parseInt(e(112))/11*(parseInt(e(122))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class EventFieldsBuilder extends FieldsBuilder{constructor(e){const t=_0x21a2;super(),this[t(115)]=e}build(){const e=_0x21a2,t=Object[e(111)](null,{build:{get:()=>super[e(126)]}});return __awaiter(this,void 0,void 0,function*(){const r=e,i=yield t[r(126)][r(117)](this),n={event_type:this[r(115)].type,event_name:this[r(115)][r(124)]};return Object[r(106)](this[r(115)].params).length>0&&(n[r(105)]=this.event.params),this.event[r(110)]===r(123)&&(n[r(123)]=this[r(115)][r(119)],n[r(104)]=this.event[r(104)]),new Promise(e=>{const t=r;e(Object[t(120)](Object[t(120)]({},i),n))})})}}const _0x3bd164=_0x1777;function _0x1777(e,t){const r=_0x2605();return(_0x1777=function(e,t){return r[e-=484]})(e,t)}function _0x2605(){const e=["SDK_CLICKS","pushToken","trackEvent","stop","build","WT Tracker stopped","11WQzTbr","isVisibleFocused","Creating Session: First-Session has already submitted","228450epmCIA","getCountryCode","EVENTS","blur","config","initialDate","shutdown","addRequest","focus","addEventListener","pending"," request to pending queue","deviceId","debug","start","1176tsMmxn","now","visible","sessionCount","checkFirstSession","eventCount","isRunning","toISOString","User was inactived for ","fcmToken","279ruxWMh","3359225PHDcBZ","checkSessionIntervals","This Notification token has sent to server previously","isEnabled","inactiveDuration","sdkClickSubmit","main","Creating Session: SDK is not enabled!","createRequest","addPendingRequest","initialized","initialize","addObservers","Creating Install: SDK is not enabled!","createAttribution","ATTRIBUTIONS","s | (","233006mjUqXY","14644aeiHAh","trackEvent: SDK is not initialized yet","info","stopTracking","2090040FAmuzd","WT Tracker started","generateDeviceUUID","checkPushToken","SESSIONS","getQueueStatus"," request to main queue","sdkEnabled","SDK_INFOS","Creating Install: SDK-Clicks has already submitted","activeTime","3804348RJQeho","visibilityState","subsessionInterval","inactiveTime","Add ","trackEvent: SDK is not enabled","CheckPushToken: SDK is not enabled","checkSdkClicks","s Totaly)","310854KYUYXS","startTracking","warn","setActivityTimes","sessionInterval"];return(_0x2605=function(){return e})()}!function(){const e=_0x1777,t=_0x2605();for(;;)try{if(843933===parseInt(e(487))/1*(-parseInt(e(533))/2)+-parseInt(e(558))/3+parseInt(e(538))/4+parseInt(e(516))/5+parseInt(e(549))/6+-parseInt(e(534))/7*(parseInt(e(505))/8)+parseInt(e(515))/9*(parseInt(e(490))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTTracker{constructor(){this[_0x1777(511)]=!1,this.initialized=!1}get[_0x3bd164(519)](){return storageManager[_0x3bd164(545)]}[_0x3bd164(527)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x1777;this[e(491)](),yield this[e(561)](),this.createDeviceID(),this[e(528)](),this[e(526)]=!0})}[_0x3bd164(559)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x1777;this.isEnabled?(WTLogger[e(503)](e(539)),yield queueManager[e(527)](),yield this[e(556)](),yield this[e(509)](),yield this.createAttribution(),this[e(511)]=!0):WTLogger[e(560)]("SDK is not enabled to start tracking!")})}[_0x3bd164(537)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x1777;this[e(511)]=!1,activityTicker[e(484)](),yield queueManager[e(496)](),WTLogger.debug(e(486))})}[_0x3bd164(541)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x1777;storageManager[t(564)]=e,this.isEnabled?this[t(526)]?storageManager[t(514)]!==e?yield this.createRequest({endpoint:WTEndpoints[t(546)],queueType:t(500)}):WTLogger[t(536)](t(518)):WTLogger[t(560)]("CheckPushToken: SDK is not initialized yet"):WTLogger[t(560)](t(555))})}[_0x3bd164(565)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x1777;this[t(519)]?this[t(526)]?(storageManager[t(510)]+=1,yield this[t(524)]({endpoint:WTEndpoints[t(492)],fBuilder:new EventFieldsBuilder(e),queueType:t(500)})):WTLogger[t(560)](t(535)):WTLogger[t(560)](t(554))})}[_0x3bd164(491)](){countryFinder.getCountryCode()}[_0x3bd164(530)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x1777;this[e(519)]?yield this.createRequest({endpoint:WTEndpoints[e(531)],queueType:e(500)}):WTLogger[e(560)]("Creating Attribution: SDK is not enabled!")})}[_0x3bd164(509)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x1777;this[e(519)]?storageManager.firstSessionSubmit?WTLogger[e(503)](e(489)):yield this.createRequest({endpoint:WTEndpoints[e(542)],queueType:storageManager[e(521)]?"main":"pending"}):WTLogger[e(560)]("Creating First Session: SDK is not enabled!")})}checkSdkClicks(){return __awaiter(this,void 0,void 0,function*(){const e=_0x1777;this[e(519)]?storageManager[e(521)]?WTLogger[e(503)](e(547)):yield this.createRequest({endpoint:WTEndpoints[e(563)]}):WTLogger.warn(e(529))})}[_0x3bd164(524)](e){const t=_0x3bd164;return __awaiter(this,arguments,void 0,function*({endpoint:e,fBuilder:r=fieldsBuilder,queueType:i=t(522)}){const n=t,s=yield r[n(485)](),o=new RequestRecord(e,s);"pending"===i?(WTLogger[n(503)]("Add "+e+n(501)),yield queueManager[n(525)](o)):(WTLogger[n(503)](n(553)+e+n(544)),yield queueManager[n(497)](o));const a=queueManager[n(543)]();WTLogger[n(503)](JSON.stringify(a))})}createDeviceID(){const e=_0x3bd164;!storageManager[e(502)]&&(storageManager[e(502)]=cryptoHelper[e(540)]()),!storageManager.initialDate&&(storageManager[e(495)]=(new Date)[e(512)]())}[_0x3bd164(561)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x1777;if(storageManager[e(548)]){storageManager[e(552)]=storageManager[e(548)];const t=Date[e(506)]()-storageManager.inactiveTime;storageManager[e(520)]+=t,WTLogger[e(503)](e(513)+t/1e3+e(532)+storageManager[e(520)]/1e3+e(557)),yield this[e(517)]()}storageManager[e(548)]=Date[e(506)](),activityTicker[e(504)]()})}[_0x3bd164(517)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x1777;var t,r;const i=storageManager[e(552)],n=null===(t=storageManager.config)||void 0===t?void 0:t[e(562)],s=null===(r=storageManager[e(494)])||void 0===r?void 0:r[e(551)];if(!this[e(519)])return void WTLogger[e(560)](e(523));if(!i||!n||!s)return;const o=Date.now()-i;o>1e3*parseInt(n)?(storageManager[e(508)]+=1,yield this[e(524)]({endpoint:WTEndpoints[e(542)],queueType:storageManager.sdkClickSubmit?e(522):e(500)})):o>1e3*parseInt(s)&&(storageManager.subSessionCount+=1)})}[_0x3bd164(488)](){const e=_0x3bd164;return document[e(550)]===e(507)&&document.hasFocus()}addObservers(){const e=_0x3bd164;window[e(499)]("beforeunload",()=>{activityTicker[e(484)]()}),window.addEventListener("pagehide",()=>{activityTicker[e(484)]()}),document.addEventListener("visibilitychange",()=>{const t=e;this[t(488)]()?(this[t(530)](),this[t(561)]()):activityTicker[t(484)]()}),window[e(499)](e(498),()=>{const t=e;this[t(488)]()&&(this[t(530)](),this.setActivityTimes())}),window[e(499)](e(493),()=>{activityTicker[e(484)]()})}}const tracker=new WTTracker,_0x352eeb=_0x191f;function _0x191f(e,t){const r=_0x5559();return(_0x191f=function(e,t){return r[e-=434]})(e,t)}function _0x5559(){const e=["3017265tMCQZS","doGetConfig","8163018NjRiGj","trackEvent","setLogLevel","2700964woqIcP","checkSdkUpdate","config","getConfig","3646853jdxKSd","isInitializing","SDK Config set","22yenDYW","error","checkSdkEnabled","WiseTrack is already initialized!","setFCMToken","trackingWaitingTime","init","13520BIszWI","startTrackerAutomatically","_instance","16tNkQaN","sdkEnabled","defaultValue","NetworkError","A new version of the SDK is available. It is recommended to update to the latest version to enjoy improved features and better performance.","isEnabled","setEnabled","info","instance","sdkInitialized","sdkUpdate","clear","logLevel","SDK is disabled form server, contact your adminstrator!","Start Tracking: SDK is not enabled!","785017heERiw","‼️ SDK Config NOT set!, check errors.","100956QoQLpd","setLevel","startTracking","WiseTrack is initializing ...","stopTracking","warn","Clearing Data and stop tracker!","12222POYOgf","Track Event: SDK is not enabled!","Config is not set!"];return(_0x5559=function(){return e})()}!function(){const e=_0x191f,t=_0x5559();for(;;)try{if(927584===-parseInt(e(454))/1+-parseInt(e(478))/2*(parseInt(e(456))/3)+-parseInt(e(471))/4+parseInt(e(466))/5+parseInt(e(468))/6+-parseInt(e(475))/7*(parseInt(e(439))/8)+-parseInt(e(463))/9*(-parseInt(e(436))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WiseTrack{static get[_0x352eeb(447)](){const e=_0x352eeb;return!WiseTrack[e(438)]&&(WiseTrack[e(438)]=new WiseTrack),WiseTrack[e(438)]}constructor(){const e=_0x352eeb;this[e(448)]=!1,this[e(476)]=!1}[_0x352eeb(435)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x191f;var r,i;if(this[t(476)])return void WTLogger[t(446)](t(459));if(this[t(448)])return void WTLogger[t(446)](t(481));this[t(476)]=!0,e.logLevel&&WTLogger[t(457)](e[t(451)]);const n=yield this[t(474)](e);this[t(480)](n),this.checkSdkUpdate(n),this[t(445)](!0),this[t(448)]=!0,yield tracker.initialize();(null===(r=e[t(437)])||void 0===r||r)&&setTimeout(()=>this[t(458)](),1e3*(null!==(i=e[t(434)])&&void 0!==i?i:0)),this[t(476)]=!1})}[_0x352eeb(470)](e){WTLogger.setLevel(e)}flush(){const e=_0x352eeb;WTLogger[e(446)](e(462)),storageManager[e(450)](),this[e(460)]()}isEnabled(){return storageManager.sdkEnabled}[_0x352eeb(445)](e){const t=_0x352eeb,r=storageManager[t(473)];if(!r)throw new Error(t(465));if(!r[t(440)])throw new Error("SDK is disabled form server, contact your adminstrator!");storageManager[t(440)]=e}[_0x352eeb(458)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x191f;this.sdkInitialized?this[e(444)]()?yield tracker[e(458)]():WTLogger[e(461)](e(453)):WTLogger[e(461)]("‼️ Start Tracking: SDK is not initialized yet")})}[_0x352eeb(460)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x191f;yield tracker[e(460)]()})}[_0x352eeb(482)](e){return __awaiter(this,void 0,void 0,function*(){yield tracker.checkPushToken(e)})}[_0x352eeb(469)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x191f;this[t(448)]?this.isEnabled()?yield tracker[t(469)](e):WTLogger[t(461)](t(464)):WTLogger[t(461)]("‼️ Track Event: SDK is not initialized yet")})}getConfig(e){return __awaiter(this,void 0,void 0,function*(){const t=_0x191f;let r;storageManager.initialConfig=e;try{r=yield apiClient[t(467)]()}catch(e){if(!(e instanceof ApiError[t(442)]))throw WTLogger[t(446)](t(455)),e;r=storageManager.config||WTConfig[t(441)]}return storageManager[t(473)]=r,WTLogger[t(446)](t(477)),r})}[_0x352eeb(480)](e){const t=_0x352eeb;if(!e.sdkEnabled){const e=t(452);throw WTLogger[t(479)](e),new Error(e)}}[_0x352eeb(472)](e){const t=_0x352eeb;e[t(449)]&&WTLogger[t(461)](t(443))}}function _0x4607(e,t){const r=_0xb24b();return(_0x4607=function(e,t){return r[e-=151]})(e,t)}const _0x37b8e9=_0x4607;function _0xb24b(){const e=["CAD","1102560MtFAjE","4390477qruidg","JPY","INR","80hJRgSK","813QNYlzW","AED","330jQynRT","IRR","IQD","970nuCSgg","SGD","NZD","BRL","50545sIZqeQ","RUB","LTC","EHT","10923LRyRdB","EUR","1598526hauNHT","5836JENoar","AUD","USD","CNY","SAR","24tlxCTC","9835YzVpbL","SEK","TRY","ZAR","GBP"];return(_0xb24b=function(){return e})()}!function(){const e=_0x4607,t=_0xb24b();for(;;)try{if(331604===-parseInt(e(169))/1*(-parseInt(e(179))/2)+-parseInt(e(180))/3*(-parseInt(e(163))/4)+parseInt(e(156))/5*(-parseInt(e(182))/6)+parseInt(e(176))/7+-parseInt(e(168))/8*(parseInt(e(162))/9)+parseInt(e(152))/10*(parseInt(e(160))/11)+-parseInt(e(175))/12)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const RevenueCurrency={USD:_0x37b8e9(165),EUR:_0x37b8e9(161),JPY:_0x37b8e9(177),GBP:_0x37b8e9(173),AUD:_0x37b8e9(164),CAD:_0x37b8e9(174),CHF:"CHF",CNY:_0x37b8e9(166),SEK:_0x37b8e9(170),NZD:_0x37b8e9(154),MXN:"MXN",SGD:_0x37b8e9(153),HKD:"HKD",NOK:"NOK",KRW:"KRW",TRY:_0x37b8e9(171),RUB:_0x37b8e9(157),INR:_0x37b8e9(178),BRL:_0x37b8e9(155),ZAR:_0x37b8e9(172),IRR:_0x37b8e9(183),AED:_0x37b8e9(181),IQD:_0x37b8e9(151),SAR:_0x37b8e9(167),OMR:"OMR",BTC:"BTC",EHT:_0x37b8e9(159),LTC:_0x37b8e9(158)},_0x32f45c=_0x25c7;function _0x25c7(e,t){const r=_0x4eae();return(_0x25c7=function(e,t){return r[e-=134]})(e,t)}function _0x4eae(){const e=["validateKey","2993072ugTRED","1876250YPfGzR",'value "',"377083VhxAAr","718014puljQQ","DANGEROUS_CHARS","test","isMaliciousContent","2558682bwXsHK","validateValue","SCRIPT_INJECTION_PATTERNS","Value cannot be null or undefined","no_parameters","some"," characters",'" is not valid. Please use different characters',"Key length must not exceed ","FORBIDDEN_KEY","containsScriptInjection","MAX_LENGTH","includes","length","containsSQLInjection","name","1100124RfmQyd","Key must be a non-empty string","containsDangerousChars","string",'key "',"Key cannot be '","21Sawcbn","839592nIQeOG","Value length must not exceed ","SQL_INJECTION_PATTERNS"];return(_0x4eae=function(){return e})()}!function(){const e=_0x25c7,t=_0x4eae();for(;;)try{if(280699===-parseInt(e(143))/1+-parseInt(e(144))/2+-parseInt(e(164))/3+parseInt(e(136))/4+-parseInt(e(141))/5+parseInt(e(148))/6+-parseInt(e(135))/7*(-parseInt(e(140))/8))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTEventValidationError extends Error{constructor(e){const t=_0x25c7;super(e),this[t(163)]="WTEventValidationError"}}class WTEventValidator{static[_0x32f45c(162)](e){const t=_0x32f45c;return this.SQL_INJECTION_PATTERNS[t(153)](r=>r[t(146)](e))}static containsScriptInjection(e){const t=_0x32f45c;return this[t(150)][t(153)](r=>r[t(146)](e))}static[_0x32f45c(166)](e){const t=_0x32f45c;return this[t(145)][t(153)](r=>e[t(160)](r))}static[_0x32f45c(147)](e){const t=_0x32f45c;if(this[t(162)](e))return!0;if(this[t(158)](e))return!0;if(this[t(166)](e))return!0;try{const r=decodeURIComponent(e);if(r!==e&&this[t(147)](r))return!0}catch(e){}return!1}static[_0x32f45c(139)](e){const t=_0x32f45c;if(!e||typeof e!==t(167))throw new WTEventValidationError(t(165));if(e[t(161)]>this.MAX_LENGTH)throw new WTEventValidationError(t(156)+this.MAX_LENGTH+" characters");if(e===this[t(157)])throw new WTEventValidationError(t(134)+this[t(157)]+"'");if(this.isMaliciousContent(e))throw new WTEventValidationError(t(168)+e+'" is not valid. Please use different characters')}static[_0x32f45c(149)](e){const t=_0x32f45c;if(null==e)throw new WTEventValidationError(t(151));const r=String(e);if(r.length>this[t(159)])throw new WTEventValidationError(t(137)+this[t(159)]+t(154));if(this[t(147)](r))throw new WTEventValidationError(t(142)+e+t(155))}}WTEventValidator.MAX_LENGTH=50,WTEventValidator[_0x32f45c(157)]=_0x32f45c(152),WTEventValidator[_0x32f45c(138)]=[/(\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[_0x32f45c(150)]=[/<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 _0x31217e=_0x13f9;function _0x2e43(){const e=["entries",'": ',"1022UooGtc","3670134MPpmbL",'WTEvent validation failed for key "',"revenue","validateKey","warn","206444lJQkxu","70wWEXuP","revenueEvent","1234275RPpUkX","amount","name","type","1725176vxCkAG","1673322qtSdzs","16934067NEGzIy","validateValue","93008RmAJRV","default"];return(_0x2e43=function(){return e})()}function _0x13f9(e,t){const r=_0x2e43();return(_0x13f9=function(e,t){return r[e-=421]})(e,t)}!function(){const e=_0x13f9,t=_0x2e43();for(;;)try{if(856159===parseInt(e(430))/1+-parseInt(e(434))/2+parseInt(e(435))/3+-parseInt(e(427))/4*(-parseInt(e(428))/5)+-parseInt(e(422))/6+parseInt(e(421))/7*(parseInt(e(438))/8)+-parseInt(e(436))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTEvent{constructor(e,t,r,i,n){const s=_0x13f9;this[s(433)]=e,this[s(432)]=t,this[s(431)]=r,this.currency=i,this.params={},n&&this.validateAndSetParams(n)}static defaultEvent(e,t){return new WTEvent(_0x13f9(439),e,void 0,void 0,t)}static[_0x31217e(429)](e,t,r,i){return new WTEvent(_0x31217e(424),e,t,r,i)}validateAndSetParams(e){const t=_0x31217e;for(const[r,i]of Object[t(440)](e))try{WTEventValidator[t(425)](r),WTEventValidator[t(437)](i),this.params[r]=i}catch(e){if(e instanceof WTEventValidationError)throw WTLogger[t(426)](t(423)+r+t(441)+e.message),e;throw e}}}function _0x3b07(e,t){var r=_0xbd5d();return(_0x3b07=function(e,t){return r[e-=259]})(e,t)}function _0xbd5d(){var e=["278828bZyaOL","72364eIzpno","30BjRYQC","6YfodrM","1130080fxIMpX","560202nTVEvu","847809EQpNSP","3040072vbNYBr","166932SBgMYt","30ZstVMo"];return(_0xbd5d=function(){return e})()}!function(){for(var e=_0x3b07,t=_0xbd5d();;)try{if(225478===parseInt(e(265))/1*(parseInt(e(263))/2)+parseInt(e(268))/3+-parseInt(e(262))/4*(parseInt(e(264))/5)+-parseInt(e(267))/6+parseInt(e(259))/7+-parseInt(e(266))/8+-parseInt(e(260))/9*(parseInt(e(261))/10))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;
@@ -4,7 +4,7 @@ import { WTSDKEnvironment } from "./environments";
4
4
  export declare const WTConstants: {
5
5
  readonly SDK: {
6
6
  readonly PLATFORM: "web";
7
- readonly VERSION: "2.0.7";
7
+ readonly VERSION: "2.0.9";
8
8
  };
9
9
  readonly CONFIG: {
10
10
  readonly DEFAULT_ENVIRONMENT: WTSDKEnvironment;
@@ -1,4 +1,5 @@
1
1
  /** @internal */
2
2
  export declare class ResourceWrapper {
3
3
  static sdkEnvironment(env: string): void;
4
+ static sdkVersion(version: string): void;
4
5
  }
@@ -46,6 +46,8 @@ declare class StorageManager {
46
46
  set eventCount(value: number);
47
47
  get sdkEnvironment(): WTSDKEnvironment | null;
48
48
  set sdkEnvironment(value: string);
49
+ get sdkVersion(): string;
50
+ set sdkVersion(value: string);
49
51
  }
50
52
  /** @internal */
51
53
  export declare const storageManager: StorageManager;
@@ -24,6 +24,7 @@ export declare class WiseTrack {
24
24
  static get instance(): WiseTrack;
25
25
  private constructor();
26
26
  private sdkInitialized;
27
+ private isInitializing;
27
28
  /**
28
29
  * Initializes the WiseTrack SDK with the given configuration.
29
30
  *