@regulaforensics/idv-gui 3.10.654-rc → 3.10.655-nightly

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -1,4 +1,4 @@
1
- // \0rolldown/runtime.js
1
+ //#region \0rolldown/runtime.js
2
2
  var e = Object.defineProperty, t = Object.getOwnPropertyDescriptor, n = Object.getOwnPropertyNames, r = Object.prototype.hasOwnProperty, i = (e, t, n) => () => {
3
3
  if (n) throw n[0];
4
4
  try {
@@ -20,7 +20,8 @@ var e = Object.defineProperty, t = Object.getOwnPropertyDescriptor, n = Object.g
20
20
  });
21
21
  return i;
22
22
  }, c = (t) => r.call(t, "module.exports") ? t["module.exports"] : s(e({}, "__esModule", { value: !0 }), t);
23
- // ../../node_modules/preact/dist/preact.module.js
23
+ //#endregion
24
+ //#region ../../node_modules/preact/dist/preact.module.js
24
25
  function l(e, t) {
25
26
  for (var n in t) e[n] = t[n];
26
27
  return e;
@@ -310,7 +311,8 @@ var le, M, ue, de, fe, pe, me, he, ge, _e, ve, ye, be, xe, Se, Ce, we, Te, Ee, D
310
311
  return e.__v.__b - t.__v.__b;
311
312
  }, b.__r = 0, he = Math.random().toString(8), ge = "__d" + he, _e = "__a" + he, ve = /(PointerCapture)$|Capture$/i, ye = 0, be = ee(!1), xe = ee(!0), Se = 0;
312
313
  }));
313
- // ../../node_modules/preact/hooks/dist/hooks.module.js
314
+ //#endregion
315
+ //#region ../../node_modules/preact/hooks/dist/hooks.module.js
314
316
  function Oe(e, t) {
315
317
  I.__h && I.__h(F, e, Je || t), Je = 0;
316
318
  var n = F.__H || (F.__H = {
@@ -488,7 +490,8 @@ var Ge, F, Ke, qe, Je, Ye, I, Xe, Ze, Qe, $e, et, tt, nt, L = i((() => {
488
490
  }), n.__H = void 0, t && I.__e(t, n.__v));
489
491
  }, nt = typeof requestAnimationFrame == "function";
490
492
  }));
491
- // \0@oxc-project+runtime@0.155.0/helpers/esm/typeof.js
493
+ //#endregion
494
+ //#region \0@oxc-project+runtime@0.154.0/helpers/esm/typeof.js
492
495
  L();
493
496
  function rt(e) {
494
497
  "@babel/helpers - typeof";
@@ -498,7 +501,8 @@ function rt(e) {
498
501
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
499
502
  }, rt(e);
500
503
  }
501
- // \0@oxc-project+runtime@0.155.0/helpers/esm/toPrimitive.js
504
+ //#endregion
505
+ //#region \0@oxc-project+runtime@0.154.0/helpers/esm/toPrimitive.js
502
506
  function it(e, t) {
503
507
  if (rt(e) != "object" || !e) return e;
504
508
  var n = e[Symbol.toPrimitive];
@@ -509,12 +513,14 @@ function it(e, t) {
509
513
  }
510
514
  return (t === "string" ? String : Number)(e);
511
515
  }
512
- // \0@oxc-project+runtime@0.155.0/helpers/esm/toPropertyKey.js
516
+ //#endregion
517
+ //#region \0@oxc-project+runtime@0.154.0/helpers/esm/toPropertyKey.js
513
518
  function at(e) {
514
519
  var t = it(e, "string");
515
520
  return rt(t) == "symbol" ? t : t + "";
516
521
  }
517
- // \0@oxc-project+runtime@0.155.0/helpers/esm/defineProperty.js
522
+ //#endregion
523
+ //#region \0@oxc-project+runtime@0.154.0/helpers/esm/defineProperty.js
518
524
  function ot(e, t, n) {
519
525
  return (t = at(t)) in e ? Object.defineProperty(e, t, {
520
526
  value: n,
@@ -523,7 +529,8 @@ function ot(e, t, n) {
523
529
  writable: !0
524
530
  }) : e[t] = n, e;
525
531
  }
526
- // \0@oxc-project+runtime@0.155.0/helpers/esm/objectSpread2.js
532
+ //#endregion
533
+ //#region \0@oxc-project+runtime@0.154.0/helpers/esm/objectSpread2.js
527
534
  function st(e, t) {
528
535
  var n = Object.keys(e);
529
536
  if (Object.getOwnPropertySymbols) {
@@ -545,7 +552,8 @@ function R(e) {
545
552
  }
546
553
  return e;
547
554
  }
548
- // ../interfaces-idv/src/index.ts
555
+ //#endregion
556
+ //#region ../interfaces-idv/src/index.ts
549
557
  var ct = class e {
550
558
  constructor({ errorCode: e, errorCodeKey: t, message: n, underlyingError: r, underlyingBaseError: i, domain: a, module: o, errorEnumName: s, shortDomainCode: c }) {
551
559
  this.errorCode = e, this.errorCodeKey = t, this.message = n, this.underlyingError = r, this.underlyingBaseError = i, this.module = o, this.domain = a, this.errorEnumName = s, this.shortDomainCode = c;
@@ -602,7 +610,8 @@ var dt = {
602
610
  let n = e ? (t = e.substring(0, 2)) == null ? void 0 : t.toLowerCase() : "";
603
611
  return pt.includes(n) ? "rtl" : "ltr";
604
612
  };
605
- // ../../node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js
613
+ //#endregion
614
+ //#region ../../node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js
606
615
  De();
607
616
  var ht = 0;
608
617
  Array.isArray;
@@ -630,7 +639,8 @@ function z(e, t, n, r, i, a) {
630
639
  if (typeof e == "function" && (o = e.defaultProps)) for (s in o) c[s] === void 0 && (c[s] = o[s]);
631
640
  return M.vnode && M.vnode(l), l;
632
641
  }
633
- // src/context/index.tsx
642
+ //#endregion
643
+ //#region src/context/index.tsx
634
644
  De();
635
645
  var gt = ce(void 0), _t = ({ perform: e, children: t, setIsProcessingCallback: n, devSettings: r, failedAssets: i, layoutDirection: a }) => /* @__PURE__ */ z(gt.Provider, {
636
646
  value: {
@@ -671,7 +681,8 @@ var gt = ce(void 0), _t = ({ perform: e, children: t, setIsProcessingCallback: n
671
681
  alignItems: "center",
672
682
  alignContent: "center"
673
683
  };
674
- // src/components/icons/spinner/index.tsx
684
+ //#endregion
685
+ //#region src/components/icons/spinner/index.tsx
675
686
  L();
676
687
  var wt = ({ dataUrl: e, isFullSize: t = !1 }) => {
677
688
  let n = je(null);
@@ -758,7 +769,8 @@ var wt = ({ dataUrl: e, isFullSize: t = !1 }) => {
758
769
  RIGHT: "RIGHT",
759
770
  END: "END"
760
771
  };
761
- // src/utils/ui-helpers.tsx
772
+ //#endregion
773
+ //#region src/utils/ui-helpers.tsx
762
774
  function It(e) {
763
775
  let t = /\[([^\]]+)\]\(((https?:\/\/|www\.)?[^\s)]+\.[^\s)]+)\)/g, n = [], r = 0;
764
776
  for (let a of e.matchAll(t)) {
@@ -936,7 +948,8 @@ var Vt = (e, t) => !!(e.base64 && !(t != null && t.base64.has(e.base64)) || e.im
936
948
  FILES_NOT_SELECTED: "files_not_selected",
937
949
  FILES_LIMIT_EXCEEDED: "files_limit_exceeded"
938
950
  };
939
- // \0@oxc-project+runtime@0.155.0/helpers/esm/asyncToGenerator.js
951
+ //#endregion
952
+ //#region \0@oxc-project+runtime@0.154.0/helpers/esm/asyncToGenerator.js
940
953
  function tn(e, t, n, r, i, a, o) {
941
954
  try {
942
955
  var s = e[a](o), c = s.value;
@@ -961,7 +974,8 @@ function V(e) {
961
974
  });
962
975
  };
963
976
  }
964
- // src/utils/index.ts
977
+ //#endregion
978
+ //#region src/utils/index.ts
965
979
  function nn(e) {
966
980
  return e === Et.CENTER ? "center" : e === Et.RIGHT || e === Et.END ? "end" : "start";
967
981
  }
@@ -1019,7 +1033,8 @@ var cn = (e, t) => e.reduce((e, n) => {
1019
1033
  return e.apply(this, arguments);
1020
1034
  };
1021
1035
  }(), dn = () => String.fromCharCode(Math.floor(Math.random() * 26) + 97) + Number(Math.random()).toString(16).slice(2) + Date.now().toString(16).slice(4);
1022
- // \0@oxc-project+runtime@0.155.0/helpers/esm/objectWithoutPropertiesLoose.js
1036
+ //#endregion
1037
+ //#region \0@oxc-project+runtime@0.154.0/helpers/esm/objectWithoutPropertiesLoose.js
1023
1038
  function fn(e, t) {
1024
1039
  if (e == null) return {};
1025
1040
  var n = {};
@@ -1029,7 +1044,8 @@ function fn(e, t) {
1029
1044
  }
1030
1045
  return n;
1031
1046
  }
1032
- // \0@oxc-project+runtime@0.155.0/helpers/esm/objectWithoutProperties.js
1047
+ //#endregion
1048
+ //#region \0@oxc-project+runtime@0.154.0/helpers/esm/objectWithoutProperties.js
1033
1049
  function pn(e, t) {
1034
1050
  if (e == null) return {};
1035
1051
  var n, r, i = fn(e, t);
@@ -1039,7 +1055,8 @@ function pn(e, t) {
1039
1055
  }
1040
1056
  return i;
1041
1057
  }
1042
- // src/components/image/index.tsx
1058
+ //#endregion
1059
+ //#region src/components/image/index.tsx
1043
1060
  L();
1044
1061
  var mn = ["isFullSize"], U = (e) => {
1045
1062
  let { isFullSize: t = !1 } = e, n = pn(e, mn), { failedAssets: r } = xt(), i = Ht(n, r), [a, o] = N(0), s = i[a];
@@ -1108,7 +1125,8 @@ var mn = ["isFullSize"], U = (e) => {
1108
1125
  children: /* @__PURE__ */ z(U, R({}, e))
1109
1126
  })
1110
1127
  });
1111
- // src/components/header/components/close-button/index.tsx
1128
+ //#endregion
1129
+ //#region src/components/header/components/close-button/index.tsx
1112
1130
  L();
1113
1131
  var gn = {
1114
1132
  display: "flex",
@@ -1187,7 +1205,8 @@ var gn = {
1187
1205
  children: h
1188
1206
  });
1189
1207
  };
1190
- // src/hooks/useButtonInteractionState.ts
1208
+ //#endregion
1209
+ //#region src/hooks/useButtonInteractionState.ts
1191
1210
  L();
1192
1211
  var yn = () => {
1193
1212
  let [e, t] = N(!1), [n, r] = N(!1);
@@ -1369,7 +1388,8 @@ var yn = () => {
1369
1388
  },
1370
1389
  children: e && Lt(e)
1371
1390
  });
1372
- // src/screens/status-screen/index.tsx
1391
+ //#endregion
1392
+ //#region src/screens/status-screen/index.tsx
1373
1393
  L();
1374
1394
  var En = ({ header: e, footer: t, image: n, title: r, description: i, buttons: a, backgroundColor: o, backgroundImage: s }) => {
1375
1395
  let c = je(null), l = je(null), [u, d] = N(!1);
@@ -1559,7 +1579,8 @@ var En = ({ header: e, footer: t, image: n, title: r, description: i, buttons: a
1559
1579
  }),
1560
1580
  children: e.map((t, n) => /* @__PURE__ */ z(Mn, R({ isLastChild: n === e.length - 1 }, t), n))
1561
1581
  });
1562
- // src/screens/details-screen/index.tsx
1582
+ //#endregion
1583
+ //#region src/screens/details-screen/index.tsx
1563
1584
  L();
1564
1585
  var Fn = ({ title: e, header: t, footer: n, details: r, buttons: i, backgroundColor: a, backgroundImage: o }) => {
1565
1586
  let s = je(null), [c, l] = N(!1);
@@ -2017,7 +2038,8 @@ var dr, fr, pr, mr, hr, gr, _r, vr, yr, br, xr, Sr, Cr, wr, Tr, Er, Dr, Or, kr,
2017
2038
  __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: jr
2018
2039
  };
2019
2040
  }));
2020
- // ../../node_modules/react-hook-form/dist/index.esm.mjs
2041
+ //#endregion
2042
+ //#region ../../node_modules/react-hook-form/dist/index.esm.mjs
2021
2043
  Ir();
2022
2044
  var Lr = ["_f"], Rr = ["name"], zr = ["_f"], Br = [
2023
2045
  "ref",
@@ -2163,7 +2185,7 @@ function gi(e) {
2163
2185
  a,
2164
2186
  r
2165
2187
  ]);
2166
- li(() => (d.current === n && hi(f.current, r) || (d.current = n, f.current = r, g()), n._subscribe({
2188
+ li(() => ((d.current !== n || !hi(f.current, r)) && (d.current = n, f.current = r, g()), n._subscribe({
2167
2189
  name: r,
2168
2190
  formState: { values: !0 },
2169
2191
  exact: o,
@@ -2847,7 +2869,7 @@ function pa(e = {}) {
2847
2869
  if (o) {
2848
2870
  let n = o._f;
2849
2871
  n && (!n.disabled && X(a, e, Ui(t, n)), s = Oi(n.ref) && Wr(t) ? "" : t, ki(n.ref) ? [...n.ref.options].forEach((e) => e.selected = s.includes(e.value)) : n.refs ? Hr(n.ref) ? n.refs.forEach((e) => {
2850
- e.defaultChecked && e.disabled || (e.checked = Array.isArray(s) ? !!s.find((t) => t === e.value) : s === e.value || !!s);
2872
+ (!e.defaultChecked || !e.disabled) && (e.checked = Array.isArray(s) ? !!s.find((t) => t === e.value) : s === e.value || !!s);
2851
2873
  }) : n.refs.forEach((e) => e.checked = e.value === s) : Di(n.ref) ? n.ref.value = "" : (n.ref.value = s, n.ref.type || p.state.next({
2852
2874
  name: e,
2853
2875
  values: i ? a : q(a)
@@ -2900,7 +2922,7 @@ function pa(e = {}) {
2900
2922
  }, b = Xi(t.mode), x = Xi(t.reValidateMode);
2901
2923
  if (v) {
2902
2924
  let o, S, C = l.type ? Ki(v._f) : Kr(i), D = i.type === Xr.BLUR || i.type === Xr.FOCUS_OUT, te = !$i(v._f) && !e.validate && !t.resolver && !Y(n.errors, u) && !v._f.deps || aa(D, Y(n.touchedFields, u), n.isSubmitted, x, b), k = ea(u, s, D);
2903
- X(a, u, C), D ? l && l.readOnly || (v._f.onBlur && v._f.onBlur(i), c && c(0)) : v._f.onChange && v._f.onChange(i);
2925
+ X(a, u, C), D ? (!l || !l.readOnly) && (v._f.onBlur && v._f.onBlur(i), c && c(0)) : v._f.onChange && v._f.onChange(i);
2904
2926
  let A = w(u, C, D), ne = !Z(A) || k;
2905
2927
  if (!D && p.state.next({
2906
2928
  name: u,
@@ -3262,7 +3284,8 @@ function ma(e = {}) {
3262
3284
  o._state.mount || (o._setValid(), o._state.mount = !0), o._state.watch && (o._state.watch = !1, o._subjects.state.next(R({}, o._formState))), o._removeUnmounted();
3263
3285
  }), t.current.formState = G.useMemo(() => ci(i, o), [o, i]), t.current;
3264
3286
  }
3265
- // src/utils/getValidateObjectHelper.ts
3287
+ //#endregion
3288
+ //#region src/utils/getValidateObjectHelper.ts
3266
3289
  var ha = (e, t, n) => {
3267
3290
  let r = {};
3268
3291
  return e.forEach((e, i) => {
@@ -3273,7 +3296,8 @@ var ha = (e, t, n) => {
3273
3296
  "passed" in e && e.passed === !1 && (r[`remote_${i}`] = () => n != null && n() ? !0 : e.message);
3274
3297
  }), r;
3275
3298
  };
3276
- // src/hooks/useFormFieldValidation.ts
3299
+ //#endregion
3300
+ //#region src/hooks/useFormFieldValidation.ts
3277
3301
  L();
3278
3302
  var ga = (e) => e.filter((e) => "passed" in e && e.passed === !1), _a = (e) => {
3279
3303
  if (!e) return [];
@@ -3422,7 +3446,8 @@ var ga = (e) => e.filter((e) => "passed" in e && e.passed === !1), _a = (e) => {
3422
3446
  }))]
3423
3447
  });
3424
3448
  };
3425
- // src/hooks/useIsKeyboard.ts
3449
+ //#endregion
3450
+ //#region src/hooks/useIsKeyboard.ts
3426
3451
  L();
3427
3452
  var Ca = () => {
3428
3453
  let [e, t] = N(!1);
@@ -3433,7 +3458,8 @@ var Ca = () => {
3433
3458
  };
3434
3459
  }, []), e;
3435
3460
  };
3436
- // src/screens/questions-screen/components/questions/selector-options-question/SelectorOptionsOption.tsx
3461
+ //#endregion
3462
+ //#region src/screens/questions-screen/components/questions/selector-options-question/SelectorOptionsOption.tsx
3437
3463
  L();
3438
3464
  var wa = ({ option: e, layout: t, dataSourceQuestion: n, register: r, watch: i, validate: a, clearFieldErrors: o }) => {
3439
3465
  let [s, c] = N(!1), l = Ca(), u = String(n.id), d = i(u) === String(e.id), f = r(u, {
@@ -3511,7 +3537,8 @@ var wa = ({ option: e, layout: t, dataSourceQuestion: n, register: r, watch: i,
3511
3537
  }, o.id))]
3512
3538
  })
3513
3539
  });
3514
- // src/screens/questions-screen/components/questions/selector-buttons-question/SelectorButtonsOption.tsx
3540
+ //#endregion
3541
+ //#region src/screens/questions-screen/components/questions/selector-buttons-question/SelectorButtonsOption.tsx
3515
3542
  L();
3516
3543
  var Ea = ({ option: e, layout: t, dataSourceQuestion: n, register: r, watch: i, validate: a, clearFieldErrors: o }) => {
3517
3544
  let [s, c] = N(!1), l = Ca(), u = String(n.id), d = i(u) === String(e.id), f = r(u, {
@@ -3591,7 +3618,8 @@ var Ea = ({ option: e, layout: t, dataSourceQuestion: n, register: r, watch: i,
3591
3618
  })]
3592
3619
  })
3593
3620
  });
3594
- // src/screens/questions-screen/components/questions/select-input-custom/SelectInputCustom.tsx
3621
+ //#endregion
3622
+ //#region src/screens/questions-screen/components/questions/select-input-custom/SelectInputCustom.tsx
3595
3623
  L();
3596
3624
  var Oa = ({ isOpen: e, image: t }) => /* @__PURE__ */ z("div", {
3597
3625
  "data-ui": "gui-custom-select-chevron",
@@ -3907,7 +3935,8 @@ var Oa = ({ isOpen: e, image: t }) => /* @__PURE__ */ z("div", {
3907
3935
  })]
3908
3936
  });
3909
3937
  };
3910
- // src/screens/questions-screen/components/questions/multi-selector-options-question/MultiSelectorOptionsOption.tsx
3938
+ //#endregion
3939
+ //#region src/screens/questions-screen/components/questions/multi-selector-options-question/MultiSelectorOptionsOption.tsx
3911
3940
  L();
3912
3941
  var Na = ({ option: e, layout: t, dataSourceQuestion: n, isChosen: r, onToggle: i }) => {
3913
3942
  let [a, o] = N(!1), s = Ca(), c = String(n.id), l = t.option, u = t.optionSelected, d = {
@@ -4002,7 +4031,8 @@ var Na = ({ option: e, layout: t, dataSourceQuestion: n, isChosen: r, onToggle:
4002
4031
  })
4003
4032
  });
4004
4033
  };
4005
- // src/screens/questions-screen/components/questions/multi-selector-buttons-question/MultiSelectorButtonsOption.tsx
4034
+ //#endregion
4035
+ //#region src/screens/questions-screen/components/questions/multi-selector-buttons-question/MultiSelectorButtonsOption.tsx
4006
4036
  L();
4007
4037
  var Fa = ({ option: e, layout: t, dataSourceQuestion: n, isChosen: r, onToggle: i }) => {
4008
4038
  let [a, o] = N(!1), s = Ca(), c = String(n.id), l = t.option, u = t.optionSelected, d = {
@@ -4099,7 +4129,8 @@ var Fa = ({ option: e, layout: t, dataSourceQuestion: n, isChosen: r, onToggle:
4099
4129
  })
4100
4130
  });
4101
4131
  };
4102
- // src/screens/questions-screen/components/question/index.tsx
4132
+ //#endregion
4133
+ //#region src/screens/questions-screen/components/question/index.tsx
4103
4134
  L();
4104
4135
  var La = ({ layout: e, dataSourceQuestion: t, parentElementRef: n, shouldClearErrorsOnChange: r = !0 }) => {
4105
4136
  var i;
@@ -4204,7 +4235,8 @@ var La = ({ layout: e, dataSourceQuestion: t, parentElementRef: n, shouldClearEr
4204
4235
  });
4205
4236
  }
4206
4237
  };
4207
- // src/screens/questions-screen/index.tsx
4238
+ //#endregion
4239
+ //#region src/screens/questions-screen/index.tsx
4208
4240
  Va = Ha, Va.MODULE = Xt, Va.ERROR_ENUM_NAME = "GuiModuleError", Va.SHORT_CODE = "GM", L();
4209
4241
  var Ua = ({ header: e, title: t, buttons: n, footer: r, questions: i, dataSource: a, properties: o, backgroundColor: s, backgroundImage: c }) => {
4210
4242
  var l;
@@ -4325,7 +4357,8 @@ var Ua = ({ header: e, title: t, buttons: n, footer: r, questions: i, dataSource
4325
4357
  minHeight: "100%",
4326
4358
  overflow: "auto"
4327
4359
  };
4328
- // src/screens/gallery-screen/index.tsx
4360
+ //#endregion
4361
+ //#region src/screens/gallery-screen/index.tsx
4329
4362
  L();
4330
4363
  var qa = ({ header: e, footer: t, buttons: n, backgroundColor: r, backgroundImage: i, selectionLimit: a }) => {
4331
4364
  var o;
@@ -5711,7 +5744,8 @@ var qa = ({ header: e, footer: t, buttons: n, backgroundColor: r, backgroundImag
5711
5744
  minHeight: "100%",
5712
5745
  overflow: "auto"
5713
5746
  };
5714
- // src/screens/camera-screen/index.tsx
5747
+ //#endregion
5748
+ //#region src/screens/camera-screen/index.tsx
5715
5749
  L();
5716
5750
  var $a = ({ header: e, footer: t, backgroundColor: n, backgroundImage: r, buttons: i, selectionLimit: a }) => {
5717
5751
  var o;
@@ -5844,7 +5878,8 @@ var $a = ({ header: e, footer: t, backgroundColor: n, backgroundImage: r, button
5844
5878
  return e.apply(this, arguments);
5845
5879
  };
5846
5880
  }(), ro = (e, t) => typeof t == "number" && t > 0 ? t * 1e3 : e;
5847
- // src/hooks/useGeolocationLogic.ts
5881
+ //#endregion
5882
+ //#region src/hooks/useGeolocationLogic.ts
5848
5883
  L();
5849
5884
  var io = ({ askEveryTime: e, getLocationTimeout: t, locationAccuracy: n }) => {
5850
5885
  var r;
@@ -6122,7 +6157,8 @@ var vo = ce(void 0), yo = ({ children: e, handlers: t }) => /* @__PURE__ */ z(vo
6122
6157
  let a = H(n) || "transparent", o = H(r), s = H(i);
6123
6158
  return e ? o || a : t && s || a;
6124
6159
  };
6125
- // src/components/imageButton/index.tsx
6160
+ //#endregion
6161
+ //#region src/components/imageButton/index.tsx
6126
6162
  L();
6127
6163
  var Co = (e) => {
6128
6164
  let { image: t, responseBody: n, type: r, url: i, paddings: a, backgroundColor: o, highlightColor: s, hoverColor: c, cornerRadius: l, onClick: u } = e, { perform: d } = yt(), [f, p] = N(!0), [h, g] = N(0), { failedAssets: _ } = xt(), { isHovered: v, isPressed: y, interactionHandlers: b } = yn(), x = Ht(t, _)[h];
@@ -6356,7 +6392,8 @@ function Mo(e) {
6356
6392
  let t = jo[e.type];
6357
6393
  return t ? t(e) : null;
6358
6394
  }
6359
- // src/screens/generic/components/column/index.tsx
6395
+ //#endregion
6396
+ //#region src/screens/generic/components/column/index.tsx
6360
6397
  var No = ({ elements: e, horizontalAlignment: t, backgroundColor: n, cornerRadius: r, paddings: i }) => {
6361
6398
  let { layoutDirection: a } = St(), o = Oo(a), s = o[Ft.START];
6362
6399
  return /* @__PURE__ */ z("div", {
@@ -6533,7 +6570,8 @@ var No = ({ elements: e, horizontalAlignment: t, backgroundColor: n, cornerRadiu
6533
6570
  }
6534
6571
  return null;
6535
6572
  };
6536
- // ../../node_modules/qrcode.react/lib/esm/index.js
6573
+ //#endregion
6574
+ //#region ../../node_modules/qrcode.react/lib/esm/index.js
6537
6575
  Ir();
6538
6576
  var zo = Object.defineProperty, Bo = Object.getOwnPropertySymbols, Vo = Object.prototype.hasOwnProperty, Ho = Object.prototype.propertyIsEnumerable, Uo = (e, t, n) => t in e ? zo(e, t, {
6539
6577
  enumerable: !0,
@@ -7483,7 +7521,8 @@ var ds = G.forwardRef(function(e, t) {
7483
7521
  }), b);
7484
7522
  });
7485
7523
  ds.displayName = "QRCodeSVG";
7486
- // src/screens/device-transfer/styles.ts
7524
+ //#endregion
7525
+ //#region src/screens/device-transfer/styles.ts
7487
7526
  var fs = {
7488
7527
  width: "100%",
7489
7528
  height: "auto",
@@ -7559,7 +7598,8 @@ var fs = {
7559
7598
  }({}), vs = /* @__PURE__ */ function(e) {
7560
7599
  return e.OK = "ok", e.SIZE = "size", e.FORMAT = "format", e;
7561
7600
  }({});
7562
- // src/screens/upload-files/utils.ts
7601
+ //#endregion
7602
+ //#region src/screens/upload-files/utils.ts
7563
7603
  function ys(e) {
7564
7604
  if (e < 1024) return `${e} B`;
7565
7605
  let t = e / 1024;
@@ -7616,7 +7656,8 @@ var ws = (e) => {
7616
7656
  cursor: "pointer",
7617
7657
  padding: 0
7618
7658
  };
7619
- // src/screens/upload-files/components/upload-file-row/UploadFileRow.tsx
7659
+ //#endregion
7660
+ //#region src/screens/upload-files/components/upload-file-row/UploadFileRow.tsx
7620
7661
  L();
7621
7662
  var js = ({ uploadFile: e, uploadPhase: t, onRetryFile: n, onRemoveFile: r }) => {
7622
7663
  let [i, a] = N(!1), o = je(null), s = Pe(() => {
@@ -7707,12 +7748,14 @@ for (let e = 0; e < 256; ++e) Ns.push((e + 256).toString(16).slice(1));
7707
7748
  function Ps(e, t = 0) {
7708
7749
  return (Ns[e[t + 0]] + Ns[e[t + 1]] + Ns[e[t + 2]] + Ns[e[t + 3]] + "-" + Ns[e[t + 4]] + Ns[e[t + 5]] + "-" + Ns[e[t + 6]] + Ns[e[t + 7]] + "-" + Ns[e[t + 8]] + Ns[e[t + 9]] + "-" + Ns[e[t + 10]] + Ns[e[t + 11]] + Ns[e[t + 12]] + Ns[e[t + 13]] + Ns[e[t + 14]] + Ns[e[t + 15]]).toLowerCase();
7709
7750
  }
7710
- // ../../node_modules/uuid/dist/rng.js
7751
+ //#endregion
7752
+ //#region ../../node_modules/uuid/dist/rng.js
7711
7753
  var Fs = /* @__PURE__ */ new Uint8Array(16);
7712
7754
  function Is() {
7713
7755
  return crypto.getRandomValues(Fs);
7714
7756
  }
7715
- // ../../node_modules/uuid/dist/v4.js
7757
+ //#endregion
7758
+ //#region ../../node_modules/uuid/dist/v4.js
7716
7759
  function Ls(e, t, n) {
7717
7760
  return !t && !e && crypto.randomUUID ? crypto.randomUUID() : Rs(e, t, n);
7718
7761
  }
@@ -7728,7 +7771,8 @@ function Rs(e, t, n) {
7728
7771
  }
7729
7772
  return Ps(o);
7730
7773
  }
7731
- // src/screens/upload-files/hooks/useUploadFiles.ts
7774
+ //#endregion
7775
+ //#region src/screens/upload-files/hooks/useUploadFiles.ts
7732
7776
  L();
7733
7777
  var zs = ({ settings: e, errorMessages: t, serviceToken: n, uploadFileToTemp: r, abortRequest: i }) => {
7734
7778
  var a;
@@ -7959,7 +8003,8 @@ var zs = ({ settings: e, errorMessages: t, serviceToken: n, uploadFileToTemp: r,
7959
8003
  padding: "24px",
7960
8004
  width: "100%"
7961
8005
  };
7962
- // src/screens/upload-files/index.tsx
8006
+ //#endregion
8007
+ //#region src/screens/upload-files/index.tsx
7963
8008
  L();
7964
8009
  var Qs = (e) => {
7965
8010
  var t, n, r, i, a;
@@ -8327,4 +8372,5 @@ var ec, tc = !1, nc = ({ children: e }) => /* @__PURE__ */ z(m, { children: [/*
8327
8372
  }
8328
8373
  };
8329
8374
  ec = ac, ec.displayName = Xt, ec.getSupportedTemplates = () => Object.values(Tt), ec.getIdentifier = () => Xt, ut(Xt, ac);
8375
+ //#endregion
8330
8376
  export { ac as GuiIdv, ic as GuiIdvReactComponent, Tt as GuiIdvSteps, nc as GuiIdvStyleInjectionWrapper, Zt as GuiModuleError, B as IDV_UI_ICONS, en as PopupReason, qt as idvIconDataUrlMap };