@rebilly/risk-data-collector 10.33.20 → 10.33.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -2
- package/README.md +12 -0
- package/dist/data-collector.d.ts +7 -1
- package/dist/data-collector.js +255 -248
- package/dist/data-collector.js.map +1 -1
- package/dist/data-collector.min.js +4 -4
- package/dist/data-collector.min.js.map +1 -1
- package/dist/kount.d.ts +4 -1
- package/package.json +1 -1
package/dist/data-collector.js
CHANGED
|
@@ -369,7 +369,7 @@ function E() {
|
|
|
369
369
|
"msPointerEnabled" in t
|
|
370
370
|
]) >= 4;
|
|
371
371
|
}
|
|
372
|
-
function
|
|
372
|
+
function ae() {
|
|
373
373
|
var e = window, t = navigator;
|
|
374
374
|
return S([
|
|
375
375
|
"msWriteProfilerMark" in e,
|
|
@@ -378,7 +378,7 @@ function D() {
|
|
|
378
378
|
"msSaveBlob" in t
|
|
379
379
|
]) >= 3 && !E();
|
|
380
380
|
}
|
|
381
|
-
function
|
|
381
|
+
function D() {
|
|
382
382
|
var e = window, t = navigator;
|
|
383
383
|
return S([
|
|
384
384
|
"webkitPersistentStorage" in t,
|
|
@@ -390,7 +390,7 @@ function O() {
|
|
|
390
390
|
"webkitSpeechGrammar" in e
|
|
391
391
|
]) >= 5;
|
|
392
392
|
}
|
|
393
|
-
function
|
|
393
|
+
function O() {
|
|
394
394
|
var e = window, t = navigator;
|
|
395
395
|
return S([
|
|
396
396
|
"ApplePayError" in e,
|
|
@@ -401,7 +401,7 @@ function k() {
|
|
|
401
401
|
"WebKitMediaKeys" in e
|
|
402
402
|
]) >= 4;
|
|
403
403
|
}
|
|
404
|
-
function
|
|
404
|
+
function k() {
|
|
405
405
|
var e = window;
|
|
406
406
|
return S([
|
|
407
407
|
"safari" in e,
|
|
@@ -410,7 +410,7 @@ function A() {
|
|
|
410
410
|
!("standalone" in navigator)
|
|
411
411
|
]) >= 3;
|
|
412
412
|
}
|
|
413
|
-
function
|
|
413
|
+
function oe() {
|
|
414
414
|
var e = window;
|
|
415
415
|
return S([
|
|
416
416
|
"buildID" in navigator,
|
|
@@ -421,7 +421,7 @@ function ae() {
|
|
|
421
421
|
"CanvasCaptureMediaStream" in e
|
|
422
422
|
]) >= 4;
|
|
423
423
|
}
|
|
424
|
-
function
|
|
424
|
+
function se() {
|
|
425
425
|
var e = window;
|
|
426
426
|
return S([
|
|
427
427
|
!("MediaSettingsRange" in e),
|
|
@@ -430,7 +430,7 @@ function oe() {
|
|
|
430
430
|
"" + e.Reflect == "[object Reflect]"
|
|
431
431
|
]) >= 3;
|
|
432
432
|
}
|
|
433
|
-
function
|
|
433
|
+
function ce() {
|
|
434
434
|
var e = window;
|
|
435
435
|
return S([
|
|
436
436
|
"DOMRectList" in e,
|
|
@@ -439,7 +439,7 @@ function se() {
|
|
|
439
439
|
"ontransitioncancel" in e
|
|
440
440
|
]) >= 3;
|
|
441
441
|
}
|
|
442
|
-
function
|
|
442
|
+
function le() {
|
|
443
443
|
if (navigator.platform === "iPad") return !0;
|
|
444
444
|
var e = screen, t = e.width / e.height;
|
|
445
445
|
return S([
|
|
@@ -448,16 +448,16 @@ function ce() {
|
|
|
448
448
|
t > .65 && t < 1.53
|
|
449
449
|
]) >= 2;
|
|
450
450
|
}
|
|
451
|
-
function
|
|
451
|
+
function ue() {
|
|
452
452
|
var e = document;
|
|
453
453
|
return e.fullscreenElement || e.msFullscreenElement || e.mozFullScreenElement || e.webkitFullscreenElement || null;
|
|
454
454
|
}
|
|
455
|
-
function
|
|
455
|
+
function de() {
|
|
456
456
|
var e = document;
|
|
457
457
|
return (e.exitFullscreen || e.msExitFullscreen || e.mozCancelFullScreen || e.webkitExitFullscreen).call(e);
|
|
458
458
|
}
|
|
459
|
-
function
|
|
460
|
-
var e =
|
|
459
|
+
function A() {
|
|
460
|
+
var e = D(), t = oe();
|
|
461
461
|
if (!e && !t) return !1;
|
|
462
462
|
var n = window;
|
|
463
463
|
return S([
|
|
@@ -467,16 +467,16 @@ function j() {
|
|
|
467
467
|
t && /android/i.test(navigator.appVersion)
|
|
468
468
|
]) >= 2;
|
|
469
469
|
}
|
|
470
|
-
function
|
|
470
|
+
function fe() {
|
|
471
471
|
var e = window, t = e.OfflineAudioContext || e.webkitOfflineAudioContext;
|
|
472
472
|
if (!t) return -2;
|
|
473
|
-
if (
|
|
473
|
+
if (pe()) return -1;
|
|
474
474
|
var n = 4500, r = new t(1, 5e3, 44100), i = r.createOscillator();
|
|
475
475
|
i.type = "triangle", i.frequency.value = 1e4;
|
|
476
476
|
var a = r.createDynamicsCompressor();
|
|
477
477
|
a.threshold.value = -50, a.knee.value = 40, a.ratio.value = 12, a.attack.value = 0, a.release.value = .25, i.connect(a), a.connect(r.destination), i.start(0);
|
|
478
|
-
var o =
|
|
479
|
-
return
|
|
478
|
+
var o = me(r), s = o[0], c = o[1], l = s.then(function(e) {
|
|
479
|
+
return he(e.getChannelData(0).subarray(n));
|
|
480
480
|
}, function(e) {
|
|
481
481
|
if (e.name === "timeout" || e.name === "suspended") return -3;
|
|
482
482
|
throw e;
|
|
@@ -485,10 +485,10 @@ function de() {
|
|
|
485
485
|
return c(), l;
|
|
486
486
|
};
|
|
487
487
|
}
|
|
488
|
-
function
|
|
489
|
-
return
|
|
488
|
+
function pe() {
|
|
489
|
+
return O() && !k() && !ce();
|
|
490
490
|
}
|
|
491
|
-
function
|
|
491
|
+
function me(e) {
|
|
492
492
|
var t = function() {};
|
|
493
493
|
return [new Promise(function(n, r) {
|
|
494
494
|
var i = !1, a = 0, o = 0;
|
|
@@ -497,7 +497,7 @@ function pe(e) {
|
|
|
497
497
|
};
|
|
498
498
|
var c = function() {
|
|
499
499
|
setTimeout(function() {
|
|
500
|
-
return r(
|
|
500
|
+
return r(j("timeout"));
|
|
501
501
|
}, Math.min(500, o + 5e3 - Date.now()));
|
|
502
502
|
}, l = function() {
|
|
503
503
|
try {
|
|
@@ -506,7 +506,7 @@ function pe(e) {
|
|
|
506
506
|
case "running":
|
|
507
507
|
o = Date.now(), i && c();
|
|
508
508
|
break;
|
|
509
|
-
case "suspended": document.hidden || a++, i && a >= 3 ? r(
|
|
509
|
+
case "suspended": document.hidden || a++, i && a >= 3 ? r(j("suspended")) : setTimeout(l, 500);
|
|
510
510
|
}
|
|
511
511
|
} catch (e) {
|
|
512
512
|
r(e);
|
|
@@ -517,15 +517,15 @@ function pe(e) {
|
|
|
517
517
|
};
|
|
518
518
|
}), t];
|
|
519
519
|
}
|
|
520
|
-
function
|
|
520
|
+
function he(e) {
|
|
521
521
|
for (var t = 0, n = 0; n < e.length; ++n) t += Math.abs(e[n]);
|
|
522
522
|
return t;
|
|
523
523
|
}
|
|
524
|
-
function
|
|
524
|
+
function j(e) {
|
|
525
525
|
var t = Error(e);
|
|
526
526
|
return t.name = e, t;
|
|
527
527
|
}
|
|
528
|
-
function
|
|
528
|
+
function M(e, r, i) {
|
|
529
529
|
var o;
|
|
530
530
|
return i === void 0 && (i = 50), t(this, void 0, void 0, function() {
|
|
531
531
|
var t, s;
|
|
@@ -565,14 +565,14 @@ function N(e, r, i) {
|
|
|
565
565
|
});
|
|
566
566
|
});
|
|
567
567
|
}
|
|
568
|
-
function
|
|
568
|
+
function ge(e) {
|
|
569
569
|
for (var t = w(e), n = t[0], r = t[1], i = document.createElement(n ?? "div"), a = 0, o = Object.keys(r); a < o.length; a++) {
|
|
570
570
|
var s = o[a], c = r[s].join(" ");
|
|
571
|
-
s === "style" ?
|
|
571
|
+
s === "style" ? _e(i.style, c) : i.setAttribute(s, c);
|
|
572
572
|
}
|
|
573
573
|
return i;
|
|
574
574
|
}
|
|
575
|
-
function
|
|
575
|
+
function _e(e, t) {
|
|
576
576
|
for (var n = 0, r = t.split(";"); n < r.length; n++) {
|
|
577
577
|
var i = r[n], a = /^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(i);
|
|
578
578
|
if (a) {
|
|
@@ -581,45 +581,45 @@ function ge(e, t) {
|
|
|
581
581
|
}
|
|
582
582
|
}
|
|
583
583
|
}
|
|
584
|
-
var
|
|
584
|
+
var ve = "mmMwWLliI0O&1", ye = "48px", N = [
|
|
585
585
|
"monospace",
|
|
586
586
|
"sans-serif",
|
|
587
587
|
"serif"
|
|
588
|
-
],
|
|
589
|
-
function
|
|
590
|
-
return
|
|
588
|
+
], P = /* @__PURE__ */ "sans-serif-thin.ARNO PRO.Agency FB.Arabic Typesetting.Arial Unicode MS.AvantGarde Bk BT.BankGothic Md BT.Batang.Bitstream Vera Sans Mono.Calibri.Century.Century Gothic.Clarendon.EUROSTILE.Franklin Gothic.Futura Bk BT.Futura Md BT.GOTHAM.Gill Sans.HELV.Haettenschweiler.Helvetica Neue.Humanst521 BT.Leelawadee.Letter Gothic.Levenim MT.Lucida Bright.Lucida Sans.Menlo.MS Mincho.MS Outlook.MS Reference Specialty.MS UI Gothic.MT Extra.MYRIAD PRO.Marlett.Meiryo UI.Microsoft Uighur.Minion Pro.Monotype Corsiva.PMingLiU.Pristina.SCRIPTINA.Segoe UI Light.Serifa.SimHei.Small Fonts.Staccato222 BT.TRAJAN PRO.Univers CE 55 Medium.Vrinda.ZWAdobeF".split(".");
|
|
589
|
+
function be() {
|
|
590
|
+
return M(function(e, t) {
|
|
591
591
|
var n = t.document, r = n.body;
|
|
592
|
-
r.style.fontSize =
|
|
592
|
+
r.style.fontSize = ye;
|
|
593
593
|
var i = n.createElement("div"), a = {}, o = {}, s = function(e) {
|
|
594
594
|
var t = n.createElement("span"), r = t.style;
|
|
595
|
-
return r.position = "absolute", r.top = "0", r.left = "0", r.fontFamily = e, t.textContent =
|
|
595
|
+
return r.position = "absolute", r.top = "0", r.left = "0", r.fontFamily = e, t.textContent = ve, i.appendChild(t), t;
|
|
596
596
|
}, c = function(e, t) {
|
|
597
597
|
return s(`'${e}',${t}`);
|
|
598
598
|
}, l = function() {
|
|
599
|
-
return
|
|
599
|
+
return N.map(s);
|
|
600
600
|
}, u = function() {
|
|
601
601
|
for (var e = {}, t = function(t) {
|
|
602
|
-
e[t] =
|
|
602
|
+
e[t] = N.map(function(e) {
|
|
603
603
|
return c(t, e);
|
|
604
604
|
});
|
|
605
|
-
}, n = 0, r =
|
|
605
|
+
}, n = 0, r = P; n < r.length; n++) {
|
|
606
606
|
var i = r[n];
|
|
607
607
|
t(i);
|
|
608
608
|
}
|
|
609
609
|
return e;
|
|
610
610
|
}, d = function(e) {
|
|
611
|
-
return
|
|
611
|
+
return N.some(function(t, n) {
|
|
612
612
|
return e[n].offsetWidth !== a[t] || e[n].offsetHeight !== o[t];
|
|
613
613
|
});
|
|
614
614
|
}, f = l(), p = u();
|
|
615
615
|
r.appendChild(i);
|
|
616
|
-
for (var m = 0; m <
|
|
617
|
-
return
|
|
616
|
+
for (var m = 0; m < N.length; m++) a[N[m]] = f[m].offsetWidth, o[N[m]] = f[m].offsetHeight;
|
|
617
|
+
return P.filter(function(e) {
|
|
618
618
|
return d(p[e]);
|
|
619
619
|
});
|
|
620
620
|
});
|
|
621
621
|
}
|
|
622
|
-
function
|
|
622
|
+
function xe() {
|
|
623
623
|
var e = navigator.plugins;
|
|
624
624
|
if (e) {
|
|
625
625
|
for (var t = [], n = 0; n < e.length; ++n) {
|
|
@@ -642,13 +642,13 @@ function be() {
|
|
|
642
642
|
return t;
|
|
643
643
|
}
|
|
644
644
|
}
|
|
645
|
-
function
|
|
646
|
-
var e = !1, t, n, r =
|
|
647
|
-
if (!
|
|
645
|
+
function Se() {
|
|
646
|
+
var e = !1, t, n, r = Ce(), i = r[0], a = r[1];
|
|
647
|
+
if (!we(i, a)) t = n = "";
|
|
648
648
|
else {
|
|
649
|
-
e =
|
|
650
|
-
var o =
|
|
651
|
-
o ===
|
|
649
|
+
e = Te(a), Ee(i, a);
|
|
650
|
+
var o = F(i);
|
|
651
|
+
o === F(i) ? (n = o, De(i, a), t = F(i)) : t = n = "unstable";
|
|
652
652
|
}
|
|
653
653
|
return {
|
|
654
654
|
winding: e,
|
|
@@ -656,22 +656,22 @@ function xe() {
|
|
|
656
656
|
text: n
|
|
657
657
|
};
|
|
658
658
|
}
|
|
659
|
-
function
|
|
659
|
+
function Ce() {
|
|
660
660
|
var e = document.createElement("canvas");
|
|
661
661
|
return e.width = 1, e.height = 1, [e, e.getContext("2d")];
|
|
662
662
|
}
|
|
663
|
-
function
|
|
663
|
+
function we(e, t) {
|
|
664
664
|
return !!(t && e.toDataURL);
|
|
665
665
|
}
|
|
666
|
-
function
|
|
666
|
+
function Te(e) {
|
|
667
667
|
return e.rect(0, 0, 10, 10), e.rect(2, 2, 6, 6), !e.isPointInPath(5, 5, "evenodd");
|
|
668
668
|
}
|
|
669
|
-
function
|
|
669
|
+
function Ee(e, t) {
|
|
670
670
|
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\"";
|
|
671
671
|
var n = `Cwm fjordbank gly ${String.fromCharCode(55357, 56835)}`;
|
|
672
672
|
t.fillText(n, 2, 15), t.fillStyle = "rgba(102, 204, 0, 0.2)", t.font = "18pt Arial", t.fillText(n, 4, 45);
|
|
673
673
|
}
|
|
674
|
-
function
|
|
674
|
+
function De(e, t) {
|
|
675
675
|
e.width = 122, e.height = 110, t.globalCompositeOperation = "multiply";
|
|
676
676
|
for (var n = 0, r = [
|
|
677
677
|
[
|
|
@@ -695,10 +695,10 @@ function Ee(e, t) {
|
|
|
695
695
|
}
|
|
696
696
|
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");
|
|
697
697
|
}
|
|
698
|
-
function
|
|
698
|
+
function F(e) {
|
|
699
699
|
return e.toDataURL();
|
|
700
700
|
}
|
|
701
|
-
function
|
|
701
|
+
function Oe() {
|
|
702
702
|
var e = navigator, t = 0, n;
|
|
703
703
|
e.maxTouchPoints === void 0 ? e.msMaxTouchPoints !== void 0 && (t = e.msMaxTouchPoints) : t = y(e.maxTouchPoints);
|
|
704
704
|
try {
|
|
@@ -713,57 +713,57 @@ function De() {
|
|
|
713
713
|
touchStart: r
|
|
714
714
|
};
|
|
715
715
|
}
|
|
716
|
-
function
|
|
716
|
+
function ke() {
|
|
717
717
|
return navigator.oscpu;
|
|
718
718
|
}
|
|
719
|
-
function
|
|
719
|
+
function Ae() {
|
|
720
720
|
var e = navigator, t = [], n = e.language || e.userLanguage || e.browserLanguage || e.systemLanguage;
|
|
721
|
-
if (n !== void 0 && t.push([n]), Array.isArray(e.languages))
|
|
721
|
+
if (n !== void 0 && t.push([n]), Array.isArray(e.languages)) D() && se() || t.push(e.languages);
|
|
722
722
|
else if (typeof e.languages == "string") {
|
|
723
723
|
var r = e.languages;
|
|
724
724
|
r && t.push(r.split(","));
|
|
725
725
|
}
|
|
726
726
|
return t;
|
|
727
727
|
}
|
|
728
|
-
function
|
|
728
|
+
function je() {
|
|
729
729
|
return window.screen.colorDepth;
|
|
730
730
|
}
|
|
731
|
-
function
|
|
731
|
+
function Me() {
|
|
732
732
|
return x(b(navigator.deviceMemory), void 0);
|
|
733
733
|
}
|
|
734
|
-
function
|
|
734
|
+
function Ne() {
|
|
735
735
|
var e = screen, t = function(e) {
|
|
736
736
|
return x(y(e), null);
|
|
737
737
|
}, n = [t(e.width), t(e.height)];
|
|
738
738
|
return n.sort().reverse(), n;
|
|
739
739
|
}
|
|
740
|
-
var
|
|
741
|
-
function
|
|
742
|
-
if (
|
|
740
|
+
var Pe = 2500, Fe = 10, I, L;
|
|
741
|
+
function Ie() {
|
|
742
|
+
if (L === void 0) {
|
|
743
743
|
var e = function() {
|
|
744
|
-
var t =
|
|
745
|
-
|
|
744
|
+
var t = R();
|
|
745
|
+
z(t) ? L = setTimeout(e, Pe) : (I = t, L = void 0);
|
|
746
746
|
};
|
|
747
747
|
e();
|
|
748
748
|
}
|
|
749
749
|
}
|
|
750
|
-
function
|
|
750
|
+
function Le() {
|
|
751
751
|
var e = this;
|
|
752
|
-
return
|
|
752
|
+
return Ie(), function() {
|
|
753
753
|
return t(e, void 0, void 0, function() {
|
|
754
754
|
var e;
|
|
755
755
|
return n(this, function(t) {
|
|
756
756
|
switch (t.label) {
|
|
757
|
-
case 0: return e =
|
|
758
|
-
case 1: t.sent(), e =
|
|
759
|
-
case 2: return
|
|
757
|
+
case 0: return e = R(), z(e) ? I ? [2, r([], I, !0)] : ue() ? [4, de()] : [3, 2] : [3, 2];
|
|
758
|
+
case 1: t.sent(), e = R(), t.label = 2;
|
|
759
|
+
case 2: return z(e) || (I = e), [2, e];
|
|
760
760
|
}
|
|
761
761
|
});
|
|
762
762
|
});
|
|
763
763
|
};
|
|
764
764
|
}
|
|
765
|
-
function
|
|
766
|
-
var e = this, r =
|
|
765
|
+
function Re() {
|
|
766
|
+
var e = this, r = Le();
|
|
767
767
|
return function() {
|
|
768
768
|
return t(e, void 0, void 0, function() {
|
|
769
769
|
var e, t;
|
|
@@ -771,7 +771,7 @@ function Le() {
|
|
|
771
771
|
switch (n.label) {
|
|
772
772
|
case 0: return [4, r()];
|
|
773
773
|
case 1: return e = n.sent(), t = function(e) {
|
|
774
|
-
return e === null ? null : C(e,
|
|
774
|
+
return e === null ? null : C(e, Fe);
|
|
775
775
|
}, [2, [
|
|
776
776
|
t(e[0]),
|
|
777
777
|
t(e[1]),
|
|
@@ -783,7 +783,7 @@ function Le() {
|
|
|
783
783
|
});
|
|
784
784
|
};
|
|
785
785
|
}
|
|
786
|
-
function
|
|
786
|
+
function R() {
|
|
787
787
|
var e = screen;
|
|
788
788
|
return [
|
|
789
789
|
x(b(e.availTop), null),
|
|
@@ -792,61 +792,61 @@ function z() {
|
|
|
792
792
|
x(b(e.availLeft), null)
|
|
793
793
|
];
|
|
794
794
|
}
|
|
795
|
-
function
|
|
795
|
+
function z(e) {
|
|
796
796
|
for (var t = 0; t < 4; ++t) if (e[t]) return !1;
|
|
797
797
|
return !0;
|
|
798
798
|
}
|
|
799
|
-
function
|
|
799
|
+
function ze() {
|
|
800
800
|
return x(y(navigator.hardwareConcurrency), void 0);
|
|
801
801
|
}
|
|
802
|
-
function
|
|
802
|
+
function Be() {
|
|
803
803
|
var e = window.Intl?.DateTimeFormat;
|
|
804
804
|
if (e) {
|
|
805
805
|
var t = new e().resolvedOptions().timeZone;
|
|
806
806
|
if (t) return t;
|
|
807
807
|
}
|
|
808
|
-
var n = -
|
|
808
|
+
var n = -Ve();
|
|
809
809
|
return `UTC${n >= 0 ? "+" : ""}${Math.abs(n)}`;
|
|
810
810
|
}
|
|
811
|
-
function
|
|
811
|
+
function Ve() {
|
|
812
812
|
var e = (/* @__PURE__ */ new Date()).getFullYear();
|
|
813
813
|
return Math.max(b(new Date(e, 0, 1).getTimezoneOffset()), b(new Date(e, 6, 1).getTimezoneOffset()));
|
|
814
814
|
}
|
|
815
|
-
function
|
|
815
|
+
function He() {
|
|
816
816
|
try {
|
|
817
817
|
return !!window.sessionStorage;
|
|
818
818
|
} catch {
|
|
819
819
|
return !0;
|
|
820
820
|
}
|
|
821
821
|
}
|
|
822
|
-
function
|
|
822
|
+
function Ue() {
|
|
823
823
|
try {
|
|
824
824
|
return !!window.localStorage;
|
|
825
825
|
} catch {
|
|
826
826
|
return !0;
|
|
827
827
|
}
|
|
828
828
|
}
|
|
829
|
-
function
|
|
830
|
-
if (!(E() ||
|
|
829
|
+
function We() {
|
|
830
|
+
if (!(E() || ae())) try {
|
|
831
831
|
return !!window.indexedDB;
|
|
832
832
|
} catch {
|
|
833
833
|
return !0;
|
|
834
834
|
}
|
|
835
835
|
}
|
|
836
|
-
function
|
|
836
|
+
function Ge() {
|
|
837
837
|
return !!window.openDatabase;
|
|
838
838
|
}
|
|
839
|
-
function
|
|
839
|
+
function Ke() {
|
|
840
840
|
return navigator.cpuClass;
|
|
841
841
|
}
|
|
842
|
-
function
|
|
842
|
+
function qe() {
|
|
843
843
|
var e = navigator.platform;
|
|
844
|
-
return e === "MacIntel" &&
|
|
844
|
+
return e === "MacIntel" && O() && !k() ? le() ? "iPad" : "iPhone" : e;
|
|
845
845
|
}
|
|
846
|
-
function
|
|
846
|
+
function Je() {
|
|
847
847
|
return navigator.vendor || "";
|
|
848
848
|
}
|
|
849
|
-
function
|
|
849
|
+
function Ye() {
|
|
850
850
|
for (var e = [], t = 0, n = [
|
|
851
851
|
"chrome",
|
|
852
852
|
"safari",
|
|
@@ -869,7 +869,7 @@ function Je() {
|
|
|
869
869
|
}
|
|
870
870
|
return e.sort();
|
|
871
871
|
}
|
|
872
|
-
function
|
|
872
|
+
function Xe() {
|
|
873
873
|
var e = document;
|
|
874
874
|
try {
|
|
875
875
|
e.cookie = "cookietest=1; SameSite=Strict;";
|
|
@@ -879,7 +879,7 @@ function Ye() {
|
|
|
879
879
|
return !1;
|
|
880
880
|
}
|
|
881
881
|
}
|
|
882
|
-
function
|
|
882
|
+
function Ze() {
|
|
883
883
|
var e = atob;
|
|
884
884
|
return {
|
|
885
885
|
abpIndo: [
|
|
@@ -1168,16 +1168,16 @@ function Xe() {
|
|
|
1168
1168
|
]
|
|
1169
1169
|
};
|
|
1170
1170
|
}
|
|
1171
|
-
function
|
|
1171
|
+
function Qe(e) {
|
|
1172
1172
|
var r = (e === void 0 ? {} : e).debug;
|
|
1173
1173
|
return t(this, void 0, void 0, function() {
|
|
1174
1174
|
var e, t, i, a, o, s;
|
|
1175
1175
|
return n(this, function(n) {
|
|
1176
1176
|
switch (n.label) {
|
|
1177
|
-
case 0: return
|
|
1177
|
+
case 0: return $e() ? (e = Ze(), t = Object.keys(e), i = (s = []).concat.apply(s, t.map(function(t) {
|
|
1178
1178
|
return e[t];
|
|
1179
|
-
})), [4,
|
|
1180
|
-
case 1: return a = n.sent(), r &&
|
|
1179
|
+
})), [4, et(i)]) : [2, void 0];
|
|
1180
|
+
case 1: return a = n.sent(), r && tt(e, a), o = t.filter(function(t) {
|
|
1181
1181
|
var n = e[t];
|
|
1182
1182
|
return S(n.map(function(e) {
|
|
1183
1183
|
return a[e];
|
|
@@ -1187,17 +1187,17 @@ function Ze(e) {
|
|
|
1187
1187
|
});
|
|
1188
1188
|
});
|
|
1189
1189
|
}
|
|
1190
|
-
function
|
|
1191
|
-
return
|
|
1190
|
+
function $e() {
|
|
1191
|
+
return O() || A();
|
|
1192
1192
|
}
|
|
1193
|
-
function
|
|
1193
|
+
function et(e) {
|
|
1194
1194
|
var r;
|
|
1195
1195
|
return t(this, void 0, void 0, function() {
|
|
1196
1196
|
var t, i, o, s, c, l, u, c;
|
|
1197
1197
|
return n(this, function(n) {
|
|
1198
1198
|
switch (n.label) {
|
|
1199
1199
|
case 0:
|
|
1200
|
-
for (t = document, i = t.createElement("div"), o = Array(e.length), s = {},
|
|
1200
|
+
for (t = document, i = t.createElement("div"), o = Array(e.length), s = {}, B(i), c = 0; c < e.length; ++c) l = ge(e[c]), l.tagName === "DIALOG" && l.show(), u = t.createElement("div"), B(u), u.appendChild(l), i.appendChild(u), o[c] = l;
|
|
1201
1201
|
n.label = 1;
|
|
1202
1202
|
case 1: return t.body ? [3, 3] : [4, a(50)];
|
|
1203
1203
|
case 2: return n.sent(), [3, 1];
|
|
@@ -1213,10 +1213,10 @@ function $e(e) {
|
|
|
1213
1213
|
});
|
|
1214
1214
|
});
|
|
1215
1215
|
}
|
|
1216
|
-
function
|
|
1216
|
+
function B(e) {
|
|
1217
1217
|
e.style.setProperty("display", "block", "important");
|
|
1218
1218
|
}
|
|
1219
|
-
function
|
|
1219
|
+
function tt(e, t) {
|
|
1220
1220
|
for (var n = "DOM blockers debug:\n```", r = 0, i = Object.keys(e); r < i.length; r++) {
|
|
1221
1221
|
var a = i[r];
|
|
1222
1222
|
n += `
|
|
@@ -1230,7 +1230,7 @@ ${a}:`;
|
|
|
1230
1230
|
console.log(`${n}
|
|
1231
1231
|
\`\`\``);
|
|
1232
1232
|
}
|
|
1233
|
-
function
|
|
1233
|
+
function nt() {
|
|
1234
1234
|
for (var e = 0, t = [
|
|
1235
1235
|
"rec2020",
|
|
1236
1236
|
"p3",
|
|
@@ -1240,101 +1240,101 @@ function tt() {
|
|
|
1240
1240
|
if (matchMedia(`(color-gamut: ${n})`).matches) return n;
|
|
1241
1241
|
}
|
|
1242
1242
|
}
|
|
1243
|
-
function
|
|
1244
|
-
if (
|
|
1245
|
-
if (
|
|
1243
|
+
function rt() {
|
|
1244
|
+
if (V("inverted")) return !0;
|
|
1245
|
+
if (V("none")) return !1;
|
|
1246
1246
|
}
|
|
1247
|
-
function
|
|
1247
|
+
function V(e) {
|
|
1248
1248
|
return matchMedia(`(inverted-colors: ${e})`).matches;
|
|
1249
1249
|
}
|
|
1250
|
-
function
|
|
1251
|
-
if (
|
|
1252
|
-
if (
|
|
1250
|
+
function it() {
|
|
1251
|
+
if (H("active")) return !0;
|
|
1252
|
+
if (H("none")) return !1;
|
|
1253
1253
|
}
|
|
1254
|
-
function
|
|
1254
|
+
function H(e) {
|
|
1255
1255
|
return matchMedia(`(forced-colors: ${e})`).matches;
|
|
1256
1256
|
}
|
|
1257
|
-
var
|
|
1258
|
-
function
|
|
1257
|
+
var at = 100;
|
|
1258
|
+
function ot() {
|
|
1259
1259
|
if (matchMedia("(min-monochrome: 0)").matches) {
|
|
1260
|
-
for (var e = 0; e <=
|
|
1260
|
+
for (var e = 0; e <= at; ++e) if (matchMedia(`(max-monochrome: ${e})`).matches) return e;
|
|
1261
1261
|
throw Error("Too high value");
|
|
1262
1262
|
}
|
|
1263
1263
|
}
|
|
1264
|
-
function
|
|
1265
|
-
if (
|
|
1266
|
-
if (
|
|
1267
|
-
if (
|
|
1268
|
-
if (
|
|
1264
|
+
function st() {
|
|
1265
|
+
if (U("no-preference")) return 0;
|
|
1266
|
+
if (U("high") || U("more")) return 1;
|
|
1267
|
+
if (U("low") || U("less")) return -1;
|
|
1268
|
+
if (U("forced")) return 10;
|
|
1269
1269
|
}
|
|
1270
|
-
function
|
|
1270
|
+
function U(e) {
|
|
1271
1271
|
return matchMedia(`(prefers-contrast: ${e})`).matches;
|
|
1272
1272
|
}
|
|
1273
|
-
function
|
|
1274
|
-
if (
|
|
1275
|
-
if (
|
|
1273
|
+
function ct() {
|
|
1274
|
+
if (W("reduce")) return !0;
|
|
1275
|
+
if (W("no-preference")) return !1;
|
|
1276
1276
|
}
|
|
1277
|
-
function
|
|
1277
|
+
function W(e) {
|
|
1278
1278
|
return matchMedia(`(prefers-reduced-motion: ${e})`).matches;
|
|
1279
1279
|
}
|
|
1280
|
-
function
|
|
1281
|
-
if (
|
|
1282
|
-
if (
|
|
1280
|
+
function lt() {
|
|
1281
|
+
if (G("high")) return !0;
|
|
1282
|
+
if (G("standard")) return !1;
|
|
1283
1283
|
}
|
|
1284
|
-
function
|
|
1284
|
+
function G(e) {
|
|
1285
1285
|
return matchMedia(`(dynamic-range: ${e})`).matches;
|
|
1286
1286
|
}
|
|
1287
|
-
var
|
|
1287
|
+
var K = Math, q = function() {
|
|
1288
1288
|
return 0;
|
|
1289
1289
|
};
|
|
1290
|
-
function
|
|
1291
|
-
var e =
|
|
1290
|
+
function ut() {
|
|
1291
|
+
var e = K.acos || q, t = K.acosh || q, n = K.asin || q, r = K.asinh || q, i = K.atanh || q, a = K.atan || q, o = K.sin || q, s = K.sinh || q, c = K.cos || q, l = K.cosh || q, u = K.tan || q, d = K.tanh || q, f = K.exp || q, p = K.expm1 || q, m = K.log1p || q;
|
|
1292
1292
|
return {
|
|
1293
1293
|
acos: e(.12312423423423424),
|
|
1294
1294
|
acosh: t(1e308),
|
|
1295
1295
|
acoshPf: function(e) {
|
|
1296
|
-
return
|
|
1296
|
+
return K.log(e + K.sqrt(e * e - 1));
|
|
1297
1297
|
}(1e154),
|
|
1298
1298
|
asin: n(.12312423423423424),
|
|
1299
1299
|
asinh: r(1),
|
|
1300
1300
|
asinhPf: function(e) {
|
|
1301
|
-
return
|
|
1301
|
+
return K.log(e + K.sqrt(2));
|
|
1302
1302
|
}(1),
|
|
1303
1303
|
atanh: i(.5),
|
|
1304
1304
|
atanhPf: function(e) {
|
|
1305
|
-
return
|
|
1305
|
+
return K.log(3) / 2;
|
|
1306
1306
|
}(.5),
|
|
1307
1307
|
atan: a(.5),
|
|
1308
1308
|
sin: o(-1e300),
|
|
1309
1309
|
sinh: s(1),
|
|
1310
1310
|
sinhPf: function(e) {
|
|
1311
|
-
return
|
|
1311
|
+
return K.exp(e) - 1 / K.exp(e) / 2;
|
|
1312
1312
|
}(1),
|
|
1313
1313
|
cos: c(10.000000000123),
|
|
1314
1314
|
cosh: l(1),
|
|
1315
1315
|
coshPf: function(e) {
|
|
1316
|
-
return (
|
|
1316
|
+
return (K.exp(e) + 1 / K.exp(e)) / 2;
|
|
1317
1317
|
}(1),
|
|
1318
1318
|
tan: u(-1e300),
|
|
1319
1319
|
tanh: d(1),
|
|
1320
1320
|
tanhPf: function(e) {
|
|
1321
|
-
return (
|
|
1321
|
+
return (K.exp(2) - 1) / (K.exp(2) + 1);
|
|
1322
1322
|
}(1),
|
|
1323
1323
|
exp: f(1),
|
|
1324
1324
|
expm1: p(1),
|
|
1325
1325
|
expm1Pf: function(e) {
|
|
1326
|
-
return
|
|
1326
|
+
return K.exp(e) - 1;
|
|
1327
1327
|
}(1),
|
|
1328
1328
|
log1p: m(10),
|
|
1329
1329
|
log1pPf: function(e) {
|
|
1330
|
-
return
|
|
1330
|
+
return K.log(11);
|
|
1331
1331
|
}(10),
|
|
1332
1332
|
powPI: function(e) {
|
|
1333
|
-
return
|
|
1333
|
+
return K.pow(K.PI, e);
|
|
1334
1334
|
}(-100)
|
|
1335
1335
|
};
|
|
1336
1336
|
}
|
|
1337
|
-
var
|
|
1337
|
+
var dt = "mmMwWLliI0fiflO&1", J = {
|
|
1338
1338
|
default: [],
|
|
1339
1339
|
apple: [{ font: "-apple-system-body" }],
|
|
1340
1340
|
serif: [{ fontFamily: "serif" }],
|
|
@@ -1343,10 +1343,10 @@ var ut = "mmMwWLliI0fiflO&1", Y = {
|
|
|
1343
1343
|
min: [{ fontSize: "1px" }],
|
|
1344
1344
|
system: [{ fontFamily: "system-ui" }]
|
|
1345
1345
|
};
|
|
1346
|
-
function
|
|
1347
|
-
return
|
|
1348
|
-
for (var n = {}, r = {}, i = 0, a = Object.keys(
|
|
1349
|
-
var o = a[i], s =
|
|
1346
|
+
function ft() {
|
|
1347
|
+
return pt(function(e, t) {
|
|
1348
|
+
for (var n = {}, r = {}, i = 0, a = Object.keys(J); i < a.length; i++) {
|
|
1349
|
+
var o = a[i], s = J[o], c = s[0], l = c === void 0 ? {} : c, u = s[1], d = u === void 0 ? dt : u, f = e.createElement("span");
|
|
1350
1350
|
f.textContent = d, f.style.whiteSpace = "nowrap";
|
|
1351
1351
|
for (var p = 0, m = Object.keys(l); p < m.length; p++) {
|
|
1352
1352
|
var h = m[p], g = l[h];
|
|
@@ -1354,24 +1354,24 @@ function dt() {
|
|
|
1354
1354
|
}
|
|
1355
1355
|
n[o] = f, t.appendChild(e.createElement("br")), t.appendChild(f);
|
|
1356
1356
|
}
|
|
1357
|
-
for (var _ = 0, v = Object.keys(
|
|
1357
|
+
for (var _ = 0, v = Object.keys(J); _ < v.length; _++) {
|
|
1358
1358
|
var o = v[_];
|
|
1359
1359
|
r[o] = n[o].getBoundingClientRect().width;
|
|
1360
1360
|
}
|
|
1361
1361
|
return r;
|
|
1362
1362
|
});
|
|
1363
1363
|
}
|
|
1364
|
-
function
|
|
1365
|
-
return t === void 0 && (t = 4e3),
|
|
1364
|
+
function pt(e, t) {
|
|
1365
|
+
return t === void 0 && (t = 4e3), M(function(n, i) {
|
|
1366
1366
|
var a = i.document, o = a.body, s = o.style;
|
|
1367
|
-
s.width = `${t}px`, s.webkitTextSizeAdjust = s.textSizeAdjust = "none",
|
|
1367
|
+
s.width = `${t}px`, s.webkitTextSizeAdjust = s.textSizeAdjust = "none", D() ? o.style.zoom = `${1 / i.devicePixelRatio}` : O() && (o.style.zoom = "reset");
|
|
1368
1368
|
var c = a.createElement("div");
|
|
1369
1369
|
return c.textContent = r([], Array(t / 20 | 0), !0).map(function() {
|
|
1370
1370
|
return "word";
|
|
1371
1371
|
}).join(" "), o.appendChild(c), e(a, o);
|
|
1372
1372
|
}, "<!doctype html><html><head><meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">");
|
|
1373
1373
|
}
|
|
1374
|
-
function
|
|
1374
|
+
function mt() {
|
|
1375
1375
|
var e = document.createElement("canvas"), t = e.getContext("webgl") ?? e.getContext("experimental-webgl");
|
|
1376
1376
|
if (t && "getExtension" in t) {
|
|
1377
1377
|
var n = t.getExtension("WEBGL_debug_renderer_info");
|
|
@@ -1381,103 +1381,103 @@ function pt() {
|
|
|
1381
1381
|
};
|
|
1382
1382
|
}
|
|
1383
1383
|
}
|
|
1384
|
-
function
|
|
1384
|
+
function ht() {
|
|
1385
1385
|
return navigator.pdfViewerEnabled;
|
|
1386
1386
|
}
|
|
1387
|
-
function
|
|
1387
|
+
function gt() {
|
|
1388
1388
|
var e = /* @__PURE__ */ new Float32Array(1), t = new Uint8Array(e.buffer);
|
|
1389
1389
|
return e[0] = Infinity, e[0] -= e[0], t[3];
|
|
1390
1390
|
}
|
|
1391
|
-
var
|
|
1392
|
-
fonts:
|
|
1393
|
-
domBlockers:
|
|
1394
|
-
fontPreferences:
|
|
1395
|
-
audio:
|
|
1396
|
-
screenFrame:
|
|
1397
|
-
osCpu:
|
|
1398
|
-
languages:
|
|
1399
|
-
colorDepth:
|
|
1400
|
-
deviceMemory:
|
|
1401
|
-
screenResolution:
|
|
1402
|
-
hardwareConcurrency:
|
|
1403
|
-
timezone:
|
|
1404
|
-
sessionStorage:
|
|
1405
|
-
localStorage:
|
|
1406
|
-
indexedDB:
|
|
1407
|
-
openDatabase:
|
|
1408
|
-
cpuClass:
|
|
1409
|
-
platform:
|
|
1410
|
-
plugins:
|
|
1411
|
-
canvas:
|
|
1412
|
-
touchSupport:
|
|
1413
|
-
vendor:
|
|
1414
|
-
vendorFlavors:
|
|
1415
|
-
cookiesEnabled:
|
|
1416
|
-
colorGamut:
|
|
1417
|
-
invertedColors:
|
|
1418
|
-
forcedColors:
|
|
1419
|
-
monochrome:
|
|
1420
|
-
contrast:
|
|
1421
|
-
reducedMotion:
|
|
1422
|
-
hdr:
|
|
1423
|
-
math:
|
|
1424
|
-
videoCard:
|
|
1425
|
-
pdfViewerEnabled:
|
|
1426
|
-
architecture:
|
|
1391
|
+
var _t = {
|
|
1392
|
+
fonts: be,
|
|
1393
|
+
domBlockers: Qe,
|
|
1394
|
+
fontPreferences: ft,
|
|
1395
|
+
audio: fe,
|
|
1396
|
+
screenFrame: Re,
|
|
1397
|
+
osCpu: ke,
|
|
1398
|
+
languages: Ae,
|
|
1399
|
+
colorDepth: je,
|
|
1400
|
+
deviceMemory: Me,
|
|
1401
|
+
screenResolution: Ne,
|
|
1402
|
+
hardwareConcurrency: ze,
|
|
1403
|
+
timezone: Be,
|
|
1404
|
+
sessionStorage: He,
|
|
1405
|
+
localStorage: Ue,
|
|
1406
|
+
indexedDB: We,
|
|
1407
|
+
openDatabase: Ge,
|
|
1408
|
+
cpuClass: Ke,
|
|
1409
|
+
platform: qe,
|
|
1410
|
+
plugins: xe,
|
|
1411
|
+
canvas: Se,
|
|
1412
|
+
touchSupport: Oe,
|
|
1413
|
+
vendor: Je,
|
|
1414
|
+
vendorFlavors: Ye,
|
|
1415
|
+
cookiesEnabled: Xe,
|
|
1416
|
+
colorGamut: nt,
|
|
1417
|
+
invertedColors: rt,
|
|
1418
|
+
forcedColors: it,
|
|
1419
|
+
monochrome: ot,
|
|
1420
|
+
contrast: st,
|
|
1421
|
+
reducedMotion: ct,
|
|
1422
|
+
hdr: lt,
|
|
1423
|
+
math: ut,
|
|
1424
|
+
videoCard: mt,
|
|
1425
|
+
pdfViewerEnabled: ht,
|
|
1426
|
+
architecture: gt
|
|
1427
1427
|
};
|
|
1428
|
-
function
|
|
1429
|
-
return ie(
|
|
1428
|
+
function vt(e) {
|
|
1429
|
+
return ie(_t, e, []);
|
|
1430
1430
|
}
|
|
1431
|
-
var
|
|
1432
|
-
function
|
|
1433
|
-
var t =
|
|
1431
|
+
var yt = "$ if upgrade to Pro: https://fpjs.dev/pro";
|
|
1432
|
+
function bt(e) {
|
|
1433
|
+
var t = xt(e), n = St(t);
|
|
1434
1434
|
return {
|
|
1435
1435
|
score: t,
|
|
1436
|
-
comment:
|
|
1436
|
+
comment: yt.replace(/\$/g, `${n}`)
|
|
1437
1437
|
};
|
|
1438
1438
|
}
|
|
1439
|
-
function
|
|
1440
|
-
if (
|
|
1441
|
-
if (
|
|
1439
|
+
function xt(e) {
|
|
1440
|
+
if (A()) return .4;
|
|
1441
|
+
if (O()) return k() ? .5 : .3;
|
|
1442
1442
|
var t = e.platform.value || "";
|
|
1443
1443
|
return /^Win/.test(t) ? .6 : /^Mac/.test(t) ? .5 : .7;
|
|
1444
1444
|
}
|
|
1445
|
-
function
|
|
1445
|
+
function St(e) {
|
|
1446
1446
|
return C(.99 + .01 * e, 1e-4);
|
|
1447
1447
|
}
|
|
1448
|
-
function
|
|
1448
|
+
function Ct(e) {
|
|
1449
1449
|
for (var t = "", n = 0, r = Object.keys(e).sort(); n < r.length; n++) {
|
|
1450
1450
|
var i = r[n], a = e[i], o = a.error ? "error" : JSON.stringify(a.value);
|
|
1451
1451
|
t += `${t ? "|" : ""}${i.replace(/([:|\\])/g, "\\$1")}:${o}`;
|
|
1452
1452
|
}
|
|
1453
1453
|
return t;
|
|
1454
1454
|
}
|
|
1455
|
-
function
|
|
1455
|
+
function Y(e) {
|
|
1456
1456
|
return JSON.stringify(e, function(e, t) {
|
|
1457
1457
|
return t instanceof Error ? v(t) : t;
|
|
1458
1458
|
}, 2);
|
|
1459
1459
|
}
|
|
1460
|
-
function
|
|
1461
|
-
return _(
|
|
1460
|
+
function X(e) {
|
|
1461
|
+
return _(Ct(e));
|
|
1462
1462
|
}
|
|
1463
|
-
function
|
|
1463
|
+
function wt(e) {
|
|
1464
1464
|
var t;
|
|
1465
1465
|
return {
|
|
1466
1466
|
get visitorId() {
|
|
1467
|
-
return t === void 0 && (t =
|
|
1467
|
+
return t === void 0 && (t = X(this.components)), t;
|
|
1468
1468
|
},
|
|
1469
1469
|
set visitorId(e) {
|
|
1470
1470
|
t = e;
|
|
1471
1471
|
},
|
|
1472
|
-
confidence:
|
|
1472
|
+
confidence: bt(e),
|
|
1473
1473
|
components: e,
|
|
1474
1474
|
version: i
|
|
1475
1475
|
};
|
|
1476
1476
|
}
|
|
1477
|
-
function
|
|
1477
|
+
function Tt(e) {
|
|
1478
1478
|
return e === void 0 && (e = 50), o(e, e * 2);
|
|
1479
1479
|
}
|
|
1480
|
-
function
|
|
1480
|
+
function Et(e, r) {
|
|
1481
1481
|
var i = Date.now();
|
|
1482
1482
|
return { get: function(a) {
|
|
1483
1483
|
return t(this, void 0, void 0, function() {
|
|
@@ -1485,21 +1485,21 @@ function Tt(e, r) {
|
|
|
1485
1485
|
return n(this, function(n) {
|
|
1486
1486
|
switch (n.label) {
|
|
1487
1487
|
case 0: return t = Date.now(), [4, e()];
|
|
1488
|
-
case 1: return o = n.sent(), s =
|
|
1488
|
+
case 1: return o = n.sent(), s = wt(o), (r || a?.debug) && console.log(`Copy the text below to get the debug data:
|
|
1489
1489
|
|
|
1490
1490
|
\`\`\`
|
|
1491
1491
|
version: ${s.version}
|
|
1492
1492
|
userAgent: ${navigator.userAgent}
|
|
1493
1493
|
timeBetweenLoadAndGet: ${t - i}
|
|
1494
1494
|
visitorId: ${s.visitorId}
|
|
1495
|
-
components: ${
|
|
1495
|
+
components: ${Y(o)}
|
|
1496
1496
|
\`\`\``), [2, s];
|
|
1497
1497
|
}
|
|
1498
1498
|
});
|
|
1499
1499
|
});
|
|
1500
1500
|
} };
|
|
1501
1501
|
}
|
|
1502
|
-
function
|
|
1502
|
+
function Dt() {
|
|
1503
1503
|
if (!(window.__fpjs_d_m || Math.random() >= .001)) try {
|
|
1504
1504
|
var e = new XMLHttpRequest();
|
|
1505
1505
|
e.open("get", `https://m1.openfpcdn.io/fingerprintjs/v${i}/npm-monitoring`, !0), e.send();
|
|
@@ -1507,71 +1507,71 @@ function Et() {
|
|
|
1507
1507
|
console.error(e);
|
|
1508
1508
|
}
|
|
1509
1509
|
}
|
|
1510
|
-
function
|
|
1510
|
+
function Ot(e) {
|
|
1511
1511
|
var r = e === void 0 ? {} : e, i = r.delayFallback, a = r.debug, o = r.monitoring, s = o === void 0 || o;
|
|
1512
1512
|
return t(this, void 0, void 0, function() {
|
|
1513
1513
|
var e;
|
|
1514
1514
|
return n(this, function(t) {
|
|
1515
1515
|
switch (t.label) {
|
|
1516
|
-
case 0: return s &&
|
|
1517
|
-
case 1: return t.sent(), e =
|
|
1516
|
+
case 0: return s && Dt(), [4, Tt(i)];
|
|
1517
|
+
case 1: return t.sent(), e = vt({ debug: a }), [2, Et(e, a)];
|
|
1518
1518
|
}
|
|
1519
1519
|
});
|
|
1520
1520
|
});
|
|
1521
1521
|
}
|
|
1522
|
-
var
|
|
1523
|
-
load:
|
|
1524
|
-
hashComponents:
|
|
1525
|
-
componentsToDebugString:
|
|
1522
|
+
var Z = {
|
|
1523
|
+
load: Ot,
|
|
1524
|
+
hashComponents: X,
|
|
1525
|
+
componentsToDebugString: Y
|
|
1526
1526
|
};
|
|
1527
1527
|
//#endregion
|
|
1528
1528
|
//#region src/fingerprint.ts
|
|
1529
|
-
async function
|
|
1529
|
+
async function Q() {
|
|
1530
1530
|
try {
|
|
1531
|
-
return typeof process == "object" && process.env.NODE_ENV === "test" ? "a-mock-visitor-id" : (await (await
|
|
1531
|
+
return typeof process == "object" && process.env.NODE_ENV === "test" ? "a-mock-visitor-id" : (await (await Z.load()).get()).visitorId;
|
|
1532
1532
|
} catch (e) {
|
|
1533
1533
|
return console.error(e), null;
|
|
1534
1534
|
}
|
|
1535
1535
|
}
|
|
1536
|
-
async function
|
|
1536
|
+
async function kt() {
|
|
1537
1537
|
return new Promise((e) => {
|
|
1538
1538
|
window.requestIdleCallback ? requestIdleCallback(async () => {
|
|
1539
|
-
e(await
|
|
1539
|
+
e(await Q());
|
|
1540
1540
|
}, { timeout: 200 }) : setTimeout(async () => {
|
|
1541
|
-
e(await
|
|
1541
|
+
e(await Q());
|
|
1542
1542
|
}, 200);
|
|
1543
1543
|
});
|
|
1544
1544
|
}
|
|
1545
1545
|
//#endregion
|
|
1546
1546
|
//#region src/kount.ts
|
|
1547
|
-
var
|
|
1547
|
+
var At = "https://tst.kaptcha.com", jt = "https://ssl.kaptcha.com", Mt = (e) => e === "production", Nt = ({ env: e, kountAccountId: t, kountSessionId: n }) => {
|
|
1548
1548
|
if (t === null) throw Error("Kount account ID is required");
|
|
1549
|
-
let r =
|
|
1549
|
+
let r = Mt(e) ? jt : At, i = new URL(`${r}/collect/sdk`);
|
|
1550
1550
|
i.searchParams.append("m", t), n && i.searchParams.append("m", n);
|
|
1551
1551
|
let a = document.createElement("script");
|
|
1552
1552
|
return a.setAttribute("class", "kaxsdc"), a.setAttribute("data-event", "load"), a.setAttribute("type", "text/javascript"), a.setAttribute("src", i.href), document.body.append(a), a;
|
|
1553
1553
|
};
|
|
1554
|
-
async function
|
|
1555
|
-
return new Promise((r
|
|
1556
|
-
let
|
|
1554
|
+
async function Pt({ env: e, kountAccountId: t, kountSessionId: n }) {
|
|
1555
|
+
return new Promise((r) => {
|
|
1556
|
+
let i = Nt({
|
|
1557
1557
|
env: e,
|
|
1558
1558
|
kountAccountId: t,
|
|
1559
1559
|
kountSessionId: n
|
|
1560
1560
|
});
|
|
1561
|
-
|
|
1561
|
+
i.onload = () => {
|
|
1562
1562
|
let e = new ka.ClientSDK();
|
|
1563
1563
|
e.setupCallback({ "collect-begin": (e) => {
|
|
1564
1564
|
let { MercSessId: t } = e;
|
|
1565
1565
|
r(t);
|
|
1566
1566
|
} }), e.autoLoadEvents();
|
|
1567
|
-
},
|
|
1568
|
-
|
|
1567
|
+
}, i.onerror = () => {
|
|
1568
|
+
console.error(/* @__PURE__ */ Error("Error attempting to mount Kount script")), r(null);
|
|
1569
1569
|
};
|
|
1570
1570
|
});
|
|
1571
1571
|
}
|
|
1572
1572
|
//#endregion
|
|
1573
1573
|
//#region src/adblock-detect.ts
|
|
1574
|
-
var
|
|
1574
|
+
var Ft = () => {
|
|
1575
1575
|
let e = document.createElement("script");
|
|
1576
1576
|
return e.src = "https://cdn.rebilly.com/risk-data-collector/@latest/google-adsense.js", new Promise((t) => {
|
|
1577
1577
|
e.onload = () => {
|
|
@@ -1581,46 +1581,53 @@ var Pt = () => {
|
|
|
1581
1581
|
};
|
|
1582
1582
|
//#endregion
|
|
1583
1583
|
//#region src/data-collector.ts
|
|
1584
|
-
|
|
1585
|
-
let { colorDepth:
|
|
1584
|
+
function $() {
|
|
1585
|
+
let { colorDepth: e, height: t, width: n } = screen || {}, { javaEnabled: r, language: i } = navigator || {};
|
|
1586
|
+
return {
|
|
1587
|
+
colorDepth: e || null,
|
|
1588
|
+
isJavaEnabled: r ? r.call(navigator) : null,
|
|
1589
|
+
language: i || null,
|
|
1590
|
+
screenHeight: t || null,
|
|
1591
|
+
screenWidth: n || null,
|
|
1592
|
+
timeZoneOffset: (/* @__PURE__ */ new Date()).getTimezoneOffset(),
|
|
1593
|
+
isAdBlockEnabled: null
|
|
1594
|
+
};
|
|
1595
|
+
}
|
|
1596
|
+
async function It({ env: e = null, kountAccountId: t = null, kountSessionId: n = null }) {
|
|
1597
|
+
let r = $(), i = null, a = null, o = null;
|
|
1586
1598
|
try {
|
|
1587
|
-
[
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
t ?
|
|
1599
|
+
[o, i, a] = await Promise.all([
|
|
1600
|
+
Ft(),
|
|
1601
|
+
kt(),
|
|
1602
|
+
t ? Pt({
|
|
1591
1603
|
env: e,
|
|
1592
1604
|
kountAccountId: t,
|
|
1593
1605
|
kountSessionId: n
|
|
1594
|
-
}) :
|
|
1606
|
+
}) : null
|
|
1595
1607
|
]);
|
|
1596
1608
|
} catch (e) {
|
|
1597
1609
|
console.error(e);
|
|
1598
1610
|
}
|
|
1599
1611
|
return { riskMetadata: {
|
|
1600
|
-
fingerprint:
|
|
1601
|
-
extraData: { kountFraudSessionId:
|
|
1612
|
+
fingerprint: i || null,
|
|
1613
|
+
extraData: { kountFraudSessionId: a || null },
|
|
1602
1614
|
browserData: {
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
language: s || null,
|
|
1606
|
-
screenHeight: i || null,
|
|
1607
|
-
screenWidth: a || null,
|
|
1608
|
-
timeZoneOffset: (/* @__PURE__ */ new Date()).getTimezoneOffset(),
|
|
1609
|
-
isAdBlockEnabled: u
|
|
1615
|
+
...r,
|
|
1616
|
+
isAdBlockEnabled: o
|
|
1610
1617
|
}
|
|
1611
1618
|
} };
|
|
1612
1619
|
}
|
|
1613
|
-
async function
|
|
1620
|
+
async function Lt({ env: e = null, kountAccountId: t = null, kountSessionId: n = null } = {
|
|
1614
1621
|
env: null,
|
|
1615
1622
|
kountAccountId: null
|
|
1616
1623
|
}) {
|
|
1617
|
-
return
|
|
1624
|
+
return It({
|
|
1618
1625
|
env: e,
|
|
1619
1626
|
kountAccountId: t,
|
|
1620
1627
|
kountSessionId: n
|
|
1621
1628
|
});
|
|
1622
1629
|
}
|
|
1623
1630
|
//#endregion
|
|
1624
|
-
export {
|
|
1631
|
+
export { Lt as collectData, $ as getBrowserData };
|
|
1625
1632
|
|
|
1626
1633
|
//# sourceMappingURL=data-collector.js.map
|