@incodetech/web 2.3.2 → 2.4.0-rc.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.
Files changed (354) hide show
  1. package/THIRD_PARTY_NOTICES.txt +0 -3
  2. package/dist/GeolocationPermissionDenied-ChCQ6Mhi.js +444 -0
  3. package/dist/ae-signature/ae-signature.es.js +3 -3
  4. package/dist/{af-ZA-OntsEubt.js → af-ZA-B5RfX0Do.js} +32 -5
  5. package/dist/ageVerification-BMwwu3EI.js +77 -0
  6. package/dist/{am-yUcnt3vq.js → am-BE3vlUmQ.js} +32 -5
  7. package/dist/antifraud/antifraud.es.js +3 -3
  8. package/dist/antifraud/styles.css +0 -1
  9. package/dist/{ar-AE-BfxiKovT.js → ar-AE-Dw0claA-.js} +32 -5
  10. package/dist/{ar-57Dd-l4I.js → ar-B3gZ5W2R.js} +33 -6
  11. package/dist/{ar-EG-BgDjHJBi.js → ar-EG-5pSqEbCR.js} +32 -5
  12. package/dist/authentication/authentication.es.js +4 -4
  13. package/dist/{autoFocusTitle-DebebrwQ.js → autoFocusTitle-DTSPbDgY.js} +1 -1
  14. package/dist/{az-dT363k-q.js → az-CtWu_6fI.js} +32 -5
  15. package/dist/back-horizontal-hint-BztyPanp.js +134 -0
  16. package/dist/back-vertical-hint-BSzA4QbJ.js +127 -0
  17. package/dist/base.css +1 -7230
  18. package/dist/{baseTutorial-CyVBbj9b.js → baseTutorial-CW-zwkOM.js} +13 -24
  19. package/dist/{bn-CKZ00roT.js → bn-CXOCkHeB.js} +32 -5
  20. package/dist/{bottomSheet-DpSr7d9-.js → bottomSheet-DmQVpuxJ.js} +2 -2
  21. package/dist/{bs-BnLdLnmZ.js → bs-B4mczUkN.js} +32 -5
  22. package/dist/{ca-D3PGkuQc.js → ca-DAE1dQj9.js} +32 -5
  23. package/dist/cameraOverlay-Bgpa6tky.js +2 -0
  24. package/dist/cameraOverlayHeader-BZlR-wkk.js +83 -0
  25. package/dist/{cameraView-CoWyMnTT.js → cameraView-DG425WNr.js} +2 -2
  26. package/dist/{ceb-R-2VANeF.js → ceb-C9GCq8zw.js} +32 -5
  27. package/dist/certificate-issuance/certificate-issuance.es.js +9 -8
  28. package/dist/certificate-issuance/styles.css +1 -72
  29. package/dist/certificate-issuance/styles.css.js +1 -1
  30. package/dist/check-icon-BpjpKqhJ.js +48 -0
  31. package/dist/{checkbox-CNc8kQS0.js → checkbox-ClDWA_GP.js} +2 -2
  32. package/dist/connectionError-DnLv1SEA.js +45 -0
  33. package/dist/consent/consent.es.js +8 -6
  34. package/dist/consent/styles.css +1 -129
  35. package/dist/consent/styles.css.js +1 -1
  36. package/dist/countryDefinitions-BO9OSKQO.js +555 -0
  37. package/dist/countryFlag-2Vj85OIZ.js +67 -0
  38. package/dist/{countrySelector-BlC5_2rW.js → countrySelector-65mrWgRB.js} +6 -5
  39. package/dist/cross-document-data-match/cross-document-data-match.es.js +3 -3
  40. package/dist/{cs-CZ-CEidLhWp.js → cs-CZ-CLmA_0jN.js} +32 -5
  41. package/dist/{cs-bm9MEri0.js → cs-DJEcT5M8.js} +32 -5
  42. package/dist/curp-validation/curp-validation.es.js +13 -11
  43. package/dist/curp-validation/styles.css +1 -128
  44. package/dist/curp-validation/styles.css.js +1 -1
  45. package/dist/custom-fields/styles.css +1 -21
  46. package/dist/custom-fields/styles.css.js +1 -1
  47. package/dist/{customFields-C_iIhQYG.js → customFields-BNX1AHc3.js} +10 -9
  48. package/dist/{customWatchlist-utPTNwCU.js → customWatchlist-BdCLsmp2.js} +6 -6
  49. package/dist/{da-DK-BuSuFTsg.js → da-DK-B0G-1XCN.js} +32 -5
  50. package/dist/{dashboardTheme-DdWs3tlN.js → dashboardTheme-B3JLw1w6.js} +1 -1
  51. package/dist/dateInputComposed-81cxVVay.js +1 -0
  52. package/dist/{dateInputComposed-CylyZPCj.js → dateInputComposed-BwqEyZNg.js} +4 -4
  53. package/dist/{de-BCPdribE.js → de-Pw3Ziz4S.js} +32 -5
  54. package/dist/denied-D977k8ju.js +1871 -0
  55. package/dist/deviceWallet-CoXT8GNt.js +66 -0
  56. package/dist/digitalIdRedirect-CI0JpjXY.js +162 -0
  57. package/dist/digitalIdUpload-DTrEj4Q3.js +496 -0
  58. package/dist/document-capture/document-capture.es.js +1 -1
  59. package/dist/document-capture/styles.css +1 -378
  60. package/dist/document-capture/styles.css.js +1 -1
  61. package/dist/{documentCapture-BrhKPBNZ.js → documentCapture-BVs_R-Aj.js} +127 -180
  62. package/dist/documentCapture-CE3xt7Qu.js +2 -0
  63. package/dist/dropdownComposed-BBeW4gkE.js +1 -0
  64. package/dist/{dropdownComposed-B0WxIm-I.js → dropdownComposed-CB55QqNd.js} +8 -14
  65. package/dist/dynamic-forms/dynamic-forms.es.js +13 -12
  66. package/dist/dynamic-forms/styles.css +1 -104
  67. package/dist/dynamic-forms/styles.css.js +1 -1
  68. package/dist/ekyb/ekyb.es.js +1 -1
  69. package/dist/ekyb/styles.css +1 -113
  70. package/dist/ekyb/styles.css.js +1 -1
  71. package/dist/ekybModule-BiVsuQhj.js +2 -0
  72. package/dist/{ekybModule-BwD2ohHx.js → ekybModule-Deru8qGu.js} +13 -12
  73. package/dist/ekyc/ekyc.es.js +1 -1
  74. package/dist/ekyc/styles.css +1 -108
  75. package/dist/ekyc/styles.css.js +1 -1
  76. package/dist/ekycModule-CGS7oZAu.js +2 -0
  77. package/dist/{ekycModule-Y9GYfYAt.js → ekycModule-Cb3HnENz.js} +46 -14
  78. package/dist/{el-60ThHM2U.js → el-DlcHAcXD.js} +32 -5
  79. package/dist/{el-GR-D6WIhwC3.js → el-GR-fXRg7fVy.js} +32 -5
  80. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  81. package/dist/electronic-signature/styles.css +1 -407
  82. package/dist/electronic-signature/styles.css.js +1 -1
  83. package/dist/{electronic-signature-Bmn4AOpj.js → electronic-signature-Bt644x6v.js} +24 -21
  84. package/dist/email/email.es.js +8 -7
  85. package/dist/email/styles.css +1 -11
  86. package/dist/email/styles.css.js +1 -1
  87. package/dist/{emailInput-DgQXpURU.js → emailInput-DQlm6sys.js} +3 -3
  88. package/dist/{en-ISV8KwbL.js → en-BQfrZw2Q.js} +32 -5
  89. package/dist/{en-DG-Crvtj3p2.js → en-DG-Dbay0TVK.js} +32 -5
  90. package/dist/{errorContent-XVdZTMAl.js → errorContent-i-XKbliC.js} +5 -5
  91. package/dist/{es-419-pXqNpSti.js → es-419-B494eoOQ.js} +32 -5
  92. package/dist/{es-1QCV_aoe.js → es-CIaH0_TG.js} +32 -5
  93. package/dist/{es-ES-BIYzpL_B.js → es-ES-BAy8H_o4.js} +32 -5
  94. package/dist/{es-MX-Cih_nZPr.js → es-MX-mRlcVoSi.js} +32 -5
  95. package/dist/esm-15CISqPe.js +430 -0
  96. package/dist/{et-CgCGIoIQ.js → et-BsM-KF4Y.js} +33 -6
  97. package/dist/{expiredId-BhQM_AcZ.js → expiredId-Bc_tCf-R.js} +6 -6
  98. package/dist/extensibility.es.js +38 -36
  99. package/dist/{fa-IR-YnGtqwsy.js → fa-IR-DKPXxDgD.js} +32 -5
  100. package/dist/face-match/face-match.es.js +1 -1
  101. package/dist/face-match/styles.css +1 -535
  102. package/dist/face-match/styles.css.js +1 -1
  103. package/dist/faceMatch-KF3QElE7.js +2 -0
  104. package/dist/faceMatch-MVYGreUC.js +336 -0
  105. package/dist/{fi-FI-3XXKPtj1.js → fi-FI-BehaswUi.js} +32 -5
  106. package/dist/field-comparison/field-comparison.es.js +1 -1
  107. package/dist/field-comparison/styles.css +1 -27
  108. package/dist/field-comparison/styles.css.js +1 -1
  109. package/dist/fieldComparison-CQG-0wfE.js +2 -0
  110. package/dist/{fieldComparison-D7rZ657j.js → fieldComparison-D4FRpZlC.js} +13 -7
  111. package/dist/finalSuccessScreen-DS4fm_uM.js +500 -0
  112. package/dist/fiscal-qr/fiscal-qr.es.js +28 -23
  113. package/dist/fiscal-qr/styles.css +1 -82
  114. package/dist/fiscal-qr/styles.css.js +1 -1
  115. package/dist/{flipAnimation-BGXItWj0.js → flipAnimation-NcDmqbnT.js} +643 -355
  116. package/dist/flow/flow.es.js +41 -24
  117. package/dist/flow/shell/styles.css +1 -401
  118. package/dist/flow/shell/styles.css.js +1 -1
  119. package/dist/flow/styles.css +1 -5702
  120. package/dist/{formField-Cf25rdkJ.js → formField-D1sSXdbf.js} +2 -2
  121. package/dist/{fr-CA-DULWz0cf.js → fr-CA-DZcH7XE0.js} +32 -5
  122. package/dist/{fr-BwDYP0LQ.js → fr-DuG6kscd.js} +32 -5
  123. package/dist/front-horizontal-hint-DEHmtcdg.js +379 -0
  124. package/dist/{front-vertical-hint-qXMVdLri.js → front-vertical-hint-Cb1NO-xT.js} +71 -72
  125. package/dist/geolocation/geolocation.es.js +26 -459
  126. package/dist/geolocation/styles.css +1 -165
  127. package/dist/geolocation/styles.css.js +1 -1
  128. package/dist/government-validation/government-validation.es.js +15 -13
  129. package/dist/government-validation/styles.css +1 -4
  130. package/dist/government-validation/styles.css.js +1 -1
  131. package/dist/{he-BZVxeCzZ.js → he-B_PP0efY.js} +32 -5
  132. package/dist/{hi-Bp8GM653.js → hi-D0rSX1o4.js} +32 -5
  133. package/dist/{hmn-Bj6F8ToZ.js → hmn-DK7VD_xu.js} +32 -5
  134. package/dist/{homeScreen-eYD0Zo8Y.js → homeScreen-CKLvX3bf.js} +10 -11
  135. package/dist/{hr-uz9DXHS8.js → hr-BpjWRIC0.js} +32 -5
  136. package/dist/{ht-BGd4L5Je.js → ht-CG8o1xEm.js} +32 -5
  137. package/dist/{hu-BvTVDhN5.js → hu-BmwC53l2.js} +32 -5
  138. package/dist/icons-Cri5P1f0.js +535 -0
  139. package/dist/id/id.es.js +315 -1174
  140. package/dist/id/styles.css +1 -1691
  141. package/dist/id/styles.css.js +1 -1
  142. package/dist/{id-D0EG-hya.js → id-CKlkbZdM.js} +32 -5
  143. package/dist/id-back-of-card-C7Au2tqk.js +71 -0
  144. package/dist/id-back-of-card-vertical-CtQBFw8w.js +74 -0
  145. package/dist/id-front-of-card-BmHL_keG.js +305 -0
  146. package/dist/id-front-of-card-vertical-DkNUn2Vx.js +253 -0
  147. package/dist/id-ocr/styles.css +1 -55
  148. package/dist/id-ocr/styles.css.js +1 -1
  149. package/dist/id-selfie-flow/id-selfie-flow.es.js +12 -9
  150. package/dist/id-selfie-flow/styles.css +1 -780
  151. package/dist/id-verification/id-verification.es.js +6 -5
  152. package/dist/{idOcr-66OmIUeD.js → idOcr-vWU87y1x.js} +12 -11
  153. package/dist/identity-reuse/identity-reuse.es.js +167 -139
  154. package/dist/identity-reuse/styles.css +1 -216
  155. package/dist/incode-logo-r5UBM52t.js +341 -0
  156. package/dist/{incodeComponent--XJZ07QN.js → incodeComponent-I3JIdKa5.js} +147 -269
  157. package/dist/incodeModule-t2FDQ-II.js +68 -0
  158. package/dist/index.es.js +4 -3
  159. package/dist/{inputComposed-ByIWAPSr.js → inputComposed-B27kZydt.js} +2 -2
  160. package/dist/inputComposed-DfPNjr7W.js +1 -0
  161. package/dist/{it-DWY7_sYa.js → it-Ha3KMdAw.js} +32 -5
  162. package/dist/{ja-z6DqLSKX.js → ja-BcpfEJD1.js} +32 -5
  163. package/dist/{ja-JP-DvHAizEm.js → ja-JP-6Sg-lS3C.js} +33 -6
  164. package/dist/{jv-CkRJjzon.js → jv-BhDDvojx.js} +32 -5
  165. package/dist/{ka-BvgWMiTW.js → ka-DSEmyiG7.js} +32 -5
  166. package/dist/{kk-BAYGOXZ1.js → kk-DfTBM0Ac.js} +32 -5
  167. package/dist/{km-Bn1-UMaR.js → km-DSH-1ryG.js} +40 -13
  168. package/dist/{ko-CtAqOkND.js → ko-DmCEEN9O.js} +32 -5
  169. package/dist/{ko-KP-kVzak00f.js → ko-KP-DxNF6PVH.js} +32 -5
  170. package/dist/{ky-Cegtfua2.js → ky-BYYkLAWt.js} +32 -5
  171. package/dist/{lo-DtW4luOG.js → lo-Dd7cFyNu.js} +32 -5
  172. package/dist/{lt-CnaDc_UD.js → lt-DJemxo6s.js} +33 -6
  173. package/dist/{lv-SBquFvpr.js → lv-DV6PxXYU.js} +32 -5
  174. package/dist/{mandatoryConsent-BMvNiuiY.js → mandatoryConsent-CEFsoyzd.js} +8 -6
  175. package/dist/{manualCaptureButton-6HOiu1ud.js → manualCaptureButton-DghY-ZUO.js} +5 -5
  176. package/dist/{manualCaptureButton-CI-lIiuA.js → manualCaptureButton-DwcLDSMN.js} +43 -34
  177. package/dist/{mk-Bym8Rbmu.js → mk-0GH3TF8e.js} +32 -5
  178. package/dist/{mn-C-EiXg08.js → mn-DhhnhyBd.js} +32 -5
  179. package/dist/{ms-k_GCoKmE.js → ms-DmVYGU6Y.js} +32 -5
  180. package/dist/{my-v5GqdpqS.js → my-DGXxog_l.js} +32 -5
  181. package/dist/{nb-NO-Ca1WyJtF.js → nb-NO-SMmm3cOU.js} +32 -5
  182. package/dist/{ne-DZ1xJQOA.js → ne-DVsGmeSd.js} +32 -5
  183. package/dist/{nl-DsWJVGHj.js → nl-CL7EuWSC.js} +33 -6
  184. package/dist/{optionAccessibleLabel-CkP9Zu6D.js → optionAccessibleLabel-BApMWddn.js} +5 -5
  185. package/dist/{otpInput-CmcE2rnQ.js → otpInput-D0RomcH9.js} +6 -6
  186. package/dist/page-BzEithea.js +299 -0
  187. package/dist/{passport-horizontal-hint-6Ghn2EEN.js → passport-horizontal-hint-DgNc6F0-.js} +48 -49
  188. package/dist/{passport-vertical-hint-UPFFpdf4.js → passport-vertical-hint-B-toVsfT.js} +42 -42
  189. package/dist/{passwordInputComposed-DkHtXfpN.js → passwordInputComposed-DqiG9IUM.js} +4 -4
  190. package/dist/{pdf-CFubyG0B.js → pdf-BKHLi5Ac.js} +2 -2
  191. package/dist/pdf.worker.min-BM1b2w9V.js +4 -0
  192. package/dist/pdfViewer-6PrH9fHg.js +2 -0
  193. package/dist/pdfViewer-DZurXIAg.js +154 -0
  194. package/dist/{permissions-D85sVpRH.js → permissions-C6NE4tvm.js} +41 -14
  195. package/dist/phone/phone.es.js +9 -8
  196. package/dist/phone/styles.css +1 -10
  197. package/dist/phone/styles.css.js +1 -1
  198. package/dist/phoneInputComposed-CVDIUrRy.js +249 -0
  199. package/dist/{pl-B32zvfat.js → pl-9hyt0nnb.js} +32 -5
  200. package/dist/policyUrls-B3M8nLRh.js +7 -0
  201. package/dist/{processing-DB6ZtByy.js → processing-Do2ee2et.js} +1 -1
  202. package/dist/progressBar-CNBUGgEc.js +27 -0
  203. package/dist/{pt-BR-CZSBmrhf.js → pt-BR-BBMw-S8O.js} +32 -5
  204. package/dist/{pt-PT-dD8X7Uk-.js → pt-PT-fSxcH0NK.js} +32 -5
  205. package/dist/{pt-CI9A94gT.js → pt-WGxHmjdN.js} +32 -5
  206. package/dist/{spacer-Csi6kZZI.js → purify.es-0fCPkEV1.js} +2 -740
  207. package/dist/qe-signature/qe-signature.es.js +3 -3
  208. package/dist/radioGroupComposed-Cy6hgLBE.js +1 -0
  209. package/dist/{radioGroupComposed-BKEEwEPO.js → radioGroupComposed-FYYC8SNS.js} +2 -2
  210. package/dist/redirect-to-mobile/redirect-to-mobile.es.js +116 -13
  211. package/dist/redirect-to-mobile/styles.css +1 -323
  212. package/dist/redirect-to-mobile/styles.css.js +1 -1
  213. package/dist/reload-icon-elAFo9-k.js +70 -0
  214. package/dist/{resendTimer-QICiM2K0.js → resendTimer-C0tGof4N.js} +1 -1
  215. package/dist/{richText-2CpStx6w.js → richText-aCnLd3j2.js} +2 -2
  216. package/dist/{ro-9pJ4k0ri.js → ro-CRut2TFS.js} +32 -5
  217. package/dist/{ru-DU8F6ner.js → ru-DKaZyUKL.js} +32 -5
  218. package/dist/{ru-RU-Bbq_NDQg.js → ru-RU-C09Xv3Yg.js} +32 -5
  219. package/dist/sanitizeSvg-BC-qLUgS.js +35 -0
  220. package/dist/selfie/selfie.es.js +9 -184
  221. package/dist/selfie/styles.css +1 -501
  222. package/dist/selfie/styles.css.js +1 -1
  223. package/dist/signature/signature.es.js +8 -7
  224. package/dist/signature/styles.css +1 -116
  225. package/dist/signature/styles.css.js +1 -1
  226. package/dist/{sk-COjINm80.js → sk-CRgCa4Xy.js} +35 -8
  227. package/dist/{sl-BHEN5hgb.js → sl-BnWo7ffO.js} +32 -5
  228. package/dist/{smsTabContent-6ehe5Tx-.js → smsTabContent-DrX3JFpW.js} +6 -7
  229. package/dist/{so-BK_1PgA0.js → so-QQqlxuIj.js} +32 -5
  230. package/dist/spacer-CRMb016O.js +741 -0
  231. package/dist/{spinner-C9D0Usrj.js → spinner-B2lU14AQ.js} +2 -2
  232. package/dist/{sr-CXHt_PCR.js → sr-B5E7ItZS.js} +32 -5
  233. package/dist/{sr-Latn-BBXL4zhk.js → sr-Latn-DYffMLFY.js} +40 -13
  234. package/dist/{sr-YU-D3DxWT8Q.js → sr-YU-wTH5Bs0f.js} +32 -5
  235. package/dist/{statusPage-BbOa8Zsp.js → statusPage-BIL3xP5F.js} +3 -3
  236. package/dist/{sv-SE-B6_0mJU7.js → sv-SE-CWW4jCGJ.js} +32 -5
  237. package/dist/{sw-BUZuOFDH.js → sw-DQMkDT3g.js} +32 -5
  238. package/dist/{th-DZN2Iv8L.js → th-3PSK_Dsh.js} +32 -5
  239. package/dist/{th-TH-B5S1TAOp.js → th-TH-BT3vwWPA.js} +32 -5
  240. package/dist/themes/dark.css +1 -1537
  241. package/dist/themes/light.css +1 -1413
  242. package/dist/{tl-DO_ExzG4.js → tl-BjxdIajM.js} +32 -5
  243. package/dist/{tl-PH-CbqgynTp.js → tl-PH-C_wJmHt1.js} +32 -5
  244. package/dist/{tr-DuzhV6aC.js → tr-BhmOJl6w.js} +34 -7
  245. package/dist/transitionSpinner-CPK1gaqC.js +76 -0
  246. package/dist/{tutorial-CGHCyHq1.js → tutorial-D9Tr_r15.js} +14 -18
  247. package/dist/types/ae-signature.d.ts +27 -5
  248. package/dist/types/antifraud.d.ts +27 -5
  249. package/dist/types/authentication.d.ts +27 -5
  250. package/dist/types/certificate-issuance.d.ts +27 -5
  251. package/dist/types/consent.d.ts +27 -3
  252. package/dist/types/cross-document-data-match.d.ts +32 -2
  253. package/dist/types/curp-validation.d.ts +27 -5
  254. package/dist/types/document-capture.d.ts +32 -2
  255. package/dist/types/dynamic-forms.d.ts +27 -5
  256. package/dist/types/ekyb.d.ts +32 -2
  257. package/dist/types/ekyc.d.ts +32 -2
  258. package/dist/types/electronic-signature.d.ts +27 -5
  259. package/dist/types/email.d.ts +27 -3
  260. package/dist/types/extensibility.d.ts +135 -27
  261. package/dist/types/face-match.d.ts +32 -2
  262. package/dist/types/field-comparison.d.ts +32 -2
  263. package/dist/types/fiscal-qr.d.ts +27 -3
  264. package/dist/types/flow.d.ts +27 -3
  265. package/dist/types/geolocation.d.ts +27 -3
  266. package/dist/types/government-validation.d.ts +32 -2
  267. package/dist/types/id-selfie-flow.d.ts +27 -14
  268. package/dist/types/id-verification.d.ts +27 -5
  269. package/dist/types/id.d.ts +27 -3
  270. package/dist/types/identity-reuse.d.ts +27 -5
  271. package/dist/types/index.d.ts +52 -1
  272. package/dist/types/phone.d.ts +27 -3
  273. package/dist/types/qe-signature.d.ts +27 -5
  274. package/dist/types/selfie.d.ts +27 -3
  275. package/dist/types/signature.d.ts +27 -5
  276. package/dist/types/video-selfie.d.ts +5 -2
  277. package/dist/types/watchlist.d.ts +27 -5
  278. package/dist/types/workflow.d.ts +50 -4
  279. package/dist/{typography-Ck7V6DNZ.js → typography-CVggEHuL.js} +1 -1
  280. package/dist/{uiConfig-Dd7jp1PI.js → uiConfig-CzjzpmLx.js} +256 -874
  281. package/dist/{uk-UA-D6AgqKAE.js → uk-UA-D8etJPYS.js} +33 -6
  282. package/dist/{uk-BLrKoj8p.js → uk-XbgXa2Ga.js} +32 -5
  283. package/dist/{ur-uciedoGK.js → ur-EvEZPGeH.js} +32 -5
  284. package/dist/useCaptureHelpButton-Dh2rCLy1.js +86 -0
  285. package/dist/useCoverMedia-VLw3OYN_.js +149 -0
  286. package/dist/{uz-D1RcQJml.js → uz-CLNoByCo.js} +32 -5
  287. package/dist/{verificationResult-CMeZfcp-.js → verificationResult-CZbJPu23.js} +6 -6
  288. package/dist/{vi-ftDWx05b.js → vi-Drg8ZYY0.js} +32 -5
  289. package/dist/video-selfie/styles.css +1 -864
  290. package/dist/video-selfie/styles.css.js +1 -1
  291. package/dist/video-selfie/video-selfie.es.js +15 -12
  292. package/dist/watchlist/watchlist.es.js +6 -6
  293. package/dist/watchlist-for-business/styles.css +1 -17
  294. package/dist/watchlist-for-business/styles.css.js +1 -1
  295. package/dist/{watchlistForBusiness-CAVtOlvf.js → watchlistForBusiness-CjEsaTUW.js} +265 -8
  296. package/dist/{resolveApiKey-uVJm2km3.js → withEndScreenTexts-CFZVBpbY.js} +53 -25
  297. package/dist/workflow/styles.css +1 -5116
  298. package/dist/workflow/workflow.es.js +83 -28
  299. package/dist/{zh-CN-C6BX8R6-.js → zh-CN-DgsFb5nA.js} +32 -5
  300. package/dist/{zh-CJ974_0X.js → zh-D9t3i09v.js} +32 -5
  301. package/dist/{zh-HANT-CbCj1ENS.js → zh-HANT-DA0DsBcr.js} +32 -5
  302. package/dist/{zh-TW-DGxz1fli.js → zh-TW-BjJ6hVEd.js} +32 -5
  303. package/package.json +8 -6
  304. package/dist/back-horizontal-hint-UQ7Nof6k.js +0 -137
  305. package/dist/back-vertical-hint-Crc8ybfk.js +0 -128
  306. package/dist/cameraOverlay-Dp8micQ1.js +0 -2
  307. package/dist/cameraOverlayHeader-BMfNitmC.js +0 -43
  308. package/dist/captureFooter-xMZdYH2O.js +0 -67
  309. package/dist/connectionError-BhxGYSwy.js +0 -45
  310. package/dist/countries-5e8kwG_m.js +0 -8560
  311. package/dist/dateInputComposed-DM6MXdpn.js +0 -1
  312. package/dist/denied-PJnw8fbL.js +0 -2191
  313. package/dist/documentCapture-Bcw3g1Q1.js +0 -2
  314. package/dist/dropdownComposed-C2bmup-w.js +0 -1
  315. package/dist/ekybModule-DHJWniii.js +0 -2
  316. package/dist/ekycModule-5d4qgrAk.js +0 -2
  317. package/dist/faceMatch-B7ayVA3N.js +0 -2
  318. package/dist/faceMatch-Tj39bhkm.js +0 -334
  319. package/dist/fieldComparison-75FGbygj.js +0 -2
  320. package/dist/finalSuccessScreen-ikiIjPhC.js +0 -499
  321. package/dist/front-horizontal-hint-mgovnJf3.js +0 -380
  322. package/dist/icons-DO-rf5yd.js +0 -533
  323. package/dist/id-back-of-card-B6EcmiCs.js +0 -83
  324. package/dist/id-back-of-card-vertical-B3FXhPpj.js +0 -88
  325. package/dist/id-front-of-card-V_BlLaZr.js +0 -308
  326. package/dist/id-front-of-card-vertical-CuZjL8kc.js +0 -278
  327. package/dist/incode-logo-BzJOZr3f.js +0 -4
  328. package/dist/incodeModule-n_Am6zwM.js +0 -31
  329. package/dist/inputComposed-B33LMERA.js +0 -1
  330. package/dist/modal-DNfrzKC7.js +0 -140
  331. package/dist/modal.hooks-B0Wrc9s2.js +0 -201
  332. package/dist/pdfViewer-CygtdQPU.js +0 -149
  333. package/dist/pdfViewer-Yf7ZKXLz.js +0 -2
  334. package/dist/phoneInputComposed-7i6GGW1B.js +0 -3751
  335. package/dist/radioGroupComposed-Bm3iEn-6.js +0 -1
  336. package/dist/tabs-CW12_glt.js +0 -104
  337. /package/dist/{aligndevicelottie-B12hbVhG.js → aligndevicelottie-BARt-rhe.js} +0 -0
  338. /package/dist/{back-tutorial-XdmQ0Wml.js → back-tutorial-CZrMmj1_.js} +0 -0
  339. /package/dist/{backdevicelottie-m_DOD8xE.js → backdevicelottie-CIM3ekd8.js} +0 -0
  340. /package/dist/{blurdevicelottie-DQo_hTMD.js → blurdevicelottie-BRyXfLB6.js} +0 -0
  341. /package/dist/{browser-ponyfill-ZkeBm4ji.js → browser-ponyfill-DT11p-Ob.js} +0 -0
  342. /package/dist/{defineProperty-BojnCa44.js → defineProperty-CjeJoXkx.js} +0 -0
  343. /package/dist/{flip-animation-VicedlT5.js → flip-animation-BU5LNKYx.js} +0 -0
  344. /package/dist/{frontdevicelottie-CyIerlMv.js → frontdevicelottie-arpyu_Fz.js} +0 -0
  345. /package/dist/{glaredevicelottie-QM2C6Ivp.js → glaredevicelottie-TwTFxe7h.js} +0 -0
  346. /package/dist/{id-laser-h-B0-iXcvl.js → id-laser-h-Dr-hBxrq.js} +0 -0
  347. /package/dist/{id-laser-v-Bqh6vimi.js → id-laser-v-D_r0QNY8.js} +0 -0
  348. /package/dist/{id-tutorial-IhmAzrIF.js → id-tutorial-DM9Pkfs-.js} +0 -0
  349. /package/dist/{lottie_light-CzZ3CHBk.js → lottie_light-aMg9Q9iO.js} +0 -0
  350. /package/dist/{numberedStep-C8e_uPaz.js → numberedStep-CvbL3ht2.js} +0 -0
  351. /package/dist/{passport-tutorial-61vlloJS.js → passport-tutorial-CKZZuDf_.js} +0 -0
  352. /package/dist/{registerIncodeElement-CbZczi4S.js → registerIncodeElement-D_cn4dSI.js} +0 -0
  353. /package/dist/{selfieTutorial-BRQ2QNxQ.js → selfieTutorial-Dz6lDFMn.js} +0 -0
  354. /package/dist/{useModuleLoader-DpcbSKBH.js → useModuleLoader-BdIp6TNQ.js} +0 -0
@@ -1,4 +1,3 @@
1
- import { r as __toESM } from "./rolldown-runtime--E5BIlTp.js";
2
1
  import { S as k, _ as y, f as d, h as q, r as C, u as T, v as u, y as K } from "./vendor-preact-C0jX1Cbq.js";
3
2
  //#region ../../node_modules/.pnpm/i18next@25.7.1_typescript@5.9.3/node_modules/i18next/dist/esm/i18next.js
4
3
  var isString = (obj) => typeof obj === "string";
@@ -1943,846 +1942,91 @@ instance.hasLoadedNamespace;
1943
1942
  instance.loadNamespaces;
1944
1943
  instance.loadLanguages;
1945
1944
  //#endregion
1946
- //#region ../../node_modules/.pnpm/i18next-browser-languagedetector@8.2.0/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js
1947
- var { slice: slice$1, forEach } = [];
1948
- function defaults(obj) {
1949
- forEach.call(slice$1.call(arguments, 1), (source) => {
1950
- if (source) {
1951
- for (const prop in source) if (obj[prop] === void 0) obj[prop] = source[prop];
1952
- }
1953
- });
1954
- return obj;
1955
- }
1956
- function hasXSS(input) {
1957
- if (typeof input !== "string") return false;
1958
- return [
1959
- /<\s*script.*?>/i,
1960
- /<\s*\/\s*script\s*>/i,
1961
- /<\s*img.*?on\w+\s*=/i,
1962
- /<\s*\w+\s*on\w+\s*=.*?>/i,
1963
- /javascript\s*:/i,
1964
- /vbscript\s*:/i,
1965
- /expression\s*\(/i,
1966
- /eval\s*\(/i,
1967
- /alert\s*\(/i,
1968
- /document\.cookie/i,
1969
- /document\.write\s*\(/i,
1970
- /window\.location/i,
1971
- /innerHTML/i
1972
- ].some((pattern) => pattern.test(input));
1973
- }
1974
- var fieldContentRegExp = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;
1975
- var serializeCookie = function(name, val) {
1976
- const opt = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : { path: "/" };
1977
- let str = `${name}=${encodeURIComponent(val)}`;
1978
- if (opt.maxAge > 0) {
1979
- const maxAge = opt.maxAge - 0;
1980
- if (Number.isNaN(maxAge)) throw new Error("maxAge should be a Number");
1981
- str += `; Max-Age=${Math.floor(maxAge)}`;
1982
- }
1983
- if (opt.domain) {
1984
- if (!fieldContentRegExp.test(opt.domain)) throw new TypeError("option domain is invalid");
1985
- str += `; Domain=${opt.domain}`;
1986
- }
1987
- if (opt.path) {
1988
- if (!fieldContentRegExp.test(opt.path)) throw new TypeError("option path is invalid");
1989
- str += `; Path=${opt.path}`;
1990
- }
1991
- if (opt.expires) {
1992
- if (typeof opt.expires.toUTCString !== "function") throw new TypeError("option expires is invalid");
1993
- str += `; Expires=${opt.expires.toUTCString()}`;
1994
- }
1995
- if (opt.httpOnly) str += "; HttpOnly";
1996
- if (opt.secure) str += "; Secure";
1997
- if (opt.sameSite) switch (typeof opt.sameSite === "string" ? opt.sameSite.toLowerCase() : opt.sameSite) {
1998
- case true:
1999
- str += "; SameSite=Strict";
2000
- break;
2001
- case "lax":
2002
- str += "; SameSite=Lax";
2003
- break;
2004
- case "strict":
2005
- str += "; SameSite=Strict";
2006
- break;
2007
- case "none":
2008
- str += "; SameSite=None";
2009
- break;
2010
- default: throw new TypeError("option sameSite is invalid");
2011
- }
2012
- if (opt.partitioned) str += "; Partitioned";
2013
- return str;
2014
- };
2015
- var cookie = {
2016
- create(name, value, minutes, domain) {
2017
- let cookieOptions = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
2018
- path: "/",
2019
- sameSite: "strict"
2020
- };
2021
- if (minutes) {
2022
- cookieOptions.expires = /* @__PURE__ */ new Date();
2023
- cookieOptions.expires.setTime(cookieOptions.expires.getTime() + minutes * 60 * 1e3);
2024
- }
2025
- if (domain) cookieOptions.domain = domain;
2026
- document.cookie = serializeCookie(name, value, cookieOptions);
2027
- },
2028
- read(name) {
2029
- const nameEQ = `${name}=`;
2030
- const ca = document.cookie.split(";");
2031
- for (let i = 0; i < ca.length; i++) {
2032
- let c = ca[i];
2033
- while (c.charAt(0) === " ") c = c.substring(1, c.length);
2034
- if (c.indexOf(nameEQ) === 0) return c.substring(nameEQ.length, c.length);
2035
- }
2036
- return null;
2037
- },
2038
- remove(name, domain) {
2039
- this.create(name, "", -1, domain);
2040
- }
2041
- };
2042
- var cookie$1 = {
2043
- name: "cookie",
2044
- lookup(_ref) {
2045
- let { lookupCookie } = _ref;
2046
- if (lookupCookie && typeof document !== "undefined") return cookie.read(lookupCookie) || void 0;
2047
- },
2048
- cacheUserLanguage(lng, _ref2) {
2049
- let { lookupCookie, cookieMinutes, cookieDomain, cookieOptions } = _ref2;
2050
- if (lookupCookie && typeof document !== "undefined") cookie.create(lookupCookie, lng, cookieMinutes, cookieDomain, cookieOptions);
2051
- }
2052
- };
2053
- var querystring = {
2054
- name: "querystring",
2055
- lookup(_ref) {
2056
- let { lookupQuerystring } = _ref;
2057
- let found;
2058
- if (typeof window !== "undefined") {
2059
- let { search } = window.location;
2060
- if (!window.location.search && window.location.hash?.indexOf("?") > -1) search = window.location.hash.substring(window.location.hash.indexOf("?"));
2061
- const params = search.substring(1).split("&");
2062
- for (let i = 0; i < params.length; i++) {
2063
- const pos = params[i].indexOf("=");
2064
- if (pos > 0) {
2065
- if (params[i].substring(0, pos) === lookupQuerystring) found = params[i].substring(pos + 1);
2066
- }
2067
- }
2068
- }
2069
- return found;
2070
- }
2071
- };
2072
- var hash = {
2073
- name: "hash",
2074
- lookup(_ref) {
2075
- let { lookupHash, lookupFromHashIndex } = _ref;
2076
- let found;
2077
- if (typeof window !== "undefined") {
2078
- const { hash } = window.location;
2079
- if (hash && hash.length > 2) {
2080
- const query = hash.substring(1);
2081
- if (lookupHash) {
2082
- const params = query.split("&");
2083
- for (let i = 0; i < params.length; i++) {
2084
- const pos = params[i].indexOf("=");
2085
- if (pos > 0) {
2086
- if (params[i].substring(0, pos) === lookupHash) found = params[i].substring(pos + 1);
2087
- }
2088
- }
2089
- }
2090
- if (found) return found;
2091
- if (!found && lookupFromHashIndex > -1) {
2092
- const language = hash.match(/\/([a-zA-Z-]*)/g);
2093
- if (!Array.isArray(language)) return void 0;
2094
- return language[typeof lookupFromHashIndex === "number" ? lookupFromHashIndex : 0]?.replace("/", "");
2095
- }
2096
- }
2097
- }
2098
- return found;
2099
- }
2100
- };
2101
- var hasLocalStorageSupport = null;
2102
- var localStorageAvailable = () => {
2103
- if (hasLocalStorageSupport !== null) return hasLocalStorageSupport;
2104
- try {
2105
- hasLocalStorageSupport = typeof window !== "undefined" && window.localStorage !== null;
2106
- if (!hasLocalStorageSupport) return false;
2107
- const testKey = "i18next.translate.boo";
2108
- window.localStorage.setItem(testKey, "foo");
2109
- window.localStorage.removeItem(testKey);
2110
- } catch (e) {
2111
- hasLocalStorageSupport = false;
2112
- }
2113
- return hasLocalStorageSupport;
2114
- };
2115
- var localStorage$1 = {
2116
- name: "localStorage",
2117
- lookup(_ref) {
2118
- let { lookupLocalStorage } = _ref;
2119
- if (lookupLocalStorage && localStorageAvailable()) return window.localStorage.getItem(lookupLocalStorage) || void 0;
2120
- },
2121
- cacheUserLanguage(lng, _ref2) {
2122
- let { lookupLocalStorage } = _ref2;
2123
- if (lookupLocalStorage && localStorageAvailable()) window.localStorage.setItem(lookupLocalStorage, lng);
2124
- }
2125
- };
2126
- var hasSessionStorageSupport = null;
2127
- var sessionStorageAvailable = () => {
2128
- if (hasSessionStorageSupport !== null) return hasSessionStorageSupport;
2129
- try {
2130
- hasSessionStorageSupport = typeof window !== "undefined" && window.sessionStorage !== null;
2131
- if (!hasSessionStorageSupport) return false;
2132
- const testKey = "i18next.translate.boo";
2133
- window.sessionStorage.setItem(testKey, "foo");
2134
- window.sessionStorage.removeItem(testKey);
2135
- } catch (e) {
2136
- hasSessionStorageSupport = false;
2137
- }
2138
- return hasSessionStorageSupport;
2139
- };
2140
- var sessionStorage = {
2141
- name: "sessionStorage",
2142
- lookup(_ref) {
2143
- let { lookupSessionStorage } = _ref;
2144
- if (lookupSessionStorage && sessionStorageAvailable()) return window.sessionStorage.getItem(lookupSessionStorage) || void 0;
2145
- },
2146
- cacheUserLanguage(lng, _ref2) {
2147
- let { lookupSessionStorage } = _ref2;
2148
- if (lookupSessionStorage && sessionStorageAvailable()) window.sessionStorage.setItem(lookupSessionStorage, lng);
2149
- }
2150
- };
2151
- var navigator$1 = {
2152
- name: "navigator",
2153
- lookup(options) {
2154
- const found = [];
2155
- if (typeof navigator !== "undefined") {
2156
- const { languages, userLanguage, language } = navigator;
2157
- if (languages) for (let i = 0; i < languages.length; i++) found.push(languages[i]);
2158
- if (userLanguage) found.push(userLanguage);
2159
- if (language) found.push(language);
2160
- }
2161
- return found.length > 0 ? found : void 0;
2162
- }
2163
- };
2164
- var htmlTag = {
2165
- name: "htmlTag",
2166
- lookup(_ref) {
2167
- let { htmlTag } = _ref;
2168
- let found;
2169
- const internalHtmlTag = htmlTag || (typeof document !== "undefined" ? document.documentElement : null);
2170
- if (internalHtmlTag && typeof internalHtmlTag.getAttribute === "function") found = internalHtmlTag.getAttribute("lang");
2171
- return found;
2172
- }
2173
- };
2174
- var path = {
2175
- name: "path",
2176
- lookup(_ref) {
2177
- let { lookupFromPathIndex } = _ref;
2178
- if (typeof window === "undefined") return void 0;
2179
- const language = window.location.pathname.match(/\/([a-zA-Z-]*)/g);
2180
- if (!Array.isArray(language)) return void 0;
2181
- return language[typeof lookupFromPathIndex === "number" ? lookupFromPathIndex : 0]?.replace("/", "");
2182
- }
2183
- };
2184
- var subdomain = {
2185
- name: "subdomain",
2186
- lookup(_ref) {
2187
- let { lookupFromSubdomainIndex } = _ref;
2188
- const internalLookupFromSubdomainIndex = typeof lookupFromSubdomainIndex === "number" ? lookupFromSubdomainIndex + 1 : 1;
2189
- const language = typeof window !== "undefined" && window.location?.hostname?.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);
2190
- if (!language) return void 0;
2191
- return language[internalLookupFromSubdomainIndex];
2192
- }
2193
- };
2194
- var canCookies = false;
2195
- try {
2196
- document.cookie;
2197
- canCookies = true;
2198
- } catch (e) {}
2199
- var order = [
2200
- "querystring",
2201
- "cookie",
2202
- "localStorage",
2203
- "sessionStorage",
2204
- "navigator",
2205
- "htmlTag"
2206
- ];
2207
- if (!canCookies) order.splice(1, 1);
2208
- var getDefaults$1 = () => ({
2209
- order,
2210
- lookupQuerystring: "lng",
2211
- lookupCookie: "i18next",
2212
- lookupLocalStorage: "i18nextLng",
2213
- lookupSessionStorage: "i18nextLng",
2214
- caches: ["localStorage"],
2215
- excludeCacheFor: ["cimode"],
2216
- convertDetectedLanguage: (l) => l
2217
- });
2218
- var Browser = class {
2219
- constructor(services) {
2220
- let options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2221
- this.type = "languageDetector";
2222
- this.detectors = {};
2223
- this.init(services, options);
2224
- }
2225
- init() {
2226
- let services = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : { languageUtils: {} };
2227
- let options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2228
- let i18nOptions = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
2229
- this.services = services;
2230
- this.options = defaults(options, this.options || {}, getDefaults$1());
2231
- if (typeof this.options.convertDetectedLanguage === "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1) this.options.convertDetectedLanguage = (l) => l.replace("-", "_");
2232
- if (this.options.lookupFromUrlIndex) this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex;
2233
- this.i18nOptions = i18nOptions;
2234
- this.addDetector(cookie$1);
2235
- this.addDetector(querystring);
2236
- this.addDetector(localStorage$1);
2237
- this.addDetector(sessionStorage);
2238
- this.addDetector(navigator$1);
2239
- this.addDetector(htmlTag);
2240
- this.addDetector(path);
2241
- this.addDetector(subdomain);
2242
- this.addDetector(hash);
2243
- }
2244
- addDetector(detector) {
2245
- this.detectors[detector.name] = detector;
2246
- return this;
2247
- }
2248
- detect() {
2249
- let detectionOrder = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.options.order;
2250
- let detected = [];
2251
- detectionOrder.forEach((detectorName) => {
2252
- if (this.detectors[detectorName]) {
2253
- let lookup = this.detectors[detectorName].lookup(this.options);
2254
- if (lookup && typeof lookup === "string") lookup = [lookup];
2255
- if (lookup) detected = detected.concat(lookup);
2256
- }
2257
- });
2258
- detected = detected.filter((d) => d !== void 0 && d !== null && !hasXSS(d)).map((d) => this.options.convertDetectedLanguage(d));
2259
- if (this.services && this.services.languageUtils && this.services.languageUtils.getBestMatchFromCodes) return detected;
2260
- return detected.length > 0 ? detected[0] : null;
2261
- }
2262
- cacheUserLanguage(lng) {
2263
- let caches = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.options.caches;
2264
- if (!caches) return;
2265
- if (this.options.excludeCacheFor && this.options.excludeCacheFor.indexOf(lng) > -1) return;
2266
- caches.forEach((cacheName) => {
2267
- if (this.detectors[cacheName]) this.detectors[cacheName].cacheUserLanguage(lng, this.options);
2268
- });
2269
- }
2270
- };
2271
- Browser.type = "languageDetector";
2272
- //#endregion
2273
- //#region ../../node_modules/.pnpm/i18next-http-backend@3.0.2/node_modules/i18next-http-backend/esm/utils.js
2274
- function _typeof$2(o) {
2275
- "@babel/helpers - typeof";
2276
- return _typeof$2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
2277
- return typeof o;
2278
- } : function(o) {
2279
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
2280
- }, _typeof$2(o);
2281
- }
2282
- var arr = [];
2283
- arr.forEach;
2284
- arr.slice;
2285
- function hasXMLHttpRequest() {
2286
- return typeof XMLHttpRequest === "function" || (typeof XMLHttpRequest === "undefined" ? "undefined" : _typeof$2(XMLHttpRequest)) === "object";
2287
- }
2288
- function isPromise(maybePromise) {
2289
- return !!maybePromise && typeof maybePromise.then === "function";
2290
- }
2291
- function makePromise(maybePromise) {
2292
- if (isPromise(maybePromise)) return maybePromise;
2293
- return Promise.resolve(maybePromise);
2294
- }
2295
- //#endregion
2296
- //#region ../../node_modules/.pnpm/i18next-http-backend@3.0.2/node_modules/i18next-http-backend/esm/request.js
2297
- function ownKeys$1(e, r) {
2298
- var t = Object.keys(e);
2299
- if (Object.getOwnPropertySymbols) {
2300
- var o = Object.getOwnPropertySymbols(e);
2301
- r && (o = o.filter(function(r) {
2302
- return Object.getOwnPropertyDescriptor(e, r).enumerable;
2303
- })), t.push.apply(t, o);
2304
- }
2305
- return t;
2306
- }
2307
- function _objectSpread$1(e) {
2308
- for (var r = 1; r < arguments.length; r++) {
2309
- var t = null != arguments[r] ? arguments[r] : {};
2310
- r % 2 ? ownKeys$1(Object(t), !0).forEach(function(r) {
2311
- _defineProperty$1(e, r, t[r]);
2312
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function(r) {
2313
- Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
2314
- });
2315
- }
2316
- return e;
2317
- }
2318
- function _defineProperty$1(e, r, t) {
2319
- return (r = _toPropertyKey$1(r)) in e ? Object.defineProperty(e, r, {
2320
- value: t,
2321
- enumerable: !0,
2322
- configurable: !0,
2323
- writable: !0
2324
- }) : e[r] = t, e;
2325
- }
2326
- function _toPropertyKey$1(t) {
2327
- var i = _toPrimitive$1(t, "string");
2328
- return "symbol" == _typeof$1(i) ? i : i + "";
2329
- }
2330
- function _toPrimitive$1(t, r) {
2331
- if ("object" != _typeof$1(t) || !t) return t;
2332
- var e = t[Symbol.toPrimitive];
2333
- if (void 0 !== e) {
2334
- var i = e.call(t, r || "default");
2335
- if ("object" != _typeof$1(i)) return i;
2336
- throw new TypeError("@@toPrimitive must return a primitive value.");
2337
- }
2338
- return ("string" === r ? String : Number)(t);
2339
- }
2340
- function _typeof$1(o) {
2341
- "@babel/helpers - typeof";
2342
- return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
2343
- return typeof o;
2344
- } : function(o) {
2345
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
2346
- }, _typeof$1(o);
2347
- }
2348
- var fetchApi = typeof fetch === "function" ? fetch : void 0;
2349
- if (typeof global !== "undefined" && global.fetch) fetchApi = global.fetch;
2350
- else if (typeof window !== "undefined" && window.fetch) fetchApi = window.fetch;
2351
- var XmlHttpRequestApi;
2352
- if (hasXMLHttpRequest()) {
2353
- if (typeof global !== "undefined" && global.XMLHttpRequest) XmlHttpRequestApi = global.XMLHttpRequest;
2354
- else if (typeof window !== "undefined" && window.XMLHttpRequest) XmlHttpRequestApi = window.XMLHttpRequest;
2355
- }
2356
- var ActiveXObjectApi;
2357
- if (typeof ActiveXObject === "function") {
2358
- if (typeof global !== "undefined" && global.ActiveXObject) ActiveXObjectApi = global.ActiveXObject;
2359
- else if (typeof window !== "undefined" && window.ActiveXObject) ActiveXObjectApi = window.ActiveXObject;
2360
- }
2361
- if (typeof fetchApi !== "function") fetchApi = void 0;
2362
- if (!fetchApi && !XmlHttpRequestApi && !ActiveXObjectApi) try {
2363
- import("./browser-ponyfill-ZkeBm4ji.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1)).then(function(mod) {
2364
- fetchApi = mod.default;
2365
- }).catch(function() {});
2366
- } catch (e) {}
2367
- var addQueryString = function addQueryString(url, params) {
2368
- if (params && _typeof$1(params) === "object") {
2369
- var queryString = "";
2370
- for (var paramName in params) queryString += "&" + encodeURIComponent(paramName) + "=" + encodeURIComponent(params[paramName]);
2371
- if (!queryString) return url;
2372
- url = url + (url.indexOf("?") !== -1 ? "&" : "?") + queryString.slice(1);
2373
- }
2374
- return url;
2375
- };
2376
- var fetchIt = function fetchIt(url, fetchOptions, callback, altFetch) {
2377
- var resolver = function resolver(response) {
2378
- if (!response.ok) return callback(response.statusText || "Error", { status: response.status });
2379
- response.text().then(function(data) {
2380
- callback(null, {
2381
- status: response.status,
2382
- data
2383
- });
2384
- }).catch(callback);
2385
- };
2386
- if (altFetch) {
2387
- var altResponse = altFetch(url, fetchOptions);
2388
- if (altResponse instanceof Promise) {
2389
- altResponse.then(resolver).catch(callback);
2390
- return;
2391
- }
2392
- }
2393
- if (typeof fetch === "function") fetch(url, fetchOptions).then(resolver).catch(callback);
2394
- else fetchApi(url, fetchOptions).then(resolver).catch(callback);
2395
- };
2396
- var omitFetchOptions = false;
2397
- var requestWithFetch = function requestWithFetch(options, url, payload, callback) {
2398
- if (options.queryStringParams) url = addQueryString(url, options.queryStringParams);
2399
- var headers = _objectSpread$1({}, typeof options.customHeaders === "function" ? options.customHeaders() : options.customHeaders);
2400
- if (typeof window === "undefined" && typeof global !== "undefined" && typeof global.process !== "undefined" && global.process.versions && global.process.versions.node) headers["User-Agent"] = "i18next-http-backend (node/".concat(global.process.version, "; ").concat(global.process.platform, " ").concat(global.process.arch, ")");
2401
- if (payload) headers["Content-Type"] = "application/json";
2402
- var reqOptions = typeof options.requestOptions === "function" ? options.requestOptions(payload) : options.requestOptions;
2403
- var fetchOptions = _objectSpread$1({
2404
- method: payload ? "POST" : "GET",
2405
- body: payload ? options.stringify(payload) : void 0,
2406
- headers
2407
- }, omitFetchOptions ? {} : reqOptions);
2408
- var altFetch = typeof options.alternateFetch === "function" && options.alternateFetch.length >= 1 ? options.alternateFetch : void 0;
2409
- try {
2410
- fetchIt(url, fetchOptions, callback, altFetch);
2411
- } catch (e) {
2412
- if (!reqOptions || Object.keys(reqOptions).length === 0 || !e.message || e.message.indexOf("not implemented") < 0) return callback(e);
2413
- try {
2414
- Object.keys(reqOptions).forEach(function(opt) {
2415
- delete fetchOptions[opt];
2416
- });
2417
- fetchIt(url, fetchOptions, callback, altFetch);
2418
- omitFetchOptions = true;
2419
- } catch (err) {
2420
- callback(err);
2421
- }
2422
- }
2423
- };
2424
- var requestWithXmlHttpRequest = function requestWithXmlHttpRequest(options, url, payload, callback) {
2425
- if (payload && _typeof$1(payload) === "object") payload = addQueryString("", payload).slice(1);
2426
- if (options.queryStringParams) url = addQueryString(url, options.queryStringParams);
2427
- try {
2428
- var x = XmlHttpRequestApi ? new XmlHttpRequestApi() : new ActiveXObjectApi("MSXML2.XMLHTTP.3.0");
2429
- x.open(payload ? "POST" : "GET", url, 1);
2430
- if (!options.crossDomain) x.setRequestHeader("X-Requested-With", "XMLHttpRequest");
2431
- x.withCredentials = !!options.withCredentials;
2432
- if (payload) x.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
2433
- if (x.overrideMimeType) x.overrideMimeType("application/json");
2434
- var h = options.customHeaders;
2435
- h = typeof h === "function" ? h() : h;
2436
- if (h) for (var i in h) x.setRequestHeader(i, h[i]);
2437
- x.onreadystatechange = function() {
2438
- x.readyState > 3 && callback(x.status >= 400 ? x.statusText : null, {
2439
- status: x.status,
2440
- data: x.responseText
2441
- });
2442
- };
2443
- x.send(payload);
2444
- } catch (e) {
2445
- console && console.log(e);
2446
- }
2447
- };
2448
- var request = function request(options, url, payload, callback) {
2449
- if (typeof payload === "function") {
2450
- callback = payload;
2451
- payload = void 0;
2452
- }
2453
- callback = callback || function() {};
2454
- if (fetchApi && url.indexOf("file:") !== 0) return requestWithFetch(options, url, payload, callback);
2455
- if (hasXMLHttpRequest() || typeof ActiveXObject === "function") return requestWithXmlHttpRequest(options, url, payload, callback);
2456
- callback(/* @__PURE__ */ new Error("No fetch and no xhr implementation found!"));
2457
- };
2458
- //#endregion
2459
- //#region ../../node_modules/.pnpm/i18next-http-backend@3.0.2/node_modules/i18next-http-backend/esm/index.js
2460
- function _typeof(o) {
2461
- "@babel/helpers - typeof";
2462
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
2463
- return typeof o;
2464
- } : function(o) {
2465
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
2466
- }, _typeof(o);
2467
- }
2468
- function ownKeys(e, r) {
2469
- var t = Object.keys(e);
2470
- if (Object.getOwnPropertySymbols) {
2471
- var o = Object.getOwnPropertySymbols(e);
2472
- r && (o = o.filter(function(r) {
2473
- return Object.getOwnPropertyDescriptor(e, r).enumerable;
2474
- })), t.push.apply(t, o);
2475
- }
2476
- return t;
2477
- }
2478
- function _objectSpread(e) {
2479
- for (var r = 1; r < arguments.length; r++) {
2480
- var t = null != arguments[r] ? arguments[r] : {};
2481
- r % 2 ? ownKeys(Object(t), !0).forEach(function(r) {
2482
- _defineProperty(e, r, t[r]);
2483
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r) {
2484
- Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
2485
- });
2486
- }
2487
- return e;
2488
- }
2489
- function _classCallCheck(a, n) {
2490
- if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
2491
- }
2492
- function _defineProperties(e, r) {
2493
- for (var t = 0; t < r.length; t++) {
2494
- var o = r[t];
2495
- o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
2496
- }
2497
- }
2498
- function _createClass(e, r, t) {
2499
- return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
2500
- }
2501
- function _defineProperty(e, r, t) {
2502
- return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
2503
- value: t,
2504
- enumerable: !0,
2505
- configurable: !0,
2506
- writable: !0
2507
- }) : e[r] = t, e;
2508
- }
2509
- function _toPropertyKey(t) {
2510
- var i = _toPrimitive(t, "string");
2511
- return "symbol" == _typeof(i) ? i : i + "";
2512
- }
2513
- function _toPrimitive(t, r) {
2514
- if ("object" != _typeof(t) || !t) return t;
2515
- var e = t[Symbol.toPrimitive];
2516
- if (void 0 !== e) {
2517
- var i = e.call(t, r || "default");
2518
- if ("object" != _typeof(i)) return i;
2519
- throw new TypeError("@@toPrimitive must return a primitive value.");
2520
- }
2521
- return ("string" === r ? String : Number)(t);
2522
- }
2523
- var getDefaults = function getDefaults() {
2524
- return {
2525
- loadPath: "/locales/{{lng}}/{{ns}}.json",
2526
- addPath: "/locales/add/{{lng}}/{{ns}}",
2527
- parse: function parse(data) {
2528
- return JSON.parse(data);
2529
- },
2530
- stringify: JSON.stringify,
2531
- parsePayload: function parsePayload(namespace, key, fallbackValue) {
2532
- return _defineProperty({}, key, fallbackValue || "");
2533
- },
2534
- parseLoadPayload: function parseLoadPayload(languages, namespaces) {},
2535
- request,
2536
- reloadInterval: typeof window !== "undefined" ? false : 3600 * 1e3,
2537
- customHeaders: {},
2538
- queryStringParams: {},
2539
- crossDomain: false,
2540
- withCredentials: false,
2541
- overrideMimeType: false,
2542
- requestOptions: {
2543
- mode: "cors",
2544
- credentials: "same-origin",
2545
- cache: "default"
2546
- }
2547
- };
2548
- };
2549
- var Backend = function() {
2550
- function Backend(services) {
2551
- var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2552
- var allOptions = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
2553
- _classCallCheck(this, Backend);
2554
- this.services = services;
2555
- this.options = options;
2556
- this.allOptions = allOptions;
2557
- this.type = "backend";
2558
- this.init(services, options, allOptions);
2559
- }
2560
- return _createClass(Backend, [
2561
- {
2562
- key: "init",
2563
- value: function init(services) {
2564
- var _this = this;
2565
- var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2566
- var allOptions = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
2567
- this.services = services;
2568
- this.options = _objectSpread(_objectSpread(_objectSpread({}, getDefaults()), this.options || {}), options);
2569
- this.allOptions = allOptions;
2570
- if (this.services && this.options.reloadInterval) {
2571
- var timer = setInterval(function() {
2572
- return _this.reload();
2573
- }, this.options.reloadInterval);
2574
- if (_typeof(timer) === "object" && typeof timer.unref === "function") timer.unref();
2575
- }
2576
- }
2577
- },
2578
- {
2579
- key: "readMulti",
2580
- value: function readMulti(languages, namespaces, callback) {
2581
- this._readAny(languages, languages, namespaces, namespaces, callback);
2582
- }
2583
- },
2584
- {
2585
- key: "read",
2586
- value: function read(language, namespace, callback) {
2587
- this._readAny([language], language, [namespace], namespace, callback);
2588
- }
2589
- },
2590
- {
2591
- key: "_readAny",
2592
- value: function _readAny(languages, loadUrlLanguages, namespaces, loadUrlNamespaces, callback) {
2593
- var _this2 = this;
2594
- var loadPath = this.options.loadPath;
2595
- if (typeof this.options.loadPath === "function") loadPath = this.options.loadPath(languages, namespaces);
2596
- loadPath = makePromise(loadPath);
2597
- loadPath.then(function(resolvedLoadPath) {
2598
- if (!resolvedLoadPath) return callback(null, {});
2599
- var url = _this2.services.interpolator.interpolate(resolvedLoadPath, {
2600
- lng: languages.join("+"),
2601
- ns: namespaces.join("+")
2602
- });
2603
- _this2.loadUrl(url, callback, loadUrlLanguages, loadUrlNamespaces);
2604
- });
2605
- }
2606
- },
2607
- {
2608
- key: "loadUrl",
2609
- value: function loadUrl(url, callback, languages, namespaces) {
2610
- var _this3 = this;
2611
- var lng = typeof languages === "string" ? [languages] : languages;
2612
- var ns = typeof namespaces === "string" ? [namespaces] : namespaces;
2613
- var payload = this.options.parseLoadPayload(lng, ns);
2614
- this.options.request(this.options, url, payload, function(err, res) {
2615
- if (res && (res.status >= 500 && res.status < 600 || !res.status)) return callback("failed loading " + url + "; status code: " + res.status, true);
2616
- if (res && res.status >= 400 && res.status < 500) return callback("failed loading " + url + "; status code: " + res.status, false);
2617
- if (!res && err && err.message) {
2618
- var errorMessage = err.message.toLowerCase();
2619
- if ([
2620
- "failed",
2621
- "fetch",
2622
- "network",
2623
- "load"
2624
- ].find(function(term) {
2625
- return errorMessage.indexOf(term) > -1;
2626
- })) return callback("failed loading " + url + ": " + err.message, true);
2627
- }
2628
- if (err) return callback(err, false);
2629
- var ret, parseErr;
2630
- try {
2631
- if (typeof res.data === "string") ret = _this3.options.parse(res.data, languages, namespaces);
2632
- else ret = res.data;
2633
- } catch (e) {
2634
- parseErr = "failed parsing " + url + " to json";
2635
- }
2636
- if (parseErr) return callback(parseErr, false);
2637
- callback(null, ret);
2638
- });
2639
- }
2640
- },
2641
- {
2642
- key: "create",
2643
- value: function create(languages, namespace, key, fallbackValue, callback) {
2644
- var _this4 = this;
2645
- if (!this.options.addPath) return;
2646
- if (typeof languages === "string") languages = [languages];
2647
- var payload = this.options.parsePayload(namespace, key, fallbackValue);
2648
- var finished = 0;
2649
- var dataArray = [];
2650
- var resArray = [];
2651
- languages.forEach(function(lng) {
2652
- var addPath = _this4.options.addPath;
2653
- if (typeof _this4.options.addPath === "function") addPath = _this4.options.addPath(lng, namespace);
2654
- var url = _this4.services.interpolator.interpolate(addPath, {
2655
- lng,
2656
- ns: namespace
2657
- });
2658
- _this4.options.request(_this4.options, url, payload, function(data, res) {
2659
- finished += 1;
2660
- dataArray.push(data);
2661
- resArray.push(res);
2662
- if (finished === languages.length) {
2663
- if (typeof callback === "function") callback(dataArray, resArray);
2664
- }
2665
- });
2666
- });
2667
- }
2668
- },
2669
- {
2670
- key: "reload",
2671
- value: function reload() {
2672
- var _this5 = this;
2673
- var _this$services = this.services, backendConnector = _this$services.backendConnector, languageUtils = _this$services.languageUtils, logger = _this$services.logger;
2674
- var currentLanguage = backendConnector.language;
2675
- if (currentLanguage && currentLanguage.toLowerCase() === "cimode") return;
2676
- var toLoad = [];
2677
- var append = function append(lng) {
2678
- languageUtils.toResolveHierarchy(lng).forEach(function(l) {
2679
- if (toLoad.indexOf(l) < 0) toLoad.push(l);
2680
- });
2681
- };
2682
- append(currentLanguage);
2683
- if (this.allOptions.preload) this.allOptions.preload.forEach(function(l) {
2684
- return append(l);
2685
- });
2686
- toLoad.forEach(function(lng) {
2687
- _this5.allOptions.ns.forEach(function(ns) {
2688
- backendConnector.read(lng, ns, "read", null, null, function(err, data) {
2689
- if (err) logger.warn("loading namespace ".concat(ns, " for language ").concat(lng, " failed"), err);
2690
- if (!err && data) logger.log("loaded namespace ".concat(ns, " for language ").concat(lng), data);
2691
- backendConnector.loaded("".concat(lng, "|").concat(ns), err, data);
2692
- });
2693
- });
2694
- });
2695
- }
2696
- }
2697
- ]);
2698
- }();
2699
- Backend.type = "backend";
2700
- //#endregion
2701
1945
  //#region src/i18n/bundledTranslationLoaders.ts
2702
1946
  var bundledTranslationLoaders = {
2703
- "en": () => import("./en-ISV8KwbL.js"),
2704
- "en-DG": () => import("./en-DG-Crvtj3p2.js"),
2705
- "es": () => import("./es-1QCV_aoe.js"),
2706
- "es-ES": () => import("./es-ES-BIYzpL_B.js"),
2707
- "sr": () => import("./sr-CXHt_PCR.js"),
2708
- "sr-Latn": () => import("./sr-Latn-BBXL4zhk.js"),
2709
- "fr": () => import("./fr-BwDYP0LQ.js"),
2710
- "pt-BR": () => import("./pt-BR-CZSBmrhf.js"),
2711
- "pt": () => import("./pt-CI9A94gT.js"),
2712
- "bn": () => import("./bn-CKZ00roT.js"),
2713
- "zh": () => import("./zh-CJ974_0X.js"),
2714
- "hi": () => import("./hi-Bp8GM653.js"),
2715
- "id": () => import("./id-D0EG-hya.js"),
2716
- "ms": () => import("./ms-k_GCoKmE.js"),
2717
- "tr": () => import("./tr-DuzhV6aC.js"),
2718
- "vi": () => import("./vi-ftDWx05b.js"),
2719
- "ht": () => import("./ht-BGd4L5Je.js"),
2720
- "it": () => import("./it-DWY7_sYa.js"),
2721
- "de": () => import("./de-BCPdribE.js"),
2722
- "nl": () => import("./nl-DsWJVGHj.js"),
2723
- "tl-PH": () => import("./tl-PH-CbqgynTp.js"),
2724
- "pl": () => import("./pl-B32zvfat.js"),
2725
- "hu": () => import("./hu-BvTVDhN5.js"),
2726
- "ro": () => import("./ro-9pJ4k0ri.js"),
2727
- "hmn": () => import("./hmn-Bj6F8ToZ.js"),
2728
- "so": () => import("./so-BK_1PgA0.js"),
2729
- "ca": () => import("./ca-D3PGkuQc.js"),
2730
- "af-ZA": () => import("./af-ZA-OntsEubt.js"),
2731
- "ar": () => import("./ar-57Dd-l4I.js"),
2732
- "ar-EG": () => import("./ar-EG-BgDjHJBi.js"),
2733
- "ar-AE": () => import("./ar-AE-BfxiKovT.js"),
2734
- "zh-CN": () => import("./zh-CN-C6BX8R6-.js"),
2735
- "zh-TW": () => import("./zh-TW-DGxz1fli.js"),
2736
- "zh-HANT": () => import("./zh-HANT-CbCj1ENS.js"),
2737
- "cs-CZ": () => import("./cs-CZ-CEidLhWp.js"),
2738
- "da-DK": () => import("./da-DK-BuSuFTsg.js"),
2739
- "fi-FI": () => import("./fi-FI-3XXKPtj1.js"),
2740
- "fr-CA": () => import("./fr-CA-DULWz0cf.js"),
2741
- "el-GR": () => import("./el-GR-D6WIhwC3.js"),
2742
- "he": () => import("./he-BZVxeCzZ.js"),
2743
- "ja": () => import("./ja-z6DqLSKX.js"),
2744
- "ja-JP": () => import("./ja-JP-DvHAizEm.js"),
2745
- "ko-KP": () => import("./ko-KP-kVzak00f.js"),
2746
- "nb-NO": () => import("./nb-NO-Ca1WyJtF.js"),
2747
- "fa-IR": () => import("./fa-IR-YnGtqwsy.js"),
2748
- "pt-PT": () => import("./pt-PT-dD8X7Uk-.js"),
2749
- "ru-RU": () => import("./ru-RU-Bbq_NDQg.js"),
2750
- "sr-YU": () => import("./sr-YU-D3DxWT8Q.js"),
2751
- "es-419": () => import("./es-419-pXqNpSti.js"),
2752
- "es-MX": () => import("./es-MX-Cih_nZPr.js"),
2753
- "sv-SE": () => import("./sv-SE-B6_0mJU7.js"),
2754
- "th-TH": () => import("./th-TH-B5S1TAOp.js"),
2755
- "uk-UA": () => import("./uk-UA-D6AgqKAE.js"),
2756
- "am": () => import("./am-yUcnt3vq.js"),
2757
- "az": () => import("./az-dT363k-q.js"),
2758
- "bs": () => import("./bs-BnLdLnmZ.js"),
2759
- "my": () => import("./my-v5GqdpqS.js"),
2760
- "ceb": () => import("./ceb-R-2VANeF.js"),
2761
- "cs": () => import("./cs-bm9MEri0.js"),
2762
- "et": () => import("./et-CgCGIoIQ.js"),
2763
- "ka": () => import("./ka-BvgWMiTW.js"),
2764
- "el": () => import("./el-60ThHM2U.js"),
2765
- "jv": () => import("./jv-CkRJjzon.js"),
2766
- "kk": () => import("./kk-BAYGOXZ1.js"),
2767
- "km": () => import("./km-Bn1-UMaR.js"),
2768
- "ko": () => import("./ko-CtAqOkND.js"),
2769
- "ky": () => import("./ky-Cegtfua2.js"),
2770
- "lo": () => import("./lo-DtW4luOG.js"),
2771
- "lv": () => import("./lv-SBquFvpr.js"),
2772
- "lt": () => import("./lt-CnaDc_UD.js"),
2773
- "mk": () => import("./mk-Bym8Rbmu.js"),
2774
- "mn": () => import("./mn-C-EiXg08.js"),
2775
- "ne": () => import("./ne-DZ1xJQOA.js"),
2776
- "ru": () => import("./ru-DU8F6ner.js"),
2777
- "sk": () => import("./sk-COjINm80.js"),
2778
- "sl": () => import("./sl-BHEN5hgb.js"),
2779
- "sw": () => import("./sw-BUZuOFDH.js"),
2780
- "tl": () => import("./tl-DO_ExzG4.js"),
2781
- "th": () => import("./th-DZN2Iv8L.js"),
2782
- "uk": () => import("./uk-BLrKoj8p.js"),
2783
- "ur": () => import("./ur-uciedoGK.js"),
2784
- "uz": () => import("./uz-D1RcQJml.js"),
2785
- "hr": () => import("./hr-uz9DXHS8.js")
1947
+ "en": () => import("./en-BQfrZw2Q.js"),
1948
+ "en-DG": () => import("./en-DG-Dbay0TVK.js"),
1949
+ "es": () => import("./es-CIaH0_TG.js"),
1950
+ "es-ES": () => import("./es-ES-BAy8H_o4.js"),
1951
+ "sr": () => import("./sr-B5E7ItZS.js"),
1952
+ "sr-Latn": () => import("./sr-Latn-DYffMLFY.js"),
1953
+ "fr": () => import("./fr-DuG6kscd.js"),
1954
+ "pt-BR": () => import("./pt-BR-BBMw-S8O.js"),
1955
+ "pt": () => import("./pt-WGxHmjdN.js"),
1956
+ "bn": () => import("./bn-CXOCkHeB.js"),
1957
+ "zh": () => import("./zh-D9t3i09v.js"),
1958
+ "hi": () => import("./hi-D0rSX1o4.js"),
1959
+ "id": () => import("./id-CKlkbZdM.js"),
1960
+ "ms": () => import("./ms-DmVYGU6Y.js"),
1961
+ "tr": () => import("./tr-BhmOJl6w.js"),
1962
+ "vi": () => import("./vi-Drg8ZYY0.js"),
1963
+ "ht": () => import("./ht-CG8o1xEm.js"),
1964
+ "it": () => import("./it-Ha3KMdAw.js"),
1965
+ "de": () => import("./de-Pw3Ziz4S.js"),
1966
+ "nl": () => import("./nl-CL7EuWSC.js"),
1967
+ "tl-PH": () => import("./tl-PH-C_wJmHt1.js"),
1968
+ "pl": () => import("./pl-9hyt0nnb.js"),
1969
+ "hu": () => import("./hu-BmwC53l2.js"),
1970
+ "ro": () => import("./ro-CRut2TFS.js"),
1971
+ "hmn": () => import("./hmn-DK7VD_xu.js"),
1972
+ "so": () => import("./so-QQqlxuIj.js"),
1973
+ "ca": () => import("./ca-DAE1dQj9.js"),
1974
+ "af-ZA": () => import("./af-ZA-B5RfX0Do.js"),
1975
+ "ar": () => import("./ar-B3gZ5W2R.js"),
1976
+ "ar-EG": () => import("./ar-EG-5pSqEbCR.js"),
1977
+ "ar-AE": () => import("./ar-AE-Dw0claA-.js"),
1978
+ "zh-CN": () => import("./zh-CN-DgsFb5nA.js"),
1979
+ "zh-TW": () => import("./zh-TW-BjJ6hVEd.js"),
1980
+ "zh-HANT": () => import("./zh-HANT-DA0DsBcr.js"),
1981
+ "cs-CZ": () => import("./cs-CZ-CLmA_0jN.js"),
1982
+ "da-DK": () => import("./da-DK-B0G-1XCN.js"),
1983
+ "fi-FI": () => import("./fi-FI-BehaswUi.js"),
1984
+ "fr-CA": () => import("./fr-CA-DZcH7XE0.js"),
1985
+ "el-GR": () => import("./el-GR-fXRg7fVy.js"),
1986
+ "he": () => import("./he-B_PP0efY.js"),
1987
+ "ja": () => import("./ja-BcpfEJD1.js"),
1988
+ "ja-JP": () => import("./ja-JP-6Sg-lS3C.js"),
1989
+ "ko-KP": () => import("./ko-KP-DxNF6PVH.js"),
1990
+ "nb-NO": () => import("./nb-NO-SMmm3cOU.js"),
1991
+ "fa-IR": () => import("./fa-IR-DKPXxDgD.js"),
1992
+ "pt-PT": () => import("./pt-PT-fSxcH0NK.js"),
1993
+ "ru-RU": () => import("./ru-RU-C09Xv3Yg.js"),
1994
+ "sr-YU": () => import("./sr-YU-wTH5Bs0f.js"),
1995
+ "es-419": () => import("./es-419-B494eoOQ.js"),
1996
+ "es-MX": () => import("./es-MX-mRlcVoSi.js"),
1997
+ "sv-SE": () => import("./sv-SE-CWW4jCGJ.js"),
1998
+ "th-TH": () => import("./th-TH-BT3vwWPA.js"),
1999
+ "uk-UA": () => import("./uk-UA-D8etJPYS.js"),
2000
+ "am": () => import("./am-BE3vlUmQ.js"),
2001
+ "az": () => import("./az-CtWu_6fI.js"),
2002
+ "bs": () => import("./bs-B4mczUkN.js"),
2003
+ "my": () => import("./my-DGXxog_l.js"),
2004
+ "ceb": () => import("./ceb-C9GCq8zw.js"),
2005
+ "cs": () => import("./cs-DJEcT5M8.js"),
2006
+ "et": () => import("./et-BsM-KF4Y.js"),
2007
+ "ka": () => import("./ka-DSEmyiG7.js"),
2008
+ "el": () => import("./el-DlcHAcXD.js"),
2009
+ "jv": () => import("./jv-BhDDvojx.js"),
2010
+ "kk": () => import("./kk-DfTBM0Ac.js"),
2011
+ "km": () => import("./km-DSH-1ryG.js"),
2012
+ "ko": () => import("./ko-DmCEEN9O.js"),
2013
+ "ky": () => import("./ky-BYYkLAWt.js"),
2014
+ "lo": () => import("./lo-Dd7cFyNu.js"),
2015
+ "lv": () => import("./lv-DV6PxXYU.js"),
2016
+ "lt": () => import("./lt-DJemxo6s.js"),
2017
+ "mk": () => import("./mk-0GH3TF8e.js"),
2018
+ "mn": () => import("./mn-DhhnhyBd.js"),
2019
+ "ne": () => import("./ne-DVsGmeSd.js"),
2020
+ "ru": () => import("./ru-DKaZyUKL.js"),
2021
+ "sk": () => import("./sk-CRgCa4Xy.js"),
2022
+ "sl": () => import("./sl-BnWo7ffO.js"),
2023
+ "sw": () => import("./sw-DQMkDT3g.js"),
2024
+ "tl": () => import("./tl-BjxdIajM.js"),
2025
+ "th": () => import("./th-3PSK_Dsh.js"),
2026
+ "uk": () => import("./uk-XbgXa2Ga.js"),
2027
+ "ur": () => import("./ur-EvEZPGeH.js"),
2028
+ "uz": () => import("./uz-CLNoByCo.js"),
2029
+ "hr": () => import("./hr-BpjWRIC0.js")
2786
2030
  };
2787
2031
  //#endregion
2788
2032
  //#region src/i18n/bundledTranslationsBackend.ts
@@ -2801,8 +2045,91 @@ var bundledTranslationsBackend = {
2801
2045
  load().then(({ default: translations }) => callback(null, translations), (error) => callback(asError(error), false));
2802
2046
  }
2803
2047
  };
2804
- //#endregion
2805
- //#region src/i18n/languageMetadata.ts
2048
+ var supportedLanguages = [
2049
+ "en",
2050
+ "en-DG",
2051
+ "es",
2052
+ "es-ES",
2053
+ "sr",
2054
+ "sr-Latn",
2055
+ "fr",
2056
+ "pt-BR",
2057
+ "pt",
2058
+ "bn",
2059
+ "zh",
2060
+ "hi",
2061
+ "id",
2062
+ "ms",
2063
+ "tr",
2064
+ "vi",
2065
+ "ht",
2066
+ "it",
2067
+ "de",
2068
+ "nl",
2069
+ "tl-PH",
2070
+ "pl",
2071
+ "hu",
2072
+ "ro",
2073
+ "hmn",
2074
+ "so",
2075
+ "ca",
2076
+ "af-ZA",
2077
+ "ar",
2078
+ "ar-EG",
2079
+ "ar-AE",
2080
+ "zh-CN",
2081
+ "zh-TW",
2082
+ "zh-HANT",
2083
+ "cs-CZ",
2084
+ "da-DK",
2085
+ "fi-FI",
2086
+ "fr-CA",
2087
+ "el-GR",
2088
+ "he",
2089
+ "ja",
2090
+ "ja-JP",
2091
+ "ko-KP",
2092
+ "nb-NO",
2093
+ "fa-IR",
2094
+ "pt-PT",
2095
+ "ru-RU",
2096
+ "sr-YU",
2097
+ "es-419",
2098
+ "es-MX",
2099
+ "sv-SE",
2100
+ "th-TH",
2101
+ "uk-UA",
2102
+ "am",
2103
+ "az",
2104
+ "bs",
2105
+ "my",
2106
+ "ceb",
2107
+ "cs",
2108
+ "et",
2109
+ "ka",
2110
+ "el",
2111
+ "jv",
2112
+ "kk",
2113
+ "km",
2114
+ "ko",
2115
+ "ky",
2116
+ "lo",
2117
+ "lv",
2118
+ "lt",
2119
+ "mk",
2120
+ "mn",
2121
+ "ne",
2122
+ "ru",
2123
+ "sk",
2124
+ "sl",
2125
+ "sw",
2126
+ "tl",
2127
+ "th",
2128
+ "uk",
2129
+ "ur",
2130
+ "uz",
2131
+ "hr"
2132
+ ];
2806
2133
  var languageMetadata = {
2807
2134
  en: { emoji: "🇺🇸" },
2808
2135
  "en-DG": { emoji: "🇬🇧" },
@@ -2888,13 +2215,51 @@ var languageMetadata = {
2888
2215
  uz: { emoji: "🇺🇿" },
2889
2216
  hr: { emoji: "🇭🇷" }
2890
2217
  };
2891
- var supportedLanguages = Object.keys(languageMetadata);
2892
2218
  function getLanguageEmoji(language) {
2893
2219
  const directMatch = languageMetadata[language];
2894
2220
  if (directMatch) return directMatch.emoji;
2895
2221
  return languageMetadata[language.split("-")[0] || language]?.emoji ?? "🌐";
2896
2222
  }
2897
2223
  //#endregion
2224
+ //#region src/i18n/lazyHttpBackend.ts
2225
+ var _LazyHttpBackend;
2226
+ /**
2227
+ * Loads i18next-http-backend on the first read, so sessions that use the
2228
+ * bundled catalogs do not download it. i18next creates one instance of this
2229
+ * class for each i18n instance.
2230
+ */
2231
+ var LazyHttpBackend = class {
2232
+ constructor() {
2233
+ this.type = "backend";
2234
+ }
2235
+ init(services, backendOptions, i18nextOptions) {
2236
+ this.initArgs = [
2237
+ services,
2238
+ backendOptions,
2239
+ i18nextOptions
2240
+ ];
2241
+ }
2242
+ read(language, namespace, callback) {
2243
+ this.backend ??= import("./esm-15CISqPe.js").then(({ default: RealHttpBackend }) => {
2244
+ const backend = new RealHttpBackend();
2245
+ backend.init(...this.initArgs);
2246
+ return backend;
2247
+ });
2248
+ this.backend.then((backend) => {
2249
+ try {
2250
+ backend.read(language, namespace, callback);
2251
+ } catch (error) {
2252
+ callback(error, false);
2253
+ }
2254
+ }, (error) => {
2255
+ this.backend = void 0;
2256
+ callback(error, false);
2257
+ });
2258
+ }
2259
+ };
2260
+ _LazyHttpBackend = LazyHttpBackend;
2261
+ _LazyHttpBackend.type = "backend";
2262
+ //#endregion
2898
2263
  //#region src/i18n/setup.ts
2899
2264
  var LANGUAGE_STORAGE_KEY = "incode:i18n:language";
2900
2265
  var camelToStartCase = (text) => {
@@ -2907,38 +2272,71 @@ var keyToStartCase = (key, defaultValue) => {
2907
2272
  const missingKey = splitKey[splitKey.length - 1];
2908
2273
  return camelToStartCase(missingKey || "missing key");
2909
2274
  };
2910
- var languageDetector = new Browser();
2911
- languageDetector.addDetector({
2912
- name: "navigatorOnlyLanguage",
2913
- lookup() {
2914
- if (typeof navigator === "undefined") return "en";
2915
- const languageFromBrowser = navigator.language;
2916
- if (supportedLanguages.includes(languageFromBrowser)) return languageFromBrowser;
2917
- return languageFromBrowser.split("-")[0];
2918
- }
2919
- });
2275
+ function readNavigatorLanguage() {
2276
+ if (typeof navigator === "undefined") return "en";
2277
+ const languageFromBrowser = navigator.language;
2278
+ if (!languageFromBrowser) return null;
2279
+ if (supportedLanguages.includes(languageFromBrowser)) return languageFromBrowser;
2280
+ return languageFromBrowser.split("-")[0];
2281
+ }
2282
+ function readHtmlLanguage() {
2283
+ if (typeof document === "undefined") return null;
2284
+ return document.documentElement?.getAttribute("lang") ?? null;
2285
+ }
2286
+ function createLanguageDetector(skipInitialLanguageCache) {
2287
+ let skipNextCache = skipInitialLanguageCache;
2288
+ return {
2289
+ type: "languageDetector",
2290
+ detect: () => [
2291
+ readQueryLanguage(),
2292
+ readStoredLanguage(),
2293
+ readStorageLanguage(() => sessionStorage),
2294
+ readNavigatorLanguage(),
2295
+ readHtmlLanguage()
2296
+ ].filter((language) => !!language),
2297
+ cacheUserLanguage(language) {
2298
+ if (skipNextCache) {
2299
+ skipNextCache = false;
2300
+ return;
2301
+ }
2302
+ if (language === "cimode") return;
2303
+ try {
2304
+ localStorage.setItem(LANGUAGE_STORAGE_KEY, language);
2305
+ } catch {}
2306
+ }
2307
+ };
2308
+ }
2920
2309
  function applyOverrides(i18nInstance, translations) {
2921
2310
  for (const [langCode, value] of Object.entries(translations)) if (value) i18nInstance.addResourceBundle(langCode, "default", value, true, true);
2922
2311
  }
2923
- function readStoredLanguage() {
2312
+ function readStorageLanguage(getStorage) {
2924
2313
  try {
2925
- if (typeof localStorage === "undefined") return null;
2926
- return localStorage.getItem(LANGUAGE_STORAGE_KEY);
2314
+ return getStorage().getItem(LANGUAGE_STORAGE_KEY);
2927
2315
  } catch {
2928
2316
  return null;
2929
2317
  }
2930
2318
  }
2319
+ function readStoredLanguage() {
2320
+ return readStorageLanguage(() => localStorage);
2321
+ }
2322
+ function readQueryLanguage() {
2323
+ if (typeof window === "undefined") return null;
2324
+ return new URLSearchParams(window.location.search).get("lang") || null;
2325
+ }
2931
2326
  function createI18n(options = {}) {
2932
2327
  const { lang, loadPath, skipRemoteLoad, translations } = options;
2933
2328
  const i18nInstance = instance.createInstance();
2329
+ const queryLang = readQueryLanguage();
2330
+ const languageDetector = createLanguageDetector(queryLang !== null);
2934
2331
  const storedLang = readStoredLanguage();
2935
2332
  const resolvedLoadPath = loadPath ?? void 0;
2936
2333
  const remoteLoadEnabled = skipRemoteLoad !== true && resolvedLoadPath !== void 0;
2937
- if (remoteLoadEnabled) i18nInstance.use(Backend);
2334
+ if (remoteLoadEnabled) i18nInstance.use(LazyHttpBackend);
2938
2335
  else i18nInstance.use(bundledTranslationsBackend);
2939
2336
  i18nInstance.use(languageDetector).init({
2940
- lng: storedLang ?? lang,
2337
+ lng: queryLang ?? storedLang ?? lang,
2941
2338
  fallbackLng: "en",
2339
+ load: remoteLoadEnabled ? "all" : "currentOnly",
2942
2340
  supportedLngs: supportedLanguages,
2943
2341
  ns: ["default"],
2944
2342
  defaultNS: "default",
@@ -2946,22 +2344,6 @@ function createI18n(options = {}) {
2946
2344
  keySeparator: ".",
2947
2345
  interpolation: { escapeValue: false },
2948
2346
  backend: remoteLoadEnabled ? { loadPath: resolvedLoadPath } : void 0,
2949
- detection: {
2950
- order: [
2951
- "querystring",
2952
- "cookie",
2953
- "localStorage",
2954
- "sessionStorage",
2955
- "navigatorOnlyLanguage",
2956
- "htmlTag",
2957
- "path",
2958
- "subdomain"
2959
- ],
2960
- lookupQuerystring: "lang",
2961
- lookupLocalStorage: LANGUAGE_STORAGE_KEY,
2962
- lookupSessionStorage: LANGUAGE_STORAGE_KEY,
2963
- caches: ["localStorage"]
2964
- },
2965
2347
  initImmediate: false,
2966
2348
  parseMissingKeyHandler: keyToStartCase
2967
2349
  });
@@ -3030,7 +2412,7 @@ var ArrowIcon = ({ class: className }) => /* @__PURE__ */ u("svg", {
3030
2412
  "aria-hidden": "true",
3031
2413
  class: className,
3032
2414
  children: /* @__PURE__ */ u("path", {
3033
- d: "M0 8.08009V5.92009H9.198L4.698 1.87009L6.228 0.340088L12.6 6.28009V7.70209L6.228 13.6601L4.698 12.1301L9.198 8.08009H0Z",
2415
+ d: "M0 8.08V5.92h9.198l-4.5-4.05L6.228.34 12.6 6.28v1.422L6.228 13.66l-1.53-1.53 4.5-4.05z",
3034
2416
  fill: "currentColor"
3035
2417
  })
3036
2418
  });