@incodetech/welcome 1.85.0-20251119174014.0 → 1.85.0-20251120160251.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.
@@ -432,12 +432,12 @@ var uaParser = { exports: {} };
432
432
  if (typeof U0 === Et)
433
433
  return U0 = U0.replace(/^\s\s*/, ft), typeof w0 === At ? U0 : U0.substring(0, Lt);
434
434
  }, $0 = function(U0, w0) {
435
- for (var S0 = 0, T0, J0, H0, X0, Z0, hn; S0 < w0.length && !Z0; ) {
436
- var tn = w0[S0], mn = w0[S0 + 1];
435
+ for (var S0 = 0, T0, J0, H0, X0, Z0, mn; S0 < w0.length && !Z0; ) {
436
+ var tn = w0[S0], un = w0[S0 + 1];
437
437
  for (T0 = J0 = 0; T0 < tn.length && !Z0 && tn[T0]; )
438
438
  if (Z0 = tn[T0++].exec(U0), Z0)
439
- for (H0 = 0; H0 < mn.length; H0++)
440
- hn = Z0[++J0], X0 = mn[H0], typeof X0 === xt && X0.length > 0 ? X0.length === 2 ? typeof X0[1] == gt ? this[X0[0]] = X0[1].call(this, hn) : this[X0[0]] = X0[1] : X0.length === 3 ? typeof X0[1] === gt && !(X0[1].exec && X0[1].test) ? this[X0[0]] = hn ? X0[1].call(this, hn, X0[2]) : tt : this[X0[0]] = hn ? hn.replace(X0[1], X0[2]) : tt : X0.length === 4 && (this[X0[0]] = hn ? X0[3].call(this, hn.replace(X0[1], X0[2])) : tt) : this[X0] = hn || tt;
439
+ for (H0 = 0; H0 < un.length; H0++)
440
+ mn = Z0[++J0], X0 = un[H0], typeof X0 === xt && X0.length > 0 ? X0.length === 2 ? typeof X0[1] == gt ? this[X0[0]] = X0[1].call(this, mn) : this[X0[0]] = X0[1] : X0.length === 3 ? typeof X0[1] === gt && !(X0[1].exec && X0[1].test) ? this[X0[0]] = mn ? X0[1].call(this, mn, X0[2]) : tt : this[X0[0]] = mn ? mn.replace(X0[1], X0[2]) : tt : X0.length === 4 && (this[X0[0]] = mn ? X0[3].call(this, mn.replace(X0[1], X0[2])) : tt) : this[X0] = mn || tt;
441
441
  S0 += 2;
442
442
  }
443
443
  }, Y0 = function(U0, w0) {
@@ -8374,7 +8374,7 @@ class MlWasmJSApi {
8374
8374
  );
8375
8375
  }
8376
8376
  }
8377
- const MlWasmJSApi$1 = MlWasmJSApi.getInstance(), version$4 = "1.85.0-20251119174014.0";
8377
+ const MlWasmJSApi$1 = MlWasmJSApi.getInstance(), version$4 = "1.85.0-20251120160251.0";
8378
8378
  function e$2(Be, Le) {
8379
8379
  return function(Ye, tt) {
8380
8380
  return Object.prototype.hasOwnProperty.call(Ye, tt);
@@ -13510,20 +13510,20 @@ function requireReactJsxRuntime_development() {
13510
13510
  return H0(O0, Gn, Sr, Nn, gn, j0.current, Yn);
13511
13511
  }
13512
13512
  }
13513
- var Z0 = wt.ReactCurrentOwner, hn = wt.ReactDebugCurrentFrame;
13513
+ var Z0 = wt.ReactCurrentOwner, mn = wt.ReactDebugCurrentFrame;
13514
13514
  function tn(O0) {
13515
13515
  if (O0) {
13516
13516
  var en = O0._owner, ln = s0(O0.type, O0._source, en ? en.type : null);
13517
- hn.setExtraStackFrame(ln);
13517
+ mn.setExtraStackFrame(ln);
13518
13518
  } else
13519
- hn.setExtraStackFrame(null);
13519
+ mn.setExtraStackFrame(null);
13520
13520
  }
13521
- var mn;
13522
- mn = !1;
13523
- function En(O0) {
13521
+ var un;
13522
+ un = !1;
13523
+ function kn(O0) {
13524
13524
  return typeof O0 == "object" && O0 !== null && O0.$$typeof === Le;
13525
13525
  }
13526
- function un() {
13526
+ function fn() {
13527
13527
  {
13528
13528
  if (Z0.current) {
13529
13529
  var O0 = Vt(Z0.current.type);
@@ -13535,13 +13535,13 @@ Check the render method of \`` + O0 + "`.";
13535
13535
  return "";
13536
13536
  }
13537
13537
  }
13538
- function Xn(O0) {
13538
+ function Kn(O0) {
13539
13539
  return "";
13540
13540
  }
13541
- var Pn = {};
13542
- function Dn(O0) {
13541
+ var Ln = {};
13542
+ function Fn(O0) {
13543
13543
  {
13544
- var en = un();
13544
+ var en = fn();
13545
13545
  if (!en) {
13546
13546
  var ln = typeof O0 == "string" ? O0 : O0.displayName || O0.name;
13547
13547
  ln && (en = `
@@ -13556,10 +13556,10 @@ Check the top-level render call using <` + ln + ">.");
13556
13556
  if (!O0._store || O0._store.validated || O0.key != null)
13557
13557
  return;
13558
13558
  O0._store.validated = !0;
13559
- var ln = Dn(en);
13560
- if (Pn[ln])
13559
+ var ln = Fn(en);
13560
+ if (Ln[ln])
13561
13561
  return;
13562
- Pn[ln] = !0;
13562
+ Ln[ln] = !0;
13563
13563
  var gn = "";
13564
13564
  O0 && O0._owner && O0._owner !== Z0.current && (gn = " It was passed a child from " + Vt(O0._owner.type) + "."), tn(O0), Tt('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', ln, gn), tn(null);
13565
13565
  }
@@ -13571,15 +13571,15 @@ Check the top-level render call using <` + ln + ">.");
13571
13571
  if (q0(O0))
13572
13572
  for (var ln = 0; ln < O0.length; ln++) {
13573
13573
  var gn = O0[ln];
13574
- En(gn) && er(gn, en);
13574
+ kn(gn) && er(gn, en);
13575
13575
  }
13576
- else if (En(O0))
13576
+ else if (kn(O0))
13577
13577
  O0._store && (O0._store.validated = !0);
13578
13578
  else if (O0) {
13579
13579
  var Nn = It(O0);
13580
13580
  if (typeof Nn == "function" && Nn !== O0.entries)
13581
13581
  for (var Wn = Nn.call(O0), Yn; !(Yn = Wn.next()).done; )
13582
- En(Yn.value) && er(Yn.value, en);
13582
+ kn(Yn.value) && er(Yn.value, en);
13583
13583
  }
13584
13584
  }
13585
13585
  }
@@ -13600,8 +13600,8 @@ Check the top-level render call using <` + ln + ">.");
13600
13600
  if (ln) {
13601
13601
  var gn = Vt(en);
13602
13602
  P0(ln, O0.props, "prop", gn, O0);
13603
- } else if (en.PropTypes !== void 0 && !mn) {
13604
- mn = !0;
13603
+ } else if (en.PropTypes !== void 0 && !un) {
13604
+ un = !0;
13605
13605
  var Nn = Vt(en);
13606
13606
  Tt("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Nn || "Unknown");
13607
13607
  }
@@ -13627,8 +13627,8 @@ Check the top-level render call using <` + ln + ">.");
13627
13627
  if (!Yn) {
13628
13628
  var Gn = "";
13629
13629
  (O0 === void 0 || typeof O0 == "object" && O0 !== null && Object.keys(O0).length === 0) && (Gn += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
13630
- var Sr = Xn();
13631
- Sr ? Gn += Sr : Gn += un();
13630
+ var Sr = Kn();
13631
+ Sr ? Gn += Sr : Gn += fn();
13632
13632
  var Cr;
13633
13633
  O0 === null ? Cr = "null" : q0(O0) ? Cr = "array" : O0 !== void 0 && O0.$$typeof === Le ? (Cr = "<" + (Vt(O0.type) || "Unknown") + " />", Gn = " Did you accidentally export a JSX literal instead of a component?") : Cr = typeof O0, Tt("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Cr, Gn);
13634
13634
  }
@@ -145571,16 +145571,16 @@ const multiPageDocumentTypes = [
145571
145571
  ".IncodeDefaultComponentContainer"
145572
145572
  );
145573
145573
  if (!tn) return;
145574
- const mn = [];
145575
- return tn.forEach((En) => {
145576
- const un = window.getComputedStyle(En);
145577
- mn.push({
145578
- el: En,
145579
- overflow: un.overflow
145580
- }), En.style.overflow = "hidden";
145574
+ const un = [];
145575
+ return tn.forEach((kn) => {
145576
+ const fn = window.getComputedStyle(kn);
145577
+ un.push({
145578
+ el: kn,
145579
+ overflow: fn.overflow
145580
+ }), kn.style.overflow = "hidden";
145581
145581
  }), () => {
145582
- mn.forEach(({ el: En, overflow: un }) => {
145583
- En.style.overflow = un;
145582
+ un.forEach(({ el: kn, overflow: fn }) => {
145583
+ kn.style.overflow = fn;
145584
145584
  });
145585
145585
  };
145586
145586
  }, []), useEffect(() => () => {
@@ -145601,39 +145601,39 @@ const multiPageDocumentTypes = [
145601
145601
  tn !== E0.current && (onFrameEmitter.emit("newFrame"), E0.current = tn, !Tt && zt && e0(!1)), requestAnimationFrame(L0);
145602
145602
  }, q0 = async (tn) => {
145603
145603
  if (Lt > 1) {
145604
- const mn = tn.getVideoTracks()[0];
145605
- mn && await zoomCamera(mn, Lt);
145604
+ const un = tn.getVideoTracks()[0];
145605
+ un && await zoomCamera(un, Lt);
145606
145606
  }
145607
145607
  await Et(tn);
145608
145608
  };
145609
145609
  useEventListener("visibilitychange", async () => {
145610
- var tn, mn;
145610
+ var tn, un;
145611
145611
  if (document.hidden)
145612
145612
  return p0.current.pending || (tn = n0.current) == null ? void 0 : tn.pause();
145613
145613
  if (!p0.current.pending)
145614
- return await ((mn = n0.current) == null ? void 0 : mn.play());
145614
+ return await ((un = n0.current) == null ? void 0 : un.play());
145615
145615
  }, document);
145616
145616
  const Y0 = async (tn) => {
145617
- const mn = tn.getVideoTracks()[0], En = await getDeviceCapabilities(), un = getChosenCameraInfo(
145618
- mn,
145617
+ const un = tn.getVideoTracks()[0], kn = await getDeviceCapabilities(), fn = getChosenCameraInfo(
145618
+ un,
145619
145619
  r0.current,
145620
145620
  Ye
145621
- ), { width: Xn, height: Pn } = mn.getSettings(), { focusMode: Dn = !1 } = navigator.mediaDevices.getSupportedConstraints();
145621
+ ), { width: Kn, height: Ln } = un.getSettings(), { focusMode: Fn = !1 } = navigator.mediaDevices.getSupportedConstraints();
145622
145622
  addEvent({
145623
145623
  code: "cameraType",
145624
145624
  payload: {
145625
145625
  type: "webRTC",
145626
- resolution: `${Xn}x${Pn}`,
145627
- autofocus: Dn,
145628
- label: mn.label
145626
+ resolution: `${Kn}x${Ln}`,
145627
+ autofocus: Fn,
145628
+ label: un.label
145629
145629
  },
145630
145630
  token: xt
145631
145631
  }), addEvent({
145632
145632
  code: "cameraDebugInfo",
145633
145633
  payload: {
145634
145634
  type: "webRTC",
145635
- availableCameras: En,
145636
- chosenCamera: un
145635
+ availableCameras: kn,
145636
+ chosenCamera: fn
145637
145637
  },
145638
145638
  token: xt
145639
145639
  }), tt && addEvent({
@@ -145652,20 +145652,20 @@ const multiPageDocumentTypes = [
145652
145652
  return;
145653
145653
  }
145654
145654
  if (tn.constructor.name === "DOMException") {
145655
- const mn = tn.name;
145656
- switch (mn) {
145655
+ const un = tn.name;
145656
+ switch (un) {
145657
145657
  case "NotAllowedError":
145658
145658
  addEvent({
145659
145659
  code: "permissionDenied",
145660
145660
  payload: {
145661
145661
  message: "User denied to use camera.",
145662
- errorType: mn
145662
+ errorType: un
145663
145663
  },
145664
145664
  token: xt
145665
145665
  }), ht(
145666
145666
  getLogObject("permissionDenied", {
145667
145667
  message: "User denied to use camera.",
145668
- errorType: mn
145668
+ errorType: un
145669
145669
  })
145670
145670
  ), tn.type = "permissionDenied", kt ? Xt(!0) : At(tn);
145671
145671
  break;
@@ -145696,65 +145696,65 @@ const multiPageDocumentTypes = [
145696
145696
  ), qt(!1));
145697
145697
  }, B0 = async (tn) => {
145698
145698
  if (Jt(!0), A0.current.registerStream(tn), Pt) {
145699
- const mn = async () => {
145699
+ const un = async () => {
145700
145700
  n0.current.srcObject = tn, await q0(tn), _t(tn), await n0.current.play();
145701
- }, En = tn.getVideoTracks()[0];
145702
- onboardingAnalytics.updateCameraInfo(En);
145703
- const un = await onboardingAnalytics.checkForVirtualCameraByLabel(
145704
- En
145701
+ }, kn = tn.getVideoTracks()[0];
145702
+ onboardingAnalytics.updateCameraInfo(kn);
145703
+ const fn = await onboardingAnalytics.checkForVirtualCameraByLabel(
145704
+ kn
145705
145705
  );
145706
- un != null && un.isDetected && (un.hasPriorDetection || await addDeviceStats(xt, {
145706
+ fn != null && fn.isDetected && (fn.hasPriorDetection || await addDeviceStats(xt, {
145707
145707
  cameraLabelInspectionStatus: "FAIL"
145708
- }), At(new Error("Virtual camera is detected"))), mobile.iOS() ? En.applyConstraints({
145708
+ }), At(new Error("Virtual camera is detected"))), mobile.iOS() ? kn.applyConstraints({
145709
145709
  //@ts-ignore
145710
145710
  advanced: [{ focusDistance: 1 }]
145711
145711
  }).finally(() => {
145712
- mn();
145713
- }) : mn();
145712
+ un();
145713
+ }) : un();
145714
145714
  } else {
145715
- const mn = async (Xn) => {
145716
- u0.current ? (n0.current.srcObject = Xn, _t(Xn), await q0(Xn), e0(!1), p0.current.resolve()) : (n0.current.autoplay = !1, n0.current.srcObject = Xn, await MlWasmJSApi$1.prc(), killStream(Xn), u0.current = !0, await M0());
145717
- }, En = tn.getVideoTracks()[0];
145718
- onboardingAnalytics.updateCameraInfo(En);
145719
- const un = await onboardingAnalytics.checkForVirtualCameraByLabel(
145720
- En
145715
+ const un = async (Kn) => {
145716
+ u0.current ? (n0.current.srcObject = Kn, _t(Kn), await q0(Kn), e0(!1), p0.current.resolve()) : (n0.current.autoplay = !1, n0.current.srcObject = Kn, await MlWasmJSApi$1.prc(), killStream(Kn), u0.current = !0, await M0());
145717
+ }, kn = tn.getVideoTracks()[0];
145718
+ onboardingAnalytics.updateCameraInfo(kn);
145719
+ const fn = await onboardingAnalytics.checkForVirtualCameraByLabel(
145720
+ kn
145721
145721
  );
145722
- un != null && un.isDetected && (un.hasPriorDetection || await addDeviceStats(xt, {
145722
+ fn != null && fn.isDetected && (fn.hasPriorDetection || await addDeviceStats(xt, {
145723
145723
  cameraLabelInspectionStatus: "FAIL"
145724
- }), At(new Error("Virtual camera is detected"))), mobile.iOS() ? En.applyConstraints({
145724
+ }), At(new Error("Virtual camera is detected"))), mobile.iOS() ? kn.applyConstraints({
145725
145725
  //@ts-ignore
145726
145726
  advanced: [{ focusDistance: 1 }]
145727
145727
  }).finally(() => {
145728
- mn(tn);
145729
- }) : mn(tn);
145728
+ un(tn);
145729
+ }) : un(tn);
145730
145730
  }
145731
145731
  }, j0 = (tn) => {
145732
145732
  if (p0.current.pending)
145733
145733
  return;
145734
145734
  p0.current.pending = !0;
145735
- let mn;
145736
- const En = new Promise((un) => {
145737
- mn = () => {
145738
- un(), p0.current.pending = !1;
145735
+ let un;
145736
+ const kn = new Promise((fn) => {
145737
+ un = () => {
145738
+ fn(), p0.current.pending = !1;
145739
145739
  };
145740
145740
  });
145741
- p0.current = { promise: En, resolve: mn }, tn && En.then(() => {
145741
+ p0.current = { promise: kn, resolve: un }, tn && kn.then(() => {
145742
145742
  n0.current.play();
145743
145743
  });
145744
145744
  }, I0 = async (tn = !1) => {
145745
145745
  if (p0.current.pending)
145746
145746
  return;
145747
- const mn = n0.current, En = mn.srcObject;
145748
- En && (mn.pause(), killStream(En), mn.srcObject = null), u0.current = !1, c0.current = !1, e0(Kt), j0(tn), await M0(!0), await p0.current.promise;
145747
+ const un = n0.current, kn = un.srcObject;
145748
+ kn && (un.pause(), killStream(kn), un.srcObject = null), u0.current = !1, c0.current = !1, e0(Kt), j0(tn), await M0(!0), await p0.current.promise;
145749
145749
  }, M0 = async (tn) => {
145750
145750
  if (o0) {
145751
145751
  await T0();
145752
145752
  return;
145753
145753
  }
145754
- isAndroid && Ye === "environment" && Tt && await A0.current.waitForCameraAvailability(), isAndroid && Ye === "environment" && await new Promise((un) => setTimeout(un, 100));
145755
- const mn = (un) => {
145756
- if (un.getVideoTracks()[0].readyState === "ended") {
145757
- const Pn = {
145754
+ isAndroid && Ye === "environment" && Tt && await A0.current.waitForCameraAvailability(), isAndroid && Ye === "environment" && await new Promise((fn) => setTimeout(fn, 100));
145755
+ const un = (fn) => {
145756
+ if (fn.getVideoTracks()[0].readyState === "ended") {
145757
+ const Ln = {
145758
145758
  message: "Camera track ended",
145759
145759
  errorType: "mediaStreamTrackError",
145760
145760
  errorDescription: "A MediaStreamTrack ended due to a capture failure"
@@ -145762,20 +145762,20 @@ const multiPageDocumentTypes = [
145762
145762
  addEvent({
145763
145763
  token: xt,
145764
145764
  code: "error",
145765
- payload: Pn
145765
+ payload: Ln
145766
145766
  }), At({
145767
- ...Pn,
145768
- type: Pn.errorType
145767
+ ...Ln,
145768
+ type: Ln.errorType
145769
145769
  });
145770
145770
  }
145771
145771
  };
145772
145772
  (async () => {
145773
- function un(Dn) {
145773
+ function fn(Fn) {
145774
145774
  const er = {
145775
145775
  resizeMode: "none",
145776
145776
  facingMode: "environment"
145777
145777
  };
145778
- switch (Dn) {
145778
+ switch (Fn) {
145779
145779
  case 0:
145780
145780
  return {
145781
145781
  ...er,
@@ -145811,9 +145811,9 @@ const multiPageDocumentTypes = [
145811
145811
  return {};
145812
145812
  }
145813
145813
  }
145814
- const Xn = async (Dn) => {
145814
+ const Kn = async (Fn) => {
145815
145815
  const er = {
145816
- video: Ye === "environment" ? un(Dn.current) : localStorage.getItem("isIPhone14OrHigher") === "true" ? {
145816
+ video: Ye === "environment" ? fn(Fn.current) : localStorage.getItem("isIPhone14OrHigher") === "true" ? {
145817
145817
  height: { ideal: 1080 }
145818
145818
  } : {
145819
145819
  facingMode: Ye,
@@ -145842,9 +145842,9 @@ const multiPageDocumentTypes = [
145842
145842
  );
145843
145843
  Hn.getTracks().forEach((O0) => O0.stop());
145844
145844
  let Un = 1280, ir = 720;
145845
- if (Dn.current > 1) {
145846
- const { width: O0, height: en } = un(
145847
- Dn.current
145845
+ if (Fn.current > 1) {
145846
+ const { width: O0, height: en } = fn(
145847
+ Fn.current
145848
145848
  );
145849
145849
  Un = O0 == null ? void 0 : O0.ideal, ir = en == null ? void 0 : en.ideal;
145850
145850
  }
@@ -145866,9 +145866,9 @@ const multiPageDocumentTypes = [
145866
145866
  await Y0(O0), B0(O0);
145867
145867
  });
145868
145868
  }).catch(async (Hn) => {
145869
- Dn.current = Dn.current + 1, Dn.current > 4 ? await z0(Hn) : Xn(Dn);
145869
+ Fn.current = Fn.current + 1, Fn.current > 4 ? await z0(Hn) : Kn(Fn);
145870
145870
  }) : navigator.mediaDevices.getUserMedia(mobile.any() ? er : $n).then(async (Hn) => {
145871
- await Y0(Hn), mn(Hn), B0(Hn);
145871
+ await Y0(Hn), un(Hn), B0(Hn);
145872
145872
  }).catch(async (Hn) => {
145873
145873
  await z0(Hn);
145874
145874
  });
@@ -145880,7 +145880,7 @@ const multiPageDocumentTypes = [
145880
145880
  B0(gt);
145881
145881
  return;
145882
145882
  }
145883
- e0(Kt), Xn(r0), addEvent({
145883
+ e0(Kt), Kn(r0), addEvent({
145884
145884
  token: xt,
145885
145885
  code: "cameraFeedbackDisplayed",
145886
145886
  payload: {
@@ -145890,8 +145890,8 @@ const multiPageDocumentTypes = [
145890
145890
  screen: `${nt} Camera Capture`
145891
145891
  });
145892
145892
  }
145893
- const Pn = document.createElement("canvas");
145894
- g0.current = Pn;
145893
+ const Ln = document.createElement("canvas");
145894
+ g0.current = Ln;
145895
145895
  })();
145896
145896
  };
145897
145897
  useEffect(() => (j0(!0), M0(), () => {
@@ -145911,31 +145911,31 @@ const multiPageDocumentTypes = [
145911
145911
  }));
145912
145912
  const V0 = ({
145913
145913
  width: tn = 0,
145914
- height: mn = 0,
145915
- useOriginalDimensions: En = !0
145914
+ height: un = 0,
145915
+ useOriginalDimensions: kn = !0
145916
145916
  }) => {
145917
145917
  if (!n0.current || !n0.current.videoHeight || !n0.current.videoWidth || !g0.current || !c0.current)
145918
145918
  return !1;
145919
- const un = n0.current.currentTime;
145920
- if (a0.current === un)
145919
+ const fn = n0.current.currentTime;
145920
+ if (a0.current === fn)
145921
145921
  return !1;
145922
- if (a0.current = un, En)
145922
+ if (a0.current = fn, kn)
145923
145923
  g0.current.width = n0.current.videoWidth, g0.current.height = n0.current.videoHeight;
145924
145924
  else {
145925
- if (tn === 0 || mn === 0)
145925
+ if (tn === 0 || un === 0)
145926
145926
  return !1;
145927
- g0.current.width = tn, g0.current.height = mn;
145927
+ g0.current.width = tn, g0.current.height = un;
145928
145928
  }
145929
- const Xn = g0.current.getContext("2d");
145930
- return Xn.clearRect(0, 0, g0.current.width, g0.current.height), Bt && rotateCanvasVertically(g0.current), Xn.drawImage(n0.current, 0, 0), !0;
145929
+ const Kn = g0.current.getContext("2d");
145930
+ return Kn.clearRect(0, 0, g0.current.width, g0.current.height), Bt && rotateCanvasVertically(g0.current), Kn.drawImage(n0.current, 0, 0), !0;
145931
145931
  }, U0 = ({
145932
145932
  width: tn = 0,
145933
- height: mn = 0,
145934
- useOriginalDimensions: En = !0
145933
+ height: un = 0,
145934
+ useOriginalDimensions: kn = !0
145935
145935
  } = {}) => V0({
145936
145936
  width: tn,
145937
- height: mn,
145938
- useOriginalDimensions: En
145937
+ height: un,
145938
+ useOriginalDimensions: kn
145939
145939
  }) ? new IncodeCanvas(g0.current) : null, w0 = () => n0.current ? n0.current.videoWidth > n0.current.videoHeight : !1, S0 = async () => {
145940
145940
  (Wt || mobile.Android()) && await T0(), P0(!0), sessionStorage.setItem("cameraPermissionsGranted", String(!0)), addEvent({
145941
145941
  token: xt,
@@ -145979,7 +145979,7 @@ const multiPageDocumentTypes = [
145979
145979
  module: "ID capture",
145980
145980
  screen: `${nt} Camera Capture`
145981
145981
  });
145982
- }, X0 = sessionStorage.getItem("cameraPermissionsGranted") === "true", Z0 = bt && (typeof jt < "u" && !jt && !d0 || typeof d0 < "u" && !d0) && !isDesktop && !Rt && !X0, hn = () => {
145982
+ }, X0 = sessionStorage.getItem("cameraPermissionsGranted") === "true", Z0 = bt && (typeof jt < "u" && !jt && !d0 || typeof d0 < "u" && !d0) && !isDesktop && !Rt && !X0, mn = () => {
145983
145983
  c0.current || (Le && typeof Le == "function" && (Le(), e0(!1)), c0.current = !0, requestAnimationFrame(L0));
145984
145984
  };
145985
145985
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment$1, { children: [
@@ -146011,7 +146011,7 @@ const multiPageDocumentTypes = [
146011
146011
  idv2: Dt
146012
146012
  }),
146013
146013
  playsInline: !0,
146014
- onPlay: hn,
146014
+ onPlay: mn,
146015
146015
  ref: n0,
146016
146016
  muted: !0
146017
146017
  }
@@ -146786,7 +146786,7 @@ lodash_min.exports;
146786
146786
  });
146787
146787
  }
146788
146788
  function Mt(F0) {
146789
- return F0 && F0.slice(0, s0(F0) + 1).replace(Cn, "");
146789
+ return F0 && F0.slice(0, s0(F0) + 1).replace(En, "");
146790
146790
  }
146791
146791
  function Xt(F0) {
146792
146792
  return function(nn) {
@@ -146874,7 +146874,7 @@ lodash_min.exports;
146874
146874
  return t0(F0) ? u0(F0) : bt(F0);
146875
146875
  }
146876
146876
  function s0(F0) {
146877
- for (var nn = F0.length; nn-- && Kn.test(F0.charAt(nn)); ) ;
146877
+ for (var nn = F0.length; nn-- && Xn.test(F0.charAt(nn)); ) ;
146878
146878
  return nn;
146879
146879
  }
146880
146880
  function f0(F0) {
@@ -146887,10 +146887,10 @@ lodash_min.exports;
146887
146887
  function A0(F0) {
146888
146888
  return F0.match(Mh) || [];
146889
146889
  }
146890
- var d0, P0 = "4.17.21", L0 = 200, q0 = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", $0 = "Expected a function", Y0 = "Invalid `variable` option passed into `_.template`", z0 = "__lodash_hash_undefined__", B0 = 500, j0 = "__lodash_placeholder__", I0 = 1, M0 = 2, V0 = 4, U0 = 1, w0 = 2, S0 = 1, T0 = 2, J0 = 4, H0 = 8, X0 = 16, Z0 = 32, hn = 64, tn = 128, mn = 256, En = 512, un = 30, Xn = "...", Pn = 800, Dn = 16, er = 1, dr = 2, $n = 3, Hn = 1 / 0, cn = 9007199254740991, wn = 17976931348623157e292, Vn = NaN, Un = 4294967295, ir = Un - 1, Ar = Un >>> 1, O0 = [["ary", tn], ["bind", S0], ["bindKey", T0], ["curry", H0], ["curryRight", X0], ["flip", En], ["partial", Z0], ["partialRight", hn], ["rearg", mn]], en = "[object Arguments]", ln = "[object Array]", gn = "[object AsyncFunction]", Nn = "[object Boolean]", Wn = "[object Date]", Yn = "[object DOMException]", Gn = "[object Error]", Sr = "[object Function]", Cr = "[object GeneratorFunction]", cr = "[object Map]", Br = "[object Number]", fa = "[object Null]", jr = "[object Object]", _r = "[object Promise]", Da = "[object Proxy]", Yi = "[object RegExp]", Jr = "[object Set]", rs = "[object String]", Ln = "[object Symbol]", P1 = "[object Undefined]", Ri = "[object WeakMap]", ha = "[object WeakSet]", Pa = "[object ArrayBuffer]", La = "[object DataView]", Eo = "[object Float32Array]", is = "[object Float64Array]", Co = "[object Int8Array]", ma = "[object Int16Array]", fi = "[object Int32Array]", Ma = "[object Uint8Array]", mr = "[object Uint8ClampedArray]", ko = "[object Uint16Array]", Bs = "[object Uint32Array]", nr = /\b__p \+= '';/g, p2 = /\b(__p \+=) '' \+/g, Or = /(__e\(.*?\)|\b__t\)) \+\n'';/g, m0 = /&(?:amp|lt|gt|quot|#39);/g, v0 = /[&<>"']/g, R0 = RegExp(m0.source), N0 = RegExp(v0.source), G0 = /<%-([\s\S]+?)%>/g, W0 = /<%([\s\S]+?)%>/g, Q0 = /<%=([\s\S]+?)%>/g, an = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, fn = /^\w*$/, sn = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, dn = /[\\^$.*+?()[\]{}|]/g, Rn = RegExp(dn.source), Cn = /^\s+/, Kn = /\s/, bn = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, yn = /\{\n\/\* \[wrapped with (.+)\] \*/, hr = /,? & /, pr = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Lr = /[()=,{}\[\]\/\s]/, Kr = /\\(\\)?/g, ec = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, yo = /\w*$/, as = /^[-+]0x[0-9a-f]+$/i, ga = /^0b[01]+$/i, vo = /^\[object .+?Constructor\]$/, ss = /^0o[0-7]+$/i, Os = /^(?:0|[1-9]\d*)$/, bo = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, _i = /($^)/, Zi = /['\n\r\u2028\u2029\\]/g, ei = "\\ud800-\\udfff", Io = "\\u0300-\\u036f", Fi = "\\ufe20-\\ufe2f", An = "\\u20d0-\\u20ff", Mn = Io + Fi + An, Nr = "\\u2700-\\u27bf", ja = "a-z\\xdf-\\xf6\\xf8-\\xff", Aa = "\\xac\\xb1\\xd7\\xf7", wr = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", _a = "\\u2000-\\u206f", Fa = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", So = "A-Z\\xc0-\\xd6\\xd8-\\xde", os = "\\ufe0e\\ufe0f", tc = Aa + wr + _a + Fa, f2 = "['’]", T3 = "[" + ei + "]", Ku = "[" + tc + "]", L1 = "[" + Mn + "]", $u = "\\d+", qu = "[" + Nr + "]", h2 = "[" + ja + "]", m2 = "[^" + ei + tc + $u + Nr + ja + So + "]", R3 = "\\ud83c[\\udffb-\\udfff]", wh = "(?:" + L1 + "|" + R3 + ")", Mp = "[^" + ei + "]", B3 = "(?:\\ud83c[\\udde6-\\uddff]){2}", O3 = "[\\ud800-\\udbff][\\udc00-\\udfff]", M1 = "[" + So + "]", jp = "\\u200d", _p = "(?:" + h2 + "|" + m2 + ")", Th = "(?:" + M1 + "|" + m2 + ")", Fp = "(?:" + f2 + "(?:d|ll|m|re|s|t|ve))?", Qp = "(?:" + f2 + "(?:D|LL|M|RE|S|T|VE))?", Vp = wh + "?", Up = "[" + os + "]?", Rh = "(?:" + jp + "(?:" + [Mp, B3, O3].join("|") + ")" + Up + Vp + ")*", Bh = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Oh = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Hp = Up + Vp + Rh, Nh = "(?:" + [qu, B3, O3].join("|") + ")" + Hp, Dh = "(?:" + [Mp + L1 + "?", L1, B3, O3, T3].join("|") + ")", Ph = RegExp(f2, "g"), Lh = RegExp(L1, "g"), N3 = RegExp(R3 + "(?=" + R3 + ")|" + Dh + Hp, "g"), Mh = RegExp([M1 + "?" + h2 + "+" + Fp + "(?=" + [Ku, M1, "$"].join("|") + ")", Th + "+" + Qp + "(?=" + [Ku, M1 + _p, "$"].join("|") + ")", M1 + "?" + _p + "+" + Fp, M1 + "+" + Qp, Oh, Bh, $u, Nh].join("|"), "g"), jh = RegExp("[" + jp + ei + Mn + os + "]"), _h = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/, Fh = ["Array", "Buffer", "DataView", "Date", "Error", "Float32Array", "Float64Array", "Function", "Int8Array", "Int16Array", "Int32Array", "Map", "Math", "Object", "Promise", "RegExp", "Set", "String", "Symbol", "TypeError", "Uint8Array", "Uint8ClampedArray", "Uint16Array", "Uint32Array", "WeakMap", "_", "clearTimeout", "isFinite", "parseInt", "setTimeout"], Qh = -1, Dr = {};
146890
+ var d0, P0 = "4.17.21", L0 = 200, q0 = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", $0 = "Expected a function", Y0 = "Invalid `variable` option passed into `_.template`", z0 = "__lodash_hash_undefined__", B0 = 500, j0 = "__lodash_placeholder__", I0 = 1, M0 = 2, V0 = 4, U0 = 1, w0 = 2, S0 = 1, T0 = 2, J0 = 4, H0 = 8, X0 = 16, Z0 = 32, mn = 64, tn = 128, un = 256, kn = 512, fn = 30, Kn = "...", Ln = 800, Fn = 16, er = 1, dr = 2, $n = 3, Hn = 1 / 0, cn = 9007199254740991, wn = 17976931348623157e292, Vn = NaN, Un = 4294967295, ir = Un - 1, Ar = Un >>> 1, O0 = [["ary", tn], ["bind", S0], ["bindKey", T0], ["curry", H0], ["curryRight", X0], ["flip", kn], ["partial", Z0], ["partialRight", mn], ["rearg", un]], en = "[object Arguments]", ln = "[object Array]", gn = "[object AsyncFunction]", Nn = "[object Boolean]", Wn = "[object Date]", Yn = "[object DOMException]", Gn = "[object Error]", Sr = "[object Function]", Cr = "[object GeneratorFunction]", cr = "[object Map]", Br = "[object Number]", fa = "[object Null]", jr = "[object Object]", _r = "[object Promise]", Da = "[object Proxy]", Yi = "[object RegExp]", Jr = "[object Set]", rs = "[object String]", Dn = "[object Symbol]", P1 = "[object Undefined]", Ri = "[object WeakMap]", ha = "[object WeakSet]", Pa = "[object ArrayBuffer]", La = "[object DataView]", Eo = "[object Float32Array]", is = "[object Float64Array]", Co = "[object Int8Array]", ma = "[object Int16Array]", fi = "[object Int32Array]", Ma = "[object Uint8Array]", mr = "[object Uint8ClampedArray]", ko = "[object Uint16Array]", Bs = "[object Uint32Array]", nr = /\b__p \+= '';/g, p2 = /\b(__p \+=) '' \+/g, Or = /(__e\(.*?\)|\b__t\)) \+\n'';/g, m0 = /&(?:amp|lt|gt|quot|#39);/g, v0 = /[&<>"']/g, R0 = RegExp(m0.source), N0 = RegExp(v0.source), G0 = /<%-([\s\S]+?)%>/g, W0 = /<%([\s\S]+?)%>/g, Q0 = /<%=([\s\S]+?)%>/g, an = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, hn = /^\w*$/, sn = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, dn = /[\\^$.*+?()[\]{}|]/g, Rn = RegExp(dn.source), En = /^\s+/, Xn = /\s/, bn = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, yn = /\{\n\/\* \[wrapped with (.+)\] \*/, hr = /,? & /, pr = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Lr = /[()=,{}\[\]\/\s]/, Kr = /\\(\\)?/g, ec = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, yo = /\w*$/, as = /^[-+]0x[0-9a-f]+$/i, ga = /^0b[01]+$/i, vo = /^\[object .+?Constructor\]$/, ss = /^0o[0-7]+$/i, Os = /^(?:0|[1-9]\d*)$/, bo = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, _i = /($^)/, Zi = /['\n\r\u2028\u2029\\]/g, ei = "\\ud800-\\udfff", Io = "\\u0300-\\u036f", Fi = "\\ufe20-\\ufe2f", An = "\\u20d0-\\u20ff", Pn = Io + Fi + An, Nr = "\\u2700-\\u27bf", ja = "a-z\\xdf-\\xf6\\xf8-\\xff", Aa = "\\xac\\xb1\\xd7\\xf7", wr = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", _a = "\\u2000-\\u206f", Fa = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", So = "A-Z\\xc0-\\xd6\\xd8-\\xde", os = "\\ufe0e\\ufe0f", tc = Aa + wr + _a + Fa, f2 = "['’]", T3 = "[" + ei + "]", Ku = "[" + tc + "]", L1 = "[" + Pn + "]", $u = "\\d+", qu = "[" + Nr + "]", h2 = "[" + ja + "]", m2 = "[^" + ei + tc + $u + Nr + ja + So + "]", R3 = "\\ud83c[\\udffb-\\udfff]", wh = "(?:" + L1 + "|" + R3 + ")", Mp = "[^" + ei + "]", B3 = "(?:\\ud83c[\\udde6-\\uddff]){2}", O3 = "[\\ud800-\\udbff][\\udc00-\\udfff]", M1 = "[" + So + "]", jp = "\\u200d", _p = "(?:" + h2 + "|" + m2 + ")", Th = "(?:" + M1 + "|" + m2 + ")", Fp = "(?:" + f2 + "(?:d|ll|m|re|s|t|ve))?", Qp = "(?:" + f2 + "(?:D|LL|M|RE|S|T|VE))?", Vp = wh + "?", Up = "[" + os + "]?", Rh = "(?:" + jp + "(?:" + [Mp, B3, O3].join("|") + ")" + Up + Vp + ")*", Bh = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Oh = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Hp = Up + Vp + Rh, Nh = "(?:" + [qu, B3, O3].join("|") + ")" + Hp, Dh = "(?:" + [Mp + L1 + "?", L1, B3, O3, T3].join("|") + ")", Ph = RegExp(f2, "g"), Lh = RegExp(L1, "g"), N3 = RegExp(R3 + "(?=" + R3 + ")|" + Dh + Hp, "g"), Mh = RegExp([M1 + "?" + h2 + "+" + Fp + "(?=" + [Ku, M1, "$"].join("|") + ")", Th + "+" + Qp + "(?=" + [Ku, M1 + _p, "$"].join("|") + ")", M1 + "?" + _p + "+" + Fp, M1 + "+" + Qp, Oh, Bh, $u, Nh].join("|"), "g"), jh = RegExp("[" + jp + ei + Pn + os + "]"), _h = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/, Fh = ["Array", "Buffer", "DataView", "Date", "Error", "Float32Array", "Float64Array", "Function", "Int8Array", "Int16Array", "Int32Array", "Map", "Math", "Object", "Promise", "RegExp", "Set", "String", "Symbol", "TypeError", "Uint8Array", "Uint8ClampedArray", "Uint16Array", "Uint32Array", "WeakMap", "_", "clearTimeout", "isFinite", "parseInt", "setTimeout"], Qh = -1, Dr = {};
146891
146891
  Dr[Eo] = Dr[is] = Dr[Co] = Dr[ma] = Dr[fi] = Dr[Ma] = Dr[mr] = Dr[ko] = Dr[Bs] = !0, Dr[en] = Dr[ln] = Dr[Pa] = Dr[Nn] = Dr[La] = Dr[Wn] = Dr[Gn] = Dr[Sr] = Dr[cr] = Dr[Br] = Dr[jr] = Dr[Yi] = Dr[Jr] = Dr[rs] = Dr[Ri] = !1;
146892
146892
  var Tr = {};
146893
- Tr[en] = Tr[ln] = Tr[Pa] = Tr[La] = Tr[Nn] = Tr[Wn] = Tr[Eo] = Tr[is] = Tr[Co] = Tr[ma] = Tr[fi] = Tr[cr] = Tr[Br] = Tr[jr] = Tr[Yi] = Tr[Jr] = Tr[rs] = Tr[Ln] = Tr[Ma] = Tr[mr] = Tr[ko] = Tr[Bs] = !0, Tr[Gn] = Tr[Sr] = Tr[Ri] = !1;
146893
+ Tr[en] = Tr[ln] = Tr[Pa] = Tr[La] = Tr[Nn] = Tr[Wn] = Tr[Eo] = Tr[is] = Tr[Co] = Tr[ma] = Tr[fi] = Tr[cr] = Tr[Br] = Tr[jr] = Tr[Yi] = Tr[Jr] = Tr[rs] = Tr[Dn] = Tr[Ma] = Tr[mr] = Tr[ko] = Tr[Bs] = !0, Tr[Gn] = Tr[Sr] = Tr[Ri] = !1;
146894
146894
  var Vh = {
146895
146895
  À: "A",
146896
146896
  Á: "A",
@@ -147118,20 +147118,20 @@ lodash_min.exports;
147118
147118
  function Jh() {
147119
147119
  var Ot = this.__wrapped__.value(), Ft = this.__dir__, Zt = qn(Ot), l0 = Ft < 0, x0 = Zt ? Ot.length : 0, b0 = l8(0, x0, this.__views__), D0 = b0.start, _0 = b0.end, K0 = _0 - D0, on = l0 ? _0 : D0 - 1, rn = this.__iteratees__, pn = rn.length, vn = 0, Bn = ki(K0, this.__takeCount__);
147120
147120
  if (!Zt || !l0 && x0 == K0 && Bn == K0) return x5(Ot, this.__actions__);
147121
- var jn = [];
147121
+ var Mn = [];
147122
147122
  e: for (; K0-- && vn < Bn; ) {
147123
147123
  on += Ft;
147124
- for (var Zn = -1, _n = Ot[on]; ++Zn < pn; ) {
147125
- var sr = rn[Zn], or = sr.iteratee, vi = sr.type, zi = or(_n);
147126
- if (vi == dr) _n = zi;
147124
+ for (var Zn = -1, jn = Ot[on]; ++Zn < pn; ) {
147125
+ var sr = rn[Zn], or = sr.iteratee, vi = sr.type, zi = or(jn);
147126
+ if (vi == dr) jn = zi;
147127
147127
  else if (!zi) {
147128
147128
  if (vi == er) continue e;
147129
147129
  break e;
147130
147130
  }
147131
147131
  }
147132
- jn[vn++] = _n;
147132
+ Mn[vn++] = jn;
147133
147133
  }
147134
- return jn;
147134
+ return Mn;
147135
147135
  }
147136
147136
  function A2(Ot) {
147137
147137
  var Ft = -1, Zt = Ot == null ? 0 : Ot.length;
@@ -147314,14 +147314,14 @@ lodash_min.exports;
147314
147314
  b0 || (b0 = new Qa());
147315
147315
  var Bn = b0.get(Ot);
147316
147316
  if (Bn) return Bn;
147317
- b0.set(Ot, D0), jf(Ot) ? Ot.forEach(function(_n) {
147318
- D0.add(Ea(_n, Ft, Zt, _n, Ot, b0));
147319
- }) : Mf(Ot) && Ot.forEach(function(_n, sr) {
147320
- D0.set(sr, Ea(_n, Ft, Zt, sr, Ot, b0));
147317
+ b0.set(Ot, D0), jf(Ot) ? Ot.forEach(function(jn) {
147318
+ D0.add(Ea(jn, Ft, Zt, jn, Ot, b0));
147319
+ }) : Mf(Ot) && Ot.forEach(function(jn, sr) {
147320
+ D0.set(sr, Ea(jn, Ft, Zt, sr, Ot, b0));
147321
147321
  });
147322
- var jn = on ? K0 ? r9 : n9 : K0 ? Hi : oi, Zn = rn ? d0 : jn(Ot);
147323
- return nt(Zn || Ot, function(_n, sr) {
147324
- Zn && (sr = _n, _n = Ot[sr]), nc(D0, sr, Ea(_n, Ft, Zt, sr, Ot, b0));
147322
+ var Mn = on ? K0 ? r9 : n9 : K0 ? Hi : oi, Zn = rn ? d0 : Mn(Ot);
147323
+ return nt(Zn || Ot, function(jn, sr) {
147324
+ Zn && (sr = jn, jn = Ot[sr]), nc(D0, sr, Ea(jn, Ft, Zt, sr, Ot, b0));
147325
147325
  }), D0;
147326
147326
  }
147327
147327
  function S6(Ot) {
@@ -147433,13 +147433,13 @@ lodash_min.exports;
147433
147433
  rn = Ot[0];
147434
147434
  var pn = -1, vn = _0[0];
147435
147435
  e: for (; ++pn < x0 && on.length < K0; ) {
147436
- var Bn = rn[pn], jn = Ft ? Ft(Bn) : Bn;
147437
- if (Bn = Zt || Bn !== 0 ? Bn : 0, !(vn ? _t(vn, jn) : l0(on, jn, Zt))) {
147436
+ var Bn = rn[pn], Mn = Ft ? Ft(Bn) : Bn;
147437
+ if (Bn = Zt || Bn !== 0 ? Bn : 0, !(vn ? _t(vn, Mn) : l0(on, Mn, Zt))) {
147438
147438
  for (D0 = b0; --D0; ) {
147439
147439
  var Zn = _0[D0];
147440
- if (!(Zn ? _t(Zn, jn) : l0(Ot[D0], jn, Zt))) continue e;
147440
+ if (!(Zn ? _t(Zn, Mn) : l0(Ot[D0], Mn, Zt))) continue e;
147441
147441
  }
147442
- vn && vn.push(jn), on.push(Bn);
147442
+ vn && vn.push(Mn), on.push(Bn);
147443
147443
  }
147444
147444
  }
147445
147445
  return on;
@@ -147476,10 +147476,10 @@ lodash_min.exports;
147476
147476
  }
147477
147477
  if (vn && !rn) return b0 || (b0 = new Qa()), D0 || X1(Ot) ? j5(Ot, Ft, Zt, l0, x0, b0) : a8(Ot, Ft, K0, Zt, l0, x0, b0);
147478
147478
  if (!(Zt & U0)) {
147479
- var Bn = rn && kr.call(Ot, "__wrapped__"), jn = pn && kr.call(Ft, "__wrapped__");
147480
- if (Bn || jn) {
147481
- var Zn = Bn ? Ot.value() : Ot, _n = jn ? Ft.value() : Ft;
147482
- return b0 || (b0 = new Qa()), x0(Zn, _n, Zt, l0, b0);
147479
+ var Bn = rn && kr.call(Ot, "__wrapped__"), Mn = pn && kr.call(Ft, "__wrapped__");
147480
+ if (Bn || Mn) {
147481
+ var Zn = Bn ? Ot.value() : Ot, jn = Mn ? Ft.value() : Ft;
147482
+ return b0 || (b0 = new Qa()), x0(Zn, jn, Zt, l0, b0);
147483
147483
  }
147484
147484
  }
147485
147485
  return !!vn && (b0 || (b0 = new Qa()), s8(Ot, Ft, Zt, l0, x0, b0));
@@ -147569,8 +147569,8 @@ lodash_min.exports;
147569
147569
  if (on) return M3(Ot, Zt, on), d0;
147570
147570
  var rn = b0 ? b0(_0, K0, Zt + "", Ot, Ft, D0) : d0, pn = rn === d0;
147571
147571
  if (pn) {
147572
- var vn = qn(K0), Bn = !vn && No(K0), jn = !vn && !Bn && X1(K0);
147573
- rn = K0, vn || Bn || jn ? qn(_0) ? rn = _0 : $r(_0) ? rn = Vi(_0) : Bn ? (pn = !1, rn = C5(K0, !0)) : jn ? (pn = !1, rn = k5(K0, !0)) : rn = [] : uc(K0) || b2(K0) ? (rn = _0, b2(_0) ? rn = pf(_0) : Fr(_0) && !_s(_0) || (rn = F5(K0))) : pn = !1;
147572
+ var vn = qn(K0), Bn = !vn && No(K0), Mn = !vn && !Bn && X1(K0);
147573
+ rn = K0, vn || Bn || Mn ? qn(_0) ? rn = _0 : $r(_0) ? rn = Vi(_0) : Bn ? (pn = !1, rn = C5(K0, !0)) : Mn ? (pn = !1, rn = k5(K0, !0)) : rn = [] : uc(K0) || b2(K0) ? (rn = _0, b2(_0) ? rn = pf(_0) : Fr(_0) && !_s(_0) || (rn = F5(K0))) : pn = !1;
147574
147574
  }
147575
147575
  pn && (D0.set(K0, rn), x0(rn, K0, l0, b0, D0), D0.delete(K0)), M3(Ot, Zt, rn);
147576
147576
  }
@@ -147695,10 +147695,10 @@ lodash_min.exports;
147695
147695
  if (b0 === 0) return 0;
147696
147696
  Ft = Zt(Ft);
147697
147697
  for (var D0 = Ft !== Ft, _0 = Ft === null, K0 = ea(Ft), on = Ft === d0; x0 < b0; ) {
147698
- var rn = Rd((x0 + b0) / 2), pn = Zt(Ot[rn]), vn = pn !== d0, Bn = pn === null, jn = pn === pn, Zn = ea(pn);
147699
- if (D0) var _n = l0 || jn;
147700
- else _n = on ? jn && (l0 || vn) : _0 ? jn && vn && (l0 || !Bn) : K0 ? jn && vn && !Bn && (l0 || !Zn) : !Bn && !Zn && (l0 ? pn <= Ft : pn < Ft);
147701
- _n ? x0 = rn + 1 : b0 = rn;
147698
+ var rn = Rd((x0 + b0) / 2), pn = Zt(Ot[rn]), vn = pn !== d0, Bn = pn === null, Mn = pn === pn, Zn = ea(pn);
147699
+ if (D0) var jn = l0 || Mn;
147700
+ else jn = on ? Mn && (l0 || vn) : _0 ? Mn && vn && (l0 || !Bn) : K0 ? Mn && vn && !Bn && (l0 || !Zn) : !Bn && !Zn && (l0 ? pn <= Ft : pn < Ft);
147701
+ jn ? x0 = rn + 1 : b0 = rn;
147702
147702
  }
147703
147703
  return ki(b0, ir);
147704
147704
  }
@@ -147959,7 +147959,7 @@ lodash_min.exports;
147959
147959
  for (l0 = D0 ? l0 : Zt; ++l0 < Zt; ) {
147960
147960
  b0 = Ft[l0];
147961
147961
  var _0 = cd(b0), K0 = _0 == "wrapper" ? I9(b0) : d0;
147962
- D0 = K0 && s9(K0[0]) && K0[1] == (tn | H0 | Z0 | mn) && !K0[4].length && K0[9] == 1 ? D0[cd(K0[0])].apply(D0, K0[3]) : b0.length == 1 && s9(b0) ? D0[_0]() : D0.thru(b0);
147962
+ D0 = K0 && s9(K0[0]) && K0[1] == (tn | H0 | Z0 | un) && !K0[4].length && K0[9] == 1 ? D0[cd(K0[0])].apply(D0, K0[3]) : b0.length == 1 && s9(b0) ? D0[_0]() : D0.thru(b0);
147963
147963
  }
147964
147964
  return function() {
147965
147965
  var on = arguments, rn = on[0];
@@ -147972,13 +147972,13 @@ lodash_min.exports;
147972
147972
  function ad(Ot, Ft, Zt, l0, x0, b0, D0, _0, K0, on) {
147973
147973
  function rn() {
147974
147974
  for (var sr = arguments.length, or = ti(sr), vi = sr; vi--; ) or[vi] = arguments[vi];
147975
- if (jn) var zi = Q1(rn), Do = zt(or, zi);
147976
- if (l0 && (or = b5(or, l0, x0, jn)), b0 && (or = I5(or, b0, D0, jn)), sr -= Do, jn && sr < on)
147975
+ if (Mn) var zi = Q1(rn), Do = zt(or, zi);
147976
+ if (l0 && (or = b5(or, l0, x0, Mn)), b0 && (or = I5(or, b0, D0, Mn)), sr -= Do, Mn && sr < on)
147977
147977
  return D5(Ot, Ft, ad, rn.placeholder, Zt, or, E0(or, zi), _0, K0, on - sr);
147978
147978
  var zr = vn ? Zt : this, ba = Bn ? zr[Ot] : Ot;
147979
- return sr = or.length, _0 ? or = C8(or, _0) : Zn && sr > 1 && or.reverse(), pn && K0 < sr && (or.length = K0), this && this !== hi && this instanceof rn && (ba = _n || oc(ba)), ba.apply(zr, or);
147979
+ return sr = or.length, _0 ? or = C8(or, _0) : Zn && sr > 1 && or.reverse(), pn && K0 < sr && (or.length = K0), this && this !== hi && this instanceof rn && (ba = jn || oc(ba)), ba.apply(zr, or);
147980
147980
  }
147981
- var pn = Ft & tn, vn = Ft & S0, Bn = Ft & T0, jn = Ft & (H0 | X0), Zn = Ft & En, _n = Bn ? d0 : oc(Ot);
147981
+ var pn = Ft & tn, vn = Ft & S0, Bn = Ft & T0, Mn = Ft & (H0 | X0), Zn = Ft & kn, jn = Bn ? d0 : oc(Ot);
147982
147982
  return rn;
147983
147983
  }
147984
147984
  function O5(Ot, Ft) {
@@ -148034,10 +148034,10 @@ lodash_min.exports;
148034
148034
  };
148035
148035
  }
148036
148036
  function D5(Ot, Ft, Zt, l0, x0, b0, D0, _0, K0, on) {
148037
- var rn = Ft & H0, pn = rn ? D0 : d0, vn = rn ? d0 : D0, Bn = rn ? b0 : d0, jn = rn ? d0 : b0;
148038
- Ft |= rn ? Z0 : hn, Ft &= ~(rn ? hn : Z0), Ft & J0 || (Ft &= -4);
148039
- var Zn = [Ot, Ft, x0, Bn, pn, jn, vn, _0, K0, on], _n = Zt.apply(d0, Zn);
148040
- return s9(Ot) && Nf(_n, Zn), _n.placeholder = l0, G5(_n, Ot, Ft);
148037
+ var rn = Ft & H0, pn = rn ? D0 : d0, vn = rn ? d0 : D0, Bn = rn ? b0 : d0, Mn = rn ? d0 : b0;
148038
+ Ft |= rn ? Z0 : mn, Ft &= ~(rn ? mn : Z0), Ft & J0 || (Ft &= -4);
148039
+ var Zn = [Ot, Ft, x0, Bn, pn, Mn, vn, _0, K0, on], jn = Zt.apply(d0, Zn);
148040
+ return s9(Ot) && Nf(jn, Zn), jn.placeholder = l0, G5(jn, Ot, Ft);
148041
148041
  }
148042
148042
  function t9(Ot) {
148043
148043
  var Ft = U1[Ot];
@@ -148059,14 +148059,14 @@ lodash_min.exports;
148059
148059
  var K0 = Ft & T0;
148060
148060
  if (!K0 && typeof Ot != "function") throw new va($0);
148061
148061
  var on = l0 ? l0.length : 0;
148062
- if (on || (Ft &= -97, l0 = x0 = d0), D0 = D0 === d0 ? D0 : ni(tr(D0), 0), _0 = _0 === d0 ? _0 : tr(_0), on -= x0 ? x0.length : 0, Ft & hn) {
148062
+ if (on || (Ft &= -97, l0 = x0 = d0), D0 = D0 === d0 ? D0 : ni(tr(D0), 0), _0 = _0 === d0 ? _0 : tr(_0), on -= x0 ? x0.length : 0, Ft & mn) {
148063
148063
  var rn = l0, pn = x0;
148064
148064
  l0 = x0 = d0;
148065
148065
  }
148066
148066
  var vn = K0 ? d0 : I9(Ot), Bn = [Ot, Ft, Zt, l0, x0, rn, pn, b0, D0, _0];
148067
- if (vn && A8(Bn, vn), Ot = Bn[0], Ft = Bn[1], Zt = Bn[2], l0 = Bn[3], x0 = Bn[4], _0 = Bn[9] = Bn[9] === d0 ? K0 ? 0 : Ot.length : ni(Bn[9] - on, 0), !_0 && Ft & (H0 | X0) && (Ft &= -25), Ft && Ft != S0) jn = Ft == H0 || Ft == X0 ? n8(Ot, Ft, _0) : Ft != Z0 && Ft != (S0 | Z0) || x0.length ? ad.apply(d0, Bn) : r8(Ot, Ft, Zt, l0);
148068
- else var jn = t8(Ot, Ft, Zt);
148069
- return G5((vn ? Rf : Nf)(jn, Bn), Ot, Ft);
148067
+ if (vn && A8(Bn, vn), Ot = Bn[0], Ft = Bn[1], Zt = Bn[2], l0 = Bn[3], x0 = Bn[4], _0 = Bn[9] = Bn[9] === d0 ? K0 ? 0 : Ot.length : ni(Bn[9] - on, 0), !_0 && Ft & (H0 | X0) && (Ft &= -25), Ft && Ft != S0) Mn = Ft == H0 || Ft == X0 ? n8(Ot, Ft, _0) : Ft != Z0 && Ft != (S0 | Z0) || x0.length ? ad.apply(d0, Bn) : r8(Ot, Ft, Zt, l0);
148068
+ else var Mn = t8(Ot, Ft, Zt);
148069
+ return G5((vn ? Rf : Nf)(Mn, Bn), Ot, Ft);
148070
148070
  }
148071
148071
  function L5(Ot, Ft, Zt, l0) {
148072
148072
  return Ot === d0 || Va(Ot, H1[Zt]) && !kr.call(l0, Zt) ? Ft : Ot;
@@ -148084,21 +148084,21 @@ lodash_min.exports;
148084
148084
  if (on && rn) return on == Ft && rn == Ot;
148085
148085
  var pn = -1, vn = !0, Bn = Zt & w0 ? new x2() : d0;
148086
148086
  for (b0.set(Ot, Ft), b0.set(Ft, Ot); ++pn < _0; ) {
148087
- var jn = Ot[pn], Zn = Ft[pn];
148088
- if (l0) var _n = D0 ? l0(Zn, jn, pn, Ft, Ot, b0) : l0(jn, Zn, pn, Ot, Ft, b0);
148089
- if (_n !== d0) {
148090
- if (_n) continue;
148087
+ var Mn = Ot[pn], Zn = Ft[pn];
148088
+ if (l0) var jn = D0 ? l0(Zn, Mn, pn, Ft, Ot, b0) : l0(Mn, Zn, pn, Ot, Ft, b0);
148089
+ if (jn !== d0) {
148090
+ if (jn) continue;
148091
148091
  vn = !1;
148092
148092
  break;
148093
148093
  }
148094
148094
  if (Bn) {
148095
148095
  if (!vt(Ft, function(sr, or) {
148096
- if (!_t(Bn, or) && (jn === sr || x0(jn, sr, Zt, l0, b0))) return Bn.push(or);
148096
+ if (!_t(Bn, or) && (Mn === sr || x0(Mn, sr, Zt, l0, b0))) return Bn.push(or);
148097
148097
  })) {
148098
148098
  vn = !1;
148099
148099
  break;
148100
148100
  }
148101
- } else if (jn !== Zn && !x0(jn, Zn, Zt, l0, b0)) {
148101
+ } else if (Mn !== Zn && !x0(Mn, Zn, Zt, l0, b0)) {
148102
148102
  vn = !1;
148103
148103
  break;
148104
148104
  }
@@ -148131,7 +148131,7 @@ lodash_min.exports;
148131
148131
  l0 |= w0, D0.set(Ot, Ft);
148132
148132
  var rn = j5(_0(Ot), _0(Ft), l0, x0, b0, D0);
148133
148133
  return D0.delete(Ot), rn;
148134
- case Ln:
148134
+ case Dn:
148135
148135
  if (mc) return mc.call(Ot) == mc.call(Ft);
148136
148136
  }
148137
148137
  return !1;
@@ -148147,17 +148147,17 @@ lodash_min.exports;
148147
148147
  if (pn && vn) return pn == Ft && vn == Ot;
148148
148148
  var Bn = !0;
148149
148149
  b0.set(Ot, Ft), b0.set(Ft, Ot);
148150
- for (var jn = D0; ++on < K0; ) {
148150
+ for (var Mn = D0; ++on < K0; ) {
148151
148151
  rn = _0[on];
148152
- var Zn = Ot[rn], _n = Ft[rn];
148153
- if (l0) var sr = D0 ? l0(_n, Zn, rn, Ft, Ot, b0) : l0(Zn, _n, rn, Ot, Ft, b0);
148154
- if (!(sr === d0 ? Zn === _n || x0(Zn, _n, Zt, l0, b0) : sr)) {
148152
+ var Zn = Ot[rn], jn = Ft[rn];
148153
+ if (l0) var sr = D0 ? l0(jn, Zn, rn, Ft, Ot, b0) : l0(Zn, jn, rn, Ot, Ft, b0);
148154
+ if (!(sr === d0 ? Zn === jn || x0(Zn, jn, Zt, l0, b0) : sr)) {
148155
148155
  Bn = !1;
148156
148156
  break;
148157
148157
  }
148158
- jn || (jn = rn == "constructor");
148158
+ Mn || (Mn = rn == "constructor");
148159
148159
  }
148160
- if (Bn && !jn) {
148160
+ if (Bn && !Mn) {
148161
148161
  var or = Ot.constructor, vi = Ft.constructor;
148162
148162
  or != vi && "constructor" in Ot && "constructor" in Ft && !(typeof or == "function" && or instanceof or && typeof vi == "function" && vi instanceof vi) && (Bn = !1);
148163
148163
  }
@@ -148279,7 +148279,7 @@ lodash_min.exports;
148279
148279
  return q6(Ot);
148280
148280
  case Jr:
148281
148281
  return new l0();
148282
- case Ln:
148282
+ case Dn:
148283
148283
  return Y6(Ot);
148284
148284
  }
148285
148285
  }
@@ -148306,7 +148306,7 @@ lodash_min.exports;
148306
148306
  function a9(Ot, Ft) {
148307
148307
  if (qn(Ot)) return !1;
148308
148308
  var Zt = typeof Ot;
148309
- return !(Zt != "number" && Zt != "symbol" && Zt != "boolean" && Ot != null && !ea(Ot)) || fn.test(Ot) || !an.test(Ot) || Ft != null && Ot in Pr(Ft);
148309
+ return !(Zt != "number" && Zt != "symbol" && Zt != "boolean" && Ot != null && !ea(Ot)) || hn.test(Ot) || !an.test(Ot) || Ft != null && Ot in Pr(Ft);
148310
148310
  }
148311
148311
  function h8(Ot) {
148312
148312
  var Ft = typeof Ot;
@@ -148341,7 +148341,7 @@ lodash_min.exports;
148341
148341
  return Ft;
148342
148342
  }
148343
148343
  function A8(Ot, Ft) {
148344
- var Zt = Ot[1], l0 = Ft[1], x0 = Zt | l0, b0 = x0 < (S0 | T0 | tn), D0 = l0 == tn && Zt == H0 || l0 == tn && Zt == mn && Ot[7].length <= Ft[8] || l0 == (tn | mn) && Ft[7].length <= Ft[8] && Zt == H0;
148344
+ var Zt = Ot[1], l0 = Ft[1], x0 = Zt | l0, b0 = x0 < (S0 | T0 | tn), D0 = l0 == tn && Zt == H0 || l0 == tn && Zt == un && Ot[7].length <= Ft[8] || l0 == (tn | un) && Ft[7].length <= Ft[8] && Zt == H0;
148345
148345
  if (!b0 && !D0) return Ot;
148346
148346
  l0 & S0 && (Ot[2] = Ft[2], x0 |= Zt & S0 ? 0 : J0);
148347
148347
  var _0 = Ft[3];
@@ -148387,9 +148387,9 @@ lodash_min.exports;
148387
148387
  function z5(Ot) {
148388
148388
  var Ft = 0, Zt = 0;
148389
148389
  return function() {
148390
- var l0 = Bg(), x0 = Dn - (l0 - Zt);
148390
+ var l0 = Bg(), x0 = Fn - (l0 - Zt);
148391
148391
  if (Zt = l0, x0 > 0) {
148392
- if (++Ft >= Pn) return arguments[0];
148392
+ if (++Ft >= Ln) return arguments[0];
148393
148393
  } else Ft = 0;
148394
148394
  return Ot.apply(d0, arguments);
148395
148395
  };
@@ -148771,43 +148771,43 @@ lodash_min.exports;
148771
148771
  return vn = Bn = d0, or = zr, Zn = Ot.apply(Ac, ba);
148772
148772
  }
148773
148773
  function x0(zr) {
148774
- return or = zr, _n = gc(_0, Ft), vi ? l0(zr) : Zn;
148774
+ return or = zr, jn = gc(_0, Ft), vi ? l0(zr) : Zn;
148775
148775
  }
148776
148776
  function b0(zr) {
148777
148777
  var ba = zr - sr, Ac = zr - or, Hf = Ft - ba;
148778
- return zi ? ki(Hf, jn - Ac) : Hf;
148778
+ return zi ? ki(Hf, Mn - Ac) : Hf;
148779
148779
  }
148780
148780
  function D0(zr) {
148781
148781
  var ba = zr - sr, Ac = zr - or;
148782
- return sr === d0 || ba >= Ft || ba < 0 || zi && Ac >= jn;
148782
+ return sr === d0 || ba >= Ft || ba < 0 || zi && Ac >= Mn;
148783
148783
  }
148784
148784
  function _0() {
148785
148785
  var zr = Nd();
148786
- return D0(zr) ? K0(zr) : (_n = gc(_0, b0(zr)), d0);
148786
+ return D0(zr) ? K0(zr) : (jn = gc(_0, b0(zr)), d0);
148787
148787
  }
148788
148788
  function K0(zr) {
148789
- return _n = d0, Do && vn ? l0(zr) : (vn = Bn = d0, Zn);
148789
+ return jn = d0, Do && vn ? l0(zr) : (vn = Bn = d0, Zn);
148790
148790
  }
148791
148791
  function on() {
148792
- _n !== d0 && Bf(_n), or = 0, vn = sr = Bn = _n = d0;
148792
+ jn !== d0 && Bf(jn), or = 0, vn = sr = Bn = jn = d0;
148793
148793
  }
148794
148794
  function rn() {
148795
- return _n === d0 ? Zn : K0(Nd());
148795
+ return jn === d0 ? Zn : K0(Nd());
148796
148796
  }
148797
148797
  function pn() {
148798
148798
  var zr = Nd(), ba = D0(zr);
148799
148799
  if (vn = arguments, Bn = this, sr = zr, ba) {
148800
- if (_n === d0) return x0(sr);
148801
- if (zi) return Bf(_n), _n = gc(_0, Ft), l0(sr);
148800
+ if (jn === d0) return x0(sr);
148801
+ if (zi) return Bf(jn), jn = gc(_0, Ft), l0(sr);
148802
148802
  }
148803
- return _n === d0 && (_n = gc(_0, Ft)), Zn;
148803
+ return jn === d0 && (jn = gc(_0, Ft)), Zn;
148804
148804
  }
148805
- var vn, Bn, jn, Zn, _n, sr, or = 0, vi = !1, zi = !1, Do = !0;
148805
+ var vn, Bn, Mn, Zn, jn, sr, or = 0, vi = !1, zi = !1, Do = !0;
148806
148806
  if (typeof Ot != "function") throw new va($0);
148807
- return Ft = ya(Ft) || 0, Fr(Zt) && (vi = !!Zt.leading, zi = "maxWait" in Zt, jn = zi ? ni(ya(Zt.maxWait) || 0, Ft) : jn, Do = "trailing" in Zt ? !!Zt.trailing : Do), pn.cancel = on, pn.flush = rn, pn;
148807
+ return Ft = ya(Ft) || 0, Fr(Zt) && (vi = !!Zt.leading, zi = "maxWait" in Zt, Mn = zi ? ni(ya(Zt.maxWait) || 0, Ft) : Mn, Do = "trailing" in Zt ? !!Zt.trailing : Do), pn.cancel = on, pn.flush = rn, pn;
148808
148808
  }
148809
148809
  function B7(Ot) {
148810
- return Ls(Ot, En);
148810
+ return Ls(Ot, kn);
148811
148811
  }
148812
148812
  function hd(Ot, Ft) {
148813
148813
  if (typeof Ot != "function" || Ft != null && typeof Ft != "function") throw new va($0);
@@ -148975,7 +148975,7 @@ lodash_min.exports;
148975
148975
  return typeof Ot == "string" || !qn(Ot) && Gr(Ot) && Bi(Ot) == rs;
148976
148976
  }
148977
148977
  function ea(Ot) {
148978
- return typeof Ot == "symbol" || Gr(Ot) && Bi(Ot) == Ln;
148978
+ return typeof Ot == "symbol" || Gr(Ot) && Bi(Ot) == Dn;
148979
148979
  }
148980
148980
  function rm(Ot) {
148981
148981
  return Ot === d0;
@@ -149186,7 +149186,7 @@ lodash_min.exports;
149186
149186
  return Ft && l0 < Ft ? od(Ft - l0, Zt) + Ot : Ot;
149187
149187
  }
149188
149188
  function jm(Ot, Ft, Zt) {
149189
- return Zt || Ft == null ? Ft = 0 : Ft && (Ft = +Ft), Og(xr(Ot).replace(Cn, ""), Ft || 0);
149189
+ return Zt || Ft == null ? Ft = 0 : Ft && (Ft = +Ft), Og(xr(Ot).replace(En, ""), Ft || 0);
149190
149190
  }
149191
149191
  function _m(Ot, Ft, Zt) {
149192
149192
  return Ft = (Zt ? Oi(Ot, Ft, Zt) : Ft === d0) ? 1 : tr(Ft), X3(xr(Ot), Ft);
@@ -149206,25 +149206,25 @@ lodash_min.exports;
149206
149206
  Zt && Oi(Ot, Ft, Zt) && (Ft = d0), Ot = xr(Ot), Ft = Dd({}, Ft, l0, L5);
149207
149207
  var x0, b0, D0 = Dd({}, Ft.imports, l0.imports, L5), _0 = oi(D0), K0 = Qt(D0, _0), on = 0, rn = Ft.interpolate || _i, pn = "__p += '", vn = C9((Ft.escape || _i).source + "|" + rn.source + "|" + (rn === Q0 ? ec : _i).source + "|" + (Ft.evaluate || _i).source + "|$", "g"), Bn = "//# sourceURL=" + (kr.call(Ft, "sourceURL") ? (Ft.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++Qh + "]") + `
149208
149208
  `;
149209
- Ot.replace(vn, function(_n, sr, or, vi, zi, Do) {
149209
+ Ot.replace(vn, function(jn, sr, or, vi, zi, Do) {
149210
149210
  return or || (or = vi), pn += Ot.slice(on, Do).replace(Zi, e0), sr && (x0 = !0, pn += `' +
149211
149211
  __e(` + sr + `) +
149212
149212
  '`), zi && (b0 = !0, pn += `';
149213
149213
  ` + zi + `;
149214
149214
  __p += '`), or && (pn += `' +
149215
149215
  ((__t = (` + or + `)) == null ? '' : __t) +
149216
- '`), on = Do + _n.length, _n;
149216
+ '`), on = Do + jn.length, jn;
149217
149217
  }), pn += `';
149218
149218
  `;
149219
- var jn = kr.call(Ft, "variable") && Ft.variable;
149220
- if (jn) {
149221
- if (Lr.test(jn)) throw new E9(Y0);
149219
+ var Mn = kr.call(Ft, "variable") && Ft.variable;
149220
+ if (Mn) {
149221
+ if (Lr.test(Mn)) throw new E9(Y0);
149222
149222
  } else pn = `with (obj) {
149223
149223
  ` + pn + `
149224
149224
  }
149225
149225
  `;
149226
- pn = (b0 ? pn.replace(nr, "") : pn).replace(p2, "$1").replace(Or, "$1;"), pn = "function(" + (jn || "obj") + `) {
149227
- ` + (jn ? "" : `obj || (obj = {});
149226
+ pn = (b0 ? pn.replace(nr, "") : pn).replace(p2, "$1").replace(Or, "$1;"), pn = "function(" + (Mn || "obj") + `) {
149227
+ ` + (Mn ? "" : `obj || (obj = {});
149228
149228
  `) + "var __t, __p = ''" + (x0 ? ", __e = _.escape" : "") + (b0 ? `, __j = Array.prototype.join;
149229
149229
  function print() { __p += __j.call(arguments, '') }
149230
149230
  ` : `;
@@ -149255,13 +149255,13 @@ function print() { __p += __j.call(arguments, '') }
149255
149255
  return Ro(l0, 0, qt(l0, i0(Ft)) + 1).join("");
149256
149256
  }
149257
149257
  function Xm(Ot, Ft, Zt) {
149258
- if (Ot = xr(Ot), Ot && (Zt || Ft === d0)) return Ot.replace(Cn, "");
149258
+ if (Ot = xr(Ot), Ot && (Zt || Ft === d0)) return Ot.replace(En, "");
149259
149259
  if (!Ot || !(Ft = Ji(Ft))) return Ot;
149260
149260
  var l0 = i0(Ot);
149261
149261
  return Ro(l0, Gt(l0, i0(Ft))).join("");
149262
149262
  }
149263
149263
  function Km(Ot, Ft) {
149264
- var Zt = un, l0 = Xn;
149264
+ var Zt = fn, l0 = Kn;
149265
149265
  if (Fr(Ft)) {
149266
149266
  var x0 = "separator" in Ft ? Ft.separator : x0;
149267
149267
  Zt = "length" in Ft ? tr(Ft.length) : Zt, l0 = "omission" in Ft ? Ji(Ft.omission) : l0;
@@ -149586,9 +149586,9 @@ function print() { __p += __j.call(arguments, '') }
149586
149586
  }), R9 = ar(function(Ot, Ft) {
149587
149587
  return Ls(Ot, Z0, d0, Ft, E0(Ft, Q1(R9)));
149588
149588
  }), Lf = ar(function(Ot, Ft) {
149589
- return Ls(Ot, hn, d0, Ft, E0(Ft, Q1(Lf)));
149589
+ return Ls(Ot, mn, d0, Ft, E0(Ft, Q1(Lf)));
149590
149590
  }), AA = Ms(function(Ot, Ft) {
149591
- return Ls(Ot, mn, d0, d0, d0, Ft);
149591
+ return Ls(Ot, un, d0, d0, d0, Ft);
149592
149592
  }), xA = ld(F3), EA = ld(function(Ot, Ft) {
149593
149593
  return Ot >= Ft;
149594
149594
  }), b2 = a5(/* @__PURE__ */ function() {
@@ -149733,13 +149733,13 @@ function print() { __p += __j.call(arguments, '') }
149733
149733
  return l0 && vn ? or[0] : or;
149734
149734
  };
149735
149735
  rn && Zt && typeof on == "function" && on.length != 1 && (K0 = rn = !1);
149736
- var vn = this.__chain__, Bn = !!this.__actions__.length, jn = b0 && !vn, Zn = K0 && !Bn;
149736
+ var vn = this.__chain__, Bn = !!this.__actions__.length, Mn = b0 && !vn, Zn = K0 && !Bn;
149737
149737
  if (!b0 && rn) {
149738
149738
  D0 = Zn ? D0 : new Tn(this);
149739
- var _n = Ot.apply(D0, _0);
149740
- return _n.__actions__.push({ func: pd, args: [pn], thisArg: d0 }), new Qn(_n, vn);
149739
+ var jn = Ot.apply(D0, _0);
149740
+ return jn.__actions__.push({ func: pd, args: [pn], thisArg: d0 }), new Qn(jn, vn);
149741
149741
  }
149742
- return jn && Zn ? Ot.apply(this, _0) : (_n = this.thru(pn), jn ? l0 ? _n.value()[0] : _n.value() : _n);
149742
+ return Mn && Zn ? Ot.apply(this, _0) : (jn = this.thru(pn), Mn ? l0 ? jn.value()[0] : jn.value() : jn);
149743
149743
  });
149744
149744
  }), nt(["pop", "push", "shift", "sort", "splice", "unshift"], function(Ot) {
149745
149745
  var Ft = Ed[Ot], Zt = /^(?:push|sort|unshift)$/.test(Ot) ? "tap" : "thru", l0 = /^(?:pop|shift)$/.test(Ot);
@@ -161227,7 +161227,7 @@ function CaptureSelfie({
161227
161227
  token: Vt,
161228
161228
  shouldOpen: !0,
161229
161229
  payload: { moduleVersion: "1" }
161230
- }), clearTimeout(Xn.current), zt(Un), addEvent({
161230
+ }), clearTimeout(Kn.current), zt(Un), addEvent({
161231
161231
  code: "selfieCapture",
161232
161232
  token: Vt
161233
161233
  }), await onboardingAnalytics.analyzeFrame(Un), onboardingAnalytics.update(), MlWasmJSApi$1.reset();
@@ -161310,7 +161310,7 @@ function CaptureSelfie({
161310
161310
  response: Nn,
161311
161311
  livenessPassed: Wn.livenessPassed,
161312
161312
  imageBase64: Un
161313
- }), un && (Gt.current = !1, isManualCaptureMode$1 = !0);
161313
+ }), fn && (Gt.current = !1, isManualCaptureMode$1 = !0);
161314
161314
  return;
161315
161315
  }
161316
161316
  const { faceMatch: Yn, existingUser: Gn, ...Sr } = await Y0();
@@ -161370,7 +161370,7 @@ function CaptureSelfie({
161370
161370
  response: (O0 = en == null ? void 0 : en.response) == null ? void 0 : O0.data,
161371
161371
  livenessPassed: null,
161372
161372
  imageBase64: Un
161373
- }), un && (Gt.current = !1, isManualCaptureMode$1 = !0);
161373
+ }), fn && (Gt.current = !1, isManualCaptureMode$1 = !0);
161374
161374
  }
161375
161375
  },
161376
161376
  300
@@ -161448,13 +161448,13 @@ function CaptureSelfie({
161448
161448
  cameraReady: H0,
161449
161449
  handleManualCapture: X0,
161450
161450
  isSuccess: Z0,
161451
- isError: hn,
161451
+ isError: mn,
161452
161452
  isLoading: tn,
161453
- hideCamera: mn,
161454
- showBorders: En,
161455
- shouldShowManualCapture: un,
161456
- selfieTimeoutRef: Xn,
161457
- errorStatus: Pn
161453
+ hideCamera: un,
161454
+ showBorders: kn,
161455
+ shouldShowManualCapture: fn,
161456
+ selfieTimeoutRef: Kn,
161457
+ errorStatus: Ln
161458
161458
  } = useSelfie({
161459
161459
  timeout: At,
161460
161460
  onLog: ht,
@@ -161481,9 +161481,9 @@ function CaptureSelfie({
161481
161481
  token: Vt
161482
161482
  });
161483
161483
  }
161484
- }), Dn = () => {
161484
+ }), Fn = () => {
161485
161485
  var cn;
161486
- if (un) {
161486
+ if (fn) {
161487
161487
  Gt.current = !1;
161488
161488
  return;
161489
161489
  }
@@ -161492,7 +161492,7 @@ function CaptureSelfie({
161492
161492
  Xt.current = cn, n0(!0), Nt ? f0(cn) : It && (i0 ? await s0(cn) : await jt(cn));
161493
161493
  }, dr = () => V0 || (Dt ? L0(getSelfieTranslation("ageAssurance", bt)) : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: L0("notifications.onFaceAngle") }));
161494
161494
  if (useEffect(() => {
161495
- Dn();
161495
+ Fn();
161496
161496
  }, [i0]), !Yt)
161497
161497
  return /* @__PURE__ */ jsxRuntimeExports.jsx(NoInternetError, {});
161498
161498
  const $n = xt - t0;
@@ -161501,10 +161501,10 @@ function CaptureSelfie({
161501
161501
  {
161502
161502
  className: cx("IncodeCaptureSelfieContainer", {
161503
161503
  kiosk: Bt,
161504
- isError: hn
161504
+ isError: mn
161505
161505
  }),
161506
161506
  children: [
161507
- un ? /* @__PURE__ */ jsxRuntimeExports.jsxs(
161507
+ fn ? /* @__PURE__ */ jsxRuntimeExports.jsxs(
161508
161508
  CaptureButtonContainer$1,
161509
161509
  {
161510
161510
  "aria-live": "assertive",
@@ -161538,7 +161538,7 @@ function CaptureSelfie({
161538
161538
  ]
161539
161539
  }
161540
161540
  ) : null,
161541
- /* @__PURE__ */ jsxRuntimeExports.jsx(HideIfError, { isError: hn, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
161541
+ /* @__PURE__ */ jsxRuntimeExports.jsx(HideIfError, { isError: mn, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
161542
161542
  WebcamContainer$1,
161543
161543
  {
161544
161544
  className: cx("IncodeCaptureSelfieWebcamContainer", {
@@ -161574,7 +161574,7 @@ function CaptureSelfie({
161574
161574
  {
161575
161575
  className: cx("IncodeCaptureSelfieCameraOvalOuter", {
161576
161576
  "no-borders": tn || Z0,
161577
- "has-error": hn,
161577
+ "has-error": mn,
161578
161578
  kiosk: Bt
161579
161579
  }),
161580
161580
  initial: {
@@ -161585,14 +161585,14 @@ function CaptureSelfie({
161585
161585
  ease: "linear"
161586
161586
  },
161587
161587
  animate: {
161588
- borderWidth: En ? "6px" : "0px",
161589
- borderColor: hn ? "#ff5c6f" : "#21273b"
161588
+ borderWidth: kn ? "6px" : "0px",
161589
+ borderColor: mn ? "#ff5c6f" : "#21273b"
161590
161590
  },
161591
161591
  children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
161592
161592
  CameraOvalInner,
161593
161593
  {
161594
161594
  className: cx("IncodeCaptureSelfieCameraOvalInner", {
161595
- isUploading: mn
161595
+ isUploading: un
161596
161596
  }),
161597
161597
  children: [
161598
161598
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -161600,7 +161600,7 @@ function CaptureSelfie({
161600
161600
  {
161601
161601
  src: faceFrame$1,
161602
161602
  "aria-hidden": !0,
161603
- className: cx({ hidden: mn })
161603
+ className: cx({ hidden: un })
161604
161604
  }
161605
161605
  ),
161606
161606
  Et && qt && /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -161614,12 +161614,12 @@ function CaptureSelfie({
161614
161614
  Webcam,
161615
161615
  {
161616
161616
  ref: Mt,
161617
- onPlay: Dn,
161617
+ onPlay: Fn,
161618
161618
  videoSource: bt ? "environment" : "user",
161619
161619
  isSelfie: !0,
161620
161620
  type: "selfie",
161621
161621
  className: cx("video__selfie IncodeCaptureSelfieWebcam", {
161622
- hidden: mn,
161622
+ hidden: un,
161623
161623
  kiosk: Bt
161624
161624
  }),
161625
161625
  permission: Ye,
@@ -161642,13 +161642,13 @@ function CaptureSelfie({
161642
161642
  isDeepsightEnabled: Nt
161643
161643
  }
161644
161644
  ),
161645
- mn && /* @__PURE__ */ jsxRuntimeExports.jsx(
161645
+ un && /* @__PURE__ */ jsxRuntimeExports.jsx(
161646
161646
  CameraOvalInnerText,
161647
161647
  {
161648
161648
  "aria-live": "assertive",
161649
161649
  "aria-atomic": "true",
161650
161650
  className: cx("IncodeCaptureSelfieCameraOvalInnerText", {
161651
- isError: hn
161651
+ isError: mn
161652
161652
  }),
161653
161653
  children: getCircleText$1(L0, V0, Dt)[j0]
161654
161654
  }
@@ -161663,7 +161663,7 @@ function CaptureSelfie({
161663
161663
  ]
161664
161664
  }
161665
161665
  ) }),
161666
- !mn && p0 && /* @__PURE__ */ jsxRuntimeExports.jsx(
161666
+ !un && p0 && /* @__PURE__ */ jsxRuntimeExports.jsx(
161667
161667
  NotificationInline,
161668
161668
  {
161669
161669
  "aria-live": "assertive",
@@ -161680,14 +161680,14 @@ function CaptureSelfie({
161680
161680
  BlockingErrorMessage,
161681
161681
  {
161682
161682
  isMobile: isMobile$1,
161683
- isError: hn,
161683
+ isError: mn,
161684
161684
  attemptsRemaining: $n,
161685
161685
  notificationMessage: V0,
161686
161686
  notificationDescription: w0,
161687
161687
  resetAttempt: async () => {
161688
161688
  await z0(e0);
161689
161689
  },
161690
- errorStatus: Pn
161690
+ errorStatus: Ln
161691
161691
  }
161692
161692
  ),
161693
161693
  /* @__PURE__ */ jsxRuntimeExports.jsx("canvas", { id: "canvasFrame", hidden: !0 })
@@ -172098,14 +172098,15 @@ const faceFlowManager = new FaceFlowManager(), useFaceFlowState = () => {
172098
172098
  }, sendFaceImage = async ({
172099
172099
  canvas: Be,
172100
172100
  faceCoordinates: Le,
172101
- sessionToken: Ye
172101
+ sessionToken: Ye,
172102
+ imageType: tt = "selfie"
172102
172103
  }) => {
172103
- var tt, nt, ft;
172104
+ var nt, ft, ht;
172104
172105
  try {
172105
172106
  faceFlowManager.incrementAttempts(), handleScreenEvent$1(Ye, eventScreenNames.faceCaptureUpload, !0);
172106
- const ht = Be.getBase64Image();
172107
- await onboardingAnalytics.analyzeFrame(ht), onboardingAnalytics.update(), MlWasmJSApi$1.reset();
172108
- const gt = await MlWasmJSApi$1.encryptImage(ht);
172107
+ const gt = Be.getBase64Image();
172108
+ await onboardingAnalytics.analyzeFrame(gt), onboardingAnalytics.update(), MlWasmJSApi$1.reset();
172109
+ const At = await MlWasmJSApi$1.encryptImage(gt);
172109
172110
  addEvent({
172110
172111
  token: Ye,
172111
172112
  code: "captureAttemptFinished",
@@ -172121,22 +172122,23 @@ const faceFlowManager = new FaceFlowManager(), useFaceFlowState = () => {
172121
172122
  selfieStatsAnalysisStatus: onboardingAnalytics.getAnalysisStatus(),
172122
172123
  motionStatus: onboardingAnalytics.getMotionStatus()
172123
172124
  });
172124
- const At = await capture({
172125
+ const xt = await capture({
172125
172126
  token: Ye,
172126
- image: gt,
172127
+ image: At,
172127
172128
  type: "selfie",
172129
+ imageType: tt,
172128
172130
  encrypted: !0,
172129
172131
  faceCoordinates: Le,
172130
- recordingId: (tt = faceFlowManager.deepsightVideoRecorder) == null ? void 0 : tt.recordingId,
172132
+ recordingId: (nt = faceFlowManager.deepsightVideoRecorder) == null ? void 0 : nt.recordingId,
172131
172133
  metadata: onboardingAnalytics.getMetadata()
172132
172134
  });
172133
- return At.confidence !== 0 && handleError$1(Ye, FACE_ERROR_CODES.LIVENESS), At.isBright || handleError$1(Ye, FACE_ERROR_CODES.BRIGHTNESS), At.hasLenses && handleError$1(Ye, FACE_ERROR_CODES.LENSES), At.hasFaceMask && handleError$1(Ye, FACE_ERROR_CODES.MASK), At.hasClosedEyes && handleError$1(Ye, FACE_ERROR_CODES.CLOSED_EYES), At.hasHeadCover && handleError$1(Ye, FACE_ERROR_CODES.HEAD_COVER), At.liveness = At.confidence === 0, At.imageBase64 = ht, handleScreenEvent$1(Ye, eventScreenNames.faceCaptureUpload, !1), handleScreenEvent$1(Ye, eventScreenNames.faceCaptureSuccess, !0), At;
172134
- } catch (ht) {
172135
- const gt = ht, { status: At } = gt;
172136
- if (ht instanceof Error && isKnownError(ht))
172137
- throw ht;
172138
- if (At === 400) {
172139
- const xt = (ft = (nt = gt.response) == null ? void 0 : nt.data) == null ? void 0 : ft.status, Et = {
172135
+ return xt.confidence !== 0 && handleError$1(Ye, FACE_ERROR_CODES.LIVENESS), xt.isBright || handleError$1(Ye, FACE_ERROR_CODES.BRIGHTNESS), xt.hasLenses && handleError$1(Ye, FACE_ERROR_CODES.LENSES), xt.hasFaceMask && handleError$1(Ye, FACE_ERROR_CODES.MASK), xt.hasClosedEyes && handleError$1(Ye, FACE_ERROR_CODES.CLOSED_EYES), xt.hasHeadCover && handleError$1(Ye, FACE_ERROR_CODES.HEAD_COVER), xt.liveness = xt.confidence === 0, xt.imageBase64 = gt, handleScreenEvent$1(Ye, eventScreenNames.faceCaptureUpload, !1), handleScreenEvent$1(Ye, eventScreenNames.faceCaptureSuccess, !0), xt;
172136
+ } catch (gt) {
172137
+ const At = gt, { status: xt } = At;
172138
+ if (gt instanceof Error && isKnownError(gt))
172139
+ throw gt;
172140
+ if (xt === 400) {
172141
+ const Et = (ht = (ft = At.response) == null ? void 0 : ft.data) == null ? void 0 : ht.status, kt = {
172140
172142
  3004: FACE_ERROR_CODES.FACE_NOT_FOUND,
172141
172143
  // Face cropping failed
172142
172144
  3005: FACE_ERROR_CODES.FACE_NOT_FOUND,
@@ -172151,8 +172153,8 @@ const faceFlowManager = new FaceFlowManager(), useFaceFlowState = () => {
172151
172153
  // Face not found
172152
172154
  4077: FACE_ERROR_CODES.BAD_PHOTO_QUALITY
172153
172155
  // Bad photo quality
172154
- }, kt = xt ? Et[xt] : null;
172155
- throw kt && handleError$1(Ye, kt), new Error(FACE_ERROR_CODES.SERVER);
172156
+ }, Ct = Et ? kt[Et] : null;
172157
+ throw Ct && handleError$1(Ye, Ct), new Error(FACE_ERROR_CODES.SERVER);
172156
172158
  }
172157
172159
  throw new Error(FACE_ERROR_CODES.SERVER);
172158
172160
  }
@@ -172469,6 +172471,97 @@ const FaceFlowPage = (Be) => {
172469
172471
  )
172470
172472
  }
172471
172473
  );
172474
+ }, defaultError = {
172475
+ title: "Something went wrong",
172476
+ description: "Please try again later"
172477
+ }, errorContent = {
172478
+ MASK_ERROR: {
172479
+ title: "notifications.mask",
172480
+ description: "notifications.maskDescription"
172481
+ },
172482
+ BRIGHTNESS_ERROR: {
172483
+ title: "notifications.brightness",
172484
+ description: "notifications.brightnessDescription"
172485
+ },
172486
+ LIVENESS_ERROR: {
172487
+ title: "notifications.spoof",
172488
+ description: "notifications.spoofDescription"
172489
+ },
172490
+ CLOSED_EYES_ERROR: {
172491
+ title: "notifications.closedEyes",
172492
+ description: "notifications.closedEyesDescription"
172493
+ },
172494
+ HEAD_COVER_ERROR: {
172495
+ title: "notifications.removeHeadwear",
172496
+ description: "notifications.removeHeadwearDescription"
172497
+ },
172498
+ LENSES_ERROR: {
172499
+ title: "notifications.lenses",
172500
+ description: "notifications.lensesDescription"
172501
+ },
172502
+ FACE_NOT_FOUND: {
172503
+ title: "notifications.faceNotFound",
172504
+ description: "notifications.faceNotFoundDescription"
172505
+ },
172506
+ MULTIPLE_FACES: {
172507
+ title: "notifications.multiple",
172508
+ description: "notifications.multipleDescription"
172509
+ },
172510
+ TOO_BLURRY_ERROR: defaultError,
172511
+ TOO_DARK_ERROR: defaultError,
172512
+ SERVER_ERROR: defaultError,
172513
+ FACE_CROPPING_FAILED: defaultError,
172514
+ FACE_TOO_SMALL: defaultError,
172515
+ PROCESSING_ERROR: defaultError,
172516
+ BAD_REQUEST: defaultError,
172517
+ USER_IS_NOT_RECOGNIZED: {
172518
+ title: "notifications.accessDenied",
172519
+ description: "notifications.accessDeniedDescription"
172520
+ },
172521
+ SPOOF_ATTEMPT_DETECTED: {
172522
+ title: "notifications.spoof",
172523
+ description: "notifications.spoofDescription"
172524
+ },
172525
+ FACE_TOO_DARK: {
172526
+ title: "notifications.brightness",
172527
+ description: "notifications.brightnessDescription"
172528
+ },
172529
+ LENSES_DETECTED: {
172530
+ title: "notifications.lenses",
172531
+ description: "notifications.lensesDescription"
172532
+ },
172533
+ FACE_MASK_DETECTED: {
172534
+ title: "notifications.mask",
172535
+ description: "notifications.maskDescription"
172536
+ },
172537
+ CLOSED_EYES_DETECTED: {
172538
+ title: "notifications.closedEyes",
172539
+ description: "notifications.closedEyesDescription"
172540
+ },
172541
+ HEAD_COVER_DETECTED: {
172542
+ title: "notifications.removeHeadwear",
172543
+ description: "notifications.removeHeadwearDescription"
172544
+ },
172545
+ FACE_TOO_BLURRY: {
172546
+ title: "notifications.spoof",
172547
+ description: "notifications.spoofDescription"
172548
+ },
172549
+ BAD_PHOTO_QUALITY: {
172550
+ title: "notifications.lowQualityImage",
172551
+ description: "notifications.lowQualityImageDescription"
172552
+ },
172553
+ NONEXISTENT_CUSTOMER: {
172554
+ title: "notifications.nonexistentCustomer",
172555
+ description: "notifications.nonexistentCustomerDescription"
172556
+ },
172557
+ HINT_NOT_PROVIDED: {
172558
+ title: "notifications.hintNotProvided",
172559
+ description: "notifications.hintNotProvidedDescription"
172560
+ },
172561
+ SELFIE_IMAGE_LOW_QUALITY: {
172562
+ title: "notifications.selfieImageLowQuality",
172563
+ description: "notifications.selfieImageLowQualityDescription"
172564
+ }
172472
172565
  }, ErrorModalContent = ({
172473
172566
  title: Be,
172474
172567
  description: Le,
@@ -172586,97 +172679,6 @@ const FaceFlowPage = (Be) => {
172586
172679
  onCloseCancel: nt
172587
172680
  }
172588
172681
  );
172589
- }, defaultError = {
172590
- title: "Something went wrong",
172591
- description: "Please try again later"
172592
- }, errorContent = {
172593
- MASK_ERROR: {
172594
- title: "notifications.mask",
172595
- description: "notifications.maskDescription"
172596
- },
172597
- BRIGHTNESS_ERROR: {
172598
- title: "notifications.brightness",
172599
- description: "notifications.brightnessDescription"
172600
- },
172601
- LIVENESS_ERROR: {
172602
- title: "notifications.spoof",
172603
- description: "notifications.spoofDescription"
172604
- },
172605
- CLOSED_EYES_ERROR: {
172606
- title: "notifications.closedEyes",
172607
- description: "notifications.closedEyesDescription"
172608
- },
172609
- HEAD_COVER_ERROR: {
172610
- title: "notifications.removeHeadwear",
172611
- description: "notifications.removeHeadwearDescription"
172612
- },
172613
- LENSES_ERROR: {
172614
- title: "notifications.lenses",
172615
- description: "notifications.lensesDescription"
172616
- },
172617
- FACE_NOT_FOUND: {
172618
- title: "notifications.faceNotFound",
172619
- description: "notifications.faceNotFoundDescription"
172620
- },
172621
- MULTIPLE_FACES: {
172622
- title: "notifications.multiple",
172623
- description: "notifications.multipleDescription"
172624
- },
172625
- TOO_BLURRY_ERROR: defaultError,
172626
- TOO_DARK_ERROR: defaultError,
172627
- SERVER_ERROR: defaultError,
172628
- FACE_CROPPING_FAILED: defaultError,
172629
- FACE_TOO_SMALL: defaultError,
172630
- PROCESSING_ERROR: defaultError,
172631
- BAD_REQUEST: defaultError,
172632
- USER_IS_NOT_RECOGNIZED: {
172633
- title: "notifications.accessDenied",
172634
- description: "notifications.accessDeniedDescription"
172635
- },
172636
- SPOOF_ATTEMPT_DETECTED: {
172637
- title: "notifications.spoof",
172638
- description: "notifications.spoofDescription"
172639
- },
172640
- FACE_TOO_DARK: {
172641
- title: "notifications.brightness",
172642
- description: "notifications.brightnessDescription"
172643
- },
172644
- LENSES_DETECTED: {
172645
- title: "notifications.lenses",
172646
- description: "notifications.lensesDescription"
172647
- },
172648
- FACE_MASK_DETECTED: {
172649
- title: "notifications.mask",
172650
- description: "notifications.maskDescription"
172651
- },
172652
- CLOSED_EYES_DETECTED: {
172653
- title: "notifications.closedEyes",
172654
- description: "notifications.closedEyesDescription"
172655
- },
172656
- HEAD_COVER_DETECTED: {
172657
- title: "notifications.removeHeadwear",
172658
- description: "notifications.removeHeadwearDescription"
172659
- },
172660
- FACE_TOO_BLURRY: {
172661
- title: "notifications.spoof",
172662
- description: "notifications.spoofDescription"
172663
- },
172664
- BAD_PHOTO_QUALITY: {
172665
- title: "notifications.lowQualityImage",
172666
- description: "notifications.lowQualityImageDescription"
172667
- },
172668
- NONEXISTENT_CUSTOMER: {
172669
- title: "notifications.nonexistentCustomer",
172670
- description: "notifications.nonexistentCustomerDescription"
172671
- },
172672
- HINT_NOT_PROVIDED: {
172673
- title: "notifications.hintNotProvided",
172674
- description: "notifications.hintNotProvidedDescription"
172675
- },
172676
- SELFIE_IMAGE_LOW_QUALITY: {
172677
- title: "notifications.selfieImageLowQuality",
172678
- description: "notifications.selfieImageLowQualityDescription"
172679
- }
172680
172682
  }, ErrorModal = ({
172681
172683
  error: Be,
172682
172684
  onTryAgain: Le,
@@ -173939,13 +173941,13 @@ const CaptureButtonContainer = dt(CaptureButtonContainer$1)`
173939
173941
  code: "selfieCapture",
173940
173942
  token: Pt
173941
173943
  }), await onboardingAnalytics.analyzeFrame(w0), onboardingAnalytics.update(), MlWasmJSApi$1.reset();
173942
- const H0 = selfieType, X0 = await MlWasmJSApi$1.encryptImage(w0), { blob: Z0, url: hn } = V0.getBlobData();
173944
+ const H0 = selfieType, X0 = await MlWasmJSApi$1.encryptImage(w0), { blob: Z0, url: mn } = V0.getBlobData();
173943
173945
  if (kt)
173944
173946
  return Le({
173945
173947
  imageBase64: w0,
173946
173948
  blob: Z0,
173947
173949
  encryptedImage: X0,
173948
- url: hn
173950
+ url: mn
173949
173951
  });
173950
173952
  addScreenEvent({
173951
173953
  module: eventModuleNames.selfie,
@@ -173981,13 +173983,13 @@ const CaptureButtonContainer = dt(CaptureButtonContainer$1)`
173981
173983
  faceCoordinates: U0,
173982
173984
  metadata: onboardingAnalytics.getMetadata(),
173983
173985
  recordingId: Kt.current
173984
- }), mn = selfieChecks(tn, {
173986
+ }), un = selfieChecks(tn, {
173985
173987
  hatCheckEnabled: Rt,
173986
173988
  lensesCheckEnabled: Bt,
173987
173989
  maskCheckEnabled: wt,
173988
173990
  eyesClosedCheckEnabled: Tt
173989
173991
  });
173990
- if (mn.hasErrors) {
173992
+ if (un.hasErrors) {
173991
173993
  addScreenEvent({
173992
173994
  module: eventModuleNames.selfie,
173993
173995
  screen: eventScreenNames.faceCaptureUpload,
@@ -174002,7 +174004,7 @@ const CaptureButtonContainer = dt(CaptureButtonContainer$1)`
174002
174004
  payload: { moduleVersion: "1" }
174003
174005
  }), r0("error"), logSelfieChecks(
174004
174006
  tn,
174005
- mn,
174007
+ un,
174006
174008
  ht,
174007
174009
  Jt,
174008
174010
  n0,
@@ -174016,13 +174018,13 @@ const CaptureButtonContainer = dt(CaptureButtonContainer$1)`
174016
174018
  payload: { moduleVersion: "1" }
174017
174019
  }), Ut({
174018
174020
  response: tn,
174019
- livenessPassed: mn.livenessPassed,
174021
+ livenessPassed: un.livenessPassed,
174020
174022
  imageBase64: w0
174021
174023
  }), $0 && (Lt.current = !1, isManualCaptureMode = !0);
174022
174024
  return;
174023
174025
  }
174024
174026
  Jt(n0("notifications.processing"));
174025
- const { faceMatch: En, existingUser: un, ...Xn } = await a0();
174027
+ const { faceMatch: kn, existingUser: fn, ...Kn } = await a0();
174026
174028
  return addScreenEvent({
174027
174029
  module: eventModuleNames.selfie,
174028
174030
  screen: eventScreenNames.faceCaptureUpload,
@@ -174048,10 +174050,10 @@ const CaptureButtonContainer = dt(CaptureButtonContainer$1)`
174048
174050
  payload: { moduleVersion: "1" }
174049
174051
  }), Le({
174050
174052
  ...tn,
174051
- ...Xn,
174052
- faceMatch: En,
174053
- existingUser: un,
174054
- liveness: mn.livenessPassed,
174053
+ ...Kn,
174054
+ faceMatch: kn,
174055
+ existingUser: fn,
174056
+ liveness: un.livenessPassed,
174055
174057
  imageBase64: w0
174056
174058
  });
174057
174059
  } catch (H0) {
@@ -179088,10 +179090,10 @@ const f3 = class f3 {
179088
179090
  };
179089
179091
  On(f3, "_colorsMapping", /* @__PURE__ */ new Map([["CanvasText", [0, 0, 0]], ["Canvas", [255, 255, 255]]]));
179090
179092
  let ColorManager = f3;
179091
- var il, na, ri, Ai, al, Gs, sl, Ga, Fo, ol, F2, ps, za, Q2, Fc, Qc, ll, Vc, fs, Qo, cl, Vo, hs, h3, Uo, Uc, Ho, V2, Hc, Gc, ui, yr, zs, U2, zc, Wc, Go, ms, Ws, Xc, Ia, kn, jd, L9, n4, r4, _d, i4, a4, s4, M9, o4, j9, _9, l4, Di, Po, c4, u4, F9, d4, xc, Q9;
179093
+ var il, na, ri, Ai, al, Gs, sl, Ga, Fo, ol, F2, ps, za, Q2, Fc, Qc, ll, Vc, fs, Qo, cl, Vo, hs, h3, Uo, Uc, Ho, V2, Hc, Gc, ui, yr, zs, U2, zc, Wc, Go, ms, Ws, Xc, Ia, Cn, jd, L9, n4, r4, _d, i4, a4, s4, M9, o4, j9, _9, l4, Di, Po, c4, u4, F9, d4, xc, Q9;
179092
179094
  const tl = class tl {
179093
179095
  constructor(Le, Ye, tt, nt, ft, ht, gt, At, xt, Et, kt) {
179094
- y0(this, kn);
179096
+ y0(this, Cn);
179095
179097
  y0(this, il, new AbortController());
179096
179098
  y0(this, na, null);
179097
179099
  y0(this, ri, /* @__PURE__ */ new Map());
@@ -179153,7 +179155,7 @@ const tl = class tl {
179153
179155
  signal: Ct
179154
179156
  }), nt._on("switchannotationeditorparams", (yt) => this.updateParams(yt.type, yt.value), {
179155
179157
  signal: Ct
179156
- }), k0(this, kn, i4).call(this), k0(this, kn, l4).call(this), k0(this, kn, M9).call(this), C0(this, Gs, ft.annotationStorage), C0(this, Vc, ft.filterFactory), C0(this, U2, ht), C0(this, cl, gt || null), C0(this, Fc, At), C0(this, Qc, xt), C0(this, ll, Et), C0(this, Gc, kt || null), this.viewParameters = {
179158
+ }), k0(this, Cn, i4).call(this), k0(this, Cn, l4).call(this), k0(this, Cn, M9).call(this), C0(this, Gs, ft.annotationStorage), C0(this, Vc, ft.filterFactory), C0(this, U2, ht), C0(this, cl, gt || null), C0(this, Fc, At), C0(this, Qc, xt), C0(this, ll, Et), C0(this, Gc, kt || null), this.viewParameters = {
179157
179159
  realScale: PixelsPerInch.PDF_TO_CSS_UNITS,
179158
179160
  rotation: 0
179159
179161
  }, this.isShiftKeyDown = !1;
@@ -179327,11 +179329,11 @@ const tl = class tl {
179327
179329
  anchorOffset: nt,
179328
179330
  focusNode: ft,
179329
179331
  focusOffset: ht
179330
- } = Ye, gt = Ye.toString(), xt = k0(this, kn, jd).call(this, Ye).closest(".textLayer"), Et = this.getSelectionBoxes(xt);
179332
+ } = Ye, gt = Ye.toString(), xt = k0(this, Cn, jd).call(this, Ye).closest(".textLayer"), Et = this.getSelectionBoxes(xt);
179331
179333
  if (!Et)
179332
179334
  return;
179333
179335
  Ye.empty();
179334
- const kt = k0(this, kn, L9).call(this, xt), Ct = Ht(this, ui) === AnnotationEditorType.NONE, yt = () => {
179336
+ const kt = k0(this, Cn, L9).call(this, xt), Ct = Ht(this, ui) === AnnotationEditorType.NONE, yt = () => {
179335
179337
  kt == null || kt.createAndAddNewEditor({
179336
179338
  x: 0,
179337
179339
  y: 0
@@ -179355,7 +179357,7 @@ const tl = class tl {
179355
179357
  !Le.isEmpty() && Ht(this, Gs) && !Ht(this, Gs).has(Le.id) && Ht(this, Gs).setValue(Le.id, Le);
179356
179358
  }
179357
179359
  blur() {
179358
- if (this.isShiftKeyDown = !1, Ht(this, Vo) && (C0(this, Vo, !1), k0(this, kn, _d).call(this, "main_toolbar")), !this.hasSelection)
179360
+ if (this.isShiftKeyDown = !1, Ht(this, Vo) && (C0(this, Vo, !1), k0(this, Cn, _d).call(this, "main_toolbar")), !this.hasSelection)
179359
179361
  return;
179360
179362
  const {
179361
179363
  activeElement: Le
@@ -179378,10 +179380,10 @@ const tl = class tl {
179378
179380
  }), Ye.focus();
179379
179381
  }
179380
179382
  addEditListeners() {
179381
- k0(this, kn, M9).call(this), k0(this, kn, j9).call(this);
179383
+ k0(this, Cn, M9).call(this), k0(this, Cn, j9).call(this);
179382
179384
  }
179383
179385
  removeEditListeners() {
179384
- k0(this, kn, o4).call(this), k0(this, kn, _9).call(this);
179386
+ k0(this, Cn, o4).call(this), k0(this, Cn, _9).call(this);
179385
179387
  }
179386
179388
  dragOver(Le) {
179387
179389
  for (const {
@@ -179449,8 +179451,8 @@ const tl = class tl {
179449
179451
  }
179450
179452
  const ht = () => {
179451
179453
  for (const At of ft)
179452
- k0(this, kn, F9).call(this, At);
179453
- k0(this, kn, Q9).call(this, ft);
179454
+ k0(this, Cn, F9).call(this, At);
179455
+ k0(this, Cn, Q9).call(this, ft);
179454
179456
  }, gt = () => {
179455
179457
  for (const At of ft)
179456
179458
  At.remove();
@@ -179468,7 +179470,7 @@ const tl = class tl {
179468
179470
  !this.isShiftKeyDown && Le.key === "Shift" && (this.isShiftKeyDown = !0), Ht(this, ui) !== AnnotationEditorType.NONE && !this.isEditorHandlingKeyboard && tl._keyboardManager.exec(this, Le);
179469
179471
  }
179470
179472
  keyup(Le) {
179471
- this.isShiftKeyDown && Le.key === "Shift" && (this.isShiftKeyDown = !1, Ht(this, Vo) && (C0(this, Vo, !1), k0(this, kn, _d).call(this, "main_toolbar")));
179473
+ this.isShiftKeyDown && Le.key === "Shift" && (this.isShiftKeyDown = !1, Ht(this, Vo) && (C0(this, Vo, !1), k0(this, Cn, _d).call(this, "main_toolbar")));
179472
179474
  }
179473
179475
  onEditingAction({
179474
179476
  name: Le
@@ -179486,13 +179488,13 @@ const tl = class tl {
179486
179488
  }
179487
179489
  }
179488
179490
  setEditingState(Le) {
179489
- Le ? (k0(this, kn, a4).call(this), k0(this, kn, j9).call(this), k0(this, kn, Di).call(this, {
179491
+ Le ? (k0(this, Cn, a4).call(this), k0(this, Cn, j9).call(this), k0(this, Cn, Di).call(this, {
179490
179492
  isEditing: Ht(this, ui) !== AnnotationEditorType.NONE,
179491
- isEmpty: k0(this, kn, xc).call(this),
179493
+ isEmpty: k0(this, Cn, xc).call(this),
179492
179494
  hasSomethingToUndo: Ht(this, Ga).hasSomethingToUndo(),
179493
179495
  hasSomethingToRedo: Ht(this, Ga).hasSomethingToRedo(),
179494
179496
  hasSelectedEditor: !1
179495
- })) : (k0(this, kn, s4).call(this), k0(this, kn, _9).call(this), k0(this, kn, Di).call(this, {
179497
+ })) : (k0(this, Cn, s4).call(this), k0(this, Cn, _9).call(this), k0(this, Cn, Di).call(this, {
179496
179498
  isEditing: !1
179497
179499
  }), this.disableUserSelect(!1));
179498
179500
  }
@@ -179500,7 +179502,7 @@ const tl = class tl {
179500
179502
  if (!Ht(this, za)) {
179501
179503
  C0(this, za, Le);
179502
179504
  for (const Ye of Ht(this, za))
179503
- k0(this, kn, Po).call(this, Ye.defaultPropertiesToUpdate);
179505
+ k0(this, Cn, Po).call(this, Ye.defaultPropertiesToUpdate);
179504
179506
  }
179505
179507
  }
179506
179508
  getId() {
@@ -179524,10 +179526,10 @@ const tl = class tl {
179524
179526
  async updateMode(Le, Ye = null, tt = !1) {
179525
179527
  if (Ht(this, ui) !== Le && !(Ht(this, Ia) && (await Ht(this, Ia).promise, !Ht(this, Ia)))) {
179526
179528
  if (C0(this, Ia, Promise.withResolvers()), C0(this, ui, Le), Le === AnnotationEditorType.NONE) {
179527
- this.setEditingState(!1), k0(this, kn, u4).call(this), Ht(this, Ia).resolve();
179529
+ this.setEditingState(!1), k0(this, Cn, u4).call(this), Ht(this, Ia).resolve();
179528
179530
  return;
179529
179531
  }
179530
- this.setEditingState(!0), await k0(this, kn, c4).call(this), this.unselectAll();
179532
+ this.setEditingState(!0), await k0(this, Cn, c4).call(this), this.unselectAll();
179531
179533
  for (const nt of Ht(this, Ai).values())
179532
179534
  nt.updateMode(Le);
179533
179535
  if (!Ye) {
@@ -179581,7 +179583,7 @@ const tl = class tl {
179581
179583
  var ft;
179582
179584
  for (const ht of Ht(this, ri).values())
179583
179585
  ht.editorType === Le && ht.show(Ye);
179584
- (((ft = Ht(this, zc)) == null ? void 0 : ft.get(AnnotationEditorParamsType.HIGHLIGHT_SHOW_ALL)) ?? !0) !== Ye && k0(this, kn, Po).call(this, [[AnnotationEditorParamsType.HIGHLIGHT_SHOW_ALL, Ye]]);
179586
+ (((ft = Ht(this, zc)) == null ? void 0 : ft.get(AnnotationEditorParamsType.HIGHLIGHT_SHOW_ALL)) ?? !0) !== Ye && k0(this, Cn, Po).call(this, [[AnnotationEditorParamsType.HIGHLIGHT_SHOW_ALL, Ye]]);
179585
179587
  }
179586
179588
  enableWaiting(Le = !1) {
179587
179589
  if (Ht(this, Uc) !== Le) {
@@ -179618,26 +179620,26 @@ const tl = class tl {
179618
179620
  Ht(this, F2).delete(Le.annotationElementId), this.removeChangedExistingAnnotation(Le), Le.deleted = !1;
179619
179621
  }
179620
179622
  setActiveEditor(Le) {
179621
- Ht(this, na) !== Le && (C0(this, na, Le), Le && k0(this, kn, Po).call(this, Le.propertiesToUpdate));
179623
+ Ht(this, na) !== Le && (C0(this, na, Le), Le && k0(this, Cn, Po).call(this, Le.propertiesToUpdate));
179622
179624
  }
179623
179625
  updateUI(Le) {
179624
- Ht(this, kn, d4) === Le && k0(this, kn, Po).call(this, Le.propertiesToUpdate);
179626
+ Ht(this, Cn, d4) === Le && k0(this, Cn, Po).call(this, Le.propertiesToUpdate);
179625
179627
  }
179626
179628
  toggleSelected(Le) {
179627
179629
  if (Ht(this, yr).has(Le)) {
179628
- Ht(this, yr).delete(Le), Le.unselect(), k0(this, kn, Di).call(this, {
179630
+ Ht(this, yr).delete(Le), Le.unselect(), k0(this, Cn, Di).call(this, {
179629
179631
  hasSelectedEditor: this.hasSelection
179630
179632
  });
179631
179633
  return;
179632
179634
  }
179633
- Ht(this, yr).add(Le), Le.select(), k0(this, kn, Po).call(this, Le.propertiesToUpdate), k0(this, kn, Di).call(this, {
179635
+ Ht(this, yr).add(Le), Le.select(), k0(this, Cn, Po).call(this, Le.propertiesToUpdate), k0(this, Cn, Di).call(this, {
179634
179636
  hasSelectedEditor: !0
179635
179637
  });
179636
179638
  }
179637
179639
  setSelected(Le) {
179638
179640
  for (const Ye of Ht(this, yr))
179639
179641
  Ye !== Le && Ye.unselect();
179640
- Ht(this, yr).clear(), Ht(this, yr).add(Le), Le.select(), k0(this, kn, Po).call(this, Le.propertiesToUpdate), k0(this, kn, Di).call(this, {
179642
+ Ht(this, yr).clear(), Ht(this, yr).add(Le), Le.select(), k0(this, Cn, Po).call(this, Le.propertiesToUpdate), k0(this, Cn, Di).call(this, {
179641
179643
  hasSelectedEditor: !0
179642
179644
  });
179643
179645
  }
@@ -179648,7 +179650,7 @@ const tl = class tl {
179648
179650
  return Ht(this, yr).values().next().value;
179649
179651
  }
179650
179652
  unselect(Le) {
179651
- Le.unselect(), Ht(this, yr).delete(Le), k0(this, kn, Di).call(this, {
179653
+ Le.unselect(), Ht(this, yr).delete(Le), k0(this, Cn, Di).call(this, {
179652
179654
  hasSelectedEditor: this.hasSelection
179653
179655
  });
179654
179656
  }
@@ -179659,24 +179661,24 @@ const tl = class tl {
179659
179661
  return Ht(this, yr).size === 1 && this.firstSelectedEditor.isEnterHandled;
179660
179662
  }
179661
179663
  undo() {
179662
- Ht(this, Ga).undo(), k0(this, kn, Di).call(this, {
179664
+ Ht(this, Ga).undo(), k0(this, Cn, Di).call(this, {
179663
179665
  hasSomethingToUndo: Ht(this, Ga).hasSomethingToUndo(),
179664
179666
  hasSomethingToRedo: !0,
179665
- isEmpty: k0(this, kn, xc).call(this)
179667
+ isEmpty: k0(this, Cn, xc).call(this)
179666
179668
  });
179667
179669
  }
179668
179670
  redo() {
179669
- Ht(this, Ga).redo(), k0(this, kn, Di).call(this, {
179671
+ Ht(this, Ga).redo(), k0(this, Cn, Di).call(this, {
179670
179672
  hasSomethingToUndo: !0,
179671
179673
  hasSomethingToRedo: Ht(this, Ga).hasSomethingToRedo(),
179672
- isEmpty: k0(this, kn, xc).call(this)
179674
+ isEmpty: k0(this, Cn, xc).call(this)
179673
179675
  });
179674
179676
  }
179675
179677
  addCommands(Le) {
179676
- Ht(this, Ga).add(Le), k0(this, kn, Di).call(this, {
179678
+ Ht(this, Ga).add(Le), k0(this, Cn, Di).call(this, {
179677
179679
  hasSomethingToUndo: !0,
179678
179680
  hasSomethingToRedo: !1,
179679
- isEmpty: k0(this, kn, xc).call(this)
179681
+ isEmpty: k0(this, Cn, xc).call(this)
179680
179682
  });
179681
179683
  }
179682
179684
  delete() {
@@ -179687,7 +179689,7 @@ const tl = class tl {
179687
179689
  nt.remove();
179688
179690
  }, tt = () => {
179689
179691
  for (const nt of Le)
179690
- k0(this, kn, F9).call(this, nt);
179692
+ k0(this, Cn, F9).call(this, nt);
179691
179693
  };
179692
179694
  this.addCommands({
179693
179695
  cmd: Ye,
@@ -179705,13 +179707,13 @@ const tl = class tl {
179705
179707
  selectAll() {
179706
179708
  for (const Le of Ht(this, yr))
179707
179709
  Le.commit();
179708
- k0(this, kn, Q9).call(this, Ht(this, ri).values());
179710
+ k0(this, Cn, Q9).call(this, Ht(this, ri).values());
179709
179711
  }
179710
179712
  unselectAll() {
179711
179713
  if (!(Ht(this, na) && (Ht(this, na).commitOrRemove(), Ht(this, ui) !== AnnotationEditorType.NONE)) && this.hasSelection) {
179712
179714
  for (const Le of Ht(this, yr))
179713
179715
  Le.unselect();
179714
- Ht(this, yr).clear(), k0(this, kn, Di).call(this, {
179716
+ Ht(this, yr).clear(), k0(this, Cn, Di).call(this, {
179715
179717
  hasSelectedEditor: !1
179716
179718
  });
179717
179719
  }
@@ -179903,7 +179905,7 @@ const tl = class tl {
179903
179905
  tt && (Ht(this, ui) === AnnotationEditorType.NONE && !tt.hasBeenModified || tt.renderAnnotationElement(Le));
179904
179906
  }
179905
179907
  };
179906
- il = new WeakMap(), na = new WeakMap(), ri = new WeakMap(), Ai = new WeakMap(), al = new WeakMap(), Gs = new WeakMap(), sl = new WeakMap(), Ga = new WeakMap(), Fo = new WeakMap(), ol = new WeakMap(), F2 = new WeakMap(), ps = new WeakMap(), za = new WeakMap(), Q2 = new WeakMap(), Fc = new WeakMap(), Qc = new WeakMap(), ll = new WeakMap(), Vc = new WeakMap(), fs = new WeakMap(), Qo = new WeakMap(), cl = new WeakMap(), Vo = new WeakMap(), hs = new WeakMap(), h3 = new WeakMap(), Uo = new WeakMap(), Uc = new WeakMap(), Ho = new WeakMap(), V2 = new WeakMap(), Hc = new WeakMap(), Gc = new WeakMap(), ui = new WeakMap(), yr = new WeakMap(), zs = new WeakMap(), U2 = new WeakMap(), zc = new WeakMap(), Wc = new WeakMap(), Go = new WeakMap(), ms = new WeakMap(), Ws = new WeakMap(), Xc = new WeakMap(), Ia = new WeakMap(), kn = new WeakSet(), jd = function({
179908
+ il = new WeakMap(), na = new WeakMap(), ri = new WeakMap(), Ai = new WeakMap(), al = new WeakMap(), Gs = new WeakMap(), sl = new WeakMap(), Ga = new WeakMap(), Fo = new WeakMap(), ol = new WeakMap(), F2 = new WeakMap(), ps = new WeakMap(), za = new WeakMap(), Q2 = new WeakMap(), Fc = new WeakMap(), Qc = new WeakMap(), ll = new WeakMap(), Vc = new WeakMap(), fs = new WeakMap(), Qo = new WeakMap(), cl = new WeakMap(), Vo = new WeakMap(), hs = new WeakMap(), h3 = new WeakMap(), Uo = new WeakMap(), Uc = new WeakMap(), Ho = new WeakMap(), V2 = new WeakMap(), Hc = new WeakMap(), Gc = new WeakMap(), ui = new WeakMap(), yr = new WeakMap(), zs = new WeakMap(), U2 = new WeakMap(), zc = new WeakMap(), Wc = new WeakMap(), Go = new WeakMap(), ms = new WeakMap(), Ws = new WeakMap(), Xc = new WeakMap(), Ia = new WeakMap(), Cn = new WeakSet(), jd = function({
179907
179909
  anchorNode: Le
179908
179910
  }) {
179909
179911
  return Le.nodeType === Node.TEXT_NODE ? Le.parentElement : Le;
@@ -179921,13 +179923,13 @@ il = new WeakMap(), na = new WeakMap(), ri = new WeakMap(), Ai = new WeakMap(),
179921
179923
  const Le = document.getSelection();
179922
179924
  if (!Le || Le.isCollapsed)
179923
179925
  return;
179924
- const tt = k0(this, kn, jd).call(this, Le).closest(".textLayer"), nt = this.getSelectionBoxes(tt);
179926
+ const tt = k0(this, Cn, jd).call(this, Le).closest(".textLayer"), nt = this.getSelectionBoxes(tt);
179925
179927
  nt && (Ht(this, hs) || C0(this, hs, new HighlightToolbar(this)), Ht(this, hs).show(tt, nt, this.direction === "ltr"));
179926
179928
  }, r4 = function() {
179927
179929
  var ft, ht, gt;
179928
179930
  const Le = document.getSelection();
179929
179931
  if (!Le || Le.isCollapsed) {
179930
- Ht(this, zs) && ((ft = Ht(this, hs)) == null || ft.hide(), C0(this, zs, null), k0(this, kn, Di).call(this, {
179932
+ Ht(this, zs) && ((ft = Ht(this, hs)) == null || ft.hide(), C0(this, zs, null), k0(this, Cn, Di).call(this, {
179931
179933
  hasSelectedText: !1
179932
179934
  }));
179933
179935
  return;
@@ -179937,20 +179939,20 @@ il = new WeakMap(), na = new WeakMap(), ri = new WeakMap(), Ai = new WeakMap(),
179937
179939
  } = Le;
179938
179940
  if (Ye === Ht(this, zs))
179939
179941
  return;
179940
- const nt = k0(this, kn, jd).call(this, Le).closest(".textLayer");
179942
+ const nt = k0(this, Cn, jd).call(this, Le).closest(".textLayer");
179941
179943
  if (!nt) {
179942
- Ht(this, zs) && ((ht = Ht(this, hs)) == null || ht.hide(), C0(this, zs, null), k0(this, kn, Di).call(this, {
179944
+ Ht(this, zs) && ((ht = Ht(this, hs)) == null || ht.hide(), C0(this, zs, null), k0(this, Cn, Di).call(this, {
179943
179945
  hasSelectedText: !1
179944
179946
  }));
179945
179947
  return;
179946
179948
  }
179947
- if ((gt = Ht(this, hs)) == null || gt.hide(), C0(this, zs, Ye), k0(this, kn, Di).call(this, {
179949
+ if ((gt = Ht(this, hs)) == null || gt.hide(), C0(this, zs, Ye), k0(this, Cn, Di).call(this, {
179948
179950
  hasSelectedText: !0
179949
179951
  }), !(Ht(this, ui) !== AnnotationEditorType.HIGHLIGHT && Ht(this, ui) !== AnnotationEditorType.NONE) && (Ht(this, ui) === AnnotationEditorType.HIGHLIGHT && this.showAllEditors("highlight", !0, !0), C0(this, Vo, this.isShiftKeyDown), !this.isShiftKeyDown)) {
179950
- const At = Ht(this, ui) === AnnotationEditorType.HIGHLIGHT ? k0(this, kn, L9).call(this, nt) : null;
179952
+ const At = Ht(this, ui) === AnnotationEditorType.HIGHLIGHT ? k0(this, Cn, L9).call(this, nt) : null;
179951
179953
  At == null || At.toggleDrawing();
179952
179954
  const xt = new AbortController(), Et = this.combinedSignal(xt), kt = (Ct) => {
179953
- Ct.type === "pointerup" && Ct.button !== 0 || (xt.abort(), At == null || At.toggleDrawing(!0), Ct.type === "pointerup" && k0(this, kn, _d).call(this, "main_toolbar"));
179955
+ Ct.type === "pointerup" && Ct.button !== 0 || (xt.abort(), At == null || At.toggleDrawing(!0), Ct.type === "pointerup" && k0(this, Cn, _d).call(this, "main_toolbar"));
179954
179956
  };
179955
179957
  window.addEventListener("pointerup", kt, {
179956
179958
  signal: Et
@@ -179959,9 +179961,9 @@ il = new WeakMap(), na = new WeakMap(), ri = new WeakMap(), Ai = new WeakMap(),
179959
179961
  });
179960
179962
  }
179961
179963
  }, _d = function(Le = "") {
179962
- Ht(this, ui) === AnnotationEditorType.HIGHLIGHT ? this.highlightSelection(Le) : Ht(this, Fc) && k0(this, kn, n4).call(this);
179964
+ Ht(this, ui) === AnnotationEditorType.HIGHLIGHT ? this.highlightSelection(Le) : Ht(this, Fc) && k0(this, Cn, n4).call(this);
179963
179965
  }, i4 = function() {
179964
- document.addEventListener("selectionchange", k0(this, kn, r4).bind(this), {
179966
+ document.addEventListener("selectionchange", k0(this, Cn, r4).bind(this), {
179965
179967
  signal: this._signal
179966
179968
  });
179967
179969
  }, a4 = function() {
@@ -180016,7 +180018,7 @@ il = new WeakMap(), na = new WeakMap(), ri = new WeakMap(), Ai = new WeakMap(),
180016
180018
  Object.entries(Le).some(([tt, nt]) => Ht(this, Wc)[tt] !== nt) && (this._eventBus.dispatch("annotationeditorstateschanged", {
180017
180019
  source: this,
180018
180020
  details: Object.assign(Ht(this, Wc), Le)
180019
- }), Ht(this, ui) === AnnotationEditorType.HIGHLIGHT && Le.hasSelectedEditor === !1 && k0(this, kn, Po).call(this, [[AnnotationEditorParamsType.HIGHLIGHT_FREE, !0]]));
180021
+ }), Ht(this, ui) === AnnotationEditorType.HIGHLIGHT && Le.hasSelectedEditor === !1 && k0(this, Cn, Po).call(this, [[AnnotationEditorParamsType.HIGHLIGHT_FREE, !0]]));
180020
180022
  }, Po = function(Le) {
180021
180023
  this._eventBus.dispatch("annotationeditorparamschanged", {
180022
180024
  source: this,
@@ -180061,7 +180063,7 @@ il = new WeakMap(), na = new WeakMap(), ri = new WeakMap(), Ai = new WeakMap(),
180061
180063
  Ht(this, yr).clear();
180062
180064
  for (const Ye of Le)
180063
180065
  Ye.isEmpty() || (Ht(this, yr).add(Ye), Ye.select());
180064
- k0(this, kn, Di).call(this, {
180066
+ k0(this, Cn, Di).call(this, {
180065
180067
  hasSelectedEditor: this.hasSelection
180066
180068
  });
180067
180069
  }, On(tl, "TRANSLATE_SMALL", 1), On(tl, "TRANSLATE_BIG", 10);
@@ -190895,7 +190897,7 @@ Hr = new WeakMap(), Ei = new WeakMap(), a2 = new WeakMap(), co = new WeakMap(),
190895
190897
  };
190896
190898
  }, On(Nc, "_type", "stamp"), On(Nc, "_editorType", AnnotationEditorType.STAMP);
190897
190899
  let StampEditor = Nc;
190898
- var O1, Yl, Ts, o2, po, ua, l2, Zl, Jl, Ti, fo, Fn, c2, Ci, bh, Tp, Rp, Bp, l3;
190900
+ var O1, Yl, Ts, o2, po, ua, l2, Zl, Jl, Ti, fo, _n, c2, Ci, bh, Tp, Rp, Bp, l3;
190899
190901
  const Ua = class Ua {
190900
190902
  constructor({
190901
190903
  uiManager: Le,
@@ -190921,25 +190923,25 @@ const Ua = class Ua {
190921
190923
  y0(this, Jl, !1);
190922
190924
  y0(this, Ti, null);
190923
190925
  y0(this, fo, null);
190924
- y0(this, Fn);
190926
+ y0(this, _n);
190925
190927
  const kt = [...Ht(Ua, c2).values()];
190926
190928
  if (!Ua._initialized) {
190927
190929
  Ua._initialized = !0;
190928
190930
  for (const Ct of kt)
190929
190931
  Ct.initialize(Et, Le);
190930
190932
  }
190931
- Le.registerEditorTypes(kt), C0(this, Fn, Le), this.pageIndex = Ye, this.div = tt, C0(this, O1, ft), C0(this, Ts, ht), this.viewport = xt, C0(this, Ti, At), this.drawLayer = gt, this._structTree = nt, Ht(this, Fn).addLayer(this);
190933
+ Le.registerEditorTypes(kt), C0(this, _n, Le), this.pageIndex = Ye, this.div = tt, C0(this, O1, ft), C0(this, Ts, ht), this.viewport = xt, C0(this, Ti, At), this.drawLayer = gt, this._structTree = nt, Ht(this, _n).addLayer(this);
190932
190934
  }
190933
190935
  get isEmpty() {
190934
190936
  return Ht(this, ua).size === 0;
190935
190937
  }
190936
190938
  get isInvisible() {
190937
- return this.isEmpty && Ht(this, Fn).getMode() === AnnotationEditorType.NONE;
190939
+ return this.isEmpty && Ht(this, _n).getMode() === AnnotationEditorType.NONE;
190938
190940
  }
190939
190941
  updateToolbar(Le) {
190940
- Ht(this, Fn).updateToolbar(Le);
190942
+ Ht(this, _n).updateToolbar(Le);
190941
190943
  }
190942
- updateMode(Le = Ht(this, Fn).getMode()) {
190944
+ updateMode(Le = Ht(this, _n).getMode()) {
190943
190945
  switch (k0(this, Ci, l3).call(this), Le) {
190944
190946
  case AnnotationEditorType.NONE:
190945
190947
  this.disableTextSelection(), this.togglePointerEvents(!1), this.toggleAnnotationLayerPointerEvents(!0), this.disableClick();
@@ -190966,7 +190968,7 @@ const Ua = class Ua {
190966
190968
  return Le === ((Ye = Ht(this, Ti)) == null ? void 0 : Ye.div);
190967
190969
  }
190968
190970
  addInkEditorIfNeeded(Le) {
190969
- if (Ht(this, Fn).getMode() !== AnnotationEditorType.INK)
190971
+ if (Ht(this, _n).getMode() !== AnnotationEditorType.INK)
190970
190972
  return;
190971
190973
  if (!Le) {
190972
190974
  for (const tt of Ht(this, ua).values())
@@ -190981,10 +190983,10 @@ const Ua = class Ua {
190981
190983
  }, !1).setInBackground();
190982
190984
  }
190983
190985
  setEditingState(Le) {
190984
- Ht(this, Fn).setEditingState(Le);
190986
+ Ht(this, _n).setEditingState(Le);
190985
190987
  }
190986
190988
  addCommands(Le) {
190987
- Ht(this, Fn).addCommands(Le);
190989
+ Ht(this, _n).addCommands(Le);
190988
190990
  }
190989
190991
  toggleDrawing(Le = !1) {
190990
190992
  this.div.classList.toggle("drawing", !Le);
@@ -191000,12 +191002,12 @@ const Ua = class Ua {
191000
191002
  this.div.tabIndex = 0, this.togglePointerEvents(!0);
191001
191003
  const Le = /* @__PURE__ */ new Set();
191002
191004
  for (const tt of Ht(this, ua).values())
191003
- tt.enableEditing(), tt.show(!0), tt.annotationElementId && (Ht(this, Fn).removeChangedExistingAnnotation(tt), Le.add(tt.annotationElementId));
191005
+ tt.enableEditing(), tt.show(!0), tt.annotationElementId && (Ht(this, _n).removeChangedExistingAnnotation(tt), Le.add(tt.annotationElementId));
191004
191006
  if (!Ht(this, Ts))
191005
191007
  return;
191006
191008
  const Ye = Ht(this, Ts).getEditableAnnotations();
191007
191009
  for (const tt of Ye) {
191008
- if (tt.hide(), Ht(this, Fn).isDeletedAnnotationElement(tt.data.id) || Le.has(tt.data.id))
191010
+ if (tt.hide(), Ht(this, _n).isDeletedAnnotationElement(tt.data.id) || Le.has(tt.data.id))
191009
191011
  continue;
191010
191012
  const nt = await this.deserialize(tt);
191011
191013
  nt && (this.addOrRebuild(nt), nt.enableEditing());
@@ -191030,14 +191032,14 @@ const Ua = class Ua {
191030
191032
  const {
191031
191033
  id: gt
191032
191034
  } = ht.data;
191033
- if (Ht(this, Fn).isDeletedAnnotationElement(gt))
191035
+ if (Ht(this, _n).isDeletedAnnotationElement(gt))
191034
191036
  continue;
191035
191037
  let At = Ye.get(gt);
191036
191038
  if (At) {
191037
191039
  At.resetAnnotationElement(ht), At.show(!1), ht.show();
191038
191040
  continue;
191039
191041
  }
191040
- At = Le.get(gt), At && (Ht(this, Fn).addChangedExistingAnnotation(At), At.renderAnnotationElement(ht) && At.show(!1)), ht.show();
191042
+ At = Le.get(gt), At && (Ht(this, _n).addChangedExistingAnnotation(At), At.renderAnnotationElement(ht) && At.show(!1)), ht.show();
191041
191043
  }
191042
191044
  }
191043
191045
  k0(this, Ci, l3).call(this), this.isEmpty && (this.div.hidden = !0);
@@ -191053,13 +191055,13 @@ const Ua = class Ua {
191053
191055
  return ((Ye = Ht(this, Ts)) == null ? void 0 : Ye.getEditableAnnotation(Le)) || null;
191054
191056
  }
191055
191057
  setActiveEditor(Le) {
191056
- Ht(this, Fn).getActive() !== Le && Ht(this, Fn).setActiveEditor(Le);
191058
+ Ht(this, _n).getActive() !== Le && Ht(this, _n).setActiveEditor(Le);
191057
191059
  }
191058
191060
  enableTextSelection() {
191059
191061
  var Le;
191060
191062
  if (this.div.tabIndex = -1, (Le = Ht(this, Ti)) != null && Le.div && !Ht(this, fo)) {
191061
191063
  C0(this, fo, new AbortController());
191062
- const Ye = Ht(this, Fn).combinedSignal(Ht(this, fo));
191064
+ const Ye = Ht(this, _n).combinedSignal(Ht(this, fo));
191063
191065
  Ht(this, Ti).div.addEventListener("pointerdown", k0(this, Ci, bh).bind(this), {
191064
191066
  signal: Ye
191065
191067
  }), Ht(this, Ti).div.classList.add("highlighting");
@@ -191073,7 +191075,7 @@ const Ua = class Ua {
191073
191075
  if (Ht(this, o2))
191074
191076
  return;
191075
191077
  C0(this, o2, new AbortController());
191076
- const Le = Ht(this, Fn).combinedSignal(Ht(this, o2));
191078
+ const Le = Ht(this, _n).combinedSignal(Ht(this, o2));
191077
191079
  this.div.addEventListener("pointerdown", this.pointerdown.bind(this), {
191078
191080
  signal: Le
191079
191081
  }), this.div.addEventListener("pointerup", this.pointerup.bind(this), {
@@ -191089,26 +191091,26 @@ const Ua = class Ua {
191089
191091
  const {
191090
191092
  annotationElementId: Ye
191091
191093
  } = Le;
191092
- Ye && Ht(this, Fn).isDeletedAnnotationElement(Ye) && Ht(this, Fn).removeDeletedAnnotationElement(Le);
191094
+ Ye && Ht(this, _n).isDeletedAnnotationElement(Ye) && Ht(this, _n).removeDeletedAnnotationElement(Le);
191093
191095
  }
191094
191096
  detach(Le) {
191095
191097
  var Ye;
191096
- Ht(this, ua).delete(Le.id), (Ye = Ht(this, O1)) == null || Ye.removePointerInTextLayer(Le.contentDiv), !Ht(this, Jl) && Le.annotationElementId && Ht(this, Fn).addDeletedAnnotationElement(Le);
191098
+ Ht(this, ua).delete(Le.id), (Ye = Ht(this, O1)) == null || Ye.removePointerInTextLayer(Le.contentDiv), !Ht(this, Jl) && Le.annotationElementId && Ht(this, _n).addDeletedAnnotationElement(Le);
191097
191099
  }
191098
191100
  remove(Le) {
191099
- this.detach(Le), Ht(this, Fn).removeEditor(Le), Le.div.remove(), Le.isAttachedToDOM = !1, Ht(this, Zl) || this.addInkEditorIfNeeded(!1);
191101
+ this.detach(Le), Ht(this, _n).removeEditor(Le), Le.div.remove(), Le.isAttachedToDOM = !1, Ht(this, Zl) || this.addInkEditorIfNeeded(!1);
191100
191102
  }
191101
191103
  changeParent(Le) {
191102
191104
  var Ye;
191103
- Le.parent !== this && (Le.parent && Le.annotationElementId && (Ht(this, Fn).addDeletedAnnotationElement(Le.annotationElementId), AnnotationEditor.deleteAnnotationElement(Le), Le.annotationElementId = null), this.attach(Le), (Ye = Le.parent) == null || Ye.detach(Le), Le.setParent(this), Le.div && Le.isAttachedToDOM && (Le.div.remove(), this.div.append(Le.div)));
191105
+ Le.parent !== this && (Le.parent && Le.annotationElementId && (Ht(this, _n).addDeletedAnnotationElement(Le.annotationElementId), AnnotationEditor.deleteAnnotationElement(Le), Le.annotationElementId = null), this.attach(Le), (Ye = Le.parent) == null || Ye.detach(Le), Le.setParent(this), Le.div && Le.isAttachedToDOM && (Le.div.remove(), this.div.append(Le.div)));
191104
191106
  }
191105
191107
  add(Le) {
191106
191108
  if (!(Le.parent === this && Le.isAttachedToDOM)) {
191107
- if (this.changeParent(Le), Ht(this, Fn).addEditor(Le), this.attach(Le), !Le.isAttachedToDOM) {
191109
+ if (this.changeParent(Le), Ht(this, _n).addEditor(Le), this.attach(Le), !Le.isAttachedToDOM) {
191108
191110
  const Ye = Le.render();
191109
191111
  this.div.append(Ye), Le.isAttachedToDOM = !0;
191110
191112
  }
191111
- Le.fixAndSetPosition(), Le.onceAdded(), Ht(this, Fn).addToAnnotationStorage(Le), Le._reportTelemetry(Le.telemetryInitialData);
191113
+ Le.fixAndSetPosition(), Le.onceAdded(), Ht(this, _n).addToAnnotationStorage(Le), Le._reportTelemetry(Le.telemetryInitialData);
191112
191114
  }
191113
191115
  }
191114
191116
  moveEditorInDOM(Le) {
@@ -191123,7 +191125,7 @@ const Ua = class Ua {
191123
191125
  Le._focusEventsAllowed = !0;
191124
191126
  }, {
191125
191127
  once: !0,
191126
- signal: Ht(this, Fn)._signal
191128
+ signal: Ht(this, _n)._signal
191127
191129
  }), Ye.focus());
191128
191130
  }, 0))), Le._structTreeParentId = (tt = Ht(this, O1)) == null ? void 0 : tt.moveElementInDOM(this.div, Le.div, Le.contentDiv, !0);
191129
191131
  }
@@ -191141,17 +191143,17 @@ const Ua = class Ua {
191141
191143
  });
191142
191144
  }
191143
191145
  getNextId() {
191144
- return Ht(this, Fn).getId();
191146
+ return Ht(this, _n).getId();
191145
191147
  }
191146
191148
  combinedSignal(Le) {
191147
- return Ht(this, Fn).combinedSignal(Le);
191149
+ return Ht(this, _n).combinedSignal(Le);
191148
191150
  }
191149
191151
  canCreateNewEmptyEditor() {
191150
191152
  var Le;
191151
191153
  return (Le = Ht(this, Ci, Tp)) == null ? void 0 : Le.canCreateNewEmptyEditor();
191152
191154
  }
191153
191155
  pasteEditor(Le, Ye) {
191154
- Ht(this, Fn).updateToolbar(Le), Ht(this, Fn).updateMode(Le);
191156
+ Ht(this, _n).updateToolbar(Le), Ht(this, _n).updateMode(Le);
191155
191157
  const {
191156
191158
  offsetX: tt,
191157
191159
  offsetY: nt
@@ -191160,7 +191162,7 @@ const Ua = class Ua {
191160
191162
  id: ft,
191161
191163
  x: tt,
191162
191164
  y: nt,
191163
- uiManager: Ht(this, Fn),
191165
+ uiManager: Ht(this, _n),
191164
191166
  isCentered: !0,
191165
191167
  ...Ye
191166
191168
  });
@@ -191168,7 +191170,7 @@ const Ua = class Ua {
191168
191170
  }
191169
191171
  async deserialize(Le) {
191170
191172
  var Ye;
191171
- return await ((Ye = Ht(Ua, c2).get(Le.annotationType ?? Le.annotationEditorType)) == null ? void 0 : Ye.deserialize(Le, this, Ht(this, Fn))) || null;
191173
+ return await ((Ye = Ht(Ua, c2).get(Le.annotationType ?? Le.annotationEditorType)) == null ? void 0 : Ye.deserialize(Le, this, Ht(this, _n))) || null;
191172
191174
  }
191173
191175
  createAndAddNewEditor(Le, Ye, tt = {}) {
191174
191176
  const nt = this.getNextId(), ft = k0(this, Ci, Rp).call(this, {
@@ -191176,7 +191178,7 @@ const Ua = class Ua {
191176
191178
  id: nt,
191177
191179
  x: Le.offsetX,
191178
191180
  y: Le.offsetY,
191179
- uiManager: Ht(this, Fn),
191181
+ uiManager: Ht(this, _n),
191180
191182
  isCentered: Ye,
191181
191183
  ...tt
191182
191184
  });
@@ -191186,13 +191188,13 @@ const Ua = class Ua {
191186
191188
  this.createAndAddNewEditor(k0(this, Ci, Bp).call(this), !0);
191187
191189
  }
191188
191190
  setSelected(Le) {
191189
- Ht(this, Fn).setSelected(Le);
191191
+ Ht(this, _n).setSelected(Le);
191190
191192
  }
191191
191193
  toggleSelected(Le) {
191192
- Ht(this, Fn).toggleSelected(Le);
191194
+ Ht(this, _n).toggleSelected(Le);
191193
191195
  }
191194
191196
  unselect(Le) {
191195
- Ht(this, Fn).unselect(Le);
191197
+ Ht(this, _n).unselect(Le);
191196
191198
  }
191197
191199
  pointerup(Le) {
191198
191200
  const {
@@ -191203,15 +191205,15 @@ const Ua = class Ua {
191203
191205
  C0(this, Yl, !0);
191204
191206
  return;
191205
191207
  }
191206
- if (Ht(this, Fn).getMode() === AnnotationEditorType.STAMP) {
191207
- Ht(this, Fn).unselectAll();
191208
+ if (Ht(this, _n).getMode() === AnnotationEditorType.STAMP) {
191209
+ Ht(this, _n).unselectAll();
191208
191210
  return;
191209
191211
  }
191210
191212
  this.createAndAddNewEditor(Le, !1);
191211
191213
  }
191212
191214
  }
191213
191215
  pointerdown(Le) {
191214
- if (Ht(this, Fn).getMode() === AnnotationEditorType.HIGHLIGHT && this.enableTextSelection(), Ht(this, l2)) {
191216
+ if (Ht(this, _n).getMode() === AnnotationEditorType.HIGHLIGHT && this.enableTextSelection(), Ht(this, l2)) {
191215
191217
  C0(this, l2, !1);
191216
191218
  return;
191217
191219
  }
@@ -191221,32 +191223,32 @@ const Ua = class Ua {
191221
191223
  if (Le.button !== 0 || Le.ctrlKey && Ye || Le.target !== this.div)
191222
191224
  return;
191223
191225
  C0(this, l2, !0);
191224
- const tt = Ht(this, Fn).getActive();
191226
+ const tt = Ht(this, _n).getActive();
191225
191227
  C0(this, Yl, !tt || tt.isEmpty());
191226
191228
  }
191227
191229
  findNewParent(Le, Ye, tt) {
191228
- const nt = Ht(this, Fn).findParent(Ye, tt);
191230
+ const nt = Ht(this, _n).findParent(Ye, tt);
191229
191231
  return nt === null || nt === this ? !1 : (nt.changeParent(Le), !0);
191230
191232
  }
191231
191233
  destroy() {
191232
191234
  var Le, Ye;
191233
- ((Le = Ht(this, Fn).getActive()) == null ? void 0 : Le.parent) === this && (Ht(this, Fn).commitOrRemove(), Ht(this, Fn).setActiveEditor(null)), Ht(this, po) && (clearTimeout(Ht(this, po)), C0(this, po, null));
191235
+ ((Le = Ht(this, _n).getActive()) == null ? void 0 : Le.parent) === this && (Ht(this, _n).commitOrRemove(), Ht(this, _n).setActiveEditor(null)), Ht(this, po) && (clearTimeout(Ht(this, po)), C0(this, po, null));
191234
191236
  for (const tt of Ht(this, ua).values())
191235
191237
  (Ye = Ht(this, O1)) == null || Ye.removePointerInTextLayer(tt.contentDiv), tt.setParent(null), tt.isAttachedToDOM = !1, tt.div.remove();
191236
- this.div = null, Ht(this, ua).clear(), Ht(this, Fn).removeLayer(this);
191238
+ this.div = null, Ht(this, ua).clear(), Ht(this, _n).removeLayer(this);
191237
191239
  }
191238
191240
  render({
191239
191241
  viewport: Le
191240
191242
  }) {
191241
191243
  this.viewport = Le, setLayerDimensions(this.div, Le);
191242
- for (const Ye of Ht(this, Fn).getEditors(this.pageIndex))
191244
+ for (const Ye of Ht(this, _n).getEditors(this.pageIndex))
191243
191245
  this.add(Ye), Ye.rebuild();
191244
191246
  this.updateMode();
191245
191247
  }
191246
191248
  update({
191247
191249
  viewport: Le
191248
191250
  }) {
191249
- Ht(this, Fn).commitOrRemove(), k0(this, Ci, l3).call(this);
191251
+ Ht(this, _n).commitOrRemove(), k0(this, Ci, l3).call(this);
191250
191252
  const Ye = this.viewport.rotation, tt = Le.rotation;
191251
191253
  if (this.viewport = Le, setLayerDimensions(this.div, {
191252
191254
  rotation: tt
@@ -191263,11 +191265,11 @@ const Ua = class Ua {
191263
191265
  return [Le, Ye];
191264
191266
  }
191265
191267
  get scale() {
191266
- return Ht(this, Fn).viewParameters.realScale;
191268
+ return Ht(this, _n).viewParameters.realScale;
191267
191269
  }
191268
191270
  };
191269
- O1 = new WeakMap(), Yl = new WeakMap(), Ts = new WeakMap(), o2 = new WeakMap(), po = new WeakMap(), ua = new WeakMap(), l2 = new WeakMap(), Zl = new WeakMap(), Jl = new WeakMap(), Ti = new WeakMap(), fo = new WeakMap(), Fn = new WeakMap(), c2 = new WeakMap(), Ci = new WeakSet(), bh = function(Le) {
191270
- Ht(this, Fn).unselectAll();
191271
+ O1 = new WeakMap(), Yl = new WeakMap(), Ts = new WeakMap(), o2 = new WeakMap(), po = new WeakMap(), ua = new WeakMap(), l2 = new WeakMap(), Zl = new WeakMap(), Jl = new WeakMap(), Ti = new WeakMap(), fo = new WeakMap(), _n = new WeakMap(), c2 = new WeakMap(), Ci = new WeakSet(), bh = function(Le) {
191272
+ Ht(this, _n).unselectAll();
191271
191273
  const {
191272
191274
  target: Ye
191273
191275
  } = Le;
@@ -191277,7 +191279,7 @@ O1 = new WeakMap(), Yl = new WeakMap(), Ts = new WeakMap(), o2 = new WeakMap(),
191277
191279
  } = util_FeatureTest.platform;
191278
191280
  if (Le.button !== 0 || Le.ctrlKey && tt)
191279
191281
  return;
191280
- Ht(this, Fn).showAllEditors("highlight", !0, !0), Ht(this, Ti).div.classList.add("free"), this.toggleDrawing(), HighlightEditor.startHighlighting(this, Ht(this, Fn).direction === "ltr", {
191282
+ Ht(this, _n).showAllEditors("highlight", !0, !0), Ht(this, Ti).div.classList.add("free"), this.toggleDrawing(), HighlightEditor.startHighlighting(this, Ht(this, _n).direction === "ltr", {
191281
191283
  target: Ht(this, Ti).div,
191282
191284
  x: Le.x,
191283
191285
  y: Le.y
@@ -191285,11 +191287,11 @@ O1 = new WeakMap(), Yl = new WeakMap(), Ts = new WeakMap(), o2 = new WeakMap(),
191285
191287
  Ht(this, Ti).div.classList.remove("free"), this.toggleDrawing(!0);
191286
191288
  }, {
191287
191289
  once: !0,
191288
- signal: Ht(this, Fn)._signal
191290
+ signal: Ht(this, _n)._signal
191289
191291
  }), Le.preventDefault();
191290
191292
  }
191291
191293
  }, Tp = function() {
191292
- return Ht(Ua, c2).get(Ht(this, Fn).getMode());
191294
+ return Ht(Ua, c2).get(Ht(this, _n).getMode());
191293
191295
  }, Rp = function(Le) {
191294
191296
  const Ye = Ht(this, Ci, Tp);
191295
191297
  return Ye ? new Ye.prototype.constructor(Le) : null;
@@ -194182,7 +194184,7 @@ function CaptureId$3({
194182
194184
  flipVerticallyImage: o0 = !1,
194183
194185
  isDeepsightEnabled: t0 = !1
194184
194186
  }) {
194185
- const { setisReadyToRender: c0 } = useReadyToRender(), p0 = ft === 0 ? 1 : ft, n0 = Ct == null ? void 0 : Ct.token, [g0, E0] = useState("white"), [a0, r0] = useState(!1), Yt = useRef(void 0), [jt, Jt] = useState(0), [i0, s0] = useState(0), [f0, u0] = useState(null), [A0, d0] = useState(!1), [P0, L0] = useState(""), [, q0] = useState(""), [$0, Y0] = useState(!1), [z0, B0] = useState(!1), [j0, I0] = useState(!1), [, M0] = useState(!1), [V0, U0] = useState(0), [w0, S0] = useState(!1), [, T0] = useState(!1), [J0, H0] = useState(!1), [X0, Z0] = useState(""), [hn, tn] = useState(""), [, mn] = useState(!1), [En, un] = useState(null), [Xn, Pn] = useState(!1), [Dn, er] = useState(!1), dr = useRef(!1), [$n, Hn] = useSessionState(null), cn = cameraScreenNamesMapper[Ye], wn = eventModuleNames[cn], [Vn, Un] = useState({
194187
+ const { setisReadyToRender: c0 } = useReadyToRender(), p0 = ft === 0 ? 1 : ft, n0 = Ct == null ? void 0 : Ct.token, [g0, E0] = useState("white"), [a0, r0] = useState(!1), Yt = useRef(void 0), [jt, Jt] = useState(0), [i0, s0] = useState(0), [f0, u0] = useState(null), [A0, d0] = useState(!1), [P0, L0] = useState(""), [, q0] = useState(""), [$0, Y0] = useState(!1), [z0, B0] = useState(!1), [j0, I0] = useState(!1), [, M0] = useState(!1), [V0, U0] = useState(0), [w0, S0] = useState(!1), [, T0] = useState(!1), [J0, H0] = useState(!1), [X0, Z0] = useState(""), [mn, tn] = useState(""), [, un] = useState(!1), [kn, fn] = useState(null), [Kn, Ln] = useState(!1), [Fn, er] = useState(!1), dr = useRef(!1), [$n, Hn] = useSessionState(null), cn = cameraScreenNamesMapper[Ye], wn = eventModuleNames[cn], [Vn, Un] = useState({
194186
194188
  isOpen: !1,
194187
194189
  canvas: null
194188
194190
  }), [ir, Ar] = useState(""), O0 = useRef(null), en = useRef(!1), ln = useRef(!1), gn = useRef(!1), Nn = useRef("idle"), Wn = useRef(null), Yn = useRef(!0), Gn = useRef(null), [Sr, Cr] = useState("id"), [cr, Br] = useState(!1), [fa, jr] = useState(null), [_r, Da] = useState(
@@ -194200,7 +194202,7 @@ function CaptureId$3({
194200
194202
  useEffect(() => {
194201
194203
  ln.current = !Yi, E0("white");
194202
194204
  }, [Yi]);
194203
- const { t: Ln } = useTranslation$1(), { showNotification: P1, showPriorityNotification: Ri, closeNotification: ha } = useNotifications(), { startRecording: Pa, stopRecording: La, recordingStarted: Eo, updateMediaStream: is } = useMediaRecorder({
194205
+ const { t: Dn } = useTranslation$1(), { showNotification: P1, showPriorityNotification: Ri, closeNotification: ha } = useNotifications(), { startRecording: Pa, stopRecording: La, recordingStarted: Eo, updateMediaStream: is } = useMediaRecorder({
194204
194206
  token: n0,
194205
194207
  type: `${Ye}Id`
194206
194208
  });
@@ -194221,7 +194223,7 @@ function CaptureId$3({
194221
194223
  getLogObject(`capturing${nr}`, {
194222
194224
  message: "Hold still. Capturing..."
194223
194225
  })
194224
- ), Yt.current !== Ln("notifications.takingPhoto") && (addEvent({
194226
+ ), Yt.current !== Dn("notifications.takingPhoto") && (addEvent({
194225
194227
  token: Ct == null ? void 0 : Ct.token,
194226
194228
  module: "ID capture",
194227
194229
  code: "cameraFeedbackDisplayed",
@@ -194229,32 +194231,32 @@ function CaptureId$3({
194229
194231
  payload: {
194230
194232
  feedback: "Hold still. Capturing..."
194231
194233
  }
194232
- }), Yt.current = Ln("notifications.takingPhoto")), Ri(
194234
+ }), Yt.current = Dn("notifications.takingPhoto")), Ri(
194233
194235
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style: { textAlign: "center" }, children: [
194234
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: Ln("notifications.dontMove") }),
194235
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: Ln("notifications.takingPhoto") })
194236
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: Dn("notifications.dontMove") }),
194237
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: Dn("notifications.takingPhoto") })
194236
194238
  ] }),
194237
194239
  "dontMove"
194238
194240
  ));
194239
- }, v0 = async (An, Mn) => {
194241
+ }, v0 = async (An, Pn) => {
194240
194242
  var Nr;
194241
194243
  ln.current = !1, gn.current = !1, ((Nr = mr.current) == null ? void 0 : Nr.streamUnlocked) != null && (mr.current.streamUnlocked.current = !1), Jr.current = {
194242
194244
  canvas: An,
194243
- qualityElements: Mn
194244
- }, ha(), await as(An, Mn);
194245
+ qualityElements: Pn
194246
+ }, ha(), await as(An, Pn);
194245
194247
  }, R0 = () => {
194246
194248
  gn.current || (ht(
194247
194249
  getLogObject("IDNotDetected", {
194248
- message: `${Ln("notifications.couldntCapture")}`
194250
+ message: `${Dn("notifications.couldntCapture")}`
194249
194251
  })
194250
194252
  ), a0 || Ri(fi, Ma));
194251
194253
  }, N0 = (An) => {
194252
194254
  if (Gn.current !== Ye)
194253
194255
  return;
194254
- const Mn = Ln(An ? "notifications.glareDetectedChange" : "notifications.glareDetected");
194255
- Mn === Ln("notifications.glareDetectedChange") && Yt.current !== Mn && (gn.current || ht(
194256
+ const Pn = Dn(An ? "notifications.glareDetectedChange" : "notifications.glareDetected");
194257
+ Pn === Dn("notifications.glareDetectedChange") && Yt.current !== Pn && (gn.current || ht(
194256
194258
  getLogObject("glareDetectedChanged", {
194257
- message: Ln("notifications.glareDetected")
194259
+ message: Dn("notifications.glareDetected")
194258
194260
  })
194259
194261
  ), addEvent({
194260
194262
  token: Ct == null ? void 0 : Ct.token,
@@ -194264,19 +194266,19 @@ function CaptureId$3({
194264
194266
  payload: {
194265
194267
  feedback: "Change light conditions"
194266
194268
  }
194267
- }), Yt.current = Mn), gn.current || (ht(
194269
+ }), Yt.current = Pn), gn.current || (ht(
194268
194270
  getLogObject("glareDetected", {
194269
- message: Ln("notifications.glareDetected")
194271
+ message: Dn("notifications.glareDetected")
194270
194272
  })
194271
194273
  ), Ri(
194272
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: { textAlign: "center" }, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: Mn }) }),
194274
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: { textAlign: "center" }, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: Pn }) }),
194273
194275
  "Focus"
194274
194276
  ));
194275
194277
  }, G0 = (An) => {
194276
194278
  if (Gn.current !== Ye)
194277
194279
  return;
194278
- const Mn = Ln(An ? "notifications.outOfFocusChange" : "notifications.outOfFocus");
194279
- Mn === Ln("notifications.outOfFocusChange") && Yt.current !== Mn && (addEvent({
194280
+ const Pn = Dn(An ? "notifications.outOfFocusChange" : "notifications.outOfFocus");
194281
+ Pn === Dn("notifications.outOfFocusChange") && Yt.current !== Pn && (addEvent({
194280
194282
  token: Ct == null ? void 0 : Ct.token,
194281
194283
  code: "cameraFeedbackDisplayed",
194282
194284
  module: "ID capture",
@@ -194286,60 +194288,60 @@ function CaptureId$3({
194286
194288
  }
194287
194289
  }), gn.current || ht(
194288
194290
  getLogObject("outOfFocus", {
194289
- message: Ln(An ? "notifications.outOfFocusChange" : "notifications.outOfFocus")
194291
+ message: Dn(An ? "notifications.outOfFocusChange" : "notifications.outOfFocus")
194290
194292
  })
194291
- ), Yt.current = Mn), gn.current || Ri(
194292
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: { textAlign: "center" }, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: Mn }) }),
194293
+ ), Yt.current = Pn), gn.current || Ri(
194294
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: { textAlign: "center" }, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: Pn }) }),
194293
194295
  "Focus"
194294
194296
  );
194295
194297
  }, W0 = () => {
194296
194298
  dr.current || (dr.current = !0);
194297
194299
  }, Q0 = () => {
194298
194300
  Gn.current === Ye && (gn.current || (Ri(
194299
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: { textAlign: "center" }, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: Ln("notifications.fitOverlay") }) }),
194301
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: { textAlign: "center" }, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: Dn("notifications.fitOverlay") }) }),
194300
194302
  ""
194301
194303
  ), ht(
194302
194304
  getLogObject("fitOverlay", {
194303
- message: Ln("notifications.fitOverlay")
194305
+ message: Dn("notifications.fitOverlay")
194304
194306
  })
194305
194307
  )));
194306
- }, an = (An, Mn, Nr, ja = "") => {
194307
- a0 || (Ar(ja), Pn(An), mn(Mn), un(Nr));
194308
- }, fn = (An) => {
194308
+ }, an = (An, Pn, Nr, ja = "") => {
194309
+ a0 || (Ar(ja), Ln(An), un(Pn), fn(Nr));
194310
+ }, hn = (An) => {
194309
194311
  var Nr;
194310
- ha(), ln.current = !1, ((Nr = mr.current) == null ? void 0 : Nr.streamUnlocked) != null && (mr.current.streamUnlocked.current = !1), Yn.current = !1, r0(!0), Pn(!0), mn(Gt ?? !1), ht(getLogObject("manualCaptureOn", {})), clearTimeout(showFillRectangleNorificationTimeout);
194311
- const Mn = {
194312
+ ha(), ln.current = !1, ((Nr = mr.current) == null ? void 0 : Nr.streamUnlocked) != null && (mr.current.streamUnlocked.current = !1), Yn.current = !1, r0(!0), Ln(!0), un(Gt ?? !1), ht(getLogObject("manualCaptureOn", {})), clearTimeout(showFillRectangleNorificationTimeout);
194313
+ const Pn = {
194312
194314
  [`manualCapture${nr}`]: !0,
194313
194315
  reason: An ? "idleTimeout" : "bestFrameTimeout"
194314
194316
  };
194315
- _r && (Mn.timeToManualCaptureMode = Date.now() - _r, Da(null)), addEvent({
194317
+ _r && (Pn.timeToManualCaptureMode = Date.now() - _r, Da(null)), addEvent({
194316
194318
  token: n0,
194317
194319
  code: `switchToManualCapture${nr}`,
194318
- payload: Mn
194320
+ payload: Pn
194319
194321
  }), ht(
194320
194322
  getLogObject("switchToManualCapture", {
194321
- message: Ln("Switched to manual capture")
194323
+ message: Dn("Switched to manual capture")
194322
194324
  })
194323
194325
  );
194324
194326
  };
194325
194327
  let sn = !1;
194326
194328
  const dn = (An) => {
194327
- sn || Cr((Mn) => An !== Mn ? (sn = !0, setTimeout(() => {
194329
+ sn || Cr((Pn) => An !== Pn ? (sn = !0, setTimeout(() => {
194328
194330
  sn = !1;
194329
- }, 1e3), An === "passport" || An === "id" ? An : Or()) : Mn);
194331
+ }, 1e3), An === "passport" || An === "id" ? An : Or()) : Pn);
194330
194332
  }, Rn = (An) => {
194331
194333
  Gn.current = An, gn.current || (Ri(
194332
194334
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: { textAlign: "center" }, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
194333
- Ye === "front" && An !== "front" && Ln("notifications.showFrontId"),
194334
- Ye === "back" && An !== "back" && Ln("notifications.showBackId")
194335
+ Ye === "front" && An !== "front" && Dn("notifications.showFrontId"),
194336
+ Ye === "back" && An !== "back" && Dn("notifications.showBackId")
194335
194337
  ] }) }),
194336
194338
  ""
194337
194339
  ), ht(
194338
194340
  getLogObject("fitOverlay", {
194339
- message: Ln("notifications.wrongSide")
194341
+ message: Dn("notifications.wrongSide")
194340
194342
  })
194341
194343
  ));
194342
- }, Cn = async () => {
194344
+ }, En = async () => {
194343
194345
  O0.current = new IdCapture(), await O0.current.initialize({
194344
194346
  onCapturing: m0,
194345
194347
  onCapture: v0,
@@ -194349,7 +194351,7 @@ function CaptureId$3({
194349
194351
  onIDNotDetected: R0,
194350
194352
  onMaskChange: an,
194351
194353
  onDetectionStarted: W0,
194352
- onSwitchToManualCapture: fn,
194354
+ onSwitchToManualCapture: hn,
194353
194355
  onIDTypeChange: dn,
194354
194356
  onIDSideChange: Rn,
194355
194357
  onCapturingCounterValueChange: () => {
@@ -194390,7 +194392,7 @@ function CaptureId$3({
194390
194392
  shouldOpen: !0
194391
194393
  }), ht(
194392
194394
  getLogObject("lookingForID", {
194393
- message: Ln(`Looking for ${nr}`)
194395
+ message: Dn(`Looking for ${nr}`)
194394
194396
  })
194395
194397
  );
194396
194398
  }, []), useEffect(() => {
@@ -194404,7 +194406,7 @@ function CaptureId$3({
194404
194406
  return () => clearInterval(An);
194405
194407
  }
194406
194408
  }, [A0, Zi, f0]), useEffect(() => {
194407
- a0 && Yt.current !== Ln("captureInstructions.step2") && (addEvent({
194409
+ a0 && Yt.current !== Dn("captureInstructions.step2") && (addEvent({
194408
194410
  token: Ct == null ? void 0 : Ct.token,
194409
194411
  code: "cameraFeedbackDisplayed",
194410
194412
  module: "ID capture",
@@ -194414,13 +194416,13 @@ function CaptureId$3({
194414
194416
  }
194415
194417
  }), ht(
194416
194418
  getLogObject("cameraFeedbackDisplayed", {
194417
- message: Ln("Press capture button")
194419
+ message: Dn("Press capture button")
194418
194420
  })
194419
- ), Yt.current = Ln("captureInstructions.step2"));
194421
+ ), Yt.current = Dn("captureInstructions.step2"));
194420
194422
  }, [a0]);
194421
- const Kn = async () => {
194423
+ const Xn = async () => {
194422
194424
  if (!(!ln.current || en.current)) {
194423
- en.current = !0, O0.current || await Cn();
194425
+ en.current = !0, O0.current || await En();
194424
194426
  try {
194425
194427
  await MlWasmJSApi$1.handleDetectionCallAndUpdateState(
194426
194428
  detectionSetup.getProfile(DetectionType.IDCapture).pipelineType
@@ -194436,9 +194438,9 @@ function CaptureId$3({
194436
194438
  }
194437
194439
  }
194438
194440
  };
194439
- useEffect(() => (onFrameEmitter.on("newFrame", Kn), () => {
194440
- onFrameEmitter.off("newFrame", Kn);
194441
- }), [Kn]);
194441
+ useEffect(() => (onFrameEmitter.on("newFrame", Xn), () => {
194442
+ onFrameEmitter.off("newFrame", Xn);
194443
+ }), [Xn]);
194442
194444
  const bn = useCallback(() => {
194443
194445
  var An;
194444
194446
  Da(Date.now()), !ln.current && Nn.current === "idle" && (ln.current = !0, ((An = mr.current) == null ? void 0 : An.streamUnlocked) != null && (mr.current.streamUnlocked.current = !0));
@@ -194446,8 +194448,8 @@ function CaptureId$3({
194446
194448
  useEffect(() => {
194447
194449
  w0 && (S0(!1), a0 || bn());
194448
194450
  }, [bn, a0, w0]), useEffect(() => (H0(!0), () => {
194449
- var An, Mn;
194450
- H0(!1), ln.current = !1, ((An = mr.current) == null ? void 0 : An.streamUnlocked) != null && (mr.current.streamUnlocked.current = !1), !vt && (Mn = mr.current) != null && Mn.mediaStreamTrack && mr.current.mediaStreamTrack.stop();
194451
+ var An, Pn;
194452
+ H0(!1), ln.current = !1, ((An = mr.current) == null ? void 0 : An.streamUnlocked) != null && (mr.current.streamUnlocked.current = !1), !vt && (Pn = mr.current) != null && Pn.mediaStreamTrack && mr.current.mediaStreamTrack.stop();
194451
194453
  }), [vt]), useEffect(() => {
194452
194454
  addEvent({
194453
194455
  token: n0,
@@ -194458,8 +194460,8 @@ function CaptureId$3({
194458
194460
  const yn = async (An) => {
194459
194461
  Br(!0), P1(
194460
194462
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style: { textAlign: "center" }, children: [
194461
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: Ln("notifications.couldntCapture") }),
194462
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: Ln("notifications.verifyLater") })
194463
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: Dn("notifications.couldntCapture") }),
194464
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: Dn("notifications.verifyLater") })
194463
194465
  ] }),
194464
194466
  "skip"
194465
194467
  ), await sleep(SLEEP_DURATION), ht(
@@ -194470,13 +194472,13 @@ function CaptureId$3({
194470
194472
  ), ha(), An && An();
194471
194473
  }, hr = async ({
194472
194474
  key: An,
194473
- value: Mn
194475
+ value: Pn
194474
194476
  }) => {
194475
194477
  try {
194476
194478
  await updateSession({
194477
194479
  token: n0,
194478
194480
  key: An,
194479
- value: Mn
194481
+ value: Pn
194480
194482
  }), T0(!1);
194481
194483
  } catch {
194482
194484
  T0(!1);
@@ -194508,21 +194510,21 @@ function CaptureId$3({
194508
194510
  const { url: Nr } = An.getBlobData();
194509
194511
  L0(Nr), Kr();
194510
194512
  }
194511
- const Mn = { canvas: null, itr: null };
194512
- if (await MlWasmJSApi$1.poc(Mn), (Mn == null ? void 0 : Mn.skipped) === !1) {
194513
- if (Mn != null && Mn.canvas) {
194514
- const ja = new IncodeCanvas(Mn.canvas).getBase64Image();
194513
+ const Pn = { canvas: null, itr: null };
194514
+ if (await MlWasmJSApi$1.poc(Pn), (Pn == null ? void 0 : Pn.skipped) === !1) {
194515
+ if (Pn != null && Pn.canvas) {
194516
+ const ja = new IncodeCanvas(Pn.canvas).getBase64Image();
194515
194517
  logFrame({
194516
194518
  base64Image: ja,
194517
194519
  token: Ct == null ? void 0 : Ct.token,
194518
194520
  source: sources[Ye]
194519
194521
  });
194520
194522
  }
194521
- (Mn == null ? void 0 : Mn.itr) === !0 ? (addDeviceStats(Ct == null ? void 0 : Ct.token, {
194523
+ (Pn == null ? void 0 : Pn.itr) === !0 ? (addDeviceStats(Ct == null ? void 0 : Ct.token, {
194522
194524
  virtualCameraDetected: !0
194523
- }), MlWasmJSApi$1.setZc("FAIL")) : (Mn == null ? void 0 : Mn.itr) === !1 && MlWasmJSApi$1.setZc("PASS");
194525
+ }), MlWasmJSApi$1.setZc("FAIL")) : (Pn == null ? void 0 : Pn.itr) === !1 && MlWasmJSApi$1.setZc("PASS");
194524
194526
  }
194525
- }, as = async (An, Mn) => {
194527
+ }, as = async (An, Pn) => {
194526
194528
  if (await yo(An), clearTimeout(manualCaptureTimeout), manualCaptureTimeout = void 0, !An)
194527
194529
  return;
194528
194530
  Zi(), addEvent({
@@ -194568,7 +194570,7 @@ function CaptureId$3({
194568
194570
  shouldOpen: !1
194569
194571
  }), ht(
194570
194572
  getLogObject("captureSucessful", {
194571
- message: Ln(`Capture for ${nr} was successful`)
194573
+ message: Dn(`Capture for ${nr} was successful`)
194572
194574
  })
194573
194575
  ), E0("white")) : (addScreenEvent({
194574
194576
  module: wn,
@@ -194601,7 +194603,7 @@ function CaptureId$3({
194601
194603
  }
194602
194604
  }), ht(
194603
194605
  getLogObject("inspecting", {
194604
- message: Ln(`Inspecting ${nr}...`)
194606
+ message: Dn(`Inspecting ${nr}...`)
194605
194607
  })
194606
194608
  ), addEvent({
194607
194609
  token: Ct == null ? void 0 : Ct.token,
@@ -194636,9 +194638,9 @@ function CaptureId$3({
194636
194638
  imageType: void 0,
194637
194639
  shouldSkipGlareBack: $n == null ? void 0 : $n.skipGlareBack,
194638
194640
  shouldSkipGlareFront: $n == null ? void 0 : $n.skipGlareFront,
194639
- ...Mn && {
194640
- glare: Mn.glare,
194641
- sharpness: Mn.sharpness
194641
+ ...Pn && {
194642
+ glare: Pn.glare,
194643
+ sharpness: Pn.sharpness
194642
194644
  },
194643
194645
  metadata: onboardingAnalytics.getMetadata()
194644
194646
  }).then(async (wr) => {
@@ -194681,7 +194683,7 @@ function CaptureId$3({
194681
194683
  shouldOpen: !1
194682
194684
  }), ht(
194683
194685
  getLogObject(`uploading${nr}`, {
194684
- message: Ln(`Uploading ${nr}`)
194686
+ message: Dn(`Uploading ${nr}`)
194685
194687
  })
194686
194688
  );
194687
194689
  const L1 = (wr == null ? void 0 : wr.skipGlareFront) && nr === "FrontId", $u = (wr == null ? void 0 : wr.skipGlareBack) && nr === "BackId";
@@ -194732,7 +194734,7 @@ function CaptureId$3({
194732
194734
  }
194733
194735
  }), ht(
194734
194736
  getLogObject(`${nr}UploadSuccessful`, {
194735
- message: Ln(`${nr} capture was successful`)
194737
+ message: Dn(`${nr} capture was successful`)
194736
194738
  })
194737
194739
  ), q0(os.croppedFace), u0(!0), Nn.current = "success", await sleep(SUCESS_SLEEP_DURATION), addScreenEvent({
194738
194740
  module: wn,
@@ -194782,7 +194784,7 @@ function CaptureId$3({
194782
194784
  };
194783
194785
  function Os() {
194784
194786
  var An;
194785
- Dn ? (a0 || bn(), addEvent({
194787
+ Fn ? (a0 || bn(), addEvent({
194786
194788
  token: n0,
194787
194789
  code: "tryAgainSelected",
194788
194790
  screen: "ID capture help",
@@ -194812,7 +194814,7 @@ function CaptureId$3({
194812
194814
  screen: eventScreenNames[`${cn}Help`],
194813
194815
  token: n0,
194814
194816
  shouldOpen: !0
194815
- }), ht(getLogObject("commonIssuesOpened", {})), ln.current = !1, ((An = mr.current) == null ? void 0 : An.streamUnlocked) != null && (mr.current.streamUnlocked.current = !1)), er(!Dn);
194817
+ }), ht(getLogObject("commonIssuesOpened", {})), ln.current = !1, ((An = mr.current) == null ? void 0 : An.streamUnlocked) != null && (mr.current.streamUnlocked.current = !1)), er(!Fn);
194816
194818
  }
194817
194819
  function bo() {
194818
194820
  if (gn.current = !1, p0 !== -1 && V0 >= p0) return;
@@ -194919,8 +194921,8 @@ function CaptureId$3({
194919
194921
  Mask$2,
194920
194922
  {
194921
194923
  className: "IncodeCaptureIdMask",
194922
- show: Xn,
194923
- top: En,
194924
+ show: Kn,
194925
+ top: kn,
194924
194926
  frame: g0,
194925
194927
  animate: !a0,
194926
194928
  type: Sr,
@@ -194952,18 +194954,18 @@ function CaptureId$3({
194952
194954
  {
194953
194955
  surface: isSurface,
194954
194956
  onClick: () => bo(),
194955
- "aria-label": Ln("manualCapture.ariaLabel"),
194957
+ "aria-label": Dn("manualCapture.ariaLabel"),
194956
194958
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(
194957
194959
  "img",
194958
194960
  {
194959
194961
  src: isSurface ? DesktopCaptureButton : CaptureButton,
194960
- alt: Ln("manualCapture.ariaLabel")
194962
+ alt: Dn("manualCapture.ariaLabel")
194961
194963
  }
194962
194964
  )
194963
194965
  }
194964
194966
  )
194965
194967
  ] }),
194966
- $0 && /* @__PURE__ */ jsxRuntimeExports.jsx(CaptureKioskFeedback, { children: X0 || Ln("desktopHome.uploading") }),
194968
+ $0 && /* @__PURE__ */ jsxRuntimeExports.jsx(CaptureKioskFeedback, { children: X0 || Dn("desktopHome.uploading") }),
194967
194969
  $0 && /* @__PURE__ */ jsxRuntimeExports.jsx(CaptureFeedbackContainer, { className: "IncodeCaptureIdFeedbackContainer", children: X0 && /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
194968
194970
  /* @__PURE__ */ jsxRuntimeExports.jsx(
194969
194971
  Button$c,
@@ -194971,10 +194973,10 @@ function CaptureId$3({
194971
194973
  theme,
194972
194974
  className: "IncodeCaptureTryAgainButton",
194973
194975
  onClick: () => d0(!0),
194974
- children: ei() ? Ln("common.tryAgain") : Ln("common.continue")
194976
+ children: ei() ? Dn("common.tryAgain") : Dn("common.continue")
194975
194977
  }
194976
194978
  ),
194977
- ei() && /* @__PURE__ */ jsxRuntimeExports.jsx(AttemptsRemainingText, { className: "IncodeAttempsRemainingText", children: Ln(
194979
+ ei() && /* @__PURE__ */ jsxRuntimeExports.jsx(AttemptsRemainingText, { className: "IncodeAttempsRemainingText", children: Dn(
194978
194980
  ei() ? "common.attempsLeft" : "common.attempLeft",
194979
194981
  {
194980
194982
  attempts: Io
@@ -195000,7 +195002,7 @@ function CaptureId$3({
195000
195002
  }
195001
195003
  ),
195002
195004
  !$0 && !Vn.isOpen && /* @__PURE__ */ jsxRuntimeExports.jsxs(NativeButton, { onClick: Os, className: "IncodeNeedHelpButton", children: [
195003
- /* @__PURE__ */ jsxRuntimeExports.jsxs(Trans, { t: Ln, i18nKey: "commonIssues.needHelp", children: [
195005
+ /* @__PURE__ */ jsxRuntimeExports.jsxs(Trans, { t: Dn, i18nKey: "commonIssues.needHelp", children: [
195004
195006
  "Need ",
195005
195007
  /* @__PURE__ */ jsxRuntimeExports.jsx("br", {}),
195006
195008
  " Help"
@@ -195015,7 +195017,7 @@ function CaptureId$3({
195015
195017
  }
195016
195018
  )
195017
195019
  ] }),
195018
- Dn && /* @__PURE__ */ jsxRuntimeExports.jsx(CommonIssuesModal, { onClose: Os }),
195020
+ Fn && /* @__PURE__ */ jsxRuntimeExports.jsx(CommonIssuesModal, { onClose: Os }),
195019
195021
  Bs && /* @__PURE__ */ jsxRuntimeExports.jsxs(CaptureContainer, { children: [
195020
195022
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
195021
195023
  WebcamContainer,
@@ -195030,7 +195032,7 @@ function CaptureId$3({
195030
195032
  /* @__PURE__ */ jsxRuntimeExports.jsx(
195031
195033
  TakenPicture,
195032
195034
  {
195033
- alt: Ln("capturePreview.ariaLabel"),
195035
+ alt: Dn("capturePreview.ariaLabel"),
195034
195036
  src: P0,
195035
195037
  shouldBlurImage: z0
195036
195038
  }
@@ -195086,19 +195088,19 @@ function CaptureId$3({
195086
195088
  {
195087
195089
  desktop: !0,
195088
195090
  onClick: () => bo(),
195089
- "aria-label": Ln("manualCapture.ariaLabel"),
195091
+ "aria-label": Dn("manualCapture.ariaLabel"),
195090
195092
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(
195091
195093
  "img",
195092
195094
  {
195093
195095
  src: DesktopCaptureButton,
195094
- alt: Ln("manualCapture.ariaLabel")
195096
+ alt: Dn("manualCapture.ariaLabel")
195095
195097
  }
195096
195098
  )
195097
195099
  }
195098
195100
  )
195099
195101
  ] }),
195100
195102
  $0 && /* @__PURE__ */ jsxRuntimeExports.jsxs(CaptureFeedbackContainer, { className: "IncodeCaptureIdFeedbackContainer", children: [
195101
- /* @__PURE__ */ jsxRuntimeExports.jsx(CaptureFeedback, { children: X0 || Ln("desktopHome.uploading") }),
195103
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CaptureFeedback, { children: X0 || Dn("desktopHome.uploading") }),
195102
195104
  X0 && /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
195103
195105
  /* @__PURE__ */ jsxRuntimeExports.jsx(
195104
195106
  Button$c,
@@ -195106,10 +195108,10 @@ function CaptureId$3({
195106
195108
  theme,
195107
195109
  className: "IncodeCaptureTryAgainButton",
195108
195110
  onClick: () => d0(!0),
195109
- children: ei() ? Ln("common.tryAgain") : Ln("common.continue")
195111
+ children: ei() ? Dn("common.tryAgain") : Dn("common.continue")
195110
195112
  }
195111
195113
  ),
195112
- ei() && /* @__PURE__ */ jsxRuntimeExports.jsx(AttemptsRemainingText, { className: "IncodeAttempsRemainingText", children: Ln(
195114
+ ei() && /* @__PURE__ */ jsxRuntimeExports.jsx(AttemptsRemainingText, { className: "IncodeAttempsRemainingText", children: Dn(
195113
195115
  ei() ? "common.attempsLeft" : "common.attempLeft",
195114
195116
  {
195115
195117
  attempts: Io
@@ -195127,7 +195129,7 @@ function CaptureId$3({
195127
195129
  onClick: Os,
195128
195130
  tabIndex: 0,
195129
195131
  children: [
195130
- /* @__PURE__ */ jsxRuntimeExports.jsxs(Trans, { t: Ln, i18nKey: "commonIssues.needHelp", children: [
195132
+ /* @__PURE__ */ jsxRuntimeExports.jsxs(Trans, { t: Dn, i18nKey: "commonIssues.needHelp", children: [
195131
195133
  "Need ",
195132
195134
  /* @__PURE__ */ jsxRuntimeExports.jsx("br", {}),
195133
195135
  " Help"
@@ -195143,7 +195145,7 @@ function CaptureId$3({
195143
195145
  ]
195144
195146
  }
195145
195147
  ),
195146
- Dn && /* @__PURE__ */ jsxRuntimeExports.jsx(CommonIssuesModal, { onClose: Os }),
195148
+ Fn && /* @__PURE__ */ jsxRuntimeExports.jsx(CommonIssuesModal, { onClose: Os }),
195147
195149
  Bs && /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
195148
195150
  /* @__PURE__ */ jsxRuntimeExports.jsx(
195149
195151
  Webcam,
@@ -195175,8 +195177,8 @@ function CaptureId$3({
195175
195177
  Mask$2,
195176
195178
  {
195177
195179
  className: "IncodeCaptureIdMask",
195178
- show: Xn,
195179
- top: En,
195180
+ show: Kn,
195181
+ top: kn,
195180
195182
  frame: g0,
195181
195183
  animate: !a0,
195182
195184
  type: Sr,
@@ -195215,9 +195217,9 @@ function CaptureId$3({
195215
195217
  {
195216
195218
  className: "IncodeCaptureIdFakeButtonImage",
195217
195219
  onClick: () => bo(),
195218
- "aria-label": Ln("manualCapture.ariaLabel"),
195220
+ "aria-label": Dn("manualCapture.ariaLabel"),
195219
195221
  tabIndex: 0,
195220
- children: /* @__PURE__ */ jsxRuntimeExports.jsx("img", { src: CaptureButton, alt: Ln("manualCapture.ariaLabel") })
195222
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx("img", { src: CaptureButton, alt: Dn("manualCapture.ariaLabel") })
195221
195223
  }
195222
195224
  )
195223
195225
  ]
@@ -195227,7 +195229,7 @@ function CaptureId$3({
195227
195229
  CapturePreview,
195228
195230
  {
195229
195231
  message: X0,
195230
- messageDescription: hn,
195232
+ messageDescription: mn,
195231
195233
  progress: Fi(),
195232
195234
  finishCapture: A0,
195233
195235
  captureSuccessful: f0,
@@ -300563,8 +300565,8 @@ var NetworkTest$1 = { exports: {} };
300563
300565
  v0[G0] = N0;
300564
300566
  const W0 = Tt(N0) ? [] : {};
300565
300567
  return zt(N0, (Q0, an) => {
300566
- const fn = R0(Q0, G0 + 1);
300567
- !Rt(fn) && (W0[an] = fn);
300568
+ const hn = R0(Q0, G0 + 1);
300569
+ !Rt(hn) && (W0[an] = hn);
300568
300570
  }), v0[G0] = void 0, W0;
300569
300571
  }
300570
300572
  }
@@ -300586,8 +300588,8 @@ var NetworkTest$1 = { exports: {} };
300586
300588
  u0.toFlatObject(m0, Q0, function(sn) {
300587
300589
  return sn !== Error.prototype;
300588
300590
  }, (sn) => sn !== "isAxiosError");
300589
- const an = m0 && m0.message ? m0.message : "Error", fn = v0 == null && m0 ? m0.code : v0;
300590
- return A0.call(Q0, an, fn, R0, N0, G0), m0 && Q0.cause == null && Object.defineProperty(Q0, "cause", { value: m0, configurable: !0 }), Q0.name = m0 && m0.name || "Error", W0 && Object.assign(Q0, W0), Q0;
300591
+ const an = m0 && m0.message ? m0.message : "Error", hn = v0 == null && m0 ? m0.code : v0;
300592
+ return A0.call(Q0, an, hn, R0, N0, G0), m0 && Q0.cause == null && Object.defineProperty(Q0, "cause", { value: m0, configurable: !0 }), Q0.name = m0 && m0.name || "Error", W0 && Object.assign(Q0, W0), Q0;
300591
300593
  };
300592
300594
  function L0(m0) {
300593
300595
  return u0.isPlainObject(m0) || u0.isArray(m0);
@@ -300606,36 +300608,36 @@ var NetworkTest$1 = { exports: {} };
300606
300608
  function z0(m0, v0, R0) {
300607
300609
  if (!u0.isObject(m0)) throw new TypeError("target must be an object");
300608
300610
  v0 = v0 || new FormData();
300609
- const N0 = (R0 = u0.toFlatObject(R0, { metaTokens: !0, dots: !1, indexes: !1 }, !1, function(Cn, Kn) {
300610
- return !u0.isUndefined(Kn[Cn]);
300611
+ const N0 = (R0 = u0.toFlatObject(R0, { metaTokens: !0, dots: !1, indexes: !1 }, !1, function(En, Xn) {
300612
+ return !u0.isUndefined(Xn[En]);
300611
300613
  })).metaTokens, G0 = R0.visitor || sn, W0 = R0.dots, Q0 = R0.indexes, an = (R0.Blob || typeof Blob < "u" && Blob) && u0.isSpecCompliantForm(v0);
300612
300614
  if (!u0.isFunction(G0)) throw new TypeError("visitor must be a function");
300613
- function fn(Cn) {
300614
- if (Cn === null) return "";
300615
- if (u0.isDate(Cn)) return Cn.toISOString();
300616
- if (u0.isBoolean(Cn)) return Cn.toString();
300617
- if (!an && u0.isBlob(Cn)) throw new A0("Blob is not supported. Use a Buffer instead.");
300618
- return u0.isArrayBuffer(Cn) || u0.isTypedArray(Cn) ? an && typeof Blob == "function" ? new Blob([Cn]) : Buffer.from(Cn) : Cn;
300619
- }
300620
- function sn(Cn, Kn, bn) {
300621
- let yn = Cn;
300622
- if (Cn && !bn && typeof Cn == "object") {
300623
- if (u0.endsWith(Kn, "{}")) Kn = N0 ? Kn : Kn.slice(0, -2), Cn = JSON.stringify(Cn);
300624
- else if (u0.isArray(Cn) && function(hr) {
300615
+ function hn(En) {
300616
+ if (En === null) return "";
300617
+ if (u0.isDate(En)) return En.toISOString();
300618
+ if (u0.isBoolean(En)) return En.toString();
300619
+ if (!an && u0.isBlob(En)) throw new A0("Blob is not supported. Use a Buffer instead.");
300620
+ return u0.isArrayBuffer(En) || u0.isTypedArray(En) ? an && typeof Blob == "function" ? new Blob([En]) : Buffer.from(En) : En;
300621
+ }
300622
+ function sn(En, Xn, bn) {
300623
+ let yn = En;
300624
+ if (En && !bn && typeof En == "object") {
300625
+ if (u0.endsWith(Xn, "{}")) Xn = N0 ? Xn : Xn.slice(0, -2), En = JSON.stringify(En);
300626
+ else if (u0.isArray(En) && function(hr) {
300625
300627
  return u0.isArray(hr) && !hr.some(L0);
300626
- }(Cn) || (u0.isFileList(Cn) || u0.endsWith(Kn, "[]")) && (yn = u0.toArray(Cn))) return Kn = q0(Kn), yn.forEach(function(hr, pr) {
300627
- !u0.isUndefined(hr) && hr !== null && v0.append(Q0 === !0 ? $0([Kn], pr, W0) : Q0 === null ? Kn : Kn + "[]", fn(hr));
300628
+ }(En) || (u0.isFileList(En) || u0.endsWith(Xn, "[]")) && (yn = u0.toArray(En))) return Xn = q0(Xn), yn.forEach(function(hr, pr) {
300629
+ !u0.isUndefined(hr) && hr !== null && v0.append(Q0 === !0 ? $0([Xn], pr, W0) : Q0 === null ? Xn : Xn + "[]", hn(hr));
300628
300630
  }), !1;
300629
300631
  }
300630
- return !!L0(Cn) || (v0.append($0(bn, Kn, W0), fn(Cn)), !1);
300632
+ return !!L0(En) || (v0.append($0(bn, Xn, W0), hn(En)), !1);
300631
300633
  }
300632
- const dn = [], Rn = Object.assign(Y0, { defaultVisitor: sn, convertValue: fn, isVisitable: L0 });
300634
+ const dn = [], Rn = Object.assign(Y0, { defaultVisitor: sn, convertValue: hn, isVisitable: L0 });
300633
300635
  if (!u0.isObject(m0)) throw new TypeError("data must be an object");
300634
- return function Cn(Kn, bn) {
300635
- if (!u0.isUndefined(Kn)) {
300636
- if (dn.indexOf(Kn) !== -1) throw Error("Circular reference detected in " + bn.join("."));
300637
- dn.push(Kn), u0.forEach(Kn, function(yn, hr) {
300638
- (!(u0.isUndefined(yn) || yn === null) && G0.call(v0, yn, u0.isString(hr) ? hr.trim() : hr, bn, Rn)) === !0 && Cn(yn, bn ? bn.concat(hr) : [hr]);
300636
+ return function En(Xn, bn) {
300637
+ if (!u0.isUndefined(Xn)) {
300638
+ if (dn.indexOf(Xn) !== -1) throw Error("Circular reference detected in " + bn.join("."));
300639
+ dn.push(Xn), u0.forEach(Xn, function(yn, hr) {
300640
+ (!(u0.isUndefined(yn) || yn === null) && G0.call(v0, yn, u0.isString(hr) ? hr.trim() : hr, bn, Rn)) === !0 && En(yn, bn ? bn.concat(hr) : [hr]);
300639
300641
  }), dn.pop();
300640
300642
  }
300641
300643
  }(m0), v0;
@@ -300695,18 +300697,18 @@ var NetworkTest$1 = { exports: {} };
300695
300697
  }
300696
300698
  }, w0 = { silentJSONParsing: !0, forcedJSONParsing: !0, clarifyTimeoutError: !1 }, S0 = { isBrowser: !0, classes: { URLSearchParams: typeof URLSearchParams < "u" ? URLSearchParams : j0, FormData: typeof FormData < "u" ? FormData : null, Blob: typeof Blob < "u" ? Blob : null }, protocols: ["http", "https", "file", "blob", "url", "data"] };
300697
300699
  const T0 = typeof window < "u" && typeof document < "u", J0 = typeof navigator == "object" && navigator || void 0, H0 = T0 && (!J0 || ["ReactNative", "NativeScript", "NS"].indexOf(J0.product) < 0), X0 = typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Z0 = T0 && window.location.href || "http://localhost";
300698
- var hn = { ...Object.freeze({ __proto__: null, hasBrowserEnv: T0, hasStandardBrowserWebWorkerEnv: X0, hasStandardBrowserEnv: H0, navigator: J0, origin: Z0 }), ...S0 };
300700
+ var mn = { ...Object.freeze({ __proto__: null, hasBrowserEnv: T0, hasStandardBrowserWebWorkerEnv: X0, hasStandardBrowserEnv: H0, navigator: J0, origin: Z0 }), ...S0 };
300699
300701
  function tn(m0) {
300700
300702
  function v0(R0, N0, G0, W0) {
300701
300703
  let Q0 = R0[W0++];
300702
300704
  if (Q0 === "__proto__") return !0;
300703
- const an = Number.isFinite(+Q0), fn = W0 >= R0.length;
300704
- return Q0 = !Q0 && u0.isArray(G0) ? G0.length : Q0, fn ? (u0.hasOwnProp(G0, Q0) ? G0[Q0] = [G0[Q0], N0] : G0[Q0] = N0, !an) : (G0[Q0] && u0.isObject(G0[Q0]) || (G0[Q0] = []), v0(R0, N0, G0[Q0], W0) && u0.isArray(G0[Q0]) && (G0[Q0] = function(sn) {
300705
+ const an = Number.isFinite(+Q0), hn = W0 >= R0.length;
300706
+ return Q0 = !Q0 && u0.isArray(G0) ? G0.length : Q0, hn ? (u0.hasOwnProp(G0, Q0) ? G0[Q0] = [G0[Q0], N0] : G0[Q0] = N0, !an) : (G0[Q0] && u0.isObject(G0[Q0]) || (G0[Q0] = []), v0(R0, N0, G0[Q0], W0) && u0.isArray(G0[Q0]) && (G0[Q0] = function(sn) {
300705
300707
  const dn = {}, Rn = Object.keys(sn);
300706
- let Cn;
300707
- const Kn = Rn.length;
300708
+ let En;
300709
+ const Xn = Rn.length;
300708
300710
  let bn;
300709
- for (Cn = 0; Cn < Kn; Cn++) bn = Rn[Cn], dn[bn] = sn[bn];
300711
+ for (En = 0; En < Xn; En++) bn = Rn[En], dn[bn] = sn[bn];
300710
300712
  return dn;
300711
300713
  }(G0[Q0])), !an);
300712
300714
  }
@@ -300720,7 +300722,7 @@ var NetworkTest$1 = { exports: {} };
300720
300722
  }
300721
300723
  return null;
300722
300724
  }
300723
- const mn = { transitional: w0, adapter: ["xhr", "http", "fetch"], transformRequest: [function(m0, v0) {
300725
+ const un = { transitional: w0, adapter: ["xhr", "http", "fetch"], transformRequest: [function(m0, v0) {
300724
300726
  const R0 = v0.getContentType() || "", N0 = R0.indexOf("application/json") > -1, G0 = u0.isObject(m0);
300725
300727
  if (G0 && u0.isHTMLForm(m0) && (m0 = new FormData(m0)), u0.isFormData(m0)) return N0 ? JSON.stringify(tn(m0)) : m0;
300726
300728
  if (u0.isArrayBuffer(m0) || u0.isBuffer(m0) || u0.isStream(m0) || u0.isFile(m0) || u0.isBlob(m0) || u0.isReadableStream(m0)) return m0;
@@ -300729,8 +300731,8 @@ var NetworkTest$1 = { exports: {} };
300729
300731
  let W0;
300730
300732
  if (G0) {
300731
300733
  if (R0.indexOf("application/x-www-form-urlencoded") > -1) return function(Q0, an) {
300732
- return z0(Q0, new hn.classes.URLSearchParams(), { visitor: function(fn, sn, dn, Rn) {
300733
- return hn.isNode && u0.isBuffer(fn) ? (this.append(sn, fn.toString("base64")), !1) : Rn.defaultVisitor.apply(this, arguments);
300734
+ return z0(Q0, new mn.classes.URLSearchParams(), { visitor: function(hn, sn, dn, Rn) {
300735
+ return mn.isNode && u0.isBuffer(hn) ? (this.append(sn, hn.toString("base64")), !1) : Rn.defaultVisitor.apply(this, arguments);
300734
300736
  }, ...an });
300735
300737
  }(m0, this.formSerializer).toString();
300736
300738
  if ((W0 = u0.isFileList(m0)) || R0.indexOf("multipart/form-data") > -1) {
@@ -300738,16 +300740,16 @@ var NetworkTest$1 = { exports: {} };
300738
300740
  return z0(W0 ? { "files[]": m0 } : m0, Q0 && new Q0(), this.formSerializer);
300739
300741
  }
300740
300742
  }
300741
- return G0 || N0 ? (v0.setContentType("application/json", !1), function(Q0, an, fn) {
300743
+ return G0 || N0 ? (v0.setContentType("application/json", !1), function(Q0, an, hn) {
300742
300744
  if (u0.isString(Q0)) try {
300743
300745
  return (an || JSON.parse)(Q0), u0.trim(Q0);
300744
300746
  } catch (sn) {
300745
300747
  if (sn.name !== "SyntaxError") throw sn;
300746
300748
  }
300747
- return (fn || JSON.stringify)(Q0);
300749
+ return (hn || JSON.stringify)(Q0);
300748
300750
  }(m0)) : m0;
300749
300751
  }], transformResponse: [function(m0) {
300750
- const v0 = this.transitional || mn.transitional, R0 = v0 && v0.forcedJSONParsing, N0 = this.responseType === "json";
300752
+ const v0 = this.transitional || un.transitional, R0 = v0 && v0.forcedJSONParsing, N0 = this.responseType === "json";
300751
300753
  if (u0.isResponse(m0) || u0.isReadableStream(m0)) return m0;
300752
300754
  if (m0 && u0.isString(m0) && (R0 && !this.responseType || N0)) {
300753
300755
  const G0 = !(v0 && v0.silentJSONParsing) && N0;
@@ -300759,19 +300761,19 @@ var NetworkTest$1 = { exports: {} };
300759
300761
  }
300760
300762
  }
300761
300763
  return m0;
300762
- }], timeout: 0, xsrfCookieName: "XSRF-TOKEN", xsrfHeaderName: "X-XSRF-TOKEN", maxContentLength: -1, maxBodyLength: -1, env: { FormData: hn.classes.FormData, Blob: hn.classes.Blob }, validateStatus: function(m0) {
300764
+ }], timeout: 0, xsrfCookieName: "XSRF-TOKEN", xsrfHeaderName: "X-XSRF-TOKEN", maxContentLength: -1, maxBodyLength: -1, env: { FormData: mn.classes.FormData, Blob: mn.classes.Blob }, validateStatus: function(m0) {
300763
300765
  return m0 >= 200 && m0 < 300;
300764
300766
  }, headers: { common: { Accept: "application/json, text/plain, */*", "Content-Type": void 0 } } };
300765
300767
  u0.forEach(["delete", "get", "head", "post", "put", "patch"], (m0) => {
300766
- mn.headers[m0] = {};
300768
+ un.headers[m0] = {};
300767
300769
  });
300768
- var En = mn;
300769
- const un = u0.toObjectSet(["age", "authorization", "content-length", "content-type", "etag", "expires", "from", "host", "if-modified-since", "if-unmodified-since", "last-modified", "location", "max-forwards", "proxy-authorization", "referer", "retry-after", "user-agent"]), Xn = Symbol("internals");
300770
- function Pn(m0) {
300770
+ var kn = un;
300771
+ const fn = u0.toObjectSet(["age", "authorization", "content-length", "content-type", "etag", "expires", "from", "host", "if-modified-since", "if-unmodified-since", "last-modified", "location", "max-forwards", "proxy-authorization", "referer", "retry-after", "user-agent"]), Kn = Symbol("internals");
300772
+ function Ln(m0) {
300771
300773
  return m0 && String(m0).trim().toLowerCase();
300772
300774
  }
300773
- function Dn(m0) {
300774
- return m0 === !1 || m0 == null ? m0 : u0.isArray(m0) ? m0.map(Dn) : String(m0);
300775
+ function Fn(m0) {
300776
+ return m0 === !1 || m0 == null ? m0 : u0.isArray(m0) ? m0.map(Fn) : String(m0);
300775
300777
  }
300776
300778
  function er(m0, v0, R0, N0, G0) {
300777
300779
  return u0.isFunction(N0) ? N0.call(this, v0, R0) : (G0 && (v0 = R0), u0.isString(v0) ? u0.isString(N0) ? v0.indexOf(N0) !== -1 : u0.isRegExp(N0) ? N0.test(v0) : void 0 : void 0);
@@ -300782,42 +300784,42 @@ var NetworkTest$1 = { exports: {} };
300782
300784
  }
300783
300785
  set(v0, R0, N0) {
300784
300786
  const G0 = this;
300785
- function W0(an, fn, sn) {
300786
- const dn = Pn(fn);
300787
+ function W0(an, hn, sn) {
300788
+ const dn = Ln(hn);
300787
300789
  if (!dn) throw new Error("header name must be a non-empty string");
300788
300790
  const Rn = u0.findKey(G0, dn);
300789
- (!Rn || G0[Rn] === void 0 || sn === !0 || sn === void 0 && G0[Rn] !== !1) && (G0[Rn || fn] = Dn(an));
300791
+ (!Rn || G0[Rn] === void 0 || sn === !0 || sn === void 0 && G0[Rn] !== !1) && (G0[Rn || hn] = Fn(an));
300790
300792
  }
300791
- const Q0 = (an, fn) => u0.forEach(an, (sn, dn) => W0(sn, dn, fn));
300793
+ const Q0 = (an, hn) => u0.forEach(an, (sn, dn) => W0(sn, dn, hn));
300792
300794
  if (u0.isPlainObject(v0) || v0 instanceof this.constructor) Q0(v0, R0);
300793
300795
  else if (u0.isString(v0) && (v0 = v0.trim()) && !/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(v0.trim())) Q0(((an) => {
300794
- const fn = {};
300796
+ const hn = {};
300795
300797
  let sn, dn, Rn;
300796
300798
  return an && an.split(`
300797
- `).forEach(function(Cn) {
300798
- Rn = Cn.indexOf(":"), sn = Cn.substring(0, Rn).trim().toLowerCase(), dn = Cn.substring(Rn + 1).trim(), !sn || fn[sn] && un[sn] || (sn === "set-cookie" ? fn[sn] ? fn[sn].push(dn) : fn[sn] = [dn] : fn[sn] = fn[sn] ? fn[sn] + ", " + dn : dn);
300799
- }), fn;
300799
+ `).forEach(function(En) {
300800
+ Rn = En.indexOf(":"), sn = En.substring(0, Rn).trim().toLowerCase(), dn = En.substring(Rn + 1).trim(), !sn || hn[sn] && fn[sn] || (sn === "set-cookie" ? hn[sn] ? hn[sn].push(dn) : hn[sn] = [dn] : hn[sn] = hn[sn] ? hn[sn] + ", " + dn : dn);
300801
+ }), hn;
300800
300802
  })(v0), R0);
300801
300803
  else if (u0.isObject(v0) && u0.isIterable(v0)) {
300802
- let an, fn, sn = {};
300804
+ let an, hn, sn = {};
300803
300805
  for (const dn of v0) {
300804
300806
  if (!u0.isArray(dn)) throw TypeError("Object iterator must return a key-value pair");
300805
- sn[fn = dn[0]] = (an = sn[fn]) ? u0.isArray(an) ? [...an, dn[1]] : [an, dn[1]] : dn[1];
300807
+ sn[hn = dn[0]] = (an = sn[hn]) ? u0.isArray(an) ? [...an, dn[1]] : [an, dn[1]] : dn[1];
300806
300808
  }
300807
300809
  Q0(sn, R0);
300808
300810
  } else v0 != null && W0(R0, v0, N0);
300809
300811
  return this;
300810
300812
  }
300811
300813
  get(v0, R0) {
300812
- if (v0 = Pn(v0)) {
300814
+ if (v0 = Ln(v0)) {
300813
300815
  const N0 = u0.findKey(this, v0);
300814
300816
  if (N0) {
300815
300817
  const G0 = this[N0];
300816
300818
  if (!R0) return G0;
300817
300819
  if (R0 === !0) return function(W0) {
300818
300820
  const Q0 = /* @__PURE__ */ Object.create(null), an = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
300819
- let fn;
300820
- for (; fn = an.exec(W0); ) Q0[fn[1]] = fn[2];
300821
+ let hn;
300822
+ for (; hn = an.exec(W0); ) Q0[hn[1]] = hn[2];
300821
300823
  return Q0;
300822
300824
  }(G0);
300823
300825
  if (u0.isFunction(R0)) return R0.call(this, G0, N0);
@@ -300827,7 +300829,7 @@ var NetworkTest$1 = { exports: {} };
300827
300829
  }
300828
300830
  }
300829
300831
  has(v0, R0) {
300830
- if (v0 = Pn(v0)) {
300832
+ if (v0 = Ln(v0)) {
300831
300833
  const N0 = u0.findKey(this, v0);
300832
300834
  return !(!N0 || this[N0] === void 0 || R0 && !er(0, this[N0], N0, R0));
300833
300835
  }
@@ -300837,7 +300839,7 @@ var NetworkTest$1 = { exports: {} };
300837
300839
  const N0 = this;
300838
300840
  let G0 = !1;
300839
300841
  function W0(Q0) {
300840
- if (Q0 = Pn(Q0)) {
300842
+ if (Q0 = Ln(Q0)) {
300841
300843
  const an = u0.findKey(N0, Q0);
300842
300844
  !an || R0 && !er(0, N0[an], an, R0) || (delete N0[an], G0 = !0);
300843
300845
  }
@@ -300857,11 +300859,11 @@ var NetworkTest$1 = { exports: {} };
300857
300859
  const R0 = this, N0 = {};
300858
300860
  return u0.forEach(this, (G0, W0) => {
300859
300861
  const Q0 = u0.findKey(N0, W0);
300860
- if (Q0) return R0[Q0] = Dn(G0), void delete R0[W0];
300861
- const an = v0 ? function(fn) {
300862
- return fn.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (sn, dn, Rn) => dn.toUpperCase() + Rn);
300862
+ if (Q0) return R0[Q0] = Fn(G0), void delete R0[W0];
300863
+ const an = v0 ? function(hn) {
300864
+ return hn.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (sn, dn, Rn) => dn.toUpperCase() + Rn);
300863
300865
  }(W0) : String(W0).trim();
300864
- an !== W0 && delete R0[W0], R0[an] = Dn(G0), N0[an] = !0;
300866
+ an !== W0 && delete R0[W0], R0[an] = Fn(G0), N0[an] = !0;
300865
300867
  }), this;
300866
300868
  }
300867
300869
  concat(...v0) {
@@ -300894,14 +300896,14 @@ var NetworkTest$1 = { exports: {} };
300894
300896
  return R0.forEach((G0) => N0.set(G0)), N0;
300895
300897
  }
300896
300898
  static accessor(v0) {
300897
- const R0 = (this[Xn] = this[Xn] = { accessors: {} }).accessors, N0 = this.prototype;
300899
+ const R0 = (this[Kn] = this[Kn] = { accessors: {} }).accessors, N0 = this.prototype;
300898
300900
  function G0(W0) {
300899
- const Q0 = Pn(W0);
300900
- R0[Q0] || (function(an, fn) {
300901
- const sn = u0.toCamelCase(" " + fn);
300901
+ const Q0 = Ln(W0);
300902
+ R0[Q0] || (function(an, hn) {
300903
+ const sn = u0.toCamelCase(" " + hn);
300902
300904
  ["get", "set", "has"].forEach((dn) => {
300903
- Object.defineProperty(an, dn + sn, { value: function(Rn, Cn, Kn) {
300904
- return this[dn].call(this, fn, Rn, Cn, Kn);
300905
+ Object.defineProperty(an, dn + sn, { value: function(Rn, En, Xn) {
300906
+ return this[dn].call(this, hn, Rn, En, Xn);
300905
300907
  }, configurable: !0 });
300906
300908
  });
300907
300909
  }(N0, W0), R0[Q0] = !0);
@@ -300917,7 +300919,7 @@ var NetworkTest$1 = { exports: {} };
300917
300919
  }), u0.freezeMethods(dr);
300918
300920
  var $n = dr;
300919
300921
  function Hn(m0, v0) {
300920
- const R0 = this || En, N0 = v0 || R0, G0 = $n.from(N0.headers);
300922
+ const R0 = this || kn, N0 = v0 || R0, G0 = $n.from(N0.headers);
300921
300923
  let W0 = N0.data;
300922
300924
  return u0.forEach(m0, function(Q0) {
300923
300925
  W0 = Q0.call(R0, W0, G0.normalize(), v0 ? v0.status : void 0);
@@ -300938,38 +300940,38 @@ var NetworkTest$1 = { exports: {} };
300938
300940
  let N0 = 0;
300939
300941
  const G0 = function(W0, Q0) {
300940
300942
  W0 = W0 || 10;
300941
- const an = new Array(W0), fn = new Array(W0);
300943
+ const an = new Array(W0), hn = new Array(W0);
300942
300944
  let sn, dn = 0, Rn = 0;
300943
- return Q0 = Q0 !== void 0 ? Q0 : 1e3, function(Cn) {
300944
- const Kn = Date.now(), bn = fn[Rn];
300945
- sn || (sn = Kn), an[dn] = Cn, fn[dn] = Kn;
300945
+ return Q0 = Q0 !== void 0 ? Q0 : 1e3, function(En) {
300946
+ const Xn = Date.now(), bn = hn[Rn];
300947
+ sn || (sn = Xn), an[dn] = En, hn[dn] = Xn;
300946
300948
  let yn = Rn, hr = 0;
300947
300949
  for (; yn !== dn; ) hr += an[yn++], yn %= W0;
300948
- if (dn = (dn + 1) % W0, dn === Rn && (Rn = (Rn + 1) % W0), Kn - sn < Q0) return;
300949
- const pr = bn && Kn - bn;
300950
+ if (dn = (dn + 1) % W0, dn === Rn && (Rn = (Rn + 1) % W0), Xn - sn < Q0) return;
300951
+ const pr = bn && Xn - bn;
300950
300952
  return pr ? Math.round(1e3 * hr / pr) : void 0;
300951
300953
  };
300952
300954
  }(50, 250);
300953
300955
  return function(W0, Q0) {
300954
- let an, fn, sn = 0, dn = 1e3 / Q0;
300955
- const Rn = (Cn, Kn = Date.now()) => {
300956
- sn = Kn, an = null, fn && (clearTimeout(fn), fn = null), W0(...Cn);
300956
+ let an, hn, sn = 0, dn = 1e3 / Q0;
300957
+ const Rn = (En, Xn = Date.now()) => {
300958
+ sn = Xn, an = null, hn && (clearTimeout(hn), hn = null), W0(...En);
300957
300959
  };
300958
- return [(...Cn) => {
300959
- const Kn = Date.now(), bn = Kn - sn;
300960
- bn >= dn ? Rn(Cn, Kn) : (an = Cn, fn || (fn = setTimeout(() => {
300961
- fn = null, Rn(an);
300960
+ return [(...En) => {
300961
+ const Xn = Date.now(), bn = Xn - sn;
300962
+ bn >= dn ? Rn(En, Xn) : (an = En, hn || (hn = setTimeout(() => {
300963
+ hn = null, Rn(an);
300962
300964
  }, dn - bn)));
300963
300965
  }, () => an && Rn(an)];
300964
300966
  }((W0) => {
300965
- const Q0 = W0.loaded, an = W0.lengthComputable ? W0.total : void 0, fn = Q0 - N0, sn = G0(fn);
300966
- N0 = Q0, m0({ loaded: Q0, total: an, progress: an ? Q0 / an : void 0, bytes: fn, rate: sn || void 0, estimated: sn && an && Q0 <= an ? (an - Q0) / sn : void 0, event: W0, lengthComputable: an != null, [v0 ? "download" : "upload"]: !0 });
300967
+ const Q0 = W0.loaded, an = W0.lengthComputable ? W0.total : void 0, hn = Q0 - N0, sn = G0(hn);
300968
+ N0 = Q0, m0({ loaded: Q0, total: an, progress: an ? Q0 / an : void 0, bytes: hn, rate: sn || void 0, estimated: sn && an && Q0 <= an ? (an - Q0) / sn : void 0, event: W0, lengthComputable: an != null, [v0 ? "download" : "upload"]: !0 });
300967
300969
  }, R0);
300968
300970
  }, ir = (m0, v0) => {
300969
300971
  const R0 = m0 != null;
300970
300972
  return [(N0) => v0[0]({ lengthComputable: R0, total: m0, loaded: N0 }), v0[1]];
300971
300973
  }, Ar = (m0) => (...v0) => u0.asap(() => m0(...v0));
300972
- var O0 = hn.hasStandardBrowserEnv ? /* @__PURE__ */ ((m0, v0) => (R0) => (R0 = new URL(R0, hn.origin), m0.protocol === R0.protocol && m0.host === R0.host && (v0 || m0.port === R0.port)))(new URL(hn.origin), hn.navigator && /(msie|trident)/i.test(hn.navigator.userAgent)) : () => !0, en = hn.hasStandardBrowserEnv ? { write(m0, v0, R0, N0, G0, W0) {
300974
+ var O0 = mn.hasStandardBrowserEnv ? /* @__PURE__ */ ((m0, v0) => (R0) => (R0 = new URL(R0, mn.origin), m0.protocol === R0.protocol && m0.host === R0.host && (v0 || m0.port === R0.port)))(new URL(mn.origin), mn.navigator && /(msie|trident)/i.test(mn.navigator.userAgent)) : () => !0, en = mn.hasStandardBrowserEnv ? { write(m0, v0, R0, N0, G0, W0) {
300973
300975
  const Q0 = [m0 + "=" + encodeURIComponent(v0)];
300974
300976
  u0.isNumber(R0) && Q0.push("expires=" + new Date(R0).toGMTString()), u0.isString(N0) && Q0.push("path=" + N0), u0.isString(G0) && Q0.push("domain=" + G0), W0 === !0 && Q0.push("secure"), document.cookie = Q0.join("; ");
300975
300977
  }, read(m0) {
@@ -300990,11 +300992,11 @@ var NetworkTest$1 = { exports: {} };
300990
300992
  function Nn(m0, v0) {
300991
300993
  v0 = v0 || {};
300992
300994
  const R0 = {};
300993
- function N0(sn, dn, Rn, Cn) {
300994
- return u0.isPlainObject(sn) && u0.isPlainObject(dn) ? u0.merge.call({ caseless: Cn }, sn, dn) : u0.isPlainObject(dn) ? u0.merge({}, dn) : u0.isArray(dn) ? dn.slice() : dn;
300995
+ function N0(sn, dn, Rn, En) {
300996
+ return u0.isPlainObject(sn) && u0.isPlainObject(dn) ? u0.merge.call({ caseless: En }, sn, dn) : u0.isPlainObject(dn) ? u0.merge({}, dn) : u0.isArray(dn) ? dn.slice() : dn;
300995
300997
  }
300996
- function G0(sn, dn, Rn, Cn) {
300997
- return u0.isUndefined(dn) ? u0.isUndefined(sn) ? void 0 : N0(void 0, sn, 0, Cn) : N0(sn, dn, 0, Cn);
300998
+ function G0(sn, dn, Rn, En) {
300999
+ return u0.isUndefined(dn) ? u0.isUndefined(sn) ? void 0 : N0(void 0, sn, 0, En) : N0(sn, dn, 0, En);
300998
301000
  }
300999
301001
  function W0(sn, dn) {
301000
301002
  if (!u0.isUndefined(dn)) return N0(void 0, dn);
@@ -301005,9 +301007,9 @@ var NetworkTest$1 = { exports: {} };
301005
301007
  function an(sn, dn, Rn) {
301006
301008
  return Rn in v0 ? N0(sn, dn) : Rn in m0 ? N0(void 0, sn) : void 0;
301007
301009
  }
301008
- const fn = { url: W0, method: W0, data: W0, baseURL: Q0, transformRequest: Q0, transformResponse: Q0, paramsSerializer: Q0, timeout: Q0, timeoutMessage: Q0, withCredentials: Q0, withXSRFToken: Q0, adapter: Q0, responseType: Q0, xsrfCookieName: Q0, xsrfHeaderName: Q0, onUploadProgress: Q0, onDownloadProgress: Q0, decompress: Q0, maxContentLength: Q0, maxBodyLength: Q0, beforeRedirect: Q0, transport: Q0, httpAgent: Q0, httpsAgent: Q0, cancelToken: Q0, socketPath: Q0, responseEncoding: Q0, validateStatus: an, headers: (sn, dn, Rn) => G0(gn(sn), gn(dn), 0, !0) };
301010
+ const hn = { url: W0, method: W0, data: W0, baseURL: Q0, transformRequest: Q0, transformResponse: Q0, paramsSerializer: Q0, timeout: Q0, timeoutMessage: Q0, withCredentials: Q0, withXSRFToken: Q0, adapter: Q0, responseType: Q0, xsrfCookieName: Q0, xsrfHeaderName: Q0, onUploadProgress: Q0, onDownloadProgress: Q0, decompress: Q0, maxContentLength: Q0, maxBodyLength: Q0, beforeRedirect: Q0, transport: Q0, httpAgent: Q0, httpsAgent: Q0, cancelToken: Q0, socketPath: Q0, responseEncoding: Q0, validateStatus: an, headers: (sn, dn, Rn) => G0(gn(sn), gn(dn), 0, !0) };
301009
301011
  return u0.forEach(Object.keys({ ...m0, ...v0 }), function(sn) {
301010
- const dn = fn[sn] || G0, Rn = dn(m0[sn], v0[sn], sn);
301012
+ const dn = hn[sn] || G0, Rn = dn(m0[sn], v0[sn], sn);
301011
301013
  u0.isUndefined(Rn) && dn !== an || (R0[sn] = Rn);
301012
301014
  }), R0;
301013
301015
  }
@@ -301015,17 +301017,17 @@ var NetworkTest$1 = { exports: {} };
301015
301017
  const v0 = Nn({}, m0);
301016
301018
  let { data: R0, withXSRFToken: N0, xsrfHeaderName: G0, xsrfCookieName: W0, headers: Q0, auth: an } = v0;
301017
301019
  if (v0.headers = Q0 = $n.from(Q0), v0.url = V0(ln(v0.baseURL, v0.url, v0.allowAbsoluteUrls), m0.params, m0.paramsSerializer), an && Q0.set("Authorization", "Basic " + btoa((an.username || "") + ":" + (an.password ? unescape(encodeURIComponent(an.password)) : ""))), u0.isFormData(R0)) {
301018
- if (hn.hasStandardBrowserEnv || hn.hasStandardBrowserWebWorkerEnv) Q0.setContentType(void 0);
301020
+ if (mn.hasStandardBrowserEnv || mn.hasStandardBrowserWebWorkerEnv) Q0.setContentType(void 0);
301019
301021
  else if (u0.isFunction(R0.getHeaders)) {
301020
- const fn = R0.getHeaders(), sn = ["content-type", "content-length"];
301021
- Object.entries(fn).forEach(([dn, Rn]) => {
301022
+ const hn = R0.getHeaders(), sn = ["content-type", "content-length"];
301023
+ Object.entries(hn).forEach(([dn, Rn]) => {
301022
301024
  sn.includes(dn.toLowerCase()) && Q0.set(dn, Rn);
301023
301025
  });
301024
301026
  }
301025
301027
  }
301026
- if (hn.hasStandardBrowserEnv && (N0 && u0.isFunction(N0) && (N0 = N0(v0)), N0 || N0 !== !1 && O0(v0.url))) {
301027
- const fn = G0 && W0 && en.read(W0);
301028
- fn && Q0.set(G0, fn);
301028
+ if (mn.hasStandardBrowserEnv && (N0 && u0.isFunction(N0) && (N0 = N0(v0)), N0 || N0 !== !1 && O0(v0.url))) {
301029
+ const hn = G0 && W0 && en.read(W0);
301030
+ hn && Q0.set(G0, hn);
301029
301031
  }
301030
301032
  return v0;
301031
301033
  }, Yn = typeof XMLHttpRequest < "u" && function(m0) {
@@ -301033,7 +301035,7 @@ var NetworkTest$1 = { exports: {} };
301033
301035
  const N0 = Wn(m0);
301034
301036
  let G0 = N0.data;
301035
301037
  const W0 = $n.from(N0.headers).normalize();
301036
- let Q0, an, fn, sn, dn, { responseType: Rn, onUploadProgress: Cn, onDownloadProgress: Kn } = N0;
301038
+ let Q0, an, hn, sn, dn, { responseType: Rn, onUploadProgress: En, onDownloadProgress: Xn } = N0;
301037
301039
  function bn() {
301038
301040
  sn && sn(), dn && dn(), N0.cancelToken && N0.cancelToken.unsubscribe(Q0), N0.signal && N0.signal.removeEventListener("abort", Q0);
301039
301041
  }
@@ -301060,14 +301062,14 @@ var NetworkTest$1 = { exports: {} };
301060
301062
  N0.timeoutErrorMessage && (Lr = N0.timeoutErrorMessage), R0(new A0(Lr, Kr.clarifyTimeoutError ? A0.ETIMEDOUT : A0.ECONNABORTED, m0, yn)), yn = null;
301061
301063
  }, G0 === void 0 && W0.setContentType(null), "setRequestHeader" in yn && u0.forEach(W0.toJSON(), function(Lr, Kr) {
301062
301064
  yn.setRequestHeader(Kr, Lr);
301063
- }), u0.isUndefined(N0.withCredentials) || (yn.withCredentials = !!N0.withCredentials), Rn && Rn !== "json" && (yn.responseType = N0.responseType), Kn && ([fn, dn] = Un(Kn, !0), yn.addEventListener("progress", fn)), Cn && yn.upload && ([an, sn] = Un(Cn), yn.upload.addEventListener("progress", an), yn.upload.addEventListener("loadend", sn)), (N0.cancelToken || N0.signal) && (Q0 = (Lr) => {
301065
+ }), u0.isUndefined(N0.withCredentials) || (yn.withCredentials = !!N0.withCredentials), Rn && Rn !== "json" && (yn.responseType = N0.responseType), Xn && ([hn, dn] = Un(Xn, !0), yn.addEventListener("progress", hn)), En && yn.upload && ([an, sn] = Un(En), yn.upload.addEventListener("progress", an), yn.upload.addEventListener("loadend", sn)), (N0.cancelToken || N0.signal) && (Q0 = (Lr) => {
301064
301066
  yn && (R0(!Lr || Lr.type ? new wn(null, m0, yn) : Lr), yn.abort(), yn = null);
301065
301067
  }, N0.cancelToken && N0.cancelToken.subscribe(Q0), N0.signal && (N0.signal.aborted ? Q0() : N0.signal.addEventListener("abort", Q0)));
301066
301068
  const pr = function(Lr) {
301067
301069
  const Kr = /^([-+\w]{1,25})(:?\/\/|:)/.exec(Lr);
301068
301070
  return Kr && Kr[1] || "";
301069
301071
  }(N0.url);
301070
- pr && hn.protocols.indexOf(pr) === -1 ? R0(new A0("Unsupported protocol " + pr + ":", A0.ERR_BAD_REQUEST, m0)) : yn.send(G0 || null);
301072
+ pr && mn.protocols.indexOf(pr) === -1 ? R0(new A0("Unsupported protocol " + pr + ":", A0.ERR_BAD_REQUEST, m0)) : yn.send(G0 || null);
301071
301073
  });
301072
301074
  }, Gn = (m0, v0) => {
301073
301075
  const { length: R0 } = m0 = m0 ? m0.filter(Boolean) : [];
@@ -301089,8 +301091,8 @@ var NetworkTest$1 = { exports: {} };
301089
301091
  }), m0 = null);
301090
301092
  };
301091
301093
  m0.forEach((sn) => sn.addEventListener("abort", W0));
301092
- const { signal: fn } = G0;
301093
- return fn.unsubscribe = () => u0.asap(an), fn;
301094
+ const { signal: hn } = G0;
301095
+ return hn.unsubscribe = () => u0.asap(an), hn;
301094
301096
  }
301095
301097
  };
301096
301098
  const Sr = function* (m0, v0) {
@@ -301111,26 +301113,26 @@ var NetworkTest$1 = { exports: {} };
301111
301113
  await v0.cancel();
301112
301114
  }
301113
301115
  }, cr = (m0, v0, R0, N0) => {
301114
- const G0 = async function* (fn, sn) {
301115
- for await (const dn of Cr(fn)) yield* Sr(dn, sn);
301116
+ const G0 = async function* (hn, sn) {
301117
+ for await (const dn of Cr(hn)) yield* Sr(dn, sn);
301116
301118
  }(m0, v0);
301117
- let W0, Q0 = 0, an = (fn) => {
301118
- W0 || (W0 = !0, N0 && N0(fn));
301119
+ let W0, Q0 = 0, an = (hn) => {
301120
+ W0 || (W0 = !0, N0 && N0(hn));
301119
301121
  };
301120
- return new ReadableStream({ async pull(fn) {
301122
+ return new ReadableStream({ async pull(hn) {
301121
301123
  try {
301122
301124
  const { done: sn, value: dn } = await G0.next();
301123
- if (sn) return an(), void fn.close();
301125
+ if (sn) return an(), void hn.close();
301124
301126
  let Rn = dn.byteLength;
301125
301127
  if (R0) {
301126
- let Cn = Q0 += Rn;
301127
- R0(Cn);
301128
+ let En = Q0 += Rn;
301129
+ R0(En);
301128
301130
  }
301129
- fn.enqueue(new Uint8Array(dn));
301131
+ hn.enqueue(new Uint8Array(dn));
301130
301132
  } catch (sn) {
301131
301133
  throw an(sn), sn;
301132
301134
  }
301133
- }, cancel: (fn) => (an(fn), G0.return()) }, { highWaterMark: 2 });
301135
+ }, cancel: (hn) => (an(hn), G0.return()) }, { highWaterMark: 2 });
301134
301136
  }, { isFunction: Br } = u0, fa = (({ Request: m0, Response: v0 }) => ({ Request: m0, Response: v0 }))(u0.global), { ReadableStream: jr, TextEncoder: _r } = u0.global, Da = (m0, ...v0) => {
301135
301137
  try {
301136
301138
  return !!m0(...v0);
@@ -301141,25 +301143,25 @@ var NetworkTest$1 = { exports: {} };
301141
301143
  m0 = u0.merge.call({ skipUndefined: !0 }, fa, m0);
301142
301144
  const { fetch: v0, Request: R0, Response: N0 } = m0, G0 = v0 ? Br(v0) : typeof fetch == "function", W0 = Br(R0), Q0 = Br(N0);
301143
301145
  if (!G0) return !1;
301144
- const an = G0 && Br(jr), fn = G0 && (typeof _r == "function" ? (sn = new _r(), (bn) => sn.encode(bn)) : async (bn) => new Uint8Array(await new R0(bn).arrayBuffer()));
301146
+ const an = G0 && Br(jr), hn = G0 && (typeof _r == "function" ? (sn = new _r(), (bn) => sn.encode(bn)) : async (bn) => new Uint8Array(await new R0(bn).arrayBuffer()));
301145
301147
  var sn;
301146
301148
  const dn = W0 && an && Da(() => {
301147
301149
  let bn = !1;
301148
- const yn = new R0(hn.origin, { body: new jr(), method: "POST", get duplex() {
301150
+ const yn = new R0(mn.origin, { body: new jr(), method: "POST", get duplex() {
301149
301151
  return bn = !0, "half";
301150
301152
  } }).headers.has("Content-Type");
301151
301153
  return bn && !yn;
301152
- }), Rn = Q0 && an && Da(() => u0.isReadableStream(new N0("").body)), Cn = { stream: Rn && ((bn) => bn.body) };
301154
+ }), Rn = Q0 && an && Da(() => u0.isReadableStream(new N0("").body)), En = { stream: Rn && ((bn) => bn.body) };
301153
301155
  G0 && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((bn) => {
301154
- !Cn[bn] && (Cn[bn] = (yn, hr) => {
301156
+ !En[bn] && (En[bn] = (yn, hr) => {
301155
301157
  let pr = yn && yn[bn];
301156
301158
  if (pr) return pr.call(yn);
301157
301159
  throw new A0(`Response type '${bn}' is not supported`, A0.ERR_NOT_SUPPORT, hr);
301158
301160
  });
301159
301161
  });
301160
- const Kn = async (bn, yn) => {
301162
+ const Xn = async (bn, yn) => {
301161
301163
  const hr = u0.toFiniteNumber(bn.getContentLength());
301162
- return hr ?? (async (pr) => pr == null ? 0 : u0.isBlob(pr) ? pr.size : u0.isSpecCompliantForm(pr) ? (await new R0(hn.origin, { method: "POST", body: pr }).arrayBuffer()).byteLength : u0.isArrayBufferView(pr) || u0.isArrayBuffer(pr) ? pr.byteLength : (u0.isURLSearchParams(pr) && (pr += ""), u0.isString(pr) ? (await fn(pr)).byteLength : void 0))(yn);
301164
+ return hr ?? (async (pr) => pr == null ? 0 : u0.isBlob(pr) ? pr.size : u0.isSpecCompliantForm(pr) ? (await new R0(mn.origin, { method: "POST", body: pr }).arrayBuffer()).byteLength : u0.isArrayBufferView(pr) || u0.isArrayBuffer(pr) ? pr.byteLength : (u0.isURLSearchParams(pr) && (pr += ""), u0.isString(pr) ? (await hn(pr)).byteLength : void 0))(yn);
301163
301165
  };
301164
301166
  return async (bn) => {
301165
301167
  let { url: yn, method: hr, data: pr, signal: Lr, cancelToken: Kr, timeout: ec, onDownloadProgress: yo, onUploadProgress: as, responseType: ga, headers: vo, withCredentials: ss = "same-origin", fetchOptions: Os } = Wn(bn), bo = v0 || fetch;
@@ -301170,7 +301172,7 @@ var NetworkTest$1 = { exports: {} };
301170
301172
  });
301171
301173
  let Io;
301172
301174
  try {
301173
- if (as && dn && hr !== "get" && hr !== "head" && (Io = await Kn(vo, pr)) !== 0) {
301175
+ if (as && dn && hr !== "get" && hr !== "head" && (Io = await Xn(vo, pr)) !== 0) {
301174
301176
  let Aa, wr = new R0(yn, { method: "POST", body: pr, duplex: "half" });
301175
301177
  if (u0.isFormData(pr) && (Aa = wr.headers.get("content-type")) && vo.setContentType(Aa), wr.body) {
301176
301178
  const [_a, Fa] = ir(Io, Un(Ar(as)));
@@ -301180,22 +301182,22 @@ var NetworkTest$1 = { exports: {} };
301180
301182
  u0.isString(ss) || (ss = ss ? "include" : "omit");
301181
301183
  const Fi = W0 && "credentials" in R0.prototype, An = { ...Os, signal: _i, method: hr.toUpperCase(), headers: vo.normalize().toJSON(), body: pr, duplex: "half", credentials: Fi ? ss : void 0 };
301182
301184
  Zi = W0 && new R0(yn, An);
301183
- let Mn = await (W0 ? bo(Zi, Os) : bo(yn, An));
301185
+ let Pn = await (W0 ? bo(Zi, Os) : bo(yn, An));
301184
301186
  const Nr = Rn && (ga === "stream" || ga === "response");
301185
301187
  if (Rn && (yo || Nr && ei)) {
301186
301188
  const Aa = {};
301187
301189
  ["status", "statusText", "headers"].forEach((So) => {
301188
- Aa[So] = Mn[So];
301190
+ Aa[So] = Pn[So];
301189
301191
  });
301190
- const wr = u0.toFiniteNumber(Mn.headers.get("content-length")), [_a, Fa] = yo && ir(wr, Un(Ar(yo), !0)) || [];
301191
- Mn = new N0(cr(Mn.body, 65536, _a, () => {
301192
+ const wr = u0.toFiniteNumber(Pn.headers.get("content-length")), [_a, Fa] = yo && ir(wr, Un(Ar(yo), !0)) || [];
301193
+ Pn = new N0(cr(Pn.body, 65536, _a, () => {
301192
301194
  Fa && Fa(), ei && ei();
301193
301195
  }), Aa);
301194
301196
  }
301195
301197
  ga = ga || "text";
301196
- let ja = await Cn[u0.findKey(Cn, ga) || "text"](Mn, bn);
301198
+ let ja = await En[u0.findKey(En, ga) || "text"](Pn, bn);
301197
301199
  return !Nr && ei && ei(), await new Promise((Aa, wr) => {
301198
- Vn(Aa, wr, { data: ja, headers: $n.from(Mn.headers), status: Mn.status, statusText: Mn.statusText, config: bn, request: Zi });
301200
+ Vn(Aa, wr, { data: ja, headers: $n.from(Pn.headers), status: Pn.status, statusText: Pn.statusText, config: bn, request: Zi });
301199
301201
  });
301200
301202
  } catch (Fi) {
301201
301203
  throw ei && ei(), Fi && Fi.name === "TypeError" && /Load failed|fetch/i.test(Fi.message) ? Object.assign(new A0("Network Error", A0.ERR_NETWORK, bn, Zi), { cause: Fi.cause || Fi }) : A0.from(Fi, Fi && Fi.code, bn, Zi);
@@ -301204,13 +301206,13 @@ var NetworkTest$1 = { exports: {} };
301204
301206
  }, Jr = /* @__PURE__ */ new Map(), rs = (m0) => {
301205
301207
  let v0 = m0 ? m0.env : {};
301206
301208
  const { fetch: R0, Request: N0, Response: G0 } = v0, W0 = [N0, G0, R0];
301207
- let Q0, an, fn = W0.length, sn = Jr;
301208
- for (; fn--; ) Q0 = W0[fn], an = sn.get(Q0), an === void 0 && sn.set(Q0, an = fn ? /* @__PURE__ */ new Map() : Yi(v0)), sn = an;
301209
+ let Q0, an, hn = W0.length, sn = Jr;
301210
+ for (; hn--; ) Q0 = W0[hn], an = sn.get(Q0), an === void 0 && sn.set(Q0, an = hn ? /* @__PURE__ */ new Map() : Yi(v0)), sn = an;
301209
301211
  return an;
301210
301212
  };
301211
301213
  rs();
301212
- const Ln = { http: null, xhr: Yn, fetch: { get: rs } };
301213
- u0.forEach(Ln, (m0, v0) => {
301214
+ const Dn = { http: null, xhr: Yn, fetch: { get: rs } };
301215
+ u0.forEach(Dn, (m0, v0) => {
301214
301216
  if (m0) {
301215
301217
  try {
301216
301218
  Object.defineProperty(m0, "name", { value: v0 });
@@ -301227,12 +301229,12 @@ var NetworkTest$1 = { exports: {} };
301227
301229
  const W0 = {};
301228
301230
  for (let Q0 = 0; Q0 < R0; Q0++) {
301229
301231
  let an;
301230
- if (N0 = m0[Q0], G0 = N0, !Ri(N0) && (G0 = Ln[(an = String(N0)).toLowerCase()], G0 === void 0)) throw new A0(`Unknown adapter '${an}'`);
301232
+ if (N0 = m0[Q0], G0 = N0, !Ri(N0) && (G0 = Dn[(an = String(N0)).toLowerCase()], G0 === void 0)) throw new A0(`Unknown adapter '${an}'`);
301231
301233
  if (G0 && (u0.isFunction(G0) || (G0 = G0.get(v0)))) break;
301232
301234
  W0[an || "#" + Q0] = G0;
301233
301235
  }
301234
301236
  if (!G0) {
301235
- const Q0 = Object.entries(W0).map(([an, fn]) => `adapter ${an} ` + (fn === !1 ? "is not supported by the environment" : "is not available in the build"));
301237
+ const Q0 = Object.entries(W0).map(([an, hn]) => `adapter ${an} ` + (hn === !1 ? "is not supported by the environment" : "is not available in the build"));
301236
301238
  throw new A0("There is no suitable adapter to dispatch the request " + (R0 ? Q0.length > 1 ? `since :
301237
301239
  ` + Q0.map(P1).join(`
301238
301240
  `) : " " + P1(Q0[0]) : "as no adapter specified"), "ERR_NOT_SUPPORT");
@@ -301243,7 +301245,7 @@ var NetworkTest$1 = { exports: {} };
301243
301245
  if (m0.cancelToken && m0.cancelToken.throwIfRequested(), m0.signal && m0.signal.aborted) throw new wn(null, m0);
301244
301246
  }
301245
301247
  function La(m0) {
301246
- return Pa(m0), m0.headers = $n.from(m0.headers), m0.data = Hn.call(m0, m0.transformRequest), ["post", "put", "patch"].indexOf(m0.method) !== -1 && m0.headers.setContentType("application/x-www-form-urlencoded", !1), ha(m0.adapter || En.adapter, m0)(m0).then(function(v0) {
301248
+ return Pa(m0), m0.headers = $n.from(m0.headers), m0.data = Hn.call(m0, m0.transformRequest), ["post", "put", "patch"].indexOf(m0.method) !== -1 && m0.headers.setContentType("application/x-www-form-urlencoded", !1), ha(m0.adapter || kn.adapter, m0)(m0).then(function(v0) {
301247
301249
  return Pa(m0), v0.data = Hn.call(m0, m0.transformResponse, v0), v0.headers = $n.from(v0.headers), v0;
301248
301250
  }, function(v0) {
301249
301251
  return cn(v0) || (Pa(m0), v0 && v0.response && (v0.response.data = Hn.call(m0, m0.transformResponse, v0.response), v0.response.headers = $n.from(v0.response.headers))), Promise.reject(v0);
@@ -301274,8 +301276,8 @@ var NetworkTest$1 = { exports: {} };
301274
301276
  for (; G0-- > 0; ) {
301275
301277
  const W0 = N0[G0], Q0 = v0[W0];
301276
301278
  if (Q0) {
301277
- const an = m0[W0], fn = an === void 0 || Q0(an, W0, m0);
301278
- if (fn !== !0) throw new A0("option " + W0 + " must be " + fn, A0.ERR_BAD_OPTION_VALUE);
301279
+ const an = m0[W0], hn = an === void 0 || Q0(an, W0, m0);
301280
+ if (hn !== !0) throw new A0("option " + W0 + " must be " + hn, A0.ERR_BAD_OPTION_VALUE);
301279
301281
  continue;
301280
301282
  }
301281
301283
  if (R0 !== !0) throw new A0("Unknown option " + W0, A0.ERR_BAD_OPTION);
@@ -301312,38 +301314,38 @@ var NetworkTest$1 = { exports: {} };
301312
301314
  delete W0[bn];
301313
301315
  }), R0.headers = $n.concat(Q0, W0);
301314
301316
  const an = [];
301315
- let fn = !0;
301317
+ let hn = !0;
301316
301318
  this.interceptors.request.forEach(function(bn) {
301317
- typeof bn.runWhen == "function" && bn.runWhen(R0) === !1 || (fn = fn && bn.synchronous, an.unshift(bn.fulfilled, bn.rejected));
301319
+ typeof bn.runWhen == "function" && bn.runWhen(R0) === !1 || (hn = hn && bn.synchronous, an.unshift(bn.fulfilled, bn.rejected));
301318
301320
  });
301319
301321
  const sn = [];
301320
301322
  let dn;
301321
301323
  this.interceptors.response.forEach(function(bn) {
301322
301324
  sn.push(bn.fulfilled, bn.rejected);
301323
301325
  });
301324
- let Rn, Cn = 0;
301325
- if (!fn) {
301326
+ let Rn, En = 0;
301327
+ if (!hn) {
301326
301328
  const bn = [La.bind(this), void 0];
301327
- for (bn.unshift(...an), bn.push(...sn), Rn = bn.length, dn = Promise.resolve(R0); Cn < Rn; ) dn = dn.then(bn[Cn++], bn[Cn++]);
301329
+ for (bn.unshift(...an), bn.push(...sn), Rn = bn.length, dn = Promise.resolve(R0); En < Rn; ) dn = dn.then(bn[En++], bn[En++]);
301328
301330
  return dn;
301329
301331
  }
301330
301332
  Rn = an.length;
301331
- let Kn = R0;
301332
- for (; Cn < Rn; ) {
301333
- const bn = an[Cn++], yn = an[Cn++];
301333
+ let Xn = R0;
301334
+ for (; En < Rn; ) {
301335
+ const bn = an[En++], yn = an[En++];
301334
301336
  try {
301335
- Kn = bn(Kn);
301337
+ Xn = bn(Xn);
301336
301338
  } catch (hr) {
301337
301339
  yn.call(this, hr);
301338
301340
  break;
301339
301341
  }
301340
301342
  }
301341
301343
  try {
301342
- dn = La.call(this, Kn);
301344
+ dn = La.call(this, Xn);
301343
301345
  } catch (bn) {
301344
301346
  return Promise.reject(bn);
301345
301347
  }
301346
- for (Cn = 0, Rn = sn.length; Cn < Rn; ) dn = dn.then(sn[Cn++], sn[Cn++]);
301348
+ for (En = 0, Rn = sn.length; En < Rn; ) dn = dn.then(sn[En++], sn[En++]);
301347
301349
  return dn;
301348
301350
  }
301349
301351
  getUri(v0) {
@@ -301423,7 +301425,7 @@ var NetworkTest$1 = { exports: {} };
301423
301425
  return u0.extend(N0, mr.prototype, R0, { allOwnKeys: !0 }), u0.extend(N0, R0, null, { allOwnKeys: !0 }), N0.create = function(G0) {
301424
301426
  return m0(Nn(v0, G0));
301425
301427
  }, N0;
301426
- }(En);
301428
+ }(kn);
301427
301429
  Or.Axios = mr, Or.CanceledError = wn, Or.CancelToken = Bs, Or.isCancel = cn, Or.VERSION = Eo, Or.toFormData = z0, Or.AxiosError = A0, Or.Cancel = Or.CanceledError, Or.all = function(m0) {
301428
301430
  return Promise.all(m0);
301429
301431
  }, Or.spread = function(m0) {
@@ -305099,26 +305101,26 @@ function useForm({ mode: Be = VALIDATION_MODE.onSubmit, reValidateMode: Le = VAL
305099
305101
  const J0 = At.current[T0];
305100
305102
  let H0, X0;
305101
305103
  if (J0) {
305102
- const Z0 = w0 === EVENTS.BLUR, hn = skipValidation(Object.assign({
305104
+ const Z0 = w0 === EVENTS.BLUR, mn = skipValidation(Object.assign({
305103
305105
  isBlurEvent: Z0,
305104
305106
  isReValidateOnChange: qt,
305105
305107
  isReValidateOnBlur: Gt,
305106
305108
  isTouched: !!get(Qt.current.touched, T0),
305107
305109
  isSubmitted: Qt.current.isSubmitted
305108
305110
  }, Wt.current));
305109
- let tn = p0(T0, !1), mn = !isEmptyObject(tn) || !Z0 && Yt(T0);
305110
- if (Z0 && !get(Qt.current.touched, T0) && Xt.current.touched && (set(Qt.current.touched, T0, !0), tn = Object.assign(Object.assign({}, tn), { touched: Qt.current.touched })), !ht && isCheckBoxInput(S0) && set(Bt.current, T0, getFieldValue(At, T0)), hn)
305111
- return !Z0 && jt(T0), (!isEmptyObject(tn) || mn && isEmptyObject(tn)) && zt(tn);
305111
+ let tn = p0(T0, !1), un = !isEmptyObject(tn) || !Z0 && Yt(T0);
305112
+ if (Z0 && !get(Qt.current.touched, T0) && Xt.current.touched && (set(Qt.current.touched, T0, !0), tn = Object.assign(Object.assign({}, tn), { touched: Qt.current.touched })), !ht && isCheckBoxInput(S0) && set(Bt.current, T0, getFieldValue(At, T0)), mn)
305113
+ return !Z0 && jt(T0), (!isEmptyObject(tn) || un && isEmptyObject(tn)) && zt(tn);
305112
305114
  if (e0(), Nt.current) {
305113
- const { errors: En } = await Nt.current(s0(), Pt.current, Ut), un = Qt.current.isValid;
305114
- if (H0 = get(En, T0), isCheckBoxInput(S0) && !H0 && Nt.current) {
305115
- const Xn = getFieldArrayParentName(T0), Pn = get(En, Xn, {});
305116
- Pn.type && Pn.message && (H0 = Pn), Xn && (Pn || get(Qt.current.errors, Xn)) && (T0 = Xn);
305115
+ const { errors: kn } = await Nt.current(s0(), Pt.current, Ut), fn = Qt.current.isValid;
305116
+ if (H0 = get(kn, T0), isCheckBoxInput(S0) && !H0 && Nt.current) {
305117
+ const Kn = getFieldArrayParentName(T0), Ln = get(kn, Kn, {});
305118
+ Ln.type && Ln.message && (H0 = Ln), Kn && (Ln || get(Qt.current.errors, Kn)) && (T0 = Kn);
305117
305119
  }
305118
- X0 = isEmptyObject(En), un !== X0 && (mn = !0);
305120
+ X0 = isEmptyObject(kn), fn !== X0 && (un = !0);
305119
305121
  } else
305120
305122
  H0 = (await validateField(At, Ut, J0, Bt))[T0];
305121
- !Z0 && jt(T0), o0(T0, H0, mn, tn, X0);
305123
+ !Z0 && jt(T0), o0(T0, H0, un, tn, X0);
305122
305124
  }
305123
305125
  };
305124
305126
  function i0(w0) {
@@ -305183,7 +305185,7 @@ function useForm({ mode: Be = VALIDATION_MODE.onSubmit, reValidateMode: Le = VAL
305183
305185
  return Lt.current.has(Z0) && (H0 = Object.assign(Object.assign({}, Et.current), H0)), assignWatchFields(H0, w0, J0, isUndefined(get(It.current, w0)) ? S0 : get(It.current, w0), !0);
305184
305186
  }
305185
305187
  const X0 = isUndefined(S0) ? It.current : S0;
305186
- return Array.isArray(w0) ? w0.reduce((Z0, hn) => Object.assign(Object.assign({}, Z0), { [hn]: assignWatchFields(H0, hn, J0, X0) }), {}) : (Tt.current = isUndefined(T0), transformToNestObject(!isEmptyObject(H0) && H0 || X0));
305188
+ return Array.isArray(w0) ? w0.reduce((Z0, mn) => Object.assign(Object.assign({}, Z0), { [mn]: assignWatchFields(H0, mn, J0, X0) }), {}) : (Tt.current = isUndefined(T0), transformToNestObject(!isEmptyObject(H0) && H0 || X0));
305187
305189
  }, []);
305188
305190
  function $0(w0, S0) {
305189
305191
  return q0(w0, S0);
@@ -305199,23 +305201,23 @@ function useForm({ mode: Be = VALIDATION_MODE.onSubmit, reValidateMode: Le = VAL
305199
305201
  if (Lt.current.has(w0.name.split(/\[\d+\]$/)[0]) && !RegExp(`^${w0.name.split(/\[\d+\]$/)[0]}[\\d+].\\w+`.replace(/\[/g, "\\[").replace(/\]/g, "\\]")).test(w0.name))
305200
305202
  return console.warn('📋 `name` prop should be in object shape: name="test[index].name"', w0, "https://react-hook-form.com/api#useFieldArray");
305201
305203
  }
305202
- const { name: T0, type: J0, value: H0 } = w0, X0 = Object.assign({ ref: w0 }, S0), Z0 = At.current, hn = isRadioOrCheckboxFunction(w0), tn = isNameInFieldArray(Lt.current, T0), mn = (Dn) => isWeb && (!isHTMLElement(w0) || Dn === w0);
305203
- let En = Z0[T0], un = !0, Xn;
305204
- if (En && (hn ? Array.isArray(En.options) && compact(En.options).find((Dn) => H0 === Dn.ref.value && mn(Dn.ref)) : mn(En.ref))) {
305205
- Z0[T0] = Object.assign(Object.assign({}, En), S0);
305204
+ const { name: T0, type: J0, value: H0 } = w0, X0 = Object.assign({ ref: w0 }, S0), Z0 = At.current, mn = isRadioOrCheckboxFunction(w0), tn = isNameInFieldArray(Lt.current, T0), un = (Fn) => isWeb && (!isHTMLElement(w0) || Fn === w0);
305205
+ let kn = Z0[T0], fn = !0, Kn;
305206
+ if (kn && (mn ? Array.isArray(kn.options) && compact(kn.options).find((Fn) => H0 === Fn.ref.value && un(Fn.ref)) : un(kn.ref))) {
305207
+ Z0[T0] = Object.assign(Object.assign({}, kn), S0);
305206
305208
  return;
305207
305209
  }
305208
- J0 ? En = hn ? Object.assign({ options: [
305209
- ...compact(En && En.options || []),
305210
+ J0 ? kn = mn ? Object.assign({ options: [
305211
+ ...compact(kn && kn.options || []),
305210
305212
  {
305211
305213
  ref: w0
305212
305214
  }
305213
- ], ref: { type: J0, name: T0 } }, S0) : Object.assign({}, X0) : En = X0, Z0[T0] = En;
305214
- const Pn = isUndefined(get(Bt.current, T0));
305215
- (!isEmptyObject(It.current) || !Pn) && (Xn = get(Pn ? It.current : Bt.current, T0), un = isUndefined(Xn), !un && !tn && t0(T0, Xn)), isEmptyObject(S0) || (set(vt.current, T0, !0), !Kt && Xt.current.isValid && validateField(At, Ut, En, Bt).then((Dn) => {
305215
+ ], ref: { type: J0, name: T0 } }, S0) : Object.assign({}, X0) : kn = X0, Z0[T0] = kn;
305216
+ const Ln = isUndefined(get(Bt.current, T0));
305217
+ (!isEmptyObject(It.current) || !Ln) && (Kn = get(Ln ? It.current : Bt.current, T0), fn = isUndefined(Kn), !fn && !tn && t0(T0, Kn)), isEmptyObject(S0) || (set(vt.current, T0, !0), !Kt && Xt.current.isValid && validateField(At, Ut, kn, Bt).then((Fn) => {
305216
305218
  const er = Qt.current.isValid;
305217
- isEmptyObject(Dn) ? set(bt.current, T0, !0) : unset(bt.current, T0), er !== isEmptyObject(Dn) && zt();
305218
- })), ht && !(tn && un) && !tn && unset(Qt.current.dirtyFields, T0), J0 && attachEventListeners(hn && En.options ? En.options[En.options.length - 1] : En, hn || isSelectInput(w0), Rt.current);
305219
+ isEmptyObject(Fn) ? set(bt.current, T0, !0) : unset(bt.current, T0), er !== isEmptyObject(Fn) && zt();
305220
+ })), ht && !(tn && fn) && !tn && unset(Qt.current.dirtyFields, T0), J0 && attachEventListeners(mn && kn.options ? kn.options[kn.options.length - 1] : kn, mn || isSelectInput(w0), Rt.current);
305219
305221
  }
305220
305222
  function B0(w0, S0) {
305221
305223
  if (!isWindowUndefined)
@@ -305239,8 +305241,8 @@ function useForm({ mode: Be = VALIDATION_MODE.onSubmit, reValidateMode: Le = VAL
305239
305241
  } else
305240
305242
  for (const X0 of Object.values(At.current))
305241
305243
  if (X0) {
305242
- const { name: Z0 } = X0.ref, hn = await validateField(At, Ut, X0, Bt);
305243
- hn[Z0] ? (set(J0, Z0, hn[Z0]), unset(bt.current, Z0)) : get(vt.current, Z0) && (unset(Qt.current.errors, Z0), set(bt.current, Z0, !0));
305244
+ const { name: Z0 } = X0.ref, mn = await validateField(At, Ut, X0, Bt);
305245
+ mn[Z0] ? (set(J0, Z0, mn[Z0]), unset(bt.current, Z0)) : get(vt.current, Z0) && (unset(Qt.current.errors, Z0), set(bt.current, Z0, !0));
305244
305246
  }
305245
305247
  isEmptyObject(J0) && Object.keys(Qt.current.errors).every((X0) => X0 in At.current) ? (zt({
305246
305248
  errors: {},
@@ -354598,7 +354600,7 @@ function InformationVerification({
354598
354600
  if (Object.keys(Wt).length < 1)
354599
354601
  return;
354600
354602
  (async () => {
354601
- var V0, U0, w0, S0, T0, J0, H0, X0, Z0, hn, tn, mn, En;
354603
+ var V0, U0, w0, S0, T0, J0, H0, X0, Z0, mn, tn, un, kn;
354602
354604
  Mt(!0);
354603
354605
  const M0 = {};
354604
354606
  if (Wt.name === "document_scan" || Wt.address !== "user_input" || Wt["date of birth"] === "document_scan") {
@@ -354608,8 +354610,8 @@ function InformationVerification({
354608
354610
  token: nt,
354609
354611
  shouldOpen: !0
354610
354612
  });
354611
- const un = await ocrData({ token: nt });
354612
- Wt.name === "document_scan" && un.name && (M0.firstName = un.name.firstName, M0.surName = un.name.paternalLastName), Wt.address === "document_scan" && (un.addressFields || un.checkedAddressBean) && (M0.address = un.address, M0.street = ((V0 = un.addressFields) == null ? void 0 : V0.street) || ((U0 = un.checkedAddressBean) == null ? void 0 : U0.street), M0.postalCode = ((w0 = un.addressFields) == null ? void 0 : w0.postalCode) || ((S0 = un.checkedAddressBean) == null ? void 0 : S0.postalCode), M0.state = ((T0 = un.addressFields) == null ? void 0 : T0.state) || ((J0 = un.checkedAddressBean) == null ? void 0 : J0.state), M0.city = ((H0 = un.addressFields) == null ? void 0 : H0.city) || ((X0 = un.checkedAddressBean) == null ? void 0 : X0.city)), (Wt.address === "poa_document" && un.addressFromStatement || un.addressFieldsFromStatement) && (M0.address = un.addressFromStatement.address ?? ((Z0 = un.addressFieldsFromStatement) == null ? void 0 : Z0.address), M0.street = un.addressFromStatement.street ?? ((hn = un.addressFieldsFromStatement) == null ? void 0 : hn.street), M0.postalCode = un.addressFromStatement.postalCode ?? ((tn = un.addressFieldsFromStatement) == null ? void 0 : tn.postalCode), M0.state = un.addressFromStatement.state ?? ((mn = un.addressFieldsFromStatement) == null ? void 0 : mn.state), M0.city = un.addressFromStatement.city ?? ((En = un.addressFieldsFromStatement) == null ? void 0 : En.city)), Wt["date of birth"] && un.birthDate && (M0.dateOfBirth = formatDate(un.birthDate, !0)), Bt && Wt.idNum && un.documentNumber && (M0.idNum = un.documentNumber), M0.stateCode = getUSState(M0.postalCode) || "", E0((Xn) => ({ ...Xn, ...M0 })), addScreenEvent({
354613
+ const fn = await ocrData({ token: nt });
354614
+ Wt.name === "document_scan" && fn.name && (M0.firstName = fn.name.firstName, M0.surName = fn.name.paternalLastName), Wt.address === "document_scan" && (fn.addressFields || fn.checkedAddressBean) && (M0.address = fn.address, M0.street = ((V0 = fn.addressFields) == null ? void 0 : V0.street) || ((U0 = fn.checkedAddressBean) == null ? void 0 : U0.street), M0.postalCode = ((w0 = fn.addressFields) == null ? void 0 : w0.postalCode) || ((S0 = fn.checkedAddressBean) == null ? void 0 : S0.postalCode), M0.state = ((T0 = fn.addressFields) == null ? void 0 : T0.state) || ((J0 = fn.checkedAddressBean) == null ? void 0 : J0.state), M0.city = ((H0 = fn.addressFields) == null ? void 0 : H0.city) || ((X0 = fn.checkedAddressBean) == null ? void 0 : X0.city)), (Wt.address === "poa_document" && fn.addressFromStatement || fn.addressFieldsFromStatement) && (M0.address = fn.addressFromStatement.address ?? ((Z0 = fn.addressFieldsFromStatement) == null ? void 0 : Z0.address), M0.street = fn.addressFromStatement.street ?? ((mn = fn.addressFieldsFromStatement) == null ? void 0 : mn.street), M0.postalCode = fn.addressFromStatement.postalCode ?? ((tn = fn.addressFieldsFromStatement) == null ? void 0 : tn.postalCode), M0.state = fn.addressFromStatement.state ?? ((un = fn.addressFieldsFromStatement) == null ? void 0 : un.state), M0.city = fn.addressFromStatement.city ?? ((kn = fn.addressFieldsFromStatement) == null ? void 0 : kn.city)), Wt["date of birth"] && fn.birthDate && (M0.dateOfBirth = formatDate(fn.birthDate, !0)), Bt && Wt.idNum && fn.documentNumber && (M0.idNum = fn.documentNumber), M0.stateCode = getUSState(M0.postalCode) || "", E0((Kn) => ({ ...Kn, ...M0 })), addScreenEvent({
354613
354615
  module: eventModuleNames.ekyc,
354614
354616
  screen: eventScreenNames.ekycProgress,
354615
354617
  token: nt,
@@ -354618,18 +354620,18 @@ function InformationVerification({
354618
354620
  }
354619
354621
  if (Wt.phone)
354620
354622
  try {
354621
- const un = await getOtpStatus({ token: nt });
354622
- if (un != null && un.phone && Wt.phone === "phone_module_input") {
354623
- const Xn = parsePhoneNumber(un.phone);
354624
- let Pn = Xn ? Xn.nationalNumber : un.phone;
354625
- Pn.startsWith("1") && Pn.length > 10 && (Pn = Pn.substring(1)), gt("phone"), Ct("phone", Pn), o0(Pn), zt(!0);
354623
+ const fn = await getOtpStatus({ token: nt });
354624
+ if (fn != null && fn.phone && Wt.phone === "phone_module_input") {
354625
+ const Kn = parsePhoneNumber(fn.phone);
354626
+ let Ln = Kn ? Kn.nationalNumber : fn.phone;
354627
+ Ln.startsWith("1") && Ln.length > 10 && (Ln = Ln.substring(1)), gt("phone"), Ct("phone", Ln), o0(Ln), zt(!0);
354626
354628
  }
354627
354629
  } catch {
354628
354630
  }
354629
354631
  if (Wt.email)
354630
354632
  try {
354631
- const un = await getOtpStatus({ token: nt });
354632
- un != null && un.email && Wt.email === "email_module_input" && (gt("email"), Ct("email", un.email), c0(!0));
354633
+ const fn = await getOtpStatus({ token: nt });
354634
+ fn != null && fn.email && Wt.email === "email_module_input" && (gt("email"), Ct("email", fn.email), c0(!0));
354633
354635
  } catch {
354634
354636
  }
354635
354637
  setTimeout(() => Mt(!1), 200), addScreenEvent({
@@ -362989,10 +362991,7 @@ const switchCamera = async (Be, Le, Ye, tt) => {
362989
362991
  };
362990
362992
  async function T0(X0, Z0) {
362991
362993
  try {
362992
- const hn = X0.getBase64Image();
362993
- Vt(!0), Xt(Jt("videoSelfie.processingStep")), wt.current = !1;
362994
- const tn = selfieType, mn = await MlWasmJSApi$1.encryptImage(hn);
362995
- addScreenEvent({
362994
+ Vt(!0), Xt(Jt("videoSelfie.processingStep")), wt.current = !1, addScreenEvent({
362996
362995
  module: eventModuleNames.videoSelfie,
362997
362996
  screen: eventScreenNames.videoSelfieFaceCapture,
362998
362997
  token: Ye.token,
@@ -363002,43 +363001,24 @@ const switchCamera = async (Be, Le, Ye, tt) => {
363002
363001
  screen: eventScreenNames.videoSelfieFaceUploadProgress,
363003
363002
  token: Ye.token,
363004
363003
  shouldOpen: !0
363005
- });
363006
- const En = await capture({
363007
- token: Ye.token,
363008
- image: mn,
363009
- type: tn,
363010
- encrypted: !0,
363011
- imageType: gt ? "selfie" : "videoSelfie",
363012
- sendBase64: !0,
363013
- isRetry: !1,
363014
- isSecondId: !1,
363015
- onlyFront: !1,
363004
+ }), await sendFaceImage({
363005
+ canvas: X0,
363016
363006
  faceCoordinates: Z0,
363017
- onProgress: () => {
363018
- },
363019
- metadata: MlWasmJSApi$1.getMetadata()
363007
+ sessionToken: Ye.token,
363008
+ imageType: gt ? "selfie" : "videoSelfie"
363020
363009
  });
363021
- if (!(ht ? En.confidence < 0.6 : !0)) {
363022
- Vt(!1);
363023
- const Dn = new Error("Liveness failed");
363024
- throw Dn.cause = {
363025
- data: {
363026
- errorMessage: "liveness-failed"
363027
- }
363028
- }, Dn;
363029
- }
363030
- const Xn = await processFace({
363010
+ const mn = await processFace({
363031
363011
  token: Ye.token,
363032
363012
  imageType: gt ? "selfie" : "videoSelfie"
363033
363013
  });
363034
- if (!(Xn.confidence != null ? Xn.confidence > 0.3 : !0)) {
363014
+ if (!(mn.confidence != null ? mn.confidence > 0.3 : !0)) {
363035
363015
  Vt(!1);
363036
- const Dn = new Error("No match!");
363037
- throw Dn.cause = {
363016
+ const un = new Error("No match!");
363017
+ throw un.cause = {
363038
363018
  data: {
363039
363019
  errorMessage: "no-match"
363040
363020
  }
363041
- }, Dn;
363021
+ }, un;
363042
363022
  }
363043
363023
  addScreenEvent({
363044
363024
  module: eventModuleNames.videoSelfie,
@@ -363061,8 +363041,8 @@ const switchCamera = async (Be, Le, Ye, tt) => {
363061
363041
  token: Ye.token,
363062
363042
  shouldOpen: !0
363063
363043
  }), It(!1), MlWasmJSApi$1.reset(), B0();
363064
- } catch (hn) {
363065
- MlWasmJSApi$1.reset(), It(!1), Vt(!1), Nt(!0), addScreenEvent({
363044
+ } catch (mn) {
363045
+ if (MlWasmJSApi$1.reset(), It(!1), Vt(!1), Nt(!0), addScreenEvent({
363066
363046
  module: eventModuleNames.videoSelfie,
363067
363047
  screen: eventScreenNames.videoSelfieFaceUploadProgress,
363068
363048
  token: Ye.token,
@@ -363072,38 +363052,42 @@ const switchCamera = async (Be, Le, Ye, tt) => {
363072
363052
  screen: eventScreenNames.videoSelfieFaceAttemptFailed,
363073
363053
  token: Ye.token,
363074
363054
  shouldOpen: !0
363075
- });
363076
- const tn = hn.response ? hn.response.data : Jt("notifications.serverError");
363077
- switch ((tn == null ? void 0 : tn.errorMessage) || (tn == null ? void 0 : tn.message) || (tn == null ? void 0 : tn.reason)) {
363078
- case "No faces found on the image":
363079
- Xt(Jt("notifications.face"));
363080
- break;
363081
- case "BadRequestException: More than one face detected.":
363082
- Xt(Jt("notifications.multiple"));
363083
- break;
363084
- case "Cropping area goes off the image.":
363085
- Xt(Jt("notifications.crop"));
363086
- break;
363087
- case "Image in portrait orientation is expected.":
363088
- Xt(Jt("notifications.portrait"));
363089
- break;
363090
- case "no-match":
363091
- Xt(Jt("notifications.noMatch"));
363092
- break;
363093
- case "liveness-failed":
363094
- Xt(Jt("notifications.spoof"));
363095
- break;
363096
- default:
363097
- Xt(Jt("notifications.error"));
363098
- break;
363055
+ }), mn.message) {
363056
+ const un = Jt(errorContent[mn.message].title);
363057
+ Xt(un ?? Jt("notifications.serverError"));
363058
+ } else {
363059
+ const un = mn.response ? mn.response.data : Jt("notifications.serverError");
363060
+ switch ((un == null ? void 0 : un.errorMessage) || (un == null ? void 0 : un.message) || (un == null ? void 0 : un.reason)) {
363061
+ case "No faces found on the image":
363062
+ Xt(Jt("notifications.face"));
363063
+ break;
363064
+ case "BadRequestException: More than one face detected.":
363065
+ Xt(Jt("notifications.multiple"));
363066
+ break;
363067
+ case "Cropping area goes off the image.":
363068
+ Xt(Jt("notifications.crop"));
363069
+ break;
363070
+ case "Image in portrait orientation is expected.":
363071
+ Xt(Jt("notifications.portrait"));
363072
+ break;
363073
+ case "no-match":
363074
+ Xt(Jt("notifications.noMatch"));
363075
+ break;
363076
+ case "liveness-failed":
363077
+ Xt(Jt("notifications.spoof"));
363078
+ break;
363079
+ default:
363080
+ Xt(Jt("notifications.error"));
363081
+ break;
363082
+ }
363099
363083
  }
363100
- const { current: En } = r0;
363084
+ const { current: tn } = r0;
363101
363085
  if (await sleep(3e3), Nt(!1), addScreenEvent({
363102
363086
  module: eventModuleNames.videoSelfie,
363103
363087
  screen: eventScreenNames.videoSelfieFaceAttemptFailed,
363104
363088
  token: Ye.token,
363105
363089
  shouldOpen: !1
363106
- }), En >= ft) {
363090
+ }), tn >= ft) {
363107
363091
  try {
363108
363092
  await processFace({
363109
363093
  token: Ye.token,
@@ -363121,7 +363105,7 @@ const switchCamera = async (Be, Le, Ye, tt) => {
363121
363105
  screen: eventScreenNames.videoSelfieFaceCapture,
363122
363106
  token: Ye.token,
363123
363107
  shouldOpen: !0
363124
- }), Xt(""), wt.current = !0, H0(), r0.current = En + 1;
363108
+ }), Xt(""), wt.current = !0, H0(), r0.current = tn + 1;
363125
363109
  }
363126
363110
  }
363127
363111
  const J0 = async () => {
@@ -363129,7 +363113,7 @@ const switchCamera = async (Be, Le, Ye, tt) => {
363129
363113
  const {
363130
363114
  hatCheckEnabled: X0,
363131
363115
  lensesCheckEnabled: Z0,
363132
- maskCheckEnabled: hn,
363116
+ maskCheckEnabled: mn,
363133
363117
  eyesClosedCheckEnabled: tn
363134
363118
  } = Ye;
363135
363119
  await s0.current.initialize({
@@ -363185,7 +363169,7 @@ const switchCamera = async (Be, Le, Ye, tt) => {
363185
363169
  onSwitchToManualCapture: emptyFunc,
363186
363170
  onCapture: throttle$2(T0, 1e3),
363187
363171
  isLensesCheckEnabled: Z0,
363188
- isMaskCheckEnabled: hn,
363172
+ isMaskCheckEnabled: mn,
363189
363173
  isClosedEyesCheckEnabled: tn,
363190
363174
  isHeadWearCheckEnabled: X0,
363191
363175
  isVideoSelfie: !0,
@@ -363203,9 +363187,9 @@ const switchCamera = async (Be, Le, Ye, tt) => {
363203
363187
  detectionSetup.getProfile(DetectionType.SelfieVideoSelfie).pipelineType
363204
363188
  );
363205
363189
  const X0 = getWebcamObject(P0);
363206
- let Z0 = null, hn = null;
363207
- isIOS16() && X0.video.videoWidth > X0.video.videoHeight ? (Z0 = X0.video.videoHeight, hn = X0.video.videoWidth) : (Z0 = X0.video.videoWidth, hn = X0.video.videoHeight);
363208
- const tn = new IncodeCanvas(X0.getCanvas(Z0, hn));
363190
+ let Z0 = null, mn = null;
363191
+ isIOS16() && X0.video.videoWidth > X0.video.videoHeight ? (Z0 = X0.video.videoHeight, mn = X0.video.videoWidth) : (Z0 = X0.video.videoWidth, mn = X0.video.videoHeight);
363192
+ const tn = new IncodeCanvas(X0.getCanvas(Z0, mn));
363209
363193
  await s0.current.detect(tn);
363210
363194
  } catch (X0) {
363211
363195
  console.error(X0);
@@ -363282,12 +363266,12 @@ const switchCamera = async (Be, Le, Ye, tt) => {
363282
363266
  }) : Promise.resolve({
363283
363267
  faceRecognitionConfidence: 1,
363284
363268
  idTypeMatched: !0
363285
- }), [Z0, hn] = await Promise.allSettled([H0, X0]);
363286
- if (Z0.status === "rejected" || hn.status === "rejected" || !hn.value.idTypeMatched) {
363269
+ }), [Z0, mn] = await Promise.allSettled([H0, X0]);
363270
+ if (Z0.status === "rejected" || mn.status === "rejected" || !mn.value.idTypeMatched) {
363287
363271
  MlWasmJSApi$1.reset(), S0(Jt("notifications.compareID.scanFailed"));
363288
363272
  return;
363289
363273
  }
363290
- if (hn.value.faceRecognitionConfidence !== 1) {
363274
+ if (mn.value.faceRecognitionConfidence !== 1) {
363291
363275
  MlWasmJSApi$1.reset(), S0(Jt("notifications.compareID.photoVerificationFailed"));
363292
363276
  return;
363293
363277
  }
@@ -363303,11 +363287,11 @@ const switchCamera = async (Be, Le, Ye, tt) => {
363303
363287
  }) : Promise.resolve({ idTypeMatched: !0, idSideMatched: !0 }), X0 = Et ? compareBackOCR({
363304
363288
  token: Ye.token,
363305
363289
  image: J0
363306
- }) : Promise.resolve({ success: !0 }), [Z0, hn] = await Promise.allSettled([
363290
+ }) : Promise.resolve({ success: !0 }), [Z0, mn] = await Promise.allSettled([
363307
363291
  H0,
363308
363292
  X0
363309
363293
  ]);
363310
- if (Z0.status === "rejected" || hn.status === "rejected" || !Z0.value.idTypeMatched || !Z0.value.idSideMatched || hn.value.success === !1 || Z0.value.success === !1) {
363294
+ if (Z0.status === "rejected" || mn.status === "rejected" || !Z0.value.idTypeMatched || !Z0.value.idSideMatched || mn.value.success === !1 || Z0.value.success === !1) {
363311
363295
  MlWasmJSApi$1.reset(), S0(Jt("notifications.compareID.scanFailed"), "back");
363312
363296
  return;
363313
363297
  }
@@ -367077,8 +367061,8 @@ function processCreditCard({ token: Be }) {
367077
367061
  E0(a0, r0, r0);
367078
367062
  }
367079
367063
  function E0(a0, r0, Yt) {
367080
- var jt, Jt, i0 = 0, s0 = 0, f0 = 0, u0 = 0, A0 = 0, d0 = 0, P0 = 0, L0 = 0, q0 = 0, $0 = 0, Y0 = 0, z0 = 0, B0 = 0, j0 = 0, I0 = 0, M0 = 0, V0 = 0, U0 = 0, w0 = 0, S0 = 0, T0 = 0, J0 = 0, H0 = 0, X0 = 0, Z0 = 0, hn = 0, tn = 0, mn = 0, En = 0, un = 0, Xn = 0, Pn = Yt[0], Dn = Yt[1], er = Yt[2], dr = Yt[3], $n = Yt[4], Hn = Yt[5], cn = Yt[6], wn = Yt[7], Vn = Yt[8], Un = Yt[9], ir = Yt[10], Ar = Yt[11], O0 = Yt[12], en = Yt[13], ln = Yt[14], gn = Yt[15];
367081
- i0 += (jt = r0[0]) * Pn, s0 += jt * Dn, f0 += jt * er, u0 += jt * dr, A0 += jt * $n, d0 += jt * Hn, P0 += jt * cn, L0 += jt * wn, q0 += jt * Vn, $0 += jt * Un, Y0 += jt * ir, z0 += jt * Ar, B0 += jt * O0, j0 += jt * en, I0 += jt * ln, M0 += jt * gn, s0 += (jt = r0[1]) * Pn, f0 += jt * Dn, u0 += jt * er, A0 += jt * dr, d0 += jt * $n, P0 += jt * Hn, L0 += jt * cn, q0 += jt * wn, $0 += jt * Vn, Y0 += jt * Un, z0 += jt * ir, B0 += jt * Ar, j0 += jt * O0, I0 += jt * en, M0 += jt * ln, V0 += jt * gn, f0 += (jt = r0[2]) * Pn, u0 += jt * Dn, A0 += jt * er, d0 += jt * dr, P0 += jt * $n, L0 += jt * Hn, q0 += jt * cn, $0 += jt * wn, Y0 += jt * Vn, z0 += jt * Un, B0 += jt * ir, j0 += jt * Ar, I0 += jt * O0, M0 += jt * en, V0 += jt * ln, U0 += jt * gn, u0 += (jt = r0[3]) * Pn, A0 += jt * Dn, d0 += jt * er, P0 += jt * dr, L0 += jt * $n, q0 += jt * Hn, $0 += jt * cn, Y0 += jt * wn, z0 += jt * Vn, B0 += jt * Un, j0 += jt * ir, I0 += jt * Ar, M0 += jt * O0, V0 += jt * en, U0 += jt * ln, w0 += jt * gn, A0 += (jt = r0[4]) * Pn, d0 += jt * Dn, P0 += jt * er, L0 += jt * dr, q0 += jt * $n, $0 += jt * Hn, Y0 += jt * cn, z0 += jt * wn, B0 += jt * Vn, j0 += jt * Un, I0 += jt * ir, M0 += jt * Ar, V0 += jt * O0, U0 += jt * en, w0 += jt * ln, S0 += jt * gn, d0 += (jt = r0[5]) * Pn, P0 += jt * Dn, L0 += jt * er, q0 += jt * dr, $0 += jt * $n, Y0 += jt * Hn, z0 += jt * cn, B0 += jt * wn, j0 += jt * Vn, I0 += jt * Un, M0 += jt * ir, V0 += jt * Ar, U0 += jt * O0, w0 += jt * en, S0 += jt * ln, T0 += jt * gn, P0 += (jt = r0[6]) * Pn, L0 += jt * Dn, q0 += jt * er, $0 += jt * dr, Y0 += jt * $n, z0 += jt * Hn, B0 += jt * cn, j0 += jt * wn, I0 += jt * Vn, M0 += jt * Un, V0 += jt * ir, U0 += jt * Ar, w0 += jt * O0, S0 += jt * en, T0 += jt * ln, J0 += jt * gn, L0 += (jt = r0[7]) * Pn, q0 += jt * Dn, $0 += jt * er, Y0 += jt * dr, z0 += jt * $n, B0 += jt * Hn, j0 += jt * cn, I0 += jt * wn, M0 += jt * Vn, V0 += jt * Un, U0 += jt * ir, w0 += jt * Ar, S0 += jt * O0, T0 += jt * en, J0 += jt * ln, H0 += jt * gn, q0 += (jt = r0[8]) * Pn, $0 += jt * Dn, Y0 += jt * er, z0 += jt * dr, B0 += jt * $n, j0 += jt * Hn, I0 += jt * cn, M0 += jt * wn, V0 += jt * Vn, U0 += jt * Un, w0 += jt * ir, S0 += jt * Ar, T0 += jt * O0, J0 += jt * en, H0 += jt * ln, X0 += jt * gn, $0 += (jt = r0[9]) * Pn, Y0 += jt * Dn, z0 += jt * er, B0 += jt * dr, j0 += jt * $n, I0 += jt * Hn, M0 += jt * cn, V0 += jt * wn, U0 += jt * Vn, w0 += jt * Un, S0 += jt * ir, T0 += jt * Ar, J0 += jt * O0, H0 += jt * en, X0 += jt * ln, Z0 += jt * gn, Y0 += (jt = r0[10]) * Pn, z0 += jt * Dn, B0 += jt * er, j0 += jt * dr, I0 += jt * $n, M0 += jt * Hn, V0 += jt * cn, U0 += jt * wn, w0 += jt * Vn, S0 += jt * Un, T0 += jt * ir, J0 += jt * Ar, H0 += jt * O0, X0 += jt * en, Z0 += jt * ln, hn += jt * gn, z0 += (jt = r0[11]) * Pn, B0 += jt * Dn, j0 += jt * er, I0 += jt * dr, M0 += jt * $n, V0 += jt * Hn, U0 += jt * cn, w0 += jt * wn, S0 += jt * Vn, T0 += jt * Un, J0 += jt * ir, H0 += jt * Ar, X0 += jt * O0, Z0 += jt * en, hn += jt * ln, tn += jt * gn, B0 += (jt = r0[12]) * Pn, j0 += jt * Dn, I0 += jt * er, M0 += jt * dr, V0 += jt * $n, U0 += jt * Hn, w0 += jt * cn, S0 += jt * wn, T0 += jt * Vn, J0 += jt * Un, H0 += jt * ir, X0 += jt * Ar, Z0 += jt * O0, hn += jt * en, tn += jt * ln, mn += jt * gn, j0 += (jt = r0[13]) * Pn, I0 += jt * Dn, M0 += jt * er, V0 += jt * dr, U0 += jt * $n, w0 += jt * Hn, S0 += jt * cn, T0 += jt * wn, J0 += jt * Vn, H0 += jt * Un, X0 += jt * ir, Z0 += jt * Ar, hn += jt * O0, tn += jt * en, mn += jt * ln, En += jt * gn, I0 += (jt = r0[14]) * Pn, M0 += jt * Dn, V0 += jt * er, U0 += jt * dr, w0 += jt * $n, S0 += jt * Hn, T0 += jt * cn, J0 += jt * wn, H0 += jt * Vn, X0 += jt * Un, Z0 += jt * ir, hn += jt * Ar, tn += jt * O0, mn += jt * en, En += jt * ln, un += jt * gn, M0 += (jt = r0[15]) * Pn, s0 += 38 * (U0 += jt * er), f0 += 38 * (w0 += jt * dr), u0 += 38 * (S0 += jt * $n), A0 += 38 * (T0 += jt * Hn), d0 += 38 * (J0 += jt * cn), P0 += 38 * (H0 += jt * wn), L0 += 38 * (X0 += jt * Vn), q0 += 38 * (Z0 += jt * Un), $0 += 38 * (hn += jt * ir), Y0 += 38 * (tn += jt * Ar), z0 += 38 * (mn += jt * O0), B0 += 38 * (En += jt * en), j0 += 38 * (un += jt * ln), I0 += 38 * (Xn += jt * gn), i0 = (jt = (i0 += 38 * (V0 += jt * Dn)) + (Jt = 1) + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), s0 = (jt = s0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), f0 = (jt = f0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), u0 = (jt = u0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), A0 = (jt = A0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), d0 = (jt = d0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), P0 = (jt = P0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), L0 = (jt = L0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), q0 = (jt = q0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), $0 = (jt = $0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), Y0 = (jt = Y0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), z0 = (jt = z0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), B0 = (jt = B0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), j0 = (jt = j0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), I0 = (jt = I0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), M0 = (jt = M0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), i0 = (jt = (i0 += Jt - 1 + 37 * (Jt - 1)) + (Jt = 1) + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), s0 = (jt = s0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), f0 = (jt = f0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), u0 = (jt = u0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), A0 = (jt = A0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), d0 = (jt = d0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), P0 = (jt = P0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), L0 = (jt = L0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), q0 = (jt = q0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), $0 = (jt = $0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), Y0 = (jt = Y0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), z0 = (jt = z0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), B0 = (jt = B0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), j0 = (jt = j0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), I0 = (jt = I0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), M0 = (jt = M0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), i0 += Jt - 1 + 37 * (Jt - 1), a0[0] = i0, a0[1] = s0, a0[2] = f0, a0[3] = u0, a0[4] = A0, a0[5] = d0, a0[6] = P0, a0[7] = L0, a0[8] = q0, a0[9] = $0, a0[10] = Y0, a0[11] = z0, a0[12] = B0, a0[13] = j0, a0[14] = I0, a0[15] = M0;
367064
+ var jt, Jt, i0 = 0, s0 = 0, f0 = 0, u0 = 0, A0 = 0, d0 = 0, P0 = 0, L0 = 0, q0 = 0, $0 = 0, Y0 = 0, z0 = 0, B0 = 0, j0 = 0, I0 = 0, M0 = 0, V0 = 0, U0 = 0, w0 = 0, S0 = 0, T0 = 0, J0 = 0, H0 = 0, X0 = 0, Z0 = 0, mn = 0, tn = 0, un = 0, kn = 0, fn = 0, Kn = 0, Ln = Yt[0], Fn = Yt[1], er = Yt[2], dr = Yt[3], $n = Yt[4], Hn = Yt[5], cn = Yt[6], wn = Yt[7], Vn = Yt[8], Un = Yt[9], ir = Yt[10], Ar = Yt[11], O0 = Yt[12], en = Yt[13], ln = Yt[14], gn = Yt[15];
367065
+ i0 += (jt = r0[0]) * Ln, s0 += jt * Fn, f0 += jt * er, u0 += jt * dr, A0 += jt * $n, d0 += jt * Hn, P0 += jt * cn, L0 += jt * wn, q0 += jt * Vn, $0 += jt * Un, Y0 += jt * ir, z0 += jt * Ar, B0 += jt * O0, j0 += jt * en, I0 += jt * ln, M0 += jt * gn, s0 += (jt = r0[1]) * Ln, f0 += jt * Fn, u0 += jt * er, A0 += jt * dr, d0 += jt * $n, P0 += jt * Hn, L0 += jt * cn, q0 += jt * wn, $0 += jt * Vn, Y0 += jt * Un, z0 += jt * ir, B0 += jt * Ar, j0 += jt * O0, I0 += jt * en, M0 += jt * ln, V0 += jt * gn, f0 += (jt = r0[2]) * Ln, u0 += jt * Fn, A0 += jt * er, d0 += jt * dr, P0 += jt * $n, L0 += jt * Hn, q0 += jt * cn, $0 += jt * wn, Y0 += jt * Vn, z0 += jt * Un, B0 += jt * ir, j0 += jt * Ar, I0 += jt * O0, M0 += jt * en, V0 += jt * ln, U0 += jt * gn, u0 += (jt = r0[3]) * Ln, A0 += jt * Fn, d0 += jt * er, P0 += jt * dr, L0 += jt * $n, q0 += jt * Hn, $0 += jt * cn, Y0 += jt * wn, z0 += jt * Vn, B0 += jt * Un, j0 += jt * ir, I0 += jt * Ar, M0 += jt * O0, V0 += jt * en, U0 += jt * ln, w0 += jt * gn, A0 += (jt = r0[4]) * Ln, d0 += jt * Fn, P0 += jt * er, L0 += jt * dr, q0 += jt * $n, $0 += jt * Hn, Y0 += jt * cn, z0 += jt * wn, B0 += jt * Vn, j0 += jt * Un, I0 += jt * ir, M0 += jt * Ar, V0 += jt * O0, U0 += jt * en, w0 += jt * ln, S0 += jt * gn, d0 += (jt = r0[5]) * Ln, P0 += jt * Fn, L0 += jt * er, q0 += jt * dr, $0 += jt * $n, Y0 += jt * Hn, z0 += jt * cn, B0 += jt * wn, j0 += jt * Vn, I0 += jt * Un, M0 += jt * ir, V0 += jt * Ar, U0 += jt * O0, w0 += jt * en, S0 += jt * ln, T0 += jt * gn, P0 += (jt = r0[6]) * Ln, L0 += jt * Fn, q0 += jt * er, $0 += jt * dr, Y0 += jt * $n, z0 += jt * Hn, B0 += jt * cn, j0 += jt * wn, I0 += jt * Vn, M0 += jt * Un, V0 += jt * ir, U0 += jt * Ar, w0 += jt * O0, S0 += jt * en, T0 += jt * ln, J0 += jt * gn, L0 += (jt = r0[7]) * Ln, q0 += jt * Fn, $0 += jt * er, Y0 += jt * dr, z0 += jt * $n, B0 += jt * Hn, j0 += jt * cn, I0 += jt * wn, M0 += jt * Vn, V0 += jt * Un, U0 += jt * ir, w0 += jt * Ar, S0 += jt * O0, T0 += jt * en, J0 += jt * ln, H0 += jt * gn, q0 += (jt = r0[8]) * Ln, $0 += jt * Fn, Y0 += jt * er, z0 += jt * dr, B0 += jt * $n, j0 += jt * Hn, I0 += jt * cn, M0 += jt * wn, V0 += jt * Vn, U0 += jt * Un, w0 += jt * ir, S0 += jt * Ar, T0 += jt * O0, J0 += jt * en, H0 += jt * ln, X0 += jt * gn, $0 += (jt = r0[9]) * Ln, Y0 += jt * Fn, z0 += jt * er, B0 += jt * dr, j0 += jt * $n, I0 += jt * Hn, M0 += jt * cn, V0 += jt * wn, U0 += jt * Vn, w0 += jt * Un, S0 += jt * ir, T0 += jt * Ar, J0 += jt * O0, H0 += jt * en, X0 += jt * ln, Z0 += jt * gn, Y0 += (jt = r0[10]) * Ln, z0 += jt * Fn, B0 += jt * er, j0 += jt * dr, I0 += jt * $n, M0 += jt * Hn, V0 += jt * cn, U0 += jt * wn, w0 += jt * Vn, S0 += jt * Un, T0 += jt * ir, J0 += jt * Ar, H0 += jt * O0, X0 += jt * en, Z0 += jt * ln, mn += jt * gn, z0 += (jt = r0[11]) * Ln, B0 += jt * Fn, j0 += jt * er, I0 += jt * dr, M0 += jt * $n, V0 += jt * Hn, U0 += jt * cn, w0 += jt * wn, S0 += jt * Vn, T0 += jt * Un, J0 += jt * ir, H0 += jt * Ar, X0 += jt * O0, Z0 += jt * en, mn += jt * ln, tn += jt * gn, B0 += (jt = r0[12]) * Ln, j0 += jt * Fn, I0 += jt * er, M0 += jt * dr, V0 += jt * $n, U0 += jt * Hn, w0 += jt * cn, S0 += jt * wn, T0 += jt * Vn, J0 += jt * Un, H0 += jt * ir, X0 += jt * Ar, Z0 += jt * O0, mn += jt * en, tn += jt * ln, un += jt * gn, j0 += (jt = r0[13]) * Ln, I0 += jt * Fn, M0 += jt * er, V0 += jt * dr, U0 += jt * $n, w0 += jt * Hn, S0 += jt * cn, T0 += jt * wn, J0 += jt * Vn, H0 += jt * Un, X0 += jt * ir, Z0 += jt * Ar, mn += jt * O0, tn += jt * en, un += jt * ln, kn += jt * gn, I0 += (jt = r0[14]) * Ln, M0 += jt * Fn, V0 += jt * er, U0 += jt * dr, w0 += jt * $n, S0 += jt * Hn, T0 += jt * cn, J0 += jt * wn, H0 += jt * Vn, X0 += jt * Un, Z0 += jt * ir, mn += jt * Ar, tn += jt * O0, un += jt * en, kn += jt * ln, fn += jt * gn, M0 += (jt = r0[15]) * Ln, s0 += 38 * (U0 += jt * er), f0 += 38 * (w0 += jt * dr), u0 += 38 * (S0 += jt * $n), A0 += 38 * (T0 += jt * Hn), d0 += 38 * (J0 += jt * cn), P0 += 38 * (H0 += jt * wn), L0 += 38 * (X0 += jt * Vn), q0 += 38 * (Z0 += jt * Un), $0 += 38 * (mn += jt * ir), Y0 += 38 * (tn += jt * Ar), z0 += 38 * (un += jt * O0), B0 += 38 * (kn += jt * en), j0 += 38 * (fn += jt * ln), I0 += 38 * (Kn += jt * gn), i0 = (jt = (i0 += 38 * (V0 += jt * Fn)) + (Jt = 1) + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), s0 = (jt = s0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), f0 = (jt = f0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), u0 = (jt = u0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), A0 = (jt = A0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), d0 = (jt = d0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), P0 = (jt = P0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), L0 = (jt = L0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), q0 = (jt = q0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), $0 = (jt = $0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), Y0 = (jt = Y0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), z0 = (jt = z0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), B0 = (jt = B0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), j0 = (jt = j0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), I0 = (jt = I0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), M0 = (jt = M0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), i0 = (jt = (i0 += Jt - 1 + 37 * (Jt - 1)) + (Jt = 1) + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), s0 = (jt = s0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), f0 = (jt = f0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), u0 = (jt = u0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), A0 = (jt = A0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), d0 = (jt = d0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), P0 = (jt = P0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), L0 = (jt = L0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), q0 = (jt = q0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), $0 = (jt = $0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), Y0 = (jt = Y0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), z0 = (jt = z0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), B0 = (jt = B0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), j0 = (jt = j0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), I0 = (jt = I0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), M0 = (jt = M0 + Jt + 65535) - 65536 * (Jt = Math.floor(jt / 65536)), i0 += Jt - 1 + 37 * (Jt - 1), a0[0] = i0, a0[1] = s0, a0[2] = f0, a0[3] = u0, a0[4] = A0, a0[5] = d0, a0[6] = P0, a0[7] = L0, a0[8] = q0, a0[9] = $0, a0[10] = Y0, a0[11] = z0, a0[12] = B0, a0[13] = j0, a0[14] = I0, a0[15] = M0;
367082
367066
  }
367083
367067
  }, 7768: (nt) => {
367084
367068
  nt.exports = { options: { usePureJavaScript: !1 } };