wisetrack 2.0.5 → 2.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -14
- package/dist/cdn/sdk.bundle.min.js +1 -1
- package/dist/cjs/index.d.ts +3 -1
- package/dist/cjs/index.js +1 -1
- package/dist/esm/index.d.ts +3 -1
- package/dist/esm/index.js +1 -1
- package/package.json +2 -2
package/dist/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";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 _0x1fa6(e,t){const r=_0x3ee7();return(_0x1fa6=function(e,t){return r[e-=474]})(e,t)}function _0x3ee7(){const e=["1046583AhnfPp","5330339cPgNHg","2776962AOuncA","963990mwkkVz","https://config.wisetrack.io","2389120UXYyaD","48LifDLt","1KlQEZY","1800","300","21366100vYNbYr","debug","6OSUIrw","3709372ByyvEy"];return(_0x3ee7=function(){return e})()}"function"==typeof SuppressedError&&SuppressedError;const _0x33b434=_0x1fa6;!function(){const e=_0x1fa6,t=_0x3ee7();for(;;)try{if(711636===parseInt(e(484))/1*(parseInt(e(482))/2)+-parseInt(e(479))/3+parseInt(e(476))/4+parseInt(e(480))/5+-parseInt(e(475))/6*(-parseInt(e(478))/7)+-parseInt(e(483))/8*(-parseInt(e(477))/9)+-parseInt(e(487))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTConstants={SDK:{PLATFORM:"web",VERSION:"2.0.5"},CONFIG:{BASE_URL:_0x33b434(481),DEFAULT_ENVIRONMENT:_0x33b434(474)},DEFAULTS:{LOG_LEVEL:_0x33b434(474),SESSION_INTERVAL:_0x33b434(485),SUBSESSION_INTERVAL:_0x33b434(486),PARAMETERS_VALUE:void 0}};function _0x5eaa(){const e=["3FbCESh","/api/v1/sdk_clicks","1547288QwZKQU","6LPiRwX","1FtcDEU","255342azQpET","874885kMSJJG","629696eeOnvC","/api/v1/app_settings","2442lPfrnH","17470SXFiZf","4375638UQCgLT","/api/v1/attributions","2617209ouNvqY","/api/v1/sdk_infos"];return(_0x5eaa=function(){return e})()}function _0xc7f1(e,t){const r=_0x5eaa();return(_0xc7f1=function(e,t){return r[e-=419]})(e,t)}const _0x1bbe32=_0xc7f1;!function(){const e=_0xc7f1,t=_0x5eaa();for(;;)try{if(295947===-parseInt(e(422))/1*(-parseInt(e(423))/2)+-parseInt(e(433))/3*(-parseInt(e(420))/4)+parseInt(e(424))/5+parseInt(e(421))/6*(-parseInt(e(431))/7)+parseInt(e(425))/8+-parseInt(e(429))/9+-parseInt(e(428))/10*(-parseInt(e(427))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTEndpoints={EVENTS:"/api/v1/events",SESSIONS:"/api/v1/sessions",SDK_CLICKS:_0x1bbe32(419),SDK_INFOS:_0x1bbe32(432),ATTRIBUTIONS:_0x1bbe32(430),APP_SETTINGS:_0x1bbe32(426)};var _0x412f03=_0x1e7d;function _0x1e7d(e,t){var r=_0x349a();return(_0x1e7d=function(e,t){return r[e-=256]})(e,t)}function _0x349a(){var e=["fromJson","sdkUpdate","SDK_INFOS","33974180bufBKv","defaultValue","DEFAULTS","sdkInfos","sdkEnabled","780159BnIcTt","145xzIrks","sessions","attributions","sdk_enabled","sdk_update","SESSION_INTERVAL","events","SUBSESSION_INTERVAL","subsession_interval","3856444qyjzit","SDK_CLICKS","sdk_infos","EVENTS","182032YVsTIQ","3qdgymo","ATTRIBUTIONS","2638788hyQRzF","1022735rcfxVY","279RtcPEE","subsessionInterval","106986yUyULK","SESSIONS"];return(_0x349a=function(){return e})()}!function(){for(var e=_0x1e7d,t=_0x349a();;)try{if(668134===-parseInt(e(273))/1+-parseInt(e(259))/2+-parseInt(e(257))/3*(parseInt(e(283))/4)+parseInt(e(274))/5*(-parseInt(e(263))/6)+parseInt(e(260))/7+-parseInt(e(256))/8*(-parseInt(e(261))/9)+parseInt(e(268))/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[_0x412f03(270)][_0x412f03(279)],c=WTConstants[_0x412f03(270)][_0x412f03(281)]){var u=_0x412f03;this[u(280)]=e,this[u(275)]=t,this.sdkClicks=r,this[u(271)]=i,this[u(276)]=n,this[u(272)]=s,this[u(266)]=o,this.sessionInterval=a,this[u(262)]=c}static[_0x412f03(265)](e){var t,r,i,n,s=_0x412f03;return new WTConfig(e.events,e[s(275)],e.sdk_clicks,e[s(285)],e[s(276)],null===(t=e[s(277)])||void 0===t||t,null!==(r=e[s(278)])&&void 0!==r&&r,null!==(i=e.session_interval)&&void 0!==i?i:WTConstants[s(270)][s(279)],null!==(n=e[s(282)])&&void 0!==n?n:WTConstants[s(270)][s(281)])}static get[_0x412f03(269)](){var e=_0x412f03;return new WTConfig(WTEndpoints[e(286)],WTEndpoints[e(264)],WTEndpoints[e(284)],WTEndpoints[e(267)],WTEndpoints[e(258)],!0,!1,WTConstants[e(270)].SESSION_INTERVAL,WTConstants[e(270)][e(281)])}}const _0x2cf736=_0x2e38;function _0x1dcf(){const e=["setPrefix","LOG_LEVEL","log","146OFBpRx","259210hWNlhp","debug","543984ByvYBK","42993whSzgT","4eLzJmG","push","warn","indexOf","shouldLog","120FynNRL","179683jzoDzj","info","50082XFAOyh","99oQxhEH","level","998385LCLMCQ","2031KEiYgT","none","toUpperCase","prefix","setLevel","error","outputEngines","addOutputEngine"];return(_0x1dcf=function(){return e})()}!function(){const e=_0x2e38,t=_0x1dcf();for(;;)try{if(139775===parseInt(e(219))/1+parseInt(e(206))/2*(parseInt(e(223))/3)+-parseInt(e(211))/4*(parseInt(e(222))/5)+-parseInt(e(209))/6+parseInt(e(217))/7+-parseInt(e(216))/8*(-parseInt(e(210))/9)+-parseInt(e(207))/10*(-parseInt(e(220))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTLogEngine{}class ConsoleLogEngine extends WTLogEngine{[_0x2cf736(205)](e,t,...r){const i=_0x2cf736;switch(e){case i(208):console.debug(t,...r);break;case i(218):console.info(t,...r);break;case i(213):console.warn(t,...r);break;case i(200):console[i(200)](t,...r);break;default:console.log(t,...r)}}}const WTLogLevel={DEBUG:_0x2cf736(208),INFO:_0x2cf736(218),WARN:"warn",ERROR:"error",NONE:_0x2cf736(224)};function _0x2e38(e,t){const r=_0x1dcf();return(_0x2e38=function(e,t){return r[e-=197]})(e,t)}class WTLogger{static[_0x2cf736(199)](e){this.level=e}static[_0x2cf736(203)](e){this.prefix=e}static[_0x2cf736(202)](e){const t=_0x2cf736;this[t(201)][t(212)](e)}static[_0x2cf736(215)](e){const t=_0x2cf736,r=[t(208),t(218),"warn",t(200)],i=r[t(214)](this[t(221)]);return r.indexOf(e)>=i}static[_0x2cf736(205)](e,...t){const r=_0x2cf736;if(!this[r(215)](e))return;const i="["+this[r(198)]+"-"+e[r(197)]()+"]";for(const n of this[r(201)])n[r(205)](e,i,...t)}static[_0x2cf736(208)](...e){const t=_0x2cf736;this[t(205)](t(208),...e)}static[_0x2cf736(218)](...e){const t=_0x2cf736;this.log(t(218),...e)}static[_0x2cf736(213)](...e){const t=_0x2cf736;this[t(205)](t(213),...e)}static[_0x2cf736(200)](...e){const t=_0x2cf736;this[t(205)](t(200),...e)}}WTLogger[_0x2cf736(221)]=WTConstants.DEFAULTS[_0x2cf736(204)],WTLogger[_0x2cf736(198)]="WT",WTLogger[_0x2cf736(201)]=[new ConsoleLogEngine];const _0x5bb678=_0x51c2;function _0x51c2(e,t){const r=_0x19a1();return(_0x51c2=function(e,t){return r[e-=318]})(e,t)}!function(){const e=_0x51c2,t=_0x19a1();for(;;)try{if(597251===parseInt(e(333))/1+parseInt(e(329))/2+parseInt(e(323))/3+parseInt(e(327))/4*(-parseInt(e(336))/5)+-parseInt(e(324))/6+parseInt(e(334))/7*(parseInt(e(319))/8)+-parseInt(e(330))/9*(-parseInt(e(322))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class SecureConfig{static[_0x5bb678(335)](e){const t=_0x5bb678;try{const r=atob(e);let i="";for(let e=0;e<r[t(326)];e++){const n=90^r[t(331)](e);i+=String.fromCharCode(n)}return i}catch(e){return console[t(320)](t(328),e),""}}static get[_0x5bb678(318)](){return this.decode("dTsqM3U9Py53OTU0PDM9")}static get[_0x5bb678(321)](){return this[_0x5bb678(335)]("Mi4uKilgdXU5NSg/dD4/OC89dC0zKT8uKDs5MT4/LHQzKA==")}static get STAGE_BASE_URL(){const e=_0x5bb678;return this.decode(e(332))}static get[_0x5bb678(325)](){return this.decode("Mi4uKilgdXU5NSg/dC0zKT8uKDs5MXQzNQ==")}}function _0x19a1(){const e=["DEBUG_BASE_URL","430SXdTkN","1587264SNopgR","4262322VMEIXH","PRODUCTION_BASE_URL","length","116eikvVB","Decode error:","266496DelODu","15849EzRCzG","charCodeAt","Mi4uKilgdXU5NSg/dCkuOz0/dC0zKT8uKDs5MT4/LHQzKA==","546926TyUGgR","381619QivmHq","decode","165285FnQbSI","CONFIG_PATH","144ObfUUG","error"];return(_0x19a1=function(){return e})()}const _0x21f332=_0x3ddf;function _0x55cf(){const e=["3486pGKbFW","42875GGENOB","511jdBVFi","448623xYwnNf","90qMVvqW","DEBUG","4018840alaMri","DEBUG_BASE_URL","584076JzVMVK","395196WKxIJw","PRODUCTION","872OBANcX","sdkEnvironment","PRODUCTION_BASE_URL","production","CONFIG","STAGE_BASE_URL","5364XcrmZb","stage","184gKzpIb","297EIiaCf","sandbox"];return(_0x55cf=function(){return e})()}function _0x3ddf(e,t){const r=_0x55cf();return(_0x3ddf=function(e,t){return r[e-=227]})(e,t)}!function(){const e=_0x3ddf,t=_0x55cf();for(;;)try{if(298303===-parseInt(e(238))/1+-parseInt(e(241))/2*(-parseInt(e(230))/3)+-parseInt(e(227))/4*(parseInt(e(231))/5)+-parseInt(e(247))/6*(parseInt(e(232))/7)+-parseInt(e(236))/8+parseInt(e(233))/9*(parseInt(e(234))/10)+-parseInt(e(228))/11*(-parseInt(e(239))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}(),_0x21f332(229),_0x21f332(244);const WTSDKEnvironment={DEBUG:"debug",STAGE:_0x21f332(248),PRODUCTION:_0x21f332(244)},EnvironmentUtils={sdkEnvironment:WTConstants[_0x21f332(245)].DEFAULT_ENVIRONMENT,get needResponseDetails(){const e=_0x21f332;return this[e(242)]!==WTSDKEnvironment[e(240)]},get baseUrl(){const e=_0x21f332;switch(this[e(242)]){case WTSDKEnvironment[e(235)]:return SecureConfig[e(237)];case WTSDKEnvironment.STAGE:return SecureConfig[e(246)];case WTSDKEnvironment[e(240)]:return SecureConfig[e(243)];default:throw new Error("Unknown environment: "+this[e(242)])}}};var _0x176c6c=_0x2b35;function _0x2b35(e,t){var r=_0x58aa();return(_0x2b35=function(e,t){return r[e-=457]})(e,t)}!function(){for(var e=_0x2b35,t=_0x58aa();;)try{if(961179===parseInt(e(477))/1+parseInt(e(525))/2+-parseInt(e(457))/3*(parseInt(e(506))/4)+parseInt(e(495))/5*(-parseInt(e(502))/6)+-parseInt(e(511))/7+-parseInt(e(516))/8+parseInt(e(472))/9*(parseInt(e(490))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTStorageKeys={DEVICE_ID:_0x176c6c(462),INITIAL_DATE:_0x176c6c(473),INITIAL_CONFIG:"WT.InitialConfigs",CONFIG:"WT.Configs",SDK_CLICK_SUBMIT:"WT.SdkClickSubmit",FIRST_SESSION_SUBMIT:_0x176c6c(508),SDK_ENABLED:"WT.SdkEnabled",FCM_TOKEN:_0x176c6c(475),PUSH_TOKEN:"WT.PushToken",EVENT_COUNT:"WT.EventCount",SESSION_COUNT:_0x176c6c(461),SESSION_LENGTH:_0x176c6c(466),SUBSESSION_COUNT:_0x176c6c(498),ACTIVE_TIME:"WT.ActiveTime",INACTIVE_TIME:_0x176c6c(522),INACTIVE_DURATION:_0x176c6c(496),REQUEST_QUEUE:_0x176c6c(487),PENDING_REQUEST_QUEUE:_0x176c6c(505)};class StorageManager{clear(){localStorage.clear()}[_0x176c6c(480)](e,t){var r=_0x176c6c;if(t)try{const i=JSON[r(519)](t);localStorage[r(471)](e,i)}catch(t){WTLogger.error("Error in encoding object for key '"+e+"'",t)}else localStorage.removeItem(e)}[_0x176c6c(489)](e){var t=_0x176c6c;const r=localStorage[t(484)](e);if(!r)return null;try{return JSON[t(501)](r)}catch(r){return WTLogger[t(482)]("Error in JSON decoding for key '"+e+t(469)+r,r),null}}optionalNumber(e){const t=localStorage[_0x176c6c(484)](e);if(null===t)return null;const r=Number(t);return isNaN(r)?null:r}[_0x176c6c(485)](e){var t=_0x176c6c;const r=localStorage[t(484)](e);return null===r?null:"true"===r||r!==t(479)&&null}get[_0x176c6c(460)](){return localStorage.getItem(WTStorageKeys.DEVICE_ID)}set[_0x176c6c(460)](e){var t=_0x176c6c;e?localStorage[t(471)](WTStorageKeys[t(515)],e):localStorage.removeItem(WTStorageKeys[t(515)])}get[_0x176c6c(507)](){return this.getJson(WTStorageKeys.INITIAL_DATE)}set[_0x176c6c(507)](e){var t=_0x176c6c;this[t(480)](WTStorageKeys[t(526)],e)}get[_0x176c6c(497)](){var e=_0x176c6c;return this.getJson(WTStorageKeys[e(492)])}set[_0x176c6c(497)](e){var t=_0x176c6c;this[t(480)](WTStorageKeys[t(492)],e)}get[_0x176c6c(524)](){var e=_0x176c6c;return this[e(489)](WTStorageKeys[e(503)])}set[_0x176c6c(524)](e){this[_0x176c6c(480)](WTStorageKeys.CONFIG,e)}get[_0x176c6c(512)](){var e,t=_0x176c6c;return null!==(e=this.optionalBool(WTStorageKeys[t(476)]))&&void 0!==e&&e}set sdkEnabled(e){var t=_0x176c6c;localStorage.setItem(WTStorageKeys[t(476)],e.toString())}get[_0x176c6c(509)](){var e,t=_0x176c6c;return null!==(e=this.optionalBool(WTStorageKeys[t(523)]))&&void 0!==e&&e}set[_0x176c6c(509)](e){var t=_0x176c6c;localStorage.setItem(WTStorageKeys[t(523)],e[t(463)]())}get[_0x176c6c(494)](){var e;return null!==(e=this[_0x176c6c(485)](WTStorageKeys.FIRST_SESSION_SUBMIT))&&void 0!==e&&e}set[_0x176c6c(494)](e){var t=_0x176c6c;localStorage[t(471)](WTStorageKeys[t(470)],e.toString())}get fcmToken(){var e=_0x176c6c;return localStorage[e(484)](WTStorageKeys[e(521)])}set[_0x176c6c(510)](e){var t=_0x176c6c;e?localStorage[t(471)](WTStorageKeys[t(521)],e):localStorage[t(478)](WTStorageKeys[t(521)])}get[_0x176c6c(467)](){return localStorage.getItem(WTStorageKeys.PUSH_TOKEN)}set[_0x176c6c(467)](e){var t=_0x176c6c;e?localStorage.setItem(WTStorageKeys[t(500)],e):localStorage[t(478)](WTStorageKeys.PUSH_TOKEN)}get sessionCount(){var e,t=_0x176c6c;return null!==(e=this[t(491)](WTStorageKeys[t(517)]))&&void 0!==e?e:1}set[_0x176c6c(514)](e){var t=_0x176c6c;localStorage[t(471)](WTStorageKeys[t(517)],e.toString())}get[_0x176c6c(504)](){var e,t=_0x176c6c;return null!==(e=this[t(491)](WTStorageKeys[t(464)]))&&void 0!==e?e:1}set[_0x176c6c(504)](e){var t=_0x176c6c;localStorage[t(471)](WTStorageKeys.SUBSESSION_COUNT,e[t(463)]())}get[_0x176c6c(465)](){var e;return null!==(e=this.optionalNumber(WTStorageKeys.SESSION_LENGTH))&&void 0!==e?e:0}set[_0x176c6c(465)](e){var t=_0x176c6c;localStorage[t(471)](WTStorageKeys[t(499)],e[t(463)]())}get[_0x176c6c(486)](){var e,t=_0x176c6c;return null!==(e=this[t(491)](WTStorageKeys[t(513)]))&&void 0!==e?e:0}set[_0x176c6c(486)](e){var t=_0x176c6c;localStorage[t(471)](WTStorageKeys.INACTIVE_DURATION,e[t(463)]())}get[_0x176c6c(459)](){return this[_0x176c6c(491)](WTStorageKeys.ACTIVE_TIME)}set[_0x176c6c(459)](e){var t=_0x176c6c;null!==e?localStorage[t(471)](WTStorageKeys[t(474)],e.toString()):localStorage[t(478)](WTStorageKeys[t(474)])}get[_0x176c6c(483)](){var e=_0x176c6c;return this[e(491)](WTStorageKeys[e(493)])}set[_0x176c6c(483)](e){var t=_0x176c6c;null!==e?localStorage.setItem(WTStorageKeys[t(493)],e[t(463)]()):localStorage[t(478)](WTStorageKeys.INACTIVE_TIME)}get[_0x176c6c(458)](){var e,t=_0x176c6c;return null!==(e=this.getJson(WTStorageKeys[t(488)]))&&void 0!==e?e:[]}set[_0x176c6c(458)](e){var t=_0x176c6c;this[t(480)](WTStorageKeys[t(488)],e)}get[_0x176c6c(468)](){var e,t=_0x176c6c;return null!==(e=this[t(489)](WTStorageKeys[t(520)]))&&void 0!==e?e:[]}set pendingRequestRecords(e){this[_0x176c6c(480)](WTStorageKeys.PENDING_REQUEST_QUEUE,e)}get[_0x176c6c(481)](){var e,t=_0x176c6c;return null!==(e=this[t(491)](WTStorageKeys[t(518)]))&&void 0!==e?e:0}set[_0x176c6c(481)](e){var t=_0x176c6c;localStorage[t(471)](WTStorageKeys[t(518)],e[t(463)]())}}function _0x58aa(){var e=["EVENT_COUNT","stringify","PENDING_REQUEST_QUEUE","FCM_TOKEN","WT.InactiveTime","SDK_CLICK_SUBMIT","config","110288iwZSkk","INITIAL_DATE","12pyniJk","requestRecords","inactiveTime","deviceId","WT.SessionCount","WT.DeviceId","toString","SUBSESSION_COUNT","activeDuration","WT.SessionLenght","pushToken","pendingRequestRecords","': ","FIRST_SESSION_SUBMIT","setItem","1233svXkGQ","WT.InitialDate","ACTIVE_TIME","WT.FcmToken","SDK_ENABLED","1455220XxXjib","removeItem","false","setJson","eventCount","error","activeTime","getItem","optionalBool","inactiveDuration","WT.RequestQueue","REQUEST_QUEUE","getJson","119690iriiYV","optionalNumber","INITIAL_CONFIG","INACTIVE_TIME","firstSessionSubmit","15220WEPXVZ","WT.InactiveDuration","initialConfig","WT.SubSessionCount","SESSION_LENGTH","PUSH_TOKEN","parse","1536hUiBKI","CONFIG","subSessionCount","WT.PendingRequestQueue","344924tlSQvH","initialDate","WT.FirstSessionSubmit","sdkClickSubmit","fcmToken","5792080bethKy","sdkEnabled","INACTIVE_DURATION","sessionCount","DEVICE_ID","1898480nHWmhQ","SESSION_COUNT"];return(_0x58aa=function(){return e})()}const storageManager=new StorageManager;function _0x4336(){var e=["198sRRHxO","1632680JcHIyP","1014UeOgUG","Invalid URL: ","statusCode","371XlCKyP","12huqODP","142660wKChRW","5167KsCXkI","50sELwlv","1188451eSYEMU","DecodingError","InvalidUrl","ServerError","10UWVxRe","name","NetworkError: ","2873962LtuwSZ","95128MKTLGP","48xWSFNH"];return(_0x4336=function(){return e})()}var ApiError;function _0x3ce0(e,t){var r=_0x4336();return(_0x3ce0=function(e,t){return r[e-=430]})(e,t)}function _0x38f1(){var e=["retryInterval","2718676xMptZH","1414108DGhWBn","maxRetries","9XptzkF","3649310dZkLGQ","22546942PkvYBV","65ygxubI","609EyrXag","1976NxatVh","124158wTBjqV","canRetry","275738NhFqYb","3RVgGgG"];return(_0x38f1=function(){return e})()}!function(){for(var e=_0x3ce0,t=_0x4336();;)try{if(192645===-parseInt(e(441))/1*(parseInt(e(442))/2)+-parseInt(e(439))/3*(-parseInt(e(440))/4)+-parseInt(e(434))/5+-parseInt(e(435))/6*(parseInt(e(438))/7)+parseInt(e(431))/8*(-parseInt(e(433))/9)+-parseInt(e(447))/10*(parseInt(e(443))/11)+-parseInt(e(432))/12*(-parseInt(e(430))/13))break;t.push(t.shift())}catch(e){t.push(t.shift())}}(),function(e){var t=_0x3ce0;class r extends Error{constructor(e){var t=_0x3ce0;super(t(436)+e),this[t(448)]=t(445)}}e[t(445)]=r;class i extends Error{constructor(e,r){var i=t;super("ServerError "+e+": "+r),this[i(437)]=e,this.message=r,this[i(448)]="ServerError"}}e[t(446)]=i;class n extends Error{constructor(e){var r=t;super(r(449)+e),this[r(448)]="NetworkFailure"}}e.NetworkError=n;class s extends Error{constructor(e){var r=t;super("DecodingError: "+e),this.name=r(444)}}e[t(444)]=s}(ApiError||(ApiError={}));var _0xe04c66=_0x4848;function _0x4848(e,t){var r=_0x38f1();return(_0x4848=function(e,t){return r[e-=248]})(e,t)}!function(){for(var e=_0x4848,t=_0x38f1();;)try{if(504672===-parseInt(e(254))/1+-parseInt(e(258))/2*(parseInt(e(255))/3)+-parseInt(e(257))/4+-parseInt(e(249))/5*(parseInt(e(252))/6)+parseInt(e(250))/7*(parseInt(e(251))/8)+parseInt(e(260))/9*(parseInt(e(261))/10)+parseInt(e(248))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RetryPolicy{constructor(e=3,t=2e3){var r=_0x4848;this[r(259)]=e,this[r(256)]=t}[_0xe04c66(253)](e){return e<this[_0xe04c66(259)]}waitBeforeRetry(){return __awaiter(this,void 0,void 0,function*(){var e=_0x4848;return new Promise(t=>setTimeout(t,this[e(256)]))})}}function _0x1e06(){const e=["retryAttempt","Request successful","status","1276IxiKHf","Server error","1547355JkjDeF","32YtMUde","✅ API SUCCESS (","🚀 REQUEST (","json","stringify","message","DecodingError","InvalidUrl","retryPolicy","ServerError","application/json","debug","text","warn","headers","123566FoJukR",") =>","1201062HMajwM","params","748716AmLShy","12pQAbgo","error","assign","41290rftduk","waitBeforeRetry","646659IufdLi",") => ","method","baseUrl","14qkxHdl","409748QEJPNa","canRetry","sendRequest"];return(_0x1e06=function(){return e})()}function _0x412d(e,t){const r=_0x1e06();return(_0x412d=function(e,t){return r[e-=427]})(e,t)}!function(){const e=_0x412d,t=_0x1e06();for(;;)try{if(215499===parseInt(e(432))/1+-parseInt(e(436))/2+parseInt(e(437))/3*(parseInt(e(447))/4)+-parseInt(e(455))/5+-parseInt(e(434))/6*(parseInt(e(446))/7)+-parseInt(e(456))/8*(-parseInt(e(442))/9)+-parseInt(e(440))/10*(-parseInt(e(453))/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=_0x412d,i=t[r(450)]||1;let n,s;try{n=new URL(e,EnvironmentUtils[r(445)])}catch(t){throw console[r(438)]("Invalid URL:",t),new(ApiError[r(463)])(""+EnvironmentUtils[r(445)]+e)}WTLogger[r(428)](r(458)+i+r(443)+t[r(444)]+" "+e),WTLogger[r(428)]("-- PARAMETERS =>",t.params||{});const o=Object[r(439)]({Accept:r(427)},t[r(431)]);t[r(435)]&&(o["Content-Type"]=r(427),s=JSON[r(460)](t.params));try{const e=yield fetch(n,{method:t[r(444)],headers:o,body:s});if(!e.ok){let t=yield e[r(459)](),i=t[r(461)]||(yield e[r(429)]());throw WTLogger[r(430)]("❌ API ERROR ("+e[r(452)]+r(433),i),new(ApiError[r(465)])(e[r(452)],t[r(461)]||r(454))}try{const t=yield e[r(459)]();return WTLogger[r(428)](r(457)+e[r(452)]+r(433),t[r(461)]||r(451)),t}catch(e){throw new(ApiError[r(462)])(e.message||String(e))}}catch(n){if(n instanceof ApiError[r(465)]||n instanceof ApiError[r(462)])throw n;if(WTLogger[r(438)]("Error executing request",n),this[r(464)]()[r(448)](i))return yield this[r(464)]()[r(441)](),this[r(449)](e,Object[r(439)](Object[r(439)]({},t),{retryAttempt:i+1}));throw new ApiError.NetworkError(n[r(461)]||"Unknown error")}})}};function _0x21c6(e,t){const r=_0x18a2();return(_0x21c6=function(e,t){return r[e-=131]})(e,t)}function _0x18a2(){const e=["needResponseDetails","2OfsFXU","POST","1276myTAzF","fromJson","VERSION","PLATFORM","576936hwQrQQ","other","toISOString","result","SDK","390cGfIxZ","404761hDqUEV","initialConfig","success","appVersion","323088cXTlMS","appToken","84202vNXywe","874410HaQcoE","2938167OZoavu","location","sendRequest","appFrameWork"];return(_0x18a2=function(){return e})()}!function(){const e=_0x21c6,t=_0x18a2();for(;;)try{if(153365===-parseInt(e(155))/1*(parseInt(e(148))/2)+-parseInt(e(136))/3+parseInt(e(132))/4*(-parseInt(e(141))/5)+parseInt(e(149))/6+-parseInt(e(142))/7+parseInt(e(146))/8+parseInt(e(150))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const apiClient={doGetConfig(){return __awaiter(this,void 0,void 0,function*(){const e=_0x21c6,t=storageManager[e(143)];if(!t)throw"Initial Config is not set";const r={parameters:{app_token:t[e(147)],app_version:t[e(145)],framework:t.appFrameWork,package_name:window[e(151)].hostname,platform:WTConstants[e(140)][e(135)],sdk_version:WTConstants.SDK[e(134)],initiated_by:WTConstants[e(140)][e(135)]+"_"+t[e(153)],store_name:e(137)}},i=yield networkManager[e(152)](SecureConfig.CONFIG_PATH,{method:e(131),params:r});return WTConfig[e(133)](i[e(139)])})},doCallRequest(e,t){return __awaiter(this,void 0,void 0,function*(){const r=_0x21c6;t.updated_at=(new Date)[r(138)]();return(yield networkManager[r(152)](e,{method:"POST",params:{needs_response_details:EnvironmentUtils[r(154)],parameters:t}}))[r(144)]})}},_0x444664=_0x2a6a;function _0x2a6a(e,t){const r=_0x55fb();return(_0x2a6a=function(e,t){return r[e-=281]})(e,t)}function _0x55fb(){const e=["1321144XcLKvm","12622400urseLy","318042BfXiqt","activeDuration","start","ActivityTicker: active duration= ","now","activeTime","stop","tickerJob","hidden","9549peYEkc","resume","766794yYmAbP","4889980ZDxrqA","5306bavNEE","110TJJSWD","log","1278XUSYvP","s, inactive duration= ","1110ICLaGp","tickerDelay","isPaused","pause"];return(_0x55fb=function(){return e})()}!function(){const e=_0x2a6a,t=_0x55fb();for(;;)try{if(943825===-parseInt(e(289))/1+-parseInt(e(292))/2*(-parseInt(e(287))/3)+parseInt(e(300))/4+-parseInt(e(290))/5+parseInt(e(294))/6*(-parseInt(e(291))/7)+-parseInt(e(301))/8+parseInt(e(302))/9*(parseInt(e(296))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class ActivityTicker{constructor(){const e=_0x2a6a;this.tickerDelay=1e3,this[e(298)]=!1}[_0x444664(304)](){const e=_0x444664;this[e(285)]&&clearInterval(this.tickerJob),this[e(285)]=setInterval(()=>{const t=e;this[t(298)]||document[t(286)]||document.hasFocus()&&(console[t(293)](t(281)+storageManager[t(303)]/1e3+t(295)+storageManager.inactiveDuration/1e3+"s"),storageManager[t(283)]=Date[t(282)](),storageManager[t(303)]+=this[t(297)])},this[e(297)])}[_0x444664(284)](){const e=_0x444664;clearInterval(this[e(285)]),this[e(285)]=void 0}[_0x444664(299)](){this.isPaused=!0}[_0x444664(288)](){this[_0x444664(298)]=!1}}const activityTicker=new ActivityTicker,_0xafa611=_0x46a1;function _0x47f1(){const e=["finally","fetchWithTimeout","getCountryCode","200901vZrICY","5745GGhPnD","21003VmmDbA","366VzPiZk","tryAllEndpoints","country.is failed","signal","_country","countryCode","country_code","5317992jsPDQT","2396898FqaPnq","https://ipwho.is/","ipwho.is failed","country","1407204DvSYhl","https://free.freeipapi.com/api/json","6VfBTKP","2176696qMBduB","json"];return(_0x47f1=function(){return e})()}function _0x46a1(e,t){const r=_0x47f1();return(_0x46a1=function(e,t){return r[e-=496]})(e,t)}!function(){const e=_0x46a1,t=_0x47f1();for(;;)try{if(249527===parseInt(e(509))/1*(-parseInt(e(501))/2)+-parseInt(e(507))/3+-parseInt(e(499))/4+-parseInt(e(508))/5*(-parseInt(e(510))/6)+parseInt(e(518))/7+-parseInt(e(502))/8+parseInt(e(517))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class CountryFinder{constructor(){this[_0x46a1(514)]=null}[_0xafa611(506)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x46a1;return!this._country&&(this._country=yield this[e(511)]()),this[e(514)]})}[_0xafa611(511)](){return __awaiter(this,void 0,void 0,function*(){const e=[()=>__awaiter(this,void 0,void 0,function*(){const e=_0x46a1,t=yield this[e(505)]("https://api.country.is");if(!t.ok)throw new Error(e(512));return(yield t[e(503)]())[e(498)]||null}),()=>__awaiter(this,void 0,void 0,function*(){const e=_0x46a1,t=yield this[e(505)](e(500));if(!t.ok)throw new Error("country.is failed");return(yield t.json())[e(515)]||null}),()=>__awaiter(this,void 0,void 0,function*(){const e=_0x46a1,t=yield this[e(505)](e(496));if(!t.ok)throw new Error(e(497));return(yield t.json())[e(516)]||null})];for(const t of e)try{const e=yield t();if(e)return e}catch(e){}return null})}fetchWithTimeout(e){return __awaiter(this,arguments,void 0,function*(e,t=2e3){const r=_0x46a1,i=new AbortController,n=setTimeout(()=>i.abort(),t);return fetch(e,{signal:i[r(513)]})[r(504)](()=>clearTimeout(n))})}}const countryFinder=new CountryFinder;function _0x4e4c(e,t){const r=_0xbd3f();return(_0x4e4c=function(e,t){return r[e-=400]})(e,t)}!function(){const e=_0x4e4c,t=_0xbd3f();for(;;)try{if(236339===-parseInt(e(403))/1*(parseInt(e(402))/2)+parseInt(e(404))/3*(parseInt(e(406))/4)+parseInt(e(400))/5+-parseInt(e(401))/6+parseInt(e(410))/7*(-parseInt(e(407))/8)+parseInt(e(409))/9+-parseInt(e(408))/10*(-parseInt(e(405))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const cryptoHelper={generateDeviceUUID:()=>crypto.randomUUID()};function _0xbd3f(){const e=["2888599SomZpH","776310hvbBJC","1440306tyeAmn","185026AzTBxA","1OFzINE","9fAGGUh","7131982Bdkevm","231172cUgTgx","8eiBHzB","10xVQTEq","41013iGNHDn"];return(_0xbd3f=function(){return e})()}function _0x8370(){const e=["4707796CbXiIZ","2XSiPJH","acquire","locked","488604qfAmZc","now","parameters","6149562TVaJuL","release","shift","randomUUID","4048976JIVXZY","length","waitingQueue","272863WmzNPc","2827622SXiayB","endpoint","push","4830160lojSuA"];return(_0x8370=function(){return e})()}function _0x4e5d(e,t){const r=_0x8370();return(_0x4e5d=function(e,t){return r[e-=102]})(e,t)}const _0x4a3b7b=_0x4e5d;!function(){const e=_0x4e5d,t=_0x8370();for(;;)try{if(601839===parseInt(e(114))/1*(-parseInt(e(120))/2)+parseInt(e(104))/3+-parseInt(e(119))/4+parseInt(e(118))/5+parseInt(e(107))/6+parseInt(e(115))/7+-parseInt(e(111))/8)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RequestRecord{constructor(e,t){const r=_0x4e5d;this.retryCount=0,this.maxRetries=3,this.id=crypto[r(110)](),this[r(116)]=e,this[r(106)]=t,this.createdAt=Date[r(105)]()}}class Mutex{constructor(){const e=_0x4e5d;this[e(103)]=!1,this[e(113)]=[]}[_0x4a3b7b(102)](){return __awaiter(this,void 0,void 0,function*(){return new Promise(e=>{const t=_0x4e5d;this[t(103)]?this.waitingQueue[t(117)](e):(this[t(103)]=!0,e())})})}[_0x4a3b7b(108)](){const e=_0x4a3b7b;if(this[e(113)][e(112)]>0){this.waitingQueue[e(109)]()()}else this[e(103)]=!1}}const _0xf8e73f=_0x2c5a;function _0x2c5a(e,t){const r=_0xeac5();return(_0x2c5a=function(e,t){return r[e-=223]})(e,t)}!function(){const e=_0x2c5a,t=_0xeac5();for(;;)try{if(839181===-parseInt(e(265))/1*(parseInt(e(271))/2)+parseInt(e(236))/3*(parseInt(e(227))/4)+parseInt(e(232))/5+parseInt(e(241))/6*(parseInt(e(248))/7)+-parseInt(e(267))/8+parseInt(e(289))/9+-parseInt(e(302))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RequestsQueueManager{constructor(){const e=_0x2c5a;this[e(279)]=!1,this.isProcessing=!1,this[e(245)]=!1,this[e(228)]=new Mutex,this[e(226)]=null,this[e(297)]=100,this[e(243)]=0,this[e(234)]=3e4,this[e(256)]=2,this.BASE_DELAY_MS=1e3}[_0xf8e73f(257)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2c5a;this[e(279)]=!0,!this[e(258)]&&(yield this[e(269)]())})}[_0xf8e73f(281)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2c5a;this.isInitialized&&(yield this.stopProcessing(),this[e(279)]=!1)})}[_0xf8e73f(269)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2c5a;if(this[e(279)]){yield this.mutex[e(244)]();try{if(this[e(258)])return;this.isProcessing=!0,this.processingInterval=setInterval(()=>__awaiter(this,void 0,void 0,function*(){const t=e;try{yield this.processQueues()}catch(e){WTLogger[t(276)](t(259),e)}}),this[e(297)])}finally{this[e(228)].release()}yield this[e(290)]()}else WTLogger[e(229)](e(230))})}[_0xf8e73f(252)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2c5a;yield this.mutex[e(244)]();try{this[e(258)]=!1,this[e(226)]&&(clearInterval(this.processingInterval),this[e(226)]=null)}finally{this[e(228)][e(300)]()}})}[_0xf8e73f(231)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x2c5a;yield this[t(228)][t(244)]();try{const r=this[t(261)]();if(r[t(294)](e),this[t(250)](r),this[t(243)]=0,!this[t(258)])return this[t(228)][t(300)](),void(yield this[t(269)]())}finally{this.isProcessing&&this[t(228)][t(300)]()}})}[_0xf8e73f(237)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x2c5a;yield this[t(228)][t(244)]();try{if(this[t(246)]()){const r=this[t(261)]();r.push(e),this[t(250)](r)}else{const r=this[t(238)]();r[t(294)](e),this[t(233)](r)}if(this[t(243)]=0,!this[t(258)])return this[t(228)].release(),void(yield this[t(269)]())}finally{this[t(258)]&&this[t(228)][t(300)]()}})}[_0xf8e73f(290)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2c5a;if(this[e(258)]&&!this[e(245)]){if(this[e(243)]>0){if(Date[e(275)]()<this[e(243)])return;this[e(243)]=0,WTLogger.debug(e(242))}this[e(245)]=!0,yield this[e(228)][e(244)]();try{yield this[e(291)](),yield this[e(260)]()}finally{this[e(228)][e(300)](),this.isCurrentlyProcessing=!1}}})}[_0xf8e73f(291)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2c5a,t=this[e(261)]();if(0===t.length)return;const r=t[0];try{if(yield this.sendRequest(r))t[e(286)](),this[e(250)](t),this[e(298)](r),WTLogger[e(253)](e(272)+r.id+e(251));else{if(t[0][e(239)]++,t[0].retryCount>=t[0][e(292)]){const i=this[e(295)](t[0][e(239)]);this[e(243)]=Date[e(275)]()+i,WTLogger[e(229)](e(240)+r.id+e(255)+r.maxRetries+e(235)+(e(247)+i+"ms"))}else WTLogger[e(229)]("⚠️ Request "+r.id+" failed. Retry "+t[0][e(239)]+"/"+t[0][e(292)]);this[e(250)](t)}}catch(i){if(WTLogger[e(276)]("Error sending request "+r[e(273)]+":",i),t[0][e(239)]++,t[0].retryCount>=t[0][e(292)]){const i=this[e(295)](t[0].retryCount);this.failedRequestDelay=Date[e(275)]()+i,WTLogger[e(229)]("⏳ Request "+r.id+" failed with error after "+t[0].maxRetries+e(235)+"Applying backoff delay of "+i+"ms")}this[e(250)](t)}})}[_0xf8e73f(295)](e){const t=_0xf8e73f,r=this[t(287)]*Math.pow(this[t(256)],e-1);return Math[t(278)](r,this[t(234)])}processPendingQueue(){return __awaiter(this,void 0,void 0,function*(){const e=_0x2c5a;if(!this.getMainRequestsSentFlag())return;const t=this[e(238)]();if(0===t[e(266)])return;const r=this[e(261)]();r.push(...t),this[e(250)](r),this[e(233)]([]),console.log(e(296)+t.length+e(280))})}[_0xf8e73f(223)](e){return __awaiter(this,arguments,void 0,function*(e,t=1){const r=_0x2c5a;WTLogger[r(253)](r(262)+e.endpoint+r(282)+e.id);let i=!1;try{i=yield apiClient[r(284)](e[r(273)],e[r(268)])}catch(t){WTLogger[r(276)](r(270)+e[r(273)]+r(293),t)}return i})}[_0xf8e73f(261)](){return storageManager[_0xf8e73f(225)]}saveMainQueue(e){storageManager[_0xf8e73f(225)]=e}[_0xf8e73f(238)](){return storageManager.pendingRequestRecords}savePendingQueue(e){storageManager[_0xf8e73f(274)]=e}[_0xf8e73f(246)](){return storageManager.sdkClickSubmit}postRequestCheck(e){const t=_0xf8e73f;switch(e.endpoint){case WTEndpoints[t(299)]:storageManager[t(224)]=!0;break;case WTEndpoints.SESSIONS:storageManager.firstSessionSubmit?(storageManager[t(254)]=0,storageManager[t(264)]=0,storageManager[t(277)]=1):storageManager[t(283)]=!0;break;case WTEndpoints[t(301)]:storageManager[t(263)]=e.parameters[t(249)]}}getQueueStatus(){const e=_0xf8e73f;return{mainQueueLength:this.getMainQueue().length,pendingQueueLength:this[e(238)]()[e(266)],isProcessing:this[e(258)],mainRequestsSent:this[e(246)](),isInBackoffDelay:this[e(243)]>0&&Date[e(275)]()<this[e(243)],backoffEndsAt:this[e(243)]>0?this[e(243)]:null}}[_0xf8e73f(285)](){this[_0xf8e73f(243)]=0,WTLogger.debug("🔄 Backoff delay manually reset")}[_0xf8e73f(288)](){const e=_0xf8e73f;return{baseDelayMs:this.BASE_DELAY_MS,multiplier:this.BACKOFF_MULTIPLIER,maxDelayMs:this[e(234)]}}}const queueManager=new RequestsQueueManager;function _0xeac5(){const e=["SDK_INFOS","5944680Izqjno","sendRequest","sdkClickSubmit","requestRecords","processingInterval","1544siuMyh","mutex","warn","Queue Manager is not initialized. Call initialize() first.","addRequest","1832440MWymir","savePendingQueue","MAX_DELAY_MS"," attempts. ","5499zixRAd","addPendingRequest","getPendingQueue","retryCount","⏳ Request ","30tcBYet","⏰ Backoff delay ended, resuming queue processing","failedRequestDelay","acquire","isCurrentlyProcessing","getMainRequestsSentFlag","Applying backoff delay of ","1743609aWsxKZ","push_token","saveMainQueue"," processed successfully","stopProcessing","debug","activeDuration"," failed after ","BACKOFF_MULTIPLIER","initialize","isProcessing","Error in processing loop:","processPendingQueue","getMainQueue","💥 Sending request (","fcmToken","inactiveDuration","4KBqCrQ","length","837440ztkySk","parameters","startProcessing","❌ Request ","631702imNCqP","✅ Request ","endpoint","pendingRequestRecords","now","error","subSessionCount","min","isInitialized"," pending requests to main queue","shutdown","): id=","firstSessionSubmit","doCallRequest","resetBackoffDelay","shift","BASE_DELAY_MS","getBackoffConfig","4340448oHAgzn","processQueues","processMainQueue","maxRetries"," failed","push","calculateBackoffDelay","📦 Moved ","PROCESSING_INTERVAL_MS","postRequestCheck","SDK_CLICKS","release"];return(_0xeac5=function(){return e})()}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,f=function(t){return E[t].getItem().setCH(e).parseCH().get()};this.set("browser",f("browser")).set("cpu",f("cpu")).set("device",f("device")).set("engine",f("engine")).set("os",f("os"))}return this},setProps.call(this,[["itemType",e],["ua",t],["uaCH",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 _0x2f76c6=_0x39b4;function _0x21a2(){const e=["20ODiaSa","vive","toLowerCase","272292CgBrSw","large","9RGwRix","model","1672xKuiLH","uiStyle","4921PJmAJI","googletv","852348JKgUTb","android auto","width","smarttv","screenType","device","719244XmyrZV","1002702DeWAFT","playstation","wearable","screenSize","innerWidth","displaySize","getResult","screenFormat","pow","watch","pointer","devicePixelRatio","ontouchstart","height","toFixed","sqrt","hbbtv","oculus","small","smart-tv","77ylbLgV","6379oqmLke","cpu","desktop","maxTouchPoints","carplay","innerHeight","matchMedia","type","includes","touch","uiMode","matches","long","5QQdzNg","73126bcIASb","tablet","nintendo","(prefers-color-scheme: dark)","normal","engine","xlarge","screenDensity"];return(_0x21a2=function(){return e})()}function _0x39b4(e,t){const r=_0x21a2();return(_0x39b4=function(e,t){return r[e-=249]})(e,t)}!function(){const e=_0x39b4,t=_0x21a2();for(;;)try{if(123158===parseInt(e(271))/1+-parseInt(e(285))/2+parseInt(e(298))/3*(-parseInt(e(296))/4)+parseInt(e(284))/5*(parseInt(e(250))/6)+parseInt(e(302))/7*(-parseInt(e(300))/8)+-parseInt(e(249))/9*(parseInt(e(293))/10)+parseInt(e(270))/11*(parseInt(e(304))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class DeviceDetector{getDeviceInfo(){const e=_0x39b4,t=(new UAParser)[e(256)]();return{browser:t.browser,os:t.os,device:t[e(309)],engine:t[e(290)],cpu:t[e(272)],ua:t.ua}}get[_0x2f76c6(292)](){return window[_0x2f76c6(261)]>=3?"high":window.devicePixelRatio>=2?"medium":"low"}get[_0x2f76c6(257)](){const e=_0x2f76c6;return window[e(276)]>window[e(254)]?e(283):e(289)}get[_0x2f76c6(253)](){const e=_0x2f76c6,t=window[e(254)];return t<480?e(268):t<768?"normal":e(t<1440?297:291)}get[_0x2f76c6(281)](){const e=_0x2f76c6;var t,r,i;const n=this.getDeviceInfo(),s=(null===(t=n[e(309)])||void 0===t?void 0:t[e(278)])||"",o=(null===(i=null===(r=n.device)||void 0===r?void 0:r[e(299)])||void 0===i?void 0:i.toLowerCase())||"",a=n.ua[e(295)]();return s===e(252)||o[e(279)](e(259))?6:s===e(307)||a.includes(e(269))||a.includes(e(266))||a[e(279)]("netcast")||a[e(279)](e(303))||a[e(279)]("appletv")?4:"console"===s||a[e(279)](e(251))||a.includes("xbox")||a[e(279)](e(287))?5:a[e(279)]("car")||a[e(279)](e(305))||a.includes(e(275))?3:a.includes(e(267))||a.includes(e(294))||a[e(279)]("vr")||"embedded"===s?7:"mobile"===s||s===e(286)?1:""===s||s===e(273)?2:0}get[_0x2f76c6(301)](){const e=_0x2f76c6;return window[e(277)]&&window[e(277)](e(288))[e(282)]?"1":"0"}get[_0x2f76c6(255)](){const e=_0x2f76c6,t=window[e(261)]||1,r=screen[e(306)]*t/160,i=screen[e(263)]*t/160;return Math[e(265)](Math[e(258)](r,2)+Math[e(258)](i,2))[e(264)](2)}get[_0x2f76c6(308)](){const e=_0x2f76c6;return e(262)in window||navigator[e(274)]>0?e(280):e(260)}}const deviceDetector=new DeviceDetector,_0x1d54a1=_0x19ba;function _0xe8cd(){const e=["isSessionStorageSupported","85BNSYQu","64684kynqzT","__test__","deleteDatabase","283728wOIedu","420615oMKfdb","getSupportResult","23220akkqFi","open","onsuccess","21LRxRAb","key","close","result","length","getStorageSizeBytes","isIndexedDBSupported","118542KdXwhq","isLocalStorageSupported","indexedDB","setItem","resolve","removeItem","onerror","412232eRQoSk","supportResults","__test__check__","30476PcFNgE"];return(_0xe8cd=function(){return e})()}function _0x19ba(e,t){const r=_0xe8cd();return(_0x19ba=function(e,t){return r[e-=103]})(e,t)}!function(){const e=_0x19ba,t=_0xe8cd();for(;;)try{if(138844===-parseInt(e(122))/1+parseInt(e(109))/2+parseInt(e(125))/3+parseInt(e(119))/4+-parseInt(e(121))/5*(parseInt(e(128))/6)+parseInt(e(131))/7*(parseInt(e(116))/8)+-parseInt(e(126))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class StorageSupport{constructor(){this[_0x19ba(117)]=null}[_0x1d54a1(127)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x19ba;if(this.supportResults)return this.supportResults;const t=this[e(110)](),r=this[e(120)](),i=yield this[e(108)]();return this[e(117)]={localStorage:t,sessionStorage:r,indexedDB:i},this[e(117)]})}[_0x1d54a1(107)](e){const t=_0x1d54a1;let r=0;for(let i=0;i<e[t(106)];i++){const n=e[t(103)](i);if(!n)continue;const s=e.getItem(n);null!=s&&(r+=2*n.length,r+=2*s[t(106)])}return r}isLocalStorageSupported(){const e=_0x1d54a1;try{const t=e(123);return localStorage[e(112)](t,"1"),localStorage[e(114)](t),!0}catch(e){return!1}}[_0x1d54a1(120)](){const e=_0x1d54a1;try{const t=e(123);return sessionStorage[e(112)](t,"1"),sessionStorage[e(114)](t),!0}catch(e){return!1}}[_0x1d54a1(108)](){const e=_0x1d54a1;return e(111)in window?new Promise(t=>{const r=e;try{const e=indexedDB[r(129)](r(118));e[r(115)]=()=>t(!1),e[r(130)]=()=>{const i=r;e[i(105)][i(104)](),indexedDB[i(124)](i(118)),t(!0)}}catch(e){t(!1)}}):Promise[e(113)](!1)}}const storageSupport=new StorageSupport,_0x2a8034=_0xf56f;function _0x1778(){const e=["[data-reactroot], [data-reactid]","static.squarespace.com","_reactRootContainer","__REACT_DEVTOOLS_GLOBAL_HOOK__","Ghost CMS","jQuery","Alpine.js",'meta[name="generator"][content*="Drupal"]',"226881EjcVrl","20ToRYMD","[ng-version]","Wix","detectWebFramework","Svelte","Angular","wp-includes","wix.com","Meteor",'meta[name="generator"][content*="Ghost"]',"[x-data], [x-init], [x-bind]","Vue","Squarespace","utm_source","10825628HDHMLv","documentElement","entries","querySelector","drupal-settings-json","mix-manifest.json","/js/app.js","startsWith","WordPress","719390azIBlr","utm_medium","85443YhgdLf","Zepto.js","some","/_next/","Drupal",".ng-binding, [ng-app], [data-ng-app], [ng-controller], [data-ng-controller], [ng-repeat], [data-ng-repeat]","keys","__reactContainer","272502rzVrFV","from","src","Nuxt.js","includes","scripts","[data-v-app], [data-v-]","utm_","svelte","Backbone","20UzMIPA","React","8547xKRSGl","other","8pzltef","Meteor.js","innerHTML","organic","728000lCPLKQ","map",'meta[name="generator"][content*="WordPress"]',"location","referrer","search","[id=___gatsby]","4528XGSaZQ","hostname","Backbone.js"];return(_0x1778=function(){return e})()}!function(){const e=_0xf56f,t=_0x1778();for(;;)try{if(402936===-parseInt(e(545))/1+-parseInt(e(517))/2+-parseInt(e(519))/3*(-parseInt(e(541))/4)+-parseInt(e(537))/5*(-parseInt(e(527))/6)+-parseInt(e(539))/7*(parseInt(e(552))/8)+-parseInt(e(563))/9+parseInt(e(564))/10*(parseInt(e(508))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class Utils{static getUTMParamsString(){const e=_0xf56f,t=new URLSearchParams(window[e(548)][e(550)]),r={};for(const[i,n]of t[e(510)]())i.startsWith(e(534))&&n&&(r[i]=n);if(!r[e(507)]){const t=document[e(549)];r[e(507)]=t?new URL(t)[e(553)]:e(540)}return!r[e(518)]&&(r[e(518)]=e(544)),Object[e(510)](r)[e(546)](([e,t])=>e+"="+encodeURIComponent(t)).join("&")}}function _0xf56f(e,t){const r=_0x1778();return(_0xf56f=function(e,t){return r[e-=496]})(e,t)}function _0x4459(){const e=["WEBGL_debug_renderer_info","canvas","257847mdpQbN","getExtension","digest","from","700536LABRTE","map","4hWInhG","getCanvasFingerprint","getParameter","UNMASKED_VENDOR_WEBGL","fillRect","encode","2829246evxXdV","getContext","13341708SqCeCg","createElement","webgl","fillText","1439222jpLnyd","20agMZww","RENDERER","subtle","1619472WZpRxq","string","padStart","vendor","experimental-webgl","height","MAX_RENDERBUFFER_SIZE","textBaseline","toDataURL","renderer","#f60","SHA-256","getWebGLFingerprint","VENDOR","hashData","#069","MAX_TEXTURE_SIZE","join","stringify","WiseTrack WebGL Fingerprint!","1727908yFXxRk","font","isWebGLSupported"];return(_0x4459=function(){return e})()}function _0x5373(e,t){const r=_0x4459();return(_0x5373=function(e,t){return r[e-=152]})(e,t)}Utils[_0x2a8034(497)]=()=>{const e=_0x2a8034;return document[e(511)]("script[id=__NEXT_DATA__]")||[...document[e(532)]].some(t=>t[e(529)][e(531)](e(522)))?"Next.js":window[e(538)]||document.querySelector(e(555))||Array[e(528)](document.querySelectorAll("*"))[e(521)](t=>void 0!==t[e(557)]||Object[e(525)](t).some(t=>t[e(515)](e(526))))||window[e(558)]?e(538):[...document[e(532)]].some(t=>t.src[e(531)]("/_nuxt/"))?e(530):window.__VUE__||window[e(505)]||document[e(511)](e(533))?"Vue.js":document[e(511)](e(551))?"Gatsby.js":window||document[e(511)](e(524))||document[e(511)]('script[src*="angular.js"], script[src*="angular.min.js"]')||window.ng||document[e(511)](e(565))?e(499):[...document[e(532)]][e(521)](t=>{const r=e;var i;return t.src[r(531)](r(535))||(null===(i=t.textContent)||void 0===i?void 0:i.includes(r(535)))})?e(498):document[e(511)](e(504))?e(561):window[e(560)]?e(560):window[e(536)]?e(554):window[e(502)]?e(542):window.Zepto?e(520):document[e(511)](e(547))||[...document.scripts][e(521)](t=>t[e(529)].includes("wp-content")||t[e(529)].includes(e(500)))?e(516):[...document.scripts][e(521)](t=>t[e(529)][e(531)](e(514))||t[e(529)][e(531)](e(513)))?"Laravel":document[e(511)](e(562))||document[e(509)][e(543)][e(531)](e(512))?e(523):document[e(509)][e(543)][e(531)]("cdn.shopify.com")?"Shopify":[...document[e(532)]][e(521)](t=>t[e(529)][e(531)](e(556)))?e(506):[...document[e(532)]][e(521)](t=>t[e(529)][e(531)](e(501)))?e(496):document.querySelector(e(503))?e(559):void 0};const _0x558842=_0x5373;!function(){const e=_0x5373,t=_0x4459();for(;;)try{if(724805===parseInt(e(167))/1+-parseInt(e(185))/2+parseInt(e(179))/3*(parseInt(e(173))/4)+-parseInt(e(186))/5*(parseInt(e(189))/6)+-parseInt(e(162))/7+parseInt(e(171))/8+parseInt(e(181))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class DeviceFingerprint{static[_0x558842(164)](){const e=_0x558842;try{const t=document[e(182)]("canvas");return!(!t[e(180)](e(183))&&!t[e(180)]("experimental-webgl"))}catch(e){return!1}}static[_0x558842(154)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5373,t=document[e(182)](e(166)),r=t.getContext("webgl")||t[e(180)](e(193));if(!r)return;const i={version:r[e(175)](r.VERSION),shadingLangVersion:r[e(175)](r.SHADING_LANGUAGE_VERSION),maxTextureSize:r[e(175)](r[e(158)]),maxRenderBufferSize:r.getParameter(r[e(195)]),supportedExtensions:r.getSupportedExtensions()};try{const t=r[e(168)](e(165));i[e(192)]=t?r[e(175)](t[e(176)]):r[e(175)](r[e(155)])}catch(t){i[e(192)]=r.getParameter(r[e(155)])}try{const t=r.getExtension(e(165));i[e(198)]=t?r[e(175)](t.UNMASKED_RENDERER_WEBGL):r.getParameter(r[e(187)])}catch(e){i.renderer=r.getParameter(r.RENDERER)}return yield this[e(156)](JSON[e(160)](i))})}static[_0x558842(174)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5373,t=document[e(182)](e(166));t.width=200,t[e(194)]=50;const r=t[e(180)]("2d");if(r)return r[e(196)]="top",r[e(163)]="14px 'Arial'",r.fillStyle=e(152),r[e(177)](0,0,200,50),r.fillStyle=e(157),r[e(184)](e(161),2,2),yield this.hashData(t[e(197)]())})}static[_0x558842(156)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x5373,r=typeof e===t(190)?e:JSON[t(160)](e),i=(new TextEncoder)[t(178)](r),n=yield crypto[t(188)][t(169)](t(153),i);return Array[t(170)](new Uint8Array(n))[t(172)](e=>e.toString(16)[t(191)](2,"0"))[t(159)]("")})}}const _0x47e461=_0xec29;function _0x1998(){const e=["filter","innerWidth","screenDensity","PARAMETERS_VALUE","userEnvironment","outerHeight","outerWidth","sessionCount","getDeviceFields","version","time_spent","1585500RrcwmX","5OxSbST","other","customDeviceId","getUTMParamsString","toISOString","6537015UQxHYX","getDeviceInfo","activeDuration","24jRsMan","location","created_at","architecture","getStorageSizeBytes","inactiveDuration","toString","toLowerCase","innerHeight","getCountryCode","indexedDB","now","PLATFORM","appToken","assign","VERSION","performance","2624452fOWgka","2094281xstnbf","initialConfig","291YVHkaj","deviceId","name","screenType","DEFAULTS","screenSize","fromEntries","pushToken","appFrameWork","16494269IyMzSy","screenFormat","getLocalFields","displaySize","400651WPDwoB","vendor","split","initialDate","cpu","entries","20AJlEwI","type","SDK","getSupportResult","hardwareConcurrency","language","uiStyle","toFixed","8842unjWhs","getApplicationFields","sessionStorage","engine","device","map","uiMode"];return(_0x1998=function(){return e})()}function _0xec29(e,t){const r=_0x1998();return(_0xec29=function(e,t){return r[e-=228]})(e,t)}!function(){const e=_0xec29,t=_0x1998();for(;;)try{if(482897===-parseInt(e(248))/1+-parseInt(e(262))/2*(-parseInt(e(235))/3)+parseInt(e(232))/4*(-parseInt(e(281))/5)+-parseInt(e(280))/6+parseInt(e(233))/7*(-parseInt(e(289))/8)+-parseInt(e(286))/9+parseInt(e(254))/10*(parseInt(e(244))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class FieldsBuilder{build(){return __awaiter(this,void 0,void 0,function*(){const e=_0xec29,t=window.performance[e(300)]();let r={};return r[e(291)]=(new Date)[e(285)](),Object[e(229)](r,this[e(246)]()),Object[e(229)](r,yield this[e(263)]()),Object[e(229)](r,this[e(277)]()),r[e(279)]=(window[e(231)][e(300)]()-t)[e(261)](1),WTConstants[e(239)].PARAMETERS_VALUE&&(r=Object[e(241)](Object[e(253)](r)[e(267)](([t,r])=>[t,null==r?WTConstants[e(239)][e(272)]:r]))),!WTConstants[e(239)][e(272)]&&(r=Object[e(241)](Object[e(253)](r)[e(269)](([e,t])=>null!=t))),r})}[_0x47e461(263)](){return __awaiter(this,void 0,void 0,function*(){const e=_0xec29,t=yield storageSupport[e(257)]();return{connectivity_type:navigator.onLine?"1":"-1",country:yield countryFinder[e(298)](),package_name:window[e(290)].hostname,session_storage_enabled:t[e(264)],indexed_db_enabled:t[e(299)],local_storage_enabled:t.localStorage,session_storage:storageSupport[e(293)](sessionStorage).toFixed(0),local_storage:storageSupport[e(293)](localStorage)[e(261)](0),web_gl_support:DeviceFingerprint.isWebGLSupported(),web_gl_fingerprint:yield DeviceFingerprint.getWebGLFingerprint(),web_gl_canvas_fingerprint:yield DeviceFingerprint.getCanvasFingerprint()}})}getLocalFields(){const e=_0x47e461,t=storageManager[e(234)];return t?{uuid:storageManager[e(236)],app_token:t[e(228)],environment:t[e(273)],store_name:e(282),app_version:t.appVersion,push_token:storageManager[e(242)],custom_device_id:t[e(283)],default_tracker:t.defaultTracker,platform:WTConstants[e(256)][e(301)],framework:t[e(243)][e(296)](),initiated_by:WTConstants[e(256)].PLATFORM+"_"+t.appFrameWork[e(296)](),initiated_version:WTConstants[e(256)][e(230)],referrer:Utils[e(284)](),installed_at:storageManager[e(251)],session_count:storageManager[e(276)][e(295)](),subsession_count:storageManager.subSessionCount.toString(),session_length:parseInt((storageManager[e(288)]/1e3)[e(295)]())[e(295)](),last_interval:parseInt((storageManager[e(294)]/1e3).toString()).toString()}:{}}getDeviceFields(){const e=_0x47e461,t=deviceDetector[e(287)]();return{browser_version:t.browser[e(278)],device_manufacturer:t.device[e(249)],device_name:t[e(266)].model,device_type:t[e(266)][e(255)],os_name:t.os.name,os_version:t.os.version,cpu_type:t[e(252)][e(292)],web_user_agent:t.ua,display_height:window[e(297)].toFixed(0),display_width:window[e(270)][e(261)](0),language:navigator[e(259)][e(250)]("-")[0],screen_density:deviceDetector[e(271)],screen_format:deviceDetector[e(245)],screen_size:deviceDetector[e(240)],ui_mode:deviceDetector[e(268)][e(295)](),cpu_lpc:navigator[e(258)][e(295)](),ui_style:deviceDetector[e(260)],wout_width:window[e(275)][e(295)](),wout_height:window[e(274)].toString(),web_engine:t.engine[e(237)],web_engine_version:t[e(265)][e(278)],display_size:deviceDetector[e(247)],screen_type:deviceDetector[e(238)]}}}const fieldsBuilder=new FieldsBuilder,_0x24fdc0=_0x2226;!function(){const e=_0x2226,t=_0x36af();for(;;)try{if(171415===-parseInt(e(393))/1*(parseInt(e(403))/2)+-parseInt(e(389))/3*(parseInt(e(388))/4)+-parseInt(e(404))/5*(parseInt(e(402))/6)+parseInt(e(390))/7*(parseInt(e(397))/8)+-parseInt(e(401))/9+parseInt(e(395))/10*(-parseInt(e(387))/11)+-parseInt(e(394))/12*(-parseInt(e(392))/13))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class EventFieldsBuilder extends FieldsBuilder{constructor(e){const t=_0x2226;super(),this[t(391)]=e}[_0x24fdc0(398)](){const e=_0x24fdc0,t=Object[e(399)](null,{build:{get:()=>super[e(398)]}});return __awaiter(this,void 0,void 0,function*(){const r=e,i=yield t[r(398)][r(396)](this);return new Promise(e=>{const t=r;e(Object.assign(Object[t(400)]({},i),this.event.toJSON()))})})}}function _0x2226(e,t){const r=_0x36af();return(_0x2226=function(e,t){return r[e-=387]})(e,t)}function _0x36af(){const e=["14YmVdWB","1025DvWZDa","187OkDVij","438576ZzgPur","9gBreoM","39851znXLVx","event","15355288kURycA","38075jrmArJ","12fWTlVG","185860eioDMG","call","344xCmESj","build","create","assign","2999709kNxpxA","288gYSqAH"];return(_0x36af=function(){return e})()}const _0xf55197=_0x2f9d;function _0x51eb(){const e=["checkSessionIntervals","User was inactived for ","config","addObservers","deviceId","checkFirstSession","sdkClickSubmit","build","sdkEnabled","info","getCountryCode","createAttribution","isVisibleFocused","sessionCount","initialDate","debug","start","4372390GANyId","SDK is not enabled to start tracking!","431344iEOJuz","s Totaly)","initialized","Creating Install: SDK is not enabled!","now","generateDeviceUUID","2UdSfQg","createRequest","ATTRIBUTIONS","WT Tracker started","warn","pending","inactiveTime","Creating Install: SDK-Clicks has already submitted","addEventListener","isEnabled"," request to main queue","WT Tracker stopped","11rAenAw","log","9sGMZHY","663708HrkVAW","Creating First Session: SDK is not enabled!","stop","Add ","subSessionCount","24utJXao","967000zDVBSr","stringify","addPendingRequest","addRequest","shutdown","createDeviceID","trackEvent: SDK is not enabled","isRunning","focus","EVENTS","Creating Session: SDK is not enabled!","initialize","trackEvent: SDK is not initialized yet","visibilityState","3852750cZGPbU","s | (","pushToken","firstSessionSubmit","visible","subsessionInterval","1155417FWJwNO","activeTime","getQueueStatus","main","stopTracking","inactiveDuration","startTracking","SDK_CLICKS","visibilitychange","8358YXoFGQ","checkPushToken","setActivityTimes","toISOString","SESSIONS","CheckPushToken: SDK is not enabled"];return(_0x51eb=function(){return e})()}!function(){const e=_0x2f9d,t=_0x51eb();for(;;)try{if(603617===parseInt(e(355))/1+parseInt(e(340))/2*(-parseInt(e(381))/3)+parseInt(e(334))/4+parseInt(e(375))/5+parseInt(e(360))/6*(parseInt(e(309))/7)+parseInt(e(361))/8*(-parseInt(e(354))/9)+parseInt(e(332))/10*(-parseInt(e(352))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTTracker{constructor(){const e=_0x2f9d;this.isRunning=!1,this[e(336)]=!1}get isEnabled(){return storageManager[_0x2f9d(323)]}[_0xf55197(372)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2f9d;this[e(325)](),yield this[e(311)](),this[e(366)](),this.addObservers(),this[e(336)]=!0})}[_0xf55197(387)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2f9d;this.isEnabled?(WTLogger[e(330)](e(343)),yield queueManager[e(372)](),yield this.checkSdkClicks(),yield this[e(320)](),yield this[e(326)](),this[e(368)]=!0):WTLogger[e(344)](e(333))})}[_0xf55197(385)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2f9d;this.isRunning=!1,activityTicker[e(357)](),yield queueManager[e(365)](),WTLogger.debug(e(351))})}[_0xf55197(310)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x2f9d;storageManager[t(377)]=e,this[t(349)]?storageManager.fcmToken!==e?yield this.createRequest({endpoint:WTEndpoints.SDK_INFOS,queueType:t(345)}):WTLogger[t(324)]("This Notification token has sent to server previously"):WTLogger[t(344)](t(314))})}trackEvent(e){return __awaiter(this,void 0,void 0,function*(){const t=_0x2f9d;this[t(349)]?this[t(336)]?(storageManager.eventCount+=1,yield this[t(341)]({endpoint:WTEndpoints[t(370)],fBuilder:new EventFieldsBuilder(e),queueType:t(345)})):WTLogger[t(344)](t(373)):WTLogger.warn(t(367))})}[_0xf55197(325)](){countryFinder[_0xf55197(325)]()}[_0xf55197(326)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2f9d;this.isEnabled?yield this[e(341)]({endpoint:WTEndpoints[e(342)],queueType:e(345)}):WTLogger[e(344)]("Creating Attribution: SDK is not enabled!")})}[_0xf55197(320)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2f9d;this[e(349)]?storageManager[e(378)]?WTLogger[e(330)]("Creating Session: First-Session has already submitted"):yield this[e(341)]({endpoint:WTEndpoints[e(313)],queueType:storageManager[e(321)]?e(384):e(345)}):WTLogger[e(344)](e(356))})}checkSdkClicks(){return __awaiter(this,void 0,void 0,function*(){const e=_0x2f9d;this[e(349)]?storageManager[e(321)]?WTLogger[e(330)](e(347)):yield this.createRequest({endpoint:WTEndpoints[e(388)]}):WTLogger[e(344)](e(337))})}[_0xf55197(341)](e){const t=_0xf55197;return __awaiter(this,arguments,void 0,function*({endpoint:e,fBuilder:r=fieldsBuilder,queueType:i=t(384)}){const n=t,s=yield r[n(322)](),o=new RequestRecord(e,s);i===n(345)?(WTLogger.info(n(358)+e+" request to pending queue"),yield queueManager[n(363)](o)):(WTLogger[n(324)](n(358)+e+n(350)),yield queueManager[n(364)](o));const a=queueManager[n(383)]();console[n(353)](JSON[n(362)](a))})}[_0xf55197(366)](){const e=_0xf55197;!storageManager.deviceId&&(storageManager[e(319)]=cryptoHelper[e(339)]()),!storageManager.initialDate&&(storageManager[e(329)]=(new Date)[e(312)]())}[_0xf55197(311)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2f9d;if(storageManager[e(382)]){storageManager[e(346)]=storageManager.activeTime;const t=Date[e(338)]()-storageManager[e(346)];storageManager.inactiveDuration+=t,console.log(e(316)+t/1e3+e(376)+storageManager[e(386)]/1e3+e(335)),yield this[e(315)]()}storageManager.activeTime=Date[e(338)](),activityTicker[e(331)]()})}[_0xf55197(315)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2f9d;var t,r;const i=storageManager[e(346)],n=null===(t=storageManager[e(317)])||void 0===t?void 0:t.sessionInterval,s=null===(r=storageManager[e(317)])||void 0===r?void 0:r[e(380)];if(!this[e(349)])return void WTLogger[e(344)](e(371));if(!i||!n||!s)return;const o=Date.now()-i;o>1e3*parseInt(n)?(storageManager[e(328)]+=1,yield this[e(341)]({endpoint:WTEndpoints[e(313)],queueType:storageManager[e(321)]?"main":e(345)})):o>1e3*parseInt(s)&&(storageManager[e(359)]+=1)})}[_0xf55197(327)](){const e=_0xf55197;return document[e(374)]===e(379)&&document.hasFocus()}[_0xf55197(318)](){const e=_0xf55197;window[e(348)]("beforeunload",()=>{activityTicker.stop()}),document[e(348)](e(308),()=>{const t=e;this[t(327)]()?(this.createAttribution(),this[t(311)]()):activityTicker[t(357)]()}),window.addEventListener(e(369),()=>{const t=e;this[t(327)]()&&(this[t(326)](),this.setActivityTimes())}),window.addEventListener("blur",()=>{activityTicker[e(357)]()})}}function _0x2f9d(e,t){const r=_0x51eb();return(_0x2f9d=function(e,t){return r[e-=308]})(e,t)}const tracker=new WTTracker,_0x5c65df=_0x1969;function _0x67d2(){const e=["config","doGetConfig","Clearing Data and stop tracker!","664284NIHmfJ","3968377KCYXSE","14113430SkNtkT","10WOtANQ","error","trackingWaitingTime","setFCMToken","‼️ SDK Config NOT set!, check errors.","warn","3DNnecw","550404qjMimA","8rLrDjo","startTracking","3902616SefyWM","flush","SDK is disabled form server, contact your adminstrator!","clear","setLogLevel","sdkInitialized","1054516aYmmDt","sdkEnabled","trackEvent","init","stopTracking","setEnabled","setLevel","‼️ Set Fcm Token: SDK is not initialized yet","info","Config is not set!","instance","checkSdkEnabled","197267QysekR","getConfig","defaultValue","SDK Config set","_instance","startTrackerAutomatically","Set Fcm Token: SDK is not enabled!","‼️ Track Event: SDK is not initialized yet","isEnabled","‼️ Start Tracking: SDK is not initialized yet","Start Tracking: SDK is not enabled!","Track Event: SDK is not enabled!","checkSdkUpdate"];return(_0x67d2=function(){return e})()}function _0x1969(e,t){const r=_0x67d2();return(_0x1969=function(e,t){return r[e-=418]})(e,t)}!function(){const e=_0x1969,t=_0x67d2();for(;;)try{if(296320===parseInt(e(463))/1+-parseInt(e(451))/2*(-parseInt(e(441))/3)+parseInt(e(432))/4+parseInt(e(435))/5*(-parseInt(e(442))/6)+parseInt(e(433))/7*(parseInt(e(443))/8)+parseInt(e(445))/9+-parseInt(e(434))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WiseTrack{static get[_0x5c65df(461)](){const e=_0x5c65df;return!WiseTrack[e(420)]&&(WiseTrack._instance=new WiseTrack),WiseTrack[e(420)]}constructor(){this[_0x5c65df(450)]=!1}[_0x5c65df(454)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x1969;var r,i;const n=yield this.getConfig(e);this[t(462)](n),this[t(428)](n),this[t(456)](!0),this[t(450)]=!0,yield tracker.initialize();(null===(r=e[t(421)])||void 0===r||r)&&setTimeout(()=>this[t(444)](),1e3*(null!==(i=e[t(437)])&&void 0!==i?i:0))})}[_0x5c65df(449)](e){WTLogger[_0x5c65df(457)](e)}[_0x5c65df(446)](){const e=_0x5c65df;WTLogger[e(459)](e(431)),storageManager[e(448)](),this[e(455)]()}[_0x5c65df(424)](){return storageManager.sdkEnabled}[_0x5c65df(456)](e){const t=_0x5c65df,r=storageManager[t(429)];if(!r)throw new Error(t(460));if(!r[t(452)])throw new Error(t(447));storageManager[t(452)]=e}startTracking(){return __awaiter(this,void 0,void 0,function*(){const e=_0x1969;this[e(450)]?this.isEnabled()?yield tracker[e(444)]():WTLogger[e(440)](e(426)):WTLogger[e(440)](e(425))})}[_0x5c65df(455)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x1969;yield tracker[e(455)]()})}[_0x5c65df(438)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x1969;this[t(450)]?this[t(424)]()?yield tracker.checkPushToken(e):WTLogger[t(440)](t(422)):WTLogger[t(440)](t(458))})}trackEvent(e){return __awaiter(this,void 0,void 0,function*(){const t=_0x1969;this[t(450)]?this[t(424)]()?yield tracker[t(453)](e):WTLogger.warn(t(427)):WTLogger[t(440)](t(423))})}[_0x5c65df(464)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x1969;let r;storageManager.initialConfig=e;try{r=yield apiClient[t(430)]()}catch(e){if(!(e instanceof ApiError.NetworkError))throw WTLogger[t(459)](t(439)),e;r=storageManager[t(429)]||WTConfig[t(418)]}return storageManager.config=r,WTLogger[t(459)](t(419)),r})}[_0x5c65df(462)](e){const t=_0x5c65df;if(!e[t(452)]){const e=t(447);throw WTLogger[t(436)](e),new Error(e)}}[_0x5c65df(428)](e){const t=_0x5c65df;e.sdkUpdate&&WTLogger[t(440)]("A new version of the SDK is available. It is recommended to update to the latest version to enjoy improved features and better performance.")}}const _0x4db2ad=_0x35ca;function _0x35ca(e,t){const r=_0x2082();return(_0x35ca=function(e,t){return r[e-=407]})(e,t)}!function(){const e=_0x35ca,t=_0x2082();for(;;)try{if(264096===-parseInt(e(415))/1*(parseInt(e(419))/2)+-parseInt(e(435))/3+-parseInt(e(442))/4*(parseInt(e(437))/5)+parseInt(e(425))/6*(parseInt(e(408))/7)+parseInt(e(432))/8+-parseInt(e(427))/9+parseInt(e(421))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTEventValidationError extends Error{constructor(e){const t=_0x35ca;super(e),this[t(441)]=t(414)}}class WTEventValidator{static[_0x4db2ad(411)](e){const t=_0x4db2ad;return this[t(409)][t(434)](r=>r[t(416)](e))}static[_0x4db2ad(428)](e){const t=_0x4db2ad;return this.SCRIPT_INJECTION_PATTERNS[t(434)](r=>r[t(416)](e))}static containsDangerousChars(e){const t=_0x4db2ad;return this[t(413)][t(434)](r=>e[t(426)](r))}static[_0x4db2ad(410)](e){const t=_0x4db2ad;if(this[t(411)](e))return!0;if(this[t(428)](e))return!0;if(this[t(431)](e))return!0;try{const t=decodeURIComponent(e);if(t!==e&&this.isMaliciousContent(t))return!0}catch(e){}return!1}static[_0x4db2ad(438)](e){const t=_0x4db2ad;if(!e||typeof e!==t(422))throw new WTEventValidationError(t(420));if(e[t(439)]>this[t(436)])throw new WTEventValidationError("Key length must not exceed "+this.MAX_LENGTH+t(417));if(e===this[t(429)])throw new WTEventValidationError(t(423)+this[t(429)]+"'");if(this[t(410)](e))throw new WTEventValidationError(t(433)+e+t(418))}static[_0x4db2ad(412)](e){const t=_0x4db2ad;if(null==e)throw new WTEventValidationError("Value cannot be null or undefined");const r=String(e);if(r[t(439)]>this.MAX_LENGTH)throw new WTEventValidationError(t(440)+this[t(436)]+t(417));if(this.isMaliciousContent(r))throw new WTEventValidationError(t(407)+e+'" is not valid. Please use different characters')}}function _0x2082(){const e=["539720NdRhdV",'key "',"some","215901srYuza","MAX_LENGTH","2880pszDpH","validateKey","length","Value length must not exceed ","name","1936TtMlsF",'value "',"11774gbXiyc","SQL_INJECTION_PATTERNS","isMaliciousContent","containsSQLInjection","validateValue","DANGEROUS_CHARS","WTEventValidationError","26596ePqUGo","test"," characters",'" is not valid. Please use different characters',"22eVnIYZ","Key must be a non-empty string","7987670CzBOji","string","Key cannot be '","SCRIPT_INJECTION_PATTERNS","372hjsvaB","includes","568017GOPNnD","containsScriptInjection","FORBIDDEN_KEY","no_parameters","containsDangerousChars"];return(_0x2082=function(){return e})()}function _0x6573(e,t){var r=_0x411b();return(_0x6573=function(e,t){return r[e-=440]})(e,t)}function _0x411b(){var e=["7184qhKYrq","896515lXTItw","default","amount","12pYtRyI","entries","2jeFPOZ","Default","29512VHMiou","addParam","1446cQdCCB","40kGbFlR","568325jaAOYQ","42eArUeg","1161413FJTytQ","name","params","toJSON","2446561zlFbDa","Revenue","warn","validateKey","revenue","126RaivVJ","WTEvent validation failed: ","type","currency","26957NLtDjo"];return(_0x411b=function(){return e})()}function _0x4c08(e,t){var r=_0x2e7f();return(_0x4c08=function(e,t){return r[e-=434]})(e,t)}function _0x2e7f(){var e=["2335194dgdJGq","1174JMbiEU","3571141QmIUeF","4gQGzBX","811435QjrDMe","1116039HEUfTK","7421106ZXCYMd","8MjeEWl","1556urHrEp","30093000pTPxqi"];return(_0x2e7f=function(){return e})()}WTEventValidator.MAX_LENGTH=50,WTEventValidator[_0x4db2ad(429)]=_0x4db2ad(430),WTEventValidator[_0x4db2ad(409)]=[/(\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[_0x4db2ad(424)]=[/<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[_0x4db2ad(413)]=["\0","\b","\t","","\n","\r",'"',"'","\\","%"],function(){for(var e=_0x6573,t=_0x411b();;)try{if(517174===-parseInt(e(446))/1*(-parseInt(e(440))/2)+parseInt(e(444))/3*(-parseInt(e(462))/4)+parseInt(e(463))/5+parseInt(e(447))/6*(-parseInt(e(461))/7)+parseInt(e(442))/8*(parseInt(e(457))/9)+parseInt(e(445))/10*(parseInt(e(448))/11)+parseInt(e(466))/12*(parseInt(e(452))/13))break;t.push(t.shift())}catch(e){t.push(t.shift())}}(),exports.WTEvent=void 0,function(e){var t=_0x6573;class r{constructor(e){var t=_0x6573;this[t(459)]=t(464),this[t(449)]=e}[t(443)](e,r){var i,n=t;try{WTEventValidator[n(455)](e),WTEventValidator.validateValue(r);let t=null!==(i=this[n(450)])&&void 0!==i?i:{};t[e]=r,this.params=t}catch(e){if(e instanceof WTEventValidationError)throw WTLogger[n(454)](n(458)+e.message),e;throw e}}addParams(e){var r=t;for(const[t,i]of Object[r(467)](e))this[r(443)](t,i)}[t(451)](){var e=t;return{event_type:this.type,event_name:this[e(449)],partner_params:this[e(450)]}}}e[t(441)]=r;e[t(453)]=class extends r{constructor(e,r,i){var n=t;super(e),this[n(459)]=n(456),this.amount=r,this[n(460)]=i}toJSON(){var e=t;return{event_type:this[e(459)],event_name:this.name,revenue:this[e(465)],currency:this.currency,partner_params:this[e(450)]}}}}(exports.WTEvent||(exports.WTEvent={})),function(){for(var e=_0x4c08,t=_0x2e7f();;)try{if(818106===parseInt(e(442))/1*(-parseInt(e(439))/2)+parseInt(e(436))/3*(parseInt(e(434))/4)+-parseInt(e(435))/5+-parseInt(e(437))/6+-parseInt(e(443))/7+parseInt(e(438))/8*(parseInt(e(441))/9)+parseInt(e(440))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}(),exports.WTLogEngine=WTLogEngine,exports.WTLogLevel=WTLogLevel,exports.WTLogger=WTLogger,exports.WiseTrack=WiseTrack;
|
|
1
|
+
"use strict";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"==typeof SuppressedError&&SuppressedError;const _0x515ce3=_0x33fc;function _0x33fc(e,t){const r=_0x23a7();return(_0x33fc=function(e,t){return r[e-=312]})(e,t)}!function(){const e=_0x33fc,t=_0x23a7();for(;;)try{if(873254===-parseInt(e(312))/1+parseInt(e(318))/2+parseInt(e(321))/3*(-parseInt(e(316))/4)+parseInt(e(315))/5*(-parseInt(e(323))/6)+-parseInt(e(317))/7+parseInt(e(314))/8+parseInt(e(319))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTConstants={SDK:{PLATFORM:_0x515ce3(320),VERSION:_0x515ce3(324)},CONFIG:{BASE_URL:_0x515ce3(322),DEFAULT_ENVIRONMENT:"debug"},DEFAULTS:{LOG_LEVEL:"debug",SESSION_INTERVAL:_0x515ce3(313),SUBSESSION_INTERVAL:"300",PARAMETERS_VALUE:void 0}};function _0x23a7(){const e=["13876544XvhAPz","55WOxeNq","7556ktrYYn","10131933DMBicm","3432238JNIGab","8968158zDQGiY","web","1833vJvAkj","https://config.wisetrack.io","199518uBTObd","2.0.5","606514IzPSKq","1800"];return(_0x23a7=function(){return e})()}const _0x57697d=_0x376e;function _0x376e(e,t){const r=_0x1cc4();return(_0x376e=function(e,t){return r[e-=339]})(e,t)}!function(){const e=_0x376e,t=_0x1cc4();for(;;)try{if(651690===-parseInt(e(344))/1+parseInt(e(347))/2+-parseInt(e(349))/3+parseInt(e(343))/4+parseInt(e(345))/5+parseInt(e(348))/6*(parseInt(e(346))/7)+-parseInt(e(342))/8)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTEndpoints={EVENTS:_0x57697d(339),SESSIONS:"/api/v1/sessions",SDK_CLICKS:_0x57697d(340),SDK_INFOS:_0x57697d(350),ATTRIBUTIONS:_0x57697d(341),APP_SETTINGS:"/api/v1/app_settings"};function _0x1cc4(){const e=["/api/v1/sdk_clicks","/api/v1/attributions","9019264pkHukY","2587940sfsAVE","532154yLAieX","2168170mhYuTu","28119eWWzik","2416272QdsFtt","1686kOuABP","3318840YaHmAx","/api/v1/sdk_infos","/api/v1/events"];return(_0x1cc4=function(){return e})()}var _0x24b73d=_0x18bc;function _0x3b80(){var e=["5292MjFGBV","sessions","sdk_enabled","SUBSESSION_INTERVAL","attributions","13vHLiSG","1497xNtiWC","1639sQyveX","112cMXwPh","session_interval","sdk_update","sdkInfos","SESSION_INTERVAL","DEFAULTS","5xAWOND","2694132TyiNZV","1RxWVCY","EVENTS","682325uLzIBK","subsessionInterval","14919075QDtLyS","subsession_interval","events","defaultValue","sdkUpdate","99910WcujZr","sdkEnabled","SDK_INFOS","sdkClicks","41804172QzMlfj","SESSIONS","ATTRIBUTIONS","476380wwwPpr"];return(_0x3b80=function(){return e})()}function _0x18bc(e,t){var r=_0x3b80();return(_0x18bc=function(e,t){return r[e-=385]})(e,t)}!function(){for(var e=_0x18bc,t=_0x3b80();;)try{if(940658===parseInt(e(410))/1*(-parseInt(e(393))/2)+parseInt(e(400))/3*(-parseInt(e(394))/4)+-parseInt(e(408))/5*(parseInt(e(409))/6)+parseInt(e(412))/7*(-parseInt(e(402))/8)+parseInt(e(414))/9+parseInt(e(386))/10*(-parseInt(e(401))/11)+parseInt(e(390))/12*(parseInt(e(399))/13))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.DEFAULTS[_0x24b73d(406)],c=WTConstants[_0x24b73d(407)][_0x24b73d(397)]){var u=_0x24b73d;this[u(416)]=e,this[u(395)]=t,this[u(389)]=r,this[u(405)]=i,this[u(398)]=n,this[u(387)]=s,this[u(385)]=o,this.sessionInterval=a,this[u(413)]=c}static fromJson(e){var t,r,i,n,s=_0x24b73d;return new WTConfig(e.events,e[s(395)],e.sdk_clicks,e.sdk_infos,e[s(398)],null===(t=e[s(396)])||void 0===t||t,null!==(r=e[s(404)])&&void 0!==r&&r,null!==(i=e[s(403)])&&void 0!==i?i:WTConstants[s(407)][s(406)],null!==(n=e[s(415)])&&void 0!==n?n:WTConstants[s(407)][s(397)])}static get[_0x24b73d(417)](){var e=_0x24b73d;return new WTConfig(WTEndpoints[e(411)],WTEndpoints[e(391)],WTEndpoints.SDK_CLICKS,WTEndpoints[e(388)],WTEndpoints[e(392)],!0,!1,WTConstants[e(407)][e(406)],WTConstants[e(407)][e(397)])}}const _0x1fd236=_0x3150;function _0x211f(){const e=["setPrefix","info","prefix","log","toUpperCase","484710ZMoukL","debug","50rgFnQc","DEFAULTS","error","shouldLog","indexOf","warn","2367617YSVpGY","35hGNERp","4668390AyLUVl","6byNamc","outputEngines","push","setLevel","addOutputEngine","6586216TCXclQ","level","261436hkRHLA","629598bYUDup","1078968YMEuep"];return(_0x211f=function(){return e})()}!function(){const e=_0x3150,t=_0x211f();for(;;)try{if(580808===parseInt(e(186))/1+parseInt(e(185))/2+parseInt(e(166))/3+-parseInt(e(184))/4*(-parseInt(e(175))/5)+parseInt(e(177))/6*(parseInt(e(174))/7)+parseInt(e(182))/8+-parseInt(e(176))/9*(parseInt(e(168))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTLogEngine{}class ConsoleLogEngine extends WTLogEngine{[_0x1fd236(164)](e,t,...r){const i=_0x1fd236;switch(e){case i(167):console[i(167)](t,...r);break;case i(188):console[i(188)](t,...r);break;case i(173):console[i(173)](t,...r);break;case i(170):console.error(t,...r);break;default:console[i(164)](t,...r)}}}const WTLogLevel={DEBUG:"debug",INFO:_0x1fd236(188),WARN:_0x1fd236(173),ERROR:_0x1fd236(170),NONE:"none"};function _0x3150(e,t){const r=_0x211f();return(_0x3150=function(e,t){return r[e-=163]})(e,t)}class WTLogger{static[_0x1fd236(180)](e){this[_0x1fd236(183)]=e}static[_0x1fd236(187)](e){this[_0x1fd236(163)]=e}static[_0x1fd236(181)](e){const t=_0x1fd236;this.outputEngines[t(179)](e)}static[_0x1fd236(171)](e){const t=_0x1fd236,r=[t(167),t(188),"warn",t(170)],i=r.indexOf(this.level);return r[t(172)](e)>=i}static[_0x1fd236(164)](e,...t){const r=_0x1fd236;if(!this.shouldLog(e))return;const i="["+this[r(163)]+"-"+e[r(165)]()+"]";for(const n of this[r(178)])n.log(e,i,...t)}static[_0x1fd236(167)](...e){const t=_0x1fd236;this.log(t(167),...e)}static[_0x1fd236(188)](...e){const t=_0x1fd236;this.log(t(188),...e)}static[_0x1fd236(173)](...e){const t=_0x1fd236;this[t(164)](t(173),...e)}static[_0x1fd236(170)](...e){const t=_0x1fd236;this[t(164)](t(170),...e)}}WTLogger[_0x1fd236(183)]=WTConstants[_0x1fd236(169)].LOG_LEVEL,WTLogger[_0x1fd236(163)]="WT",WTLogger[_0x1fd236(178)]=[new ConsoleLogEngine];const _0x1e8d30=_0x2aa2;function _0x2aa2(e,t){const r=_0x5f42();return(_0x2aa2=function(e,t){return r[e-=147]})(e,t)}function _0x5f42(){const e=["error","Mi4uKilgdXU5NSg/dD4/OC89dC0zKT8uKDs5MT4/LHQzKA==","273647HuDbDG","5117628TQkNYt","fromCharCode","Decode error:","1569383gpNBXF","18dOaypK","6910XCegyi","decode","1171435dPBKjz","13368480EJOjbQ","3reKhKU","PRODUCTION_BASE_URL","2282679DPwFcq","DEBUG_BASE_URL","732EIQaNr","2fZiTQU","CONFIG_PATH","STAGE_BASE_URL","Mi4uKilgdXU5NSg/dC0zKT8uKDs5MXQzNQ==","dTsqM3U9Py53OTU0PDM9","20637IVozxm"];return(_0x5f42=function(){return e})()}!function(){const e=_0x2aa2,t=_0x5f42();for(;;)try{if(999044===-parseInt(e(154))/1*(-parseInt(e(165))/2)+parseInt(e(160))/3*(-parseInt(e(151))/4)+-parseInt(e(158))/5*(parseInt(e(155))/6)+-parseInt(e(162))/7+parseInt(e(159))/8+parseInt(e(147))/9*(parseInt(e(156))/10)+-parseInt(e(150))/11*(parseInt(e(164))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class SecureConfig{static[_0x1e8d30(157)](e){const t=_0x1e8d30;try{const r=atob(e);let i="";for(let e=0;e<r.length;e++){const n=90^r.charCodeAt(e);i+=String[t(152)](n)}return i}catch(e){return console[t(148)](t(153),e),""}}static get[_0x1e8d30(166)](){const e=_0x1e8d30;return this[e(157)](e(169))}static get[_0x1e8d30(163)](){const e=_0x1e8d30;return this.decode(e(149))}static get[_0x1e8d30(167)](){return this.decode("Mi4uKilgdXU5NSg/dCkuOz0/dC0zKT8uKDs5MT4/LHQzKA==")}static get[_0x1e8d30(161)](){const e=_0x1e8d30;return this[e(157)](e(168))}}const _0x44bb7f=_0x513f;function _0x513f(e,t){const r=_0x25d2();return(_0x513f=function(e,t){return r[e-=172]})(e,t)}!function(){const e=_0x513f,t=_0x25d2();for(;;)try{if(156758===-parseInt(e(197))/1*(-parseInt(e(182))/2)+parseInt(e(183))/3*(parseInt(e(189))/4)+parseInt(e(178))/5*(parseInt(e(173))/6)+parseInt(e(176))/7*(parseInt(e(192))/8)+-parseInt(e(184))/9*(-parseInt(e(188))/10)+parseInt(e(180))/11*(-parseInt(e(195))/12)+-parseInt(e(179))/13*(parseInt(e(175))/14))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTUserEnvironment={SANDBOX:_0x44bb7f(181),PRODUCTION:"production"};function _0x25d2(){const e=["Unknown environment: ","debug","10mgqhLM","176ZSExfo","PRODUCTION","PRODUCTION_BASE_URL","80IIHnbn","STAGE_BASE_URL","production","12OmvQnk","DEFAULT_ENVIRONMENT","178538WiSFLQ","DEBUG","12xZQUcK","STAGE","658VDyThR","19894TIBNUO","sdkEnvironment","520555VBOdOL","85787hRzKcZ","1144330uyMyMF","sandbox","2sgciDj","9441TFauen","155637kMNRUl","CONFIG"];return(_0x25d2=function(){return e})()}const WTSDKEnvironment={DEBUG:_0x44bb7f(187),STAGE:"stage",PRODUCTION:_0x44bb7f(194)},EnvironmentUtils={sdkEnvironment:WTConstants[_0x44bb7f(185)][_0x44bb7f(196)],get needResponseDetails(){const e=_0x44bb7f;return this[e(177)]!==WTSDKEnvironment[e(190)]},get baseUrl(){const e=_0x44bb7f;switch(this.sdkEnvironment){case WTSDKEnvironment[e(172)]:return SecureConfig.DEBUG_BASE_URL;case WTSDKEnvironment[e(174)]:return SecureConfig[e(193)];case WTSDKEnvironment[e(190)]:return SecureConfig[e(191)];default:throw new Error(e(186)+this[e(177)])}}};var _0x585a75=_0xa266;function _0x5c72(){var e=["stringify","error","WT.Configs","FCM_TOKEN","WT.EventCount","requestRecords","PUSH_TOKEN","getJson","SUBSESSION_COUNT","': ","WT.SdkClickSubmit","setJson","deviceId","SDK_ENABLED","WT.InactiveTime","WT.InitialDate","4bqXIxI","activeDuration","parse","30FxKeGe","11348535vgcAON","eventCount","toString","clear","inactiveTime","activeTime","initialDate","FIRST_SESSION_SUBMIT","INACTIVE_TIME","DEVICE_ID","WT.PushToken","WT.SessionCount","941454JCAuGF","inactiveDuration","config","INITIAL_DATE","pendingRequestRecords","optionalNumber","SESSION_COUNT","REQUEST_QUEUE","pushToken","WT.InitialConfigs","5188QUhzZw","ACTIVE_TIME","INACTIVE_DURATION","getItem","SDK_CLICK_SUBMIT","WT.RequestQueue","WT.FcmToken","56777cRMxbi","setItem","sdkClickSubmit","WT.ActiveTime","PENDING_REQUEST_QUEUE","INITIAL_CONFIG","removeItem","WT.SdkEnabled","EVENT_COUNT","subSessionCount","fcmToken","sessionCount","true","3530AgldyV","WT.DeviceId","8420016KYOlOK","384108kiipee","3978387dAoZWJ","CONFIG","664rixzfp","optionalBool","SESSION_LENGTH"];return(_0x5c72=function(){return e})()}function _0xa266(e,t){var r=_0x5c72();return(_0xa266=function(e,t){return r[e-=197]})(e,t)}!function(){for(var e=_0xa266,t=_0x5c72();;)try{if(763679===parseInt(e(257))/1+parseInt(e(208))/2*(-parseInt(e(224))/3)+-parseInt(e(234))/4*(parseInt(e(254))/5)+-parseInt(e(256))/6+parseInt(e(241))/7*(parseInt(e(260))/8)+-parseInt(e(258))/9+-parseInt(e(211))/10*(-parseInt(e(212))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTStorageKeys={DEVICE_ID:_0x585a75(255),INITIAL_DATE:_0x585a75(207),INITIAL_CONFIG:_0x585a75(233),CONFIG:_0x585a75(265),SDK_CLICK_SUBMIT:_0x585a75(202),FIRST_SESSION_SUBMIT:"WT.FirstSessionSubmit",SDK_ENABLED:_0x585a75(248),FCM_TOKEN:_0x585a75(240),PUSH_TOKEN:_0x585a75(222),EVENT_COUNT:_0x585a75(267),SESSION_COUNT:_0x585a75(223),SESSION_LENGTH:"WT.SessionLenght",SUBSESSION_COUNT:"WT.SubSessionCount",ACTIVE_TIME:_0x585a75(244),INACTIVE_TIME:_0x585a75(206),INACTIVE_DURATION:"WT.InactiveDuration",REQUEST_QUEUE:_0x585a75(239),PENDING_REQUEST_QUEUE:"WT.PendingRequestQueue"};class StorageManager{[_0x585a75(215)](){localStorage[_0x585a75(215)]()}[_0x585a75(203)](e,t){var r=_0x585a75;if(t)try{const i=JSON[r(263)](t);localStorage[r(242)](e,i)}catch(t){WTLogger[r(264)]("Error in encoding object for key '"+e+"'",t)}else localStorage[r(247)](e)}getJson(e){var t=_0x585a75;const r=localStorage[t(237)](e);if(!r)return null;try{return JSON[t(210)](r)}catch(r){return WTLogger[t(264)]("Error in JSON decoding for key '"+e+t(201)+r,r),null}}[_0x585a75(229)](e){const t=localStorage[_0x585a75(237)](e);if(null===t)return null;const r=Number(t);return isNaN(r)?null:r}[_0x585a75(261)](e){var t=_0x585a75;const r=localStorage[t(237)](e);return null===r?null:r===t(253)||"false"!==r&&null}get[_0x585a75(204)](){var e=_0x585a75;return localStorage[e(237)](WTStorageKeys[e(221)])}set[_0x585a75(204)](e){var t=_0x585a75;e?localStorage.setItem(WTStorageKeys.DEVICE_ID,e):localStorage[t(247)](WTStorageKeys[t(221)])}get[_0x585a75(218)](){var e=_0x585a75;return this[e(199)](WTStorageKeys[e(227)])}set[_0x585a75(218)](e){var t=_0x585a75;this[t(203)](WTStorageKeys[t(227)],e)}get initialConfig(){var e=_0x585a75;return this.getJson(WTStorageKeys[e(246)])}set initialConfig(e){var t=_0x585a75;this.setJson(WTStorageKeys[t(246)],e)}get[_0x585a75(226)](){var e=_0x585a75;return this[e(199)](WTStorageKeys[e(259)])}set[_0x585a75(226)](e){var t=_0x585a75;this[t(203)](WTStorageKeys[t(259)],e)}get sdkEnabled(){var e,t=_0x585a75;return null!==(e=this[t(261)](WTStorageKeys[t(205)]))&&void 0!==e&&e}set sdkEnabled(e){var t=_0x585a75;localStorage[t(242)](WTStorageKeys[t(205)],e[t(214)]())}get[_0x585a75(243)](){var e;return null!==(e=this[_0x585a75(261)](WTStorageKeys.SDK_CLICK_SUBMIT))&&void 0!==e&&e}set sdkClickSubmit(e){var t=_0x585a75;localStorage[t(242)](WTStorageKeys[t(238)],e[t(214)]())}get firstSessionSubmit(){var e,t=_0x585a75;return null!==(e=this[t(261)](WTStorageKeys[t(219)]))&&void 0!==e&&e}set firstSessionSubmit(e){var t=_0x585a75;localStorage.setItem(WTStorageKeys[t(219)],e.toString())}get[_0x585a75(251)](){return localStorage[_0x585a75(237)](WTStorageKeys.FCM_TOKEN)}set[_0x585a75(251)](e){var t=_0x585a75;e?localStorage[t(242)](WTStorageKeys[t(266)],e):localStorage[t(247)](WTStorageKeys[t(266)])}get pushToken(){var e=_0x585a75;return localStorage.getItem(WTStorageKeys[e(198)])}set[_0x585a75(232)](e){var t=_0x585a75;e?localStorage[t(242)](WTStorageKeys[t(198)],e):localStorage[t(247)](WTStorageKeys[t(198)])}get[_0x585a75(252)](){var e;return null!==(e=this[_0x585a75(229)](WTStorageKeys.SESSION_COUNT))&&void 0!==e?e:1}set[_0x585a75(252)](e){var t=_0x585a75;localStorage[t(242)](WTStorageKeys[t(230)],e[t(214)]())}get[_0x585a75(250)](){var e;return null!==(e=this.optionalNumber(WTStorageKeys.SUBSESSION_COUNT))&&void 0!==e?e:1}set[_0x585a75(250)](e){var t=_0x585a75;localStorage.setItem(WTStorageKeys[t(200)],e[t(214)]())}get[_0x585a75(209)](){var e,t=_0x585a75;return null!==(e=this[t(229)](WTStorageKeys[t(262)]))&&void 0!==e?e:0}set[_0x585a75(209)](e){var t=_0x585a75;localStorage.setItem(WTStorageKeys[t(262)],e[t(214)]())}get[_0x585a75(225)](){var e;return null!==(e=this[_0x585a75(229)](WTStorageKeys.INACTIVE_DURATION))&&void 0!==e?e:0}set inactiveDuration(e){var t=_0x585a75;localStorage[t(242)](WTStorageKeys[t(236)],e.toString())}get[_0x585a75(216)](){var e=_0x585a75;return this[e(229)](WTStorageKeys[e(235)])}set inactiveTime(e){var t=_0x585a75;null!==e?localStorage[t(242)](WTStorageKeys[t(235)],e[t(214)]()):localStorage[t(247)](WTStorageKeys[t(235)])}get activeTime(){var e=_0x585a75;return this[e(229)](WTStorageKeys[e(220)])}set[_0x585a75(217)](e){var t=_0x585a75;null!==e?localStorage.setItem(WTStorageKeys[t(220)],e[t(214)]()):localStorage.removeItem(WTStorageKeys[t(220)])}get[_0x585a75(197)](){var e,t=_0x585a75;return null!==(e=this[t(199)](WTStorageKeys[t(231)]))&&void 0!==e?e:[]}set[_0x585a75(197)](e){var t=_0x585a75;this[t(203)](WTStorageKeys[t(231)],e)}get[_0x585a75(228)](){var e;return null!==(e=this[_0x585a75(199)](WTStorageKeys.PENDING_REQUEST_QUEUE))&&void 0!==e?e:[]}set[_0x585a75(228)](e){var t=_0x585a75;this[t(203)](WTStorageKeys[t(245)],e)}get[_0x585a75(213)](){var e,t=_0x585a75;return null!==(e=this[t(229)](WTStorageKeys[t(249)]))&&void 0!==e?e:0}set[_0x585a75(213)](e){var t=_0x585a75;localStorage[t(242)](WTStorageKeys[t(249)],e.toString())}}const storageManager=new StorageManager;var ApiError;function _0xf7eb(e,t){var r=_0x3cd4();return(_0xf7eb=function(e,t){return r[e-=275]})(e,t)}function _0x3cd4(){var e=["17847009pHmMDn","Invalid URL: ","NetworkError: ","2468324rzhRvh","271326dAJVYE","91igQqVv","ServerError ","4391056dbIEUA","InvalidUrl","516272vrnTkA","348351UeCfPN","message","ServerError","DecodingError","NetworkError","statusCode","2694519KwARKe","name","120oXlSnG"];return(_0x3cd4=function(){return e})()}!function(){for(var e=_0xf7eb,t=_0x3cd4();;)try{if(626513===-parseInt(e(292))/1+parseInt(e(285))/2+-parseInt(e(279))/3+-parseInt(e(289))/4+parseInt(e(281))/5*(-parseInt(e(286))/6)+-parseInt(e(287))/7*(-parseInt(e(291))/8)+parseInt(e(282))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}(),function(e){var t=_0xf7eb;class r extends Error{constructor(e){var t=_0xf7eb;super(t(283)+e),this[t(280)]=t(290)}}e[t(290)]=r;class i extends Error{constructor(e,r){var i=t;super(i(288)+e+": "+r),this[i(278)]=e,this[i(293)]=r,this[i(280)]=i(275)}}e[t(275)]=i;class n extends Error{constructor(e){var r=t;super(r(284)+e),this[r(280)]="NetworkFailure"}}e[t(277)]=n;class s extends Error{constructor(e){var r=t;super("DecodingError: "+e),this[r(280)]=r(276)}}e[t(276)]=s}(ApiError||(ApiError={}));var _0x2e4ce1=_0x5bb7;function _0x3338(){var e=["3gDzAFh","91385LiDmxW","17830NYNhmk","1665540DWgnbx","maxRetries","714568fyilLS","54grMOTg","canRetry","408849UYVfpK","retryInterval","18078742JGXlZL","70KFiVoS","1581576SuaGVc","3231IkAYAs"];return(_0x3338=function(){return e})()}function _0x5bb7(e,t){var r=_0x3338();return(_0x5bb7=function(e,t){return r[e-=157]})(e,t)}!function(){for(var e=_0x5bb7,t=_0x3338();;)try{if(708677===-parseInt(e(165))/1+-parseInt(e(160))/2+parseInt(e(157))/3*(parseInt(e(169))/4)+-parseInt(e(158))/5*(-parseInt(e(163))/6)+-parseInt(e(168))/7*(parseInt(e(162))/8)+parseInt(e(170))/9*(parseInt(e(159))/10)+parseInt(e(167))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RetryPolicy{constructor(e=3,t=2e3){var r=_0x5bb7;this[r(161)]=e,this[r(166)]=t}[_0x2e4ce1(164)](e){return e<this[_0x2e4ce1(161)]}waitBeforeRetry(){return __awaiter(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,this.retryInterval))})}}function _0xecbc(e,t){const r=_0x463b();return(_0xecbc=function(e,t){return r[e-=298]})(e,t)}function _0x463b(){const e=["Invalid URL:","sendRequest",") => ","5774648JjOCPH","baseUrl","DecodingError","108436MpNGdX","7zTYcNf","✅ API SUCCESS (","🚀 REQUEST (","message","108WaAqqO","Unknown error","debug","1616792gvgpaS","status","retryAttempt","48SVvAhR","Content-Type","ServerError","params","waitBeforeRetry","703220vnTnDa","Error executing request","❌ API ERROR (","application/json","17502hnWRYo","-- PARAMETERS =>","Request successful","668310ErGvNe","retryPolicy","method","252726ptcZet","assign","json","730yBUHyx",") =>","error","stringify"];return(_0x463b=function(){return e})()}!function(){const e=_0xecbc,t=_0x463b();for(;;)try{if(849054===parseInt(e(301))/1+-parseInt(e(304))/2+parseInt(e(328))/3*(-parseInt(e(317))/4)+parseInt(e(307))/5*(-parseInt(e(298))/6)+parseInt(e(318))/7*(-parseInt(e(325))/8)+-parseInt(e(322))/9*(-parseInt(e(333))/10)+parseInt(e(314))/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=_0xecbc,i=t[r(327)]||1;let n,s;try{n=new URL(e,EnvironmentUtils[r(315)])}catch(t){throw console.error(r(311),t),new ApiError.InvalidUrl(""+EnvironmentUtils[r(315)]+e)}WTLogger.debug(r(320)+i+r(313)+t.method+" "+e),WTLogger[r(324)](r(299),t[r(331)]||{});const o=Object[r(305)]({Accept:r(336)},t.headers);t[r(331)]&&(o[r(329)]="application/json",s=JSON[r(310)](t[r(331)]));try{const e=yield fetch(n,{method:t[r(303)],headers:o,body:s});if(!e.ok){let t=yield e[r(306)](),i=t[r(321)]||(yield e.text());throw WTLogger.warn(r(335)+e[r(326)]+") =>",i),new(ApiError[r(330)])(e[r(326)],t[r(321)]||"Server error")}try{const t=yield e[r(306)]();return WTLogger[r(324)](r(319)+e[r(326)]+r(308),t[r(321)]||r(300)),t}catch(e){throw new(ApiError[r(316)])(e[r(321)]||String(e))}}catch(n){if(n instanceof ApiError.ServerError||n instanceof ApiError[r(316)])throw n;if(WTLogger[r(309)](r(334),n),this.retryPolicy().canRetry(i))return yield this[r(302)]()[r(332)](),this[r(312)](e,Object[r(305)](Object.assign({},t),{retryAttempt:i+1}));throw new ApiError.NetworkError(n[r(321)]||r(323))}})}};function _0x273d(){const e=["location","success","17ADuijK","18911868fVoTvE","912yuGgyF","needResponseDetails","19714BkJZGM","appFrameWork","result","5390406ERjdzf","updated_at","sendRequest","PLATFORM","appToken","SDK","8239885wKybvu","4FRCjOz","138852XtUweK","CONFIG_PATH","7DMZCeR","toISOString","4739730GTrguX","fromJson","11TFfHGd","POST","appVersion","VERSION","1095360AqzIJl"];return(_0x273d=function(){return e})()}function _0x4b8b(e,t){const r=_0x273d();return(_0x4b8b=function(e,t){return r[e-=154]})(e,t)}!function(){const e=_0x4b8b,t=_0x273d();for(;;)try{if(957062===-parseInt(e(155))/1*(-parseInt(e(159))/2)+-parseInt(e(162))/3+parseInt(e(169))/4*(-parseInt(e(168))/5)+parseInt(e(174))/6*(parseInt(e(172))/7)+-parseInt(e(157))/8*(-parseInt(e(170))/9)+parseInt(e(180))/10+parseInt(e(176))/11*(parseInt(e(156))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const apiClient={doGetConfig(){return __awaiter(this,void 0,void 0,function*(){const e=_0x4b8b,t=storageManager.initialConfig;if(!t)throw"Initial Config is not set";const r={parameters:{app_token:t[e(166)],app_version:t[e(178)],framework:t[e(160)],package_name:window[e(181)].hostname,platform:WTConstants.SDK[e(165)],sdk_version:WTConstants[e(167)][e(179)],initiated_by:WTConstants[e(167)].PLATFORM+"_"+t[e(160)],store_name:"other"}},i=yield networkManager[e(164)](SecureConfig[e(171)],{method:e(177),params:r});return WTConfig[e(175)](i[e(161)])})},doCallRequest(e,t){return __awaiter(this,void 0,void 0,function*(){const r=_0x4b8b;t[r(163)]=(new Date)[r(173)]();return(yield networkManager[r(164)](e,{method:r(177),params:{needs_response_details:EnvironmentUtils[r(158)],parameters:t}}))[r(154)]})}},_0x3fa18d=_0x58fb;function _0x58fb(e,t){const r=_0x3f3f();return(_0x58fb=function(e,t){return r[e-=180]})(e,t)}function _0x3f3f(){const e=["3028734aBVyJa","pause","30zkRDMo","tickerJob","inactiveDuration","start","671374qSUuvW","12LoKxtS","hasFocus","ActivityTicker: active duration= ","tickerDelay","stop","36DTwgXr","3887760sukqxy","activeDuration","420213yEQZxZ","3ylTHNp","4387285hNnLIU","isPaused","22898ymHXGc","hidden","903664TWKAMK","resume","log","activeTime","s, inactive duration= "];return(_0x3f3f=function(){return e})()}!function(){const e=_0x58fb,t=_0x3f3f();for(;;)try{if(538450===parseInt(e(182))/1*(parseInt(e(185))/2)+parseInt(e(181))/3*(-parseInt(e(199))/4)+parseInt(e(205))/5+parseInt(e(192))/6+-parseInt(e(183))/7+parseInt(e(187))/8*(parseInt(e(204))/9)+parseInt(e(194))/10*(-parseInt(e(198))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class ActivityTicker{constructor(){const e=_0x58fb;this[e(202)]=1e3,this[e(184)]=!1}[_0x3fa18d(197)](){const e=_0x3fa18d;this[e(195)]&&clearInterval(this.tickerJob),this.tickerJob=setInterval(()=>{const t=e;this.isPaused||document[t(186)]||document[t(200)]()&&(console[t(189)](t(201)+storageManager.activeDuration/1e3+t(191)+storageManager[t(196)]/1e3+"s"),storageManager[t(190)]=Date.now(),storageManager[t(180)]+=this.tickerDelay)},this.tickerDelay)}[_0x3fa18d(203)](){const e=_0x3fa18d;clearInterval(this[e(195)]),this[e(195)]=void 0}[_0x3fa18d(193)](){this[_0x3fa18d(184)]=!0}[_0x3fa18d(188)](){this[_0x3fa18d(184)]=!1}}const activityTicker=new ActivityTicker,_0x1361b3=_0x2bb7;function _0x2bb7(e,t){const r=_0x45d4();return(_0x2bb7=function(e,t){return r[e-=363]})(e,t)}!function(){const e=_0x2bb7,t=_0x45d4();for(;;)try{if(818903===-parseInt(e(371))/1*(parseInt(e(367))/2)+-parseInt(e(376))/3*(-parseInt(e(374))/4)+parseInt(e(363))/5+-parseInt(e(369))/6+parseInt(e(385))/7+-parseInt(e(386))/8+parseInt(e(381))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class CountryFinder{constructor(){this._country=null}[_0x1361b3(368)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2bb7;return!this[e(382)]&&(this[e(382)]=yield this.tryAllEndpoints()),this[e(382)]})}[_0x1361b3(366)](){return __awaiter(this,void 0,void 0,function*(){const e=[()=>__awaiter(this,void 0,void 0,function*(){const e=_0x2bb7,t=yield this[e(379)](e(375));if(!t.ok)throw new Error(e(384));return(yield t[e(364)]())[e(380)]||null}),()=>__awaiter(this,void 0,void 0,function*(){const e=_0x2bb7,t=yield this[e(379)]("https://free.freeipapi.com/api/json");if(!t.ok)throw new Error(e(384));return(yield t.json())[e(370)]||null}),()=>__awaiter(this,void 0,void 0,function*(){const e=_0x2bb7,t=yield this[e(379)](e(365));if(!t.ok)throw new Error(e(372));return(yield t[e(364)]())[e(378)]||null})];for(const t of e)try{const e=yield t();if(e)return e}catch(e){}return null})}fetchWithTimeout(e){return __awaiter(this,arguments,void 0,function*(e,t=2e3){const r=_0x2bb7,i=new AbortController,n=setTimeout(()=>i[r(377)](),t);return fetch(e,{signal:i[r(383)]})[r(373)](()=>clearTimeout(n))})}}const countryFinder=new CountryFinder;function _0x45d4(){const e=["https://api.country.is","16977DQFOJj","abort","country_code","fetchWithTimeout","country","23359770TjAUsx","_country","signal","country.is failed","3094483KzMQsX","7266680pKbcPX","698280cDDEOB","json","https://ipwho.is/","tryAllEndpoints","3254246bLWsnG","getCountryCode","6203520NbIQRz","countryCode","1CEERht","ipwho.is failed","finally","856ERljcA"];return(_0x45d4=function(){return e})()}!function(){const e=_0x54b0,t=_0x5d2b();for(;;)try{if(806940===-parseInt(e(340))/1+-parseInt(e(345))/2+-parseInt(e(347))/3+parseInt(e(346))/4*(parseInt(e(348))/5)+-parseInt(e(344))/6+parseInt(e(343))/7+-parseInt(e(339))/8*(-parseInt(e(342))/9))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const cryptoHelper={generateDeviceUUID:()=>crypto[_0x54b0(341)]()};function _0x54b0(e,t){const r=_0x5d2b();return(_0x54b0=function(e,t){return r[e-=339]})(e,t)}function _0x5d2b(){const e=["8457974CWhogT","9071742ibAVGO","313330njPLGr","176AtPptV","1767555VVYPjh","22555oazRwa","64DMwTJQ","46251JpGOuE","randomUUID","1917261JChjbF"];return(_0x5d2b=function(){return e})()}function _0x591a(e,t){const r=_0x52c5();return(_0x591a=function(e,t){return r[e-=168]})(e,t)}const _0x24d68d=_0x591a;function _0x52c5(){const e=["2912439HPAYdz","9941208LtvPFh","createdAt","length","shift","waitingQueue","release","locked","retryCount","9WsuZIr","parameters","endpoint","maxRetries","6APHTzL","439950RHfGlZ","6764611rGRMYU","5264970OVVuDY","34ATswqY","1122YzUXHU","randomUUID","61772xlibQh","2681244VuXrGK","now"];return(_0x52c5=function(){return e})()}!function(){const e=_0x591a,t=_0x52c5();for(;;)try{if(634472===parseInt(e(184))/1*(parseInt(e(187))/2)+-parseInt(e(190))/3+-parseInt(e(188))/4+-parseInt(e(183))/5+parseInt(e(180))/6*(-parseInt(e(182))/7)+-parseInt(e(168))/8*(parseInt(e(176))/9)+-parseInt(e(181))/10*(-parseInt(e(185))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RequestRecord{constructor(e,t){const r=_0x591a;this[r(175)]=0,this[r(179)]=3,this.id=crypto[r(186)](),this[r(178)]=e,this[r(177)]=t,this[r(169)]=Date[r(189)]()}}class Mutex{constructor(){this[_0x591a(174)]=!1,this.waitingQueue=[]}acquire(){return __awaiter(this,void 0,void 0,function*(){return new Promise(e=>{const t=_0x591a;this[t(174)]?this[t(172)].push(e):(this.locked=!0,e())})})}[_0x24d68d(173)](){const e=_0x24d68d;if(this[e(172)][e(170)]>0){this.waitingQueue[e(171)]()()}else this[e(174)]=!1}}const _0x5ac2db=_0x5668;function _0x5668(e,t){const r=_0x59d4();return(_0x5668=function(e,t){return r[e-=352]})(e,t)}function _0x59d4(){const e=["⚠️ Request ","activeDuration"," failed. Retry ","warn","error","acquire","calculateBackoffDelay","processPendingQueue","log","parameters","failedRequestDelay","min","pendingRequestRecords","Queue Manager is not initialized. Call initialize() first.","pow","getMainRequestsSentFlag","postRequestCheck","❌ Request ","SESSIONS","isCurrentlyProcessing","🔄 Backoff delay manually reset","debug","Applying backoff delay of ","firstSessionSubmit","savePendingQueue","maxRetries","MAX_DELAY_MS"," failed","getMainQueue","stopProcessing","isProcessing","saveMainQueue","883455iaNFDX","processQueues","16DYoxmS","doCallRequest","BASE_DELAY_MS","subSessionCount","isInitialized"," failed after ","sdkClickSubmit","getBackoffConfig","SDK_INFOS","✅ Request ","getPendingQueue","💥 Sending request (","6hUMRRA","inactiveDuration","20YkqwmF","⏳ Request ","3047JyKMVq","requestRecords","689376jxObHS","push"," failed with error after ","length","📦 Moved ","endpoint","): id=","startProcessing","retryCount","processMainQueue","shutdown","mutex","processingInterval","145308LiHHCU","initialize"," pending requests to main queue","2846619ySbfuv","now","BACKOFF_MULTIPLIER","addRequest","Error sending request ","sendRequest","6QYhaJm","2143384XsXvqX"," processed successfully","Error in processing loop:","3985030emCgqF","release"," attempts. ","2969379zDAHHY"];return(_0x59d4=function(){return e})()}!function(){const e=_0x5668,t=_0x59d4();for(;;)try{if(561546===-parseInt(e(371))/1+parseInt(e(391))/2*(-parseInt(e(385))/3)+-parseInt(e(414))/4+-parseInt(e(417))/5*(-parseInt(e(413))/6)+-parseInt(e(420))/7*(parseInt(e(373))/8)+-parseInt(e(407))/9*(parseInt(e(387))/10)+-parseInt(e(389))/11*(-parseInt(e(404))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RequestsQueueManager{constructor(){const e=_0x5668;this[e(377)]=!1,this[e(369)]=!1,this[e(358)]=!1,this.mutex=new Mutex,this[e(403)]=null,this.PROCESSING_INTERVAL_MS=100,this[e(431)]=0,this.MAX_DELAY_MS=3e4,this[e(409)]=2,this.BASE_DELAY_MS=1e3}[_0x5ac2db(405)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5668;this[e(377)]=!0,!this.isProcessing&&(yield this[e(398)]())})}[_0x5ac2db(401)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5668;this[e(377)]&&(yield this.stopProcessing(),this[e(377)]=!1)})}[_0x5ac2db(398)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5668;if(this[e(377)]){yield this[e(402)].acquire();try{if(this.isProcessing)return;this[e(369)]=!0,this[e(403)]=setInterval(()=>__awaiter(this,void 0,void 0,function*(){const t=e;try{yield this[t(372)]()}catch(e){WTLogger[t(425)](t(416),e)}}),this.PROCESSING_INTERVAL_MS)}finally{this[e(402)][e(418)]()}yield this[e(372)]()}else WTLogger[e(424)](e(352))})}[_0x5ac2db(368)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5668;yield this.mutex[e(426)]();try{this[e(369)]=!1,this[e(403)]&&(clearInterval(this[e(403)]),this[e(403)]=null)}finally{this[e(402)][e(418)]()}})}[_0x5ac2db(410)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x5668;yield this.mutex[t(426)]();try{const r=this.getMainQueue();if(r.push(e),this.saveMainQueue(r),this.failedRequestDelay=0,!this[t(369)])return this[t(402)][t(418)](),void(yield this[t(398)]())}finally{this[t(369)]&&this.mutex[t(418)]()}})}addPendingRequest(e){return __awaiter(this,void 0,void 0,function*(){const t=_0x5668;yield this[t(402)][t(426)]();try{if(this[t(354)]()){const r=this[t(367)]();r.push(e),this[t(370)](r)}else{const r=this[t(383)]();r[t(392)](e),this[t(363)](r)}if(this[t(431)]=0,!this[t(369)])return this[t(402)][t(418)](),void(yield this.startProcessing())}finally{this.isProcessing&&this[t(402)][t(418)]()}})}[_0x5ac2db(372)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5668;if(this[e(369)]&&!this[e(358)]){if(this[e(431)]>0){if(Date[e(408)]()<this[e(431)])return;this.failedRequestDelay=0,WTLogger.debug("⏰ Backoff delay ended, resuming queue processing")}this.isCurrentlyProcessing=!0,yield this[e(402)][e(426)]();try{yield this[e(400)](),yield this[e(428)]()}finally{this[e(402)][e(418)](),this[e(358)]=!1}}})}[_0x5ac2db(400)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5668,t=this[e(367)]();if(0===t.length)return;const r=t[0];try{if(yield this.sendRequest(r))t.shift(),this[e(370)](t),this[e(355)](r),WTLogger.debug(e(382)+r.id+e(415));else{if(t[0][e(399)]++,t[0][e(399)]>=t[0][e(364)]){const i=this.calculateBackoffDelay(t[0][e(399)]);this.failedRequestDelay=Date.now()+i,WTLogger.warn(e(388)+r.id+e(378)+r[e(364)]+e(419)+(e(361)+i+"ms"))}else WTLogger[e(424)](e(421)+r.id+e(423)+t[0][e(399)]+"/"+t[0][e(364)]);this[e(370)](t)}}catch(i){if(WTLogger[e(425)](e(411)+r[e(396)]+":",i),t[0].retryCount++,t[0][e(399)]>=t[0][e(364)]){const i=this[e(427)](t[0][e(399)]);this.failedRequestDelay=Date[e(408)]()+i,WTLogger[e(424)](e(388)+r.id+e(393)+t[0].maxRetries+e(419)+"Applying backoff delay of "+i+"ms")}this[e(370)](t)}})}[_0x5ac2db(427)](e){const t=_0x5ac2db,r=this[t(375)]*Math[t(353)](this[t(409)],e-1);return Math[t(432)](r,this[t(365)])}[_0x5ac2db(428)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5668;if(!this[e(354)]())return;const t=this.getPendingQueue();if(0===t[e(394)])return;const r=this.getMainQueue();r.push(...t),this.saveMainQueue(r),this[e(363)]([]),console[e(429)](e(395)+t.length+e(406))})}[_0x5ac2db(412)](e){return __awaiter(this,arguments,void 0,function*(e,t=1){const r=_0x5668;WTLogger[r(360)](r(384)+e[r(396)]+r(397)+e.id);let i=!1;try{i=yield apiClient[r(374)](e[r(396)],e[r(430)])}catch(t){WTLogger[r(425)](r(356)+e[r(396)]+r(366),t)}return i})}[_0x5ac2db(367)](){return storageManager[_0x5ac2db(390)]}[_0x5ac2db(370)](e){storageManager.requestRecords=e}[_0x5ac2db(383)](){return storageManager[_0x5ac2db(433)]}savePendingQueue(e){storageManager.pendingRequestRecords=e}[_0x5ac2db(354)](){return storageManager[_0x5ac2db(379)]}[_0x5ac2db(355)](e){const t=_0x5ac2db;switch(e[t(396)]){case WTEndpoints.SDK_CLICKS:storageManager[t(379)]=!0;break;case WTEndpoints[t(357)]:storageManager[t(362)]?(storageManager[t(422)]=0,storageManager[t(386)]=0,storageManager[t(376)]=1):storageManager.firstSessionSubmit=!0;break;case WTEndpoints[t(381)]:storageManager.fcmToken=e[t(430)].push_token}}getQueueStatus(){const e=_0x5ac2db;return{mainQueueLength:this[e(367)]()[e(394)],pendingQueueLength:this.getPendingQueue()[e(394)],isProcessing:this[e(369)],mainRequestsSent:this.getMainRequestsSentFlag(),isInBackoffDelay:this[e(431)]>0&&Date[e(408)]()<this[e(431)],backoffEndsAt:this[e(431)]>0?this[e(431)]:null}}resetBackoffDelay(){const e=_0x5ac2db;this[e(431)]=0,WTLogger[e(360)](e(359))}[_0x5ac2db(380)](){const e=_0x5ac2db;return{baseDelayMs:this[e(375)],multiplier:this[e(409)],maxDelayMs:this[e(365)]}}}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 _0x1bb710=_0x1870;function _0x1870(e,t){const r=_0x578d();return(_0x1870=function(e,t){return r[e-=347]})(e,t)}function _0x578d(){const e=["tablet","xlarge","screenDensity","matches","small","getDeviceInfo","low","playstation","242060mXNfEh","pow","netcast","android auto","567860yIlSmr","toLowerCase","(prefers-color-scheme: dark)","large","normal","medium","7FYndPW","innerHeight","embedded","model","getResult","height","devicePixelRatio","desktop","668988ZZrRkw","smarttv","includes","screenType","googletv","36620EhNIin","mobile","5avqcyC","144qTzWeu","device","car","smart-tv","5316597ncNBvD","uiStyle","wearable","xbox","type","console","displaySize","appletv","browser","2766504lkmaPj","engine","matchMedia","watch","uiMode","oculus","screenSize","2QDZzgx","76251gMsyMm","high","width","innerWidth","hbbtv"];return(_0x578d=function(){return e})()}!function(){const e=_0x1870,t=_0x578d();for(;;)try{if(219022===-parseInt(e(375))/1*(-parseInt(e(361))/2)+parseInt(e(362))/3+-parseInt(e(379))/4*(-parseInt(e(400))/5)+-parseInt(e(393))/6*(parseInt(e(385))/7)+parseInt(e(354))/8+parseInt(e(401))/9*(parseInt(e(398))/10)+-parseInt(e(405))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class DeviceDetector{[_0x1bb710(372)](){const e=_0x1bb710,t=(new UAParser)[e(389)]();return{browser:t[e(353)],os:t.os,device:t[e(402)],engine:t[e(355)],cpu:t.cpu,ua:t.ua}}get[_0x1bb710(369)](){const e=_0x1bb710;return window[e(391)]>=3?e(363):window.devicePixelRatio>=2?e(384):e(373)}get screenFormat(){const e=_0x1bb710;return window[e(386)]>window[e(365)]?"long":e(383)}get[_0x1bb710(360)](){const e=_0x1bb710,t=window.innerWidth;return e(t<480?371:t<768?383:t<1440?382:368)}get[_0x1bb710(358)](){const e=_0x1bb710;var t,r,i;const n=this.getDeviceInfo(),s=(null===(t=n[e(402)])||void 0===t?void 0:t[e(349)])||"",o=(null===(i=null===(r=n[e(402)])||void 0===r?void 0:r[e(388)])||void 0===i?void 0:i[e(380)]())||"",a=n.ua[e(380)]();return s===e(347)||o[e(395)](e(357))?6:s===e(394)||a[e(395)](e(404))||a[e(395)](e(366))||a[e(395)](e(377))||a[e(395)](e(397))||a[e(395)](e(352))?4:s===e(350)||a.includes(e(374))||a.includes(e(348))||a.includes("nintendo")?5:a[e(395)](e(403))||a[e(395)](e(378))||a.includes("carplay")?3:a[e(395)](e(359))||a[e(395)]("vive")||a[e(395)]("vr")||s===e(387)?7:s===e(399)||s===e(367)?1:""===s||s===e(392)?2:0}get[_0x1bb710(406)](){const e=_0x1bb710;return window.matchMedia&&window[e(356)](e(381))[e(370)]?"1":"0"}get[_0x1bb710(351)](){const e=_0x1bb710,t=window.devicePixelRatio||1,r=screen[e(364)]*t/160,i=screen[e(390)]*t/160;return Math.sqrt(Math[e(376)](r,2)+Math.pow(i,2)).toFixed(2)}get[_0x1bb710(396)](){return"ontouchstart"in window||navigator.maxTouchPoints>0?"touch":"pointer"}}const deviceDetector=new DeviceDetector;function _0x5d09(){const e=["onsuccess","getStorageSizeBytes","4309886xlTZiK","117NOIWQS","isLocalStorageSupported","length","resolve","98515roaQRJ","__test__","563246PHoVsr","__test__check__","getItem","438176aAguoj","open","1146780ZKMJlF","supportResults","result","removeItem","key","7805088ngyUfj","isSessionStorageSupported","2859936WbUunG","setItem","onerror","164eimEMi","indexedDB","6tcezTw"];return(_0x5d09=function(){return e})()}const _0x257013=_0x3356;function _0x3356(e,t){const r=_0x5d09();return(_0x3356=function(e,t){return r[e-=225]})(e,t)}!function(){const e=_0x3356,t=_0x5d09();for(;;)try{if(494031===-parseInt(e(247))/1+-parseInt(e(250))/2+parseInt(e(232))/3+parseInt(e(235))/4*(-parseInt(e(245))/5)+parseInt(e(237))/6*(parseInt(e(240))/7)+-parseInt(e(230))/8+parseInt(e(241))/9*(parseInt(e(225))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class StorageSupport{constructor(){this[_0x3356(226)]=null}getSupportResult(){return __awaiter(this,void 0,void 0,function*(){const e=_0x3356;if(this[e(226)])return this[e(226)];const t=this[e(242)](),r=this[e(231)](),i=yield this.isIndexedDBSupported();return this[e(226)]={localStorage:t,sessionStorage:r,indexedDB:i},this.supportResults})}[_0x257013(239)](e){const t=_0x257013;let r=0;for(let i=0;i<e[t(243)];i++){const n=e[t(229)](i);if(!n)continue;const s=e[t(249)](n);null!=s&&(r+=2*n[t(243)],r+=2*s[t(243)])}return r}[_0x257013(242)](){const e=_0x257013;try{const t="__test__";return localStorage[e(233)](t,"1"),localStorage[e(228)](t),!0}catch(e){return!1}}isSessionStorageSupported(){const e=_0x257013;try{const t=e(246);return sessionStorage[e(233)](t,"1"),sessionStorage.removeItem(t),!0}catch(e){return!1}}isIndexedDBSupported(){const e=_0x257013;return e(236)in window?new Promise(t=>{const r=e;try{const e=indexedDB[r(251)](r(248));e[r(234)]=()=>t(!1),e[r(238)]=()=>{const i=r;e[i(227)].close(),indexedDB.deleteDatabase(i(248)),t(!0)}}catch(e){t(!1)}}):Promise[e(244)](!1)}}const storageSupport=new StorageSupport,_0x1a9365=_0x4fd4;function _0x4fd4(e,t){const r=_0xd33c();return(_0x4fd4=function(e,t){return r[e-=299]})(e,t)}!function(){const e=_0x4fd4,t=_0xd33c();for(;;)try{if(102154===-parseInt(e(360))/1*(-parseInt(e(362))/2)+parseInt(e(320))/3*(-parseInt(e(318))/4)+-parseInt(e(317))/5*(parseInt(e(361))/6)+parseInt(e(322))/7*(-parseInt(e(305))/8)+-parseInt(e(353))/9+-parseInt(e(359))/10+-parseInt(e(311))/11*(-parseInt(e(303))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class Utils{static[_0x1a9365(302)](){const e=_0x1a9365,t=new URLSearchParams(window[e(323)][e(358)]),r={};for(const[i,n]of t[e(333)]())i[e(307)](e(300))&&n&&(r[i]=n);if(!r[e(344)]){const t=document[e(363)];r.utm_source=t?new URL(t)[e(328)]:e(314)}return!r[e(342)]&&(r.utm_medium=e(346)),Object[e(333)](r)[e(355)](([e,t])=>e+"="+encodeURIComponent(t))[e(306)]("&")}}function _0xd33c(){const e=["jQuery","keys","13250tEcjNO","8qzNABO","Next.js","54222KnZAyl","Backbone.js","231dcOemh","location","drupal-settings-json","src","Nuxt.js","Wix","hostname","[data-reactroot], [data-reactid]","Drupal","Vue",'meta[name="generator"][content*="Ghost"]',"entries","__reactContainer","some","/_nuxt/","Shopify","querySelector","React","documentElement","includes","utm_medium","WordPress","utm_source","innerHTML","organic",'meta[name="generator"][content*="WordPress"]',"Meteor","Backbone","[data-v-app], [data-v-]","scripts","__VUE__","1497969lrezUr","wix.com","map","Gatsby.js","Zepto","search","919820KImCnw","45658PFvTDW","102sYOkal","4EOUXlO","referrer","wp-includes",".ng-binding, [ng-app], [data-ng-app], [ng-controller], [data-ng-controller], [ng-repeat], [data-ng-repeat]","[ng-version]","utm_","Ghost CMS","getUTMParamsString","4234812LLmmjN","Angular","592jxZMSx","join","startsWith","mix-manifest.json","script[id=__NEXT_DATA__]","_reactRootContainer","11OByBby","Laravel","svelte","other"];return(_0xd33c=function(){return e})()}Utils.detectWebFramework=()=>{const e=_0x1a9365;return document[e(338)](e(309))||[...document[e(351)]][e(335)](t=>t[e(325)][e(341)]("/_next/"))?e(319):window[e(339)]||document[e(338)](e(329))||Array.from(document.querySelectorAll("*"))[e(335)](t=>void 0!==t[e(310)]||Object[e(316)](t).some(t=>t[e(307)](e(334))))||window.__REACT_DEVTOOLS_GLOBAL_HOOK__?e(339):[...document[e(351)]][e(335)](t=>t[e(325)].includes(e(336)))?e(326):window[e(352)]||window[e(331)]||document.querySelector(e(350))?"Vue.js":document[e(338)]("[id=___gatsby]")?e(356):window||document.querySelector(e(365))||document[e(338)]('script[src*="angular.js"], script[src*="angular.min.js"]')||window.ng||document[e(338)](e(299))?e(304):[...document[e(351)]][e(335)](t=>{const r=e;var i;return t[r(325)][r(341)](r(313))||(null===(i=t.textContent)||void 0===i?void 0:i[r(341)](r(313)))})?"Svelte":document[e(338)]("[x-data], [x-init], [x-bind]")?"Alpine.js":window[e(315)]?e(315):window[e(349)]?e(321):window[e(348)]?"Meteor.js":window[e(357)]?"Zepto.js":document[e(338)](e(347))||[...document[e(351)]].some(t=>t[e(325)][e(341)]("wp-content")||t[e(325)][e(341)](e(364)))?e(343):[...document[e(351)]][e(335)](t=>t.src.includes("/js/app.js")||t[e(325)][e(341)](e(308)))?e(312):document.querySelector('meta[name="generator"][content*="Drupal"]')||document.documentElement.innerHTML[e(341)](e(324))?e(330):document[e(340)][e(345)][e(341)]("cdn.shopify.com")?e(337):[...document.scripts][e(335)](t=>t[e(325)][e(341)]("static.squarespace.com"))?"Squarespace":[...document.scripts][e(335)](t=>t.src[e(341)](e(354)))?e(327):document[e(338)](e(332))?e(301):void 0};const _0x2279f1=_0x1528;function _0x1f77(){const e=["MAX_TEXTURE_SIZE","hashData","encode","RENDERER","1BofJbz","406445IYOdtP","subtle","createElement","WEBGL_debug_renderer_info","stringify","vendor","fillStyle","19747380lRZdlO","getContext","font","width","UNMASKED_RENDERER_WEBGL","fillText","isWebGLSupported","toString","213370zcgKRn","top","2721768MKYluu","fillRect","getParameter","VERSION","SHA-256","renderer","webgl","height","VENDOR","2319912VuxOrR","885648BBwqqN","#069","UNMASKED_VENDOR_WEBGL","textBaseline","18kIFULb","14gNpUIk","map","14px 'Arial'","getExtension","#f60","canvas","2937856WdnOJh"];return(_0x1f77=function(){return e})()}function _0x1528(e,t){const r=_0x1f77();return(_0x1528=function(e,t){return r[e-=286]})(e,t)}!function(){const e=_0x1528,t=_0x1f77();for(;;)try{if(385202===parseInt(e(303))/1*(parseInt(e(319))/2)+-parseInt(e(287))/3+-parseInt(e(321))/4+parseInt(e(304))/5*(-parseInt(e(291))/6)+-parseInt(e(292))/7*(parseInt(e(298))/8)+parseInt(e(286))/9+parseInt(e(311))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class DeviceFingerprint{static[_0x2279f1(317)](){const e=_0x2279f1;try{const t=document[e(306)]("canvas");return!(!t[e(312)](e(327))&&!t[e(312)]("experimental-webgl"))}catch(e){return!1}}static getWebGLFingerprint(){return __awaiter(this,void 0,void 0,function*(){const e=_0x1528,t=document[e(306)](e(297)),r=t.getContext(e(327))||t.getContext("experimental-webgl");if(!r)return;const i={version:r[e(323)](r[e(324)]),shadingLangVersion:r.getParameter(r.SHADING_LANGUAGE_VERSION),maxTextureSize:r.getParameter(r[e(299)]),maxRenderBufferSize:r[e(323)](r.MAX_RENDERBUFFER_SIZE),supportedExtensions:r.getSupportedExtensions()};try{const t=r[e(295)](e(307));i[e(309)]=t?r[e(323)](t[e(289)]):r[e(323)](r[e(329)])}catch(t){i.vendor=r.getParameter(r[e(329)])}try{const t=r[e(295)](e(307));i[e(326)]=t?r[e(323)](t[e(315)]):r[e(323)](r[e(302)])}catch(t){i[e(326)]=r[e(323)](r[e(302)])}return yield this.hashData(JSON[e(308)](i))})}static getCanvasFingerprint(){return __awaiter(this,void 0,void 0,function*(){const e=_0x1528,t=document.createElement(e(297));t[e(314)]=200,t[e(328)]=50;const r=t[e(312)]("2d");if(r)return r[e(290)]=e(320),r[e(313)]=e(294),r[e(310)]=e(296),r[e(322)](0,0,200,50),r[e(310)]=e(288),r[e(316)]("WiseTrack WebGL Fingerprint!",2,2),yield this.hashData(t.toDataURL())})}static[_0x2279f1(300)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x1528,r="string"==typeof e?e:JSON[t(308)](e),i=(new TextEncoder)[t(301)](r),n=yield crypto[t(305)].digest(t(325),i);return Array.from(new Uint8Array(n))[t(293)](e=>e[t(318)](16).padStart(2,"0")).join("")})}}const _0x9bc4e5=_0x5b79;function _0x5b79(e,t){const r=_0x34af();return(_0x5b79=function(e,t){return r[e-=110]})(e,t)}function _0x34af(){const e=["getDeviceInfo","getDeviceFields","getApplicationFields","initialConfig","580gtenmx","screenType","getWebGLFingerprint","userEnvironment","displaySize","screenSize","1580JsMspA","PLATFORM","assign","279335qPaWMx","model","VERSION","cpu","build","name","appFrameWork","now","map","44IxIRAA","performance","getCountryCode","other","3858896BFODDT","SDK","getStorageSizeBytes","innerHeight","initialDate","filter","created_at","browser","time_spent","DEFAULTS","screenFormat","getSupportResult","3296100bXhfeL","indexedDB","localStorage","architecture","outerHeight","engine","2588810cHUURn","uiStyle","toString","screenDensity","device","language","25767PoqSuL","innerWidth","isWebGLSupported","toFixed","appVersion","version","sessionStorage","924408tJuocP","fromEntries","PARAMETERS_VALUE","2878jTnuud","hostname","activeDuration","getLocalFields","vendor","getCanvasFingerprint"];return(_0x34af=function(){return e})()}!function(){const e=_0x5b79,t=_0x34af();for(;;)try{if(543755===-parseInt(e(134))/1*(-parseInt(e(144))/2)+parseInt(e(131))/3+parseInt(e(162))/4*(-parseInt(e(153))/5)+-parseInt(e(112))/6+-parseInt(e(118))/7+parseInt(e(166))/8+parseInt(e(124))/9*(parseInt(e(150))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class FieldsBuilder{[_0x9bc4e5(157)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5b79,t=window[e(163)][e(160)]();let r={};return r[e(172)]=(new Date).toISOString(),Object[e(152)](r,this.getLocalFields()),Object[e(152)](r,yield this[e(142)]()),Object[e(152)](r,this[e(141)]()),r[e(174)]=(window[e(163)][e(160)]()-t).toFixed(1),WTConstants.DEFAULTS[e(133)]&&(r=Object[e(132)](Object.entries(r)[e(161)](([t,r])=>[t,null==r?WTConstants.DEFAULTS[e(133)]:r]))),!WTConstants[e(175)][e(133)]&&(r=Object.fromEntries(Object.entries(r)[e(171)](([e,t])=>null!=t))),r})}getApplicationFields(){return __awaiter(this,void 0,void 0,function*(){const e=_0x5b79,t=yield storageSupport[e(111)]();return{connectivity_type:navigator.onLine?"1":"-1",country:yield countryFinder[e(164)](),package_name:window.location[e(135)],session_storage_enabled:t[e(130)],indexed_db_enabled:t[e(113)],local_storage_enabled:t[e(114)],session_storage:storageSupport[e(168)](sessionStorage)[e(127)](0),local_storage:storageSupport[e(168)](localStorage)[e(127)](0),web_gl_support:DeviceFingerprint[e(126)](),web_gl_fingerprint:yield DeviceFingerprint[e(146)](),web_gl_canvas_fingerprint:yield DeviceFingerprint[e(139)]()}})}[_0x9bc4e5(137)](){const e=_0x9bc4e5,t=storageManager[e(143)];return t?{uuid:storageManager.deviceId,app_token:t.appToken,environment:t[e(147)],store_name:e(165),app_version:t[e(128)],push_token:storageManager.pushToken,custom_device_id:t.customDeviceId,default_tracker:t.defaultTracker,platform:WTConstants[e(167)][e(151)],framework:t[e(159)].toLowerCase(),initiated_by:WTConstants.SDK[e(151)]+"_"+t[e(159)].toLowerCase(),initiated_version:WTConstants.SDK[e(155)],referrer:Utils.getUTMParamsString(),installed_at:storageManager[e(170)],session_count:storageManager.sessionCount[e(120)](),subsession_count:storageManager.subSessionCount[e(120)](),session_length:parseInt((storageManager[e(136)]/1e3)[e(120)]())[e(120)](),last_interval:parseInt((storageManager.inactiveDuration/1e3)[e(120)]()).toString()}:{}}[_0x9bc4e5(141)](){const e=_0x9bc4e5,t=deviceDetector[e(140)]();return{browser_version:t[e(173)][e(129)],device_manufacturer:t[e(122)][e(138)],device_name:t[e(122)][e(154)],device_type:t[e(122)].type,os_name:t.os[e(158)],os_version:t.os[e(129)],cpu_type:t[e(156)][e(115)],web_user_agent:t.ua,display_height:window[e(169)].toFixed(0),display_width:window[e(125)].toFixed(0),language:navigator[e(123)].split("-")[0],screen_density:deviceDetector[e(121)],screen_format:deviceDetector[e(110)],screen_size:deviceDetector[e(149)],ui_mode:deviceDetector.uiMode.toString(),cpu_lpc:navigator.hardwareConcurrency[e(120)](),ui_style:deviceDetector[e(119)],wout_width:window.outerWidth.toString(),wout_height:window[e(116)].toString(),web_engine:t[e(117)][e(158)],web_engine_version:t.engine[e(129)],display_size:deviceDetector[e(148)],screen_type:deviceDetector[e(145)]}}}const fieldsBuilder=new FieldsBuilder,_0x5745c0=_0x50f4;function _0x50f4(e,t){const r=_0xba51();return(_0x50f4=function(e,t){return r[e-=183]})(e,t)}!function(){const e=_0x50f4,t=_0xba51();for(;;)try{if(880193===-parseInt(e(185))/1*(-parseInt(e(186))/2)+-parseInt(e(191))/3*(-parseInt(e(198))/4)+-parseInt(e(196))/5*(parseInt(e(189))/6)+-parseInt(e(187))/7*(-parseInt(e(199))/8)+parseInt(e(195))/9+-parseInt(e(184))/10+-parseInt(e(193))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class EventFieldsBuilder extends FieldsBuilder{constructor(e){const t=_0x50f4;super(),this[t(183)]=e}[_0x5745c0(190)](){const e=_0x5745c0,t=Object[e(197)](null,{build:{get:()=>super[e(190)]}});return __awaiter(this,void 0,void 0,function*(){const r=e,i=yield t[r(190)][r(192)](this);return new Promise(e=>{const t=r;e(Object[t(194)](Object[t(194)]({},i),this[t(183)][t(188)]()))})})}}function _0xba51(){const e=["2440404SGhZKz","463665TkiIzN","create","1088CxWTyd","24EpAzFF","event","6710420AcghjH","5ISrHiL","8186VPhLMd","3366167lvxMfu","toJSON","12ZyuGof","build","9645nKlMPG","call","9592473VrKTTb","assign"];return(_0xba51=function(){return e})()}const _0x38f788=_0x2dc7;function _0x2dc7(e,t){const r=_0x4cfa();return(_0x2dc7=function(e,t){return r[e-=244]})(e,t)}function _0x4cfa(){const e=["deviceId","27YTznfH","getCountryCode"," request to pending queue","subSessionCount","setActivityTimes","sessionCount","initialized","stopTracking","initialDate","1644296kTmIAD","info","SDK is not enabled to start tracking!","toISOString","3396AkXfnM","startTracking","56lWEbUm","229030HtAtri","blur","Add ","now","2058GVyhVL","Creating Install: SDK-Clicks has already submitted","66VbWOVz","visible","Creating Attribution: SDK is not enabled!","WT Tracker stopped","build","Creating First Session: SDK is not enabled!","start","User was inactived for ","focus","pending","main","inactiveDuration","inactiveTime","checkSessionIntervals","sdkClickSubmit","stop","trackEvent: SDK is not enabled","addObservers","eventCount","initialize","Creating Install: SDK is not enabled!","SESSIONS","2byWslV","activeTime","checkSdkClicks","generateDeviceUUID","isVisibleFocused"," request to main queue","Creating Session: First-Session has already submitted","EVENTS","addEventListener","visibilityState","config","SDK_INFOS","debug","createRequest","7060812WivryF","WT Tracker started","1375260RWxEHc","log","sdkEnabled","isRunning","warn","visibilitychange","104670wxybog","createDeviceID","isEnabled","trackEvent: SDK is not initialized yet","checkFirstSession","createAttribution","s | (","getQueueStatus","240209yYLguS","subsessionInterval","ATTRIBUTIONS"];return(_0x4cfa=function(){return e})()}!function(){const e=_0x2dc7,t=_0x4cfa();for(;;)try{if(347681===-parseInt(e(282))/1*(-parseInt(e(252))/2)+-parseInt(e(268))/3+-parseInt(e(301))/4*(-parseInt(e(302))/5)+parseInt(e(299))/6*(-parseInt(e(306))/7)+-parseInt(e(295))/8*(-parseInt(e(286))/9)+-parseInt(e(274))/10*(-parseInt(e(308))/11)+-parseInt(e(266))/12)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTTracker{constructor(){const e=_0x2dc7;this.isRunning=!1,this[e(292)]=!1}get[_0x38f788(276)](){return storageManager[_0x38f788(270)]}[_0x38f788(249)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2dc7;this.getCountryCode(),yield this[e(290)](),this[e(275)](),this.addObservers(),this.initialized=!0})}[_0x38f788(300)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2dc7;this[e(276)]?(WTLogger.debug(e(267)),yield queueManager[e(249)](),yield this[e(254)](),yield this[e(278)](),yield this[e(279)](),this[e(271)]=!0):WTLogger.warn(e(297))})}[_0x38f788(293)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2dc7;this[e(271)]=!1,activityTicker[e(245)](),yield queueManager.shutdown(),WTLogger[e(264)](e(311))})}checkPushToken(e){return __awaiter(this,void 0,void 0,function*(){const t=_0x2dc7;storageManager.pushToken=e,this.isEnabled?storageManager.fcmToken!==e?yield this.createRequest({endpoint:WTEndpoints[t(263)],queueType:t(317)}):WTLogger[t(296)]("This Notification token has sent to server previously"):WTLogger[t(272)]("CheckPushToken: SDK is not enabled")})}trackEvent(e){return __awaiter(this,void 0,void 0,function*(){const t=_0x2dc7;this[t(276)]?this.initialized?(storageManager[t(248)]+=1,yield this[t(265)]({endpoint:WTEndpoints[t(259)],fBuilder:new EventFieldsBuilder(e),queueType:t(317)})):WTLogger.warn(t(277)):WTLogger[t(272)](t(246))})}[_0x38f788(287)](){countryFinder[_0x38f788(287)]()}createAttribution(){return __awaiter(this,void 0,void 0,function*(){const e=_0x2dc7;this[e(276)]?yield this[e(265)]({endpoint:WTEndpoints[e(284)],queueType:e(317)}):WTLogger.warn(e(310))})}[_0x38f788(278)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2dc7;this[e(276)]?storageManager.firstSessionSubmit?WTLogger[e(264)](e(258)):yield this[e(265)]({endpoint:WTEndpoints.SESSIONS,queueType:storageManager[e(244)]?e(318):e(317)}):WTLogger.warn(e(313))})}checkSdkClicks(){return __awaiter(this,void 0,void 0,function*(){const e=_0x2dc7;this[e(276)]?storageManager.sdkClickSubmit?WTLogger[e(264)](e(307)):yield this[e(265)]({endpoint:WTEndpoints.SDK_CLICKS}):WTLogger[e(272)](e(250))})}[_0x38f788(265)](e){const t=_0x38f788;return __awaiter(this,arguments,void 0,function*({endpoint:e,fBuilder:r=fieldsBuilder,queueType:i=t(318)}){const n=t,s=yield r[n(312)](),o=new RequestRecord(e,s);"pending"===i?(WTLogger[n(296)]("Add "+e+n(288)),yield queueManager.addPendingRequest(o)):(WTLogger.info(n(304)+e+n(257)),yield queueManager.addRequest(o));const a=queueManager[n(281)]();console[n(269)](JSON.stringify(a))})}createDeviceID(){const e=_0x38f788;!storageManager[e(285)]&&(storageManager.deviceId=cryptoHelper[e(255)]()),!storageManager[e(294)]&&(storageManager[e(294)]=(new Date)[e(298)]())}[_0x38f788(290)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2dc7;if(storageManager[e(253)]){storageManager.inactiveTime=storageManager[e(253)];const t=Date.now()-storageManager[e(320)];storageManager[e(319)]+=t,console.log(e(315)+t/1e3+e(280)+storageManager[e(319)]/1e3+"s Totaly)"),yield this[e(321)]()}storageManager[e(253)]=Date[e(305)](),activityTicker[e(314)]()})}[_0x38f788(321)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2dc7;var t,r;const i=storageManager.inactiveTime,n=null===(t=storageManager[e(262)])||void 0===t?void 0:t.sessionInterval,s=null===(r=storageManager[e(262)])||void 0===r?void 0:r[e(283)];if(!this[e(276)])return void WTLogger.warn("Creating Session: SDK is not enabled!");if(!i||!n||!s)return;const o=Date[e(305)]()-i;o>1e3*parseInt(n)?(storageManager[e(291)]+=1,yield this[e(265)]({endpoint:WTEndpoints[e(251)],queueType:storageManager[e(244)]?e(318):e(317)})):o>1e3*parseInt(s)&&(storageManager[e(289)]+=1)})}isVisibleFocused(){const e=_0x38f788;return document[e(261)]===e(309)&&document.hasFocus()}[_0x38f788(247)](){const e=_0x38f788;window.addEventListener("beforeunload",()=>{activityTicker[_0x2dc7(245)]()}),document[e(260)](e(273),()=>{const t=e;this[t(256)]()?(this[t(279)](),this[t(290)]()):activityTicker[t(245)]()}),window.addEventListener(e(316),()=>{const t=e;this[t(256)]()&&(this[t(279)](),this[t(290)]())}),window[e(260)](e(303),()=>{activityTicker.stop()})}}const tracker=new WTTracker,_0x245aec=_0x4871;function _0x107c(){const e=["‼️ SDK Config NOT set!, check errors.","_instance","error","defaultValue","Start Tracking: SDK is not enabled!","26MSNlfV","checkSdkEnabled","2KpCtMp","clear","sdkUpdate","NetworkError","setLevel","doGetConfig","3359220YLIXJq","sdkEnabled","checkPushToken","trackEvent","isEnabled","279466DeRabS","40cPcrFJ","‼️ Track Event: SDK is not initialized yet","‼️ Start Tracking: SDK is not initialized yet","132FsXvjn","204888mHpueP","Set Fcm Token: SDK is not enabled!","‼️ Set Fcm Token: SDK is not initialized yet","Config is not set!","18FdKDxx","startTracking","Track Event: SDK is not enabled!","198972PgoGwM","info","flush","instance","SDK is disabled form server, contact your adminstrator!","sdkInitialized","setFCMToken","SDK Config set","66303qtfYVW","startTrackerAutomatically","Clearing Data and stop tracker!","648069FquvXk","init","stopTracking","5hZtxSi","checkSdkUpdate","warn","config","52948ZveusE","setLogLevel","setEnabled","getConfig","initialize","initialConfig"];return(_0x107c=function(){return e})()}function _0x4871(e,t){const r=_0x107c();return(_0x4871=function(e,t){return r[e-=455]})(e,t)}!function(){const e=_0x4871,t=_0x107c();for(;;)try{if(110477===-parseInt(e(471))/1+parseInt(e(494))/2*(-parseInt(e(474))/3)+-parseInt(e(463))/4*(-parseInt(e(477))/5)+-parseInt(e(455))/6*(parseInt(e(481))/7)+-parseInt(e(456))/8*(-parseInt(e(460))/9)+parseInt(e(506))/10*(-parseInt(e(505))/11)+-parseInt(e(500))/12*(-parseInt(e(492))/13))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WiseTrack{static get[_0x245aec(466)](){const e=_0x245aec;return!WiseTrack[e(488)]&&(WiseTrack[e(488)]=new WiseTrack),WiseTrack[e(488)]}constructor(){this[_0x245aec(468)]=!1}[_0x245aec(475)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x4871;var r,i;const n=yield this[t(484)](e);this[t(493)](n),this[t(478)](n),this[t(483)](!0),this[t(468)]=!0,yield tracker[t(485)]();(null===(r=e[t(472)])||void 0===r||r)&&setTimeout(()=>this[t(461)](),1e3*(null!==(i=e.trackingWaitingTime)&&void 0!==i?i:0))})}[_0x245aec(482)](e){WTLogger[_0x245aec(498)](e)}[_0x245aec(465)](){const e=_0x245aec;WTLogger[e(464)](e(473)),storageManager[e(495)](),this[e(476)]()}[_0x245aec(504)](){return storageManager[_0x245aec(501)]}[_0x245aec(483)](e){const t=_0x245aec,r=storageManager[t(480)];if(!r)throw new Error(t(459));if(!r[t(501)])throw new Error("SDK is disabled form server, contact your adminstrator!");storageManager[t(501)]=e}[_0x245aec(461)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x4871;this.sdkInitialized?this.isEnabled()?yield tracker[e(461)]():WTLogger[e(479)](e(491)):WTLogger.warn(e(508))})}stopTracking(){return __awaiter(this,void 0,void 0,function*(){const e=_0x4871;yield tracker[e(476)]()})}[_0x245aec(469)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x4871;this[t(468)]?this.isEnabled()?yield tracker[t(502)](e):WTLogger[t(479)](t(457)):WTLogger[t(479)](t(458))})}[_0x245aec(503)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x4871;this[t(468)]?this[t(504)]()?yield tracker.trackEvent(e):WTLogger[t(479)](t(462)):WTLogger[t(479)](t(507))})}[_0x245aec(484)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x4871;let r;storageManager[t(486)]=e;try{r=yield apiClient[t(499)]()}catch(e){if(!(e instanceof ApiError[t(497)]))throw WTLogger[t(464)](t(487)),e;r=storageManager[t(480)]||WTConfig[t(490)]}return storageManager[t(480)]=r,WTLogger.info(t(470)),r})}[_0x245aec(493)](e){const t=_0x245aec;if(!e[t(501)]){const e=t(467);throw WTLogger[t(489)](e),new Error(e)}}checkSdkUpdate(e){const t=_0x245aec;e[t(496)]&&WTLogger[t(479)]("A new version of the SDK is available. It is recommended to update to the latest version to enjoy improved features and better performance.")}}const _0x3729cf=_0x76d2;function _0x76d2(e,t){const r=_0x1046();return(_0x76d2=function(e,t){return r[e-=472]})(e,t)}function _0x1046(){const e=["MAX_LENGTH","validateKey","containsScriptInjection","25TwplOE","test","86938RFpkQA","validateValue","WTEventValidationError","some","3663810CPUudF",'" is not valid. Please use different characters',"Key must be a non-empty string",'value "',"FORBIDDEN_KEY","5815816cWztSc","5650869nVqfXM","5tQyReY","name","includes","containsSQLInjection","isMaliciousContent","1747537CiDzbj","1680903BSzrAz","Value length must not exceed "," characters","951828mrJpvT","Value cannot be null or undefined","SQL_INJECTION_PATTERNS","DANGEROUS_CHARS","30cYdYnb","Key cannot be '","string","containsDangerousChars","16OkyLqo",'key "',"SCRIPT_INJECTION_PATTERNS"];return(_0x1046=function(){return e})()}!function(){const e=_0x76d2,t=_0x1046();for(;;)try{if(738271===parseInt(e(480))/1*(parseInt(e(482))/2)+parseInt(e(486))/3+-parseInt(e(491))/4+parseInt(e(493))/5*(-parseInt(e(502))/6)+-parseInt(e(492))/7+parseInt(e(474))/8*(parseInt(e(499))/9)+parseInt(e(506))/10*(parseInt(e(498))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTEventValidationError extends Error{constructor(e){const t=_0x76d2;super(e),this[t(494)]=t(484)}}class WTEventValidator{static[_0x3729cf(496)](e){const t=_0x3729cf;return this[t(504)][t(485)](r=>r[t(481)](e))}static[_0x3729cf(479)](e){const t=_0x3729cf;return this.SCRIPT_INJECTION_PATTERNS[t(485)](r=>r[t(481)](e))}static[_0x3729cf(473)](e){const t=_0x3729cf;return this.DANGEROUS_CHARS[t(485)](r=>e[t(495)](r))}static[_0x3729cf(497)](e){const t=_0x3729cf;if(this.containsSQLInjection(e))return!0;if(this[t(479)](e))return!0;if(this[t(473)](e))return!0;try{const r=decodeURIComponent(e);if(r!==e&&this[t(497)](r))return!0}catch(e){}return!1}static[_0x3729cf(478)](e){const t=_0x3729cf;if(!e||typeof e!==t(472))throw new WTEventValidationError(t(488));if(e.length>this.MAX_LENGTH)throw new WTEventValidationError("Key length must not exceed "+this[t(477)]+t(501));if(e===this[t(490)])throw new WTEventValidationError(t(507)+this[t(490)]+"'");if(this[t(497)](e))throw new WTEventValidationError(t(475)+e+t(487))}static[_0x3729cf(483)](e){const t=_0x3729cf;if(null==e)throw new WTEventValidationError(t(503));const r=String(e);if(r.length>this[t(477)])throw new WTEventValidationError(t(500)+this.MAX_LENGTH+" characters");if(this[t(497)](r))throw new WTEventValidationError(t(489)+e+'" is not valid. Please use different characters')}}function _0x32d6(e,t){var r=_0x4903();return(_0x32d6=function(e,t){return r[e-=326]})(e,t)}function _0x4903(){var e=["currency","19955bFLakn","addParam","WTEvent validation failed: ","366TERJFh","validateValue","2UKepyZ","3dtiRdF","3890108oNNdoj","params","9058760WppxrS","type","8dumHBp","12944701GRCwRs","default","message","amount","6498019WFTJSo","7898085CgYenq","revenue","928742XBLGUD","Default","name","Revenue"];return(_0x4903=function(){return e})()}WTEventValidator[_0x3729cf(477)]=50,WTEventValidator[_0x3729cf(490)]="no_parameters",WTEventValidator[_0x3729cf(504)]=[/(\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[_0x3729cf(476)]=[/<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[_0x3729cf(505)]=["\0","\b","\t","","\n","\r",'"',"'","\\","%"],function(){for(var e=_0x32d6,t=_0x4903();;)try{if(942967===-parseInt(e(346))/1*(-parseInt(e(336))/2)+parseInt(e(347))/3*(-parseInt(e(348))/4)+parseInt(e(341))/5*(-parseInt(e(344))/6)+-parseInt(e(329))/7*(-parseInt(e(328))/8)+parseInt(e(334))/9+-parseInt(e(326))/10+-parseInt(e(333))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}(),exports.WTEvent=void 0,function(e){var t=_0x32d6;class r{constructor(e){var t=_0x32d6;this[t(327)]=t(330),this[t(338)]=e}[t(342)](e,r){var i,n=t;try{WTEventValidator.validateKey(e),WTEventValidator[n(345)](r);let t=null!==(i=this[n(349)])&&void 0!==i?i:{};t[e]=r,this[n(349)]=t}catch(e){if(e instanceof WTEventValidationError)throw WTLogger.warn(n(343)+e[n(331)]),e;throw e}}addParams(e){var r=t;for(const[t,i]of Object.entries(e))this[r(342)](t,i)}toJSON(){var e=t;return{event_type:this.type,event_name:this[e(338)],partner_params:this.params}}}e[t(337)]=r;e[t(339)]=class extends r{constructor(e,r,i){var n=t;super(e),this[n(327)]=n(335),this[n(332)]=r,this.currency=i}toJSON(){var e=t;return{event_type:this.type,event_name:this[e(338)],revenue:this[e(332)],currency:this[e(340)],partner_params:this[e(349)]}}}}(exports.WTEvent||(exports.WTEvent={}));const _0x4b2203=_0x2f2b;function _0x3151(){const e=["5019525OaMZhC","CHF","IRR","NOK","675lrEYsC","SAR","BRL","440KbuyqW","EHT","29172RfiEFT","1271367mZcbYL","9ijhnrC","IQD","SEK","BTC","AUD","JPY","GBP","NZD","INR","ZAR","1765272bdEiTw","HKD","EUR","2089dvrKCP","RUB","AED","MXN","3792136PnsTEB","31152220iiyhlk"];return(_0x3151=function(){return e})()}function _0x2f2b(e,t){const r=_0x3151();return(_0x2f2b=function(e,t){return r[e-=280]})(e,t)}!function(){const e=_0x2f2b,t=_0x3151();for(;;)try{if(537293===parseInt(e(302))/1*(-parseInt(e(285))/2)+parseInt(e(288))/3+-parseInt(e(306))/4+parseInt(e(282))/5*(-parseInt(e(287))/6)+-parseInt(e(308))/7+-parseInt(e(299))/8+-parseInt(e(289))/9*(-parseInt(e(307))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const RevenueCurrency={USD:"USD",EUR:_0x4b2203(301),JPY:_0x4b2203(294),GBP:_0x4b2203(295),AUD:_0x4b2203(293),CAD:"CAD",CHF:_0x4b2203(309),CNY:"CNY",SEK:_0x4b2203(291),NZD:_0x4b2203(296),MXN:_0x4b2203(305),SGD:"SGD",HKD:_0x4b2203(300),NOK:_0x4b2203(281),KRW:"KRW",TRY:"TRY",RUB:_0x4b2203(303),INR:_0x4b2203(297),BRL:_0x4b2203(284),ZAR:_0x4b2203(298),IRR:_0x4b2203(280),AED:_0x4b2203(304),IQD:_0x4b2203(290),SAR:_0x4b2203(283),OMR:"OMR",BTC:_0x4b2203(292),EHT:_0x4b2203(286),LTC:"LTC"};function _0x50b9(){var e=["1780520RAhbty","200901ykYjtI","819108uuYooi","1554NyAkEp","368wlRvdH","913072ycXkDq","3639XxVfzJ","725670MJBeSU","1070SYLfKF"];return(_0x50b9=function(){return e})()}function _0x170f(e,t){var r=_0x50b9();return(_0x170f=function(e,t){return r[e-=151]})(e,t)}!function(){for(var e=_0x170f,t=_0x50b9();;)try{if(166630===parseInt(e(152))/1+-parseInt(e(155))/2*(parseInt(e(157))/3)+-parseInt(e(153))/4+parseInt(e(159))/5*(-parseInt(e(154))/6)+parseInt(e(151))/7+parseInt(e(156))/8+parseInt(e(158))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}(),exports.RevenueCurrency=RevenueCurrency,exports.WTLogEngine=WTLogEngine,exports.WTLogLevel=WTLogLevel,exports.WTLogger=WTLogger,exports.WTUserEnvironment=WTUserEnvironment,exports.WiseTrack=WiseTrack;
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export { WiseTrack } from "./core/wisetrack";
|
|
2
2
|
export { WTInitialConfig } from "./types/config/initial-config";
|
|
3
|
-
export { WTEvent } from "./types/event/wt-event";
|
|
3
|
+
export { WTEvent, EventParam } from "./types/event/wt-event";
|
|
4
4
|
export { WTLogEngine, WTLogger, WTLogLevel } from "./utils/logger";
|
|
5
|
+
export { WTUserEnvironment } from "./constants/environments";
|
|
6
|
+
export { RevenueCurrency } from "./types/event/revenue-currency";
|