wisetrack 2.0.1 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/README.md +11 -20
  2. package/dist/cdn/sdk.bundle.min.js +1 -1
  3. package/dist/cjs/constants/constants.d.ts +1 -1
  4. package/dist/cjs/index.js +1 -1
  5. package/dist/esm/constants/constants.d.ts +1 -1
  6. package/dist/esm/index.js +1 -1
  7. package/package.json +4 -2
  8. package/dist/constants/constants.d.ts +0 -20
  9. package/dist/constants/constants.js +0 -19
  10. package/dist/constants/constants.js.map +0 -1
  11. package/dist/constants/endpoints.d.ts +0 -11
  12. package/dist/constants/endpoints.js +0 -10
  13. package/dist/constants/endpoints.js.map +0 -1
  14. package/dist/constants/environments.d.ts +0 -25
  15. package/dist/constants/environments.js +0 -37
  16. package/dist/constants/environments.js.map +0 -1
  17. package/dist/core/caching/queue-data.d.ts +0 -25
  18. package/dist/core/caching/queue-data.js +0 -50
  19. package/dist/core/caching/queue-data.js.map +0 -1
  20. package/dist/core/caching/request-queue-manager.d.ts +0 -54
  21. package/dist/core/caching/request-queue-manager.js +0 -333
  22. package/dist/core/caching/request-queue-manager.js.map +0 -1
  23. package/dist/core/fields/event-fields-builder.d.ts +0 -8
  24. package/dist/core/fields/event-fields-builder.js +0 -29
  25. package/dist/core/fields/event-fields-builder.js.map +0 -1
  26. package/dist/core/fields/fields-builder.d.ts +0 -9
  27. package/dist/core/fields/fields-builder.js +0 -120
  28. package/dist/core/fields/fields-builder.js.map +0 -1
  29. package/dist/core/network/api-client.d.ts +0 -9
  30. package/dist/core/network/api-client.js +0 -88
  31. package/dist/core/network/api-client.js.map +0 -1
  32. package/dist/core/network/network-error.d.ts +0 -17
  33. package/dist/core/network/network-error.js +0 -35
  34. package/dist/core/network/network-error.js.map +0 -1
  35. package/dist/core/network/network-manager.d.ts +0 -22
  36. package/dist/core/network/network-manager.js +0 -72
  37. package/dist/core/network/network-manager.js.map +0 -1
  38. package/dist/core/network/retry-policy.d.ts +0 -8
  39. package/dist/core/network/retry-policy.js +0 -26
  40. package/dist/core/network/retry-policy.js.map +0 -1
  41. package/dist/core/storage/storage-manager.d.ts +0 -52
  42. package/dist/core/storage/storage-manager.js +0 -221
  43. package/dist/core/storage/storage-manager.js.map +0 -1
  44. package/dist/core/wisetrack.d.ts +0 -125
  45. package/dist/core/wisetrack.js +0 -277
  46. package/dist/core/wisetrack.js.map +0 -1
  47. package/dist/core/wt-tracker.d.ts +0 -25
  48. package/dist/core/wt-tracker.js +0 -239
  49. package/dist/core/wt-tracker.js.map +0 -1
  50. package/dist/index.d.ts +0 -4
  51. package/dist/index.js +0 -4
  52. package/dist/index.js.map +0 -1
  53. package/dist/types/config/initial-config.d.ts +0 -43
  54. package/dist/types/config/initial-config.js +0 -2
  55. package/dist/types/config/initial-config.js.map +0 -1
  56. package/dist/types/config/wt-app-settings.d.ts +0 -15
  57. package/dist/types/config/wt-app-settings.js +0 -25
  58. package/dist/types/config/wt-app-settings.js.map +0 -1
  59. package/dist/types/config/wt-config.d.ts +0 -18
  60. package/dist/types/config/wt-config.js +0 -28
  61. package/dist/types/config/wt-config.js.map +0 -1
  62. package/dist/types/event/revenue-currency.d.ts +0 -39
  63. package/dist/types/event/revenue-currency.js +0 -39
  64. package/dist/types/event/revenue-currency.js.map +0 -1
  65. package/dist/types/event/wt-event.d.ts +0 -94
  66. package/dist/types/event/wt-event.js +0 -93
  67. package/dist/types/event/wt-event.js.map +0 -1
  68. package/dist/utils/activity-ticker.d.ts +0 -12
  69. package/dist/utils/activity-ticker.js +0 -37
  70. package/dist/utils/activity-ticker.js.map +0 -1
  71. package/dist/utils/country-finder.d.ts +0 -9
  72. package/dist/utils/country-finder.js +0 -71
  73. package/dist/utils/country-finder.js.map +0 -1
  74. package/dist/utils/crypto-helper.d.ts +0 -4
  75. package/dist/utils/crypto-helper.js +0 -7
  76. package/dist/utils/crypto-helper.js.map +0 -1
  77. package/dist/utils/device-detector.d.ts +0 -41
  78. package/dist/utils/device-detector.js +0 -101
  79. package/dist/utils/device-detector.js.map +0 -1
  80. package/dist/utils/logger.d.ts +0 -36
  81. package/dist/utils/logger.js +0 -84
  82. package/dist/utils/logger.js.map +0 -1
  83. package/dist/utils/storage-support.d.ts +0 -16
  84. package/dist/utils/storage-support.js +0 -86
  85. package/dist/utils/storage-support.js.map +0 -1
  86. package/dist/utils/utils.d.ts +0 -5
  87. package/dist/utils/utils.js +0 -95
  88. package/dist/utils/utils.js.map +0 -1
  89. package/dist/utils/webgl-fingerprint.d.ts +0 -7
  90. package/dist/utils/webgl-fingerprint.js +0 -100
  91. package/dist/utils/webgl-fingerprint.js.map +0 -1
package/README.md CHANGED
@@ -24,18 +24,10 @@ A lightweight JavaScript SDK for tracking user behavior and events in your web a
24
24
 
25
25
  ## 📦 Installation
26
26
 
27
- ### Via npm
27
+ ### Via npm, yarn or pnpm
28
28
  ```bash
29
29
  npm install wisetrack
30
- ```
31
-
32
- ### Via yarn
33
- ```bash
34
30
  yarn add wisetrack
35
- ```
36
-
37
- ### Via pnpm
38
- ```bash
39
31
  pnpm add wisetrack
40
32
  ```
41
33
 
@@ -51,16 +43,16 @@ pnpm add wisetrack
51
43
  ### Alternative CDNs
52
44
  ```html
53
45
  <!-- unpkg -->
54
- <script src="https://unpkg.com/wisetrack@2.0.0/dist/cdn/sdk.bundle.min.js"></script>
46
+ <script src="https://unpkg.com/wisetrack/dist/cdn/sdk.bundle.min.js"></script>
55
47
  ```
56
48
 
57
49
  ---
58
50
 
59
51
  ## ✅ Basic Usage
60
52
 
61
- ### 📱 For npm/yarn installations (ES6 Modules)
53
+ ### For npm/yarn installations (ES6 Modules)
62
54
 
63
- #### 1️⃣ Initialize the SDK
55
+ #### 1. Initialize the SDK
64
56
  ```typescript
65
57
  import { WiseTrack, WTUserEnvironment, WTLogLevel } from "wisetrack";
66
58
 
@@ -73,14 +65,14 @@ await WiseTrack.instance.init({
73
65
  });
74
66
  ```
75
67
 
76
- #### 2️⃣ Start Tracking (Optional)
68
+ #### 2. Start Tracking (Optional)
77
69
  ```typescript
78
70
  // Starts automatically if `startTrackerAutomatically` is true.
79
71
  // Otherwise, you can start manually:
80
72
  await WiseTrack.instance.startTracking();
81
73
  ```
82
74
 
83
- #### 3️⃣ Track a Custom Event
75
+ #### 3. Track a Custom Event
84
76
  ```typescript
85
77
  import { WTEvent } from "wisetrack";
86
78
 
@@ -89,7 +81,7 @@ signupEvent.addParam("method", "Google");
89
81
  await WiseTrack.instance.trackEvent(signupEvent);
90
82
  ```
91
83
 
92
- #### 4️⃣ Track a Revenue Event
84
+ #### 4. Track a Revenue Event
93
85
  ```typescript
94
86
  import { WTEvent, RevenueCurrency } from "wisetrack";
95
87
 
@@ -98,7 +90,7 @@ purchase.addParam("item_id", "SKU-123");
98
90
  await WiseTrack.instance.trackEvent(purchase);
99
91
  ```
100
92
 
101
- ### 🌐 For CDN usage (Direct Browser)
93
+ ### For CDN usage (Direct Browser)
102
94
 
103
95
  ```html
104
96
  <!DOCTYPE html>
@@ -126,7 +118,7 @@ await WiseTrack.instance.trackEvent(purchase);
126
118
  </html>
127
119
  ```
128
120
 
129
- ### 🔧 For CommonJS (Node.js)
121
+ ### For CommonJS (Node.js)
130
122
  ```javascript
131
123
  const { WiseTrack, WTUserEnvironment, WTLogLevel } = require("wisetrack");
132
124
 
@@ -268,12 +260,11 @@ const config: WTConfig = {
268
260
 
269
261
  ---
270
262
 
271
- ## 🛟 📚 API Reference & Support
263
+ ## 📚 API Reference & Support
272
264
 
273
265
  - [📖 Documentation](https://docs.wisetrack.io)
274
- - [📖 Detailed TypeDocs](https://github.com/wisetrack-io/web-sdk/tree/master/docs)
266
+ - [📖 Detailed TypeDocs](https://github.com/wisetrack-io/web-sdk/tree/main/docs)
275
267
  - [🐛 Report Issues](https://github.com/wisetrack-io/web-sdk/issues)
276
- - [💬 Discussions](https://github.com/wisetrack-io/web-sdk/discussions)
277
268
  - [📧 Email Support](mailto:support@wisetrack.io)
278
269
 
279
270
  ---
@@ -1 +1 @@
1
- var t=function(t){"use strict";function e(t,e,i,n){return new(i||(i=Promise))(function(r,s){function o(t){try{c(n.next(t))}catch(t){s(t)}}function a(t){try{c(n.throw(t))}catch(t){s(t)}}function c(t){var e;t.done?r(t.value):(e=t.value,e instanceof i?e:new i(function(t){t(e)})).then(o,a)}c((n=n.apply(t,e||[])).next())})}"function"==typeof SuppressedError&&SuppressedError;const i=n;function n(t,e){const i=r();return(n=function(t,e){return i[t-=232]})(t,e)}function r(){const t=["20530710KkopPG","2hyKdTR","443611hOTapi","16wtLGYB","2.0.0","debug","https://config.wisetrack.io","12UbntAf","web","997bfbb583c1245a426a53dc1899ec779ff354f9","2598021wkylsK","1800000","2476467IqhCuP","533138YATgoD","300000","1125155irVNPk","3439200KEnOnZ"];return(r=function(){return t})()}!function(t){const e=n,i=t();for(;;)try{if(445950===parseInt(e(242))/1+-parseInt(e(247))/2*(-parseInt(e(239))/3)+parseInt(e(236))/4*(parseInt(e(244))/5)+parseInt(e(245))/6+parseInt(e(248))/7*(parseInt(e(232))/8)+-parseInt(e(241))/9+-parseInt(e(246))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(r);const s={SDK:{HASH:i(238),PLATFORM:i(237),VERSION:i(233)},CONFIG:{BASE_URL:i(235),DEFAULT_ENVIRONMENT:i(234)},DEFAULTS:{LOG_LEVEL:i(234),SESSION_INTERVAL:i(240),SUBSESSION_INTERVAL:i(243),PARAMETERS_VALUE:void 0}};function o(){const t=["856rngWKs","DEFAULT_ENVIRONMENT","sdkEnvironment","DEBUG","CONFIG","39MlzPSN","PRODUCTION","5qjzwbE","570476JxpHrr","1887662yoGPag","19442nWgJQi","1407234QHNOvF","sandbox","325611BJGXvN","18216CWRHNY","https://core.wisetrack.io","https://core.debug.wisetrackdev.ir","https://core.stage.wisetrackdev.ir","production","11803aEpWLX","STAGE","7930KzThqI","debug"];return(o=function(){return t})()}function a(t,e){const i=o();return(a=function(t,e){return i[t-=230]})(t,e)}const c=a;!function(t){const e=a,i=t();for(;;)try{if(186735===parseInt(e(247))/1+parseInt(e(244))/2*(-parseInt(e(239))/3)+parseInt(e(242))/4*(-parseInt(e(241))/5)+-parseInt(e(245))/6+-parseInt(e(243))/7+parseInt(e(234))/8*(-parseInt(e(248))/9)+-parseInt(e(232))/10*(-parseInt(e(230))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(o),c(246);const u={DEBUG:c(233),STAGE:"stage",PRODUCTION:c(252)},d={sdkEnvironment:s[c(238)][c(235)],needAppSettings(){const t=c;return this[t(236)]!==u[t(240)]},baseUrl(){const t=c;switch(this.sdkEnvironment){case u[t(237)]:return t(250);case u[t(231)]:return t(251);case u[t(240)]:return t(249);default:throw new Error("Unknown environment: "+this[t(236)])}}},l=p;function p(t,e){const i=h();return(p=function(t,e){return i[t-=410]})(t,e)}function h(){const t=["18LecBlc","4lXcfgH","1530640XYCGBp","/api/v1/events","/api/v1/app_settings","14316LLHDzQ","/api/v1/sdk_infos","3714WbCujJ","/api/v1/sessions","11165FTOLhz","/api/v1/sdk_clicks","/api/v1/attributions","5837520BGRjLi","14850iXIBWP","2877870XHFbKg","1866ejevwS","2663922ndnJJr","619WHelAK"];return(h=function(){return t})()}!function(t){const e=p,i=t();for(;;)try{if(707528===-parseInt(e(419))/1*(-parseInt(e(427))/2)+parseInt(e(418))/3*(parseInt(e(421))/4)+parseInt(e(416))/5+parseInt(e(417))/6*(-parseInt(e(411))/7)+parseInt(e(422))/8*(-parseInt(e(420))/9)+parseInt(e(414))/10+-parseInt(e(415))/11*(parseInt(e(425))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(h);const f={EVENTS:l(423),SESSIONS:l(410),SDK_CLICKS:l(412),SDK_INFOS:l(426),ATTRIBUTIONS:l(413),APP_SETTINGS:l(424)};var v=g;function w(){var t=["SDK_CLICKS","events","fromJson","sdkClicks","sdk_clicks","880vPGziA","subsessionInterval","36DqZmXp","7127667NOcURk","fromConfig","3084820sHEpZQ","8SmMPkh","sessionInterval","22382292Tdokyk","session_interval","11iynuAZ","SUBSESSION_INTERVAL","5300ajnlDn","attributions","2202jilVkk","sessions","sdkInfos","13489IljKZG","defaultValue","42585qHyYnn","SESSION_INTERVAL","296898nxcpVn","EVENTS","DEFAULTS","sdk_infos"];return(w=function(){return t})()}function g(t,e){var i=w();return(g=function(t,e){return i[t-=164]})(t,e)}!function(t){for(var e=g,i=t();;)try{if(482689===parseInt(e(189))/1+-parseInt(e(170))/2*(parseInt(e(187))/3)+parseInt(e(180))/4*(-parseInt(e(168))/5)+-parseInt(e(182))/6*(parseInt(e(185))/7)+-parseInt(e(174))/8*(parseInt(e(171))/9)+parseInt(e(173))/10+parseInt(e(178))/11*(parseInt(e(176))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(w);class b{constructor(t,e,i,n,r,o=s[v(191)].SESSION_INTERVAL,a=s[v(191)][v(179)]){var c=v;this[c(164)]=t,this.sessions=e,this[c(166)]=i,this[c(184)]=n,this[c(181)]=r,this[c(175)]=o,this[c(169)]=a}static[v(172)](t){var e=v;return new b(t[e(164)],t[e(183)],t[e(166)],t[e(184)],t[e(181)],t[e(175)],t.subsessionInterval)}static[v(165)](t){var e,i,n=v;return new b(t[n(164)],t[n(183)],t[n(167)],t[n(192)],t[n(181)],null!==(e=t[n(177)])&&void 0!==e?e:s[n(191)][n(188)],null!==(i=t.subsession_interval)&&void 0!==i?i:s[n(191)][n(179)])}static get[v(186)](){var t=v;return new b(f[t(190)],f.SESSIONS,f[t(193)],f.SDK_INFOS,f.ATTRIBUTIONS,s.DEFAULTS[t(188)],s.DEFAULTS.SUBSESSION_INTERVAL)}}function m(){var t=["SESSIONS","SDK_INFOS","4KinAGQ","63VeAIRH","6906417zavefP","sdk_infos","7944558CepiEa","APP_SETTINGS","2143752OcpEzE","base_url","1959795UGzLJw","sdk_update","6267955PldQWZ","defaultValue","DEFAULTS","EVENTS","SDK_CLICKS","baseUrl","sdkClicks","sessionInterval","1666913xtAANV","sdk_enabled","attributions","events","fromJson","843288qoiaAc","sdkUpdate","subsessionInterval","force_update","SUBSESSION_INTERVAL","forceUpdate","appSettings","subsession_interval","SESSION_INTERVAL","sessions","app_settings","sdkInfos","sdkEnabled"];return(m=function(){return t})()}var I=S;function S(t,e){var i=m();return(S=function(t,e){return i[t-=206]})(t,e)}!function(t){for(var e=S,i=t();;)try{if(911404===-parseInt(e(207))/1+parseInt(e(233))/2+parseInt(e(235))/3*(parseInt(e(227))/4)+parseInt(e(237))/5+parseInt(e(231))/6+-parseInt(e(229))/7+-parseInt(e(212))/8*(parseInt(e(228))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(m);class y{constructor(t,e,i,n,r,o,a,c=!0,u=!1,d=!1,l=s[I(239)][I(220)],p=s[I(239)][I(216)]){var h=I;this[h(242)]=t,this.events=e,this.sessions=i,this[h(243)]=n,this[h(223)]=r,this.attributions=o,this[h(218)]=a,this[h(224)]=c,this[h(217)]=u,this[h(213)]=d,this[h(206)]=l,this[h(214)]=p}static[I(211)](t){var e,i,n,r,o,a=I;return new y(t[a(234)],t[a(210)],t[a(221)],t.sdk_clicks,t[a(230)],t[a(209)],t[a(222)],null===(e=t[a(208)])||void 0===e||e,null!==(i=t[a(215)])&&void 0!==i&&i,null!==(n=t[a(236)])&&void 0!==n&&n,null!==(r=t.session_interval)&&void 0!==r?r:s[a(239)][a(220)],null!==(o=t[a(219)])&&void 0!==o?o:s[a(239)].SUBSESSION_INTERVAL)}static get[I(238)](){var t=I;return new y(d[t(242)](),f[t(240)],f[t(225)],f[t(241)],f[t(226)],f.ATTRIBUTIONS,f[t(232)])}}const k=E;function E(t,e){const i=x();return(E=function(t,e){return i[t-=413]})(t,e)}!function(t){const e=E,i=t();for(;;)try{if(263616===-parseInt(e(441))/1*(parseInt(e(414))/2)+parseInt(e(439))/3+-parseInt(e(420))/4*(parseInt(e(416))/5)+-parseInt(e(423))/6*(-parseInt(e(440))/7)+-parseInt(e(426))/8*(parseInt(e(424))/9)+parseInt(e(415))/10*(parseInt(e(438))/11)+-parseInt(e(431))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(x);class _{}const T={DEBUG:"debug",INFO:k(429),WARN:k(427),ERROR:k(437),NONE:k(421)};class C{static setLevel(t){this[k(428)]=t}static[k(417)](t){this[k(435)]=t}static[k(434)](t){const e=k;this.outputEngines[e(418)](t)}static[k(430)](t){const e=k,i=["debug",e(429),"warn",e(437)],n=i[e(425)](this[e(428)]);return i[e(425)](t)>=n}static[k(432)](t,...e){const i=k;if(!this[i(430)](t))return;const n="["+this[i(435)]+"-"+t[i(413)]()+"]";for(const r of this[i(422)])r[i(432)](t,n,...e)}static debug(...t){this[k(432)]("debug",...t)}static info(...t){this[k(432)]("info",...t)}static[k(427)](...t){const e=k;this[e(432)](e(427),...t)}static[k(437)](...t){const e=k;this[e(432)](e(437),...t)}}function x(){const t=["4lZoRsc","none","outputEngines","347580mMKYBd","9mxCUMZ","indexOf","3508504hxGxnY","warn","level","info","shouldLog","694632zGndlo","log","LOG_LEVEL","addOutputEngine","prefix","debug","error","3944413gFOGWB","1362261VflATL","28aaeeJc","1nUdTpp","toUpperCase","332704qVxPgf","10RHvLAP","589865OCIqmq","setPrefix","push","DEFAULTS"];return(x=function(){return t})()}C[k(428)]=s[k(419)][k(433)],C[k(435)]="WT",C[k(422)]=[new class extends _{log(t,e,...i){const n=E;switch(t){case"debug":console[n(436)](e,...i);break;case n(429):console[n(429)](e,...i);break;case"warn":console.warn(e,...i);break;case n(437):console[n(437)](e,...i);break;default:console[n(432)](e,...i)}}}];var N=D;function D(t,e){var i=O();return(D=function(t,e){return i[t-=395]})(t,e)}function O(){var t=["WT.ActiveTime","WT.SessionCount","deviceId","initialConfig","PUSH_TOKEN","SDK_ENABLED","CONFIG","WT.PendingRequestQueue","removeItem","clear","211220SSmZGV","APP_SETTINGS","setJson","WT.SessionLenght","INACTIVE_DURATION","appSettings","fcmToken","INACTIVE_TIME","5328MsztKN","config","setItem","true","': ","ACTIVE_TIME","342966reJnQV","requestRecords","WT.SubSessionCount","PENDING_REQUEST_QUEUE","DEVICE_ID","INITIAL_CONFIG","pendingRequestRecords","subSessionCount","inactiveTime","Error in JSON decoding for key '","196sLBOUi","sdkClickSubmit","90MNXKqd","error","getItem","Error in encoding object for key '","activeTime","REQUEST_QUEUE","137564sLjhci","toString","183NqpbyJ","FCM_TOKEN","EVENT_COUNT","eventCount","parse","WT.InactiveTime","firstSessionSubmit","optionalBool","sessionCount","getJson","SESSION_COUNT","SUBSESSION_COUNT","optionalNumber","WT.Configs","WT.SdkEnabled","activeDuration","WT.InitialDate","WT.FirstSessionSubmit","WT.AppSettings","WT.EventCount","SDK_CLICK_SUBMIT","inactiveDuration","pushToken","initialDate","WT.FcmToken","sdkEnabled","false","6rsKjZk","FIRST_SESSION_SUBMIT","19909472amkPDu","WT.SdkClickSubmit","1394450SmgRDX","124408wBwtOE","WT.RequestQueue"];return(O=function(){return t})()}!function(t){for(var e=D,i=t();;)try{if(248189===parseInt(e(419))/1*(-parseInt(e(471))/2)+-parseInt(e(399))/3+-parseInt(e(417))/4+parseInt(e(450))/5*(-parseInt(e(446))/6)+parseInt(e(409))/7*(-parseInt(e(451))/8)+parseInt(e(411))/9*(-parseInt(e(463))/10)+parseInt(e(448))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(O);const R={DEVICE_ID:"WT.DeviceId",INITIAL_DATE:N(435),INITIAL_CONFIG:"WT.InitialConfigs",CONFIG:N(432),APP_SETTINGS:N(437),SDK_CLICK_SUBMIT:N(449),FIRST_SESSION_SUBMIT:N(436),SDK_ENABLED:N(433),FCM_TOKEN:N(443),PUSH_TOKEN:"WT.PushToken",EVENT_COUNT:N(438),SESSION_COUNT:N(454),SESSION_LENGTH:N(466),SUBSESSION_COUNT:N(401),ACTIVE_TIME:N(453),INACTIVE_TIME:N(424),INACTIVE_DURATION:"WT.InactiveDuration",REQUEST_QUEUE:N(452),PENDING_REQUEST_QUEUE:N(460)};class A{clear(){localStorage[N(462)]()}setJson(t,e){var i=N;if(e)try{const i=JSON.stringify(e);localStorage.setItem(t,i)}catch(e){C[i(412)](i(414)+t+"'",e)}else localStorage.removeItem(t)}[N(428)](t){var e=N;const i=localStorage[e(413)](t);if(!i)return null;try{return JSON[e(423)](i)}catch(i){return C[e(412)](e(408)+t+e(397)+i,i),null}}optionalNumber(t){const e=localStorage.getItem(t);if(null===e)return null;const i=Number(e);return isNaN(i)?null:i}[N(426)](t){var e=N;const i=localStorage[e(413)](t);return null===i?null:i===e(396)||i!==e(445)&&null}get[N(455)](){var t=N;return localStorage[t(413)](R[t(403)])}set deviceId(t){var e=N;t?localStorage[e(395)](R[e(403)],t):localStorage[e(461)](R[e(403)])}get[N(442)](){return this[N(428)](R.INITIAL_DATE)}set[N(442)](t){this[N(465)](R.INITIAL_DATE,t)}get initialConfig(){var t=N;return this[t(428)](R[t(404)])}set[N(456)](t){var e=N;this[e(465)](R[e(404)],t)}get[N(472)](){var t=N;return this.getJson(R[t(459)])}set[N(472)](t){this[N(465)](R.CONFIG,t)}get[N(468)](){var t=N;return this[t(428)](R[t(464)])}set[N(468)](t){var e=N;this[e(465)](R[e(464)],t)}get sdkEnabled(){var t,e=N;return null!==(t=this[e(426)](R[e(458)]))&&void 0!==t&&t}set[N(444)](t){var e=N;localStorage[e(395)](R[e(458)],t.toString())}get[N(410)](){var t,e=N;return null!==(t=this[e(426)](R[e(439)]))&&void 0!==t&&t}set sdkClickSubmit(t){var e=N;localStorage.setItem(R[e(439)],t[e(418)]())}get[N(425)](){var t,e=N;return null!==(t=this[e(426)](R[e(447)]))&&void 0!==t&&t}set[N(425)](t){var e=N;localStorage[e(395)](R[e(447)],t[e(418)]())}get[N(469)](){return localStorage[N(413)](R.FCM_TOKEN)}set[N(469)](t){var e=N;t?localStorage[e(395)](R[e(420)],t):localStorage[e(461)](R[e(420)])}get[N(441)](){return localStorage[N(413)](R.PUSH_TOKEN)}set[N(441)](t){var e=N;t?localStorage[e(395)](R[e(457)],t):localStorage[e(461)](R[e(457)])}get[N(427)](){var t,e=N;return null!==(t=this[e(431)](R[e(429)]))&&void 0!==t?t:1}set sessionCount(t){var e=N;localStorage[e(395)](R[e(429)],t[e(418)]())}get[N(406)](){var t,e=N;return null!==(t=this[e(431)](R[e(430)]))&&void 0!==t?t:1}set[N(406)](t){var e=N;localStorage[e(395)](R[e(430)],t.toString())}get[N(434)](){var t;return null!==(t=this[N(431)](R.SESSION_LENGTH))&&void 0!==t?t:0}set[N(434)](t){var e=N;localStorage.setItem(R.SESSION_LENGTH,t[e(418)]())}get inactiveDuration(){var t,e=N;return null!==(t=this[e(431)](R[e(467)]))&&void 0!==t?t:0}set[N(440)](t){var e=N;localStorage[e(395)](R.INACTIVE_DURATION,t[e(418)]())}get[N(407)](){var t=N;return this.optionalNumber(R[t(398)])}set inactiveTime(t){var e=N;null!==t?localStorage.setItem(R.ACTIVE_TIME,t[e(418)]()):localStorage[e(461)](R[e(398)])}get[N(415)](){var t=N;return this[t(431)](R[t(470)])}set[N(415)](t){var e=N;null!==t?localStorage[e(395)](R[e(470)],t[e(418)]()):localStorage[e(461)](R[e(470)])}get[N(400)](){var t,e=N;return null!==(t=this[e(428)](R[e(416)]))&&void 0!==t?t:[]}set[N(400)](t){var e=N;this[e(465)](R[e(416)],t)}get pendingRequestRecords(){var t,e=N;return null!==(t=this[e(428)](R[e(402)]))&&void 0!==t?t:[]}set[N(405)](t){this[N(465)](R.PENDING_REQUEST_QUEUE,t)}get[N(422)](){var t,e=N;return null!==(t=this[e(431)](R[e(421)]))&&void 0!==t?t:0}set[N(422)](t){var e=N;localStorage.setItem(R[e(421)],t[e(418)]())}}const U=new A;var L;function P(){var t=["1190810kijnKv","NetworkError: ","NetworkFailure","name","4433532INQuQT","message","NetworkError","3400833ttwnsc","ServerError","DecodingError","statusCode","2872PmqYfB","ServerError ","461qwhmYt","5164159srTQuY","8428000mbFkZZ","3443754KDgWUB","InvalidUrl","Invalid URL: "];return(P=function(){return t})()}function q(t,e){var i=P();return(q=function(t,e){return i[t-=489]})(t,e)}!function(t){for(var e=q,i=t();;)try{if(928438===parseInt(e(505))/1*(-parseInt(e(503))/2)+parseInt(e(499))/3+parseInt(e(496))/4+parseInt(e(492))/5+-parseInt(e(489))/6+parseInt(e(506))/7+-parseInt(e(507))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(P),function(t){var e=q;class i extends Error{constructor(t){var e=q;super(e(491)+t),this[e(495)]=e(490)}}t.InvalidUrl=i;class n extends Error{constructor(t,e){var i=q;super(i(504)+t+": "+e),this[i(502)]=t,this[i(497)]=e,this[i(495)]="ServerError"}}t[e(500)]=n;class r extends Error{constructor(t){var i=e;super(i(493)+t),this[i(495)]=i(494)}}t[e(498)]=r;class s extends Error{constructor(t){var i=e;super("DecodingError: "+t),this[i(495)]=i(501)}}t[e(501)]=s}(L||(L={}));var M=V;function B(){var t=["waitBeforeRetry","canRetry","1521UsZxqC","199108ERKqII","retryInterval","2913888CTAHEB","maxRetries","66904gmKHRX","554168JsEocX","620392JMNhvV","3375995FJwXXm","3020997eOflIZ","12NKrRrt"];return(B=function(){return t})()}function V(t,e){var i=B();return(V=function(t,e){return i[t-=346]})(t,e)}!function(t){for(var e=V,i=t();;)try{if(412513===parseInt(e(354))/1+parseInt(e(353))/2+parseInt(e(357))/3*(parseInt(e(348))/4)+parseInt(e(355))/5+parseInt(e(350))/6+-parseInt(e(356))/7+-parseInt(e(352))/8*(parseInt(e(347))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class F{constructor(t=3,e=2e3){var i=V;this[i(351)]=t,this[i(349)]=e}[M(346)](t){return t<this[M(351)]}[M(358)](){return e(this,void 0,void 0,function*(){var t=V;return new Promise(e=>setTimeout(e,this[t(349)]))})}}function W(t,e){const i=K();return(W=function(t,e){return i[t-=235]})(t,e)}function K(){const t=["retryAttempt",") =>","assign","Server error","848nAgnhp","18WieGSF","DecodingError","text","warn","14otTIOn","171426zpzdla","1302334jBjpZS","debug","276000lhOZgR","112624QyXzXB","json","canRetry","✅ API SUCCESS (","56NuCmLJ","ServerError","204HozcrN","Request successful","formData","params","status","NetworkError","application/json","2317780zZvXlM","❌ API ERROR (","2451OwzOXU","retryPolicy","error","waitBeforeRetry","headers","message","Error executing request"];return(K=function(){return t})()}!function(t){const e=W,i=t();for(;;)try{if(210993===parseInt(e(266))/1*(-parseInt(e(235))/2)+-parseInt(e(255))/3*(parseInt(e(246))/4)+-parseInt(e(239))/5+parseInt(e(236))/6*(parseInt(e(244))/7)+-parseInt(e(240))/8*(parseInt(e(267))/9)+parseInt(e(253))/10+-parseInt(e(237))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(K);const j={retryPolicy:()=>new F,sendRequest(t){return e(this,arguments,void 0,function*(t,e={}){const i=W,n=e[i(262)]||1;let r;C[i(238)]("🚀 REQUEST ("+n+") => "+e.method+" "+t),C[i(238)]("-- PARAMETERS =>",e[i(249)]||e[i(248)]||{});const s=Object[i(264)]({Accept:i(252)},e[i(259)]);if(e[i(248)]){const t=new FormData;for(const n in e[i(248)])t.append(n,e[i(248)][n]);r=t}else e.params&&(s["Content-Type"]=i(252),r=JSON.stringify(e[i(249)]));try{const n=yield fetch(t,{method:e.method,headers:s,body:r});if(!n.ok){let t=yield n[i(241)](),e=t[i(260)]||(yield n[i(269)]());throw C[i(270)](i(254)+n[i(250)]+i(263),e),new L.ServerError(n[i(250)],t[i(260)]||i(265))}try{const t=yield n[i(241)]();return C[i(238)](i(243)+n.status+") =>",t.message||i(247)),t}catch(t){throw new(L[i(268)])(t.message||String(t))}}catch(r){if(r instanceof L[i(245)]||r instanceof L.DecodingError)throw r;if(C[i(257)](i(261),r),this[i(256)]()[i(242)](n))return yield this.retryPolicy()[i(258)](),this.sendRequest(t,Object[i(264)](Object[i(264)]({},e),{retryAttempt:n+1}));throw new(L[i(251)])(r[i(260)]||"Unknown error")}})}};function G(t,e){const i=z();return(G=function(t,e){return i[t-=401]})(t,e)}function z(){const t=["500608WTFVnk","hostname","BASE_URL","2183710ydmNTH","fromJson","toISOString","appVersion","2fCCxUy","115074cBmCEr","appFrameWork","baseUrl","success","HASH","PLATFORM","7311117OzkTOX","sendRequest","POST","SDK Config is not set","Initial Config is not set","SDK","5YXxlik","16WrkzkI","CONFIG","157796zldEzB","config","PRODUCTION","result","location","appSettings","other","7dOdeIW","673854zoyZLG","updated_at","12QNioOs","sdkEnvironment","461427ZOBpCv","appToken"];return(z=function(){return t})()}!function(t){const e=G,i=t();for(;;)try{if(388631===parseInt(e(432))/1*(parseInt(e(416))/2)+-parseInt(e(407))/3*(parseInt(e(430))/4)+-parseInt(e(429))/5*(parseInt(e(403))/6)+-parseInt(e(402))/7*(-parseInt(e(409))/8)+parseInt(e(417))/9+parseInt(e(412))/10+-parseInt(e(423))/11*(-parseInt(e(405))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(z);const H={doGetConfig(){return e(this,void 0,void 0,function*(){const t=G,e=U.initialConfig;if(!e)throw"Initial Config is not set";const i={app_token:e[t(408)],app_version:e[t(415)],framework:e[t(418)],env:d[t(406)],sdk_hash:s[t(428)][t(421)],package_name:window.location[t(410)],platform:s[t(428)][t(422)],store_name:"other"},n=yield j[t(424)](s[t(431)][t(411)],{method:t(425),formData:i});return y.fromJson(n[t(435)])})},doGetAppSettings(){return e(this,void 0,void 0,function*(){const t=G,e=U.initialConfig,i=U[t(433)];if(!e)throw t(427);if(!i)throw t(426);if(!i[t(437)])throw"AppSettings Url is not set";const n={app_token:e[t(408)],app_version:e.appVersion,framework:e[t(418)],env:d[t(406)],sdk_hash:s.SDK[t(421)],package_name:window[t(436)].hostname,platform:s[t(428)][t(422)],store_name:t(401)},r=yield j[t(424)](i[t(419)]+i[t(437)],{method:t(425),formData:n});return b[t(413)](r[t(435)])})},doCallRequest(t,i){return e(this,void 0,void 0,function*(){const e=G,n=U.initialConfig,r=U[e(433)];if(!n)throw"Initial Config is not set";if(!r)throw e(426);i[e(404)]=(new Date)[e(414)]();return(yield j.sendRequest(r[e(419)]+t,{method:e(425),params:{needs_response_details:d[e(406)]!=u[e(434)],parameters:i}}))[e(420)]})}},Q=X;function J(){const t=["resume","activeDuration","6875316ljbGzO","pause","hasFocus","10NmDyIh","7636825nPMTuw","2063064tyrdGR","5133624EvDZJQ","s, inactive duration= ","4tCiomi","inactiveDuration","start","ActivityTicker: active duration= ","tickerDelay","404720ooGpiV","tickerJob","now","44puelfO","88302oEJiVi","414854ypxDvF","8TamsTH","stop","isPaused"];return(J=function(){return t})()}function X(t,e){const i=J();return(X=function(t,e){return i[t-=106]})(t,e)}!function(t){const e=X,i=t();for(;;)try{if(752363===-parseInt(e(107))/1*(-parseInt(e(117))/2)+parseInt(e(128))/3+-parseInt(e(129))/4+-parseInt(e(126))/5*(-parseInt(e(116))/6)+-parseInt(e(127))/7*(-parseInt(e(118))/8)+-parseInt(e(123))/9+parseInt(e(112))/10*(parseInt(e(115))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(J);class Z{constructor(){const t=X;this[t(111)]=1e3,this[t(120)]=!1}[Q(109)](){this.tickerJob&&clearInterval(this.tickerJob),this.tickerJob=setInterval(()=>{const t=X;this[t(120)]||document.hidden||document[t(125)]()&&(console.log(t(110)+U[t(122)]/1e3+t(106)+U[t(108)]/1e3+"s"),U.activeTime=Date[t(114)](),U.activeDuration+=this[t(111)])},this.tickerDelay)}[Q(119)](){const t=Q;clearInterval(this[t(113)]),this[t(113)]=void 0}[Q(124)](){this[Q(120)]=!0}[Q(121)](){this[Q(120)]=!1}}const Y=new Z,$=tt;function tt(t,e){const i=nt();return(tt=function(t,e){return i[t-=398]})(t,e)}!function(t){const e=tt,i=t();for(;;)try{if(443832===-parseInt(e(415))/1+parseInt(e(416))/2+parseInt(e(400))/3*(-parseInt(e(414))/4)+-parseInt(e(398))/5*(-parseInt(e(417))/6)+parseInt(e(399))/7*(parseInt(e(418))/8)+parseInt(e(412))/9+parseInt(e(408))/10*(-parseInt(e(413))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(nt);class et{constructor(){this[tt(402)]=null}[$(409)](){return e(this,void 0,void 0,function*(){const t=tt;return!this[t(402)]&&(this[t(402)]=yield this[t(420)]()),this[t(402)]})}[$(420)](){return e(this,void 0,void 0,function*(){const t=[()=>e(this,void 0,void 0,function*(){const t=tt,e=yield this[t(419)](t(406));if(!e.ok)throw new Error(t(407));return(yield e[t(411)]())[t(405)]||null}),()=>e(this,void 0,void 0,function*(){const t=tt,e=yield this[t(419)]("https://free.freeipapi.com/api/json");if(!e.ok)throw new Error("country.is failed");return(yield e[t(411)]())[t(410)]||null}),()=>e(this,void 0,void 0,function*(){const t=tt,e=yield this[t(419)](t(403));if(!e.ok)throw new Error("ipwho.is failed");return(yield e.json())[t(401)]||null})];for(const e of t)try{const t=yield e();if(t)return t}catch(t){}return null})}[$(419)](t){return e(this,arguments,void 0,function*(t,e=2e3){const i=tt,n=new AbortController,r=setTimeout(()=>n.abort(),e);return fetch(t,{signal:n.signal})[i(404)](()=>clearTimeout(r))})}}const it=new et;function nt(){const t=["country.is failed","8510930shzjsm","getCountryCode","countryCode","json","3861306OwSDsR","11ZLKVmr","4SruHlm","699010WEdpFP","1318168IvGQhR","4625178pSZDbN","446792RtLdVU","fetchWithTimeout","tryAllEndpoints","5ghfrxA","35UysjNG","432873XHMOxU","country_code","_country","https://ipwho.is/","finally","country","https://api.country.is"];return(nt=function(){return t})()}function rt(t,e){const i=st();return(rt=function(t,e){return i[t-=381]})(t,e)}function st(){const t=["9nrVCJQ","5590872WCsffL","2154972HFbNQa","28qfSQCC","252ZmiIWO","3416sMCOVf","6528288Bgkvzc","randomUUID","1123935pTdbyy","12764430gRkgeO","13790890rJDEZt"];return(st=function(){return t})()}!function(t){const e=rt,i=t();for(;;)try{if(956976===-parseInt(e(391))/1*(-parseInt(e(390))/2)+-parseInt(e(388))/3+-parseInt(e(389))/4*(-parseInt(e(383))/5)+parseInt(e(387))/6+-parseInt(e(384))/7+-parseInt(e(381))/8+-parseInt(e(386))/9*(-parseInt(e(385))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(st);const ot={generateDeviceUUID:()=>crypto[rt(382)]()};function at(t,e){const i=dt();return(at=function(t,e){return i[t-=170]})(t,e)}const ct=at;!function(t){const e=at,i=t();for(;;)try{if(570513===parseInt(e(183))/1+parseInt(e(172))/2*(-parseInt(e(180))/3)+-parseInt(e(174))/4+parseInt(e(188))/5*(-parseInt(e(170))/6)+parseInt(e(179))/7*(parseInt(e(171))/8)+parseInt(e(181))/9*(parseInt(e(185))/10)+parseInt(e(182))/11*(parseInt(e(191))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(dt);class ut{constructor(t,e){const i=at;this[i(184)]=0,this[i(189)]=3,this.id=crypto.randomUUID(),this.endpoint=t,this.parameters=e,this[i(173)]=Date[i(177)]()}}function dt(){const t=["push","length","now","waitingQueue","7mYWzvH","32418SjeggJ","9UBKjXE","32483BQvpfX","20557dPgNJl","retryCount","7471630wKsHZs","release","locked","797360zlRzwB","maxRetries","acquire","9300NEDoWx","42GbkllL","5493512URYbvk","178tVlZuM","createdAt","4377732rMeepA"];return(dt=function(){return t})()}class lt{constructor(){const t=at;this[t(187)]=!1,this[t(178)]=[]}[ct(190)](){return e(this,void 0,void 0,function*(){return new Promise(t=>{const e=at;this[e(187)]?this.waitingQueue[e(175)](t):(this.locked=!0,t())})})}[ct(186)](){const t=ct;if(this.waitingQueue[t(176)]>0){this.waitingQueue.shift()()}else this[t(187)]=!1}}const pt=ht;function ht(t,e){const i=ft();return(ht=function(t,e){return i[t-=435]})(t,e)}function ft(){const t=["release","pow","MAX_DELAY_MS","processingInterval","480904EhqBxc","warn","inactiveDuration","error","PROCESSING_INTERVAL_MS","getBackoffConfig","getMainRequestsSentFlag","3062AhRJgi","startProcessing","processMainQueue","getQueueStatus","getMainQueue","Applying backoff delay of ","saveMainQueue","shutdown","✅ Request ","calculateBackoffDelay","doCallRequest","acquire","addRequest","requestRecords","subSessionCount","SDK_INFOS","sendRequest","endpoint","3583850tXfVAx","7YFSfBY","min","BACKOFF_MULTIPLIER","initialize","processPendingQueue","now","252906fkYNEG","pendingRequestRecords","firstSessionSubmit","Error sending request ","shift","3BCLOdJ","SDK_CLICKS","isCurrentlyProcessing","resetBackoffDelay","⚠️ Request ","isProcessing","debug","BASE_DELAY_MS","addPendingRequest","915520HoyDjv","length","push_token","maxRetries","⏳ Request ","savePendingQueue","sdkClickSubmit","146SKeLry","isInitialized","postRequestCheck","push","processQueues","11xKPIDe","getPendingQueue","mutex","2678409OTOlmP","failedRequestDelay"," failed after ","SESSIONS","activeDuration","retryCount","parameters","217096LKcLfA","❌ Request "];return(ft=function(){return t})()}!function(t){const e=ht,i=t();for(;;)try{if(198418===parseInt(e(475))/1*(-parseInt(e(503))/2)+-parseInt(e(459))/3*(parseInt(e(496))/4)+-parseInt(e(468))/5+-parseInt(e(454))/6*(-parseInt(e(448))/7)+parseInt(e(490))/8+parseInt(e(483))/9+-parseInt(e(447))/10*(-parseInt(e(480))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ft);class vt{constructor(){const t=ht;this[t(476)]=!1,this[t(464)]=!1,this[t(461)]=!1,this[t(482)]=new lt,this.processingInterval=null,this[t(500)]=100,this[t(484)]=0,this[t(494)]=3e4,this[t(450)]=2,this[t(466)]=1e3}[pt(451)](){return e(this,void 0,void 0,function*(){this[ht(476)]=!0,!this.isProcessing&&(yield this.startProcessing())})}[pt(436)](){return e(this,void 0,void 0,function*(){const t=ht;this[t(476)]&&(yield this.stopProcessing(),this[t(476)]=!1)})}[pt(504)](){return e(this,void 0,void 0,function*(){const t=ht;if(this[t(476)]){yield this[t(482)].acquire();try{if(this[t(464)])return;this.isProcessing=!0,this.processingInterval=setInterval(()=>e(this,void 0,void 0,function*(){const e=t;try{yield this[e(479)]()}catch(t){C[e(499)]("Error in processing loop:",t)}}),this[t(500)])}finally{this[t(482)][t(492)]()}yield this[t(479)]()}else C.warn("Queue Manager is not initialized. Call initialize() first.")})}stopProcessing(){return e(this,void 0,void 0,function*(){const t=ht;yield this[t(482)][t(440)]();try{this[t(464)]=!1,this[t(495)]&&(clearInterval(this[t(495)]),this[t(495)]=null)}finally{this[t(482)][t(492)]()}})}[pt(441)](t){return e(this,void 0,void 0,function*(){const e=ht;yield this[e(482)][e(440)]();try{const i=this[e(507)]();if(i.push(t),this.saveMainQueue(i),this[e(484)]=0,!this[e(464)])return this[e(482)][e(492)](),void(yield this[e(504)]())}finally{this[e(464)]&&this[e(482)][e(492)]()}})}[pt(467)](t){return e(this,void 0,void 0,function*(){const e=ht;yield this[e(482)][e(440)]();try{if(this.getMainRequestsSentFlag()){const i=this.getMainQueue();i[e(478)](t),this[e(435)](i)}else{const i=this[e(481)]();i[e(478)](t),this[e(473)](i)}if(this[e(484)]=0,!this[e(464)])return this[e(482)][e(492)](),void(yield this[e(504)]())}finally{this[e(464)]&&this[e(482)].release()}})}[pt(479)](){return e(this,void 0,void 0,function*(){const t=ht;if(this[t(464)]&&!this[t(461)]){if(this.failedRequestDelay>0){if(Date[t(453)]()<this.failedRequestDelay)return;this[t(484)]=0,C[t(465)]("⏰ Backoff delay ended, resuming queue processing")}this[t(461)]=!0,yield this[t(482)][t(440)]();try{yield this[t(505)](),yield this.processPendingQueue()}finally{this[t(482)].release(),this[t(461)]=!1}}})}processMainQueue(){return e(this,void 0,void 0,function*(){const t=ht,e=this[t(507)]();if(0===e[t(469)])return;const i=e[0];try{if(yield this[t(445)](i))e[t(458)](),this[t(435)](e),this[t(477)](i),C[t(465)](t(437)+i.id+" processed successfully");else{if(e[0].retryCount++,e[0][t(488)]>=e[0].maxRetries){const n=this.calculateBackoffDelay(e[0][t(488)]);this[t(484)]=Date[t(453)]()+n,C.warn(t(472)+i.id+t(485)+i[t(471)]+" attempts. Applying backoff delay of "+n+"ms")}else C[t(497)](t(463)+i.id+" failed. Retry "+e[0][t(488)]+"/"+e[0][t(471)]);this[t(435)](e)}}catch(n){if(C[t(499)](t(457)+i[t(446)]+":",n),e[0][t(488)]++,e[0][t(488)]>=e[0][t(471)]){const n=this[t(438)](e[0][t(488)]);this[t(484)]=Date[t(453)]()+n,C.warn(t(472)+i.id+" failed with error after "+e[0][t(471)]+" attempts. "+(t(508)+n)+"ms")}this[t(435)](e)}})}[pt(438)](t){const e=pt,i=this[e(466)]*Math[e(493)](this[e(450)],t-1);return Math[e(449)](i,this[e(494)])}[pt(452)](){return e(this,void 0,void 0,function*(){const t=ht;if(!this[t(502)]())return;const e=this[t(481)]();if(0===e[t(469)])return;const i=this[t(507)]();i.push(...e),this[t(435)](i),this[t(473)]([]),console.log("📦 Moved "+e.length+" pending requests to main queue")})}sendRequest(t){return e(this,arguments,void 0,function*(t,e=1){const i=ht;C[i(465)]("💥 Sending request ("+t[i(446)]+"): id="+t.id);let n=!1;try{n=yield H[i(439)](t[i(446)],t.parameters)}catch(e){C[i(499)](i(491)+t[i(446)]+" failed",e)}return n})}[pt(507)](){return U[pt(442)]}[pt(435)](t){U[pt(442)]=t}getPendingQueue(){return U[pt(455)]}[pt(473)](t){U[pt(455)]=t}[pt(502)](){return U[pt(474)]}[pt(477)](t){const e=pt;switch(t[e(446)]){case f[e(460)]:U[e(474)]=!0;break;case f[e(486)]:U.firstSessionSubmit?(U[e(487)]=0,U[e(498)]=0,U[e(443)]=1):U[e(456)]=!0;break;case f[e(444)]:U.fcmToken=t[e(489)][e(470)]}}[pt(506)](){const t=pt;return{mainQueueLength:this.getMainQueue()[t(469)],pendingQueueLength:this[t(481)]().length,isProcessing:this.isProcessing,mainRequestsSent:this[t(502)](),isInBackoffDelay:this.failedRequestDelay>0&&Date[t(453)]()<this[t(484)],backoffEndsAt:this[t(484)]>0?this.failedRequestDelay:null}}[pt(462)](){const t=pt;this.failedRequestDelay=0,C[t(465)]("🔄 Backoff delay manually reset")}[pt(501)](){return{baseDelayMs:this[pt(466)],multiplier:this.BACKOFF_MULTIPLIER,maxDelayMs:this.MAX_DELAY_MS}}}const wt=new vt;var gt,bt="user-agent",mt="",It="function",St="undefined",yt="object",kt="string",Et="browser",_t="cpu",Tt="device",Ct="engine",xt="os",Nt="result",Dt="name",Ot="type",Rt="vendor",At="version",Ut="architecture",Lt="major",Pt="model",qt="console",Mt="mobile",Bt="tablet",Vt="smarttv",Ft="wearable",Wt="xr",Kt="embedded",jt="inapp",Gt="brands",zt="formFactors",Ht="fullVersionList",Qt="platform",Jt="platformVersion",Xt="bitness",Zt="sec-ch-ua",Yt=Zt+"-full-version-list",$t=Zt+"-arch",te=Zt+"-"+Xt,ee=Zt+"-form-factors",ie=Zt+"-"+Mt,ne=Zt+"-"+Pt,re=Zt+"-"+Qt,se=re+"-version",oe=[Gt,Ht,Mt,Pt,Qt,Jt,Ut,zt,Xt],ae="Amazon",ce="Apple",ue="ASUS",de="BlackBerry",le="Google",pe="Huawei",he="Lenovo",fe="Honor",ve="LG",we="Microsoft",ge="Motorola",be="Nvidia",me="OnePlus",Ie="OPPO",Se="Samsung",ye="Sharp",ke="Sony",Ee="Xiaomi",_e="Zebra",Te="Chrome",Ce="Chromium",xe="Chromecast",Ne="Edge",De="Firefox",Oe="Opera",Re="Facebook",Ae="Sogou",Ue="Mobile ",Le=" Browser",Pe="Windows",qe=typeof window!==St&&window.navigator?window.navigator:void 0,Me=qe&&qe.userAgentData?qe.userAgentData:void 0,Be=function(t){for(var e={},i=0;i<t.length;i++)e[t[i].toUpperCase()]=t[i];return e},Ve=function(t,e){if(typeof t===yt&&t.length>0){for(var i in t)if(je(e)==je(t[i]))return!0;return!1}return!!We(t)&&je(e)==je(t)},Fe=function(t,e){for(var i in t)return/^(browser|cpu|device|engine|os)$/.test(i)||!!e&&Fe(t[i])},We=function(t){return typeof t===kt},Ke=function(t){if(t){for(var e=[],i=He(/\\?\"/g,t).split(","),n=0;n<i.length;n++)if(i[n].indexOf(";")>-1){var r=Je(i[n]).split(";v=");e[n]={brand:r[0],version:r[1]}}else e[n]=Je(i[n]);return e}},je=function(t){return We(t)?t.toLowerCase():t},Ge=function(t){return We(t)?He(/[^\d\.]/g,t).split(".")[0]:void 0},ze=function(t){for(var e in t){var i=t[e];typeof i==yt&&2==i.length?this[i[0]]=i[1]:this[i]=void 0}return this},He=function(t,e){return We(e)?e.replace(t,mt):e},Qe=function(t){return He(/\\?\"/g,t)},Je=function(t,e){if(We(t))return t=He(/^\s\s*/,t),typeof e===St?t:t.substring(0,500)},Xe=function(t,e){if(t&&e)for(var i,n,r,s,o,a,c=0;c<e.length&&!o;){var u=e[c],d=e[c+1];for(i=n=0;i<u.length&&!o&&u[i];)if(o=u[i++].exec(t))for(r=0;r<d.length;r++)a=o[++n],typeof(s=d[r])===yt&&s.length>0?2===s.length?typeof s[1]==It?this[s[0]]=s[1].call(this,a):this[s[0]]=s[1]:s.length>=3&&(typeof s[1]!==It||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}},Ze=function(t,e){for(var i in e)if(typeof e[i]===yt&&e[i].length>0){for(var n=0;n<e[i].length;n++)if(Ve(e[i][n],t))return"?"===i?void 0:i}else if(Ve(e[i],t))return"?"===i?void 0:i;return e.hasOwnProperty("*")?e["*"]:t},Ye={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:""},$e={embedded:"Automotive",mobile:"Mobile",tablet:["Tablet","EInk"],smarttv:"TV",wearable:"Watch",xr:["VR","XR"],"?":["Desktop","Unknown"],"*":void 0},ti={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"},ei={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[At,[Dt,Ue+"Chrome"]],[/webview.+edge\/([\w\.]+)/i],[At,[Dt,Ne+" WebView"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[At,[Dt,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[Dt,At],[/opios[\/ ]+([\w\.]+)/i],[At,[Dt,Oe+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[At,[Dt,Oe+" GX"]],[/\bopr\/([\w\.]+)/i],[At,[Dt,Oe]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[At,[Dt,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[At,[Dt,"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],[Dt,At],[/quark(?:pc)?\/([-\w\.]+)/i],[At,[Dt,"Quark"]],[/\bddg\/([\w\.]+)/i],[At,[Dt,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[At,[Dt,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[At,[Dt,"WeChat"]],[/konqueror\/([\w\.]+)/i],[At,[Dt,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[At,[Dt,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[At,[Dt,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[At,[Dt,"Smart "+he+Le]],[/(avast|avg)\/([\w\.]+)/i],[[Dt,/(.+)/,"$1 Secure"+Le],At],[/\bfocus\/([\w\.]+)/i],[At,[Dt,De+" Focus"]],[/\bopt\/([\w\.]+)/i],[At,[Dt,Oe+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[At,[Dt,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[At,[Dt,"Dolphin"]],[/coast\/([\w\.]+)/i],[At,[Dt,Oe+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[At,[Dt,"MIUI"+Le]],[/fxios\/([\w\.-]+)/i],[At,[Dt,Ue+De]],[/\bqihoobrowser\/?([\w\.]*)/i],[At,[Dt,"360"]],[/\b(qq)\/([\w\.]+)/i],[[Dt,/(.+)/,"$1Browser"],At],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[Dt,/(.+)/,"$1"+Le],At],[/samsungbrowser\/([\w\.]+)/i],[At,[Dt,Se+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[At,[Dt,Ae+" Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[Dt,Ae+" Mobile"],At],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[Dt,At],[/(lbbrowser|rekonq)/i],[Dt],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[At,Dt],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[Dt,Re],At,[Ot,jt]],[/(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],[Dt,At,[Ot,jt]],[/\bgsa\/([\w\.]+) .*safari\//i],[At,[Dt,"GSA"],[Ot,jt]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[At,[Dt,"TikTok"],[Ot,jt]],[/\[(linkedin)app\]/i],[Dt,[Ot,jt]],[/(chromium)[\/ ]([-\w\.]+)/i],[Dt,At],[/headlesschrome(?:\/([\w\.]+)| )/i],[At,[Dt,Te+" Headless"]],[/wv\).+chrome\/([\w\.]+).+edgw\//i],[At,[Dt,Ne+" WebView2"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[Dt,Te+" WebView"],At],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[At,[Dt,"Android"+Le]],[/chrome\/([\w\.]+) mobile/i],[At,[Dt,Ue+"Chrome"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[Dt,At],[/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i],[At,[Dt,Ue+"Safari"]],[/iphone .*mobile(?:\/\w+ | ?)safari/i],[[Dt,Ue+"Safari"]],[/version\/([\w\.\,]+) .*(safari)/i],[At,Dt],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[Dt,[At,"1"]],[/(webkit|khtml)\/([\w\.]+)/i],[Dt,At],[/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i],[[Dt,Ue+De],At],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[Dt,"Netscape"],At],[/(wolvic|librewolf)\/([\w\.]+)/i],[Dt,At],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[At,[Dt,De+" 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],[Dt,[At,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[Dt,[At,/[^\d\.]+./,mt]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[Ut,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[Ut,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[Ut,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[Ut,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[Ut,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[Ut,/ower/,mt,je]],[/ sun4\w[;\)]/i],[[Ut,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[Ut,je]]],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],[Pt,[Rt,Se],[Ot,Bt]],[/\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],[Pt,[Rt,Se],[Ot,Mt]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[Pt,[Rt,ce],[Ot,Mt]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[Pt,[Rt,ce],[Ot,Bt]],[/(macintosh);/i],[Pt,[Rt,ce]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[Pt,[Rt,ye],[Ot,Mt]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[Pt,[Rt,fe],[Ot,Bt]],[/honor([-\w ]+)[;\)]/i],[Pt,[Rt,fe],[Ot,Mt]],[/\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],[Pt,[Rt,pe],[Ot,Bt]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[Pt,[Rt,pe],[Ot,Mt]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[Pt,/_/g," "],[Rt,Ee],[Ot,Bt]],[/\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],[[Pt,/_/g," "],[Rt,Ee],[Ot,Mt]],[/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],[Pt,[Rt,me],[Ot,Mt]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[Pt,[Rt,Ie],[Ot,Mt]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[Pt,[Rt,Ze,{OnePlus:["203","304","403","404","413","415"],"*":Ie}],[Ot,Bt]],[/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i],[Pt,[Rt,"BLU"],[Ot,Mt]],[/; vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[Pt,[Rt,"Vivo"],[Ot,Mt]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[Pt,[Rt,"Realme"],[Ot,Mt]],[/(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],[Pt,[Rt,he],[Ot,Bt]],[/lenovo[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i],[Pt,[Rt,he],[Ot,Mt]],[/\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],[Pt,[Rt,ge],[Ot,Mt]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[Pt,[Rt,ge],[Ot,Bt]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[Pt,[Rt,ve],[Ot,Bt]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch|webos))(\w+)/i,/\blg-?([\d\w]+) bui/i],[Pt,[Rt,ve],[Ot,Mt]],[/(nokia) (t[12][01])/i],[Rt,Pt,[Ot,Bt]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[Pt,/_/g," "],[Ot,Mt],[Rt,"Nokia"]],[/(pixel (c|tablet))\b/i],[Pt,[Rt,le],[Ot,Bt]],[/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],[Pt,[Rt,le],[Ot,Mt]],[/(google) (pixelbook( go)?)/i],[Rt,Pt],[/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],[Pt,[Rt,ke],[Ot,Mt]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[Pt,"Xperia Tablet"],[Rt,ke],[Ot,Bt]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[Pt,[Rt,ae],[Ot,Bt]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[Pt,/(.+)/g,"Fire Phone $1"],[Rt,ae],[Ot,Mt]],[/(playbook);[-\w\),; ]+(rim)/i],[Pt,Rt,[Ot,Bt]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[Pt,[Rt,de],[Ot,Mt]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[Pt,[Rt,ue],[Ot,Bt]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[Pt,[Rt,ue],[Ot,Mt]],[/(nexus 9)/i],[Pt,[Rt,"HTC"],[Ot,Bt]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[Rt,[Pt,/_/g," "],[Ot,Mt]],[/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],[Pt,[Rt,"TCL"],[Ot,Bt]],[/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],[Pt,[Rt,"TCL"],[Ot,Mt]],[/(itel) ((\w+))/i],[[Rt,je],Pt,[Ot,Ze,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[Pt,[Rt,"Acer"],[Ot,Bt]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[Pt,[Rt,"Meizu"],[Ot,Mt]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[Pt,[Rt,"Ulefone"],[Ot,Mt]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[Pt,[Rt,"Energizer"],[Ot,Mt]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[Pt,[Rt,"Cat"],[Ot,Mt]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[Pt,[Rt,"Smartfren"],[Ot,Mt]],[/droid.+; (a(in)?(0(15|59|6[35])|142)p?)/i],[Pt,[Rt,"Nothing"],[Ot,Mt]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[Pt,[Rt,"Archos"],[Ot,Bt]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[Pt,[Rt,"Archos"],[Ot,Mt]],[/; (n159v)/i],[Pt,[Rt,"HMD"],[Ot,Mt]],[/(imo) (tab \w+)/i,/(infinix|tecno) (x1101b?|p904|dp(7c|8d|10a)( pro)?|p70[1-3]a?|p904|t1101)/i],[Rt,Pt,[Ot,Bt]],[/(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],[Rt,Pt,[Ot,Mt]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i],[Rt,Pt,[Ot,Bt]],[/(surface duo)/i],[Pt,[Rt,we],[Ot,Bt]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[Pt,[Rt,"Fairphone"],[Ot,Mt]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[Pt,[Rt,be],[Ot,Bt]],[/(sprint) (\w+)/i],[Rt,Pt,[Ot,Mt]],[/(kin\.[onetw]{3})/i],[[Pt,/\./g," "],[Rt,we],[Ot,Mt]],[/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[Pt,[Rt,_e],[Ot,Bt]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[Pt,[Rt,_e],[Ot,Mt]],[/smart-tv.+(samsung)/i],[Rt,[Ot,Vt]],[/hbbtv.+maple;(\d+)/i],[[Pt,/^/,"SmartTV"],[Rt,Se],[Ot,Vt]],[/(vizio)(?: |.+model\/)(\w+-\w+)/i,/tcast.+(lg)e?. ([-\w]+)/i],[Rt,Pt,[Ot,Vt]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[Rt,ve],[Ot,Vt]],[/(apple) ?tv/i],[Rt,[Pt,ce+" TV"],[Ot,Vt]],[/crkey.*devicetype\/chromecast/i],[[Pt,xe+" Third Generation"],[Rt,le],[Ot,Vt]],[/crkey.*devicetype\/([^/]*)/i],[[Pt,/^/,"Chromecast "],[Rt,le],[Ot,Vt]],[/fuchsia.*crkey/i],[[Pt,xe+" Nest Hub"],[Rt,le],[Ot,Vt]],[/crkey/i],[[Pt,xe],[Rt,le],[Ot,Vt]],[/(portaltv)/i],[Pt,[Rt,Re],[Ot,Vt]],[/droid.+aft(\w+)( bui|\))/i],[Pt,[Rt,ae],[Ot,Vt]],[/(shield \w+ tv)/i],[Pt,[Rt,be],[Ot,Vt]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[Pt,[Rt,ye],[Ot,Vt]],[/(bravia[\w ]+)( bui|\))/i],[Pt,[Rt,ke],[Ot,Vt]],[/(mi(tv|box)-?\w+) bui/i],[Pt,[Rt,Ee],[Ot,Vt]],[/Hbbtv.*(technisat) (.*);/i],[Rt,Pt,[Ot,Vt]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[Rt,/.+\/(\w+)/,"$1",Ze,{LG:"lge"}],[Pt,Je],[Ot,Vt]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[Pt,[Ot,Vt]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:|large screen[\w ]+safari)\b/i],[[Ot,Vt]],[/(playstation \w+)/i],[Pt,[Rt,ke],[Ot,qt]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[Pt,[Rt,we],[Ot,qt]],[/(ouya)/i,/(nintendo) (\w+)/i,/(retroid) (pocket ([^\)]+))/i],[Rt,Pt,[Ot,qt]],[/droid.+; (shield)( bui|\))/i],[Pt,[Rt,be],[Ot,qt]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[Pt,[Rt,Se],[Ot,Ft]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[Rt,Pt,[Ot,Ft]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[Pt,[Rt,Ie],[Ot,Ft]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[Pt,[Rt,ce],[Ot,Ft]],[/(opwwe\d{3})/i],[Pt,[Rt,me],[Ot,Ft]],[/(moto 360)/i],[Pt,[Rt,ge],[Ot,Ft]],[/(smartwatch 3)/i],[Pt,[Rt,ke],[Ot,Ft]],[/(g watch r)/i],[Pt,[Rt,ve],[Ot,Ft]],[/droid.+; (wt63?0{2,3})\)/i],[Pt,[Rt,_e],[Ot,Ft]],[/droid.+; (glass) \d/i],[Pt,[Rt,le],[Ot,Wt]],[/(pico) (4|neo3(?: link|pro)?)/i],[Rt,Pt,[Ot,Wt]],[/(quest( \d| pro)?s?).+vr/i],[Pt,[Rt,Re],[Ot,Wt]],[/mobile vr; rv.+firefox/i],[[Ot,Wt]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[Rt,[Ot,Kt]],[/(aeobc)\b/i],[Pt,[Rt,ae],[Ot,Kt]],[/(homepod).+mac os/i],[Pt,[Rt,ce],[Ot,Kt]],[/windows iot/i],[[Ot,Kt]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+?(mobile|vr|\d) safari/i],[Pt,[Ot,Ze,{mobile:"Mobile",xr:"VR","*":Bt}]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[Ot,Bt]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[Ot,Mt]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[Pt,[Rt,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[At,[Dt,Ne+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[Dt,At],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[At,[Dt,"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],[Dt,At],[/ladybird\//i],[[Dt,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[At,Dt]],os:[[/(windows nt) (6\.[23]); arm/i],[[Dt,/N/,"R"],[At,Ze,Ye]],[/(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],[Dt,At],[/windows nt ?([\d\.\)]*)(?!.+xbox)/i,/\bwin(?=3| ?9|n)(?:nt| 9x )?([\d\.;]*)/i],[[At,/(;|\))/g,"",Ze,Ye],[Dt,Pe]],[/(windows ce)\/?([\d\.]*)/i],[Dt,At],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[At,/_/g,"."],[Dt,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+(haiku|morphos))/i],[[Dt,"macOS"],[At,/_/g,"."]],[/android ([\d\.]+).*crkey/i],[At,[Dt,xe+" Android"]],[/fuchsia.*crkey\/([\d\.]+)/i],[At,[Dt,xe+" Fuchsia"]],[/crkey\/([\d\.]+).*devicetype\/smartspeaker/i],[At,[Dt,xe+" SmartSpeaker"]],[/linux.*crkey\/([\d\.]+)/i],[At,[Dt,xe+" Linux"]],[/crkey\/([\d\.]+)/i],[At,[Dt,xe]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[At,Dt],[/(ubuntu) ([\w\.]+) like android/i],[[Dt,/(.+)/,"$1 Touch"],At],[/(harmonyos)[\/ ]?([\d\.]*)/i,/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen)\w*[-\/\.; ]?([\d\.]*)/i],[Dt,At],[/\(bb(10);/i],[At,[Dt,de]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[At,[Dt,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[At,[Dt,De+" OS"]],[/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i,/webos(?:[ \/]?|\.tv-20(?=2[2-9]))(\d[\d\.]*)/i],[At,[Dt,"webOS"]],[/web0s;.+?(?:chr[o0]me|safari)\/(\d+)/i],[[At,Ze,{25:"120",24:"108",23:"94",22:"87",6:"79",5:"68",4:"53",3:"38",2:"538",1:"537","*":"TV"}],[Dt,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[At,[Dt,"watchOS"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[Dt,"Chrome OS"],At],[/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],[Dt,At],[/(sunos) ?([\d\.]*)/i],[[Dt,"Solaris"],At],[/\b(beos|os\/2|amigaos|openvms|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[Dt,At]]},ii=(ze.call((gt={init:{},isIgnore:{},isIgnoreRgx:{},toString:{}}).init,[[Et,[Dt,At,Lt,Ot]],[_t,[Ut]],[Tt,[Ot,Pt,Rt]],[Ct,[Dt,At]],[xt,[Dt,At]]]),ze.call(gt.isIgnore,[[Et,[At,Lt]],[Ct,[At]],[xt,[At]]]),ze.call(gt.isIgnoreRgx,[[Et,/ ?browser$/i],[xt,/ ?os$/i]]),ze.call(gt.toString,[[Et,[Dt,At]],[_t,[Ut]],[Tt,[Rt,Pt]],[Ct,[Dt,At]],[xt,[Dt,At]]]),gt),ni=function(t,e){var i=ii.init[e],n=ii.isIgnore[e]||0,r=ii.isIgnoreRgx[e]||0,s=ii.toString[e]||0;function o(){ze.call(this,i)}return o.prototype.getItem=function(){return t},o.prototype.withClientHints=function(){return Me?Me.getHighEntropyValues(oe).then(function(e){return t.setCH(new ri(e,!1)).parseCH().get()}):t.parseCH().get()},o.prototype.withFeatureCheck=function(){return t.detectFeature().get()},e!=Nt&&(o.prototype.is=function(t){var e=!1;for(var i in this)if(this.hasOwnProperty(i)&&!Ve(n,i)&&je(r?He(r,this[i]):this[i])==je(r?He(r,t):t)){if(e=!0,t!=St)break}else if(t==St&&e){e=!e;break}return e},o.prototype.toString=function(){var t=mt;for(var e in s)typeof this[s[e]]!==St&&(t+=(t?" ":mt)+this[s[e]]);return t||St}),Me||(o.prototype.then=function(t){var e=this,i=function(){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])};i.prototype={is:o.prototype.is,toString:o.prototype.toString};var n=new i;return t(n),n}),new o};function ri(t,e){if(t=t||{},ze.call(this,oe),e)ze.call(this,[[Gt,Ke(t[Zt])],[Ht,Ke(t[Yt])],[Mt,/\?1/.test(t[ie])],[Pt,Qe(t[ne])],[Qt,Qe(t[re])],[Jt,Qe(t[se])],[Ut,Qe(t[$t])],[zt,Ke(t[ee])],[Xt,Qe(t[te])]]);else for(var i in t)this.hasOwnProperty(i)&&typeof t[i]!==St&&(this[i]=t[i])}function si(t,e,i,n){return this.get=function(t){return t?this.data.hasOwnProperty(t)?this.data[t]:void 0:this.data},this.set=function(t,e){return this.data[t]=e,this},this.setCH=function(t){return this.uaCH=t,this},this.detectFeature=function(){if(qe&&qe.userAgent==this.ua)switch(this.itemType){case Et:qe.brave&&typeof qe.brave.isBrave==It&&this.set(Dt,"Brave");break;case Tt:!this.get(Ot)&&Me&&Me[Mt]&&this.set(Ot,Mt),"Macintosh"==this.get(Pt)&&qe&&typeof qe.standalone!==St&&qe.maxTouchPoints&&qe.maxTouchPoints>2&&this.set(Pt,"iPad").set(Ot,Bt);break;case xt:!this.get(Dt)&&Me&&Me[Qt]&&this.set(Dt,Me[Qt]);break;case Nt:var t=this.data,e=function(e){return t[e].getItem().detectFeature().get()};this.set(Et,e(Et)).set(_t,e(_t)).set(Tt,e(Tt)).set(Ct,e(Ct)).set(xt,e(xt))}return this},this.parseUA=function(){return this.itemType!=Nt&&Xe.call(this.data,this.ua,this.rgxMap),this.itemType==Et&&this.set(Lt,Ge(this.get(At))),this},this.parseCH=function(){var t=this.uaCH,e=this.rgxMap;switch(this.itemType){case Et:case Ct:var i,n=t[Ht]||t[Gt];if(n)for(var r in n){var s=n[r].brand||n[r],o=n[r].version;this.itemType==Et&&!/not.a.brand/i.test(s)&&(!i||/Chrom/.test(i)&&s!=Ce||i==Ne&&/WebView2/.test(s))&&(s=Ze(s,ti),(i=this.get(Dt))&&!/Chrom/.test(i)&&/Chrom/.test(s)||this.set(Dt,s).set(At,o).set(Lt,Ge(o)),i=s),this.itemType==Ct&&s==Ce&&this.set(At,o)}break;case _t:var a=t[Ut];a&&(a&&"64"==t[Xt]&&(a+="64"),Xe.call(this.data,a+";",e));break;case Tt:if(t[Mt]&&this.set(Ot,Mt),t[Pt]&&(this.set(Pt,t[Pt]),!this.get(Ot)||!this.get(Rt))){var c={};Xe.call(c,"droid 9; "+t[Pt]+")",e),!this.get(Ot)&&c.type&&this.set(Ot,c.type),!this.get(Rt)&&c.vendor&&this.set(Rt,c.vendor)}if(t[zt]){var u;if("string"!=typeof t[zt])for(var d=0;!u&&d<t[zt].length;)u=Ze(t[zt][d++],$e);else u=Ze(t[zt],$e);this.set(Ot,u)}break;case xt:var l=t[Qt];if(l){var p=t[Jt];l==Pe&&(p=parseInt(Ge(p),10)>=13?"11":"10"),this.set(Dt,l).set(At,p)}this.get(Dt)==Pe&&"Xbox"==t[Pt]&&this.set(Dt,"Xbox").set(At,void 0);break;case Nt:var h=this.data,f=function(e){return h[e].getItem().setCH(t).parseCH().get()};this.set(Et,f(Et)).set(_t,f(_t)).set(Tt,f(Tt)).set(Ct,f(Ct)).set(xt,f(xt))}return this},ze.call(this,[["itemType",t],["ua",e],["uaCH",n],["rgxMap",i],["data",ni(this,t)]]),this}function oi(t,e,i){if(typeof t===yt?(Fe(t,!0)?(typeof e===yt&&(i=e),e=t):(i=t,e=void 0),t=void 0):typeof t!==kt||Fe(e,!0)||(i=e,e=void 0),i&&typeof i.append===It){var n={};i.forEach(function(t,e){n[e]=t}),i=n}if(!(this instanceof oi))return new oi(t,e,i).getResult();var r=typeof t===kt?t:i&&i[bt]?i[bt]:qe&&qe.userAgent?qe.userAgent:mt,s=new ri(i,!0),o=e?function(t,e){var i={},n=e;if(!Fe(e))for(var r in n={},e)for(var s in e[r])n[s]=e[r][s].concat(n[s]?n[s]:[]);for(var o in t)i[o]=n[o]&&n[o].length%2==0?n[o].concat(t[o]):t[o];return i}(ei,e):ei,a=function(t){return t==Nt?function(){return new si(t,r,o,s).set("ua",r).set(Et,this.getBrowser()).set(_t,this.getCPU()).set(Tt,this.getDevice()).set(Ct,this.getEngine()).set(xt,this.getOS()).get()}:function(){return new si(t,r,o[t],s).parseUA().get()}};return ze.call(this,[["getBrowser",a(Et)],["getCPU",a(_t)],["getDevice",a(Tt)],["getEngine",a(Ct)],["getOS",a(xt)],["getResult",a(Nt)],["getUA",function(){return r}],["setUA",function(t){return We(t)&&(r=t.length>500?Je(t,500):t),this}]]).setUA(r),this}oi.VERSION="2.0.4",oi.BROWSER=Be([Dt,At,Lt,Ot]),oi.CPU=Be([Ut]),oi.DEVICE=Be([Pt,Rt,Ot,qt,Mt,Vt,Bt,Ft,Kt]),oi.ENGINE=oi.OS=Be([Dt,At]);const ai=ci;function ci(t,e){const i=di();return(ci=function(t,e){return i[t-=305]})(t,e)}!function(t){const e=ci,i=t();for(;;)try{if(599432===-parseInt(e(342))/1*(parseInt(e(340))/2)+parseInt(e(311))/3+parseInt(e(352))/4*(-parseInt(e(348))/5)+parseInt(e(354))/6+parseInt(e(365))/7*(-parseInt(e(363))/8)+parseInt(e(318))/9+parseInt(e(347))/10*(-parseInt(e(345))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(di);class ui{getDeviceInfo(){const t=ci,e=(new oi)[t(325)]();return{browser:e[t(357)],os:e.os,device:e[t(331)],engine:e[t(319)],cpu:e[t(343)],ua:e.ua}}get[ai(349)](){const t=ai;return window[t(338)]>=3?t(313):window[t(338)]>=2?t(364):t(332)}get[ai(334)](){const t=ai;return window.innerHeight>window[t(353)]?t(314):t(356)}get[ai(315)](){const t=ai,e=window[t(353)];return e<480?t(341):e<768?t(356):e<1440?t(355):"xlarge"}get[ai(305)](){const t=ai;var e,i,n;const r=this.getDeviceInfo(),s=(null===(e=r[t(331)])||void 0===e?void 0:e[t(326)])||"",o=(null===(n=null===(i=r[t(331)])||void 0===i?void 0:i[t(321)])||void 0===n?void 0:n[t(344)]())||"",a=r.ua[t(344)]();return s===t(309)||o[t(359)](t(329))?6:s===t(362)||a.includes(t(339))||a[t(359)]("hbbtv")||a[t(359)](t(335))||a.includes(t(328))||a[t(359)](t(322))?4:s===t(320)||a[t(359)](t(308))||a[t(359)](t(306))||a[t(359)](t(316))?5:a.includes(t(310))||a[t(359)]("android auto")||a.includes(t(361))?3:a.includes(t(307))||a[t(359)]("vive")||a[t(359)]("vr")||s===t(360)?7:"mobile"===s||s===t(330)?1:""===s||"desktop"===s?2:0}get[ai(336)](){const t=ai;return window.matchMedia&&window[t(323)](t(333)).matches?"1":"0"}get[ai(317)](){const t=ai,e=window[t(338)]||1,i=screen[t(324)]*e/160,n=screen.height*e/160;return Math[t(350)](Math[t(351)](i,2)+Math.pow(n,2))[t(327)](2)}get screenType(){const t=ai;return t(346)in window||navigator[t(312)]>0?t(337):t(358)}}function di(){const t=["nintendo","displaySize","8278677SnIRGP","engine","console","model","appletv","matchMedia","width","getResult","type","toFixed","googletv","watch","tablet","device","low","(prefers-color-scheme: dark)","screenFormat","netcast","uiStyle","touch","devicePixelRatio","smart-tv","2Gxwezx","small","927037ZQJwpu","cpu","toLowerCase","11OzMfIt","ontouchstart","1713050qQPqRG","737805mqKHnX","screenDensity","sqrt","pow","16mPJWNZ","innerWidth","6724086KiVisB","large","normal","browser","pointer","includes","embedded","carplay","smarttv","3479024BsjtHW","medium","7guDNfh","uiMode","xbox","oculus","playstation","wearable","car","2047086DWtUnr","maxTouchPoints","high","long","screenSize"];return(di=function(){return t})()}const li=new ui;function pi(t,e){const i=fi();return(pi=function(t,e){return i[t-=487]})(t,e)}const hi=pi;function fi(){const t=["7467665wKqluu","181788yOaAzZ","key","removeItem","supportResults","10334298dRQmVC","1785482JUWoWm","11QOECGF","2SdFINI","onerror","open","isIndexedDBSupported","length","setItem","1359fbRkJz","indexedDB","getItem","45ILtkll","close","__test__check__","isLocalStorageSupported","4376288cNxATa","onsuccess","__test__","isSessionStorageSupported","60560onVQnR","29299630LRrfdn"];return(fi=function(){return t})()}!function(t){const e=pi,i=t();for(;;)try{if(950430===parseInt(e(511))/1*(-parseInt(e(509))/2)+-parseInt(e(493))/3*(-parseInt(e(504))/4)+parseInt(e(503))/5+parseInt(e(508))/6+parseInt(e(497))/7+parseInt(e(501))/8*(parseInt(e(490))/9)+parseInt(e(502))/10*(-parseInt(e(510))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fi);class vi{constructor(){this.supportResults=null}getSupportResult(){return e(this,void 0,void 0,function*(){const t=pi;if(this[t(507)])return this[t(507)];const e=this[t(496)](),i=this[t(500)](),n=yield this.isIndexedDBSupported();return this[t(507)]={localStorage:e,sessionStorage:i,indexedDB:n},this[t(507)]})}getStorageSizeBytes(t){const e=pi;let i=0;for(let n=0;n<t[e(488)];n++){const r=t[e(505)](n);if(!r)continue;const s=t[e(492)](r);null!=s&&(i+=2*r[e(488)],i+=2*s.length)}return i}[hi(496)](){const t=hi;try{const e=t(499);return localStorage[t(489)](e,"1"),localStorage[t(506)](e),!0}catch(t){return!1}}isSessionStorageSupported(){const t=hi;try{const e="__test__";return sessionStorage[t(489)](e,"1"),sessionStorage.removeItem(e),!0}catch(t){return!1}}[hi(487)](){const t=hi;return t(491)in window?new Promise(e=>{const i=t;try{const t=indexedDB[i(513)](i(495));t[i(512)]=()=>e(!1),t[i(498)]=()=>{const n=i;t.result[n(494)](),indexedDB.deleteDatabase("__test__check__"),e(!0)}}catch(t){e(!1)}}):Promise.resolve(!1)}}const wi=new vi,gi=mi;function bi(){const t=["Backbone.js","[x-data], [x-init], [x-bind]","includes","4lGEDZE","Ghost CMS","__reactContainer","Next.js","hostname","innerHTML","scripts","7173445kUKsPc","svelte","Wix","search","[data-v-app], [data-v-]","documentElement",".ng-binding, [ng-app], [data-ng-app], [ng-controller], [data-ng-controller], [ng-repeat], [data-ng-repeat]","wp-includes","[data-reactroot], [data-reactid]","__VUE__","querySelector","Laravel","_reactRootContainer","[id=___gatsby]","Alpine.js","Zepto","map","location","/_nuxt/","Backbone","/_next/","200cqIZzW","utm_source","src","1030422KCgVtc","organic","354517HZSbbv","Shopify","90713SVOCpd","mix-manifest.json","Angular","Nuxt.js","wp-content","Gatsby.js","2TuYtLY","React","Vue","Zepto.js","Vue.js","250284thOODw",'meta[name="generator"][content*="Ghost"]',"jQuery","439330AYXjyj","some","startsWith","WordPress","detectWebFramework",'meta[name="generator"][content*="WordPress"]',"keys","Svelte","textContent",'script[src*="angular.js"], script[src*="angular.min.js"]',"querySelectorAll",'meta[name="generator"][content*="Drupal"]',"script[id=__NEXT_DATA__]","/js/app.js","891wNvcVa","getUTMParamsString","7902234MTQhPB","entries","Squarespace","wix.com"];return(bi=function(){return t})()}function mi(t,e){const i=bi();return(mi=function(t,e){return i[t-=230]})(t,e)}!function(t){const e=mi,i=t();for(;;)try{if(891212===parseInt(e(284))/1+-parseInt(e(292))/2*(parseInt(e(282))/3)+parseInt(e(251))/4*(-parseInt(e(258))/5)+-parseInt(e(297))/6+-parseInt(e(286))/7*(parseInt(e(279))/8)+-parseInt(e(244))/9+parseInt(e(300))/10*(parseInt(e(242))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(bi);class Ii{static[gi(243)](){const t=gi,e=new URLSearchParams(window[t(275)][t(261)]),i={};for(const[n,r]of e[t(245)]())n[t(230)]("utm_")&&r&&(i[n]=r);if(!i[t(280)]){const e=document.referrer;i[t(280)]=e?new URL(e)[t(255)]:"other"}return!i.utm_medium&&(i.utm_medium=t(283)),Object.entries(i)[t(274)](([t,e])=>t+"="+encodeURIComponent(e)).join("&")}}Ii[gi(232)]=()=>{const t=gi;return document[t(268)](t(240))||[...document[t(257)]].some(e=>e.src.includes(t(278)))?t(254):window[t(293)]||document[t(268)](t(266))||Array.from(document[t(238)]("*")).some(e=>void 0!==e[t(270)]||Object[t(234)](e)[t(301)](e=>e[t(230)](t(253))))||window.__REACT_DEVTOOLS_GLOBAL_HOOK__?t(293):[...document[t(257)]][t(301)](e=>e[t(281)][t(250)](t(276)))?t(289):window[t(267)]||window[t(294)]||document[t(268)](t(262))?t(296):document[t(268)](t(271))?t(291):window||document[t(268)](t(264))||document[t(268)](t(237))||window.ng||document.querySelector("[ng-version]")?t(288):[...document[t(257)]].some(e=>{const i=t;var n;return e.src[i(250)](i(259))||(null===(n=e[i(236)])||void 0===n?void 0:n.includes("svelte"))})?t(235):document[t(268)](t(249))?t(272):window.jQuery?t(299):window[t(277)]?t(248):window.Meteor?"Meteor.js":window[t(273)]?t(295):document[t(268)](t(233))||[...document.scripts].some(e=>e[t(281)][t(250)](t(290))||e[t(281)].includes(t(265)))?t(231):[...document.scripts][t(301)](e=>e[t(281)][t(250)](t(241))||e[t(281)][t(250)](t(287)))?t(269):document[t(268)](t(239))||document[t(263)][t(256)][t(250)]("drupal-settings-json")?"Drupal":document[t(263)][t(256)][t(250)]("cdn.shopify.com")?t(285):[...document[t(257)]].some(e=>e[t(281)][t(250)]("static.squarespace.com"))?t(246):[...document.scripts].some(e=>e[t(281)][t(250)](t(247)))?t(260):document.querySelector(t(298))?t(252):void 0};const Si=ki;function yi(){const t=["14px 'Arial'","2tGBLxM","WEBGL_debug_renderer_info","5796935EaYnoT","fillStyle","fillText","714290EGaEiS","map","42NkFlVL","hashData","textBaseline","experimental-webgl","45PpmhiP","string","from","getCanvasFingerprint","toDataURL","join","renderer","MAX_RENDERBUFFER_SIZE","createElement","getExtension","VENDOR","getParameter","#069","693536ftiXjE","12548646eakrId","getSupportedExtensions","4KwYJPn","UNMASKED_RENDERER_WEBGL","top","vendor","getContext","webgl","4040301swDkfx","canvas","fillRect","SHADING_LANGUAGE_VERSION","height","font","2780656nPGJOI","stringify","padStart","RENDERER","1287684aTxRHW","isWebGLSupported","toString","encode"];return(yi=function(){return t})()}function ki(t,e){const i=yi();return(ki=function(t,e){return i[t-=316]})(t,e)}!function(t){const e=ki,i=t();for(;;)try{if(780783===-parseInt(e(338))/1*(-parseInt(e(362))/2)+parseInt(e(323))/3+-parseInt(e(317))/4*(-parseInt(e(340))/5)+parseInt(e(333))/6*(-parseInt(e(345))/7)+-parseInt(e(329))/8+parseInt(e(349))/9*(parseInt(e(343))/10)+-parseInt(e(363))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(yi);class Ei{static[Si(334)](){const t=Si;try{const e=document[t(357)]("canvas");return!(!e[t(321)](t(322))&&!e[t(321)](t(348)))}catch(t){return!1}}static getWebGLFingerprint(){return e(this,void 0,void 0,function*(){const t=ki,e=document[t(357)](t(324)),i=e[t(321)](t(322))||e.getContext(t(348));if(!i)return;const n={version:i[t(360)](i.VERSION),shadingLangVersion:i[t(360)](i[t(326)]),maxTextureSize:i[t(360)](i.MAX_TEXTURE_SIZE),maxRenderBufferSize:i.getParameter(i[t(356)]),supportedExtensions:i[t(316)]()};try{const e=i.getExtension(t(339));n[t(320)]=e?i.getParameter(e.UNMASKED_VENDOR_WEBGL):i[t(360)](i[t(359)])}catch(e){n[t(320)]=i[t(360)](i[t(359)])}try{const e=i[t(358)]("WEBGL_debug_renderer_info");n[t(355)]=e?i[t(360)](e[t(318)]):i.getParameter(i[t(332)])}catch(e){n[t(355)]=i[t(360)](i[t(332)])}return yield this[t(346)](JSON[t(330)](n))})}static[Si(352)](){return e(this,void 0,void 0,function*(){const t=ki,e=document[t(357)]("canvas");e.width=200,e[t(327)]=50;const i=e[t(321)]("2d");if(i)return i[t(347)]=t(319),i[t(328)]=t(337),i[t(341)]="#f60",i[t(325)](0,0,200,50),i[t(341)]=t(361),i[t(342)]("WiseTrack WebGL Fingerprint!",2,2),yield this[t(346)](e[t(353)]())})}static[Si(346)](t){return e(this,void 0,void 0,function*(){const e=ki,i=typeof t===e(350)?t:JSON[e(330)](t),n=(new TextEncoder)[e(336)](i),r=yield crypto.subtle.digest("SHA-256",n);return Array[e(351)](new Uint8Array(r))[e(344)](t=>t[e(335)](16)[e(331)](2,"0"))[e(354)]("")})}}function _i(){const t=["performance","getApplicationFields","other","appFrameWork","10654lPztzq","map","initialDate","build","filter","userEnvironment","6WJClRX","screenDensity","outerHeight","now","version","1695YXnuDx","model","147582zGCqKo","toString","toISOString","getDeviceFields","sessionCount","engine","SDK","toFixed","748863VYcjsx","VERSION","PLATFORM","defaultTracker","1824265WCpudm","getDeviceInfo","indexedDB","type","7384KxthhM","assign","getLocalFields","customDeviceId","vendor","17600390fgjwHe","onLine","fromEntries","created_at","language","1138UwJIty","appVersion","split","time_spent","device","hardwareConcurrency","appToken","browser","getSupportResult","initialConfig","displaySize","2239604yomarq","DEFAULTS","location","toLowerCase","getCountryCode","name","PARAMETERS_VALUE","screenFormat","isWebGLSupported","activeDuration","inactiveDuration","getStorageSizeBytes","outerWidth","cpu","localStorage","innerWidth","innerHeight","uiMode","deviceId"];return(_i=function(){return t})()}const Ti=Ci;function Ci(t,e){const i=_i();return(Ci=function(t,e){return i[t-=433]})(t,e)}!function(t){const e=Ci,i=t();for(;;)try{if(836211===-parseInt(e(464))/1+-parseInt(e(482))/2*(-parseInt(e(454))/3)+parseInt(e(493))/4+-parseInt(e(468))/5*(-parseInt(e(449))/6)+-parseInt(e(443))/7*(parseInt(e(472))/8)+-parseInt(e(456))/9+parseInt(e(477))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_i);class xi{[Ti(446)](){return e(this,void 0,void 0,function*(){const t=Ci,e=window[t(439)][t(452)]();let i={};return i[t(480)]=(new Date)[t(458)](),Object[t(473)](i,this[t(474)]()),Object[t(473)](i,yield this[t(440)]()),Object[t(473)](i,this[t(459)]()),i[t(485)]=(window.performance[t(452)]()-e)[t(463)](1),s[t(494)][t(499)]&&(i=Object[t(479)](Object.entries(i)[t(444)](([e,i])=>[e,null==i?s.DEFAULTS[t(499)]:i]))),!s[t(494)].PARAMETERS_VALUE&&(i=Object[t(479)](Object.entries(i)[t(447)](([t,e])=>null!=e))),i})}[Ti(440)](){return e(this,void 0,void 0,function*(){const t=Ci,e=yield wi[t(490)]();return{connectivity_type:navigator[t(478)]?"1":"-1",country:yield it[t(497)](),package_name:window[t(495)].hostname,session_storage_enabled:e.sessionStorage,indexed_db_enabled:e[t(470)],local_storage_enabled:e[t(434)],session_storage:wi[t(504)](sessionStorage)[t(463)](0),local_storage:wi.getStorageSizeBytes(localStorage)[t(463)](0),web_gl_support:Ei[t(501)](),web_gl_fingerprint:yield Ei.getWebGLFingerprint(),web_gl_canvas_fingerprint:yield Ei.getCanvasFingerprint()}})}[Ti(474)](){const t=Ti,e=U[t(491)];return e?{uuid:U[t(438)],app_token:e[t(488)],environment:e[t(448)],store_name:t(441),app_version:e[t(483)],push_token:U.pushToken,custom_device_id:e[t(475)],default_tracker:e[t(467)],platform:s.SDK[t(466)],framework:e[t(442)][t(496)](),initiated_by:s[t(462)].PLATFORM+"_"+e[t(442)].toLowerCase(),initiated_version:s.SDK[t(465)],referrer:Ii.getUTMParamsString(),installed_at:U[t(445)],session_count:U[t(460)][t(457)](),session_length:parseInt((U[t(502)]/1e3)[t(457)]())[t(457)](),subsession_count:parseInt((U.subSessionCount/1e3)[t(457)]())[t(457)](),last_interval:parseInt((U[t(503)]/1e3)[t(457)]())[t(457)]()}:{}}[Ti(459)](){const t=Ti,e=li[t(469)]();return{browser_version:e[t(489)][t(453)],device_manufacturer:e[t(486)][t(476)],device_name:e.device[t(455)],device_type:e[t(486)][t(471)],os_name:e.os[t(498)],os_version:e.os[t(453)],cpu_type:e[t(433)].architecture,web_user_agent:e.ua,display_height:window[t(436)][t(463)](0),display_width:window[t(435)][t(463)](0),language:navigator[t(481)][t(484)]("-")[0],screen_density:li[t(450)],screen_format:li[t(500)],screen_size:li.screenSize,ui_mode:li[t(437)][t(457)](),cpu_lpc:navigator[t(487)].toString(),ui_style:li.uiStyle,wout_width:window[t(505)][t(457)](),wout_height:window[t(451)][t(457)](),web_engine:e[t(461)][t(498)],web_engine_version:e[t(461)].version,display_size:li[t(492)],screen_type:li.screenType}}}const Ni=new xi;function Di(t,e){const i=Oi();return(Di=function(t,e){return i[t-=434]})(t,e)}function Oi(){const t=["event","82520mByvWP","21cMAiLy","138tICwpm","build","assign","toJSON","create","1JxLFZj","322jFEMnE","2577744lSXIiN","82588gOPeOf","68672fVPsQj","call","166308FNxEoY","455556NtEnek","70vQsbtX","307322PJHehF"];return(Oi=function(){return t})()}!function(t){const e=Di,i=t();for(;;)try{if(264075===-parseInt(e(434))/1*(-parseInt(e(443))/2)+-parseInt(e(446))/3*(-parseInt(e(440))/4)+parseInt(e(445))/5*(-parseInt(e(447))/6)+parseInt(e(435))/7*(parseInt(e(438))/8)+-parseInt(e(436))/9+parseInt(e(442))/10*(parseInt(e(437))/11)+parseInt(e(441))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oi);class Ri extends xi{constructor(t){const e=Di;super(),this[e(444)]=t}build(){const t=Di,i=Object[t(451)](null,{build:{get:()=>super[t(448)]}});return e(this,void 0,void 0,function*(){const e=t,n=yield i.build[e(439)](this);return new Promise(t=>{const i=e;t(Object[i(449)](Object.assign({},n),this[i(444)][i(450)]()))})})}}function Ai(){const t=["addEventListener","pushToken","SESSIONS","sdkEnabled","WT Tracker stopped","6602qbmqfX","CheckPushToken: SDK is not enabled","build","checkSessionIntervals","SDK_CLICKS","log","setActivityTimes","getCountryCode","512628BEpPpI","inactiveDuration","deviceId"," request to main queue","isEnabled","visibilitychange","visibilityState","blur","inactiveTime","startTracking","isVisibleFocused","User was inactived for ","createDeviceID","248Mjvdie","appSettings","addObservers","warn","activeTime","4190XrMren","sdkClickSubmit","This Notification token has sent to server previously","ATTRIBUTIONS","602595RpwcfR","307965ULjUKW","SDK is not enabled to start tracking!","Creating Install: SDK-Clicks has already submitted","SDK_INFOS","eventCount","trackEvent: SDK is not initialized yet","15162Iffiuy","start","visible","16TsverW","checkSdkClicks","initialize","addPendingRequest","isRunning","createAttribution","checkPushToken","fcmToken","now","Creating First Session: SDK is not enabled!","debug","Add ","shutdown","hasFocus","1555oyZujl","trackEvent: SDK is not enabled","trackEvent","subsessionInterval","main","stop","stringify","sessionInterval","checkFirstSession","firstSessionSubmit","initialized","3095264uCNFPt","WT Tracker started","s Totaly)","focus","createRequest","generateDeviceUUID","pending","beforeunload","addRequest","35519RVShNI"];return(Ai=function(){return t})()}const Ui=Li;function Li(t,e){const i=Ai();return(Li=function(t,e){return i[t-=220]})(t,e)}!function(t){const e=Li,i=t();for(;;)try{if(437240===-parseInt(e(280))/1*(-parseInt(e(259))/2)+-parseInt(e(267))/3*(-parseInt(e(299))/4)+parseInt(e(233))/5*(parseInt(e(296))/6)+-parseInt(e(290))/7+-parseInt(e(244))/8+-parseInt(e(289))/9+-parseInt(e(285))/10*(parseInt(e(253))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ai);class Pi{constructor(){const t=Li;this[t(223)]=!1,this[t(243)]=!1}get[Ui(271)](){return U[Ui(257)]}[Ui(221)](){return e(this,void 0,void 0,function*(){const t=Li;this[t(266)](),yield this[t(265)](),this[t(279)](),this[t(282)](),this[t(243)]=!0})}[Ui(276)](){return e(this,void 0,void 0,function*(){const t=Li;this.isEnabled?(C[t(229)](t(245)),yield wt[t(221)](),yield this.checkSdkClicks(),yield this[t(241)](),yield this[t(224)](),this.isRunning=!0):C[t(283)](t(291))})}stopTracking(){return e(this,void 0,void 0,function*(){const t=Li;this[t(223)]=!1,Y[t(238)](),yield wt[t(231)](),C[t(229)](t(258))})}[Ui(225)](t){return e(this,void 0,void 0,function*(){const e=Li;U[e(255)]=t,this[e(271)]?U[e(226)]!==t?yield this.createRequest({endpoint:f[e(293)],queueType:e(250)}):C.info(e(287)):C[e(283)](e(260))})}[Ui(235)](t){return e(this,void 0,void 0,function*(){const e=Li;this[e(271)]?this.initialized?(U[e(294)]+=1,yield this.createRequest({endpoint:f.EVENTS,fBuilder:new Ri(t),queueType:"pending"})):C.warn(e(295)):C[e(283)](e(234))})}getCountryCode(){it[Ui(266)]()}createAttribution(){return e(this,void 0,void 0,function*(){const t=Li;this[t(271)]?yield this[t(248)]({endpoint:f[t(288)],queueType:t(250)}):C[t(283)]("Creating Attribution: SDK is not enabled!")})}[Ui(241)](){return e(this,void 0,void 0,function*(){const t=Li;this[t(271)]?U[t(242)]?C[t(229)]("Creating Session: First-Session has already submitted"):yield this[t(248)]({endpoint:f.SESSIONS,queueType:U.sdkClickSubmit?t(237):t(250)}):C.warn(t(228))})}[Ui(220)](){return e(this,void 0,void 0,function*(){const t=Li;this.isEnabled?U[t(286)]?C[t(229)](t(292)):yield this.createRequest({endpoint:f[t(263)]}):C[t(283)]("Creating Install: SDK is not enabled!")})}[Ui(248)](t){return e(this,arguments,void 0,function*({endpoint:t,fBuilder:e=Ni,queueType:i="main"}){const n=Li,r=yield e[n(261)](),s=new ut(t,r);i===n(250)?(C.info("Add "+t+" request to pending queue"),yield wt[n(222)](s)):(C.info(n(230)+t+n(270)),yield wt[n(252)](s));const o=wt.getQueueStatus();console[n(264)](JSON[n(239)](o))})}[Ui(279)](){const t=Ui;!U.deviceId&&(U[t(269)]=ot[t(249)]()),!U.initialDate&&(U.initialDate=(new Date).toISOString())}[Ui(265)](){return e(this,void 0,void 0,function*(){const t=Li;if(U.activeTime){U.inactiveTime=U[t(284)];const e=Date[t(227)]()-U[t(275)];U[t(268)]+=e,console.log(t(278)+e/1e3+"s | ("+U[t(268)]/1e3+t(246)),yield this[t(262)]()}U.activeTime=Date[t(227)](),Y[t(297)]()})}[Ui(262)](){return e(this,void 0,void 0,function*(){const t=Li;var e,i;const n=U.inactiveTime,r=null===(e=U[t(281)])||void 0===e?void 0:e[t(240)],s=null===(i=U[t(281)])||void 0===i?void 0:i[t(236)];if(!this[t(271)])return void C[t(283)]("Creating Session: SDK is not enabled!");if(!n||!r||!s)return;const o=Date[t(227)]()-n;o>parseInt(r)?(U.sessionCount+=1,yield this[t(248)]({endpoint:f[t(256)],queueType:U.sdkClickSubmit?"main":t(250)})):o>parseInt(s)&&(U.subSessionCount+=1)})}[Ui(277)](){const t=Ui;return document[t(273)]===t(298)&&document[t(232)]()}addObservers(){const t=Ui;window[t(254)](t(251),()=>{Y[t(238)]()}),document[t(254)](t(272),()=>{const e=t;this[e(277)]()?(this[e(224)](),this.setActivityTimes()):Y.stop()}),window.addEventListener(t(247),()=>{const e=t;this[e(277)]()&&(this[e(224)](),this[e(265)]())}),window.addEventListener(t(274),()=>{Y[t(238)]()})}}const qi=new Pi,Mi=Bi;function Bi(t,e){const i=Vi();return(Bi=function(t,e){return i[t-=361]})(t,e)}function Vi(){const t=["390812yplPFR","initialize","Config is not set!","trackEvent","isEnabled","needAppSettings","Clearing Data and stop tracker!","startTracking","instance","4586176vlhaPa","The version you are currently using has expired and is no longer supported. Please update to the latest version to continue using the SDK","setFCMToken","Need to get app-settings for ","sdkEnabled","_instance","getConfig","1724229CjwCrT","config","NetworkError","checkSdkUpdate","warn","App Settings set","stopTracking","debug","2217632IHMoYf","updateAppSettings","defaultValue","forceUpdate","‼️ Set Fcm Token: SDK is not initialized yet","sdkInitialized","checkSdkEnabled","4707930KsQxYN","error","174uSLKSQ","doGetConfig","setEnabled","appSettings"," environment","Track Event: SDK is not enabled!","initialConfig","sdkUpdate","‼️ Start Tracking: SDK is not initialized yet","4733MraDkK","info","clear","‼️ SDK Config NOT set!, check errors.","startTrackerAutomatically","checkPushToken","doGetAppSettings","1994508nDGJWS","flush","sdkEnvironment"];return(Vi=function(){return t})()}!function(t){const e=Bi,i=t();for(;;)try{if(491879===parseInt(e(382))/1*(-parseInt(e(373))/2)+parseInt(e(408))/3+parseInt(e(392))/4+parseInt(e(371))/5+-parseInt(e(389))/6+-parseInt(e(401))/7+parseInt(e(364))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vi);class Fi{static get[Mi(400)](){const t=Mi;return!Fi._instance&&(Fi[t(406)]=new Fi),Fi[t(406)]}constructor(){this.sdkInitialized=!1}init(t){return e(this,void 0,void 0,function*(){const e=Bi;var i,n;const r=yield this.getConfig(t);this[e(370)](r),this[e(411)](r),this[e(375)](!0),yield this[e(365)](r),this[e(369)]=!0,yield qi[e(393)]();(null===(i=t[e(386)])||void 0===i||i)&&setTimeout(()=>this[e(399)](),1e3*(null!==(n=t.trackingWaitingTime)&&void 0!==n?n:0))})}setLogLevel(t){C.setLevel(t)}[Mi(390)](){const t=Mi;C.info(t(398)),U[t(384)](),this[t(362)]()}[Mi(396)](){return U.sdkEnabled}[Mi(375)](t){const e=Mi,i=U.config;if(!i)throw new Error(e(394));if(!i[e(405)])throw new Error("SDK is disabled form server, contact your adminstrator!");if(i[e(367)])throw new Error(e(402));U[e(405)]=t}[Mi(399)](){return e(this,void 0,void 0,function*(){const t=Bi;this[t(369)]?this[t(396)]()?yield qi[t(399)]():C[t(412)]("Start Tracking: SDK is not enabled!"):C[t(412)](t(381))})}stopTracking(){return e(this,void 0,void 0,function*(){const t=Bi;yield qi[t(362)]()})}[Mi(403)](t){return e(this,void 0,void 0,function*(){const e=Bi;this[e(369)]?this[e(396)]()?yield qi[e(387)](t):C[e(412)]("Set Fcm Token: SDK is not enabled!"):C[e(412)](e(368))})}[Mi(395)](t){return e(this,void 0,void 0,function*(){const e=Bi;this[e(369)]?this[e(396)]()?yield qi[e(395)](t):C[e(412)](e(378)):C[e(412)]("‼️ Track Event: SDK is not initialized yet")})}[Mi(407)](t){return e(this,void 0,void 0,function*(){const e=Bi;let i;U[e(379)]=t;try{i=yield H[e(374)]()}catch(t){if(!(t instanceof L[e(410)]))throw C.info(e(385)),t;i=U[e(409)]||y.defaultValue}return U[e(409)]=i,C.info("SDK Config set"),i})}[Mi(365)](t){return e(this,void 0,void 0,function*(){const e=Bi;let i;if(d[e(397)]()){C[e(363)](e(404)+d[e(391)]+e(377));try{i=yield H[e(388)]()}catch(t){if(!(t instanceof L[e(410)]))throw C[e(383)]("‼️ App Settings NOT set!, check errors."),t;i=b[e(366)]}}else i=b.fromConfig(t);return U[e(376)]=i,C[e(383)](e(361)),i})}checkSdkEnabled(t){const e=Mi;if(!t[e(405)]){const t="SDK is disabled form server, contact your adminstrator!";throw C[e(372)](t),new Error(t)}}[Mi(411)](t){const e=Mi;if(t.forceUpdate){const t=e(402);throw C[e(372)](t),new Error(t)}t[e(380)]&&C[e(412)]("A new version of the SDK is available. It is recommended to update to the latest version to enjoy improved features and better performance.")}}function Wi(t,e){var i=Ki();return(Wi=function(t,e){return i[t-=357]})(t,e)}function Ki(){var t=["params","name","amount","32182rYNnKx","1610240WKiBvV","93895YUDPTy","270263EdZVqk","549QCfzps","38784TGjpek","4iNlRuH","Default","currency","24wNhaYb","239445CCGICk","toJSON","6147449CQWcEa","type","Revenue","default","addParam","4zvcPDy"];return(Ki=function(){return t})()}function ji(){var t=["54RvjOmi","5380940WZstqG","3727713WrSPQU","410RxZMNU","50910PwnvqH","3983640YiarPd","370168VCqWlO","1ssmFNd","3272962qUErEy","1152310VOvdMQ"];return(ji=function(){return t})()}function Gi(t,e){var i=ji();return(Gi=function(t,e){return i[t-=112]})(t,e)}return function(t){for(var e=Wi,i=t();;)try{if(147874===parseInt(e(360))/1+-parseInt(e(366))/2*(parseInt(e(370))/3)+-parseInt(e(377))/4*(-parseInt(e(362))/5)+-parseInt(e(369))/6*(-parseInt(e(363))/7)+parseInt(e(365))/8*(-parseInt(e(364))/9)+-parseInt(e(361))/10+parseInt(e(372))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ki),t.WTEvent=void 0,function(t){var e=Wi;class i{constructor(t){var e=Wi;this.type=e(375),this[e(358)]=t}[e(376)](t,i){var n,r=e;let s=null!==(n=this[r(357)])&&void 0!==n?n:{};s[t]=i,this[r(357)]=s}[e(371)](){var t=e;return{event_type:this[t(373)],event_name:this[t(358)],partner_params:this.params}}}t[e(367)]=i;class n extends i{constructor(t,i,n){var r=e;super(t),this[r(373)]="revenue",this[r(359)]=i,this[r(368)]=n}[e(371)](){var t=e;return{event_type:this[t(373)],event_name:this[t(358)],revenue:this.amount,currency:this[t(368)],partner_params:this[t(357)]}}}t[e(374)]=n}(t.WTEvent||(t.WTEvent={})),function(t){for(var e=Gi,i=t();;)try{if(759458===parseInt(e(121))/1*(-parseInt(e(113))/2)+parseInt(e(116))/3+parseInt(e(119))/4+-parseInt(e(117))/5*(parseInt(e(118))/6)+-parseInt(e(112))/7+parseInt(e(120))/8*(-parseInt(e(114))/9)+parseInt(e(115))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ji),t.WTLogEngine=_,t.WTLogLevel=T,t.WTLogger=C,t.WiseTrack=Fi,t}({});
1
+ var WiseTrackSDK=function(t){"use strict";function e(t,e,i,n){return new(i||(i=Promise))(function(r,s){function o(t){try{c(n.next(t))}catch(t){s(t)}}function a(t){try{c(n.throw(t))}catch(t){s(t)}}function c(t){var e;t.done?r(t.value):(e=t.value,e instanceof i?e:new i(function(t){t(e)})).then(o,a)}c((n=n.apply(t,e||[])).next())})}"function"==typeof SuppressedError&&SuppressedError;const i=n;function n(t,e){const i=s();return(n=function(t,e){return i[t-=125]})(t,e)}!function(t){const e=n,i=t();for(;;)try{if(749923===parseInt(e(131))/1+-parseInt(e(138))/2+-parseInt(e(129))/3*(parseInt(e(126))/4)+-parseInt(e(125))/5+parseInt(e(137))/6+parseInt(e(130))/7*(parseInt(e(135))/8)+parseInt(e(134))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(s);const r={SDK:{HASH:i(128),PLATFORM:i(132),VERSION:i(136)},CONFIG:{BASE_URL:i(127),DEFAULT_ENVIRONMENT:"debug"},DEFAULTS:{LOG_LEVEL:i(133),SESSION_INTERVAL:"1800000",SUBSESSION_INTERVAL:"300000",PARAMETERS_VALUE:void 0}};function s(){const t=["5616207MBfbxA","24hgamjF","2.0.3","5105658BUNLWj","966956YcXbnm","4625850ykTxhK","4lCUgcR","https://config.wisetrack.io","997bfbb583c1245a426a53dc1899ec779ff354f9","2349813KuhnwA","2137009pSmLhd","551015zsxIAs","web","debug"];return(s=function(){return t})()}function o(){const t=["sandbox","3377370aahfsh","Unknown environment: ","1486fVDPgz","7551418VwIZzP","630416ndKQOi","1009oKqkKa","CONFIG","https://core.wisetrack.io","PRODUCTION","14280vwcZzY","22312675dzUdcI","DEFAULT_ENVIRONMENT","https://core.stage.wisetrackdev.ir","stage","production","https://core.debug.wisetrackdev.ir","72XJGANm","DEBUG","3YkxTKT","sdkEnvironment","debug","4601072BEWRXr","2440jQCYQc"];return(o=function(){return t})()}const a=u;!function(t){const e=u,i=t();for(;;)try{if(742357===-parseInt(e(466))/1*(-parseInt(e(463))/2)+parseInt(e(455))/3*(-parseInt(e(458))/4)+-parseInt(e(459))/5*(-parseInt(e(470))/6)+-parseInt(e(464))/7+parseInt(e(465))/8*(-parseInt(e(477))/9)+-parseInt(e(461))/10+parseInt(e(471))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(o),a(460),a(475);const c={DEBUG:a(457),STAGE:a(474),PRODUCTION:"production"};function u(t,e){const i=o();return(u=function(t,e){return i[t-=454]})(t,e)}const d={sdkEnvironment:r[a(467)][a(472)],needAppSettings(){const t=a;return this.sdkEnvironment!==c[t(469)]},baseUrl(){const t=a;switch(this[t(456)]){case c[t(454)]:return t(476);case c.STAGE:return t(473);case c.PRODUCTION:return t(468);default:throw new Error(t(462)+this[t(456)])}}};function l(t,e){const i=p();return(l=function(t,e){return i[t-=234]})(t,e)}const h=l;function p(){const t=["161UXYasK","209101MeBorF","462378YiQUJN","852093zYgJDO","809922InIwCA","2144815vaAPrP","/api/v1/events","/api/v1/sdk_infos","134216StvMoD","/api/v1/sessions","1834868AmbzYl","/api/v1/app_settings"];return(p=function(){return t})()}!function(t){const e=l,i=t();for(;;)try{if(288669===-parseInt(e(243))/1+parseInt(e(244))/2+-parseInt(e(245))/3+parseInt(e(240))/4+-parseInt(e(235))/5+parseInt(e(234))/6+parseInt(e(242))/7*(parseInt(e(238))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(p);const f={EVENTS:h(236),SESSIONS:h(239),SDK_CLICKS:"/api/v1/sdk_clicks",SDK_INFOS:h(237),ATTRIBUTIONS:"/api/v1/attributions",APP_SETTINGS:h(241)};var w=v;function v(t,e){var i=b();return(v=function(t,e){return i[t-=195]})(t,e)}!function(t){for(var e=v,i=t();;)try{if(616792===parseInt(e(225))/1*(-parseInt(e(212))/2)+-parseInt(e(221))/3+parseInt(e(224))/4*(-parseInt(e(218))/5)+parseInt(e(211))/6*(parseInt(e(213))/7)+parseInt(e(197))/8*(parseInt(e(223))/9)+-parseInt(e(202))/10*(-parseInt(e(216))/11)+parseInt(e(210))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(b);class g{constructor(t,e,i,n,s,o=r[w(196)][w(214)],a=r[w(196)][w(220)]){var c=w;this[c(203)]=t,this.sessions=e,this.sdkClicks=i,this[c(207)]=n,this[c(200)]=s,this[c(198)]=o,this[c(215)]=a}static fromConfig(t){var e=w;return new g(t[e(203)],t[e(204)],t[e(199)],t[e(207)],t.attributions,t.sessionInterval,t[e(215)])}static fromJson(t){var e,i,n=w;return new g(t[n(203)],t.sessions,t[n(219)],t[n(205)],t[n(200)],null!==(e=t[n(201)])&&void 0!==e?e:r[n(196)][n(214)],null!==(i=t[n(209)])&&void 0!==i?i:r[n(196)].SUBSESSION_INTERVAL)}static get[w(208)](){var t=w;return new g(f[t(206)],f[t(222)],f.SDK_CLICKS,f[t(217)],f[t(195)],r[t(196)][t(214)],r.DEFAULTS[t(220)])}}function b(){var t=["attributions","session_interval","122290CCUKmQ","events","sessions","sdk_infos","EVENTS","sdkInfos","defaultValue","subsession_interval","11686764KJYPmd","60978YAQdgB","657458HPVKjK","518eZrAvV","SESSION_INTERVAL","subsessionInterval","341EkKUZx","SDK_INFOS","212485BlFIWW","sdk_clicks","SUBSESSION_INTERVAL","1476384vwKEqV","SESSIONS","3915WzZfds","88QEGPxy","1SquRKE","ATTRIBUTIONS","DEFAULTS","4920uaKmbH","sessionInterval","sdkClicks"];return(b=function(){return t})()}var m=I;function I(t,e){var i=y();return(I=function(t,e){return i[t-=259]})(t,e)}!function(t){for(var e=I,i=t();;)try{if(611740===-parseInt(e(284))/1+-parseInt(e(292))/2+parseInt(e(274))/3+-parseInt(e(293))/4+-parseInt(e(279))/5+-parseInt(e(266))/6*(-parseInt(e(270))/7)+parseInt(e(263))/8*(parseInt(e(290))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(y);class S{constructor(t,e,i,n,s,o,a,c=!0,u=!1,d=!1,l=r.DEFAULTS[m(269)],h=r.DEFAULTS.SUBSESSION_INTERVAL){var p=m;this[p(280)]=t,this[p(291)]=e,this.sessions=i,this[p(282)]=n,this[p(285)]=s,this[p(277)]=o,this[p(276)]=a,this[p(260)]=c,this[p(267)]=u,this[p(272)]=d,this.sessionInterval=l,this.subsessionInterval=h}static fromJson(t){var e,i,n,s,o,a=m;return new S(t[a(265)],t[a(291)],t[a(288)],t[a(261)],t[a(262)],t[a(277)],t.app_settings,null===(e=t[a(283)])||void 0===e||e,null!==(i=t[a(286)])&&void 0!==i&&i,null!==(n=t[a(259)])&&void 0!==n&&n,null!==(s=t[a(278)])&&void 0!==s?s:r[a(281)].SESSION_INTERVAL,null!==(o=t[a(289)])&&void 0!==o?o:r.DEFAULTS[a(287)])}static get defaultValue(){var t=m;return new S(d.baseUrl(),f[t(294)],f[t(275)],f[t(264)],f[t(273)],f[t(268)],f[t(271)])}}function y(){var t=["ATTRIBUTIONS","SESSION_INTERVAL","2449489mBThjg","APP_SETTINGS","sdkUpdate","SDK_INFOS","917916xWBmWZ","SESSIONS","appSettings","attributions","session_interval","5046115NLVXPs","baseUrl","DEFAULTS","sdkClicks","sdk_enabled","1010575PcQzFB","sdkInfos","force_update","SUBSESSION_INTERVAL","sessions","subsession_interval","4005891qOTNRd","events","368406FiPXqH","3442716OcpPNC","EVENTS","sdk_update","sdkEnabled","sdk_clicks","sdk_infos","48kqllwk","SDK_CLICKS","base_url","12lZLYas","forceUpdate"];return(y=function(){return t})()}const k=E;function E(t,e){const i=C();return(E=function(t,e){return i[t-=395]})(t,e)}!function(t){const e=E,i=t();for(;;)try{if(416664===parseInt(e(419))/1*(parseInt(e(407))/2)+parseInt(e(415))/3+-parseInt(e(398))/4+-parseInt(e(396))/5*(parseInt(e(418))/6)+parseInt(e(413))/7*(parseInt(e(412))/8)+parseInt(e(414))/9*(-parseInt(e(420))/10)+-parseInt(e(405))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(C);class T{}class _ extends T{[k(404)](t,e,...i){const n=k;switch(t){case"debug":console[n(416)](e,...i);break;case"info":console[n(402)](e,...i);break;case n(401):console[n(401)](e,...i);break;case n(417):console[n(417)](e,...i);break;default:console.log(e,...i)}}}function C(){const t=["info","shouldLog","log","3213408sAjFiI","level","45158PXYsOu","prefix","indexOf","outputEngines","addOutputEngine","832yUzHJy","41461IrSNyd","234xCtiVz","1745667Lbljsr","debug","error","8202rVwsIq","36eDUGaA","62710TYmJSy","setPrefix","2875amSOBh","push","1411448ALFhAB","none","setLevel","warn"];return(C=function(){return t})()}const x={DEBUG:k(416),INFO:k(402),WARN:k(401),ERROR:"error",NONE:k(399)};class D{static[k(400)](t){this[k(406)]=t}static[k(395)](t){this[k(408)]=t}static[k(411)](t){const e=k;this[e(410)][e(397)](t)}static[k(403)](t){const e=k,i=[e(416),e(402),e(401),e(417)],n=i[e(409)](this[e(406)]);return i[e(409)](t)>=n}static[k(404)](t,...e){const i=k;if(!this[i(403)](t))return;const n="["+this[i(408)]+"-"+t.toUpperCase()+"]";for(const r of this[i(410)])r.log(t,n,...e)}static[k(416)](...t){const e=k;this[e(404)](e(416),...t)}static[k(402)](...t){this[k(404)]("info",...t)}static warn(...t){const e=k;this[e(404)](e(401),...t)}static[k(417)](...t){this[k(404)]("error",...t)}}D[k(406)]=r.DEFAULTS.LOG_LEVEL,D.prefix="WT",D.outputEngines=[new _];var N=A;function O(){var t=["138TQmdTx","PENDING_REQUEST_QUEUE","error","getItem","INACTIVE_DURATION","': ","SESSION_LENGTH","WT.InitialConfigs","pushToken","CONFIG","12316528uhAvut","false","INITIAL_DATE","setItem","WT.SdkEnabled","FIRST_SESSION_SUBMIT","SESSION_COUNT","4884284pjcMEI","APP_SETTINGS","setJson","WT.FirstSessionSubmit","WT.ActiveTime","optionalNumber","requestRecords","parse","initialConfig","removeItem","inactiveDuration","WT.DeviceId","SUBSESSION_COUNT","activeDuration","DEVICE_ID","initialDate","config","960269yedLPm","Error in JSON decoding for key '","WT.FcmToken","4755180asHogc","toString","sessionCount","9jlKguD","pendingRequestRecords","clear","deviceId","appSettings","firstSessionSubmit","fcmToken","true","399534RmSjUq","INITIAL_CONFIG","WT.InitialDate","sdkClickSubmit","ACTIVE_TIME","SDK_CLICK_SUBMIT","optionalBool","WT.Configs","1400536XFlrsI","eventCount","INACTIVE_TIME","PUSH_TOKEN","283703cadewU","inactiveTime","WT.AppSettings","WT.SubSessionCount","SDK_ENABLED","WT.InactiveDuration","REQUEST_QUEUE","getJson","FCM_TOKEN","subSessionCount","sdkEnabled","EVENT_COUNT"];return(O=function(){return t})()}!function(t){for(var e=A,i=t();;)try{if(649925===parseInt(e(335))/1+parseInt(e(285))/2+-parseInt(e(277))/3+-parseInt(e(318))/4+parseInt(e(266))/5+-parseInt(e(301))/6*(-parseInt(e(289))/7)+-parseInt(e(311))/8*(parseInt(e(269))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(O);const R={DEVICE_ID:N(329),INITIAL_DATE:N(279),INITIAL_CONFIG:N(308),CONFIG:N(284),APP_SETTINGS:N(291),SDK_CLICK_SUBMIT:"WT.SdkClickSubmit",FIRST_SESSION_SUBMIT:N(321),SDK_ENABLED:N(315),FCM_TOKEN:N(265),PUSH_TOKEN:"WT.PushToken",EVENT_COUNT:"WT.EventCount",SESSION_COUNT:"WT.SessionCount",SESSION_LENGTH:"WT.SessionLenght",SUBSESSION_COUNT:N(292),ACTIVE_TIME:N(322),INACTIVE_TIME:"WT.InactiveTime",INACTIVE_DURATION:N(294),REQUEST_QUEUE:"WT.RequestQueue",PENDING_REQUEST_QUEUE:"WT.PendingRequestQueue"};function A(t,e){var i=O();return(A=function(t,e){return i[t-=265]})(t,e)}class U{clear(){localStorage[N(271)]()}[N(320)](t,e){var i=N;if(e)try{const n=JSON.stringify(e);localStorage[i(314)](t,n)}catch(e){D[i(303)]("Error in encoding object for key '"+t+"'",e)}else localStorage.removeItem(t)}[N(296)](t){var e=N;const i=localStorage.getItem(t);if(!i)return null;try{return JSON[e(325)](i)}catch(i){return D[e(303)](e(336)+t+e(306)+i,i),null}}[N(323)](t){const e=localStorage[N(304)](t);if(null===e)return null;const i=Number(e);return isNaN(i)?null:i}[N(283)](t){var e=N;const i=localStorage[e(304)](t);return null===i?null:i===e(276)||i!==e(312)&&null}get[N(272)](){var t=N;return localStorage[t(304)](R[t(332)])}set[N(272)](t){var e=N;t?localStorage[e(314)](R[e(332)],t):localStorage[e(327)](R[e(332)])}get[N(333)](){var t=N;return this[t(296)](R[t(313)])}set[N(333)](t){var e=N;this.setJson(R[e(313)],t)}get[N(326)](){var t=N;return this.getJson(R[t(278)])}set initialConfig(t){var e=N;this[e(320)](R[e(278)],t)}get config(){var t=N;return this[t(296)](R[t(310)])}set[N(334)](t){var e=N;this.setJson(R[e(310)],t)}get[N(273)](){var t=N;return this[t(296)](R[t(319)])}set appSettings(t){this[N(320)](R.APP_SETTINGS,t)}get[N(299)](){var t;return null!==(t=this[N(283)](R.SDK_ENABLED))&&void 0!==t&&t}set[N(299)](t){var e=N;localStorage[e(314)](R[e(293)],t[e(267)]())}get[N(280)](){var t;return null!==(t=this[N(283)](R.SDK_CLICK_SUBMIT))&&void 0!==t&&t}set[N(280)](t){var e=N;localStorage.setItem(R[e(282)],t[e(267)]())}get[N(274)](){var t,e=N;return null!==(t=this[e(283)](R[e(316)]))&&void 0!==t&&t}set firstSessionSubmit(t){var e=N;localStorage[e(314)](R[e(316)],t.toString())}get[N(275)](){var t=N;return localStorage[t(304)](R[t(297)])}set fcmToken(t){var e=N;t?localStorage[e(314)](R.FCM_TOKEN,t):localStorage[e(327)](R.FCM_TOKEN)}get pushToken(){var t=N;return localStorage[t(304)](R[t(288)])}set[N(309)](t){var e=N;t?localStorage.setItem(R.PUSH_TOKEN,t):localStorage[e(327)](R[e(288)])}get sessionCount(){var t,e=N;return null!==(t=this[e(323)](R[e(317)]))&&void 0!==t?t:1}set[N(268)](t){var e=N;localStorage.setItem(R[e(317)],t[e(267)]())}get[N(298)](){var t,e=N;return null!==(t=this[e(323)](R[e(330)]))&&void 0!==t?t:1}set[N(298)](t){var e=N;localStorage.setItem(R[e(330)],t[e(267)]())}get[N(331)](){var t,e=N;return null!==(t=this[e(323)](R[e(307)]))&&void 0!==t?t:0}set[N(331)](t){var e=N;localStorage[e(314)](R[e(307)],t[e(267)]())}get[N(328)](){var t,e=N;return null!==(t=this[e(323)](R[e(305)]))&&void 0!==t?t:0}set inactiveDuration(t){var e=N;localStorage[e(314)](R[e(305)],t.toString())}get inactiveTime(){return this[N(323)](R.ACTIVE_TIME)}set[N(290)](t){var e=N;null!==t?localStorage.setItem(R[e(281)],t[e(267)]()):localStorage[e(327)](R[e(281)])}get activeTime(){var t=N;return this[t(323)](R[t(287)])}set activeTime(t){var e=N;null!==t?localStorage.setItem(R.INACTIVE_TIME,t[e(267)]()):localStorage[e(327)](R[e(287)])}get[N(324)](){var t,e=N;return null!==(t=this[e(296)](R[e(295)]))&&void 0!==t?t:[]}set[N(324)](t){var e=N;this[e(320)](R[e(295)],t)}get[N(270)](){var t,e=N;return null!==(t=this[e(296)](R[e(302)]))&&void 0!==t?t:[]}set pendingRequestRecords(t){var e=N;this.setJson(R[e(302)],t)}get[N(286)](){var t,e=N;return null!==(t=this[e(323)](R[e(300)]))&&void 0!==t?t:0}set eventCount(t){var e=N;localStorage[e(314)](R[e(300)],t.toString())}}const L=new U;var P;function q(){var t=["ServerError","NetworkError","statusCode","1227LclZaR","24BEiQfK","Invalid URL: ","1596519KkxsEU","8Copbwf","563550YzphcD","InvalidUrl","DecodingError","NetworkError: ","name","2146760mcbIjF","ServerError ","10344100rUjXax","DecodingError: ","497820jsJdjE","972VOOkzw","1620412YjQmNg"];return(q=function(){return t})()}function M(t,e){var i=q();return(M=function(t,e){return i[t-=132]})(t,e)}function F(t,e){var i=V();return(F=function(t,e){return i[t-=207]})(t,e)}!function(t){for(var e=M,i=t();;)try{if(408222===-parseInt(e(145))/1+-parseInt(e(135))/2*(parseInt(e(140))/3)+parseInt(e(136))/4+-parseInt(e(134))/5*(parseInt(e(141))/6)+parseInt(e(150))/7+-parseInt(e(144))/8*(parseInt(e(143))/9)+parseInt(e(132))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(q),function(t){var e=M;class i extends Error{constructor(t){var e=M;super(e(142)+t),this[e(149)]=e(146)}}t[e(146)]=i;class n extends Error{constructor(t,i){var n=e;super(n(151)+t+": "+i),this[n(139)]=t,this.message=i,this[n(149)]=n(137)}}t[e(137)]=n;class r extends Error{constructor(t){var i=e;super(i(148)+t),this[i(149)]="NetworkFailure"}}t[e(138)]=r;class s extends Error{constructor(t){var i=e;super(i(133)+t),this[i(149)]=i(147)}}t[e(147)]=s}(P||(P={}));var B=F;!function(t){for(var e=F,i=t();;)try{if(312211===-parseInt(e(216))/1+parseInt(e(213))/2*(-parseInt(e(209))/3)+-parseInt(e(211))/4*(-parseInt(e(215))/5)+parseInt(e(219))/6+parseInt(e(210))/7+-parseInt(e(207))/8+parseInt(e(212))/9*(-parseInt(e(214))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(V);class K{constructor(t=3,e=2e3){var i=F;this.maxRetries=t,this[i(208)]=e}[B(217)](t){return t<this[B(218)]}waitBeforeRetry(){return e(this,void 0,void 0,function*(){var t=F;return new Promise(e=>setTimeout(e,this[t(208)]))})}}function V(){var t=["265kbfYFz","247979qzTlAU","canRetry","maxRetries","3060480OAozMC","1761920MuWdHd","retryInterval","18195Pzrbgn","2347562HJBcvg","20716RjMidj","189Tyetyl","44NgtPyN","98130yqaOfj"];return(V=function(){return t})()}function W(t,e){const i=z();return(W=function(t,e){return i[t-=372]})(t,e)}!function(t){const e=W,i=t();for(;;)try{if(344273===parseInt(e(406))/1+-parseInt(e(389))/2+-parseInt(e(400))/3*(-parseInt(e(399))/4)+parseInt(e(404))/5+parseInt(e(379))/6+parseInt(e(397))/7*(parseInt(e(388))/8)+-parseInt(e(405))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(z);const j={retryPolicy:()=>new K,sendRequest(t){return e(this,arguments,void 0,function*(t,e={}){const i=W,n=e[i(390)]||1;let r;D[i(372)](i(376)+n+i(401)+e[i(392)]+" "+t),D[i(372)](i(398),e[i(395)]||e.formData||{});const s=Object[i(374)]({Accept:"application/json"},e[i(383)]);if(e[i(378)]){const t=new FormData;for(const n in e[i(378)])t[i(394)](n,e.formData[n]);r=t}else e[i(395)]&&(s[i(380)]="application/json",r=JSON.stringify(e[i(395)]));try{const n=yield fetch(t,{method:e.method,headers:s,body:r});if(!n.ok){let t=yield n[i(391)](),e=t[i(393)]||(yield n[i(382)]());throw D.warn("❌ API ERROR ("+n[i(385)]+i(377),e),new P.ServerError(n[i(385)],t[i(393)]||i(387))}try{const t=yield n.json();return D.debug(i(403)+n.status+i(377),t.message||i(386)),t}catch(t){throw new(P[i(396)])(t.message||String(t))}}catch(r){if(r instanceof P.ServerError||r instanceof P.DecodingError)throw r;if(D.error(i(373),r),this[i(402)]()[i(384)](n))return yield this[i(402)]()[i(407)](),this[i(375)](t,Object[i(374)](Object.assign({},e),{retryAttempt:n+1}));throw new P.NetworkError(r.message||i(381))}})}};function z(){const t=["debug","Error executing request","assign","sendRequest","🚀 REQUEST (",") =>","formData","3170352OfTlCQ","Content-Type","Unknown error","text","headers","canRetry","status","Request successful","Server error","3428552fgzQZq","309914tFnlzO","retryAttempt","json","method","message","append","params","DecodingError","7PaUrLc","-- PARAMETERS =>","15136ARtBWK","471VIhWas",") => ","retryPolicy","✅ API SUCCESS (","3045040XqxRfv","20940282IxpEEU","665871tNLZGo","waitBeforeRetry"];return(z=function(){return t})()}function G(t,e){const i=Q();return(G=function(t,e){return i[t-=138]})(t,e)}function Q(){const t=["14hzMOHr","1369368MMPkGr","appFrameWork","config","24009350MBBuFy","PLATFORM","Initial Config is not set","initialConfig","appToken","1806216mETENm","CONFIG","1696894WYFils","appVersion","3568938iheZHg","baseUrl","hostname","POST","success","sdkEnvironment","1438655ypABkU","2aYTgqw","appSettings","sendRequest","result","SDK Config is not set","SDK","updated_at","HASH","AppSettings Url is not set","2043IrcAkb","other","40808tmrCRy"];return(Q=function(){return t})()}!function(t){const e=G,i=t();for(;;)try{if(986849===-parseInt(e(157))/1*(-parseInt(e(148))/2)+-parseInt(e(146))/3+-parseInt(e(138))/4+parseInt(e(156))/5+-parseInt(e(150))/6*(-parseInt(e(169))/7)+parseInt(e(168))/8*(parseInt(e(166))/9)+-parseInt(e(141))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Q);const H={doGetConfig(){return e(this,void 0,void 0,function*(){const t=G,e=L[t(144)];if(!e)throw t(143);const i={app_token:e[t(145)],app_version:e.appVersion,framework:e[t(139)],env:d[t(155)],sdk_hash:r[t(162)][t(164)],package_name:window.location[t(152)],platform:r[t(162)][t(142)],store_name:t(167)},n=yield j[t(159)](r[t(147)].BASE_URL,{method:t(153),formData:i});return S.fromJson(n[t(160)])})},doGetAppSettings(){return e(this,void 0,void 0,function*(){const t=G,e=L.initialConfig,i=L.config;if(!e)throw t(143);if(!i)throw t(161);if(!i.appSettings)throw t(165);const n={app_token:e.appToken,app_version:e[t(149)],framework:e[t(139)],env:d[t(155)],sdk_hash:r.SDK.HASH,package_name:window.location[t(152)],platform:r[t(162)].PLATFORM,store_name:"other"},s=yield j[t(159)](i[t(151)]+i[t(158)],{method:"POST",formData:n});return g.fromJson(s[t(160)])})},doCallRequest(t,i){return e(this,void 0,void 0,function*(){const e=G,n=L[e(144)],r=L[e(140)];if(!n)throw e(143);if(!r)throw e(161);i[e(163)]=(new Date).toISOString();return(yield j[e(159)](r[e(151)]+t,{method:e(153),params:{needs_response_details:d[e(155)]!=c.PRODUCTION,parameters:i}}))[e(154)]})}},J=Y;function Y(t,e){const i=$();return(Y=function(t,e){return i[t-=257]})(t,e)}!function(t){const e=Y,i=t();for(;;)try{if(255642===-parseInt(e(274))/1*(parseInt(e(275))/2)+parseInt(e(262))/3+-parseInt(e(278))/4+-parseInt(e(271))/5+parseInt(e(270))/6+-parseInt(e(260))/7+parseInt(e(263))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class X{constructor(){const t=Y;this[t(269)]=1e3,this[t(267)]=!1}[J(276)](){const t=J;this[t(265)]&&clearInterval(this.tickerJob),this[t(265)]=setInterval(()=>{const e=t;this.isPaused||document[e(273)]||document[e(258)]()&&(console.log(e(264)+L[e(259)]/1e3+e(257)+L[e(266)]/1e3+"s"),L[e(277)]=Date[e(268)](),L[e(259)]+=this[e(269)])},this.tickerDelay)}[J(272)](){const t=J;clearInterval(this.tickerJob),this[t(265)]=void 0}pause(){this[J(267)]=!0}[J(261)](){this.isPaused=!1}}const Z=new X;function $(){const t=["1084104bNTyZL","7926496UWCOQs","ActivityTicker: active duration= ","tickerJob","inactiveDuration","isPaused","now","tickerDelay","706650wEjXsU","778700FrELlF","stop","hidden","2tvuETa","486926QhuCxC","start","activeTime","1449580QNkTpF","s, inactive duration= ","hasFocus","activeDuration","1464764qCcmNr","resume"];return($=function(){return t})()}const tt=et;function et(t,e){const i=nt();return(et=function(t,e){return i[t-=231]})(t,e)}!function(t){const e=et,i=t();for(;;)try{if(776779===-parseInt(e(245))/1*(-parseInt(e(246))/2)+parseInt(e(235))/3+-parseInt(e(233))/4+parseInt(e(241))/5*(-parseInt(e(239))/6)+-parseInt(e(250))/7*(-parseInt(e(248))/8)+parseInt(e(237))/9+-parseInt(e(244))/10*(-parseInt(e(232))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(nt);class it{constructor(){this[et(240)]=null}[tt(251)](){return e(this,void 0,void 0,function*(){const t=et;return!this[t(240)]&&(this._country=yield this[t(247)]()),this[t(240)]})}[tt(247)](){return e(this,void 0,void 0,function*(){const t=[()=>e(this,void 0,void 0,function*(){const t=et,e=yield this[t(234)]("https://api.country.is");if(!e.ok)throw new Error("country.is failed");return(yield e.json())[t(243)]||null}),()=>e(this,void 0,void 0,function*(){const t=et,e=yield this.fetchWithTimeout(t(238));if(!e.ok)throw new Error(t(252));return(yield e.json()).countryCode||null}),()=>e(this,void 0,void 0,function*(){const t=et,e=yield this[t(234)](t(242));if(!e.ok)throw new Error(t(249));return(yield e[t(231)]()).country_code||null})];for(const e of t)try{const t=yield e();if(t)return t}catch(t){}return null})}fetchWithTimeout(t){return e(this,arguments,void 0,function*(t,e=2e3){const i=et,n=new AbortController,r=setTimeout(()=>n.abort(),e);return fetch(t,{signal:n.signal})[i(236)](()=>clearTimeout(r))})}}function nt(){const t=["country","529330WDuTXe","4fjYKeU","26126XkHVjD","tryAllEndpoints","8PYDgLY","ipwho.is failed","124481QQzqiL","getCountryCode","country.is failed","json","143OisikJ","1828260bEElEB","fetchWithTimeout","101571ZKQlzk","finally","9667314weLugZ","https://free.freeipapi.com/api/json","6RfLIJg","_country","3161615BKetMc","https://ipwho.is/"];return(nt=function(){return t})()}const rt=new it;!function(t){const e=ot,i=t();for(;;)try{if(173912===parseInt(e(447))/1*(parseInt(e(438))/2)+-parseInt(e(442))/3*(-parseInt(e(449))/4)+parseInt(e(446))/5+parseInt(e(443))/6*(-parseInt(e(440))/7)+-parseInt(e(448))/8*(-parseInt(e(441))/9)+-parseInt(e(437))/10+parseInt(e(439))/11*(-parseInt(e(444))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(at);const st={generateDeviceUUID:()=>crypto[ot(445)]()};function ot(t,e){const i=at();return(ot=function(t,e){return i[t-=437]})(t,e)}function at(){const t=["1623230ritlCt","3576LBWxjY","289388EtLWwV","98GEVjHS","108GgPItl","18xCRzwK","7158VJDlPD","36CoRZvP","randomUUID","897955WQpvcY","9YWnRWz","125992UHWxnk","31460xQXhrs"];return(at=function(){return t})()}const ct=lt;function ut(){const t=["waitingQueue","createdAt","acquire","3904LieRdr","length","32gmJDql","962063iVgIOq","maxRetries","release","5112IVbeaE","29223mCpRvq","4283590TwONYd","locked","2ExKVSJ","push","3409924KxwEDQ","2621388KinCUy","parameters","retryCount","1665455SQxOFy","12dUxPzH","randomUUID","22wFWqDZ"];return(ut=function(){return t})()}!function(t){const e=lt,i=t();for(;;)try{if(701396===parseInt(e(264))/1*(-parseInt(e(271))/2)+parseInt(e(268))/3*(-parseInt(e(263))/4)+-parseInt(e(277))/5*(-parseInt(e(278))/6)+parseInt(e(273))/7+parseInt(e(261))/8*(-parseInt(e(267))/9)+parseInt(e(269))/10+parseInt(e(280))/11*(parseInt(e(274))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ut);class dt{constructor(t,e){const i=lt;this[i(276)]=0,this[i(265)]=3,this.id=crypto[i(279)](),this.endpoint=t,this[i(275)]=e,this[i(282)]=Date.now()}}function lt(t,e){const i=ut();return(lt=function(t,e){return i[t-=260]})(t,e)}class ht{constructor(){const t=lt;this.locked=!1,this[t(281)]=[]}[ct(260)](){return e(this,void 0,void 0,function*(){return new Promise(t=>{const e=lt;this.locked?this[e(281)][e(272)](t):(this[e(270)]=!0,t())})})}[ct(266)](){const t=ct;if(this[t(281)][t(262)]>0){this.waitingQueue.shift()()}else this[t(270)]=!1}}const pt=wt;function ft(){const t=[" failed with error after ","shift","startProcessing","🔄 Backoff delay manually reset","mutex","inactiveDuration","shutdown","100qzYtJa","💥 Sending request (","❌ Request ","min","10rDsHdi","SDK_INFOS","getQueueStatus","addRequest","38971416ifitDF","failedRequestDelay","getMainRequestsSentFlag","debug","saveMainQueue","Queue Manager is not initialized. Call initialize() first.","Applying backoff delay of ","error","MAX_DELAY_MS"," failed after ","⏳ Request ","1146304IVKXQl"," attempts. ","push","1070NCJeHY","release","resetBackoffDelay","sendRequest","6813kKNZjg"," processed successfully","maxRetries","doCallRequest","getPendingQueue","PROCESSING_INTERVAL_MS","savePendingQueue","retryCount","BASE_DELAY_MS","fcmToken","push_token","parameters","SDK_CLICKS","pendingRequestRecords","acquire","✅ Request ","isInitialized","6387126oKOdHl","2490704ZFMuBK","calculateBackoffDelay","now","getBackoffConfig","processingInterval","processMainQueue","postRequestCheck","requestRecords","processPendingQueue","processQueues","33113TnVikz","Error in processing loop:","⚠️ Request ","7fOynKC","length","initialize","getMainQueue","BACKOFF_MULTIPLIER","sdkClickSubmit","isCurrentlyProcessing","isProcessing","warn","stopProcessing","firstSessionSubmit","3272226NqajEX","endpoint"];return(ft=function(){return t})()}function wt(t,e){const i=ft();return(wt=function(t,e){return i[t-=178]})(t,e)}!function(t){const e=wt,i=t();for(;;)try{if(892362===parseInt(e(195))/1*(-parseInt(e(218))/2)+parseInt(e(209))/3+-parseInt(e(185))/4*(parseInt(e(222))/5)+-parseInt(e(184))/6+-parseInt(e(198))/7*(-parseInt(e(237))/8)+-parseInt(e(244))/9*(-parseInt(e(240))/10)+parseInt(e(226))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ft);class vt{constructor(){const t=wt;this[t(183)]=!1,this[t(205)]=!1,this.isCurrentlyProcessing=!1,this[t(215)]=new ht,this[t(189)]=null,this[t(249)]=100,this[t(227)]=0,this.MAX_DELAY_MS=3e4,this[t(202)]=2,this[t(252)]=1e3}[pt(200)](){return e(this,void 0,void 0,function*(){const t=wt;this[t(183)]=!0,!this[t(205)]&&(yield this.startProcessing())})}[pt(217)](){return e(this,void 0,void 0,function*(){const t=wt;this[t(183)]&&(yield this[t(207)](),this[t(183)]=!1)})}[pt(213)](){return e(this,void 0,void 0,function*(){const t=wt;if(this.isInitialized){yield this[t(215)].acquire();try{if(this[t(205)])return;this[t(205)]=!0,this[t(189)]=setInterval(()=>e(this,void 0,void 0,function*(){const e=t;try{yield this[e(194)]()}catch(t){D[e(233)](e(196),t)}}),this.PROCESSING_INTERVAL_MS)}finally{this.mutex[t(241)]()}yield this.processQueues()}else D.warn(t(231))})}stopProcessing(){return e(this,void 0,void 0,function*(){const t=wt;yield this[t(215)][t(181)]();try{this[t(205)]=!1,this.processingInterval&&(clearInterval(this[t(189)]),this[t(189)]=null)}finally{this[t(215)][t(241)]()}})}[pt(225)](t){return e(this,void 0,void 0,function*(){const e=wt;yield this[e(215)][e(181)]();try{const i=this[e(201)]();if(i[e(239)](t),this.saveMainQueue(i),this[e(227)]=0,!this[e(205)])return this[e(215)].release(),void(yield this[e(213)]())}finally{this[e(205)]&&this[e(215)][e(241)]()}})}addPendingRequest(t){return e(this,void 0,void 0,function*(){const e=wt;yield this[e(215)][e(181)]();try{if(this[e(228)]()){const i=this[e(201)]();i[e(239)](t),this.saveMainQueue(i)}else{const i=this[e(248)]();i.push(t),this[e(250)](i)}if(this[e(227)]=0,!this[e(205)])return this[e(215)][e(241)](),void(yield this[e(213)]())}finally{this[e(205)]&&this[e(215)][e(241)]()}})}[pt(194)](){return e(this,void 0,void 0,function*(){const t=wt;if(this[t(205)]&&!this[t(204)]){if(this[t(227)]>0){if(Date[t(187)]()<this.failedRequestDelay)return;this[t(227)]=0,D[t(229)]("⏰ Backoff delay ended, resuming queue processing")}this[t(204)]=!0,yield this[t(215)][t(181)]();try{yield this[t(190)](),yield this[t(193)]()}finally{this[t(215)][t(241)](),this[t(204)]=!1}}})}[pt(190)](){return e(this,void 0,void 0,function*(){const t=wt,e=this.getMainQueue();if(0===e.length)return;const i=e[0];try{if(yield this[t(243)](i))e[t(212)](),this[t(230)](e),this[t(191)](i),D[t(229)](t(182)+i.id+t(245));else{if(e[0][t(251)]++,e[0].retryCount>=e[0][t(246)]){const n=this[t(186)](e[0][t(251)]);this.failedRequestDelay=Date[t(187)]()+n,D[t(206)](t(236)+i.id+t(235)+i[t(246)]+t(238)+(t(232)+n+"ms"))}else D[t(206)](t(197)+i.id+" failed. Retry "+e[0].retryCount+"/"+e[0][t(246)]);this[t(230)](e)}}catch(n){if(D[t(233)]("Error sending request "+i[t(210)]+":",n),e[0][t(251)]++,e[0][t(251)]>=e[0][t(246)]){const n=this[t(186)](e[0].retryCount);this.failedRequestDelay=Date[t(187)]()+n,D[t(206)](t(236)+i.id+t(211)+e[0].maxRetries+" attempts. "+(t(232)+n)+"ms")}this.saveMainQueue(e)}})}[pt(186)](t){const e=pt,i=this[e(252)]*Math.pow(this.BACKOFF_MULTIPLIER,t-1);return Math[e(221)](i,this[e(234)])}processPendingQueue(){return e(this,void 0,void 0,function*(){const t=wt;if(!this[t(228)]())return;const e=this.getPendingQueue();if(0===e.length)return;const i=this[t(201)]();i[t(239)](...e),this[t(230)](i),this[t(250)]([]),console.log("📦 Moved "+e[t(199)]+" pending requests to main queue")})}[pt(243)](t){return e(this,arguments,void 0,function*(t,e=1){const i=wt;D[i(229)](i(219)+t.endpoint+"): id="+t.id);let n=!1;try{n=yield H[i(247)](t.endpoint,t[i(178)])}catch(e){D[i(233)](i(220)+t.endpoint+" failed",e)}return n})}[pt(201)](){return L[pt(192)]}[pt(230)](t){L[pt(192)]=t}[pt(248)](){return L[pt(180)]}[pt(250)](t){L.pendingRequestRecords=t}[pt(228)](){return L[pt(203)]}[pt(191)](t){const e=pt;switch(t[e(210)]){case f[e(179)]:L[e(203)]=!0;break;case f.SESSIONS:L[e(208)]?(L.activeDuration=0,L[e(216)]=0,L.subSessionCount=1):L[e(208)]=!0;break;case f[e(223)]:L[e(253)]=t[e(178)][e(254)]}}[pt(224)](){const t=pt;return{mainQueueLength:this[t(201)]().length,pendingQueueLength:this[t(248)]().length,isProcessing:this[t(205)],mainRequestsSent:this[t(228)](),isInBackoffDelay:this[t(227)]>0&&Date[t(187)]()<this[t(227)],backoffEndsAt:this.failedRequestDelay>0?this[t(227)]:null}}[pt(242)](){const t=pt;this[t(227)]=0,D[t(229)](t(214))}[pt(188)](){const t=pt;return{baseDelayMs:this[t(252)],multiplier:this[t(202)],maxDelayMs:this[t(234)]}}}const gt=new vt;var bt,mt="user-agent",It="",St="function",yt="undefined",kt="object",Et="string",Tt="browser",_t="cpu",Ct="device",xt="engine",Dt="os",Nt="result",Ot="name",Rt="type",At="vendor",Ut="version",Lt="architecture",Pt="major",qt="model",Mt="console",Ft="mobile",Bt="tablet",Kt="smarttv",Vt="wearable",Wt="xr",jt="embedded",zt="inapp",Gt="brands",Qt="formFactors",Ht="fullVersionList",Jt="platform",Yt="platformVersion",Xt="bitness",Zt="sec-ch-ua",$t=Zt+"-full-version-list",te=Zt+"-arch",ee=Zt+"-"+Xt,ie=Zt+"-form-factors",ne=Zt+"-"+Ft,re=Zt+"-"+qt,se=Zt+"-"+Jt,oe=se+"-version",ae=[Gt,Ht,Ft,qt,Jt,Yt,Lt,Qt,Xt],ce="Amazon",ue="Apple",de="ASUS",le="BlackBerry",he="Google",pe="Huawei",fe="Lenovo",we="Honor",ve="LG",ge="Microsoft",be="Motorola",me="Nvidia",Ie="OnePlus",Se="OPPO",ye="Samsung",ke="Sharp",Ee="Sony",Te="Xiaomi",_e="Zebra",Ce="Chrome",xe="Chromium",De="Chromecast",Ne="Edge",Oe="Firefox",Re="Opera",Ae="Facebook",Ue="Sogou",Le="Mobile ",Pe=" Browser",qe="Windows",Me=typeof window!==yt&&window.navigator?window.navigator:void 0,Fe=Me&&Me.userAgentData?Me.userAgentData:void 0,Be=function(t){for(var e={},i=0;i<t.length;i++)e[t[i].toUpperCase()]=t[i];return e},Ke=function(t,e){if(typeof t===kt&&t.length>0){for(var i in t)if(ze(e)==ze(t[i]))return!0;return!1}return!!We(t)&&ze(e)==ze(t)},Ve=function(t,e){for(var i in t)return/^(browser|cpu|device|engine|os)$/.test(i)||!!e&&Ve(t[i])},We=function(t){return typeof t===Et},je=function(t){if(t){for(var e=[],i=He(/\\?\"/g,t).split(","),n=0;n<i.length;n++)if(i[n].indexOf(";")>-1){var r=Ye(i[n]).split(";v=");e[n]={brand:r[0],version:r[1]}}else e[n]=Ye(i[n]);return e}},ze=function(t){return We(t)?t.toLowerCase():t},Ge=function(t){return We(t)?He(/[^\d\.]/g,t).split(".")[0]:void 0},Qe=function(t){for(var e in t){var i=t[e];typeof i==kt&&2==i.length?this[i[0]]=i[1]:this[i]=void 0}return this},He=function(t,e){return We(e)?e.replace(t,It):e},Je=function(t){return He(/\\?\"/g,t)},Ye=function(t,e){if(We(t))return t=He(/^\s\s*/,t),typeof e===yt?t:t.substring(0,500)},Xe=function(t,e){if(t&&e)for(var i,n,r,s,o,a,c=0;c<e.length&&!o;){var u=e[c],d=e[c+1];for(i=n=0;i<u.length&&!o&&u[i];)if(o=u[i++].exec(t))for(r=0;r<d.length;r++)a=o[++n],typeof(s=d[r])===kt&&s.length>0?2===s.length?typeof s[1]==St?this[s[0]]=s[1].call(this,a):this[s[0]]=s[1]:s.length>=3&&(typeof s[1]!==St||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}},Ze=function(t,e){for(var i in e)if(typeof e[i]===kt&&e[i].length>0){for(var n=0;n<e[i].length;n++)if(Ke(e[i][n],t))return"?"===i?void 0:i}else if(Ke(e[i],t))return"?"===i?void 0:i;return e.hasOwnProperty("*")?e["*"]:t},$e={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:""},ti={embedded:"Automotive",mobile:"Mobile",tablet:["Tablet","EInk"],smarttv:"TV",wearable:"Watch",xr:["VR","XR"],"?":["Desktop","Unknown"],"*":void 0},ei={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"},ii={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[Ut,[Ot,Le+"Chrome"]],[/webview.+edge\/([\w\.]+)/i],[Ut,[Ot,Ne+" WebView"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[Ut,[Ot,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[Ot,Ut],[/opios[\/ ]+([\w\.]+)/i],[Ut,[Ot,Re+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[Ut,[Ot,Re+" GX"]],[/\bopr\/([\w\.]+)/i],[Ut,[Ot,Re]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[Ut,[Ot,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[Ut,[Ot,"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],[Ot,Ut],[/quark(?:pc)?\/([-\w\.]+)/i],[Ut,[Ot,"Quark"]],[/\bddg\/([\w\.]+)/i],[Ut,[Ot,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[Ut,[Ot,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[Ut,[Ot,"WeChat"]],[/konqueror\/([\w\.]+)/i],[Ut,[Ot,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[Ut,[Ot,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[Ut,[Ot,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[Ut,[Ot,"Smart "+fe+Pe]],[/(avast|avg)\/([\w\.]+)/i],[[Ot,/(.+)/,"$1 Secure"+Pe],Ut],[/\bfocus\/([\w\.]+)/i],[Ut,[Ot,Oe+" Focus"]],[/\bopt\/([\w\.]+)/i],[Ut,[Ot,Re+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[Ut,[Ot,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[Ut,[Ot,"Dolphin"]],[/coast\/([\w\.]+)/i],[Ut,[Ot,Re+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[Ut,[Ot,"MIUI"+Pe]],[/fxios\/([\w\.-]+)/i],[Ut,[Ot,Le+Oe]],[/\bqihoobrowser\/?([\w\.]*)/i],[Ut,[Ot,"360"]],[/\b(qq)\/([\w\.]+)/i],[[Ot,/(.+)/,"$1Browser"],Ut],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[Ot,/(.+)/,"$1"+Pe],Ut],[/samsungbrowser\/([\w\.]+)/i],[Ut,[Ot,ye+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[Ut,[Ot,Ue+" Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[Ot,Ue+" Mobile"],Ut],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[Ot,Ut],[/(lbbrowser|rekonq)/i],[Ot],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[Ut,Ot],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[Ot,Ae],Ut,[Rt,zt]],[/(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],[Ot,Ut,[Rt,zt]],[/\bgsa\/([\w\.]+) .*safari\//i],[Ut,[Ot,"GSA"],[Rt,zt]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[Ut,[Ot,"TikTok"],[Rt,zt]],[/\[(linkedin)app\]/i],[Ot,[Rt,zt]],[/(chromium)[\/ ]([-\w\.]+)/i],[Ot,Ut],[/headlesschrome(?:\/([\w\.]+)| )/i],[Ut,[Ot,Ce+" Headless"]],[/wv\).+chrome\/([\w\.]+).+edgw\//i],[Ut,[Ot,Ne+" WebView2"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[Ot,Ce+" WebView"],Ut],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[Ut,[Ot,"Android"+Pe]],[/chrome\/([\w\.]+) mobile/i],[Ut,[Ot,Le+"Chrome"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[Ot,Ut],[/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i],[Ut,[Ot,Le+"Safari"]],[/iphone .*mobile(?:\/\w+ | ?)safari/i],[[Ot,Le+"Safari"]],[/version\/([\w\.\,]+) .*(safari)/i],[Ut,Ot],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[Ot,[Ut,"1"]],[/(webkit|khtml)\/([\w\.]+)/i],[Ot,Ut],[/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i],[[Ot,Le+Oe],Ut],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[Ot,"Netscape"],Ut],[/(wolvic|librewolf)\/([\w\.]+)/i],[Ot,Ut],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[Ut,[Ot,Oe+" 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],[Ot,[Ut,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[Ot,[Ut,/[^\d\.]+./,It]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[Lt,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[Lt,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[Lt,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[Lt,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[Lt,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[Lt,/ower/,It,ze]],[/ sun4\w[;\)]/i],[[Lt,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[Lt,ze]]],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],[qt,[At,ye],[Rt,Bt]],[/\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],[qt,[At,ye],[Rt,Ft]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[qt,[At,ue],[Rt,Ft]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[qt,[At,ue],[Rt,Bt]],[/(macintosh);/i],[qt,[At,ue]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[qt,[At,ke],[Rt,Ft]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[qt,[At,we],[Rt,Bt]],[/honor([-\w ]+)[;\)]/i],[qt,[At,we],[Rt,Ft]],[/\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],[qt,[At,pe],[Rt,Bt]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[qt,[At,pe],[Rt,Ft]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[qt,/_/g," "],[At,Te],[Rt,Bt]],[/\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],[[qt,/_/g," "],[At,Te],[Rt,Ft]],[/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],[qt,[At,Ie],[Rt,Ft]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[qt,[At,Se],[Rt,Ft]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[qt,[At,Ze,{OnePlus:["203","304","403","404","413","415"],"*":Se}],[Rt,Bt]],[/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i],[qt,[At,"BLU"],[Rt,Ft]],[/; vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[qt,[At,"Vivo"],[Rt,Ft]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[qt,[At,"Realme"],[Rt,Ft]],[/(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],[qt,[At,fe],[Rt,Bt]],[/lenovo[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i],[qt,[At,fe],[Rt,Ft]],[/\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],[qt,[At,be],[Rt,Ft]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[qt,[At,be],[Rt,Bt]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[qt,[At,ve],[Rt,Bt]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch|webos))(\w+)/i,/\blg-?([\d\w]+) bui/i],[qt,[At,ve],[Rt,Ft]],[/(nokia) (t[12][01])/i],[At,qt,[Rt,Bt]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[qt,/_/g," "],[Rt,Ft],[At,"Nokia"]],[/(pixel (c|tablet))\b/i],[qt,[At,he],[Rt,Bt]],[/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],[qt,[At,he],[Rt,Ft]],[/(google) (pixelbook( go)?)/i],[At,qt],[/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],[qt,[At,Ee],[Rt,Ft]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[qt,"Xperia Tablet"],[At,Ee],[Rt,Bt]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[qt,[At,ce],[Rt,Bt]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[qt,/(.+)/g,"Fire Phone $1"],[At,ce],[Rt,Ft]],[/(playbook);[-\w\),; ]+(rim)/i],[qt,At,[Rt,Bt]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[qt,[At,le],[Rt,Ft]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[qt,[At,de],[Rt,Bt]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[qt,[At,de],[Rt,Ft]],[/(nexus 9)/i],[qt,[At,"HTC"],[Rt,Bt]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[At,[qt,/_/g," "],[Rt,Ft]],[/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],[qt,[At,"TCL"],[Rt,Bt]],[/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],[qt,[At,"TCL"],[Rt,Ft]],[/(itel) ((\w+))/i],[[At,ze],qt,[Rt,Ze,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[qt,[At,"Acer"],[Rt,Bt]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[qt,[At,"Meizu"],[Rt,Ft]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[qt,[At,"Ulefone"],[Rt,Ft]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[qt,[At,"Energizer"],[Rt,Ft]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[qt,[At,"Cat"],[Rt,Ft]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[qt,[At,"Smartfren"],[Rt,Ft]],[/droid.+; (a(in)?(0(15|59|6[35])|142)p?)/i],[qt,[At,"Nothing"],[Rt,Ft]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[qt,[At,"Archos"],[Rt,Bt]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[qt,[At,"Archos"],[Rt,Ft]],[/; (n159v)/i],[qt,[At,"HMD"],[Rt,Ft]],[/(imo) (tab \w+)/i,/(infinix|tecno) (x1101b?|p904|dp(7c|8d|10a)( pro)?|p70[1-3]a?|p904|t1101)/i],[At,qt,[Rt,Bt]],[/(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],[At,qt,[Rt,Ft]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i],[At,qt,[Rt,Bt]],[/(surface duo)/i],[qt,[At,ge],[Rt,Bt]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[qt,[At,"Fairphone"],[Rt,Ft]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[qt,[At,me],[Rt,Bt]],[/(sprint) (\w+)/i],[At,qt,[Rt,Ft]],[/(kin\.[onetw]{3})/i],[[qt,/\./g," "],[At,ge],[Rt,Ft]],[/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[qt,[At,_e],[Rt,Bt]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[qt,[At,_e],[Rt,Ft]],[/smart-tv.+(samsung)/i],[At,[Rt,Kt]],[/hbbtv.+maple;(\d+)/i],[[qt,/^/,"SmartTV"],[At,ye],[Rt,Kt]],[/(vizio)(?: |.+model\/)(\w+-\w+)/i,/tcast.+(lg)e?. ([-\w]+)/i],[At,qt,[Rt,Kt]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[At,ve],[Rt,Kt]],[/(apple) ?tv/i],[At,[qt,ue+" TV"],[Rt,Kt]],[/crkey.*devicetype\/chromecast/i],[[qt,De+" Third Generation"],[At,he],[Rt,Kt]],[/crkey.*devicetype\/([^/]*)/i],[[qt,/^/,"Chromecast "],[At,he],[Rt,Kt]],[/fuchsia.*crkey/i],[[qt,De+" Nest Hub"],[At,he],[Rt,Kt]],[/crkey/i],[[qt,De],[At,he],[Rt,Kt]],[/(portaltv)/i],[qt,[At,Ae],[Rt,Kt]],[/droid.+aft(\w+)( bui|\))/i],[qt,[At,ce],[Rt,Kt]],[/(shield \w+ tv)/i],[qt,[At,me],[Rt,Kt]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[qt,[At,ke],[Rt,Kt]],[/(bravia[\w ]+)( bui|\))/i],[qt,[At,Ee],[Rt,Kt]],[/(mi(tv|box)-?\w+) bui/i],[qt,[At,Te],[Rt,Kt]],[/Hbbtv.*(technisat) (.*);/i],[At,qt,[Rt,Kt]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[At,/.+\/(\w+)/,"$1",Ze,{LG:"lge"}],[qt,Ye],[Rt,Kt]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[qt,[Rt,Kt]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:|large screen[\w ]+safari)\b/i],[[Rt,Kt]],[/(playstation \w+)/i],[qt,[At,Ee],[Rt,Mt]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[qt,[At,ge],[Rt,Mt]],[/(ouya)/i,/(nintendo) (\w+)/i,/(retroid) (pocket ([^\)]+))/i],[At,qt,[Rt,Mt]],[/droid.+; (shield)( bui|\))/i],[qt,[At,me],[Rt,Mt]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[qt,[At,ye],[Rt,Vt]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[At,qt,[Rt,Vt]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[qt,[At,Se],[Rt,Vt]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[qt,[At,ue],[Rt,Vt]],[/(opwwe\d{3})/i],[qt,[At,Ie],[Rt,Vt]],[/(moto 360)/i],[qt,[At,be],[Rt,Vt]],[/(smartwatch 3)/i],[qt,[At,Ee],[Rt,Vt]],[/(g watch r)/i],[qt,[At,ve],[Rt,Vt]],[/droid.+; (wt63?0{2,3})\)/i],[qt,[At,_e],[Rt,Vt]],[/droid.+; (glass) \d/i],[qt,[At,he],[Rt,Wt]],[/(pico) (4|neo3(?: link|pro)?)/i],[At,qt,[Rt,Wt]],[/(quest( \d| pro)?s?).+vr/i],[qt,[At,Ae],[Rt,Wt]],[/mobile vr; rv.+firefox/i],[[Rt,Wt]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[At,[Rt,jt]],[/(aeobc)\b/i],[qt,[At,ce],[Rt,jt]],[/(homepod).+mac os/i],[qt,[At,ue],[Rt,jt]],[/windows iot/i],[[Rt,jt]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+?(mobile|vr|\d) safari/i],[qt,[Rt,Ze,{mobile:"Mobile",xr:"VR","*":Bt}]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[Rt,Bt]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[Rt,Ft]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[qt,[At,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[Ut,[Ot,Ne+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[Ot,Ut],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[Ut,[Ot,"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],[Ot,Ut],[/ladybird\//i],[[Ot,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[Ut,Ot]],os:[[/(windows nt) (6\.[23]); arm/i],[[Ot,/N/,"R"],[Ut,Ze,$e]],[/(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],[Ot,Ut],[/windows nt ?([\d\.\)]*)(?!.+xbox)/i,/\bwin(?=3| ?9|n)(?:nt| 9x )?([\d\.;]*)/i],[[Ut,/(;|\))/g,"",Ze,$e],[Ot,qe]],[/(windows ce)\/?([\d\.]*)/i],[Ot,Ut],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[Ut,/_/g,"."],[Ot,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+(haiku|morphos))/i],[[Ot,"macOS"],[Ut,/_/g,"."]],[/android ([\d\.]+).*crkey/i],[Ut,[Ot,De+" Android"]],[/fuchsia.*crkey\/([\d\.]+)/i],[Ut,[Ot,De+" Fuchsia"]],[/crkey\/([\d\.]+).*devicetype\/smartspeaker/i],[Ut,[Ot,De+" SmartSpeaker"]],[/linux.*crkey\/([\d\.]+)/i],[Ut,[Ot,De+" Linux"]],[/crkey\/([\d\.]+)/i],[Ut,[Ot,De]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[Ut,Ot],[/(ubuntu) ([\w\.]+) like android/i],[[Ot,/(.+)/,"$1 Touch"],Ut],[/(harmonyos)[\/ ]?([\d\.]*)/i,/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen)\w*[-\/\.; ]?([\d\.]*)/i],[Ot,Ut],[/\(bb(10);/i],[Ut,[Ot,le]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[Ut,[Ot,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[Ut,[Ot,Oe+" OS"]],[/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i,/webos(?:[ \/]?|\.tv-20(?=2[2-9]))(\d[\d\.]*)/i],[Ut,[Ot,"webOS"]],[/web0s;.+?(?:chr[o0]me|safari)\/(\d+)/i],[[Ut,Ze,{25:"120",24:"108",23:"94",22:"87",6:"79",5:"68",4:"53",3:"38",2:"538",1:"537","*":"TV"}],[Ot,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[Ut,[Ot,"watchOS"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[Ot,"Chrome OS"],Ut],[/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],[Ot,Ut],[/(sunos) ?([\d\.]*)/i],[[Ot,"Solaris"],Ut],[/\b(beos|os\/2|amigaos|openvms|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[Ot,Ut]]},ni=(Qe.call((bt={init:{},isIgnore:{},isIgnoreRgx:{},toString:{}}).init,[[Tt,[Ot,Ut,Pt,Rt]],[_t,[Lt]],[Ct,[Rt,qt,At]],[xt,[Ot,Ut]],[Dt,[Ot,Ut]]]),Qe.call(bt.isIgnore,[[Tt,[Ut,Pt]],[xt,[Ut]],[Dt,[Ut]]]),Qe.call(bt.isIgnoreRgx,[[Tt,/ ?browser$/i],[Dt,/ ?os$/i]]),Qe.call(bt.toString,[[Tt,[Ot,Ut]],[_t,[Lt]],[Ct,[At,qt]],[xt,[Ot,Ut]],[Dt,[Ot,Ut]]]),bt),ri=function(t,e){var i=ni.init[e],n=ni.isIgnore[e]||0,r=ni.isIgnoreRgx[e]||0,s=ni.toString[e]||0;function o(){Qe.call(this,i)}return o.prototype.getItem=function(){return t},o.prototype.withClientHints=function(){return Fe?Fe.getHighEntropyValues(ae).then(function(e){return t.setCH(new si(e,!1)).parseCH().get()}):t.parseCH().get()},o.prototype.withFeatureCheck=function(){return t.detectFeature().get()},e!=Nt&&(o.prototype.is=function(t){var e=!1;for(var i in this)if(this.hasOwnProperty(i)&&!Ke(n,i)&&ze(r?He(r,this[i]):this[i])==ze(r?He(r,t):t)){if(e=!0,t!=yt)break}else if(t==yt&&e){e=!e;break}return e},o.prototype.toString=function(){var t=It;for(var e in s)typeof this[s[e]]!==yt&&(t+=(t?" ":It)+this[s[e]]);return t||yt}),Fe||(o.prototype.then=function(t){var e=this,i=function(){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])};i.prototype={is:o.prototype.is,toString:o.prototype.toString};var n=new i;return t(n),n}),new o};function si(t,e){if(t=t||{},Qe.call(this,ae),e)Qe.call(this,[[Gt,je(t[Zt])],[Ht,je(t[$t])],[Ft,/\?1/.test(t[ne])],[qt,Je(t[re])],[Jt,Je(t[se])],[Yt,Je(t[oe])],[Lt,Je(t[te])],[Qt,je(t[ie])],[Xt,Je(t[ee])]]);else for(var i in t)this.hasOwnProperty(i)&&typeof t[i]!==yt&&(this[i]=t[i])}function oi(t,e,i,n){return this.get=function(t){return t?this.data.hasOwnProperty(t)?this.data[t]:void 0:this.data},this.set=function(t,e){return this.data[t]=e,this},this.setCH=function(t){return this.uaCH=t,this},this.detectFeature=function(){if(Me&&Me.userAgent==this.ua)switch(this.itemType){case Tt:Me.brave&&typeof Me.brave.isBrave==St&&this.set(Ot,"Brave");break;case Ct:!this.get(Rt)&&Fe&&Fe[Ft]&&this.set(Rt,Ft),"Macintosh"==this.get(qt)&&Me&&typeof Me.standalone!==yt&&Me.maxTouchPoints&&Me.maxTouchPoints>2&&this.set(qt,"iPad").set(Rt,Bt);break;case Dt:!this.get(Ot)&&Fe&&Fe[Jt]&&this.set(Ot,Fe[Jt]);break;case Nt:var t=this.data,e=function(e){return t[e].getItem().detectFeature().get()};this.set(Tt,e(Tt)).set(_t,e(_t)).set(Ct,e(Ct)).set(xt,e(xt)).set(Dt,e(Dt))}return this},this.parseUA=function(){return this.itemType!=Nt&&Xe.call(this.data,this.ua,this.rgxMap),this.itemType==Tt&&this.set(Pt,Ge(this.get(Ut))),this},this.parseCH=function(){var t=this.uaCH,e=this.rgxMap;switch(this.itemType){case Tt:case xt:var i,n=t[Ht]||t[Gt];if(n)for(var r in n){var s=n[r].brand||n[r],o=n[r].version;this.itemType==Tt&&!/not.a.brand/i.test(s)&&(!i||/Chrom/.test(i)&&s!=xe||i==Ne&&/WebView2/.test(s))&&(s=Ze(s,ei),(i=this.get(Ot))&&!/Chrom/.test(i)&&/Chrom/.test(s)||this.set(Ot,s).set(Ut,o).set(Pt,Ge(o)),i=s),this.itemType==xt&&s==xe&&this.set(Ut,o)}break;case _t:var a=t[Lt];a&&(a&&"64"==t[Xt]&&(a+="64"),Xe.call(this.data,a+";",e));break;case Ct:if(t[Ft]&&this.set(Rt,Ft),t[qt]&&(this.set(qt,t[qt]),!this.get(Rt)||!this.get(At))){var c={};Xe.call(c,"droid 9; "+t[qt]+")",e),!this.get(Rt)&&c.type&&this.set(Rt,c.type),!this.get(At)&&c.vendor&&this.set(At,c.vendor)}if(t[Qt]){var u;if("string"!=typeof t[Qt])for(var d=0;!u&&d<t[Qt].length;)u=Ze(t[Qt][d++],ti);else u=Ze(t[Qt],ti);this.set(Rt,u)}break;case Dt:var l=t[Jt];if(l){var h=t[Yt];l==qe&&(h=parseInt(Ge(h),10)>=13?"11":"10"),this.set(Ot,l).set(Ut,h)}this.get(Ot)==qe&&"Xbox"==t[qt]&&this.set(Ot,"Xbox").set(Ut,void 0);break;case Nt:var p=this.data,f=function(e){return p[e].getItem().setCH(t).parseCH().get()};this.set(Tt,f(Tt)).set(_t,f(_t)).set(Ct,f(Ct)).set(xt,f(xt)).set(Dt,f(Dt))}return this},Qe.call(this,[["itemType",t],["ua",e],["uaCH",n],["rgxMap",i],["data",ri(this,t)]]),this}function ai(t,e,i){if(typeof t===kt?(Ve(t,!0)?(typeof e===kt&&(i=e),e=t):(i=t,e=void 0),t=void 0):typeof t!==Et||Ve(e,!0)||(i=e,e=void 0),i&&typeof i.append===St){var n={};i.forEach(function(t,e){n[e]=t}),i=n}if(!(this instanceof ai))return new ai(t,e,i).getResult();var r=typeof t===Et?t:i&&i[mt]?i[mt]:Me&&Me.userAgent?Me.userAgent:It,s=new si(i,!0),o=e?function(t,e){var i={},n=e;if(!Ve(e))for(var r in n={},e)for(var s in e[r])n[s]=e[r][s].concat(n[s]?n[s]:[]);for(var o in t)i[o]=n[o]&&n[o].length%2==0?n[o].concat(t[o]):t[o];return i}(ii,e):ii,a=function(t){return t==Nt?function(){return new oi(t,r,o,s).set("ua",r).set(Tt,this.getBrowser()).set(_t,this.getCPU()).set(Ct,this.getDevice()).set(xt,this.getEngine()).set(Dt,this.getOS()).get()}:function(){return new oi(t,r,o[t],s).parseUA().get()}};return Qe.call(this,[["getBrowser",a(Tt)],["getCPU",a(_t)],["getDevice",a(Ct)],["getEngine",a(xt)],["getOS",a(Dt)],["getResult",a(Nt)],["getUA",function(){return r}],["setUA",function(t){return We(t)&&(r=t.length>500?Ye(t,500):t),this}]]).setUA(r),this}ai.VERSION="2.0.4",ai.BROWSER=Be([Ot,Ut,Pt,Rt]),ai.CPU=Be([Lt]),ai.DEVICE=Be([qt,At,Rt,Mt,Ft,Kt,Bt,Vt,jt]),ai.ENGINE=ai.OS=Be([Ot,Ut]);const ci=ui;function ui(t,e){const i=hi();return(ui=function(t,e){return i[t-=463]})(t,e)}!function(t){const e=ui,i=t();for(;;)try{if(381527===parseInt(e(466))/1+-parseInt(e(519))/2*(parseInt(e(481))/3)+parseInt(e(484))/4*(parseInt(e(469))/5)+parseInt(e(502))/6*(parseInt(e(520))/7)+parseInt(e(508))/8*(-parseInt(e(511))/9)+-parseInt(e(509))/10*(-parseInt(e(489))/11)+parseInt(e(513))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(hi);class di{[ci(483)](){const t=ci,e=(new ai)[t(524)]();return{browser:e.browser,os:e.os,device:e.device,engine:e[t(503)],cpu:e[t(480)],ua:e.ua}}get screenDensity(){const t=ci;return window[t(490)]>=3?t(515):window.devicePixelRatio>=2?"medium":t(488)}get[ci(493)](){const t=ci;return window[t(479)]>window[t(521)]?t(470):t(486)}get[ci(474)](){const t=ci,e=window[t(521)];return t(e<480?504:e<768?486:e<1440?501:523)}get uiMode(){const t=ci;var e,i,n;const r=this[t(483)](),s=(null===(e=r[t(505)])||void 0===e?void 0:e[t(510)])||"",o=(null===(n=null===(i=r[t(505)])||void 0===i?void 0:i[t(516)])||void 0===n?void 0:n[t(514)]())||"",a=r.ua[t(514)]();return s===t(491)||o[t(476)](t(496))?6:s===t(478)||a[t(476)](t(471))||a.includes(t(463))||a.includes(t(507))||a[t(476)](t(492))||a[t(476)](t(494))?4:s===t(475)||a[t(476)]("playstation")||a[t(476)](t(518))||a[t(476)]("nintendo")?5:a[t(476)](t(468))||a[t(476)](t(517))||a[t(476)]("carplay")?3:a[t(476)]("oculus")||a[t(476)](t(477))||a.includes("vr")||s===t(472)?7:s===t(464)||"tablet"===s?1:""===s||s===t(500)?2:0}get[ci(487)](){const t=ci;return window[t(467)]&&window[t(467)](t(498))[t(495)]?"1":"0"}get displaySize(){const t=ci,e=window[t(490)]||1,i=screen[t(485)]*e/160,n=screen[t(473)]*e/160;return Math[t(482)](Math[t(512)](i,2)+Math.pow(n,2))[t(499)](2)}get[ci(522)](){const t=ci;return t(497)in window||navigator[t(506)]>0?"touch":t(465)}}const li=new di;function hi(){const t=["model","android auto","xbox","2isQmBw","14PvsHmV","innerWidth","screenType","xlarge","getResult","hbbtv","mobile","pointer","137909BTWURp","matchMedia","car","722960irnURT","long","smart-tv","embedded","height","screenSize","console","includes","vive","smarttv","innerHeight","cpu","2089437uQIoGQ","sqrt","getDeviceInfo","16ncckpf","width","normal","uiStyle","low","3523586YSOeyy","devicePixelRatio","wearable","googletv","screenFormat","appletv","matches","watch","ontouchstart","(prefers-color-scheme: dark)","toFixed","desktop","large","126858dKdNIi","engine","small","device","maxTouchPoints","netcast","7576gCLOwn","10dtoEBF","type","27lvfSQK","pow","23496WVyNbg","toLowerCase","high"];return(hi=function(){return t})()}const pi=vi;!function(t){const e=vi,i=t();for(;;)try{if(889418===parseInt(e(460))/1*(-parseInt(e(457))/2)+parseInt(e(458))/3+-parseInt(e(472))/4+parseInt(e(470))/5*(-parseInt(e(454))/6)+parseInt(e(467))/7+parseInt(e(463))/8*(parseInt(e(468))/9)+parseInt(e(476))/10*(parseInt(e(475))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wi);class fi{constructor(){this[vi(471)]=null}[pi(482)](){return e(this,void 0,void 0,function*(){const t=vi;if(this[t(471)])return this[t(471)];const e=this[t(477)](),i=this.isSessionStorageSupported(),n=yield this[t(456)]();return this[t(471)]={localStorage:e,sessionStorage:i,indexedDB:n},this[t(471)]})}[pi(455)](t){const e=pi;let i=0;for(let n=0;n<t[e(461)];n++){const r=t[e(459)](n);if(!r)continue;const s=t[e(483)](r);null!=s&&(i+=2*r[e(461)],i+=2*s[e(461)])}return i}[pi(477)](){const t=pi;try{const e=t(462);return localStorage.setItem(e,"1"),localStorage[t(464)](e),!0}catch(t){return!1}}[pi(474)](){const t=pi;try{const e=t(462);return sessionStorage.setItem(e,"1"),sessionStorage[t(464)](e),!0}catch(t){return!1}}[pi(456)](){const t=pi;return t(478)in window?new Promise(e=>{const i=t;try{const t=indexedDB[i(479)](i(481));t[i(469)]=()=>e(!1),t[i(465)]=()=>{const n=i;t.result[n(480)](),indexedDB[n(473)](n(481)),e(!0)}}catch(t){e(!1)}}):Promise[t(466)](!1)}}function wi(){const t=["length","__test__","4960QYFlCa","removeItem","onsuccess","resolve","11592161JYitMh","3465VWtrAf","onerror","639535FWIndA","supportResults","2628700NZZYmd","deleteDatabase","isSessionStorageSupported","2460469SNFqyr","20hEvDqL","isLocalStorageSupported","indexedDB","open","close","__test__check__","getSupportResult","getItem","42fkaQTr","getStorageSizeBytes","isIndexedDBSupported","1114WtGXNI","1871994QJBtjh","key","941QRApXo"];return(wi=function(){return t})()}function vi(t,e){const i=wi();return(vi=function(t,e){return i[t-=454]})(t,e)}const gi=new fi;function bi(t,e){const i=Si();return(bi=function(t,e){return i[t-=390]})(t,e)}const mi=bi;!function(t){const e=bi,i=t();for(;;)try{if(257902===parseInt(e(457))/1+-parseInt(e(400))/2+parseInt(e(462))/3+parseInt(e(396))/4+-parseInt(e(412))/5*(parseInt(e(407))/6)+parseInt(e(423))/7*(parseInt(e(406))/8)+-parseInt(e(393))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Si);class Ii{static[mi(451)](){const t=mi,e=new URLSearchParams(window[t(456)][t(438)]),i={};for(const[n,r]of e[t(418)]())n[t(433)](t(409))&&r&&(i[n]=r);if(!i[t(420)]){const e=document[t(442)];i[t(420)]=e?new URL(e)[t(459)]:t(392)}return!i[t(443)]&&(i[t(443)]=t(424)),Object[t(418)](i)[t(447)](([t,e])=>t+"="+encodeURIComponent(e))[t(401)]("&")}}function Si(){const t=["/_next/","location","152512RurWOR","__reactContainer","hostname","querySelectorAll","Meteor.js","255579MRiKbN","wix.com","Laravel","other","635274iDWgKz","jQuery","querySelector","1342700vkZlwN","Zepto.js","svelte","[ng-version]","549062fqsVuK","join","cdn.shopify.com","scripts","from","Next.js","728dVVJYC","6SRBNBN","wp-content","utm_",".ng-binding, [ng-app], [data-ng-app], [ng-controller], [data-ng-controller], [ng-repeat], [data-ng-repeat]","Backbone.js","296795cxOBBJ","drupal-settings-json","script[id=__NEXT_DATA__]","/_nuxt/","documentElement","mix-manifest.json","entries","some","utm_source","[x-data], [x-init], [x-bind]",'meta[name="generator"][content*="Drupal"]',"6846GmtjOM","organic","includes","Vue.js","Svelte","Drupal","Squarespace","/js/app.js","Ghost CMS","static.squarespace.com","startsWith",'meta[name="generator"][content*="Ghost"]',"src","[id=___gatsby]","Angular","search","Wix","innerHTML","textContent","referrer","utm_medium","Nuxt.js",'meta[name="generator"][content*="WordPress"]',"_reactRootContainer","map","WordPress","Backbone","React","getUTMParamsString","wp-includes","keys","[data-v-app], [data-v-]"];return(Si=function(){return t})()}Ii.detectWebFramework=()=>{const t=mi;return document[t(395)](t(414))||[...document.scripts][t(419)](e=>e.src.includes(t(455)))?t(405):window[t(450)]||document[t(395)]("[data-reactroot], [data-reactid]")||Array[t(404)](document[t(460)]("*")).some(e=>void 0!==e[t(446)]||Object[t(453)](e).some(e=>e[t(433)](t(458))))||window.__REACT_DEVTOOLS_GLOBAL_HOOK__?t(450):[...document[t(403)]][t(419)](e=>e[t(435)].includes(t(415)))?t(444):window.__VUE__||window.Vue||document[t(395)](t(454))?t(426):document[t(395)](t(436))?"Gatsby.js":window||document[t(395)](t(410))||document[t(395)]('script[src*="angular.js"], script[src*="angular.min.js"]')||window.ng||document[t(395)](t(399))?t(437):[...document[t(403)]][t(419)](e=>{const i=t;var n;return e.src[i(425)](i(398))||(null===(n=e[i(441)])||void 0===n?void 0:n[i(425)](i(398)))})?t(427):document[t(395)](t(421))?"Alpine.js":window.jQuery?t(394):window[t(449)]?t(411):window.Meteor?t(461):window.Zepto?t(397):document[t(395)](t(445))||[...document[t(403)]][t(419)](e=>e.src[t(425)](t(408))||e.src[t(425)](t(452)))?t(448):[...document[t(403)]][t(419)](e=>e.src[t(425)](t(430))||e[t(435)][t(425)](t(417)))?t(391):document[t(395)](t(422))||document[t(416)][t(440)].includes(t(413))?t(428):document[t(416)][t(440)][t(425)](t(402))?"Shopify":[...document.scripts][t(419)](e=>e[t(435)][t(425)](t(432)))?t(429):[...document.scripts][t(419)](e=>e[t(435)][t(425)](t(390)))?t(439):document[t(395)](t(434))?t(431):void 0};const yi=Ei;function ki(){const t=["7561284SIGZGn","63184zlHpGk","UNMASKED_VENDOR_WEBGL","getContext","getSupportedExtensions","1519090TBDyEW","subtle","vendor","getCanvasFingerprint","VENDOR","toDataURL","SHADING_LANGUAGE_VERSION","7oeoxau","258JdLnay","SHA-256","digest","isWebGLSupported","RENDERER","MAX_RENDERBUFFER_SIZE","toString","#f60","VERSION","hashData","7046420WQaGIO","479892bscFGM","3577qWzPpw","fillText","99ulaBmX","getExtension","stringify","getParameter","341eMcJjc","top","experimental-webgl","getWebGLFingerprint","renderer","height","UNMASKED_RENDERER_WEBGL","createElement","fillStyle","#069","WEBGL_debug_renderer_info","canvas","map","encode","4208980YmQlWW"];return(ki=function(){return t})()}function Ei(t,e){const i=ki();return(Ei=function(t,e){return i[t-=241]})(t,e)}!function(t){const e=Ei,i=t();for(;;)try{if(772845===parseInt(e(243))/1*(-parseInt(e(277))/2)+parseInt(e(242))/3+-parseInt(e(263))/4+-parseInt(e(241))/5+parseInt(e(264))/6*(-parseInt(e(276))/7)+-parseInt(e(265))/8*(-parseInt(e(245))/9)+-parseInt(e(269))/10*(-parseInt(e(249))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ki);class Ti{static[yi(280)](){const t=yi;try{const e=document[t(256)](t(260));return!(!e.getContext("webgl")&&!e[t(267)](t(251)))}catch(t){return!1}}static[yi(252)](){return e(this,void 0,void 0,function*(){const t=Ei,e=document[t(256)](t(260)),i=e[t(267)]("webgl")||e[t(267)]("experimental-webgl");if(!i)return;const n={version:i.getParameter(i[t(285)]),shadingLangVersion:i.getParameter(i[t(275)]),maxTextureSize:i.getParameter(i.MAX_TEXTURE_SIZE),maxRenderBufferSize:i[t(248)](i[t(282)]),supportedExtensions:i[t(268)]()};try{const e=i[t(246)](t(259));n[t(271)]=e?i[t(248)](e[t(266)]):i[t(248)](i.VENDOR)}catch(e){n.vendor=i.getParameter(i[t(273)])}try{const e=i.getExtension(t(259));n[t(253)]=e?i.getParameter(e[t(255)]):i.getParameter(i[t(281)])}catch(e){n[t(253)]=i.getParameter(i.RENDERER)}return yield this.hashData(JSON.stringify(n))})}static[yi(272)](){return e(this,void 0,void 0,function*(){const t=Ei,e=document[t(256)](t(260));e.width=200,e[t(254)]=50;const i=e[t(267)]("2d");if(i)return i.textBaseline=t(250),i.font="14px 'Arial'",i[t(257)]=t(284),i.fillRect(0,0,200,50),i[t(257)]=t(258),i[t(244)]("WiseTrack WebGL Fingerprint!",2,2),yield this[t(286)](e[t(274)]())})}static[yi(286)](t){return e(this,void 0,void 0,function*(){const e=Ei,i="string"==typeof t?t:JSON[e(247)](t),n=(new TextEncoder)[e(262)](i),r=yield crypto[e(270)][e(279)](e(278),n);return Array.from(new Uint8Array(r))[e(261)](t=>t[e(283)](16).padStart(2,"0")).join("")})}}function _i(){const t=["VERSION","deviceId","location","initialConfig","screenDensity","getLocalFields","toISOString","PARAMETERS_VALUE","12446QySUst","filter","2403110PjKUwr","initialDate","now","toString","cpu","time_spent","SDK","getStorageSizeBytes","2128968FpbdIQ","name","appFrameWork","outerHeight","userEnvironment","onLine","2035374BItdrM","uiStyle","isWebGLSupported","getUTMParamsString","browser","pushToken","sessionStorage","4gjRLUw","getSupportResult","localStorage","getApplicationFields","device","getCountryCode","architecture","engine","1066389devaVo","version","getDeviceFields","2880129beObYB","fromEntries","DEFAULTS","appVersion","screenSize","activeDuration","39bmSsxV","assign","appToken","innerHeight","subSessionCount","vendor","5VlFLIB","map","innerWidth","screenType","toFixed","3638448OEOWzV","uiMode","PLATFORM"];return(_i=function(){return t})()}const Ci=xi;function xi(t,e){const i=_i();return(xi=function(t,e){return i[t-=323]})(t,e)}!function(t){const e=xi,i=t();for(;;)try{if(240296===-parseInt(e(377))/1*(-parseInt(e(337))/2)+-parseInt(e(368))/3*(-parseInt(e(360))/4)+parseInt(e(383))/5*(-parseInt(e(353))/6)+parseInt(e(371))/7+-parseInt(e(347))/8+-parseInt(e(326))/9+parseInt(e(339))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_i);class Di{build(){return e(this,void 0,void 0,function*(){const t=xi,e=window.performance[t(341)]();let i={};return i.created_at=(new Date)[t(335)](),Object[t(378)](i,this[t(334)]()),Object[t(378)](i,yield this[t(363)]()),Object.assign(i,this[t(370)]()),i[t(344)]=(window.performance[t(341)]()-e).toFixed(1),i=Object[t(372)](Object.entries(i)[t(338)](([t,e])=>null!=e)),i})}[Ci(363)](){return e(this,void 0,void 0,function*(){const t=xi,e=yield gi[t(361)]();return{connectivity_type:navigator[t(352)]?"1":"-1",country:yield rt[t(365)](),package_name:window[t(331)].hostname,session_storage_enabled:e[t(359)],indexed_db_enabled:e.indexedDB,local_storage_enabled:e[t(362)],session_storage:gi[t(346)](sessionStorage).toFixed(0),local_storage:gi[t(346)](localStorage)[t(325)](0),web_gl_support:Ti[t(355)](),web_gl_fingerprint:yield Ti.getWebGLFingerprint(),web_gl_canvas_fingerprint:yield Ti.getCanvasFingerprint()}})}[Ci(334)](){const t=Ci,e=L[t(332)];return e?{uuid:L[t(330)],app_token:e[t(379)],environment:e[t(351)],store_name:"other",app_version:e[t(374)],push_token:L[t(358)],custom_device_id:e.customDeviceId,default_tracker:e.defaultTracker,platform:r[t(345)][t(328)],framework:e[t(349)].toLowerCase(),initiated_by:r[t(345)].PLATFORM+"_"+e.appFrameWork.toLowerCase(),initiated_version:r[t(345)][t(329)],referrer:Ii[t(356)](),installed_at:L[t(340)],session_count:L.sessionCount[t(342)](),session_length:parseInt((L[t(376)]/1e3)[t(342)]())[t(342)](),subsession_count:parseInt((L[t(381)]/1e3)[t(342)]())[t(342)](),last_interval:parseInt((L.inactiveDuration/1e3)[t(342)]())[t(342)]()}:{}}[Ci(370)](){const t=Ci,e=li.getDeviceInfo();return{browser_version:e[t(357)][t(369)],device_manufacturer:e[t(364)][t(382)],device_name:e.device.model,device_type:e[t(364)].type,os_name:e.os[t(348)],os_version:e.os[t(369)],cpu_type:e[t(343)][t(366)],web_user_agent:e.ua,display_height:window[t(380)].toFixed(0),display_width:window[t(323)].toFixed(0),language:navigator.language.split("-")[0],screen_density:li[t(333)],screen_format:li.screenFormat,screen_size:li[t(375)],ui_mode:li[t(327)][t(342)](),cpu_lpc:navigator.hardwareConcurrency[t(342)](),ui_style:li[t(354)],wout_width:window.outerWidth[t(342)](),wout_height:window[t(350)][t(342)](),web_engine:e[t(367)][t(348)],web_engine_version:e.engine[t(369)],display_size:li.displaySize,screen_type:li[t(324)]}}}const Ni=new Di,Oi=Ri;function Ri(t,e){const i=Ui();return(Ri=function(t,e){return i[t-=487]})(t,e)}!function(t){const e=Ri,i=t();for(;;)try{if(375807===-parseInt(e(499))/1*(parseInt(e(498))/2)+-parseInt(e(487))/3*(parseInt(e(495))/4)+parseInt(e(492))/5+-parseInt(e(501))/6+parseInt(e(496))/7+-parseInt(e(494))/8*(-parseInt(e(489))/9)+parseInt(e(490))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ui);class Ai extends Di{constructor(t){const e=Ri;super(),this[e(488)]=t}[Oi(497)](){const t=Oi,i=Object[t(493)](null,{build:{get:()=>super[t(497)]}});return e(this,void 0,void 0,function*(){const e=t,n=yield i[e(497)][e(500)](this);return new Promise(t=>{const i=e;t(Object[i(502)](Object.assign({},n),this[i(488)][i(491)]()))})})}}function Ui(){const t=["event","3582981hohAWd","2548620kwyRNi","toJSON","201490NlGgdP","create","8ofhXUl","4yMYjnA","4646628bcWcXS","build","111962AkdwRf","4hLKMWV","call","4086696iLjhzI","assign","228678qpVntz"];return(Ui=function(){return t})()}const Li=Pi;function Pi(t,e){const i=qi();return(Pi=function(t,e){return i[t-=145]})(t,e)}function qi(){const t=["sdkClickSubmit"," request to pending queue","63NZDDzK","setActivityTimes","sessionCount","subSessionCount","Add ","inactiveTime","Creating Install: SDK-Clicks has already submitted","checkPushToken","isRunning","visibilitychange","now","isEnabled","startTracking","sdkEnabled","inactiveDuration","beforeunload","initialize","addRequest","debug","CheckPushToken: SDK is not enabled","321947vaCzok","pushToken","3739772WXrEqc","generateDeviceUUID","561320CzDcLK","trackEvent","focus","firstSessionSubmit","This Notification token has sent to server previously","Creating First Session: SDK is not enabled!","19151110cxAwwt","eventCount","deviceId","main","fcmToken","4481141fGBtoC","initialized","trackEvent: SDK is not enabled","info","1205364JXHPYh","stopTracking","User was inactived for ","createDeviceID","165702wiDCiJ","addEventListener","checkFirstSession","WT Tracker started","SDK_INFOS","Creating Session: First-Session has already submitted","stop","getQueueStatus","SESSIONS","getCountryCode","log","shutdown","warn","3mKCdTJ","createAttribution","isVisibleFocused","Creating Attribution: SDK is not enabled!","sessionInterval","checkSdkClicks","initialDate","215kNqsPs","createRequest","visible","subsessionInterval","appSettings","blur","trackEvent: SDK is not initialized yet","pending","addObservers","EVENTS","stringify"];return(qi=function(){return t})()}!function(t){const e=Pi,i=t();for(;;)try{if(643220===parseInt(e(176))/1+parseInt(e(195))/2*(-parseInt(e(212))/3)+-parseInt(e(178))/4+parseInt(e(219))/5*(-parseInt(e(199))/6)+parseInt(e(191))/7+-parseInt(e(180))/8*(-parseInt(e(156))/9)+parseInt(e(186))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qi);class Mi{constructor(){const t=Pi;this[t(164)]=!1,this[t(192)]=!1}get isEnabled(){return L[Pi(169)]}[Li(172)](){return e(this,void 0,void 0,function*(){const t=Pi;this.getCountryCode(),yield this[t(157)](),this.createDeviceID(),this.addObservers(),this[t(192)]=!0})}[Li(168)](){return e(this,void 0,void 0,function*(){const t=Pi;this[t(167)]?(D[t(174)](t(202)),yield gt[t(172)](),yield this[t(217)](),yield this[t(201)](),yield this.createAttribution(),this[t(164)]=!0):D.warn("SDK is not enabled to start tracking!")})}[Li(196)](){return e(this,void 0,void 0,function*(){const t=Pi;this[t(164)]=!1,Z[t(205)](),yield gt[t(210)](),D[t(174)]("WT Tracker stopped")})}[Li(163)](t){return e(this,void 0,void 0,function*(){const e=Pi;L[e(177)]=t,this[e(167)]?L[e(190)]!==t?yield this[e(220)]({endpoint:f[e(203)],queueType:e(150)}):D[e(194)](e(184)):D.warn(e(175))})}[Li(181)](t){return e(this,void 0,void 0,function*(){const e=Pi;this[e(167)]?this[e(192)]?(L[e(187)]+=1,yield this[e(220)]({endpoint:f[e(152)],fBuilder:new Ai(t),queueType:e(150)})):D[e(211)](e(149)):D[e(211)](e(193))})}[Li(208)](){rt[Li(208)]()}createAttribution(){return e(this,void 0,void 0,function*(){const t=Pi;this[t(167)]?yield this[t(220)]({endpoint:f.ATTRIBUTIONS,queueType:t(150)}):D[t(211)](t(215))})}[Li(201)](){return e(this,void 0,void 0,function*(){const t=Pi;this[t(167)]?L[t(183)]?D.debug(t(204)):yield this[t(220)]({endpoint:f[t(207)],queueType:L[t(154)]?t(189):t(150)}):D.warn(t(185))})}checkSdkClicks(){return e(this,void 0,void 0,function*(){const t=Pi;this.isEnabled?L[t(154)]?D[t(174)](t(162)):yield this[t(220)]({endpoint:f.SDK_CLICKS}):D.warn("Creating Install: SDK is not enabled!")})}createRequest(t){const i=Li;return e(this,arguments,void 0,function*({endpoint:t,fBuilder:e=Ni,queueType:n=i(189)}){const r=i,s=yield e.build(),o=new dt(t,s);"pending"===n?(D[r(194)]("Add "+t+r(155)),yield gt.addPendingRequest(o)):(D.info(r(160)+t+" request to main queue"),yield gt[r(173)](o));const a=gt[r(206)]();console[r(209)](JSON[r(153)](a))})}[Li(198)](){const t=Li;!L[t(188)]&&(L[t(188)]=st[t(179)]()),!L[t(218)]&&(L[t(218)]=(new Date).toISOString())}[Li(157)](){return e(this,void 0,void 0,function*(){const t=Pi;if(L.activeTime){L[t(161)]=L.activeTime;const e=Date[t(166)]()-L[t(161)];L[t(170)]+=e,console[t(209)](t(197)+e/1e3+"s | ("+L[t(170)]/1e3+"s Totaly)"),yield this.checkSessionIntervals()}L.activeTime=Date[t(166)](),Z.start()})}checkSessionIntervals(){return e(this,void 0,void 0,function*(){const t=Pi;var e,i;const n=L.inactiveTime,r=null===(e=L[t(147)])||void 0===e?void 0:e[t(216)],s=null===(i=L[t(147)])||void 0===i?void 0:i[t(146)];if(!this.isEnabled)return void D.warn("Creating Session: SDK is not enabled!");if(!n||!r||!s)return;const o=Date.now()-n;o>parseInt(r)?(L[t(158)]+=1,yield this[t(220)]({endpoint:f.SESSIONS,queueType:L[t(154)]?t(189):t(150)})):o>parseInt(s)&&(L[t(159)]+=1)})}isVisibleFocused(){const t=Li;return document.visibilityState===t(145)&&document.hasFocus()}[Li(151)](){const t=Li;window[t(200)](t(171),()=>{Z[t(205)]()}),document[t(200)](t(165),()=>{const e=t;this[e(214)]()?(this[e(213)](),this[e(157)]()):Z[e(205)]()}),window[t(200)](t(182),()=>{const e=t;this.isVisibleFocused()&&(this[e(213)](),this[e(157)]())}),window[t(200)](t(148),()=>{Z[t(205)]()})}}const Fi=new Mi,Bi=Vi;function Ki(){const t=["1056692ThHMpN","error","doGetAppSettings","App Settings set","flush","‼️ Set Fcm Token: SDK is not initialized yet","setFCMToken","SDK is disabled form server, contact your adminstrator!","SDK Config set","1771578yxhrMO","2133702qpYaNm","_instance","checkSdkUpdate","init","trackingWaitingTime","checkPushToken","3829haEeID","sdkEnabled"," environment","trackEvent","setEnabled","forceUpdate","sdkEnvironment","needAppSettings","clear","initialConfig","sdkInitialized","Need to get app-settings for ","fromConfig","isEnabled","config","warn","Track Event: SDK is not enabled!","NetworkError","1882832jGpyoP","‼️ Start Tracking: SDK is not initialized yet","getConfig","A new version of the SDK is available. It is recommended to update to the latest version to enjoy improved features and better performance.","initialize","startTracking","setLogLevel","Clearing Data and stop tracker!","The version you are currently using has expired and is no longer supported. Please update to the latest version to continue using the SDK","12808MvDJQk","checkSdkEnabled","defaultValue","updateAppSettings","stopTracking","info","‼️ App Settings NOT set!, check errors.","2316795LXgrZt","706743pbCMdH"];return(Ki=function(){return t})()}function Vi(t,e){const i=Ki();return(Vi=function(t,e){return i[t-=392]})(t,e)}!function(t){const e=Vi,i=t();for(;;)try{if(594150===-parseInt(e(398))/1+-parseInt(e(399))/2+parseInt(e(408))/3+parseInt(e(433))/4+-parseInt(e(397))/5+parseInt(e(409))/6+-parseInt(e(415))/7*(-parseInt(e(442))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ki);class Wi{static get instance(){const t=Vi;return!Wi[t(410)]&&(Wi[t(410)]=new Wi),Wi[t(410)]}constructor(){this[Vi(425)]=!1}[Bi(412)](t){return e(this,void 0,void 0,function*(){const e=Vi;var i,n;const r=yield this.getConfig(t);this[e(443)](r),this[e(411)](r),this[e(419)](!0),yield this[e(393)](r),this[e(425)]=!0,yield Fi[e(437)]();(null===(i=t.startTrackerAutomatically)||void 0===i||i)&&setTimeout(()=>this[e(438)](),1e3*(null!==(n=t[e(413)])&&void 0!==n?n:0))})}[Bi(439)](t){D.setLevel(t)}[Bi(403)](){const t=Bi;D[t(395)](t(440)),L[t(423)](),this[t(394)]()}isEnabled(){return L[Bi(416)]}[Bi(419)](t){const e=Bi,i=L[e(429)];if(!i)throw new Error("Config is not set!");if(!i.sdkEnabled)throw new Error(e(406));if(i.forceUpdate)throw new Error(e(441));L[e(416)]=t}[Bi(438)](){return e(this,void 0,void 0,function*(){const t=Vi;this[t(425)]?this[t(428)]()?yield Fi[t(438)]():D[t(430)]("Start Tracking: SDK is not enabled!"):D[t(430)](t(434))})}[Bi(394)](){return e(this,void 0,void 0,function*(){const t=Vi;yield Fi[t(394)]()})}[Bi(405)](t){return e(this,void 0,void 0,function*(){const e=Vi;this[e(425)]?this[e(428)]()?yield Fi[e(414)](t):D.warn("Set Fcm Token: SDK is not enabled!"):D[e(430)](e(404))})}[Bi(418)](t){return e(this,void 0,void 0,function*(){const e=Vi;this.sdkInitialized?this[e(428)]()?yield Fi[e(418)](t):D[e(430)](e(431)):D[e(430)]("‼️ Track Event: SDK is not initialized yet")})}[Bi(435)](t){return e(this,void 0,void 0,function*(){const e=Vi;let i;L[e(424)]=t;try{i=yield H.doGetConfig()}catch(t){if(!(t instanceof P[e(432)]))throw D[e(395)]("‼️ SDK Config NOT set!, check errors."),t;i=L[e(429)]||S[e(392)]}return L.config=i,D[e(395)](e(407)),i})}[Bi(393)](t){return e(this,void 0,void 0,function*(){const e=Vi;let i;if(d[e(422)]()){D.debug(e(426)+d[e(421)]+e(417));try{i=yield H[e(401)]()}catch(t){if(!(t instanceof P[e(432)]))throw D[e(395)](e(396)),t;i=g[e(392)]}}else i=g[e(427)](t);return L.appSettings=i,D[e(395)](e(402)),i})}[Bi(443)](t){const e=Bi;if(!t[e(416)]){const t=e(406);throw D[e(400)](t),new Error(t)}}[Bi(411)](t){const e=Bi;if(t[e(420)]){const t=e(441);throw D.error(t),new Error(t)}t.sdkUpdate&&D.warn(e(436))}}function ji(t,e){var i=zi();return(ji=function(t,e){return i[t-=169]})(t,e)}function zi(){var t=["7IwOdHl","14838867RnzKzV","revenue","name","currency","params","845722ftseWn","20MIrKGh","1833834LqQjPE","toJSON","default","type","2945385HMFbUr","945545KzAgey","amount","addParam","13982216XNAOuG","750824Mwyosa"];return(zi=function(){return t})()}function Gi(t,e){var i=Qi();return(Gi=function(t,e){return i[t-=291]})(t,e)}function Qi(){var t=["3qQiCAr","531293bELtZL","802425OUlPap","635946yMajgL","142684nlftGk","399727GzafuQ","926658SOQCbr","677656CjKheI"];return(Qi=function(){return t})()}return function(t){for(var e=ji,i=t();;)try{if(911213===parseInt(e(185))/1+-parseInt(e(178))/2+parseInt(e(173))/3+parseInt(e(186))/4*(-parseInt(e(174))/5)+parseInt(e(169))/6+-parseInt(e(179))/7*(-parseInt(e(177))/8)+-parseInt(e(180))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zi),t.WTEvent=void 0,function(t){var e=ji;class i{constructor(t){var e=ji;this[e(172)]=e(171),this[e(182)]=t}[e(176)](t,i){var n;let r=null!==(n=this[e(184)])&&void 0!==n?n:{};r[t]=i,this.params=r}[e(170)](){var t=e;return{event_type:this[t(172)],event_name:this[t(182)],partner_params:this[t(184)]}}}t.Default=i;class n extends i{constructor(t,i,n){var r=e;super(t),this.type=r(181),this.amount=i,this[r(183)]=n}[e(170)](){var t=e;return{event_type:this[t(172)],event_name:this[t(182)],revenue:this[t(175)],currency:this[t(183)],partner_params:this[t(184)]}}}t.Revenue=n}(t.WTEvent||(t.WTEvent={})),function(t){for(var e=Gi,i=t();;)try{if(284073===parseInt(e(292))/1+-parseInt(e(298))/2+parseInt(e(295))/3*(parseInt(e(291))/4)+parseInt(e(297))/5+-parseInt(e(293))/6+parseInt(e(296))/7+parseInt(e(294))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qi),t.WTLogEngine=T,t.WTLogLevel=x,t.WTLogger=D,t.WiseTrack=Wi,t}({});
@@ -5,7 +5,7 @@ export declare const WTConstants: {
5
5
  readonly SDK: {
6
6
  readonly HASH: "997bfbb583c1245a426a53dc1899ec779ff354f9";
7
7
  readonly PLATFORM: "web";
8
- readonly VERSION: "2.0.0";
8
+ readonly VERSION: "2.0.3";
9
9
  };
10
10
  readonly CONFIG: {
11
11
  readonly BASE_URL: "https://config.wisetrack.io";