@incodetech/core 2.4.1-agentic.1 → 2.4.1-agentic.2

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 (64) hide show
  1. package/dist/{FaceDetectionProvider-CAY43vSI.esm.js → FaceDetectionProvider-D9PlON49.esm.js} +4 -4
  2. package/dist/ae-signature.esm.js +1 -1
  3. package/dist/{apiError-DH-CH4Nz.esm.js → apiError-gNfsp99I.esm.js} +1 -1
  4. package/dist/authentication.esm.js +2 -2
  5. package/dist/{authenticationManager-DjX0XDyH.esm.js → authenticationManager-BtN4CHOR.esm.js} +3 -3
  6. package/dist/{authenticationStateMachine-BMbZL8wm.esm.js → authenticationStateMachine-DdcnWnBT.esm.js} +2 -2
  7. package/dist/{browser-pQZA35G2-DtkAf6sn.esm.js → browser-pQZA35G2-C0fRj-ID.esm.js} +1 -1
  8. package/dist/{deepsightLoader-B7DEYoyY.esm.js → deepsightLoader-Crsj_u0c.esm.js} +3 -3
  9. package/dist/document-capture.d.ts +1 -1
  10. package/dist/{documentCaptureManager-CD5iQiUI.d.ts → documentCaptureManager-DDfviFg0.d.ts} +1 -1
  11. package/dist/dynamic-forms.esm.js +2 -2
  12. package/dist/{dynamicFormsManager-DfqCEPg9.esm.js → dynamicFormsManager-CwqgwLa5.esm.js} +1 -1
  13. package/dist/{dynamicFormsStateMachine-USQMB-uV.esm.js → dynamicFormsStateMachine-CBdnpD95.esm.js} +1 -1
  14. package/dist/ekyb.esm.js +2 -2
  15. package/dist/{ekybManager-CR8YSYux.esm.js → ekybManager-BVTqTHd3.esm.js} +1 -1
  16. package/dist/{ekybStateMachine-kHwdz6hm.esm.js → ekybStateMachine-BmZHuZE1.esm.js} +1 -1
  17. package/dist/electronic-signature.esm.js +1 -1
  18. package/dist/{electronicSignatureManager-BCE3uA3z.esm.js → electronicSignatureManager-Bt_tCIdI.esm.js} +1 -1
  19. package/dist/extensibility.d.ts +1 -1
  20. package/dist/extensibility.esm.js +11 -11
  21. package/dist/{faceCaptureManagerFactory-Dp90bedH.esm.js → faceCaptureManagerFactory-BWOB3ZeZ.esm.js} +1 -1
  22. package/dist/{faceCaptureSetup-ZfiWg0fo.esm.js → faceCaptureSetup-D0w1UBlO.esm.js} +3 -3
  23. package/dist/{feature-management-BbCIA4og.esm.js → feature-management-DBh1nqp8.esm.js} +1 -1
  24. package/dist/feature-management.esm.js +1 -1
  25. package/dist/flow.esm.js +3 -3
  26. package/dist/{flowCompletionService-CcCnPs_T.esm.js → flowCompletionService-Dv7zoVWe.esm.js} +1 -1
  27. package/dist/{flowServices-Dmnc8Rye.esm.js → flowServices-C5-oamoC.esm.js} +4 -4
  28. package/dist/geolocation.esm.js +2 -2
  29. package/dist/{geolocationManager-BJJ3m_I8.esm.js → geolocationManager-BFTxgOZG.esm.js} +1 -1
  30. package/dist/{geolocationStateMachine-CTI3m4Ie.esm.js → geolocationStateMachine-v729Lz_0.esm.js} +1 -1
  31. package/dist/id-selfie-flow.esm.js +6 -6
  32. package/dist/id.esm.js +3 -3
  33. package/dist/{idCaptureManager-B3oR4RnA.esm.js → idCaptureManager-BVfqpIjM.esm.js} +3 -3
  34. package/dist/{idCaptureServices-DK0QboqT.esm.js → idCaptureServices-CwG9Xp_n.esm.js} +2 -2
  35. package/dist/{idCaptureStateMachine-zzar9MPy.esm.js → idCaptureStateMachine-DUm3a_Mt.esm.js} +8 -8
  36. package/dist/{index-DEfwds5y.d.ts → index-BfSZvEHi.d.ts} +10 -2
  37. package/dist/index.d.ts +1 -1
  38. package/dist/index.esm.js +1 -1
  39. package/dist/kyb-checks.esm.js +2 -2
  40. package/dist/{kybChecksManager-DpGOp4Su.esm.js → kybChecksManager-D2BEaUzK.esm.js} +1 -1
  41. package/dist/{kybChecksStateMachine-B43NAnv7.esm.js → kybChecksStateMachine-Cy-MsmKZ.esm.js} +1 -1
  42. package/dist/qe-signature.esm.js +1 -1
  43. package/dist/{runChildModule-BffFArwl.esm.js → runChildModule-BG46reQE.esm.js} +1 -1
  44. package/dist/{sdkVersion-CDd_gaR7.esm.js → sdkVersion-DJCo6uSb.esm.js} +1 -1
  45. package/dist/selfie.esm.js +6 -6
  46. package/dist/{selfieErrorUtils-f4MgAG2A.esm.js → selfieErrorUtils-DNbVqz2B.esm.js} +1 -1
  47. package/dist/{selfieManager-hopelYEk.esm.js → selfieManager-1_TQP4-x.esm.js} +3 -3
  48. package/dist/{selfieStateMachine-DaZIVv3Q.esm.js → selfieStateMachine-BUnZmMRY.esm.js} +3 -3
  49. package/dist/{session-CdSX4wsZ.esm.js → session-DdnAM9fZ.esm.js} +3 -3
  50. package/dist/session.esm.js +4 -4
  51. package/dist/{sessionInitializer-DsL7X2j9.esm.js → sessionInitializer-CwJACl13.esm.js} +4 -4
  52. package/dist/{setup-D9qt8YVU.d.ts → setup-CmqnkqsR.d.ts} +1 -1
  53. package/dist/{setup-DDahygZs.esm.js → setup-D26WdmvA.esm.js} +5 -5
  54. package/dist/{tri-DG6priFa.esm.js → tri-C9SvtzuQ.esm.js} +24 -3
  55. package/dist/tri.d.ts +2 -2
  56. package/dist/{tri.esm-CzTNi5Q_.esm.js → tri.esm-DgTlfPhR.esm.js} +167 -155
  57. package/dist/tri.esm.js +2 -2
  58. package/dist/{trueSightService-GuLthUVK.esm.js → trueSightService-OZl8wQu7.esm.js} +1 -1
  59. package/dist/video-selfie.esm.js +3 -3
  60. package/dist/{videoSelfieCameraWarmer-e3irGfcO.esm.js → videoSelfieCameraWarmer-Bhi70pSN.esm.js} +3 -3
  61. package/dist/wasm.d.ts +1 -1
  62. package/dist/wasm.esm.js +1 -1
  63. package/dist/workflow.esm.js +14 -14
  64. package/package.json +3 -3
@@ -199,17 +199,17 @@ function I(t, n) {
199
199
  e.warn("utils", "safeSync swallowed error:", t);
200
200
  }
201
201
  }
202
- async function E(t) {
202
+ async function A(t) {
203
203
  try {
204
204
  return await t();
205
205
  } catch (t) {
206
206
  e.warn("utils", "safeAsync swallowed error:", t);
207
207
  }
208
208
  }
209
- function _(t) {
209
+ function E(t) {
210
210
  return (e) => I(() => t(e));
211
211
  }
212
- function A(t) {
212
+ function _(t) {
213
213
  return (...n) => {
214
214
  try {
215
215
  t(...n);
@@ -219,7 +219,7 @@ function A(t) {
219
219
  };
220
220
  }
221
221
  function D(t, e) {
222
- return S(A(t), e);
222
+ return S(_(t), e);
223
223
  }
224
224
  function C(t) {
225
225
  if (null !== t) try {
@@ -277,10 +277,10 @@ function $(t, e) {
277
277
  function H() {}
278
278
  const F = 2e3;
279
279
  const U = /* @__PURE__ */ new WeakMap();
280
- let B = 0;
281
- function O(t) {
280
+ let O = 0;
281
+ function B(t) {
282
282
  let e = U.get(t);
283
- return void 0 === e && (e = ++B, U.set(t, e)), e;
283
+ return void 0 === e && (e = ++O, U.set(t, e)), e;
284
284
  }
285
285
  const j = {
286
286
  focusin: "in",
@@ -289,7 +289,7 @@ const j = {
289
289
  function N(t) {
290
290
  const e = t instanceof HTMLInputElement && ("checkbox" === t.type || "radio" === t.type);
291
291
  return {
292
- elementId: O(t),
292
+ elementId: B(t),
293
293
  tagName: t.tagName.toLowerCase(),
294
294
  type: t.type,
295
295
  valueLength: t.value.length,
@@ -512,9 +512,9 @@ const xt = [];
512
512
  const St = /* @__PURE__ */ new Map();
513
513
  let Mt = 0;
514
514
  let It = 0;
515
- const Et = [];
516
- let _t = !1;
517
- function At(t) {
515
+ const At = [];
516
+ let Et = !1;
517
+ function _t(t) {
518
518
  const e = performance.now(), n = Mt > 0 ? e - Mt : 0;
519
519
  (n > 500 || 0 === Mt) && It++, Mt = e, St.set(t.code, e);
520
520
  const i = "Backspace" === t.key || "Delete" === t.key, o = (/* @__PURE__ */ new Set([
@@ -559,7 +559,7 @@ function Dt(t) {
559
559
  break;
560
560
  }
561
561
  }
562
- if (!_t && i > 0 && i < 300 && !(/* @__PURE__ */ new Set([
562
+ if (!Et && i > 0 && i < 300 && !(/* @__PURE__ */ new Set([
563
563
  "Tab",
564
564
  "Enter",
565
565
  "Escape",
@@ -567,14 +567,14 @@ function Dt(t) {
567
567
  "ArrowDown",
568
568
  "ArrowLeft",
569
569
  "ArrowRight"
570
- ])).has(t.key) && (Et.push(i), Et.length >= 8)) {
571
- const t = Et.reduce((t, e) => t + e, 0) / Et.length, n = Et.reduce((e, n) => e + (n - t) ** 2, 0) / Et.length, i = Math.sqrt(n);
572
- i < 2.5 && (_t = !0, xt.push({
570
+ ])).has(t.key) && (At.push(i), At.length >= 8)) {
571
+ const t = At.reduce((t, e) => t + e, 0) / At.length, n = At.reduce((e, n) => e + (n - t) ** 2, 0) / At.length, i = Math.sqrt(n);
572
+ i < 2.5 && (Et = !0, xt.push({
573
573
  type: "keyboard",
574
574
  t: e,
575
575
  data: {
576
576
  action: "hold-uniform",
577
- sampleCount: Et.length,
577
+ sampleCount: At.length,
578
578
  stddevMs: Math.round(10 * i) / 10,
579
579
  meanMs: Math.round(10 * t) / 10
580
580
  }
@@ -628,29 +628,29 @@ function Ft(t) {
628
628
  function Ut() {
629
629
  return Rt.splice(0);
630
630
  }
631
- const Bt = [];
632
- let Ot = 0;
631
+ const Ot = [];
632
+ let Bt = 0;
633
633
  let jt = !1;
634
634
  let Nt = null;
635
635
  let qt = [];
636
636
  let Wt = 0;
637
637
  let Xt = 0;
638
638
  function Yt() {
639
- Bt.push({
639
+ Ot.push({
640
640
  type: "page",
641
641
  t: performance.now(),
642
642
  data: { event: document.hidden ? "hidden" : "visible" }
643
643
  });
644
644
  }
645
645
  function Jt() {
646
- Zt(), Bt.push({
646
+ Zt(), Ot.push({
647
647
  type: "page",
648
648
  t: performance.now(),
649
649
  data: { event: "focus" }
650
650
  });
651
651
  }
652
652
  function Gt() {
653
- Bt.push({
653
+ Ot.push({
654
654
  type: "page",
655
655
  t: performance.now(),
656
656
  data: { event: "blur" }
@@ -661,11 +661,11 @@ function Vt() {
661
661
  }
662
662
  function Zt() {
663
663
  const t = performance.now();
664
- jt && (jt = !1, Vt(), Bt.push({
664
+ jt && (jt = !1, Vt(), Ot.push({
665
665
  type: "page",
666
666
  t,
667
667
  data: { event: "idle-end" }
668
- })), Ot = t;
668
+ })), Bt = t;
669
669
  }
670
670
  function Kt() {
671
671
  Zt();
@@ -673,7 +673,7 @@ function Kt() {
673
673
  function Qt() {
674
674
  try {
675
675
  const t = (document.body?.innerText || "").length, e = document.querySelectorAll("input,button,a,select,textarea").length, n = document.documentElement.scrollHeight > 0 ? document.documentElement.scrollHeight / window.innerHeight : 1;
676
- Bt.push({
676
+ Ot.push({
677
677
  type: "page",
678
678
  t: performance.now(),
679
679
  data: {
@@ -689,9 +689,9 @@ function Qt() {
689
689
  function te() {
690
690
  return function() {
691
691
  const t = performance.now();
692
- !jt && Ot > 0 && t - Ot >= 5e3 && (jt = !0, Bt.push({
692
+ !jt && Bt > 0 && t - Bt >= 5e3 && (jt = !0, Ot.push({
693
693
  type: "page",
694
- t: Ot + 5e3,
694
+ t: Bt + 5e3,
695
695
  data: { event: "idle-start" }
696
696
  }), function() {
697
697
  if (Nt) return;
@@ -715,7 +715,7 @@ function te() {
715
715
  t += r, e.push(r);
716
716
  }
717
717
  const n = e.filter((t) => t > 0).length;
718
- Bt.push({
718
+ Ot.push({
719
719
  type: "page",
720
720
  t: performance.now(),
721
721
  data: {
@@ -726,7 +726,7 @@ function te() {
726
726
  maxDelta: Math.round(100 * Math.max(...e)) / 100
727
727
  }
728
728
  });
729
- } else Bt.push({
729
+ } else Ot.push({
730
730
  type: "page",
731
731
  t: performance.now(),
732
732
  data: {
@@ -741,7 +741,7 @@ function te() {
741
741
  }
742
742
  }, 100);
743
743
  }());
744
- }(), Bt.splice(0);
744
+ }(), Ot.splice(0);
745
745
  }
746
746
  const ee = [];
747
747
  const ne = /* @__PURE__ */ new WeakSet();
@@ -838,19 +838,19 @@ function Ie() {
838
838
  data: { action: "form-submit-no-keyboard" }
839
839
  });
840
840
  }
841
- function Ee(t) {
841
+ function Ae(t) {
842
842
  const e = t.target;
843
843
  if (e && Le(e) && !ye.has(e)) {
844
844
  const t = 0 === ke, n = e.hasAttribute("autofocus"), i = performance.now() - ke;
845
845
  ye.set(e, t || n || i <= 300 ? "tab" : "programmatic");
846
846
  }
847
847
  }
848
- function _e(t) {
848
+ function Ee(t) {
849
849
  ke = performance.now();
850
850
  const e = t.target;
851
851
  e && Le(e) && ye.set(e, "mouse");
852
852
  }
853
- function Ae(t) {
853
+ function _e(t) {
854
854
  "Tab" === t.key && (ke = performance.now());
855
855
  }
856
856
  function De() {
@@ -908,23 +908,25 @@ function Ue(t) {
908
908
  }
909
909
  })));
910
910
  }
911
- function Be(t) {
912
- for (const e of t) Le(e) && (se.has(e) || se.set(e, Re(e)), Oe(e));
913
- }
914
911
  function Oe(t) {
912
+ for (const e of t) Le(e) && (se.has(e) || se.set(e, Re(e)), Be(e));
913
+ }
914
+ function Be(t) {
915
915
  if (!Fe(t)) return;
916
916
  if (t.l) return;
917
+ const e = t instanceof HTMLTextAreaElement ? HTMLTextAreaElement.prototype : HTMLInputElement.prototype, n = Object.getOwnPropertyDescriptor(t, "value");
918
+ if (n && !n.configurable) return;
919
+ const i = n?.get && n?.set ? n : Object.getOwnPropertyDescriptor(e, "value");
920
+ if (!i?.get || !i?.set) return;
917
921
  t.l = !0;
918
- const e = t instanceof HTMLTextAreaElement ? HTMLTextAreaElement.prototype : HTMLInputElement.prototype, n = Object.getOwnPropertyDescriptor(e, "value");
919
- if (!n?.get || !n?.set) return;
920
- const i = n.get, o = n.set;
922
+ const o = i.get, r = i.set;
921
923
  Object.defineProperty(t, "value", {
922
924
  get() {
923
- return i.call(this);
925
+ return o.call(this);
924
926
  },
925
927
  set(e) {
926
- const n = i.call(this);
927
- o.call(this, e), He(t) || ("" === n || "" !== e && e === n || Ue(t), "" === n && "" !== e && Ue(t));
928
+ const n = o.call(this);
929
+ r.call(this, e), He(t) || ("" === n || "" !== e && e === n || Ue(t), "" === n && "" !== e && Ue(t));
928
930
  },
929
931
  configurable: !0
930
932
  });
@@ -1206,7 +1208,7 @@ async function ln() {
1206
1208
  const dn = {
1207
1209
  pointer: {
1208
1210
  create: function(t, e, n) {
1209
- const i = _((e) => {
1211
+ const i = E((e) => {
1210
1212
  const n = function(e) {
1211
1213
  const n = e, i = function(t) {
1212
1214
  if ("mouse" === t.pointerType) return {
@@ -1259,7 +1261,7 @@ const dn = {
1259
1261
  pointermove: {
1260
1262
  create: function(t) {
1261
1263
  let e = null, n = null;
1262
- const i = _((n) => {
1264
+ const i = E((n) => {
1263
1265
  const i = n;
1264
1266
  e && e.id !== i.pointerId && (t.push(e), e = null), e ? e.samples.ts.length >= 50 ? (t.push(e), e = o(i), r(t)) : (e.samples.x.push(i.clientX), e.samples.y.push(i.clientY), e.samples.ts.push(i.timeStamp), e.samples.movementX.push(i.movementX), e.samples.movementY.push(i.movementY), e.samples.buttons.push(i.buttons), e.samples.isTrusted.push(i.isTrusted), "pen" === i.pointerType && (e.samples.tiltX?.push(i.tiltX), e.samples.tiltY?.push(i.tiltY)), "mouse" !== i.pointerType && (e.samples.force?.push(i.pressure), e.samples.radius?.push(Math.max(i.width, i.height))), r(t)) : (e = o(i), r(t));
1265
1267
  });
@@ -1305,7 +1307,7 @@ const dn = {
1305
1307
  },
1306
1308
  focus: {
1307
1309
  create: function(t) {
1308
- const e = _((e) => {
1310
+ const e = E((e) => {
1309
1311
  const n = function(e) {
1310
1312
  const n = e;
1311
1313
  return {
@@ -1328,7 +1330,7 @@ const dn = {
1328
1330
  },
1329
1331
  input: {
1330
1332
  create: function(t) {
1331
- const e = _((e) => {
1333
+ const e = E((e) => {
1332
1334
  const n = e;
1333
1335
  t.push(function(e) {
1334
1336
  return {
@@ -1395,7 +1397,7 @@ const dn = {
1395
1397
  e.clear();
1396
1398
  }
1397
1399
  };
1398
- }(), i = _((n) => {
1400
+ }(), i = E((n) => {
1399
1401
  const i = function(n) {
1400
1402
  const i = n, o = n.type, r = J.has(i.key);
1401
1403
  return {
@@ -1412,7 +1414,7 @@ const dn = {
1412
1414
  };
1413
1415
  }(n);
1414
1416
  t.push(i);
1415
- }), o = _(() => {
1417
+ }), o = E(() => {
1416
1418
  n();
1417
1419
  });
1418
1420
  return T(document, "keydown", i), T(document, "keyup", i), T(window, "blur", o), () => {
@@ -1423,7 +1425,7 @@ const dn = {
1423
1425
  },
1424
1426
  clipboard: {
1425
1427
  create: function(t, e = "on", n) {
1426
- const i = _((n) => {
1428
+ const i = E((n) => {
1427
1429
  const i = function(n) {
1428
1430
  const i = n, o = n.type, r = ("paste" === n.type ? i.clipboardData?.getData("text/plain") : w()) ?? null, s = y(i.target, e);
1429
1431
  return {
@@ -1452,7 +1454,7 @@ const dn = {
1452
1454
  },
1453
1455
  form: {
1454
1456
  create: function(t, e, n) {
1455
- const i = p(n, "submit"), o = p(n, "snapshot"), r = _((e) => {
1457
+ const i = p(n, "submit"), o = p(n, "snapshot"), r = E((e) => {
1456
1458
  const n = {
1457
1459
  name: "form",
1458
1460
  type: (i = e).type,
@@ -1463,13 +1465,13 @@ const dn = {
1463
1465
  };
1464
1466
  var i;
1465
1467
  t.push(n);
1466
- }), s = _((e) => {
1468
+ }), s = E((e) => {
1467
1469
  o && e.target instanceof Element && u(e, "submit", e.target), t.flush();
1468
- }), a = _((e) => {
1470
+ }), a = E((e) => {
1469
1471
  if (!(e.target instanceof Element)) return;
1470
1472
  const n = e.target.closest(b);
1471
1473
  n && (o && u(e, "flush", n), t.flush());
1472
- }), c = _((t) => {
1474
+ }), c = E((t) => {
1473
1475
  q(t.target) && u(t, "change", t.target);
1474
1476
  });
1475
1477
  function u(e, n, i) {
@@ -1494,8 +1496,8 @@ const dn = {
1494
1496
  timestamp: Date.now(),
1495
1497
  ts: t.timeStamp,
1496
1498
  isTrusted: t.isTrusted,
1497
- targetId: O(n),
1498
- formId: i ? O(i) : null,
1499
+ targetId: B(n),
1500
+ formId: i ? B(i) : null,
1499
1501
  fields: r,
1500
1502
  truncated: s
1501
1503
  };
@@ -1514,7 +1516,7 @@ const dn = {
1514
1516
  },
1515
1517
  change: {
1516
1518
  create: function(t) {
1517
- const e = _((e) => {
1519
+ const e = E((e) => {
1518
1520
  const n = (i = e, {
1519
1521
  name: "change",
1520
1522
  timestamp: Date.now(),
@@ -1558,7 +1560,7 @@ const dn = {
1558
1560
  });
1559
1561
  }(i, o));
1560
1562
  }
1561
- const l = _((e) => {
1563
+ const l = E((e) => {
1562
1564
  const o = function() {
1563
1565
  const t = document.getSelection();
1564
1566
  return !t || t.isCollapsed || 0 === t.rangeCount;
@@ -1572,19 +1574,19 @@ const dn = {
1572
1574
  }), void c();
1573
1575
  var r;
1574
1576
  n && o ? u("collapse", e.timeStamp) : n && c();
1575
- }), d = _((t) => {
1577
+ }), d = E((t) => {
1576
1578
  0 === t.button && (r = !0, a());
1577
- }), f = _((t) => {
1579
+ }), f = E((t) => {
1578
1580
  0 === t.button && (r = !1, n && u("pointer", t.timeStamp));
1579
- }), h = _((t) => {
1581
+ }), h = E((t) => {
1580
1582
  "Shift" === t.key && (s = !0, a());
1581
- }), m = _((t) => {
1583
+ }), m = E((t) => {
1582
1584
  "Shift" === t.key && (s = !1, n && u("keyboard", t.timeStamp));
1583
- }), p = _(() => {
1585
+ }), p = E(() => {
1584
1586
  r = !1;
1585
- }), g = _((t) => {
1587
+ }), g = E((t) => {
1586
1588
  "hidden" === document.visibilityState && (r = !1, s = !1, n && u("timeout", t.timeStamp));
1587
- }), b = _((t) => {
1589
+ }), b = E((t) => {
1588
1590
  r = !1, n && u("pointer", t.timeStamp);
1589
1591
  });
1590
1592
  return T(document, "selectionchange", l), T(document, "pointerdown", d), T(document, "pointerup", f), T(document, "keydown", h), T(document, "keyup", m), T(document, "contextmenu", p), T(document, "visibilitychange", g), T(document, "dragend", b), () => {
@@ -1600,7 +1602,7 @@ const dn = {
1600
1602
  },
1601
1603
  visibility: {
1602
1604
  create: function(t) {
1603
- const e = _((e) => {
1605
+ const e = E((e) => {
1604
1606
  const n = document.visibilityState;
1605
1607
  if ("visible" !== n && "hidden" !== n) return;
1606
1608
  const i = {
@@ -1624,7 +1626,7 @@ const dn = {
1624
1626
  function n(n) {
1625
1627
  t.push(n), e = n.to ?? "";
1626
1628
  }
1627
- const i = _(() => {
1629
+ const i = E(() => {
1628
1630
  const [e] = performance.getEntriesByType("navigation");
1629
1631
  var i;
1630
1632
  n(Z("load", e?.type ?? "navigate", {
@@ -1650,7 +1652,7 @@ const dn = {
1650
1652
  encodedBodySize: i.encodedBodySize,
1651
1653
  decodedBodySize: i.decodedBodySize
1652
1654
  } : void 0));
1653
- }), o = _((i) => {
1655
+ }), o = E((i) => {
1654
1656
  const o = i;
1655
1657
  if (null === o.navigationType) return;
1656
1658
  const r = t.sanitizeUrl(location.href);
@@ -1658,7 +1660,7 @@ const dn = {
1658
1660
  from: e,
1659
1661
  to: r
1660
1662
  }, performance.timeOrigin));
1661
- }), r = _(() => a("traverse")), s = _(() => a("hashchange"));
1663
+ }), r = E(() => a("traverse")), s = E(() => a("hashchange"));
1662
1664
  function a(i) {
1663
1665
  const o = t.sanitizeUrl(location.href);
1664
1666
  "hashchange" === i && o === e || n(Z("change", i, {
@@ -1681,7 +1683,7 @@ const dn = {
1681
1683
  },
1682
1684
  networkconnection: {
1683
1685
  create: function(t) {
1684
- const e = _((e) => {
1686
+ const e = E((e) => {
1685
1687
  const n = {
1686
1688
  name: "network",
1687
1689
  type: "connection",
@@ -1700,11 +1702,11 @@ const dn = {
1700
1702
  scroll: {
1701
1703
  create: function(t) {
1702
1704
  let e = null, n = null;
1703
- const i = _((n) => {
1705
+ const i = E((n) => {
1704
1706
  const i = (s = n.target) instanceof Element ? s.closest("[data-tri-ignore]") ? null : s : "window";
1705
1707
  var s;
1706
1708
  if (null === i) return;
1707
- const a = "window" === i ? "window" : O(i), c = "window" === i ? null : i;
1709
+ const a = "window" === i ? "window" : B(i), c = "window" === i ? null : i;
1708
1710
  e && e.target !== a && (t.push(e), e = null), e ? e.samples.ts.length >= 50 ? (t.push(e), e = o(n, a, c), r(t)) : (e.samples.x.push(window.scrollX), e.samples.y.push(window.scrollY), e.samples.ts.push(n.timeStamp), e.samples.isTrusted.push(n.isTrusted), c && (e.samples.elementX?.push(c.scrollLeft), e.samples.elementY?.push(c.scrollTop)), r(t)) : (e = o(n, a, c), r(t));
1709
1711
  });
1710
1712
  function o(t, e, n) {
@@ -1745,7 +1747,7 @@ const dn = {
1745
1747
  viewportresize: {
1746
1748
  create: function(t) {
1747
1749
  let e = null, n = null;
1748
- const i = _((n) => e ? e.samples.ts.length >= 50 ? (t.push(e), e = o(n), void r(t)) : (e.samples.height.push(window.innerHeight), e.samples.width.push(window.innerWidth), e.samples.ts.push(n.timeStamp), e.samples.scrollX.push(window.scrollX), e.samples.scrollY.push(window.scrollY), e.samples.dpr.push(window.devicePixelRatio), e.samples.outerWidth.push(window.outerWidth), e.samples.outerHeight.push(window.outerHeight), void r(t)) : (e = o(n), void r(t)));
1750
+ const i = E((n) => e ? e.samples.ts.length >= 50 ? (t.push(e), e = o(n), void r(t)) : (e.samples.height.push(window.innerHeight), e.samples.width.push(window.innerWidth), e.samples.ts.push(n.timeStamp), e.samples.scrollX.push(window.scrollX), e.samples.scrollY.push(window.scrollY), e.samples.dpr.push(window.devicePixelRatio), e.samples.outerWidth.push(window.outerWidth), e.samples.outerHeight.push(window.outerHeight), void r(t)) : (e = o(n), void r(t)));
1749
1751
  function o(t) {
1750
1752
  return {
1751
1753
  name: "viewport",
@@ -1776,10 +1778,10 @@ const dn = {
1776
1778
  },
1777
1779
  viewport: {
1778
1780
  create: function(t, e, n) {
1779
- const i = _((e) => {
1781
+ const i = E((e) => {
1780
1782
  const n = r(e, "orientation");
1781
1783
  t.push(n);
1782
- }), o = _((e) => {
1784
+ }), o = E((e) => {
1783
1785
  const n = r(e, "ratiochange");
1784
1786
  t.push(n);
1785
1787
  });
@@ -1808,14 +1810,14 @@ const dn = {
1808
1810
  create: function(t, e, n) {
1809
1811
  let i = null, o = null, r = null, s = null, a = !1;
1810
1812
  function c() {
1811
- s && C(s), s = setTimeout(A(() => {
1813
+ s && C(s), s = setTimeout(_(() => {
1812
1814
  u(), s = null;
1813
1815
  }), F);
1814
1816
  }
1815
1817
  function u() {
1816
1818
  i && (t.push(i), i = null), o && (t.push(o), o = null), r && (t.push(r), r = null);
1817
1819
  }
1818
- const l = _((e) => {
1820
+ const l = E((e) => {
1819
1821
  const n = e, o = n.timeStamp, r = n.acceleration, s = n.accelerationIncludingGravity, a = n.rotationRate;
1820
1822
  if (!r && !s && !a || null === r?.x && null === r?.y && null === r?.z && null === s?.x && null === s?.y && null === s?.z && null === a?.alpha && null === a?.beta && null === a?.gamma) return;
1821
1823
  if (!i) return i = {
@@ -1856,7 +1858,7 @@ const dn = {
1856
1858
  }, void c();
1857
1859
  const u = i.samples;
1858
1860
  u.ax.push(r?.x ?? 0), u.ay.push(r?.y ?? 0), u.az.push(r?.z ?? 0), u.agx.push(s?.x ?? 0), u.agy.push(s?.y ?? 0), u.agz.push(s?.z ?? 0), u.rrAlpha.push(a?.alpha ?? 0), u.rrBeta.push(a?.beta ?? 0), u.rrGamma.push(a?.gamma ?? 0), u.ts.push(o), c();
1859
- }), d = _((e) => {
1861
+ }), d = E((e) => {
1860
1862
  const n = e;
1861
1863
  if (null == n.alpha && null == n.beta && null == n.gamma) return;
1862
1864
  const i = n.timeStamp, r = n.webkitCompassHeading ?? 0;
@@ -1888,7 +1890,7 @@ const dn = {
1888
1890
  }, void c();
1889
1891
  const s = o.samples;
1890
1892
  s.alpha.push(n.alpha ?? 0), s.beta.push(n.beta ?? 0), s.gamma.push(n.gamma ?? 0), s.compassHeading.push(r), s.ts.push(i), c();
1891
- }), f = _((e) => {
1893
+ }), f = E((e) => {
1892
1894
  const n = e.value;
1893
1895
  if (null == n) return;
1894
1896
  const i = e.timeStamp;
@@ -1997,7 +1999,7 @@ const dn = {
1997
1999
  wheel: {
1998
2000
  create: function(t) {
1999
2001
  let e = null, n = null;
2000
- const i = _((n) => {
2002
+ const i = E((n) => {
2001
2003
  const i = n;
2002
2004
  e ? e.samples.ts.length >= 50 ? (t.push(e), e = o(i), r(t)) : (e.samples.deltaX.push(i.deltaX), e.samples.deltaY.push(i.deltaY), e.samples.deltaZ.push(i.deltaZ), e.samples.deltaMode.push(i.deltaMode), e.samples.isTrusted.push(i.isTrusted), e.samples.ts.push(i.timeStamp), r(t)) : (e = o(i), r(t));
2003
2005
  });
@@ -2028,10 +2030,10 @@ const dn = {
2028
2030
  },
2029
2031
  hover: {
2030
2032
  create: function(t) {
2031
- const e = _((e) => {
2033
+ const e = E((e) => {
2032
2034
  const n = e, o = K(n.target);
2033
2035
  o && o !== K(n.relatedTarget) && t.push(i(n, "enter", o));
2034
- }), n = _((e) => {
2036
+ }), n = E((e) => {
2035
2037
  const n = e, o = K(n.target);
2036
2038
  o && o !== K(n.relatedTarget) && t.push(i(n, "leave", o));
2037
2039
  });
@@ -2081,7 +2083,7 @@ const dn = {
2081
2083
  }
2082
2084
  return I(() => function(t, e) {
2083
2085
  return !un && (un = !0, function() {
2084
- Ot = performance.now(), jt = !1, Bt.push({
2086
+ Bt = performance.now(), jt = !1, Ot.push({
2085
2087
  type: "page",
2086
2088
  t: performance.now(),
2087
2089
  data: {
@@ -2101,7 +2103,7 @@ const dn = {
2101
2103
  }), document.addEventListener("mouseleave", kt, {
2102
2104
  passive: !0,
2103
2105
  capture: !0
2104
- }), document.addEventListener("keydown", At, { passive: !0 }), document.addEventListener("keyup", Dt, { passive: !0 }), document.addEventListener("paste", Ct, { passive: !0 }), Pt = performance.now(), zt = window.scrollY, window.addEventListener("scroll", Ht, { passive: !0 }), window.addEventListener("wheel", Ft, { passive: !0 }), document.addEventListener("focus", ie, {
2106
+ }), document.addEventListener("keydown", _t, { passive: !0 }), document.addEventListener("keyup", Dt, { passive: !0 }), document.addEventListener("paste", Ct, { passive: !0 }), Pt = performance.now(), zt = window.scrollY, window.addEventListener("scroll", Ht, { passive: !0 }), window.addEventListener("wheel", Ft, { passive: !0 }), document.addEventListener("focus", ie, {
2105
2107
  capture: !0,
2106
2108
  passive: !0
2107
2109
  }), document.addEventListener("input", ie, {
@@ -2113,16 +2115,16 @@ const dn = {
2113
2115
  }), document.addEventListener("keydown", Me, {
2114
2116
  capture: !0,
2115
2117
  passive: !0
2116
- }), document.addEventListener("keydown", Ae, {
2118
+ }), document.addEventListener("keydown", _e, {
2117
2119
  capture: !0,
2118
2120
  passive: !0
2119
2121
  }), document.addEventListener("input", Ce, {
2120
2122
  capture: !0,
2121
2123
  passive: !0
2122
- }), document.addEventListener("focus", Ee, {
2124
+ }), document.addEventListener("focus", Ae, {
2123
2125
  capture: !0,
2124
2126
  passive: !0
2125
- }), document.addEventListener("mousedown", _e, {
2127
+ }), document.addEventListener("mousedown", Ee, {
2126
2128
  capture: !0,
2127
2129
  passive: !0
2128
2130
  }), document.addEventListener("submit", Ie, {
@@ -2131,11 +2133,11 @@ const dn = {
2131
2133
  }), document.addEventListener("submit", De, {
2132
2134
  capture: !0,
2133
2135
  passive: !0
2134
- }), Be(Pe()), we = new MutationObserver((t) => {
2136
+ }), Oe(Pe()), we = new MutationObserver((t) => {
2135
2137
  for (const e of t) for (const t of Array.from(e.addedNodes)) {
2136
2138
  if (!(t instanceof HTMLElement)) continue;
2137
2139
  const e = Le(t) ? [t] : [];
2138
- t.querySelectorAll("input, textarea, select").forEach((t) => e.push(t)), Be(e);
2140
+ t.querySelectorAll("input, textarea, select").forEach((t) => e.push(t)), Oe(e);
2139
2141
  }
2140
2142
  }), we.observe(document.body, {
2141
2143
  subtree: !0,
@@ -2159,7 +2161,7 @@ const dn = {
2159
2161
  }
2160
2162
  }, t.getActivityId)), () => {
2161
2163
  I(() => {
2162
- un && (un = !1, document.removeEventListener("visibilitychange", Yt), window.removeEventListener("focus", Jt), window.removeEventListener("blur", Gt), document.removeEventListener("mousemove", Kt), document.removeEventListener("keydown", Kt), document.removeEventListener("scroll", Kt), document.removeEventListener("click", Kt), Vt(), jt = !1, document.removeEventListener("mousemove", yt), document.removeEventListener("click", vt), document.removeEventListener("contextmenu", gt), document.removeEventListener("mouseenter", bt, { capture: !0 }), document.removeEventListener("mouseleave", kt, { capture: !0 }), pt = null, document.removeEventListener("keydown", At), document.removeEventListener("keyup", Dt), document.removeEventListener("paste", Ct), St.clear(), window.removeEventListener("scroll", Ht), window.removeEventListener("wheel", Ft), document.removeEventListener("focus", ie, { capture: !0 }), document.removeEventListener("input", ie, { capture: !0 }), document.removeEventListener("click", ie, { capture: !0 }), document.removeEventListener("keydown", Me, !0), document.removeEventListener("keydown", Ae, !0), document.removeEventListener("input", Ce, !0), document.removeEventListener("focus", Ee, !0), document.removeEventListener("mousedown", _e, !0), document.removeEventListener("submit", Ie, !0), document.removeEventListener("submit", De, !0), we && (we.disconnect(), we = null), Ge && clearInterval(Ge), document.removeEventListener("visibilitychange", en), window.removeEventListener("beforeunload", nn), We = null, Je = null);
2164
+ un && (un = !1, document.removeEventListener("visibilitychange", Yt), window.removeEventListener("focus", Jt), window.removeEventListener("blur", Gt), document.removeEventListener("mousemove", Kt), document.removeEventListener("keydown", Kt), document.removeEventListener("scroll", Kt), document.removeEventListener("click", Kt), Vt(), jt = !1, document.removeEventListener("mousemove", yt), document.removeEventListener("click", vt), document.removeEventListener("contextmenu", gt), document.removeEventListener("mouseenter", bt, { capture: !0 }), document.removeEventListener("mouseleave", kt, { capture: !0 }), pt = null, document.removeEventListener("keydown", _t), document.removeEventListener("keyup", Dt), document.removeEventListener("paste", Ct), St.clear(), window.removeEventListener("scroll", Ht), window.removeEventListener("wheel", Ft), document.removeEventListener("focus", ie, { capture: !0 }), document.removeEventListener("input", ie, { capture: !0 }), document.removeEventListener("click", ie, { capture: !0 }), document.removeEventListener("keydown", Me, !0), document.removeEventListener("keydown", _e, !0), document.removeEventListener("input", Ce, !0), document.removeEventListener("focus", Ae, !0), document.removeEventListener("mousedown", Ee, !0), document.removeEventListener("submit", Ie, !0), document.removeEventListener("submit", De, !0), we && (we.disconnect(), we = null), Ge && clearInterval(Ge), document.removeEventListener("visibilitychange", en), window.removeEventListener("beforeunload", nn), We = null, Je = null);
2163
2165
  });
2164
2166
  };
2165
2167
  },
@@ -2189,14 +2191,14 @@ const dn = {
2189
2191
  return e && I(() => m(e)) ? e : null;
2190
2192
  }
2191
2193
  L = h;
2192
- const v = _(() => {
2194
+ const v = E(() => {
2193
2195
  "hidden" === document.visibilityState && w() && t.flush();
2194
- }), g = _((e) => {
2196
+ }), g = E((e) => {
2195
2197
  ("click" !== e.type || e.target instanceof Element && e.target.closest(b)) && w() && t.flush();
2196
2198
  });
2197
- return E(async () => {
2199
+ return A(async () => {
2198
2200
  if (await u.initialize("https://cdn.incodesmile.com/ml-wasm-kit-release/v2.14.54-pre1-fpsignals3/fpSignals/fpSignalsLib.wasm", "https://cdn.incodesmile.com/ml-wasm-kit-release/v2.14.54-pre1-fpsignals3/fpSignals/fpSignalsLibSimd.wasm"), d) return void u.freeResources();
2199
- if (u.setHostInfo(t.host.platform, t.host.version), c && (u.setBehaviourCollectionEnabled(!0), f = setInterval(A(w), 1e4), T(document, "visibilitychange", v), T(document, "submit", g), T(document, "click", g)), !o && !s) return;
2201
+ if (u.setHostInfo(t.host.platform, t.host.version), c && (u.setBehaviourCollectionEnabled(!0), f = setInterval(_(w), 1e4), T(document, "visibilitychange", v), T(document, "submit", g), T(document, "click", g)), !o && !s) return;
2200
2202
  if (await u.collect(), d) return;
2201
2203
  const e = o ? y(r.Device) : null, i = s ? y(r.PID) : null;
2202
2204
  l({
@@ -2300,10 +2302,10 @@ const In = function(t, e = 30) {
2300
2302
  const n = Mn(t);
2301
2303
  return !n || "number" != typeof n.exp || 1e3 * n.exp <= Date.now() + 1e3 * e;
2302
2304
  };
2303
- async function En(t, e) {
2304
- return globalThis.navigator && "locks" in globalThis.navigator && "request" in globalThis.navigator.locks && "query" in globalThis.navigator.locks ? navigator.locks.request(t, { mode: "exclusive" }, async () => E(e)) : E(e);
2305
+ async function An(t, e) {
2306
+ return globalThis.navigator && "locks" in globalThis.navigator && "request" in globalThis.navigator.locks && "query" in globalThis.navigator.locks ? navigator.locks.request(t, { mode: "exclusive" }, async () => A(e)) : A(e);
2305
2307
  }
2306
- function _n(t) {
2308
+ function En(t) {
2307
2309
  function e() {
2308
2310
  return globalThis.window && globalThis.window[t] && void 0 !== globalThis.window[t];
2309
2311
  }
@@ -2331,8 +2333,8 @@ function _n(t) {
2331
2333
  }
2332
2334
  };
2333
2335
  }
2334
- const An = _n("localStorage");
2335
- const Dn = _n("sessionStorage");
2336
+ const _n = En("localStorage");
2337
+ const Dn = En("sessionStorage");
2336
2338
  const Cn = "__tri";
2337
2339
  const Ln = `${Cn}_activity_token`;
2338
2340
  const Rn = `${Cn}_activity_id`;
@@ -2364,21 +2366,21 @@ var $n = class {
2364
2366
  }
2365
2367
  }
2366
2368
  async M() {
2367
- this.T = !1, this.p = "INACTIVE", this.I(null), this.v = null, this.h && await this.context.stopActivity(), this._(null);
2369
+ this.T = !1, this.p = "INACTIVE", this.I(null), this.v = null, this.h && await this.context.stopActivity(), this.A(null);
2368
2370
  }
2369
2371
  async refresh() {
2370
2372
  if (!this.T) return;
2371
2373
  const t = this.h;
2372
- await En(Pn, async () => {
2374
+ await An(Pn, async () => {
2373
2375
  if (this.h && this.h !== t && !In(this.h) && "ACTIVE" === this.p) return;
2374
- const e = this.A();
2375
- e && e.token !== t && !In(e.token) && "ACTIVE" === e.activityStatus ? this._(e) : (this.D(), await this.C());
2376
+ const e = this._();
2377
+ e && e.token !== t && !In(e.token) && "ACTIVE" === e.activityStatus ? this.A(e) : (this.D(), await this.C());
2376
2378
  });
2377
2379
  }
2378
2380
  async S() {
2379
2381
  try {
2380
2382
  if (this.k && await this.k, this.h && !In(this.h)) return;
2381
- await En(Pn, async () => {
2383
+ await An(Pn, async () => {
2382
2384
  await this.C();
2383
2385
  });
2384
2386
  } finally {
@@ -2386,20 +2388,20 @@ var $n = class {
2386
2388
  }
2387
2389
  }
2388
2390
  async C() {
2389
- const t = this.A();
2390
- if (t && !In(t.token) && "ACTIVE" === t.activityStatus) return void this._(t);
2391
+ const t = this._();
2392
+ if (t && !In(t.token) && "ACTIVE" === t.activityStatus) return void this.A(t);
2391
2393
  t && this.D();
2392
2394
  const e = await this.context.startActivity();
2393
2395
  if (!e.ok) return;
2394
2396
  if (!e.data.token) return;
2395
2397
  const n = e.data;
2396
- this._(n), this.L(n);
2398
+ this.A(n), this.L(n);
2397
2399
  }
2398
- A() {
2400
+ _() {
2399
2401
  const [t, e, n] = [
2400
- An.get(Ln),
2401
- An.get(Rn),
2402
- An.get(zn)
2402
+ _n.get(Ln),
2403
+ _n.get(Rn),
2404
+ _n.get(zn)
2403
2405
  ];
2404
2406
  return t && e && n ? {
2405
2407
  token: t,
@@ -2408,16 +2410,16 @@ var $n = class {
2408
2410
  } : ((t || e || n) && this.D(), null);
2409
2411
  }
2410
2412
  L(t) {
2411
- An.set(Ln, t.token), An.set(Rn, t.activityId), An.set(zn, t.activityStatus);
2413
+ _n.set(Ln, t.token), _n.set(Rn, t.activityId), _n.set(zn, t.activityStatus);
2412
2414
  }
2413
2415
  D() {
2414
- this.I(null), this._(null);
2416
+ this.I(null), this.A(null);
2415
2417
  }
2416
2418
  I(t) {
2417
- if (!t) return An.remove(Ln), An.remove(Rn), void An.remove(zn);
2418
- An.set(Ln, t.token), An.set(Rn, t.activityId), An.set(zn, t.activityStatus);
2419
+ if (!t) return _n.remove(Ln), _n.remove(Rn), void _n.remove(zn);
2420
+ _n.set(Ln, t.token), _n.set(Rn, t.activityId), _n.set(zn, t.activityStatus);
2419
2421
  }
2420
- _(t) {
2422
+ A(t) {
2421
2423
  if (!t) return this.h = null, this.m = null, void (this.p = null);
2422
2424
  this.h = t.token, this.m = t.activityId, this.p = t.activityStatus;
2423
2425
  }
@@ -2454,14 +2456,14 @@ const Fn = Object.freeze({
2454
2456
  function Un(t) {
2455
2457
  return "pointer" === t.name && "move" === t.phase || "viewport" === t.name && "resize" === t.type ? 40 : Fn[t.name];
2456
2458
  }
2457
- const Bn = Object.freeze({
2459
+ const On = Object.freeze({
2458
2460
  tri: "/events/capture",
2459
2461
  shinsei: "/events/capture/shinsei",
2460
2462
  "fp-signals": "/events/capture/fp-signals"
2461
2463
  });
2462
- const On = /* @__PURE__ */ new Map([["shinsei_batch", "shinsei"], ["fp_signals", "fp-signals"]]);
2464
+ const Bn = /* @__PURE__ */ new Map([["shinsei_batch", "shinsei"], ["fp_signals", "fp-signals"]]);
2463
2465
  function jn(t) {
2464
- return On.get(t.name) ?? "tri";
2466
+ return Bn.get(t.name) ?? "tri";
2465
2467
  }
2466
2468
  const Nn = new Array(256);
2467
2469
  for (let t = 0; t < 256; t++) Nn[t] = (t + 256).toString(16).slice(1);
@@ -2491,18 +2493,18 @@ function Vn() {
2491
2493
  }
2492
2494
  var Zn = class {
2493
2495
  constructor(t, e) {
2494
- this.R = t, this.P = e, this.$ = [], this.H = null, this.F = [], this.U = null, this.T = !1, this.B = !0, this.O = 0, this.j = 0, this.N = 0, this.q = t.flush.intervalMs;
2496
+ this.R = t, this.P = e, this.$ = [], this.H = null, this.F = [], this.U = null, this.T = !1, this.O = !0, this.B = 0, this.j = 0, this.N = 0, this.q = t.flush.intervalMs;
2495
2497
  }
2496
2498
  push(t) {
2497
2499
  if (this.T) {
2498
- if (this.$.length < this.W() ? this.$.push(t) : this.X(t), this.B) return this.$.length >= this.R.flush.size ? (C(this.H), this.H = null, void this.flush("capacity")) : void this.Y();
2500
+ if (this.$.length < this.W() ? this.$.push(t) : this.X(t), this.O) return this.$.length >= this.R.flush.size ? (C(this.H), this.H = null, void this.flush("capacity")) : void this.Y();
2499
2501
  } else e.warn("Transport", "push() called before start() — event dropped");
2500
2502
  }
2501
2503
  flush(t) {
2502
2504
  if (this.T && this.P.isActivityActive()) try {
2503
2505
  if ("lifecycle" === t) return void this.J();
2504
2506
  if (0 === this.$.length) return;
2505
- if ("submit" === t && !this.B) return;
2507
+ if ("submit" === t && !this.O) return;
2506
2508
  const n = "submit" === t;
2507
2509
  for (const i of this.G(!1)) {
2508
2510
  const o = this.V(i, t, n ? this.Z() : void 0);
@@ -2516,7 +2518,7 @@ var Zn = class {
2516
2518
  }
2517
2519
  }
2518
2520
  start() {
2519
- this.T || (this.T = !0, this.B = "undefined" == typeof navigator || navigator.onLine);
2521
+ this.T || (this.T = !0, this.O = "undefined" == typeof navigator || navigator.onLine);
2520
2522
  }
2521
2523
  stop() {
2522
2524
  if (!this.T) return Promise.resolve();
@@ -2526,23 +2528,23 @@ var Zn = class {
2526
2528
  }
2527
2529
  onConnectionChange() {
2528
2530
  const t = "undefined" == typeof navigator || navigator.onLine;
2529
- if (t !== this.B) {
2530
- if (this.B = t, !this.B) return C(this.H), this.H = null, C(this.U), void (this.U = null);
2531
+ if (t !== this.O) {
2532
+ if (this.O = t, !this.O) return C(this.H), this.H = null, C(this.U), void (this.U = null);
2531
2533
  this.$.length > 0 && this.Y(), this.F.length > 0 && this.et();
2532
2534
  }
2533
2535
  }
2534
2536
  Y() {
2535
- this.T && this.B && null === this.H && (this.H = D(() => {
2537
+ this.T && this.O && null === this.H && (this.H = D(() => {
2536
2538
  this.H = null, this.flush("interval");
2537
2539
  }, this.q));
2538
2540
  }
2539
2541
  et() {
2540
- this.T && this.B && null === this.U && (this.U = D(() => {
2542
+ this.T && this.O && null === this.U && (this.U = D(() => {
2541
2543
  this.U = null, this.nt();
2542
2544
  }, this.q));
2543
2545
  }
2544
2546
  nt() {
2545
- if (!this.T || !this.B || 0 === this.F.length || !this.P.isActivityActive()) return;
2547
+ if (!this.T || !this.O || 0 === this.F.length || !this.P.isActivityActive()) return;
2546
2548
  const t = this.F.shift();
2547
2549
  this.P.ingest(t.batch, !1).then((e) => this.it(e, t)).catch(() => {
2548
2550
  e.warn("Transport", "retry drain ingest threw unexpectedly — batch dropped"), this.F.length > 0 && this.et();
@@ -2565,13 +2567,13 @@ var Zn = class {
2565
2567
  } else this.F.length > 0 && this.et();
2566
2568
  }
2567
2569
  ct() {
2568
- this.O++, this.O % this.R.flush.backoffFailureThreshold === 0 && (this.q = Math.min(2 * this.q, this.R.flush.maxIntervalMs));
2570
+ this.B++, this.B % this.R.flush.backoffFailureThreshold === 0 && (this.q = Math.min(2 * this.q, this.R.flush.maxIntervalMs));
2569
2571
  }
2570
2572
  rt() {
2571
- this.O = 0, this.q = this.R.flush.intervalMs;
2573
+ this.B = 0, this.q = this.R.flush.intervalMs;
2572
2574
  }
2573
2575
  W() {
2574
- return this.R.queue.size * (this.B ? 1 : 2);
2576
+ return this.R.queue.size * (this.O ? 1 : 2);
2575
2577
  }
2576
2578
  async J() {
2577
2579
  if (!this.P.isActivityActive()) return Promise.resolve();
@@ -2687,7 +2689,7 @@ const ei = "function" == typeof BroadcastChannel ? BroadcastChannel : function()
2687
2689
  if (!t.key || !t.key.startsWith(`${ti}${this.channelName}:`)) return;
2688
2690
  if (null === t.newValue) return;
2689
2691
  let e;
2690
- I(() => An.remove(t.key));
2692
+ I(() => _n.remove(t.key));
2691
2693
  try {
2692
2694
  e = JSON.parse(t.newValue);
2693
2695
  } catch {
@@ -2701,7 +2703,7 @@ const ei = "function" == typeof BroadcastChannel ? BroadcastChannel : function()
2701
2703
  if (this.closed) return;
2702
2704
  const e = `${ti}${this.channelName}:${this.senderId}:${this.seq++}`;
2703
2705
  I(() => {
2704
- An.set(e, t), An.remove(e);
2706
+ _n.set(e, t), _n.remove(e);
2705
2707
  });
2706
2708
  }
2707
2709
  addEventListener(t, e) {
@@ -2739,7 +2741,7 @@ var ii = class {
2739
2741
  type: "bye",
2740
2742
  tabId: this.lt,
2741
2743
  ts: Date.now()
2742
- }), this.Mt(this.It()), this.Et(), this._t(), this.At());
2744
+ }), this.Mt(this.It()), this.At(), this.Et(), this._t());
2743
2745
  }
2744
2746
  getTabId() {
2745
2747
  return this.lt;
@@ -2754,7 +2756,7 @@ var ii = class {
2754
2756
  e.warn("TabManager", "failed to open broadcast channel:", t);
2755
2757
  }
2756
2758
  }
2757
- At() {
2759
+ _t() {
2758
2760
  try {
2759
2761
  if (!this.dt) return;
2760
2762
  this.vt && this.dt.removeEventListener("message", this.vt), this.dt.close();
@@ -2772,7 +2774,7 @@ var ii = class {
2772
2774
  });
2773
2775
  }, 1e3);
2774
2776
  }
2775
- Et() {
2777
+ At() {
2776
2778
  null != this.ft && (clearInterval(this.ft), this.ft = null);
2777
2779
  }
2778
2780
  St() {
@@ -2782,7 +2784,7 @@ var ii = class {
2782
2784
  t !== this.yt && (this.yt = t, this.Mt(t));
2783
2785
  }, 1e3);
2784
2786
  }
2785
- _t() {
2787
+ Et() {
2786
2788
  null != this.ht && (clearTimeout(this.ht), this.ht = null);
2787
2789
  }
2788
2790
  kt(t) {
@@ -2865,7 +2867,7 @@ async function ui(t) {
2865
2867
  return Promise.race([r, o]).finally(() => {
2866
2868
  C(i);
2867
2869
  });
2868
- }(() => import("./browser-pQZA35G2-DtkAf6sn.esm.js"), 1e4);
2870
+ }(() => import("./browser-pQZA35G2-C0fRj-ID.esm.js"), 1e4);
2869
2871
  ci = t, t.then((e) => {
2870
2872
  null === e && D(() => {
2871
2873
  ci === t && (ci = null);
@@ -3076,7 +3078,7 @@ function hi(t) {
3076
3078
  };
3077
3079
  }
3078
3080
  const d = await n.post(function(t) {
3079
- return t.length > 0 ? Bn[jn(t[0])] : Bn.tri;
3081
+ return t.length > 0 ? On[jn(t[0])] : On.tri;
3080
3082
  }(s), {
3081
3083
  body: u,
3082
3084
  token: i,
@@ -3284,13 +3286,13 @@ function xi(t, e = !1) {
3284
3286
  if (e) return null;
3285
3287
  const n = Mi(t, "labelledby");
3286
3288
  if (n) return {
3287
- text: Ei(n),
3289
+ text: Ai(n),
3288
3290
  resolutionMethod: "aria-labelledby",
3289
3291
  confidence: "high"
3290
3292
  };
3291
3293
  const i = Ii(t);
3292
3294
  if (i) return {
3293
- text: Ei(i),
3295
+ text: Ai(i),
3294
3296
  resolutionMethod: "aria-label",
3295
3297
  confidence: "high"
3296
3298
  };
@@ -3300,7 +3302,7 @@ function xi(t, e = !1) {
3300
3302
  return e ? Si(e) : null;
3301
3303
  }(t);
3302
3304
  if (o) return {
3303
- text: Ei(o),
3305
+ text: Ai(o),
3304
3306
  resolutionMethod: "html-for",
3305
3307
  confidence: "high"
3306
3308
  };
@@ -3309,7 +3311,7 @@ function xi(t, e = !1) {
3309
3311
  return e ? Si(e) : null;
3310
3312
  }(t);
3311
3313
  if (r) return {
3312
- text: Ei(r),
3314
+ text: Ai(r),
3313
3315
  resolutionMethod: "wrapping-label",
3314
3316
  confidence: "high"
3315
3317
  };
@@ -3317,7 +3319,7 @@ function xi(t, e = !1) {
3317
3319
  return t.getAttribute("placeholder")?.trim() ?? null;
3318
3320
  }(t);
3319
3321
  if (s) return {
3320
- text: Ei(s),
3322
+ text: Ai(s),
3321
3323
  resolutionMethod: "placeholder",
3322
3324
  confidence: "low"
3323
3325
  };
@@ -3325,13 +3327,13 @@ function xi(t, e = !1) {
3325
3327
  return t.getAttribute("title")?.trim() ?? null;
3326
3328
  }(t);
3327
3329
  if (a) return {
3328
- text: Ei(a),
3330
+ text: Ai(a),
3329
3331
  resolutionMethod: "title",
3330
3332
  confidence: "low"
3331
3333
  };
3332
3334
  const c = Mi(t, "describedby");
3333
3335
  if (c) return {
3334
- text: Ei(c),
3336
+ text: Ai(c),
3335
3337
  resolutionMethod: "aria-describedby",
3336
3338
  confidence: "low"
3337
3339
  };
@@ -3353,7 +3355,7 @@ function Si(t, e = 0) {
3353
3355
  const t = Si(i, e + 1);
3354
3356
  if (t && (n = n ? `${n} ${t}` : t, n.length >= yi)) break;
3355
3357
  }
3356
- return Ei(n);
3358
+ return Ai(n);
3357
3359
  }
3358
3360
  function Mi(t, e) {
3359
3361
  const n = "labelledby" === e ? "aria-labelledby" : "aria-describedby", i = t?.getAttribute(n);
@@ -3370,10 +3372,10 @@ function Mi(t, e) {
3370
3372
  function Ii(t) {
3371
3373
  return t?.getAttribute("aria-label")?.trim() ?? null;
3372
3374
  }
3373
- function Ei(t) {
3375
+ function Ai(t) {
3374
3376
  return t.length > yi ? t.slice(0, yi) + "..." : t;
3375
3377
  }
3376
- function _i(t) {
3378
+ function Ei(t) {
3377
3379
  const e = t.getBoundingClientRect();
3378
3380
  return {
3379
3381
  x: e.x,
@@ -3382,7 +3384,7 @@ function _i(t) {
3382
3384
  height: e.height
3383
3385
  };
3384
3386
  }
3385
- var Ai = class {
3387
+ var _i = class {
3386
3388
  constructor(t) {
3387
3389
  this.capacity = t, this.cache = /* @__PURE__ */ new Map();
3388
3390
  }
@@ -3456,9 +3458,9 @@ async function Ci(t, n) {
3456
3458
  function n(e) {
3457
3459
  t.flush(), t.stopTab(), t.getShouldSkipStopActivity() || t.stopActivity();
3458
3460
  }
3459
- const i = _((e) => {
3461
+ const i = E((e) => {
3460
3462
  e.persisted && t.resume();
3461
- }), o = _(() => t.onConnectionChange());
3463
+ }), o = E(() => t.onConnectionChange());
3462
3464
  return {
3463
3465
  start: function() {
3464
3466
  T(document, "visibilitychange", e), T(window, "pagehide", n), T(window, "pageshow", i), T(window, "online", o), T(window, "offline", o);
@@ -3481,7 +3483,7 @@ async function Ci(t, n) {
3481
3483
  }
3482
3484
  }
3483
3485
  }), p = function(t = {}) {
3484
- const { elementLevel: e, sanitizeUrl: n = mn } = t, i = e || "redact", o = new Ai(6), r = new Ai(6);
3486
+ const { elementLevel: e, sanitizeUrl: n = mn } = t, i = e || "redact", o = new _i(6), r = new _i(6);
3485
3487
  return { resolve: function(t, e) {
3486
3488
  if (!t || d(t) || "off" === i) return null;
3487
3489
  let s = o.get(t);
@@ -3523,10 +3525,10 @@ async function Ci(t, n) {
3523
3525
  const a = "redact" === s.redaction.level || "redact" === i || f(t), c = r.get(t);
3524
3526
  if (!c) {
3525
3527
  const e = function(t, e, i, o) {
3526
- const r = getComputedStyle(t), s = _i(t), a = function(t, e, n = !1, i = mn) {
3528
+ const r = getComputedStyle(t), s = Ei(t), a = function(t, e, n = !1, i = mn) {
3527
3529
  const o = [], r = [];
3528
3530
  for (let s = t.length - 1; s >= 0; s--) {
3529
- const a = t[s], c = n || s <= e, u = s + 1, l = vi(a, c, _i(a), i), { score: d, reasons: f } = gi(a, u);
3531
+ const a = t[s], c = n || s <= e, u = s + 1, l = vi(a, c, Ei(a), i), { score: d, reasons: f } = gi(a, u);
3530
3532
  if (o.push(l), !bi(d)) continue;
3531
3533
  const h = xi(a, c);
3532
3534
  r.push({
@@ -3556,7 +3558,7 @@ async function Ci(t, n) {
3556
3558
  }(t, r, s);
3557
3559
  let l = null;
3558
3560
  return i || (l = u.interactive ? xi(t) : null), {
3559
- elementId: O(t),
3561
+ elementId: B(t),
3560
3562
  tagName: c.tagName,
3561
3563
  frame: c.frame,
3562
3564
  viewport: Di(),
@@ -3572,7 +3574,7 @@ async function Ci(t, n) {
3572
3574
  }
3573
3575
  return e?.freshGeometry ? {
3574
3576
  ...c,
3575
- frame: _i(t),
3577
+ frame: Ei(t),
3576
3578
  viewport: Di()
3577
3579
  } : c;
3578
3580
  } };
@@ -3766,6 +3768,16 @@ let Li = class t {
3766
3768
  return e.warn("addFpSignals()", "failed:", t), !1;
3767
3769
  }
3768
3770
  }
3771
+ getActivityId() {
3772
+ const t = this.Lt;
3773
+ if (this.Rt !== yn || !t) return e.warn("getActivityId()", "getActivityId() called before start() completed — returning null."), null;
3774
+ try {
3775
+ const { activityManager: e } = t;
3776
+ return e.isActive() && e.getActivityId() || null;
3777
+ } catch (t) {
3778
+ return e.warn("getActivityId()", "failed:", t), null;
3779
+ }
3780
+ }
3769
3781
  };
3770
3782
  async function Ri(t, e) {
3771
3783
  const n = e?.apiURL ?? "https://falcon-ingest-k8s.stage.incodetest.com", i = e?.timeout ?? 1e4, o = new AbortController();