react-ecosistema-unp 2.5.0 → 2.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/README.md +354 -25
  2. package/dist/{AppList-DORGpC4I.js → AppList-CNtk-CBh.js} +56 -55
  3. package/dist/auth/hooks/useFinalizarSesion.js +12 -12
  4. package/dist/auth/services/FinSesionService.js +10 -11
  5. package/dist/cards/tarjeta/nuevo-elemento/NuevoElemento.js +1 -1
  6. package/dist/cards/tarjeta-info/TarjetaInfo.js +1 -1
  7. package/dist/data/tarjeta-datos/TarjetaDatos.js +1 -1
  8. package/dist/{index-BqaJxgOF.js → index-HaNVi1BU.js} +8 -8
  9. package/dist/lib/accessibility/barra-accesibilidad/BarraAccesibilidad.d.ts +1 -1
  10. package/dist/lib/assets/animations/loadingDuck.json.d.ts +1 -1
  11. package/dist/lib/utils/logger/logger.d.ts +25 -0
  12. package/dist/lib/utils/modal-radicados/ModalDocumento.d.ts +1 -1
  13. package/dist/lib/utils/sanitizar-html/sanitizarHtml.d.ts +12 -0
  14. package/dist/loadingDuck-Deggug5u.js +27 -0
  15. package/dist/shared/app-list/AppList.js +4 -3
  16. package/dist/shared/iconos-sistema/IconosSistema.js +1 -1
  17. package/dist/shared/iconos-sistema/logout-button/LogoutButton.js +1 -1
  18. package/dist/shared/menu-lateral/MenuLateral.js +5 -3
  19. package/dist/shared/notificacion-usuario/NotificacionUsuario.js +194 -745
  20. package/dist/shared/notificacion-usuario/services/notificacionesService.js +52 -51
  21. package/dist/shared/user-profile-icon/UserProfileIcon.js +17 -17
  22. package/dist/shared/ventana-tabs/VentanaTabs.js +1 -1
  23. package/dist/tables/custom-data-table/CustomDataTable.js +4 -2
  24. package/dist/tables/custom-data-table-split/CustomDataTableSplit.js +4 -2
  25. package/dist/tables/eco-data-table/components/EcoBandejaEncabezado.js +3 -2
  26. package/dist/tables/eco-data-table/components/EcoDataTable/EcoDataTable.js +1 -1
  27. package/dist/tables/tabla-registros/buscador/Buscador.js +1 -1
  28. package/dist/tables/tabla-registros/encabezado-tabla/EncabezadoTabla.js +3 -2
  29. package/dist/tables/tabla-registros/modal-v2/EcoModal.js +1 -1
  30. package/dist/tables/tabla-registros/tabla/Tabla.js +1 -1
  31. package/dist/ui/alertas/AlertaFormulario.js +1 -1
  32. package/dist/ui/animacion/Animacion.js +1 -1
  33. package/dist/ui/contenido-modal/ContenidoModal.js +1 -1
  34. package/dist/ui/contenido-modal/ContenidoModalv0.1.js +1 -1
  35. package/dist/ui/contenido-modal-v2/ContenidoModalV2.js +1 -1
  36. package/dist/ui/contenido-modal-v2/ModalV2Menu.js +1 -1
  37. package/dist/ui/icono-tooltip/IconoTooltip.js +1 -1
  38. package/dist/ui/items-modal/ItemsModal.js +1 -1
  39. package/dist/ui/nav-formularios-lateral/NavFormulariosLateral.js +1 -1
  40. package/dist/ui/notificacion-popover-v2/NotificacionPopoverV2.js +80 -79
  41. package/dist/ui/status-filter-bar/StatusFilterBar.js +1 -1
  42. package/dist/ui/status-semaphore/StatusSemaphore.js +1 -1
  43. package/dist/ui/stepper-v2/StepperV2.js +1 -1
  44. package/dist/utils/components/ProtectedRoute.js +25 -26
  45. package/dist/utils/components/UserRoute.js +14 -16
  46. package/dist/utils/eco-provider/EcoContext.js +4 -2
  47. package/dist/utils/fetch-data/useFetchData.js +60 -59
  48. package/dist/utils/logger/logger.js +20 -0
  49. package/dist/utils/modal-radicados/AuxRadicadosComponents/TarjetaRadicado.js +20 -18
  50. package/dist/utils/modal-radicados/DocumentoVisorEstado.js +4 -3
  51. package/dist/utils/modal-radicados/ModalDocumento.js +1 -1
  52. package/dist/utils/modal-radicados/ModalRadicado.js +82 -80
  53. package/dist/utils/sanitizar-html/sanitizarHtml.js +1486 -0
  54. package/dist/utils/unp-historico/FetchHistorico.js +6 -5
  55. package/dist/utils/unp-historico/UnpHistorico.js +3 -2
  56. package/dist/utils/websocket-manager/websocket.js +19 -18
  57. package/package.json +28 -18
  58. package/dist/lib/utils/fetch/fetchInterceptor.d.ts +0 -7
  59. package/dist/lib/utils/fetch/fingerprintService.d.ts +0 -27
  60. package/dist/loadingDuck-Diu5KD6X.js +0 -27
  61. package/dist/utils/fetch/fetchInterceptor.js +0 -98
  62. package/dist/utils/fetch/fingerprintService.js +0 -1749
@@ -1,1749 +0,0 @@
1
- var We = Object.defineProperty;
2
- var Pe = (e, t, n) => t in e ? We(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var Y = (e, t, n) => Pe(e, typeof t != "symbol" ? t + "" : t, n);
4
- var se = "5.0.1";
5
- function _(e, t) {
6
- return new Promise((n) => setTimeout(n, e, t));
7
- }
8
- function Me() {
9
- return new Promise((e) => {
10
- const t = new MessageChannel();
11
- t.port1.onmessage = () => e(), t.port2.postMessage(null);
12
- });
13
- }
14
- function Re(e, t = 1 / 0) {
15
- const { requestIdleCallback: n } = window;
16
- return n ? new Promise((o) => n.call(window, () => o(), { timeout: t })) : _(Math.min(e, t));
17
- }
18
- function ce(e) {
19
- return !!e && typeof e.then == "function";
20
- }
21
- function O(e, t) {
22
- try {
23
- const n = e();
24
- ce(n) ? n.then((o) => t(!0, o), (o) => t(!1, o)) : t(!0, n);
25
- } catch (n) {
26
- t(!1, n);
27
- }
28
- }
29
- async function $(e, t, n = 16) {
30
- const o = Array(e.length);
31
- let s = Date.now();
32
- for (let u = 0; u < e.length; ++u) {
33
- o[u] = t(e[u], u);
34
- const a = Date.now();
35
- a >= s + n && (s = a, await Me());
36
- }
37
- return o;
38
- }
39
- function R(e) {
40
- return e.then(void 0, () => {
41
- }), e;
42
- }
43
- function Ie(e, t) {
44
- for (let n = 0, o = e.length; n < o; ++n)
45
- if (e[n] === t)
46
- return !0;
47
- return !1;
48
- }
49
- function Ze(e, t) {
50
- return !Ie(e, t);
51
- }
52
- function z(e) {
53
- return parseInt(e);
54
- }
55
- function k(e) {
56
- return parseFloat(e);
57
- }
58
- function V(e, t) {
59
- return typeof e == "number" && isNaN(e) ? t : e;
60
- }
61
- function v(e) {
62
- return e.reduce((t, n) => t + (n ? 1 : 0), 0);
63
- }
64
- function ue(e, t = 1) {
65
- if (Math.abs(t) >= 1)
66
- return Math.round(e / t) * t;
67
- {
68
- const n = 1 / t;
69
- return Math.round(e * n) / n;
70
- }
71
- }
72
- function Ge(e) {
73
- var t, n;
74
- const o = `Unexpected syntax '${e}'`, s = /^\s*([a-z-]*)(.*)$/i.exec(e), u = s[1] || void 0, a = {}, c = /([.:#][\w-]+|\[.+?\])/gi, l = (d, i) => {
75
- a[d] = a[d] || [], a[d].push(i);
76
- };
77
- for (; ; ) {
78
- const d = c.exec(s[2]);
79
- if (!d)
80
- break;
81
- const i = d[0];
82
- switch (i[0]) {
83
- case ".":
84
- l("class", i.slice(1));
85
- break;
86
- case "#":
87
- l("id", i.slice(1));
88
- break;
89
- case "[": {
90
- const r = /^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(i);
91
- if (r)
92
- l(r[1], (n = (t = r[4]) !== null && t !== void 0 ? t : r[5]) !== null && n !== void 0 ? n : "");
93
- else
94
- throw new Error(o);
95
- break;
96
- }
97
- default:
98
- throw new Error(o);
99
- }
100
- }
101
- return [u, a];
102
- }
103
- function Te(e) {
104
- const t = new Uint8Array(e.length);
105
- for (let n = 0; n < e.length; n++) {
106
- const o = e.charCodeAt(n);
107
- if (o > 127)
108
- return new TextEncoder().encode(e);
109
- t[n] = o;
110
- }
111
- return t;
112
- }
113
- function F(e, t) {
114
- const n = e[0] >>> 16, o = e[0] & 65535, s = e[1] >>> 16, u = e[1] & 65535, a = t[0] >>> 16, c = t[0] & 65535, l = t[1] >>> 16, d = t[1] & 65535;
115
- let i = 0, r = 0, p = 0, f = 0;
116
- f += u + d, p += f >>> 16, f &= 65535, p += s + l, r += p >>> 16, p &= 65535, r += o + c, i += r >>> 16, r &= 65535, i += n + a, i &= 65535, e[0] = i << 16 | r, e[1] = p << 16 | f;
117
- }
118
- function L(e, t) {
119
- const n = e[0] >>> 16, o = e[0] & 65535, s = e[1] >>> 16, u = e[1] & 65535, a = t[0] >>> 16, c = t[0] & 65535, l = t[1] >>> 16, d = t[1] & 65535;
120
- let i = 0, r = 0, p = 0, f = 0;
121
- f += u * d, p += f >>> 16, f &= 65535, p += s * d, r += p >>> 16, p &= 65535, p += u * l, r += p >>> 16, p &= 65535, r += o * d, i += r >>> 16, r &= 65535, r += s * l, i += r >>> 16, r &= 65535, r += u * c, i += r >>> 16, r &= 65535, i += n * d + o * l + s * c + u * a, i &= 65535, e[0] = i << 16 | r, e[1] = p << 16 | f;
122
- }
123
- function C(e, t) {
124
- const n = e[0];
125
- t %= 64, t === 32 ? (e[0] = e[1], e[1] = n) : t < 32 ? (e[0] = n << t | e[1] >>> 32 - t, e[1] = e[1] << t | n >>> 32 - t) : (t -= 32, e[0] = e[1] << t | n >>> 32 - t, e[1] = n << t | e[1] >>> 32 - t);
126
- }
127
- function S(e, t) {
128
- t %= 64, t !== 0 && (t < 32 ? (e[0] = e[1] >>> 32 - t, e[1] = e[1] << t) : (e[0] = e[1] << t - 32, e[1] = 0));
129
- }
130
- function y(e, t) {
131
- e[0] ^= t[0], e[1] ^= t[1];
132
- }
133
- const Ae = [4283543511, 3981806797], Ee = [3301882366, 444984403];
134
- function U(e) {
135
- const t = [0, e[0] >>> 1];
136
- y(e, t), L(e, Ae), t[1] = e[0] >>> 1, y(e, t), L(e, Ee), t[1] = e[0] >>> 1, y(e, t);
137
- }
138
- const T = [2277735313, 289559509], A = [1291169091, 658871167], Q = [0, 5], _e = [0, 1390208809], Ye = [0, 944331445];
139
- function Ne(e, t) {
140
- const n = Te(e);
141
- t = t || 0;
142
- const o = [0, n.length], s = o[1] % 16, u = o[1] - s, a = [0, t], c = [0, t], l = [0, 0], d = [0, 0];
143
- let i;
144
- for (i = 0; i < u; i = i + 16)
145
- l[0] = n[i + 4] | n[i + 5] << 8 | n[i + 6] << 16 | n[i + 7] << 24, l[1] = n[i] | n[i + 1] << 8 | n[i + 2] << 16 | n[i + 3] << 24, d[0] = n[i + 12] | n[i + 13] << 8 | n[i + 14] << 16 | n[i + 15] << 24, d[1] = n[i + 8] | n[i + 9] << 8 | n[i + 10] << 16 | n[i + 11] << 24, L(l, T), C(l, 31), L(l, A), y(a, l), C(a, 27), F(a, c), L(a, Q), F(a, _e), L(d, A), C(d, 33), L(d, T), y(c, d), C(c, 31), F(c, a), L(c, Q), F(c, Ye);
146
- l[0] = 0, l[1] = 0, d[0] = 0, d[1] = 0;
147
- const r = [0, 0];
148
- switch (s) {
149
- case 15:
150
- r[1] = n[i + 14], S(r, 48), y(d, r);
151
- // fallthrough
152
- case 14:
153
- r[1] = n[i + 13], S(r, 40), y(d, r);
154
- // fallthrough
155
- case 13:
156
- r[1] = n[i + 12], S(r, 32), y(d, r);
157
- // fallthrough
158
- case 12:
159
- r[1] = n[i + 11], S(r, 24), y(d, r);
160
- // fallthrough
161
- case 11:
162
- r[1] = n[i + 10], S(r, 16), y(d, r);
163
- // fallthrough
164
- case 10:
165
- r[1] = n[i + 9], S(r, 8), y(d, r);
166
- // fallthrough
167
- case 9:
168
- r[1] = n[i + 8], y(d, r), L(d, A), C(d, 33), L(d, T), y(c, d);
169
- // fallthrough
170
- case 8:
171
- r[1] = n[i + 7], S(r, 56), y(l, r);
172
- // fallthrough
173
- case 7:
174
- r[1] = n[i + 6], S(r, 48), y(l, r);
175
- // fallthrough
176
- case 6:
177
- r[1] = n[i + 5], S(r, 40), y(l, r);
178
- // fallthrough
179
- case 5:
180
- r[1] = n[i + 4], S(r, 32), y(l, r);
181
- // fallthrough
182
- case 4:
183
- r[1] = n[i + 3], S(r, 24), y(l, r);
184
- // fallthrough
185
- case 3:
186
- r[1] = n[i + 2], S(r, 16), y(l, r);
187
- // fallthrough
188
- case 2:
189
- r[1] = n[i + 1], S(r, 8), y(l, r);
190
- // fallthrough
191
- case 1:
192
- r[1] = n[i], y(l, r), L(l, T), C(l, 31), L(l, A), y(a, l);
193
- }
194
- return y(a, o), y(c, o), F(a, c), F(c, a), U(a), U(c), F(a, c), F(c, a), ("00000000" + (a[0] >>> 0).toString(16)).slice(-8) + ("00000000" + (a[1] >>> 0).toString(16)).slice(-8) + ("00000000" + (c[0] >>> 0).toString(16)).slice(-8) + ("00000000" + (c[1] >>> 0).toString(16)).slice(-8);
195
- }
196
- function Xe(e) {
197
- var t;
198
- return {
199
- name: e.name,
200
- message: e.message,
201
- stack: (t = e.stack) === null || t === void 0 ? void 0 : t.split(`
202
- `),
203
- // The fields are not enumerable, so TS is wrong saying that they will be overridden
204
- ...e
205
- };
206
- }
207
- function je(e) {
208
- return /^function\s.*?\{\s*\[native code]\s*}$/.test(String(e));
209
- }
210
- function He(e) {
211
- return typeof e != "function";
212
- }
213
- function De(e, t) {
214
- const n = R(new Promise((o) => {
215
- const s = Date.now();
216
- O(e.bind(null, t), (...u) => {
217
- const a = Date.now() - s;
218
- if (!u[0])
219
- return o(() => ({ error: u[1], duration: a }));
220
- const c = u[1];
221
- if (He(c))
222
- return o(() => ({ value: c, duration: a }));
223
- o(() => new Promise((l) => {
224
- const d = Date.now();
225
- O(c, (...i) => {
226
- const r = a + Date.now() - d;
227
- if (!i[0])
228
- return l({ error: i[1], duration: r });
229
- l({ value: i[1], duration: r });
230
- });
231
- }));
232
- });
233
- }));
234
- return function() {
235
- return n.then((s) => s());
236
- };
237
- }
238
- function ze(e, t, n, o) {
239
- const s = Object.keys(e).filter((a) => Ze(n, a)), u = R($(s, (a) => De(e[a], t), o));
240
- return async function() {
241
- const c = await u, l = await $(c, (r) => R(r()), o), d = await Promise.all(l), i = {};
242
- for (let r = 0; r < s.length; ++r)
243
- i[s[r]] = d[r];
244
- return i;
245
- };
246
- }
247
- function le() {
248
- const e = window, t = navigator;
249
- return v([
250
- "MSCSSMatrix" in e,
251
- "msSetImmediate" in e,
252
- "msIndexedDB" in e,
253
- "msMaxTouchPoints" in t,
254
- "msPointerEnabled" in t
255
- ]) >= 4;
256
- }
257
- function Be() {
258
- const e = window, t = navigator;
259
- return v(["msWriteProfilerMark" in e, "MSStream" in e, "msLaunchUri" in t, "msSaveBlob" in t]) >= 3 && !le();
260
- }
261
- function I() {
262
- const e = window, t = navigator;
263
- return v([
264
- "webkitPersistentStorage" in t,
265
- "webkitTemporaryStorage" in t,
266
- (t.vendor || "").indexOf("Google") === 0,
267
- "webkitResolveLocalFileSystemURL" in e,
268
- "BatteryManager" in e,
269
- "webkitMediaStream" in e,
270
- "webkitSpeechGrammar" in e
271
- ]) >= 5;
272
- }
273
- function x() {
274
- const e = window, t = navigator;
275
- return v([
276
- "ApplePayError" in e,
277
- "CSSPrimitiveValue" in e,
278
- "Counter" in e,
279
- t.vendor.indexOf("Apple") === 0,
280
- "RGBColor" in e,
281
- "WebKitMediaKeys" in e
282
- ]) >= 4;
283
- }
284
- function B() {
285
- const e = window, { HTMLElement: t, Document: n } = e;
286
- return v([
287
- "safari" in e,
288
- !("ongestureend" in e),
289
- !("TouchEvent" in e),
290
- !("orientation" in e),
291
- t && !("autocapitalize" in t.prototype),
292
- n && "pointerLockElement" in n.prototype
293
- ]) >= 4;
294
- }
295
- function Z() {
296
- const e = window;
297
- return (
298
- // Filters-out Chrome, Yandex, DuckDuckGo (macOS and iOS), Edge
299
- je(e.print) && // Doesn't work in Safari < 15.4
300
- String(e.browser) === "[object WebPageNamespace]"
301
- );
302
- }
303
- function de() {
304
- var e, t;
305
- const n = window;
306
- return v([
307
- "buildID" in navigator,
308
- "MozAppearance" in ((t = (e = document.documentElement) === null || e === void 0 ? void 0 : e.style) !== null && t !== void 0 ? t : {}),
309
- "onmozfullscreenchange" in n,
310
- "mozInnerScreenX" in n,
311
- "CSSMozDocumentRule" in n,
312
- "CanvasCaptureMediaStream" in n
313
- ]) >= 4;
314
- }
315
- function Je() {
316
- const e = window;
317
- return v([
318
- !("MediaSettingsRange" in e),
319
- "RTCEncodedAudioFrame" in e,
320
- "" + e.Intl == "[object Intl]",
321
- "" + e.Reflect == "[object Reflect]"
322
- ]) >= 3;
323
- }
324
- function Oe() {
325
- const e = window, { URLPattern: t } = e;
326
- return v([
327
- "union" in Set.prototype,
328
- "Iterator" in e,
329
- t && "hasRegExpGroups" in t.prototype,
330
- "RGB8" in WebGLRenderingContext.prototype
331
- ]) >= 3;
332
- }
333
- function $e() {
334
- const e = window;
335
- return v([
336
- "DOMRectList" in e,
337
- "RTCPeerConnectionIceEvent" in e,
338
- "SVGGeometryElement" in e,
339
- "ontransitioncancel" in e
340
- ]) >= 3;
341
- }
342
- function G() {
343
- const e = window, t = navigator, { CSS: n, HTMLButtonElement: o } = e;
344
- return v([
345
- !("getStorageUpdates" in t),
346
- o && "popover" in o.prototype,
347
- "CSSCounterStyleRule" in e,
348
- n.supports("font-size-adjust: ex-height 0.5"),
349
- n.supports("text-transform: full-width")
350
- ]) >= 4;
351
- }
352
- function Ue() {
353
- if (navigator.platform === "iPad")
354
- return !0;
355
- const e = screen, t = e.width / e.height;
356
- return v([
357
- // Since iOS 13. Doesn't work in Chrome on iPadOS <15, but works in desktop mode.
358
- "MediaSource" in window,
359
- // Since iOS 12. Doesn't work in Chrome on iPadOS.
360
- !!Element.prototype.webkitRequestFullscreen,
361
- // iPhone 4S that runs iOS 9 matches this, but it is not supported
362
- // Doesn't work in incognito mode of Safari ≥17 with split screen because of tracking prevention
363
- t > 0.65 && t < 1.53
364
- ]) >= 2;
365
- }
366
- function Qe() {
367
- const e = document;
368
- return e.fullscreenElement || e.msFullscreenElement || e.mozFullScreenElement || e.webkitFullscreenElement || null;
369
- }
370
- function Ke() {
371
- const e = document;
372
- return (e.exitFullscreen || e.msExitFullscreen || e.mozCancelFullScreen || e.webkitExitFullscreen).call(e);
373
- }
374
- function J() {
375
- const e = I(), t = de(), n = window, o = navigator, s = "connection";
376
- return e ? v([
377
- !("SharedWorker" in n),
378
- // `typechange` is deprecated, but it's still present on Android (tested on Chrome Mobile 117)
379
- // Removal proposal https://bugs.chromium.org/p/chromium/issues/detail?id=699892
380
- // Note: this expression returns true on ChromeOS, so additional detectors are required to avoid false-positives
381
- o[s] && "ontypechange" in o[s],
382
- !("sinkId" in new Audio())
383
- ]) >= 2 : t ? v(["onorientationchange" in n, "orientation" in n, /android/i.test(o.appVersion)]) >= 2 : !1;
384
- }
385
- function qe() {
386
- const e = navigator, t = window, n = Audio.prototype, { visualViewport: o } = t;
387
- return v([
388
- "srLatency" in n,
389
- "srChannelCount" in n,
390
- "devicePosture" in e,
391
- o && "segments" in o,
392
- "getTextInformation" in Image.prototype
393
- // Not available in Samsung Internet 21
394
- ]) >= 3;
395
- }
396
- function et() {
397
- return ot() ? -4 : tt();
398
- }
399
- function tt() {
400
- const e = window, t = e.OfflineAudioContext || e.webkitOfflineAudioContext;
401
- if (!t)
402
- return -2;
403
- if (nt())
404
- return -1;
405
- const n = 4500, o = 5e3, s = new t(1, o, 44100), u = s.createOscillator();
406
- u.type = "triangle", u.frequency.value = 1e4;
407
- const a = s.createDynamicsCompressor();
408
- a.threshold.value = -50, a.knee.value = 40, a.ratio.value = 12, a.attack.value = 0, a.release.value = 0.25, u.connect(a), a.connect(s.destination), u.start(0);
409
- const [c, l] = rt(s), d = R(c.then((i) => it(i.getChannelData(0).subarray(n)), (i) => {
410
- if (i.name === "timeout" || i.name === "suspended")
411
- return -3;
412
- throw i;
413
- }));
414
- return () => (l(), d);
415
- }
416
- function nt() {
417
- return x() && !B() && !$e();
418
- }
419
- function ot() {
420
- return (
421
- // Safari ≥17
422
- x() && G() && Z() || // Samsung Internet ≥26
423
- I() && qe() && Oe()
424
- );
425
- }
426
- function rt(e) {
427
- let u = () => {
428
- };
429
- return [new Promise((c, l) => {
430
- let d = !1, i = 0, r = 0;
431
- e.oncomplete = (g) => c(g.renderedBuffer);
432
- const p = () => {
433
- setTimeout(() => l(K(
434
- "timeout"
435
- /* InnerErrorName.Timeout */
436
- )), Math.min(500, r + 5e3 - Date.now()));
437
- }, f = () => {
438
- try {
439
- const g = e.startRendering();
440
- switch (ce(g) && R(g), e.state) {
441
- case "running":
442
- r = Date.now(), d && p();
443
- break;
444
- // Sometimes the audio context doesn't start after calling `startRendering` (in addition to the cases where
445
- // audio context doesn't start at all). A known case is starting an audio context when the browser tab is in
446
- // background on iPhone. Retries usually help in this case.
447
- case "suspended":
448
- document.hidden || i++, d && i >= 3 ? l(K(
449
- "suspended"
450
- /* InnerErrorName.Suspended */
451
- )) : setTimeout(f, 500);
452
- break;
453
- }
454
- } catch (g) {
455
- l(g);
456
- }
457
- };
458
- f(), u = () => {
459
- d || (d = !0, r > 0 && p());
460
- };
461
- }), u];
462
- }
463
- function it(e) {
464
- let t = 0;
465
- for (let n = 0; n < e.length; ++n)
466
- t += Math.abs(e[n]);
467
- return t;
468
- }
469
- function K(e) {
470
- const t = new Error(e);
471
- return t.name = e, t;
472
- }
473
- async function fe(e, t, n = 50) {
474
- var o, s, u;
475
- const a = document;
476
- for (; !a.body; )
477
- await _(n);
478
- const c = a.createElement("iframe");
479
- try {
480
- for (await new Promise((l, d) => {
481
- let i = !1;
482
- const r = () => {
483
- i = !0, l();
484
- }, p = (b) => {
485
- i = !0, d(b);
486
- };
487
- c.onload = r, c.onerror = p;
488
- const { style: f } = c;
489
- f.setProperty("display", "block", "important"), f.position = "absolute", f.top = "0", f.left = "0", f.visibility = "hidden", t && "srcdoc" in c ? c.srcdoc = t : c.src = "about:blank", a.body.appendChild(c);
490
- const g = () => {
491
- var b, M;
492
- i || (((M = (b = c.contentWindow) === null || b === void 0 ? void 0 : b.document) === null || M === void 0 ? void 0 : M.readyState) === "complete" ? r() : setTimeout(g, 10));
493
- };
494
- g();
495
- }); !(!((s = (o = c.contentWindow) === null || o === void 0 ? void 0 : o.document) === null || s === void 0) && s.body); )
496
- await _(n);
497
- return await e(c, c.contentWindow);
498
- } finally {
499
- (u = c.parentNode) === null || u === void 0 || u.removeChild(c);
500
- }
501
- }
502
- function at(e) {
503
- const [t, n] = Ge(e), o = document.createElement(t ?? "div");
504
- for (const s of Object.keys(n)) {
505
- const u = n[s].join(" ");
506
- s === "style" ? st(o.style, u) : o.setAttribute(s, u);
507
- }
508
- return o;
509
- }
510
- function st(e, t) {
511
- for (const n of t.split(";")) {
512
- const o = /^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(n);
513
- if (o) {
514
- const [, s, u, , a] = o;
515
- e.setProperty(s, u, a || "");
516
- }
517
- }
518
- }
519
- function ct() {
520
- let e = window;
521
- for (; ; ) {
522
- const t = e.parent;
523
- if (!t || t === e)
524
- return !1;
525
- try {
526
- if (t.location.origin !== e.location.origin)
527
- return !0;
528
- } catch (n) {
529
- if (n instanceof Error && n.name === "SecurityError")
530
- return !0;
531
- throw n;
532
- }
533
- e = t;
534
- }
535
- }
536
- const ut = "mmMwWLliI0O&1", lt = "48px", W = ["monospace", "sans-serif", "serif"], q = [
537
- // This is android-specific font from "Roboto" family
538
- "sans-serif-thin",
539
- "ARNO PRO",
540
- "Agency FB",
541
- "Arabic Typesetting",
542
- "Arial Unicode MS",
543
- "AvantGarde Bk BT",
544
- "BankGothic Md BT",
545
- "Batang",
546
- "Bitstream Vera Sans Mono",
547
- "Calibri",
548
- "Century",
549
- "Century Gothic",
550
- "Clarendon",
551
- "EUROSTILE",
552
- "Franklin Gothic",
553
- "Futura Bk BT",
554
- "Futura Md BT",
555
- "GOTHAM",
556
- "Gill Sans",
557
- "HELV",
558
- "Haettenschweiler",
559
- "Helvetica Neue",
560
- "Humanst521 BT",
561
- "Leelawadee",
562
- "Letter Gothic",
563
- "Levenim MT",
564
- "Lucida Bright",
565
- "Lucida Sans",
566
- "Menlo",
567
- "MS Mincho",
568
- "MS Outlook",
569
- "MS Reference Specialty",
570
- "MS UI Gothic",
571
- "MT Extra",
572
- "MYRIAD PRO",
573
- "Marlett",
574
- "Meiryo UI",
575
- "Microsoft Uighur",
576
- "Minion Pro",
577
- "Monotype Corsiva",
578
- "PMingLiU",
579
- "Pristina",
580
- "SCRIPTINA",
581
- "Segoe UI Light",
582
- "Serifa",
583
- "SimHei",
584
- "Small Fonts",
585
- "Staccato222 BT",
586
- "TRAJAN PRO",
587
- "Univers CE 55 Medium",
588
- "Vrinda",
589
- "ZWAdobeF"
590
- ];
591
- function dt() {
592
- return fe(async (e, { document: t }) => {
593
- const n = t.body;
594
- n.style.fontSize = lt;
595
- const o = t.createElement("div");
596
- o.style.setProperty("visibility", "hidden", "important");
597
- const s = {}, u = {}, a = (f) => {
598
- const g = t.createElement("span"), { style: b } = g;
599
- return b.position = "absolute", b.top = "0", b.left = "0", b.fontFamily = f, g.textContent = ut, o.appendChild(g), g;
600
- }, c = (f, g) => a(`'${f}',${g}`), l = () => W.map(a), d = () => {
601
- const f = {};
602
- for (const g of q)
603
- f[g] = W.map((b) => c(g, b));
604
- return f;
605
- }, i = (f) => W.some((g, b) => f[b].offsetWidth !== s[g] || f[b].offsetHeight !== u[g]), r = l(), p = d();
606
- n.appendChild(o);
607
- for (let f = 0; f < W.length; f++)
608
- s[W[f]] = r[f].offsetWidth, u[W[f]] = r[f].offsetHeight;
609
- return q.filter((f) => i(p[f]));
610
- });
611
- }
612
- function ft() {
613
- const e = navigator.plugins;
614
- if (!e)
615
- return;
616
- const t = [];
617
- for (let n = 0; n < e.length; ++n) {
618
- const o = e[n];
619
- if (!o)
620
- continue;
621
- const s = [];
622
- for (let u = 0; u < o.length; ++u) {
623
- const a = o[u];
624
- s.push({
625
- type: a.type,
626
- suffixes: a.suffixes
627
- });
628
- }
629
- t.push({
630
- name: o.name,
631
- description: o.description,
632
- mimeTypes: s
633
- });
634
- }
635
- return t;
636
- }
637
- function mt() {
638
- return pt(St());
639
- }
640
- function pt(e) {
641
- let t = !1, n, o;
642
- const [s, u] = ht();
643
- return gt(s, u) ? (t = yt(u), e ? n = o = "skipped" : [n, o] = bt(s, u)) : n = o = "unsupported", { winding: t, geometry: n, text: o };
644
- }
645
- function ht() {
646
- const e = document.createElement("canvas");
647
- return e.width = 1, e.height = 1, [e, e.getContext("2d")];
648
- }
649
- function gt(e, t) {
650
- return !!(t && e.toDataURL);
651
- }
652
- function yt(e) {
653
- return e.rect(0, 0, 10, 10), e.rect(2, 2, 6, 6), !e.isPointInPath(5, 5, "evenodd");
654
- }
655
- function bt(e, t) {
656
- wt(e, t);
657
- const n = N(e), o = N(e);
658
- return n !== o ? [
659
- "unstable",
660
- "unstable"
661
- /* ImageStatus.Unstable */
662
- ] : (vt(e, t), [N(e), n]);
663
- }
664
- function wt(e, t) {
665
- e.width = 240, e.height = 60, t.textBaseline = "alphabetic", t.fillStyle = "#f60", t.fillRect(100, 1, 62, 20), t.fillStyle = "#069", t.font = '11pt "Times New Roman"';
666
- const n = "Cwm fjordbank gly 😃";
667
- t.fillText(n, 2, 15), t.fillStyle = "rgba(102, 204, 0, 0.2)", t.font = "18pt Arial", t.fillText(n, 4, 45);
668
- }
669
- function vt(e, t) {
670
- e.width = 122, e.height = 110, t.globalCompositeOperation = "multiply";
671
- for (const [n, o, s] of [
672
- ["#f2f", 40, 40],
673
- ["#2ff", 80, 40],
674
- ["#ff2", 60, 80]
675
- ])
676
- t.fillStyle = n, t.beginPath(), t.arc(o, s, 40, 0, Math.PI * 2, !0), t.closePath(), t.fill();
677
- t.fillStyle = "#f9c", t.arc(60, 60, 60, 0, Math.PI * 2, !0), t.arc(60, 60, 20, 0, Math.PI * 2, !0), t.fill("evenodd");
678
- }
679
- function N(e) {
680
- return e.toDataURL();
681
- }
682
- function St() {
683
- return x() && G() && Z();
684
- }
685
- function Lt() {
686
- const e = navigator;
687
- let t = 0, n;
688
- e.maxTouchPoints !== void 0 ? t = z(e.maxTouchPoints) : e.msMaxTouchPoints !== void 0 && (t = e.msMaxTouchPoints);
689
- try {
690
- document.createEvent("TouchEvent"), n = !0;
691
- } catch {
692
- n = !1;
693
- }
694
- const o = "ontouchstart" in window;
695
- return {
696
- maxTouchPoints: t,
697
- touchEvent: n,
698
- touchStart: o
699
- };
700
- }
701
- function kt() {
702
- return navigator.oscpu;
703
- }
704
- function xt() {
705
- const e = navigator, t = [], n = e.language || e.userLanguage || e.browserLanguage || e.systemLanguage;
706
- if (n !== void 0 && t.push([n]), Array.isArray(e.languages))
707
- I() && Je() || t.push(e.languages);
708
- else if (typeof e.languages == "string") {
709
- const o = e.languages;
710
- o && t.push(o.split(","));
711
- }
712
- return t;
713
- }
714
- function Vt() {
715
- return window.screen.colorDepth;
716
- }
717
- function Ft() {
718
- return V(k(navigator.deviceMemory), void 0);
719
- }
720
- function Ct() {
721
- if (!(x() && G() && Z()))
722
- return Wt();
723
- }
724
- function Wt() {
725
- const e = screen, t = (o) => V(z(o), null), n = [t(e.width), t(e.height)];
726
- return n.sort().reverse(), n;
727
- }
728
- const Pt = 2500, Mt = 10;
729
- let E, X;
730
- function Rt() {
731
- if (X !== void 0)
732
- return;
733
- const e = () => {
734
- const t = H();
735
- D(t) ? X = setTimeout(e, Pt) : (E = t, X = void 0);
736
- };
737
- e();
738
- }
739
- function It() {
740
- return Rt(), async () => {
741
- let e = H();
742
- if (D(e)) {
743
- if (E)
744
- return [...E];
745
- Qe() && (await Ke(), e = H());
746
- }
747
- return D(e) || (E = e), e;
748
- };
749
- }
750
- function Zt() {
751
- if (x() && G() && Z())
752
- return () => Promise.resolve(void 0);
753
- const e = It();
754
- return async () => {
755
- const t = await e(), n = (o) => o === null ? null : ue(o, Mt);
756
- return [n(t[0]), n(t[1]), n(t[2]), n(t[3])];
757
- };
758
- }
759
- function H() {
760
- const e = screen;
761
- return [
762
- V(k(e.availTop), null),
763
- V(k(e.width) - k(e.availWidth) - V(k(e.availLeft), 0), null),
764
- V(k(e.height) - k(e.availHeight) - V(k(e.availTop), 0), null),
765
- V(k(e.availLeft), null)
766
- ];
767
- }
768
- function D(e) {
769
- for (let t = 0; t < 4; ++t)
770
- if (e[t])
771
- return !1;
772
- return !0;
773
- }
774
- function Gt() {
775
- return V(z(navigator.hardwareConcurrency), void 0);
776
- }
777
- function Tt() {
778
- var e;
779
- const t = (e = window.Intl) === null || e === void 0 ? void 0 : e.DateTimeFormat;
780
- if (t) {
781
- const o = new t().resolvedOptions().timeZone;
782
- if (o)
783
- return o;
784
- }
785
- const n = -At();
786
- return `UTC${n >= 0 ? "+" : ""}${n}`;
787
- }
788
- function At() {
789
- const e = (/* @__PURE__ */ new Date()).getFullYear();
790
- return Math.max(
791
- // `getTimezoneOffset` returns a number as a string in some unidentified cases
792
- k(new Date(e, 0, 1).getTimezoneOffset()),
793
- k(new Date(e, 6, 1).getTimezoneOffset())
794
- );
795
- }
796
- function Et() {
797
- try {
798
- return !!window.sessionStorage;
799
- } catch {
800
- return !0;
801
- }
802
- }
803
- function _t() {
804
- try {
805
- return !!window.localStorage;
806
- } catch {
807
- return !0;
808
- }
809
- }
810
- function Yt() {
811
- if (!(le() || Be()))
812
- try {
813
- return !!window.indexedDB;
814
- } catch {
815
- return !0;
816
- }
817
- }
818
- function Nt() {
819
- return !!window.openDatabase;
820
- }
821
- function Xt() {
822
- return navigator.cpuClass;
823
- }
824
- function jt() {
825
- const { platform: e } = navigator;
826
- return e === "MacIntel" && x() && !B() ? Ue() ? "iPad" : "iPhone" : e;
827
- }
828
- function Ht() {
829
- return navigator.vendor || "";
830
- }
831
- function Dt() {
832
- const e = [];
833
- for (const t of [
834
- // Blink and some browsers on iOS
835
- "chrome",
836
- // Safari on macOS
837
- "safari",
838
- // Chrome on iOS (checked in 85 on 13 and 87 on 14)
839
- "__crWeb",
840
- "__gCrWeb",
841
- // Yandex Browser on iOS, macOS and Android (checked in 21.2 on iOS 14, macOS and Android)
842
- "yandex",
843
- // Yandex Browser on iOS (checked in 21.2 on 14)
844
- "__yb",
845
- "__ybro",
846
- // Firefox on iOS (checked in 32 on 14)
847
- "__firefox__",
848
- // Edge on iOS (checked in 46 on 14)
849
- "__edgeTrackingPreventionStatistics",
850
- "webkit",
851
- // Opera Touch on iOS (checked in 2.6 on 14)
852
- "oprt",
853
- // Samsung Internet on Android (checked in 11.1)
854
- "samsungAr",
855
- // UC Browser on Android (checked in 12.10 and 13.0)
856
- "ucweb",
857
- "UCShellJava",
858
- // Puffin on Android (checked in 9.0)
859
- "puffinDevice"
860
- // UC on iOS and Opera on Android have no specific global variables
861
- // Edge for Android isn't checked
862
- ]) {
863
- const n = window[t];
864
- n && typeof n == "object" && e.push(t);
865
- }
866
- return e.sort();
867
- }
868
- function zt() {
869
- const e = document;
870
- try {
871
- e.cookie = "cookietest=1; SameSite=Strict;";
872
- const t = e.cookie.indexOf("cookietest=") !== -1;
873
- return e.cookie = "cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT", t;
874
- } catch {
875
- return !1;
876
- }
877
- }
878
- function Bt() {
879
- const e = atob;
880
- return {
881
- abpIndo: [
882
- "#Iklan-Melayang",
883
- "#Kolom-Iklan-728",
884
- "#SidebarIklan-wrapper",
885
- '[title="ALIENBOLA" i]',
886
- e("I0JveC1CYW5uZXItYWRz")
887
- ],
888
- abpvn: [".quangcao", "#mobileCatfish", e("LmNsb3NlLWFkcw=="), '[id^="bn_bottom_fixed_"]', "#pmadv"],
889
- adBlockFinland: [
890
- ".mainostila",
891
- e("LnNwb25zb3JpdA=="),
892
- ".ylamainos",
893
- e("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),
894
- e("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd")
895
- ],
896
- adBlockPersian: [
897
- "#navbar_notice_50",
898
- ".kadr",
899
- 'TABLE[width="140px"]',
900
- "#divAgahi",
901
- e("YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd")
902
- ],
903
- adBlockWarningRemoval: [
904
- "#adblock-honeypot",
905
- ".adblocker-root",
906
- ".wp_adblock_detect",
907
- e("LmhlYWRlci1ibG9ja2VkLWFk"),
908
- e("I2FkX2Jsb2NrZXI=")
909
- ],
910
- adGuardAnnoyances: [
911
- ".hs-sosyal",
912
- "#cookieconsentdiv",
913
- 'div[class^="app_gdpr"]',
914
- ".as-oil",
915
- '[data-cypress="soft-push-notification-modal"]'
916
- ],
917
- adGuardBase: [
918
- ".BetterJsPopOverlay",
919
- e("I2FkXzMwMFgyNTA="),
920
- e("I2Jhbm5lcmZsb2F0MjI="),
921
- e("I2NhbXBhaWduLWJhbm5lcg=="),
922
- e("I0FkLUNvbnRlbnQ=")
923
- ],
924
- adGuardChinese: [
925
- e("LlppX2FkX2FfSA=="),
926
- e("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),
927
- "#widget-quan",
928
- e("YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd"),
929
- e("YVtocmVmKj0iLjE5NTZobC5jb20vIl0=")
930
- ],
931
- adGuardFrench: [
932
- "#pavePub",
933
- e("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),
934
- ".mobile_adhesion",
935
- ".widgetadv",
936
- e("LmFkc19iYW4=")
937
- ],
938
- adGuardGerman: ['aside[data-portal-id="leaderboard"]'],
939
- adGuardJapanese: [
940
- "#kauli_yad_1",
941
- e("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),
942
- e("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),
943
- e("LmFkZ29vZ2xl"),
944
- e("Ll9faXNib29zdFJldHVybkFk")
945
- ],
946
- adGuardMobile: [
947
- e("YW1wLWF1dG8tYWRz"),
948
- e("LmFtcF9hZA=="),
949
- 'amp-embed[type="24smi"]',
950
- "#mgid_iframe1",
951
- e("I2FkX2ludmlld19hcmVh")
952
- ],
953
- adGuardRussian: [
954
- e("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),
955
- e("LnJlY2xhbWE="),
956
- 'div[id^="smi2adblock"]',
957
- e("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),
958
- "#psyduckpockeball"
959
- ],
960
- adGuardSocial: [
961
- e("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),
962
- e("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),
963
- ".etsy-tweet",
964
- "#inlineShare",
965
- ".popup-social"
966
- ],
967
- adGuardSpanishPortuguese: ["#barraPublicidade", "#Publicidade", "#publiEspecial", "#queTooltip", ".cnt-publi"],
968
- adGuardTrackingProtection: [
969
- "#qoo-counter",
970
- e("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),
971
- e("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),
972
- e("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),
973
- "#top100counter"
974
- ],
975
- adGuardTurkish: [
976
- "#backkapat",
977
- e("I3Jla2xhbWk="),
978
- e("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),
979
- e("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),
980
- e("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")
981
- ],
982
- bulgarian: [e("dGQjZnJlZW5ldF90YWJsZV9hZHM="), "#ea_intext_div", ".lapni-pop-over", "#xenium_hot_offers"],
983
- easyList: [
984
- ".yb-floorad",
985
- e("LndpZGdldF9wb19hZHNfd2lkZ2V0"),
986
- e("LnRyYWZmaWNqdW5reS1hZA=="),
987
- ".textad_headline",
988
- e("LnNwb25zb3JlZC10ZXh0LWxpbmtz")
989
- ],
990
- easyListChina: [
991
- e("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),
992
- e("LmZyb250cGFnZUFkdk0="),
993
- "#taotaole",
994
- "#aafoot.top_box",
995
- ".cfa_popup"
996
- ],
997
- easyListCookie: [
998
- ".ezmob-footer",
999
- ".cc-CookieWarning",
1000
- "[data-cookie-number]",
1001
- e("LmF3LWNvb2tpZS1iYW5uZXI="),
1002
- ".sygnal24-gdpr-modal-wrap"
1003
- ],
1004
- easyListCzechSlovak: [
1005
- "#onlajny-stickers",
1006
- e("I3Jla2xhbW5pLWJveA=="),
1007
- e("LnJla2xhbWEtbWVnYWJvYXJk"),
1008
- ".sklik",
1009
- e("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")
1010
- ],
1011
- easyListDutch: [
1012
- e("I2FkdmVydGVudGll"),
1013
- e("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),
1014
- ".adstekst",
1015
- e("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),
1016
- "#semilo-lrectangle"
1017
- ],
1018
- easyListGermany: [
1019
- "#SSpotIMPopSlider",
1020
- e("LnNwb25zb3JsaW5rZ3J1ZW4="),
1021
- e("I3dlcmJ1bmdza3k="),
1022
- e("I3Jla2xhbWUtcmVjaHRzLW1pdHRl"),
1023
- e("YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0=")
1024
- ],
1025
- easyListItaly: [
1026
- e("LmJveF9hZHZfYW5udW5jaQ=="),
1027
- ".sb-box-pubbliredazionale",
1028
- e("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),
1029
- e("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),
1030
- e("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")
1031
- ],
1032
- easyListLithuania: [
1033
- e("LnJla2xhbW9zX3RhcnBhcw=="),
1034
- e("LnJla2xhbW9zX251b3JvZG9z"),
1035
- e("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),
1036
- e("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),
1037
- e("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")
1038
- ],
1039
- estonian: [e("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")],
1040
- fanboyAnnoyances: ["#ac-lre-player", ".navigate-to-top", "#subscribe_popup", ".newsletter_holder", "#back-top"],
1041
- fanboyAntiFacebook: [".util-bar-module-firefly-visible"],
1042
- fanboyEnhancedTrackers: [
1043
- ".open.pushModal",
1044
- "#issuem-leaky-paywall-articles-zero-remaining-nag",
1045
- "#sovrn_container",
1046
- 'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',
1047
- ".BlockNag__Card"
1048
- ],
1049
- fanboySocial: ["#FollowUs", "#meteored_share", "#social_follow", ".article-sharer", ".community__social-desc"],
1050
- frellwitSwedish: [
1051
- e("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),
1052
- e("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),
1053
- "article.category-samarbete",
1054
- e("ZGl2LmhvbGlkQWRz"),
1055
- "ul.adsmodern"
1056
- ],
1057
- greekAdBlock: [
1058
- e("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),
1059
- e("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),
1060
- e("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),
1061
- "DIV.agores300",
1062
- "TABLE.advright"
1063
- ],
1064
- hungarian: [
1065
- "#cemp_doboz",
1066
- ".optimonk-iframe-container",
1067
- e("LmFkX19tYWlu"),
1068
- e("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),
1069
- "#hirdetesek_box"
1070
- ],
1071
- iDontCareAboutCookies: [
1072
- '.alert-info[data-block-track*="CookieNotice"]',
1073
- ".ModuleTemplateCookieIndicator",
1074
- ".o--cookies--container",
1075
- "#cookies-policy-sticky",
1076
- "#stickyCookieBar"
1077
- ],
1078
- icelandicAbp: [e("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],
1079
- latvian: [
1080
- e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),
1081
- e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")
1082
- ],
1083
- listKr: [
1084
- e("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),
1085
- e("I2xpdmVyZUFkV3JhcHBlcg=="),
1086
- e("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),
1087
- e("aW5zLmZhc3R2aWV3LWFk"),
1088
- ".revenue_unit_item.dable"
1089
- ],
1090
- listeAr: [
1091
- e("LmdlbWluaUxCMUFk"),
1092
- ".right-and-left-sponsers",
1093
- e("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),
1094
- e("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),
1095
- e("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")
1096
- ],
1097
- listeFr: [
1098
- e("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),
1099
- e("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),
1100
- e("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),
1101
- ".site-pub-interstitiel",
1102
- 'div[id^="crt-"][data-criteo-id]'
1103
- ],
1104
- officialPolish: [
1105
- "#ceneo-placeholder-ceneo-12",
1106
- e("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),
1107
- e("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),
1108
- e("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ=="),
1109
- e("ZGl2I3NrYXBpZWNfYWQ=")
1110
- ],
1111
- ro: [
1112
- e("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),
1113
- e("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),
1114
- e("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),
1115
- e("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd"),
1116
- 'a[href^="/url/"]'
1117
- ],
1118
- ruAd: [
1119
- e("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),
1120
- e("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),
1121
- e("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),
1122
- "#pgeldiz",
1123
- ".yandex-rtb-block"
1124
- ],
1125
- thaiAds: [
1126
- "a[href*=macau-uta-popup]",
1127
- e("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),
1128
- e("LmFkczMwMHM="),
1129
- ".bumq",
1130
- ".img-kosana"
1131
- ],
1132
- webAnnoyancesUltralist: [
1133
- "#mod-social-share-2",
1134
- "#social-tools",
1135
- e("LmN0cGwtZnVsbGJhbm5lcg=="),
1136
- ".zergnet-recommend",
1137
- ".yt.btn-link.btn-md.btn"
1138
- ]
1139
- };
1140
- }
1141
- async function Jt({ debug: e } = {}) {
1142
- if (!Ot())
1143
- return;
1144
- const t = Bt(), n = Object.keys(t), o = [].concat(...n.map((a) => t[a])), s = await $t(o);
1145
- e && Ut(t, s);
1146
- const u = n.filter((a) => {
1147
- const c = t[a];
1148
- return v(c.map((d) => s[d])) > c.length * 0.6;
1149
- });
1150
- return u.sort(), u;
1151
- }
1152
- function Ot() {
1153
- return x() || J();
1154
- }
1155
- async function $t(e) {
1156
- var t;
1157
- const n = document, o = n.createElement("div"), s = new Array(e.length), u = {};
1158
- ee(o);
1159
- for (let a = 0; a < e.length; ++a) {
1160
- const c = at(e[a]);
1161
- c.tagName === "DIALOG" && c.show();
1162
- const l = n.createElement("div");
1163
- ee(l), l.appendChild(c), o.appendChild(l), s[a] = c;
1164
- }
1165
- for (; !n.body; )
1166
- await _(50);
1167
- n.body.appendChild(o);
1168
- try {
1169
- for (let a = 0; a < e.length; ++a)
1170
- s[a].offsetParent || (u[e[a]] = !0);
1171
- } finally {
1172
- (t = o.parentNode) === null || t === void 0 || t.removeChild(o);
1173
- }
1174
- return u;
1175
- }
1176
- function ee(e) {
1177
- e.style.setProperty("visibility", "hidden", "important"), e.style.setProperty("display", "block", "important");
1178
- }
1179
- function Ut(e, t) {
1180
- let n = "DOM blockers debug:\n```";
1181
- for (const o of Object.keys(e)) {
1182
- n += `
1183
- ${o}:`;
1184
- for (const s of e[o])
1185
- n += `
1186
- ${t[s] ? "🚫" : "➡️"} ${s}`;
1187
- }
1188
- console.log(`${n}
1189
- \`\`\``);
1190
- }
1191
- function Qt() {
1192
- for (const e of ["rec2020", "p3", "srgb"])
1193
- if (matchMedia(`(color-gamut: ${e})`).matches)
1194
- return e;
1195
- }
1196
- function Kt() {
1197
- if (te("inverted"))
1198
- return !0;
1199
- if (te("none"))
1200
- return !1;
1201
- }
1202
- function te(e) {
1203
- return matchMedia(`(inverted-colors: ${e})`).matches;
1204
- }
1205
- function qt() {
1206
- if (ne("active"))
1207
- return !0;
1208
- if (ne("none"))
1209
- return !1;
1210
- }
1211
- function ne(e) {
1212
- return matchMedia(`(forced-colors: ${e})`).matches;
1213
- }
1214
- const en = 100;
1215
- function tn() {
1216
- if (matchMedia("(min-monochrome: 0)").matches) {
1217
- for (let e = 0; e <= en; ++e)
1218
- if (matchMedia(`(max-monochrome: ${e})`).matches)
1219
- return e;
1220
- throw new Error("Too high value");
1221
- }
1222
- }
1223
- function nn() {
1224
- if (P("no-preference"))
1225
- return 0;
1226
- if (P("high") || P("more"))
1227
- return 1;
1228
- if (P("low") || P("less"))
1229
- return -1;
1230
- if (P("forced"))
1231
- return 10;
1232
- }
1233
- function P(e) {
1234
- return matchMedia(`(prefers-contrast: ${e})`).matches;
1235
- }
1236
- function on() {
1237
- if (oe("reduce"))
1238
- return !0;
1239
- if (oe("no-preference"))
1240
- return !1;
1241
- }
1242
- function oe(e) {
1243
- return matchMedia(`(prefers-reduced-motion: ${e})`).matches;
1244
- }
1245
- function rn() {
1246
- if (re("reduce"))
1247
- return !0;
1248
- if (re("no-preference"))
1249
- return !1;
1250
- }
1251
- function re(e) {
1252
- return matchMedia(`(prefers-reduced-transparency: ${e})`).matches;
1253
- }
1254
- function an() {
1255
- if (ie("high"))
1256
- return !0;
1257
- if (ie("standard"))
1258
- return !1;
1259
- }
1260
- function ie(e) {
1261
- return matchMedia(`(dynamic-range: ${e})`).matches;
1262
- }
1263
- const m = Math, w = () => 0;
1264
- function sn() {
1265
- const e = m.acos || w, t = m.acosh || w, n = m.asin || w, o = m.asinh || w, s = m.atanh || w, u = m.atan || w, a = m.sin || w, c = m.sinh || w, l = m.cos || w, d = m.cosh || w, i = m.tan || w, r = m.tanh || w, p = m.exp || w, f = m.expm1 || w, g = m.log1p || w, b = (h) => m.pow(m.PI, h), M = (h) => m.log(h + m.sqrt(h * h - 1)), Se = (h) => m.log(h + m.sqrt(h * h + 1)), Le = (h) => m.log((1 + h) / (1 - h)) / 2, ke = (h) => m.exp(h) - 1 / m.exp(h) / 2, xe = (h) => (m.exp(h) + 1 / m.exp(h)) / 2, Ve = (h) => m.exp(h) - 1, Fe = (h) => (m.exp(2 * h) - 1) / (m.exp(2 * h) + 1), Ce = (h) => m.log(1 + h);
1266
- return {
1267
- acos: e(0.12312423423423424),
1268
- acosh: t(1e308),
1269
- acoshPf: M(1e154),
1270
- asin: n(0.12312423423423424),
1271
- asinh: o(1),
1272
- asinhPf: Se(1),
1273
- atanh: s(0.5),
1274
- atanhPf: Le(0.5),
1275
- atan: u(0.5),
1276
- sin: a(-1e300),
1277
- sinh: c(1),
1278
- sinhPf: ke(1),
1279
- cos: l(10.000000000123),
1280
- cosh: d(1),
1281
- coshPf: xe(1),
1282
- tan: i(-1e300),
1283
- tanh: r(1),
1284
- tanhPf: Fe(1),
1285
- exp: p(1),
1286
- expm1: f(1),
1287
- expm1Pf: Ve(1),
1288
- log1p: g(10),
1289
- log1pPf: Ce(10),
1290
- powPI: b(-100)
1291
- };
1292
- }
1293
- const cn = "mmMwWLliI0fiflO&1", j = {
1294
- /**
1295
- * The default font. User can change it in desktop Chrome, desktop Firefox, IE 11,
1296
- * Android Chrome (but only when the size is ≥ than the default) and Android Firefox.
1297
- */
1298
- default: [],
1299
- /** OS font on macOS. User can change its size and weight. Applies after Safari restart. */
1300
- apple: [{ font: "-apple-system-body" }],
1301
- /** User can change it in desktop Chrome and desktop Firefox. */
1302
- serif: [{ fontFamily: "serif" }],
1303
- /** User can change it in desktop Chrome and desktop Firefox. */
1304
- sans: [{ fontFamily: "sans-serif" }],
1305
- /** User can change it in desktop Chrome and desktop Firefox. */
1306
- mono: [{ fontFamily: "monospace" }],
1307
- /**
1308
- * Check the smallest allowed font size. User can change it in desktop Chrome, desktop Firefox and desktop Safari.
1309
- * The height can be 0 in Chrome on a retina display.
1310
- */
1311
- min: [{ fontSize: "1px" }],
1312
- /** Tells one OS from another in desktop Chrome. */
1313
- system: [{ fontFamily: "system-ui" }]
1314
- };
1315
- function un() {
1316
- return ln((e, t) => {
1317
- const n = {}, o = {};
1318
- for (const s of Object.keys(j)) {
1319
- const [u = {}, a = cn] = j[s], c = e.createElement("span");
1320
- c.textContent = a, c.style.whiteSpace = "nowrap";
1321
- for (const l of Object.keys(u)) {
1322
- const d = u[l];
1323
- d !== void 0 && (c.style[l] = d);
1324
- }
1325
- n[s] = c, t.append(e.createElement("br"), c);
1326
- }
1327
- for (const s of Object.keys(j))
1328
- o[s] = n[s].getBoundingClientRect().width;
1329
- return o;
1330
- });
1331
- }
1332
- function ln(e, t = 4e3) {
1333
- return fe((n, o) => {
1334
- const s = o.document, u = s.body, a = u.style;
1335
- a.width = `${t}px`, a.webkitTextSizeAdjust = a.textSizeAdjust = "none", I() ? u.style.zoom = `${1 / o.devicePixelRatio}` : x() && (u.style.zoom = "reset");
1336
- const c = s.createElement("div");
1337
- return c.textContent = [...Array(t / 20 << 0)].map(() => "word").join(" "), u.appendChild(c), e(s, u);
1338
- }, '<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">');
1339
- }
1340
- function dn() {
1341
- return navigator.pdfViewerEnabled;
1342
- }
1343
- function fn() {
1344
- const e = new Float32Array(1), t = new Uint8Array(e.buffer);
1345
- return e[0] = 1 / 0, e[0] = e[0] - e[0], t[3];
1346
- }
1347
- function mn() {
1348
- const { ApplePaySession: e } = window;
1349
- if (typeof (e == null ? void 0 : e.canMakePayments) != "function")
1350
- return -1;
1351
- if (pn())
1352
- return -3;
1353
- try {
1354
- return e.canMakePayments() ? 1 : 0;
1355
- } catch (t) {
1356
- return hn(t);
1357
- }
1358
- }
1359
- const pn = ct;
1360
- function hn(e) {
1361
- if (e instanceof Error && e.name === "InvalidAccessError" && /\bfrom\b.*\binsecure\b/i.test(e.message))
1362
- return -2;
1363
- throw e;
1364
- }
1365
- function gn() {
1366
- var e;
1367
- const t = document.createElement("a"), n = (e = t.attributionSourceId) !== null && e !== void 0 ? e : t.attributionsourceid;
1368
- return n === void 0 ? void 0 : String(n);
1369
- }
1370
- const me = -1, pe = -2, yn = /* @__PURE__ */ new Set([
1371
- 10752,
1372
- 2849,
1373
- 2884,
1374
- 2885,
1375
- 2886,
1376
- 2928,
1377
- 2929,
1378
- 2930,
1379
- 2931,
1380
- 2932,
1381
- 2960,
1382
- 2961,
1383
- 2962,
1384
- 2963,
1385
- 2964,
1386
- 2965,
1387
- 2966,
1388
- 2967,
1389
- 2968,
1390
- 2978,
1391
- 3024,
1392
- 3042,
1393
- 3088,
1394
- 3089,
1395
- 3106,
1396
- 3107,
1397
- 32773,
1398
- 32777,
1399
- 32777,
1400
- 32823,
1401
- 32824,
1402
- 32936,
1403
- 32937,
1404
- 32938,
1405
- 32939,
1406
- 32968,
1407
- 32969,
1408
- 32970,
1409
- 32971,
1410
- 3317,
1411
- 33170,
1412
- 3333,
1413
- 3379,
1414
- 3386,
1415
- 33901,
1416
- 33902,
1417
- 34016,
1418
- 34024,
1419
- 34076,
1420
- 3408,
1421
- 3410,
1422
- 3411,
1423
- 3412,
1424
- 3413,
1425
- 3414,
1426
- 3415,
1427
- 34467,
1428
- 34816,
1429
- 34817,
1430
- 34818,
1431
- 34819,
1432
- 34877,
1433
- 34921,
1434
- 34930,
1435
- 35660,
1436
- 35661,
1437
- 35724,
1438
- 35738,
1439
- 35739,
1440
- 36003,
1441
- 36004,
1442
- 36005,
1443
- 36347,
1444
- 36348,
1445
- 36349,
1446
- 37440,
1447
- 37441,
1448
- 37443,
1449
- 7936,
1450
- 7937,
1451
- 7938
1452
- // SAMPLE_ALPHA_TO_COVERAGE (32926) and SAMPLE_COVERAGE (32928) are excluded because they trigger a console warning
1453
- // in IE, Chrome ≤ 59 and Safari ≤ 13 and give no entropy.
1454
- ]), bn = /* @__PURE__ */ new Set([
1455
- 34047,
1456
- 35723,
1457
- 36063,
1458
- 34852,
1459
- 34853,
1460
- 34854,
1461
- 34229,
1462
- 36392,
1463
- 36795,
1464
- 38449
1465
- // MAX_VIEWS_OVR
1466
- ]), wn = ["FRAGMENT_SHADER", "VERTEX_SHADER"], vn = ["LOW_FLOAT", "MEDIUM_FLOAT", "HIGH_FLOAT", "LOW_INT", "MEDIUM_INT", "HIGH_INT"], he = "WEBGL_debug_renderer_info", Sn = "WEBGL_polygon_mode";
1467
- function Ln({ cache: e }) {
1468
- var t, n, o, s, u, a;
1469
- const c = ge(e);
1470
- if (!c)
1471
- return me;
1472
- if (!be(c))
1473
- return pe;
1474
- const l = ye() ? null : c.getExtension(he);
1475
- return {
1476
- version: ((t = c.getParameter(c.VERSION)) === null || t === void 0 ? void 0 : t.toString()) || "",
1477
- vendor: ((n = c.getParameter(c.VENDOR)) === null || n === void 0 ? void 0 : n.toString()) || "",
1478
- vendorUnmasked: l ? (o = c.getParameter(l.UNMASKED_VENDOR_WEBGL)) === null || o === void 0 ? void 0 : o.toString() : "",
1479
- renderer: ((s = c.getParameter(c.RENDERER)) === null || s === void 0 ? void 0 : s.toString()) || "",
1480
- rendererUnmasked: l ? (u = c.getParameter(l.UNMASKED_RENDERER_WEBGL)) === null || u === void 0 ? void 0 : u.toString() : "",
1481
- shadingLanguageVersion: ((a = c.getParameter(c.SHADING_LANGUAGE_VERSION)) === null || a === void 0 ? void 0 : a.toString()) || ""
1482
- };
1483
- }
1484
- function kn({ cache: e }) {
1485
- const t = ge(e);
1486
- if (!t)
1487
- return me;
1488
- if (!be(t))
1489
- return pe;
1490
- const n = t.getSupportedExtensions(), o = t.getContextAttributes(), s = [], u = [], a = [], c = [], l = [];
1491
- if (o)
1492
- for (const i of Object.keys(o))
1493
- u.push(`${i}=${o[i]}`);
1494
- const d = ae(t);
1495
- for (const i of d) {
1496
- const r = t[i];
1497
- a.push(`${i}=${r}${yn.has(r) ? `=${t.getParameter(r)}` : ""}`);
1498
- }
1499
- if (n)
1500
- for (const i of n) {
1501
- if (i === he && ye() || i === Sn && Fn())
1502
- continue;
1503
- const r = t.getExtension(i);
1504
- if (!r) {
1505
- s.push(i);
1506
- continue;
1507
- }
1508
- for (const p of ae(r)) {
1509
- const f = r[p];
1510
- c.push(`${p}=${f}${bn.has(f) ? `=${t.getParameter(f)}` : ""}`);
1511
- }
1512
- }
1513
- for (const i of wn)
1514
- for (const r of vn) {
1515
- const p = xn(t, i, r);
1516
- l.push(`${i}.${r}=${p.join(",")}`);
1517
- }
1518
- return c.sort(), a.sort(), {
1519
- contextAttributes: u,
1520
- parameters: a,
1521
- shaderPrecisions: l,
1522
- extensions: n,
1523
- extensionParameters: c,
1524
- unsupportedExtensions: s
1525
- };
1526
- }
1527
- function ge(e) {
1528
- if (e.webgl)
1529
- return e.webgl.context;
1530
- const t = document.createElement("canvas");
1531
- let n;
1532
- t.addEventListener("webglCreateContextError", () => n = void 0);
1533
- for (const o of ["webgl", "experimental-webgl"]) {
1534
- try {
1535
- n = t.getContext(o);
1536
- } catch {
1537
- }
1538
- if (n)
1539
- break;
1540
- }
1541
- return e.webgl = { context: n }, n;
1542
- }
1543
- function xn(e, t, n) {
1544
- const o = e.getShaderPrecisionFormat(e[t], e[n]);
1545
- return o ? [o.rangeMin, o.rangeMax, o.precision] : [];
1546
- }
1547
- function ae(e) {
1548
- return Object.keys(e.__proto__).filter(Vn);
1549
- }
1550
- function Vn(e) {
1551
- return typeof e == "string" && !e.match(/[^A-Z0-9_x]/);
1552
- }
1553
- function ye() {
1554
- return de();
1555
- }
1556
- function Fn() {
1557
- return I() || x();
1558
- }
1559
- function be(e) {
1560
- return typeof e.getParameter == "function";
1561
- }
1562
- function Cn() {
1563
- if (!(J() || x()))
1564
- return -2;
1565
- if (!window.AudioContext)
1566
- return -1;
1567
- const t = new AudioContext().baseLatency;
1568
- return t == null ? -1 : isFinite(t) ? t : -3;
1569
- }
1570
- function Wn() {
1571
- if (!window.Intl)
1572
- return -1;
1573
- const e = window.Intl.DateTimeFormat;
1574
- if (!e)
1575
- return -2;
1576
- const t = e().resolvedOptions().locale;
1577
- return !t && t !== "" ? -3 : t;
1578
- }
1579
- const Pn = {
1580
- // READ FIRST:
1581
- // See https://github.com/fingerprintjs/fingerprintjs/blob/master/contributing.md#how-to-add-an-entropy-source
1582
- // to learn how entropy source works and how to make your own.
1583
- // The sources run in this exact order.
1584
- // The asynchronous sources are at the start to run in parallel with other sources.
1585
- fonts: dt,
1586
- domBlockers: Jt,
1587
- fontPreferences: un,
1588
- audio: et,
1589
- screenFrame: Zt,
1590
- canvas: mt,
1591
- osCpu: kt,
1592
- languages: xt,
1593
- colorDepth: Vt,
1594
- deviceMemory: Ft,
1595
- screenResolution: Ct,
1596
- hardwareConcurrency: Gt,
1597
- timezone: Tt,
1598
- sessionStorage: Et,
1599
- localStorage: _t,
1600
- indexedDB: Yt,
1601
- openDatabase: Nt,
1602
- cpuClass: Xt,
1603
- platform: jt,
1604
- plugins: ft,
1605
- touchSupport: Lt,
1606
- vendor: Ht,
1607
- vendorFlavors: Dt,
1608
- cookiesEnabled: zt,
1609
- colorGamut: Qt,
1610
- invertedColors: Kt,
1611
- forcedColors: qt,
1612
- monochrome: tn,
1613
- contrast: nn,
1614
- reducedMotion: on,
1615
- reducedTransparency: rn,
1616
- hdr: an,
1617
- math: sn,
1618
- pdfViewerEnabled: dn,
1619
- architecture: fn,
1620
- applePay: mn,
1621
- privateClickMeasurement: gn,
1622
- audioBaseLatency: Cn,
1623
- dateTimeLocale: Wn,
1624
- // Some sources can affect other sources (e.g. WebGL can affect canvas), so it's important to run these sources
1625
- // after other sources.
1626
- webGlBasics: Ln,
1627
- webGlExtensions: kn
1628
- };
1629
- function Mn(e) {
1630
- return ze(Pn, e, []);
1631
- }
1632
- const Rn = "$ if upgrade to Pro: https://fpjs.dev/pro";
1633
- function In(e) {
1634
- const t = Zn(e), n = Gn(t);
1635
- return { score: t, comment: Rn.replace(/\$/g, `${n}`) };
1636
- }
1637
- function Zn(e) {
1638
- if (J())
1639
- return 0.4;
1640
- if (x())
1641
- return B() && !(G() && Z()) ? 0.5 : 0.3;
1642
- const t = "value" in e.platform ? e.platform.value : "";
1643
- return /^Win/.test(t) ? 0.6 : /^Mac/.test(t) ? 0.5 : 0.7;
1644
- }
1645
- function Gn(e) {
1646
- return ue(0.99 + 0.01 * e, 1e-4);
1647
- }
1648
- function Tn(e) {
1649
- let t = "";
1650
- for (const n of Object.keys(e).sort()) {
1651
- const o = e[n], s = "error" in o ? "error" : JSON.stringify(o.value);
1652
- t += `${t ? "|" : ""}${n.replace(/([:|\\])/g, "\\$1")}:${s}`;
1653
- }
1654
- return t;
1655
- }
1656
- function we(e) {
1657
- return JSON.stringify(e, (t, n) => n instanceof Error ? Xe(n) : n, 2);
1658
- }
1659
- function ve(e) {
1660
- return Ne(Tn(e));
1661
- }
1662
- function An(e) {
1663
- let t;
1664
- const n = In(e);
1665
- return {
1666
- get visitorId() {
1667
- return t === void 0 && (t = ve(this.components)), t;
1668
- },
1669
- set visitorId(o) {
1670
- t = o;
1671
- },
1672
- confidence: n,
1673
- components: e,
1674
- version: se
1675
- };
1676
- }
1677
- function En(e = 50) {
1678
- return Re(e, e * 2);
1679
- }
1680
- function _n(e, t) {
1681
- const n = Date.now();
1682
- return {
1683
- async get(o) {
1684
- const s = Date.now(), u = await e(), a = An(u);
1685
- return (t || o != null && o.debug) && console.log(`Copy the text below to get the debug data:
1686
-
1687
- \`\`\`
1688
- version: ${a.version}
1689
- userAgent: ${navigator.userAgent}
1690
- timeBetweenLoadAndGet: ${s - n}
1691
- visitorId: ${a.visitorId}
1692
- components: ${we(u)}
1693
- \`\`\``), a;
1694
- }
1695
- };
1696
- }
1697
- function Yn() {
1698
- if (!(window.__fpjs_d_m || Math.random() >= 1e-3))
1699
- try {
1700
- const e = new XMLHttpRequest();
1701
- e.open("get", `https://m1.openfpcdn.io/fingerprintjs/v${se}/npm-monitoring`, !0), e.send();
1702
- } catch (e) {
1703
- console.error(e);
1704
- }
1705
- }
1706
- async function Nn(e = {}) {
1707
- var t;
1708
- (!((t = e.monitoring) !== null && t !== void 0) || t) && Yn();
1709
- const { delayFallback: n, debug: o } = e;
1710
- await En(n);
1711
- const s = Mn({ cache: {}, debug: o });
1712
- return _n(s, o);
1713
- }
1714
- var Xn = { load: Nn, hashComponents: ve, componentsToDebugString: we };
1715
- class jn {
1716
- constructor() {
1717
- Y(this, "fpPromise", null);
1718
- Y(this, "fingerprint", null);
1719
- }
1720
- /**
1721
- * Inicializa el agente de FingerprintJS y genera el fingerprint.
1722
- * @returns El identificador único del dispositivo (visitorId)
1723
- */
1724
- async initialize() {
1725
- this.fpPromise || (this.fpPromise = Xn.load());
1726
- const n = await (await this.fpPromise).get();
1727
- return this.fingerprint = n.visitorId, this.fingerprint || "";
1728
- }
1729
- /**
1730
- * Obtiene el fingerprint previamente generado.
1731
- * Si no existe, lo genera automáticamente.
1732
- * @returns El fingerprint del dispositivo
1733
- */
1734
- async getFingerprint() {
1735
- return this.fingerprint ? this.fingerprint : await this.initialize();
1736
- }
1737
- /**
1738
- * Obtiene el fingerprint de forma síncrona si ya fue generado.
1739
- * Útil cuando ya se ha llamado a initialize() previamente.
1740
- * @returns El fingerprint o null si no ha sido generado
1741
- */
1742
- getFingerprintSync() {
1743
- return this.fingerprint;
1744
- }
1745
- }
1746
- const Dn = new jn();
1747
- export {
1748
- Dn as default
1749
- };