@incodetech/web 0.0.0-dev-20260415-20a2fc4 → 0.0.0-dev-20260416-64c00e5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/dist/{AsYouType-B4o16RK-.js → AsYouType-RC03ULcj.js} +1 -1
  2. package/dist/{addressAutocomplete-DWVphfl5.js → addressAutocomplete-n0bBMSty.js} +4 -4
  3. package/dist/ae-signature/ae-signature.es.js +1 -1
  4. package/dist/antifraud/antifraud.es.js +2 -2
  5. package/dist/authentication/authentication.es.js +2 -2
  6. package/dist/{button-jwSm4U5l.js → button-BlHmZn6D.js} +1 -1
  7. package/dist/{checkbox-B6sowIi8.js → checkbox-BNgPsssk.js} +2 -2
  8. package/dist/consent/consent.es.js +6 -6
  9. package/dist/cross-document-data-match/cross-document-data-match.es.js +2 -2
  10. package/dist/curp-validation/curp-validation.es.js +12 -12
  11. package/dist/{dateInputComposed-DnHTS15O.js → dateInputComposed-B8nKYsUG.js} +4 -4
  12. package/dist/dateInputComposed-DnYA7nZG.js +1 -0
  13. package/dist/{documentCapture-CQ32GpB4.js → documentCapture-DHtlw3Lu.js} +65 -66
  14. package/dist/{dropdownComposed-C6vVF6YA.js → dropdownComposed-CR1bc7Z9.js} +3 -3
  15. package/dist/dropdownComposed-P1FeTlTM.js +1 -0
  16. package/dist/ekyb/ekyb.es.js +1 -1
  17. package/dist/{ekybModule-NJtVSNt8.js → ekybModule-BBSKwZZy.js} +12 -12
  18. package/dist/ekybModule-qBQ8sJSr.js +2 -0
  19. package/dist/ekyc/ekyc.es.js +1 -1
  20. package/dist/{ekycModule-CHJc0y79.js → ekycModule-Dca-zhQw.js} +17 -17
  21. package/dist/ekycModule-R0YaUzV3.js +2 -0
  22. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  23. package/dist/{electronic-signature-C7D9PxFO.js → electronic-signature-DEAXKbsk.js} +7 -7
  24. package/dist/email/email.es.js +6 -6
  25. package/dist/{extensibility-BzbZC3Uh.js → extensibility-BlGCucJR.js} +102 -102
  26. package/dist/extensibility.es.js +21 -20
  27. package/dist/face-match/face-match.es.js +1 -1
  28. package/dist/faceMatch-CFxHH3ic.js +2 -0
  29. package/dist/{faceMatch-Don75gXW.js → faceMatch-D6HVVSiY.js} +4 -4
  30. package/dist/flow/flow.es.js +5 -5
  31. package/dist/flow/styles.css +28 -28
  32. package/dist/{formField-DRqCjJYu.js → formField-B9_nvbhW.js} +2 -2
  33. package/dist/geolocation/geolocation.es.js +3 -3
  34. package/dist/governmentValidation/governmentValidation.es.js +6 -6
  35. package/dist/home/home.es.js +156 -59
  36. package/dist/home/styles.css +28 -28
  37. package/dist/{i18n-BijwYtJr.js → i18n-DUMvrSNM.js} +1 -1
  38. package/dist/{icons-BNwTyDPs.js → icons-CVO6RxwW.js} +1 -1
  39. package/dist/id/id.es.js +5 -5
  40. package/dist/identity-reuse/identity-reuse.es.js +4 -4
  41. package/dist/index.es.js +1 -1
  42. package/dist/inputComposed-BWxnXHJf.js +1 -0
  43. package/dist/{inputComposed-Cd-Hl-nY.js → inputComposed-COz9TuR1.js} +3 -3
  44. package/dist/{incodeComponent-Cd290pHH.js → loadingIcon-ahC-hZN7.js} +42 -2
  45. package/dist/{mandatoryConsent-7CnQf3lz.js → mandatoryConsent-DWwvkGGf.js} +6 -6
  46. package/dist/modal-D75YXA_d.js +239 -0
  47. package/dist/{otpInput-BiUL8Ebu.js → otpInput-CNAOHZxZ.js} +4 -4
  48. package/dist/phone/phone.es.js +6 -6
  49. package/dist/{phoneInput-3AdvQaEd.js → phoneInput-CzcmqH3C.js} +3 -3
  50. package/dist/{phoneInputComposed-BnOmNQTz.js → phoneInputComposed-w9tF4xYB.js} +6 -6
  51. package/dist/{processing-CMIsTP-t.js → processing-CR7zb0TX.js} +2 -2
  52. package/dist/qe-signature/qe-signature.es.js +1 -1
  53. package/dist/{redirectToMobile-CFzDfmuH.js → redirectToMobile-CYt-uhqB.js} +21 -22
  54. package/dist/selfie/selfie.es.js +3 -3
  55. package/dist/{setup-n7xLstSl.js → setup-IE6CqyVs.js} +1 -1
  56. package/dist/signature/signature.es.js +6 -6
  57. package/dist/spinner-B-jf992b.js +1 -0
  58. package/dist/{spinner-Dg3lumvu.js → spinner-BAVCJLTE.js} +7 -7
  59. package/dist/{tutorial-gP0l4CuT.js → tutorial-Dqk1zedL.js} +640 -872
  60. package/dist/{typography-BeNe2WRr.js → typography-7cXma7kl.js} +1 -1
  61. package/dist/typography-CsEiWMTG.js +1 -0
  62. package/dist/{useModuleLoader-D_WjZsnk.js → useModuleLoader-BTfoFcVy.js} +9 -9
  63. package/dist/{verificationResult-_HH0v_HX.js → verificationResult-LpiTdYIu.js} +5 -5
  64. package/dist/watchlist/watchlist.es.js +20 -21
  65. package/dist/workflow/workflow.es.js +6 -6
  66. package/package.json +2 -2
  67. package/dist/dateInputComposed-tjb_YiSz.js +0 -1
  68. package/dist/dropdownComposed-DkSZPhUb.js +0 -1
  69. package/dist/ekybModule-IxSxK7ET.js +0 -2
  70. package/dist/ekycModule-D8YFovqq.js +0 -2
  71. package/dist/faceMatch-Z6cCZZMi.js +0 -2
  72. package/dist/inputComposed-WTfutu_d.js +0 -1
  73. package/dist/language-Dvo4jXwx.js +0 -50
  74. package/dist/loadingIcon-YV3D_mg8.js +0 -42
  75. package/dist/settings-tMRrQul_.js +0 -68
  76. package/dist/spinner-BEm5Wf_k.js +0 -1
  77. package/dist/typography-eCzT8rG3.js +0 -1
  78. /package/dist/{aligndevicelottie-BfnvOtwi.js → aligndevicelottie-B9K1XnzC.js} +0 -0
  79. /package/dist/{back-horizontal-hint-CpDPt7Pn.js → back-horizontal-hint-Dy_Qglma.js} +0 -0
  80. /package/dist/{back-tutorial-DRNlpp1o.js → back-tutorial-Cc5SwoLa.js} +0 -0
  81. /package/dist/{back-vertical-hint-CMS6HTd5.js → back-vertical-hint-Dg3OKUKF.js} +0 -0
  82. /package/dist/{backdevicelottie-DqTioBhp.js → backdevicelottie-DPvn_MCA.js} +0 -0
  83. /package/dist/{blurdevicelottie-BCYf_azj.js → blurdevicelottie-DGpZjyZE.js} +0 -0
  84. /package/dist/{browser-ponyfill-DcR_MTou.js → browser-ponyfill-CTu_YiCx.js} +0 -0
  85. /package/dist/{countries-BntFjJJG.js → countries-DKKNtuUp.js} +0 -0
  86. /package/dist/{flip-animation-Dj8sBkxM.js → flip-animation-DwJvEqyX.js} +0 -0
  87. /package/dist/{front-horizontal-hint-C204EjG5.js → front-horizontal-hint-DgopDgUF.js} +0 -0
  88. /package/dist/{front-vertical-hint-BT8dqgFS.js → front-vertical-hint-nOpxcjqw.js} +0 -0
  89. /package/dist/{frontdevicelottie-BOCUyhYK.js → frontdevicelottie-DBrRXwKx.js} +0 -0
  90. /package/dist/{glaredevicelottie-g5gLJDcn.js → glaredevicelottie-DvG7qeiM.js} +0 -0
  91. /package/dist/{id-laser-h-C9wj3dpL.js → id-laser-h-BrG7qvHh.js} +0 -0
  92. /package/dist/{id-laser-v-Bmnxnt0M.js → id-laser-v-Bt1xfH5h.js} +0 -0
  93. /package/dist/{id-tutorial-CFTli-M3.js → id-tutorial-WgpG0ahL.js} +0 -0
  94. /package/dist/{passport-horizontal-hint-DQ_bncwr.js → passport-horizontal-hint-DXzBzsri.js} +0 -0
  95. /package/dist/{passport-tutorial-Bihd5YfK.js → passport-tutorial-DEr1yuAg.js} +0 -0
  96. /package/dist/{passport-vertical-hint-Bck8hVuX.js → passport-vertical-hint-B8Sap2l6.js} +0 -0
  97. /package/dist/{selfieTutorial-Cu9vXjss.js → selfieTutorial-B5l5ny8O.js} +0 -0
  98. /package/dist/{successIcon-Dklx5JWI.js → successIcon-AHrfmJvv.js} +0 -0
@@ -1,23 +1,24 @@
1
- import { n as e } from "./i18n-BijwYtJr.js";
1
+ import { n as e } from "./i18n-DUMvrSNM.js";
2
2
  import { t } from "./uiConfig-CwpQ-IM6.js";
3
- import { a as n, n as r, o as i, t as a } from "./incodeComponent-Cd290pHH.js";
3
+ import { c as n, i as r, r as i, s as a } from "./loadingIcon-ahC-hZN7.js";
4
4
  import { t as o } from "./spacer-DCljE53A.js";
5
5
  import { t as s } from "./page-kB-LDkaO.js";
6
- import { _ as c, a as l, c as u, d, f, g as p, h as m, i as h, l as g, m as _, n as v, o as y, p as b, r as x, s as S, t as C, u as w, v as T, y as E } from "./extensibility-BzbZC3Uh.js";
7
- import { a as D, i as O, n as k, o as A, s as j, t as M } from "./typography-BeNe2WRr.js";
8
- import { t as N } from "./spinner-Dg3lumvu.js";
9
- import { t as P } from "./processing-CMIsTP-t.js";
10
- import { t as F } from "./button-jwSm4U5l.js";
11
- import { a as I, c as L, d as R, f as z, i as B, l as V, m as H, n as U, o as W, p as G, r as K, s as q, t as J, u as Y } from "./icons-BNwTyDPs.js";
12
- import { a as X, c as Z, i as Q, n as $, o as ee, r as te, s as ne, t as re } from "./tutorial-gP0l4CuT.js";
13
- import { t as ie } from "./successIcon-Dklx5JWI.js";
14
- import { t as ae } from "./verificationResult-_HH0v_HX.js";
15
- import { n as oe, t as se } from "./inputComposed-Cd-Hl-nY.js";
16
- import { t as ce } from "./otpInput-BiUL8Ebu.js";
17
- import { t as le } from "./checkbox-B6sowIi8.js";
18
- import { t as ue } from "./formField-DRqCjJYu.js";
19
- import { n as de, r as fe, t as pe } from "./countries-BntFjJJG.js";
20
- import { t as me } from "./phoneInputComposed-BnOmNQTz.js";
21
- import { t as he } from "./dropdownComposed-C6vVF6YA.js";
22
- import { t as ge } from "./dateInputComposed-DnHTS15O.js";
23
- export { Q as BaseTutorial, ee as BottomSheet, F as Button, z as CalendarIcon, f as CameraFrame, R as CameraIcon, d as CameraOverlay, w as CameraOverlayHeader, g as CameraView, Y as CaptureButtonIcon, u as CaptureFooter, le as Checkbox, V as CheckmarkIcon, L as ChevronDown, q as ChevronRightIcon, W as CloseIcon, ge as DateInputComposed, he as DropdownComposed, Z as ErrorContent, H as ErrorIcon, I as FileIcon, ue as FormField, B as HelpIcon, h as IdCapture, v as IdChooser, y as IdError, l as IdExpired, C as IdFlipAnimation, x as IdTutorial, a as IncodeComponent, oe as Input, se as InputComposed, r as LandscapeBlocker, J as LightningIcon, K as LockIcon, X as Lottie, S as ManualCapture, ne as Modal, ce as OtpInput, E as Overlay, s as Page, te as Permissions, me as PhoneInputComposed, P as Processing, T as ProgressBar, c as RadioButtonComposed, U as SearchIcon, $ as SelfieCapture, re as SelfieTutorial, o as Spacer, N as Spinner, ie as SuccessIcon, p as TextArea, m as TextAreaComposed, M as Title, k as TypographyH1, O as TypographyH3, D as TypographyH4, A as TypographyH5, j as TypographyP, b as VerificationOptionCard, _ as VerificationOptionCardList, ae as VerificationResult, G as WarningIcon, pe as countries, de as getCountryByCallingCode, fe as getCountryByCode, t as setUiConfig, i as useManager, n as useScreenOrientation, e as useTranslation };
6
+ import { _ as c, a as l, c as u, d, f, g as p, h as m, i as h, l as g, m as _, n as v, o as y, p as b, r as x, s as S, t as C, u as w, v as T, y as E } from "./extensibility-BlGCucJR.js";
7
+ import { a as D, i as O, n as k, o as A, s as j, t as M } from "./typography-7cXma7kl.js";
8
+ import { t as N } from "./spinner-BAVCJLTE.js";
9
+ import { t as P } from "./processing-CR7zb0TX.js";
10
+ import { t as F } from "./button-BlHmZn6D.js";
11
+ import { a as I, c as L, d as R, f as z, i as B, l as V, m as H, n as U, o as W, p as G, r as K, s as q, t as J, u as Y } from "./icons-CVO6RxwW.js";
12
+ import { a as X, i as Z, n as Q, o as $, r as ee, s as te, t as ne } from "./tutorial-Dqk1zedL.js";
13
+ import { t as re } from "./successIcon-AHrfmJvv.js";
14
+ import { t as ie } from "./verificationResult-LpiTdYIu.js";
15
+ import { n as ae, t as oe } from "./inputComposed-COz9TuR1.js";
16
+ import { t as se } from "./otpInput-CNAOHZxZ.js";
17
+ import { t as ce } from "./checkbox-BNgPsssk.js";
18
+ import { t as le } from "./formField-B9_nvbhW.js";
19
+ import { n as ue, r as de, t as fe } from "./countries-DKKNtuUp.js";
20
+ import { t as pe } from "./phoneInputComposed-w9tF4xYB.js";
21
+ import { t as me } from "./dropdownComposed-CR1bc7Z9.js";
22
+ import { t as he } from "./dateInputComposed-B8nKYsUG.js";
23
+ import { t as ge } from "./modal-D75YXA_d.js";
24
+ export { Z as BaseTutorial, $ as BottomSheet, F as Button, z as CalendarIcon, f as CameraFrame, R as CameraIcon, d as CameraOverlay, w as CameraOverlayHeader, g as CameraView, Y as CaptureButtonIcon, u as CaptureFooter, ce as Checkbox, V as CheckmarkIcon, L as ChevronDown, q as ChevronRightIcon, W as CloseIcon, he as DateInputComposed, me as DropdownComposed, te as ErrorContent, H as ErrorIcon, I as FileIcon, le as FormField, B as HelpIcon, h as IdCapture, v as IdChooser, y as IdError, l as IdExpired, C as IdFlipAnimation, x as IdTutorial, i as IncodeComponent, ae as Input, oe as InputComposed, r as LandscapeBlocker, J as LightningIcon, K as LockIcon, X as Lottie, S as ManualCapture, ge as Modal, se as OtpInput, E as Overlay, s as Page, ee as Permissions, pe as PhoneInputComposed, P as Processing, T as ProgressBar, c as RadioButtonComposed, U as SearchIcon, Q as SelfieCapture, ne as SelfieTutorial, o as Spacer, N as Spinner, re as SuccessIcon, p as TextArea, m as TextAreaComposed, M as Title, k as TypographyH1, O as TypographyH3, D as TypographyH4, A as TypographyH5, j as TypographyP, b as VerificationOptionCard, _ as VerificationOptionCardList, ie as VerificationResult, G as WarningIcon, fe as countries, ue as getCountryByCallingCode, de as getCountryByCode, t as setUiConfig, n as useManager, a as useScreenOrientation, e as useTranslation };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../faceMatch-Don75gXW.js";
1
+ import { t as e } from "../faceMatch-D6HVVSiY.js";
2
2
  export { e as FaceMatch };
@@ -0,0 +1,2 @@
1
+ import { t as e } from "./faceMatch-D6HVVSiY.js";
2
+ export { e as FaceMatch };
@@ -1,10 +1,10 @@
1
- import { n as e } from "./i18n-BijwYtJr.js";
1
+ import { n as e } from "./i18n-DUMvrSNM.js";
2
2
  import { S as t, _ as n, l as r, v as i } from "./vendor-preact-D6SntenC.js";
3
- import { o as a, t as o } from "./incodeComponent-Cd290pHH.js";
3
+ import { c as a, r as o } from "./loadingIcon-ahC-hZN7.js";
4
4
  import { t as s } from "./spacer-DCljE53A.js";
5
5
  import { t as c } from "./page-kB-LDkaO.js";
6
- import { t as l } from "./typography-BeNe2WRr.js";
7
- import { t as u } from "./button-jwSm4U5l.js";
6
+ import { t as l } from "./typography-7cXma7kl.js";
7
+ import { t as u } from "./button-BlHmZn6D.js";
8
8
  import { t as d } from "./incodeModule-Di2OUZ5_.js";
9
9
  import { createFaceMatchManager as f } from "@incodetech/core/face-match";
10
10
  //#region src/modules/face-match/assets/face-placeholder.png
@@ -1,11 +1,11 @@
1
- import { n as e } from "../i18n-BijwYtJr.js";
1
+ import { n as e } from "../i18n-DUMvrSNM.js";
2
2
  import { _ as t, l as n, p as r, v as i } from "../vendor-preact-D6SntenC.js";
3
3
  import { t as a } from "../uiConfig-CwpQ-IM6.js";
4
- import { o, t as s } from "../incodeComponent-Cd290pHH.js";
5
- import { t as c } from "../spinner-Dg3lumvu.js";
6
- import "../spinner-BEm5Wf_k.js";
4
+ import { c as o, r as s } from "../loadingIcon-ahC-hZN7.js";
5
+ import { t as c } from "../spinner-BAVCJLTE.js";
6
+ import "../spinner-B-jf992b.js";
7
7
  import { t as l } from "../incodeModule-Di2OUZ5_.js";
8
- import { a as u, c as d, i as f, n as p, o as m, r as h, s as g, t as _, u as v } from "../useModuleLoader-D_WjZsnk.js";
8
+ import { a as u, c as d, i as f, n as p, o as m, r as h, s as g, t as _, u as v } from "../useModuleLoader-BTfoFcVy.js";
9
9
  import { getRequiredWasmPipelines as y } from "@incodetech/core/flow";
10
10
  //#region src/modules/flow/preloadFlow.ts
11
11
  var b = /* @__PURE__ */ new Map();
@@ -1446,46 +1446,35 @@
1446
1446
  margin-top: auto;
1447
1447
  }
1448
1448
 
1449
- .IncodeHomeSettingsContainer {
1450
- flex-direction: column;
1451
- width: 100%;
1449
+ .IncodeHomeSettingsModal.IncodeModalRoot .IncodeModalDialog {
1450
+ max-width: none;
1452
1451
  height: 100%;
1453
- display: flex;
1454
- }
1455
-
1456
- .IncodeHomeSettingsContainer .IncodeHomeSettingsHeader {
1457
- justify-content: flex-end;
1458
- display: flex;
1459
- }
1460
-
1461
- .IncodeHomeSettingsContainer .IncodeHomeSettingsHeader .IncodeHomeSettingsCloseButton {
1462
- padding-block: var(--spacing-8, var(--spacing-8, 8px));
1452
+ max-height: 100%;
1463
1453
  }
1464
1454
 
1465
- .IncodeHomeSettingsContainer .IncodeHomeSettingsCloseButton {
1466
- cursor: pointer;
1467
- border-style: var(--tw-border-style);
1468
- border-width: var(--border-width-none, var(--primitive-border-width-0));
1469
- --tw-border-style: none;
1470
- padding: var(--spacing-0, var(--spacing-none, 0px));
1471
- color: var(--color-text-body-secondary, var(--text-body-500-secondary));
1472
- background-color: #0000;
1473
- border-style: none;
1455
+ .IncodeHomeSettingsModal.IncodeModalRoot .IncodeModalContent {
1456
+ border-radius: var(--radius-none, var(--border-radius-none));
1457
+ max-width: none;
1458
+ height: 100%;
1459
+ padding-inline: var(--spacing-24, var(--spacing-24, 24px));
1460
+ padding-block: var(--spacing-32, var(--spacing-32, 32px));
1461
+ align-items: stretch;
1474
1462
  }
1475
1463
 
1476
- .IncodeHomeSettingsContainer .IncodeHomeSettingsCloseButton:focus-visible {
1477
- outline: var(--focus-outline-width) solid var(--border-status-focus);
1478
- outline-offset: var(--focus-outline-offset);
1464
+ .IncodeHomeSettingsModal .IncodeHomeSettingsContainer {
1465
+ flex-direction: column;
1466
+ flex: 1;
1467
+ width: 100%;
1468
+ display: flex;
1479
1469
  }
1480
1470
 
1481
- .IncodeHomeSettingsContainer .IncodeHomeSettingsBody {
1482
- padding-inline: var(--spacing-8, var(--spacing-8, 8px));
1471
+ .IncodeHomeSettingsModal .IncodeHomeSettingsBody {
1483
1472
  flex-direction: column;
1484
1473
  flex: 1;
1485
1474
  display: flex;
1486
1475
  }
1487
1476
 
1488
- .IncodeHomeSettingsContainer .IncodeHomeSettingsTitle {
1477
+ .IncodeHomeSettingsModal .IncodeHomeSettingsTitle {
1489
1478
  margin: var(--spacing-0, var(--spacing-none, 0px));
1490
1479
  font-family: var(--typography-headline-family);
1491
1480
  font-size: var(--typography-headline-h2-size);
@@ -1495,6 +1484,17 @@
1495
1484
  color: var(--color-text-body-primary, var(--text-body-800-primary));
1496
1485
  }
1497
1486
 
1487
+ .IncodeHomeSettingsModal .IncodeHomeSettingsFooter {
1488
+ margin-top: var(--spacing-24, var(--spacing-24, 24px));
1489
+ }
1490
+
1491
+ .IncodeHomeSettingsModal .IncodeHomeSettingsBodyContent {
1492
+ flex-direction: row;
1493
+ justify-content: center;
1494
+ align-items: center;
1495
+ display: flex;
1496
+ }
1497
+
1498
1498
  .IncodeFlowCompleted {
1499
1499
  width: 100%;
1500
1500
  height: 100%;
@@ -1,6 +1,6 @@
1
- import { n as e } from "./i18n-BijwYtJr.js";
1
+ import { n as e } from "./i18n-DUMvrSNM.js";
2
2
  import { v as t } from "./vendor-preact-D6SntenC.js";
3
- import { t as n } from "./inputComposed-Cd-Hl-nY.js";
3
+ import { t as n } from "./inputComposed-COz9TuR1.js";
4
4
  //#region src/shared/errorParams.ts
5
5
  function r(e, t) {
6
6
  if (t?.fieldName && typeof t.fieldName == "string") {
@@ -1,9 +1,9 @@
1
- import { n as e, t } from "../i18n-BijwYtJr.js";
1
+ import { n as e, t } from "../i18n-DUMvrSNM.js";
2
2
  import { S as n, _ as r, v as i } from "../vendor-preact-D6SntenC.js";
3
- import { o as a, t as o } from "../incodeComponent-Cd290pHH.js";
3
+ import { c as a, r as o } from "../loadingIcon-ahC-hZN7.js";
4
4
  import { t as s } from "../spacer-DCljE53A.js";
5
5
  import { t as c } from "../page-kB-LDkaO.js";
6
- import { t as l } from "../button-jwSm4U5l.js";
6
+ import { t as l } from "../button-BlHmZn6D.js";
7
7
  import { t as u } from "../numberedStep-LYLcVRNh.js";
8
8
  import { t as d } from "../incodeModule-Di2OUZ5_.js";
9
9
  import { getBrowser as f, getDeviceClass as p } from "@incodetech/core/device";
@@ -1,12 +1,12 @@
1
- import { n as e } from "../i18n-BijwYtJr.js";
1
+ import { n as e } from "../i18n-DUMvrSNM.js";
2
2
  import { v as t } from "../vendor-preact-D6SntenC.js";
3
- import { o as n, t as r } from "../incodeComponent-Cd290pHH.js";
3
+ import { c as n, r } from "../loadingIcon-ahC-hZN7.js";
4
4
  import { t as i } from "../spacer-DCljE53A.js";
5
5
  import { t as a } from "../page-kB-LDkaO.js";
6
- import { t as o } from "../spinner-Dg3lumvu.js";
7
- import { m as s, p as c } from "../icons-BNwTyDPs.js";
8
- import { t as l } from "../successIcon-Dklx5JWI.js";
9
- import { t as u } from "../otpInput-BiUL8Ebu.js";
6
+ import { t as o } from "../spinner-BAVCJLTE.js";
7
+ import { m as s, p as c } from "../icons-CVO6RxwW.js";
8
+ import { t as l } from "../successIcon-AHrfmJvv.js";
9
+ import { t as u } from "../otpInput-CNAOHZxZ.js";
10
10
  import { t as d } from "../incodeModule-Di2OUZ5_.js";
11
11
  import { createGovernmentValidationManager as f } from "@incodetech/core/government-validation";
12
12
  //#region src/modules/governmentValidation/governmentValidation.tsx
@@ -1,15 +1,113 @@
1
- import { n as e } from "../i18n-BijwYtJr.js";
2
- import { _ as t, c as n, l as r, o as i, v as a } from "../vendor-preact-D6SntenC.js";
3
- import { n as o } from "../uiConfig-CwpQ-IM6.js";
4
- import { o as s, t as c } from "../incodeComponent-Cd290pHH.js";
5
- import { t as l } from "../spacer-DCljE53A.js";
6
- import { t as u } from "../button-jwSm4U5l.js";
7
- import { t as d } from "../language-Dvo4jXwx.js";
8
- import { createHomeManager as f } from "@incodetech/core/home";
1
+ import { a as e, n as t, o as n } from "../i18n-DUMvrSNM.js";
2
+ import { _ as r, d as i, l as a, p as o, v as s } from "../vendor-preact-D6SntenC.js";
3
+ import { n as c } from "../uiConfig-CwpQ-IM6.js";
4
+ import { c as l, r as u } from "../loadingIcon-ahC-hZN7.js";
5
+ import { t as d } from "../spacer-DCljE53A.js";
6
+ import { t as f } from "../button-BlHmZn6D.js";
7
+ import { t as p } from "../dropdownComposed-CR1bc7Z9.js";
8
+ import "../dropdownComposed-P1FeTlTM.js";
9
+ import { t as m } from "../modal-D75YXA_d.js";
10
+ import { createHomeManager as h } from "@incodetech/core/home";
11
+ //#endregion
12
+ //#region src/modules/home/language.ts
13
+ function g(e, t) {
14
+ let [n, ...r] = Array.from(e);
15
+ return n ? `${n.toLocaleUpperCase(t)}${r.join("")}` : e;
16
+ }
17
+ function _(t) {
18
+ let [, n] = t.split("-");
19
+ if (n && /^[A-Z]{2}$/.test(n)) return n;
20
+ let r = e(t), i = Array.from(r).map((e) => e.codePointAt(0));
21
+ if (i.length !== 2) return null;
22
+ let a = i.map((e) => !e || e < 127462 || e > 127487 ? null : String.fromCharCode(e - 127462 + 65));
23
+ return a.some((e) => e === null) ? null : a.join("");
24
+ }
25
+ function v(e, t) {
26
+ return typeof Intl < "u" && Intl.DisplayNames !== void 0 ? g(new Intl.DisplayNames([t, "en"], { type: "language" }).of(e) ?? e, t) : g(e, t);
27
+ }
28
+ function y(t, n) {
29
+ let r = t.split("-")[0] || t, i = _(t), a = v(r, n), o = i ? ` (${i})` : "";
30
+ return `${e(t)} ${a}${o}`;
31
+ }
32
+ function b(t, n) {
33
+ let r = e(t), [i, a] = t.split("-"), o = i || t, s = g(new Intl.DisplayNames([n, "en"], { type: "language" }).of(o) ?? o, n);
34
+ if (a && !/^[A-Z]{2}$/.test(a)) return `${r} ${g(new Intl.DisplayNames([n, "en"], { type: "language" }).of(t) ?? t, n)}`;
35
+ if (a) return `${r} ${s} (${new Intl.DisplayNames([n, "en"], { type: "region" }).of(a) ?? a})`;
36
+ let c = _(t);
37
+ return c ? `${r} ${s} (${c})` : `${r} ${s}`;
38
+ }
39
+ function x(e) {
40
+ let t = [...new Set(n)].map((t) => ({
41
+ value: t,
42
+ label: b(t, e)
43
+ }));
44
+ return t.sort((e, t) => e.label.localeCompare(t.label)), t;
45
+ }
46
+ async function S(e, t) {
47
+ await e(t), typeof localStorage < "u" && localStorage.setItem("language", t), typeof document < "u" && (document.documentElement.lang = t);
48
+ }
49
+ function C() {
50
+ let { i18n: e } = t(), n = e.language || "en", r = i(() => x(n), [n]);
51
+ return {
52
+ selectedLanguage: n,
53
+ selectedMainLanguageLabel: y(n, n),
54
+ languageOptions: r,
55
+ changeLanguage: (t) => S(e.changeLanguage.bind(e), t)
56
+ };
57
+ }
58
+ //#endregion
59
+ //#region src/modules/home/settings.tsx
60
+ function w({ onClose: e }) {
61
+ let { t: n } = t(), { selectedLanguage: r, languageOptions: i, changeLanguage: a } = C();
62
+ return /* @__PURE__ */ s("section", {
63
+ class: "IncodeHomeSettingsContainer",
64
+ "aria-live": "polite",
65
+ children: [
66
+ /* @__PURE__ */ s(m.Close, {
67
+ "aria-label": n("settings.close"),
68
+ "data-testid": "home-settings-close-button",
69
+ onClick: e
70
+ }),
71
+ /* @__PURE__ */ s("div", {
72
+ class: "IncodeHomeSettingsBody",
73
+ children: [
74
+ /* @__PURE__ */ s("h1", {
75
+ class: "IncodeHomeSettingsTitle",
76
+ tabIndex: -1,
77
+ children: n("settings.settings")
78
+ }),
79
+ /* @__PURE__ */ s(d, { size: 32 }),
80
+ /* @__PURE__ */ s("div", {
81
+ class: "IncodeHomeSettingsBodyContent",
82
+ children: /* @__PURE__ */ s(p, {
83
+ id: "home-language",
84
+ label: n("v2.settings.language"),
85
+ value: r,
86
+ options: i,
87
+ onChange: async (e) => {
88
+ await a(e);
89
+ },
90
+ searchable: !0,
91
+ "data-testid": "home-language-select"
92
+ })
93
+ })
94
+ ]
95
+ }),
96
+ /* @__PURE__ */ s("div", {
97
+ class: "IncodeHomeSettingsFooter",
98
+ children: /* @__PURE__ */ s(f, {
99
+ onClick: e,
100
+ "data-testid": "home-settings-done-button",
101
+ children: n("settings.done")
102
+ })
103
+ })
104
+ ]
105
+ });
106
+ }
9
107
  //#endregion
10
108
  //#region src/modules/home/settingsIcon.tsx
11
- function p() {
12
- return /* @__PURE__ */ a("svg", {
109
+ function T() {
110
+ return /* @__PURE__ */ s("svg", {
13
111
  width: "30",
14
112
  height: "30",
15
113
  viewBox: "0 0 30 30",
@@ -17,19 +115,19 @@ function p() {
17
115
  xmlns: "http://www.w3.org/2000/svg",
18
116
  "aria-hidden": "true",
19
117
  children: [
20
- /* @__PURE__ */ a("path", {
118
+ /* @__PURE__ */ s("path", {
21
119
  fillRule: "evenodd",
22
120
  clipRule: "evenodd",
23
121
  d: "M4.5 15.3187C4.5 14.1593 5.44055 13.2188 6.6 13.2188C7.75945 13.2188 8.7 14.1593 8.7 15.3187C8.7 16.4782 7.75945 17.4187 6.6 17.4187C5.44055 17.4187 4.5 16.4782 4.5 15.3187Z",
24
122
  fill: "currentColor"
25
123
  }),
26
- /* @__PURE__ */ a("path", {
124
+ /* @__PURE__ */ s("path", {
27
125
  fillRule: "evenodd",
28
126
  clipRule: "evenodd",
29
127
  d: "M12.9004 15.3187C12.9004 14.1593 13.841 13.2188 15.0004 13.2188C16.1598 13.2188 17.1004 14.1593 17.1004 15.3187C17.1004 16.4782 16.1598 17.4187 15.0004 17.4187C13.841 17.4187 12.9004 16.4782 12.9004 15.3187Z",
30
128
  fill: "currentColor"
31
129
  }),
32
- /* @__PURE__ */ a("path", {
130
+ /* @__PURE__ */ s("path", {
33
131
  fillRule: "evenodd",
34
132
  clipRule: "evenodd",
35
133
  d: "M21.2998 15.3187C21.2998 14.1593 22.2404 13.2188 23.3998 13.2188C24.5592 13.2188 25.4998 14.1593 25.4998 15.3187C25.4998 16.4782 24.5592 17.4187 23.3998 17.4187C22.2404 17.4187 21.2998 16.4782 21.2998 15.3187Z",
@@ -40,88 +138,87 @@ function p() {
40
138
  }
41
139
  //#endregion
42
140
  //#region src/modules/home/main.tsx
43
- function m({ onOpenSettings: n, onContinue: i }) {
44
- let { t: s } = e(), { logoSrc: c, subtitle: f } = o(), { selectedMainLanguageLabel: m } = d(), h = r(null), g = c || "data:image/svg+xml,%3csvg%20width='187'%20height='51'%20viewBox='0%200%20187%2051'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M168.419%2047.1851C165.3%2047.1851%20162.576%2046.5612%20160.247%2045.3136C157.918%2044.0243%20156.109%2042.1528%20154.819%2039.699C153.53%2037.2452%20152.885%2034.2924%20152.885%2030.8405C152.885%2025.3507%20154.195%2021.171%20156.816%2018.3013C159.477%2015.39%20163.2%2013.9344%20167.982%2013.9344C171.434%2013.9344%20174.2%2014.683%20176.279%2016.1802C178.4%2017.6774%20179.939%2019.8193%20180.896%2022.6058C181.894%2025.3507%20182.372%2028.6362%20182.331%2032.4625H158.001L157.377%2027.0974H176.03L174.533%2029.3433C174.449%2026.0577%20173.867%2023.7079%20172.786%2022.2939C171.746%2020.8382%20170.062%2020.1104%20167.733%2020.1104C166.319%2020.1104%20165.071%2020.4431%20163.99%2021.1086C162.95%2021.7324%20162.139%2022.7929%20161.557%2024.2901C161.016%2025.7874%20160.746%2027.846%20160.746%2030.4662C160.746%2033.7101%20161.515%2036.2055%20163.054%2037.9522C164.593%2039.6574%20166.943%2040.51%20170.103%2040.51C171.393%2040.51%20172.62%2040.3852%20173.784%2040.1357C174.99%2039.8446%20176.092%2039.5118%20177.09%2039.1375C178.13%2038.7632%20179.004%2038.4097%20179.711%2038.077V45.064C178.255%2045.6879%20176.591%2046.1869%20174.72%2046.5612C172.89%2046.9771%20170.79%2047.1851%20168.419%2047.1851Z'%20fill='%23006AFF'/%3e%3cpath%20d='M133.067%2047.1851C130.905%2047.1851%20128.846%2046.9355%20126.891%2046.4365C124.937%2045.9374%20123.211%2045.064%20121.713%2043.8163C120.216%2042.5687%20119.031%2040.8427%20118.158%2038.6385C117.326%2036.4342%20116.91%2033.627%20116.91%2030.2166C116.91%2025.1843%20118.137%2021.2125%20120.59%2018.3013C123.044%2015.39%20126.767%2013.9344%20131.757%2013.9344C132.464%2013.9344%20133.379%2014.0176%20134.502%2014.1839C135.625%2014.3503%20136.769%2014.6414%20137.933%2015.0573C139.139%2015.4316%20140.179%2016.0347%20141.052%2016.8665L139.306%2019.3618V1.76953H147.104V38.888C147.104%2040.302%20146.688%2041.5289%20145.856%2042.5687C145.066%2043.6084%20143.984%2044.4818%20142.612%2045.1888C141.24%2045.8542%20139.722%2046.3533%20138.058%2046.686C136.394%2047.0187%20134.731%2047.1851%20133.067%2047.1851ZM133.317%2040.4476C135.022%2040.4476%20136.436%2040.2397%20137.559%2039.8238C138.723%2039.4079%20139.306%2038.8048%20139.306%2038.0146V22.0443C138.391%2021.5037%20137.413%2021.1086%20136.374%2020.859C135.334%2020.6095%20134.336%2020.4847%20133.379%2020.4847C131.466%2020.4847%20129.886%2020.8382%20128.638%2021.5453C127.39%2022.2107%20126.455%2023.292%20125.831%2024.7892C125.207%2026.2448%20124.895%2028.1164%20124.895%2030.4038C124.895%2032.4001%20125.145%2034.1468%20125.644%2035.644C126.143%2037.1413%20126.995%2038.3265%20128.201%2039.1999C129.449%2040.0317%20131.154%2040.4476%20133.317%2040.4476Z'%20fill='%23006AFF'/%3e%3cpath%20d='M97.1975%2047.1851C92.0404%2047.1851%2088.1726%2045.7502%2085.5941%2042.8806C83.0155%2040.0109%2081.7262%2035.8728%2081.7262%2030.4662C81.7262%2024.6852%2083.0363%2020.4847%2085.6564%2017.8646C88.3182%2015.2445%2092.1444%2013.9344%2097.1351%2013.9344C100.629%2013.9344%20103.54%2014.5583%20105.869%2015.8059C108.198%2017.012%20109.924%2018.8419%20111.047%2021.2957C112.211%2023.7495%20112.793%2026.8063%20112.793%2030.4662C112.793%2035.8728%20111.442%2040.0109%20108.739%2042.8806C106.077%2045.7502%20102.23%2047.1851%2097.1975%2047.1851ZM97.1975%2040.6971C99.0274%2040.6971%20100.504%2040.2812%20101.627%2039.4495C102.791%2038.6177%20103.644%2037.4532%20104.184%2035.956C104.725%2034.4171%20104.995%2032.5872%20104.995%2030.4662C104.995%2028.0956%20104.704%2026.1617%20104.122%2024.6645C103.581%2023.1672%20102.729%2022.0651%20101.564%2021.3581C100.441%2020.6511%2098.9858%2020.2976%2097.1975%2020.2976C95.3675%2020.2976%2093.8911%2020.6719%2092.7682%2021.4205C91.6453%2022.1691%2090.8135%2023.292%2090.2729%2024.7892C89.7738%2026.2864%2089.5242%2028.1788%2089.5242%2030.4662C89.5242%2033.7933%2090.1273%2036.3303%2091.3334%2038.077C92.5395%2039.8238%2094.4942%2040.6971%2097.1975%2040.6971Z'%20fill='%23006AFF'/%3e%3cpath%20d='M67.8132%2046.9355C65.7337%2046.9355%2063.7374%2046.6444%2061.8243%2046.0622C59.9112%2045.4799%2058.206%2044.5442%2056.7088%2043.2549C55.2116%2041.9656%2054.0263%2040.302%2053.1529%2038.2642C52.2795%2036.2263%2051.8429%2033.7517%2051.8429%2030.8405C51.8429%2027.8044%2052.2588%2025.2259%2053.0905%2023.1049C53.9223%2020.9838%2055.066%2019.2578%2056.5217%2017.927C57.9773%2016.5545%2059.6617%2015.5772%2061.5748%2014.9949C63.5295%2014.3711%2065.5881%2014.0592%2067.7508%2014.0592C69.4143%2014.0592%2071.1195%2014.2255%2072.8663%2014.5583C74.613%2014.891%2076.1726%2015.3692%2077.5451%2015.9931V22.8553C76.131%2022.2315%2074.717%2021.7324%2073.3029%2021.3581C71.8889%2020.9422%2070.4333%2020.7343%2068.9361%2020.7343C66.0248%2020.7343%2063.7582%2021.4621%2062.1362%2022.9177C60.5142%2024.3733%2059.7032%2026.7647%2059.7032%2030.0919C59.7032%2033.5022%2060.4311%2036.0391%2061.8867%2037.7027C63.3839%2039.3663%2065.8377%2040.1981%2069.248%2040.1981C70.7868%2040.1981%2072.284%2039.9693%2073.7396%2039.5118C75.1953%2039.0128%2076.4845%2038.4721%2077.6075%2037.8899V44.8145C76.1518%2045.5215%2074.6338%2046.0414%2073.0534%2046.3741C71.473%2046.7484%2069.7263%2046.9355%2067.8132%2046.9355Z'%20fill='%23006AFF'/%3e%3cpath%20d='M17.5517%2017.4279C18.425%2017.012%2019.4648%2016.5961%2020.6709%2016.1802C21.8769%2015.7643%2023.187%2015.4108%2024.601%2015.1197C26.0151%2014.787%2027.4291%2014.5375%2028.8432%2014.3711C30.2988%2014.1631%2031.6712%2014.0592%2032.9605%2014.0592C35.8717%2014.0592%2038.2839%2014.4543%2040.197%2015.2445C42.1517%2015.9931%2043.6074%2017.1992%2044.5639%2018.8627C45.5621%2020.4847%2046.0611%2022.6266%2046.0611%2025.2883V46.2493H38.2008V26.6607C38.2008%2025.8705%2038.0968%2025.1219%2037.8888%2024.4149C37.6809%2023.6663%2037.3274%2023.0217%2036.8283%2022.481C36.3292%2021.8988%2035.643%2021.4621%2034.7696%2021.171C33.8963%2020.8382%2032.7733%2020.6719%2031.4009%2020.6719C30.3612%2020.6719%2029.3006%2020.7759%2028.2193%2020.9838C27.138%2021.1917%2026.223%2021.4621%2025.4744%2021.7948V46.2493H17.5517V17.4279Z'%20fill='%23006AFF'/%3e%3cpath%20d='M1.92836%2046.2493V15.1197H9.85113L9.91351%2046.2493H1.92836ZM1.74121%2010.129V3.64105H10.0383V10.129H1.74121Z'%20fill='%23006AFF'/%3e%3c/svg%3e";
45
- return t(() => {
46
- h.current?.focus();
47
- }, []), /* @__PURE__ */ a("section", {
141
+ function E({ onContinue: e }) {
142
+ let { t: n } = t(), { logoSrc: i, subtitle: l } = c(), { selectedMainLanguageLabel: u } = C(), p = a(null), h = i || "data:image/svg+xml,%3csvg%20width='187'%20height='51'%20viewBox='0%200%20187%2051'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M168.419%2047.1851C165.3%2047.1851%20162.576%2046.5612%20160.247%2045.3136C157.918%2044.0243%20156.109%2042.1528%20154.819%2039.699C153.53%2037.2452%20152.885%2034.2924%20152.885%2030.8405C152.885%2025.3507%20154.195%2021.171%20156.816%2018.3013C159.477%2015.39%20163.2%2013.9344%20167.982%2013.9344C171.434%2013.9344%20174.2%2014.683%20176.279%2016.1802C178.4%2017.6774%20179.939%2019.8193%20180.896%2022.6058C181.894%2025.3507%20182.372%2028.6362%20182.331%2032.4625H158.001L157.377%2027.0974H176.03L174.533%2029.3433C174.449%2026.0577%20173.867%2023.7079%20172.786%2022.2939C171.746%2020.8382%20170.062%2020.1104%20167.733%2020.1104C166.319%2020.1104%20165.071%2020.4431%20163.99%2021.1086C162.95%2021.7324%20162.139%2022.7929%20161.557%2024.2901C161.016%2025.7874%20160.746%2027.846%20160.746%2030.4662C160.746%2033.7101%20161.515%2036.2055%20163.054%2037.9522C164.593%2039.6574%20166.943%2040.51%20170.103%2040.51C171.393%2040.51%20172.62%2040.3852%20173.784%2040.1357C174.99%2039.8446%20176.092%2039.5118%20177.09%2039.1375C178.13%2038.7632%20179.004%2038.4097%20179.711%2038.077V45.064C178.255%2045.6879%20176.591%2046.1869%20174.72%2046.5612C172.89%2046.9771%20170.79%2047.1851%20168.419%2047.1851Z'%20fill='%23006AFF'/%3e%3cpath%20d='M133.067%2047.1851C130.905%2047.1851%20128.846%2046.9355%20126.891%2046.4365C124.937%2045.9374%20123.211%2045.064%20121.713%2043.8163C120.216%2042.5687%20119.031%2040.8427%20118.158%2038.6385C117.326%2036.4342%20116.91%2033.627%20116.91%2030.2166C116.91%2025.1843%20118.137%2021.2125%20120.59%2018.3013C123.044%2015.39%20126.767%2013.9344%20131.757%2013.9344C132.464%2013.9344%20133.379%2014.0176%20134.502%2014.1839C135.625%2014.3503%20136.769%2014.6414%20137.933%2015.0573C139.139%2015.4316%20140.179%2016.0347%20141.052%2016.8665L139.306%2019.3618V1.76953H147.104V38.888C147.104%2040.302%20146.688%2041.5289%20145.856%2042.5687C145.066%2043.6084%20143.984%2044.4818%20142.612%2045.1888C141.24%2045.8542%20139.722%2046.3533%20138.058%2046.686C136.394%2047.0187%20134.731%2047.1851%20133.067%2047.1851ZM133.317%2040.4476C135.022%2040.4476%20136.436%2040.2397%20137.559%2039.8238C138.723%2039.4079%20139.306%2038.8048%20139.306%2038.0146V22.0443C138.391%2021.5037%20137.413%2021.1086%20136.374%2020.859C135.334%2020.6095%20134.336%2020.4847%20133.379%2020.4847C131.466%2020.4847%20129.886%2020.8382%20128.638%2021.5453C127.39%2022.2107%20126.455%2023.292%20125.831%2024.7892C125.207%2026.2448%20124.895%2028.1164%20124.895%2030.4038C124.895%2032.4001%20125.145%2034.1468%20125.644%2035.644C126.143%2037.1413%20126.995%2038.3265%20128.201%2039.1999C129.449%2040.0317%20131.154%2040.4476%20133.317%2040.4476Z'%20fill='%23006AFF'/%3e%3cpath%20d='M97.1975%2047.1851C92.0404%2047.1851%2088.1726%2045.7502%2085.5941%2042.8806C83.0155%2040.0109%2081.7262%2035.8728%2081.7262%2030.4662C81.7262%2024.6852%2083.0363%2020.4847%2085.6564%2017.8646C88.3182%2015.2445%2092.1444%2013.9344%2097.1351%2013.9344C100.629%2013.9344%20103.54%2014.5583%20105.869%2015.8059C108.198%2017.012%20109.924%2018.8419%20111.047%2021.2957C112.211%2023.7495%20112.793%2026.8063%20112.793%2030.4662C112.793%2035.8728%20111.442%2040.0109%20108.739%2042.8806C106.077%2045.7502%20102.23%2047.1851%2097.1975%2047.1851ZM97.1975%2040.6971C99.0274%2040.6971%20100.504%2040.2812%20101.627%2039.4495C102.791%2038.6177%20103.644%2037.4532%20104.184%2035.956C104.725%2034.4171%20104.995%2032.5872%20104.995%2030.4662C104.995%2028.0956%20104.704%2026.1617%20104.122%2024.6645C103.581%2023.1672%20102.729%2022.0651%20101.564%2021.3581C100.441%2020.6511%2098.9858%2020.2976%2097.1975%2020.2976C95.3675%2020.2976%2093.8911%2020.6719%2092.7682%2021.4205C91.6453%2022.1691%2090.8135%2023.292%2090.2729%2024.7892C89.7738%2026.2864%2089.5242%2028.1788%2089.5242%2030.4662C89.5242%2033.7933%2090.1273%2036.3303%2091.3334%2038.077C92.5395%2039.8238%2094.4942%2040.6971%2097.1975%2040.6971Z'%20fill='%23006AFF'/%3e%3cpath%20d='M67.8132%2046.9355C65.7337%2046.9355%2063.7374%2046.6444%2061.8243%2046.0622C59.9112%2045.4799%2058.206%2044.5442%2056.7088%2043.2549C55.2116%2041.9656%2054.0263%2040.302%2053.1529%2038.2642C52.2795%2036.2263%2051.8429%2033.7517%2051.8429%2030.8405C51.8429%2027.8044%2052.2588%2025.2259%2053.0905%2023.1049C53.9223%2020.9838%2055.066%2019.2578%2056.5217%2017.927C57.9773%2016.5545%2059.6617%2015.5772%2061.5748%2014.9949C63.5295%2014.3711%2065.5881%2014.0592%2067.7508%2014.0592C69.4143%2014.0592%2071.1195%2014.2255%2072.8663%2014.5583C74.613%2014.891%2076.1726%2015.3692%2077.5451%2015.9931V22.8553C76.131%2022.2315%2074.717%2021.7324%2073.3029%2021.3581C71.8889%2020.9422%2070.4333%2020.7343%2068.9361%2020.7343C66.0248%2020.7343%2063.7582%2021.4621%2062.1362%2022.9177C60.5142%2024.3733%2059.7032%2026.7647%2059.7032%2030.0919C59.7032%2033.5022%2060.4311%2036.0391%2061.8867%2037.7027C63.3839%2039.3663%2065.8377%2040.1981%2069.248%2040.1981C70.7868%2040.1981%2072.284%2039.9693%2073.7396%2039.5118C75.1953%2039.0128%2076.4845%2038.4721%2077.6075%2037.8899V44.8145C76.1518%2045.5215%2074.6338%2046.0414%2073.0534%2046.3741C71.473%2046.7484%2069.7263%2046.9355%2067.8132%2046.9355Z'%20fill='%23006AFF'/%3e%3cpath%20d='M17.5517%2017.4279C18.425%2017.012%2019.4648%2016.5961%2020.6709%2016.1802C21.8769%2015.7643%2023.187%2015.4108%2024.601%2015.1197C26.0151%2014.787%2027.4291%2014.5375%2028.8432%2014.3711C30.2988%2014.1631%2031.6712%2014.0592%2032.9605%2014.0592C35.8717%2014.0592%2038.2839%2014.4543%2040.197%2015.2445C42.1517%2015.9931%2043.6074%2017.1992%2044.5639%2018.8627C45.5621%2020.4847%2046.0611%2022.6266%2046.0611%2025.2883V46.2493H38.2008V26.6607C38.2008%2025.8705%2038.0968%2025.1219%2037.8888%2024.4149C37.6809%2023.6663%2037.3274%2023.0217%2036.8283%2022.481C36.3292%2021.8988%2035.643%2021.4621%2034.7696%2021.171C33.8963%2020.8382%2032.7733%2020.6719%2031.4009%2020.6719C30.3612%2020.6719%2029.3006%2020.7759%2028.2193%2020.9838C27.138%2021.1917%2026.223%2021.4621%2025.4744%2021.7948V46.2493H17.5517V17.4279Z'%20fill='%23006AFF'/%3e%3cpath%20d='M1.92836%2046.2493V15.1197H9.85113L9.91351%2046.2493H1.92836ZM1.74121%2010.129V3.64105H10.0383V10.129H1.74121Z'%20fill='%23006AFF'/%3e%3c/svg%3e", [g, _] = o(!1);
143
+ return r(() => {
144
+ p.current?.focus();
145
+ }, []), /* @__PURE__ */ s("main", {
48
146
  class: "IncodeHome",
49
147
  "aria-live": "polite",
50
- children: /* @__PURE__ */ a("div", {
148
+ children: [/* @__PURE__ */ s("div", {
51
149
  class: "IncodeHomeContent",
52
150
  children: [
53
- /* @__PURE__ */ a("header", {
151
+ /* @__PURE__ */ s("header", {
54
152
  class: "IncodeHomeHeader",
55
- children: [/* @__PURE__ */ a("div", {
153
+ children: [/* @__PURE__ */ s("div", {
56
154
  class: "IncodeHomeLanguage",
57
155
  children: [
58
- /* @__PURE__ */ a("p", {
156
+ /* @__PURE__ */ s("p", {
59
157
  class: "IncodeHomeLanguageLabel",
60
- children: s("home.language")
158
+ children: n("home.language")
61
159
  }),
62
- /* @__PURE__ */ a(l, { size: 8 }),
63
- /* @__PURE__ */ a("p", {
160
+ /* @__PURE__ */ s(d, { size: 8 }),
161
+ /* @__PURE__ */ s("p", {
64
162
  class: "IncodeHomeLanguageValue",
65
- children: m
163
+ children: u
66
164
  })
67
165
  ]
68
- }), /* @__PURE__ */ a("button", {
166
+ }), /* @__PURE__ */ s("button", {
69
167
  type: "button",
70
168
  class: "IncodeHomeSettingsButton",
71
- onClick: n,
72
- "aria-label": s("home.goToSettings"),
169
+ onClick: () => _(!0),
170
+ "aria-label": n("home.goToSettings"),
73
171
  "data-testid": "home-settings-button",
74
- children: /* @__PURE__ */ a(p, {})
172
+ children: /* @__PURE__ */ s(T, {})
75
173
  })]
76
174
  }),
77
- /* @__PURE__ */ a("div", {
175
+ /* @__PURE__ */ s("div", {
78
176
  class: "IncodeHomeCenterSection",
79
- children: [/* @__PURE__ */ a("div", {
177
+ children: [/* @__PURE__ */ s("div", {
80
178
  class: "IncodeHomeLogoContainer",
81
- children: /* @__PURE__ */ a("img", {
82
- src: g,
83
- alt: "Logo",
179
+ children: /* @__PURE__ */ s("img", {
180
+ src: h,
181
+ alt: "",
84
182
  class: "IncodeHomeLogo",
85
- "data-testid": "home-logo"
183
+ "data-testid": "home-logo",
184
+ "aria-hidden": "true"
86
185
  })
87
- }), f ? /* @__PURE__ */ a("h2", {
88
- ref: h,
186
+ }), l ? /* @__PURE__ */ s("h2", {
187
+ ref: p,
89
188
  class: "IncodeHomeSubtitle",
90
189
  tabIndex: -1,
91
- children: f
190
+ children: l
92
191
  }) : null]
93
192
  }),
94
- /* @__PURE__ */ a(u, {
95
- onClick: i,
193
+ /* @__PURE__ */ s(f, {
194
+ onClick: e,
96
195
  class: "IncodeHomeStartButton",
97
196
  "data-testid": "home-start-button",
98
- children: s("home.start")
197
+ children: n("home.start")
99
198
  })
100
199
  ]
101
- })
200
+ }), /* @__PURE__ */ s(m.Root, {
201
+ open: g,
202
+ onOpenChange: (e) => _(e),
203
+ class: "IncodeHomeSettingsModal",
204
+ children: /* @__PURE__ */ s(m.Content, { children: /* @__PURE__ */ s(w, { onClose: () => _(!1) }) })
205
+ })]
102
206
  });
103
207
  }
104
208
  //#endregion
105
209
  //#region src/modules/home/home.tsx
106
- var h = n(() => import("../settings-tMRrQul_.js").then((e) => ({ default: e.Settings })));
107
- function g({ config: e, manager: n, onFinish: r }) {
108
- let [o, c] = s(() => n || f({ config: e }), { manageLifecycle: !n });
109
- return t(() => {
110
- o.status === "finished" && r?.();
111
- }, [r, o.status]), o.status === "finished" ? null : o.status === "settings" ? /* @__PURE__ */ a(i, {
112
- fallback: null,
113
- children: /* @__PURE__ */ a(h, { onClose: () => c.closeSettings() })
114
- }) : o.status === "main" ? /* @__PURE__ */ a(m, {
115
- onOpenSettings: () => c.openSettings(),
116
- onContinue: () => c.complete()
117
- }) : null;
118
- }
119
- function _({ config: e, manager: t, onFinish: n }) {
120
- return /* @__PURE__ */ a(c, { children: /* @__PURE__ */ a(g, {
210
+ var D = ({ config: e, manager: t, onFinish: n }) => {
211
+ let [i, a] = l(() => t || h({ config: e }), { manageLifecycle: !t });
212
+ return r(() => {
213
+ i.status === "finished" && n?.();
214
+ }, [n, i.status]), i.status === "finished" ? null : i.status === "main" ? /* @__PURE__ */ s(E, { onContinue: () => a.complete() }) : null;
215
+ };
216
+ function O({ config: e, manager: t, onFinish: n }) {
217
+ return /* @__PURE__ */ s(u, { children: /* @__PURE__ */ s(D, {
121
218
  config: e ?? {},
122
219
  manager: t,
123
220
  onFinish: n
124
221
  }) });
125
222
  }
126
223
  //#endregion
127
- export { _ as Home };
224
+ export { O as Home };
@@ -116,46 +116,35 @@
116
116
  margin-top: auto;
117
117
  }
118
118
 
119
- .IncodeHomeSettingsContainer {
120
- flex-direction: column;
121
- width: 100%;
119
+ .IncodeHomeSettingsModal.IncodeModalRoot .IncodeModalDialog {
120
+ max-width: none;
122
121
  height: 100%;
123
- display: flex;
124
- }
125
-
126
- .IncodeHomeSettingsContainer .IncodeHomeSettingsHeader {
127
- justify-content: flex-end;
128
- display: flex;
129
- }
130
-
131
- .IncodeHomeSettingsContainer .IncodeHomeSettingsHeader .IncodeHomeSettingsCloseButton {
132
- padding-block: var(--spacing-8, var(--spacing-8, 8px));
122
+ max-height: 100%;
133
123
  }
134
124
 
135
- .IncodeHomeSettingsContainer .IncodeHomeSettingsCloseButton {
136
- cursor: pointer;
137
- border-style: var(--tw-border-style);
138
- border-width: var(--border-width-none, var(--primitive-border-width-0));
139
- --tw-border-style: none;
140
- padding: var(--spacing-0, var(--spacing-none, 0px));
141
- color: var(--color-text-body-secondary, var(--text-body-500-secondary));
142
- background-color: #0000;
143
- border-style: none;
125
+ .IncodeHomeSettingsModal.IncodeModalRoot .IncodeModalContent {
126
+ border-radius: var(--radius-none, var(--border-radius-none));
127
+ max-width: none;
128
+ height: 100%;
129
+ padding-inline: var(--spacing-24, var(--spacing-24, 24px));
130
+ padding-block: var(--spacing-32, var(--spacing-32, 32px));
131
+ align-items: stretch;
144
132
  }
145
133
 
146
- .IncodeHomeSettingsContainer .IncodeHomeSettingsCloseButton:focus-visible {
147
- outline: var(--focus-outline-width) solid var(--border-status-focus);
148
- outline-offset: var(--focus-outline-offset);
134
+ .IncodeHomeSettingsModal .IncodeHomeSettingsContainer {
135
+ flex-direction: column;
136
+ flex: 1;
137
+ width: 100%;
138
+ display: flex;
149
139
  }
150
140
 
151
- .IncodeHomeSettingsContainer .IncodeHomeSettingsBody {
152
- padding-inline: var(--spacing-8, var(--spacing-8, 8px));
141
+ .IncodeHomeSettingsModal .IncodeHomeSettingsBody {
153
142
  flex-direction: column;
154
143
  flex: 1;
155
144
  display: flex;
156
145
  }
157
146
 
158
- .IncodeHomeSettingsContainer .IncodeHomeSettingsTitle {
147
+ .IncodeHomeSettingsModal .IncodeHomeSettingsTitle {
159
148
  margin: var(--spacing-0, var(--spacing-none, 0px));
160
149
  font-family: var(--typography-headline-family);
161
150
  font-size: var(--typography-headline-h2-size);
@@ -165,6 +154,17 @@
165
154
  color: var(--color-text-body-primary, var(--text-body-800-primary));
166
155
  }
167
156
 
157
+ .IncodeHomeSettingsModal .IncodeHomeSettingsFooter {
158
+ margin-top: var(--spacing-24, var(--spacing-24, 24px));
159
+ }
160
+
161
+ .IncodeHomeSettingsModal .IncodeHomeSettingsBodyContent {
162
+ flex-direction: row;
163
+ justify-content: center;
164
+ align-items: center;
165
+ display: flex;
166
+ }
167
+
168
168
  @property --tw-border-style {
169
169
  syntax: "*";
170
170
  inherits: false;
@@ -1514,7 +1514,7 @@ var G;
1514
1514
  Ve() && (typeof global < "u" && global.XMLHttpRequest ? G = global.XMLHttpRequest : typeof window < "u" && window.XMLHttpRequest && (G = window.XMLHttpRequest));
1515
1515
  var K;
1516
1516
  if (typeof ActiveXObject == "function" && (typeof global < "u" && global.ActiveXObject ? K = global.ActiveXObject : typeof window < "u" && window.ActiveXObject && (K = window.ActiveXObject)), typeof W != "function" && (W = void 0), !W && !G && !K) try {
1517
- import("./browser-ponyfill-DcR_MTou.js").then((t) => /* @__PURE__ */ e(t.default, 1)).then(function(e) {
1517
+ import("./browser-ponyfill-CTu_YiCx.js").then((t) => /* @__PURE__ */ e(t.default, 1)).then(function(e) {
1518
1518
  W = e.default;
1519
1519
  }).catch(function() {});
1520
1520
  } catch {}
@@ -1,5 +1,5 @@
1
1
  import { m as e, v as t } from "./vendor-preact-D6SntenC.js";
2
- import "./successIcon-Dklx5JWI.js";
2
+ import "./successIcon-AHrfmJvv.js";
3
3
  //#region src/shared/icons/errorIcon.tsx
4
4
  var n = ({ size: e = 32 }) => /* @__PURE__ */ t("svg", {
5
5
  xmlns: "http://www.w3.org/2000/svg",