@incodetech/web 2.4.1-agentic.8 → 2.4.1-agentic.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{GeolocationPermissionDenied-3mTykEZh.js → GeolocationPermissionDenied-Bl0ESi9x.js} +15 -5
- package/dist/ae-signature/ae-signature.es.js +3 -3
- package/dist/{af-ZA-DateoR0B.js → af-ZA-BtuHt1ef.js} +29 -42
- package/dist/{ageVerification-DqO9J_x1.js → ageVerification-JN9VvXwE.js} +4 -5
- package/dist/{am-C6jaAEZr.js → am-l8nD7Xzz.js} +29 -42
- package/dist/antifraud/antifraud.es.js +4 -4
- package/dist/{applyStudioConfig-DkG_xMJg.js → applyStudioConfig-B64x1L-J.js} +4 -5
- package/dist/{ar-AE-DXhd_SRU.js → ar-AE-CO4WaEdG.js} +29 -42
- package/dist/{ar-DBpBX-qe.js → ar-DsKx-YwP.js} +29 -42
- package/dist/{ar-EG-CBv_hBOE.js → ar-EG-CgYEh6do.js} +29 -42
- package/dist/authentication/authentication.es.js +6 -6
- package/dist/autoFocusTitle-MePwRIrH.js +19 -0
- package/dist/{az-mhk1ebvA.js → az-DTmme8ut.js} +29 -42
- package/dist/base.css +1 -1
- package/dist/{baseTutorial-CdCVfaVE.js → baseTutorial-BYTLqczq.js} +3 -4
- package/dist/{bn-BA1MrK9J.js → bn-CvF9FlWn.js} +29 -42
- package/dist/{bottomSheet-B9pTb4rQ.js → bottomSheet-BbgC68Rm.js} +2 -2
- package/dist/{bs-BYOwW4lV.js → bs-DE7QTPiz.js} +29 -42
- package/dist/{ca-CLn0LB3W.js → ca-B2IOmHal.js} +29 -42
- package/dist/cameraOverlay-CbaSCAzN.js +2 -0
- package/dist/{cameraOverlayHeader-CjqkzqeU.js → cameraOverlayHeader-DKPegKOB.js} +4 -4
- package/dist/{cameraView-o0_drKHQ.js → cameraView-B9ulYDlK.js} +2 -2
- package/dist/capture-B105Gyzk.js +2 -0
- package/dist/{capture-DxzgnjUj.js → capture-BfiBco34.js} +26 -43
- package/dist/{capture-C3z62gjP.js → capture-Ofbv-y4C.js} +24 -32
- package/dist/capture-kxXHrakb.js +3 -0
- package/dist/captureButtonIcon-DdqcSAFo.js +1 -0
- package/dist/{captureFocusContext-DXXcYq14.js → captureFocusContext-CbhM0Rak.js} +52 -63
- package/dist/{captureFooter-xVlPhBJh.js → captureFooter-CyQw85c9.js} +4 -4
- package/dist/{ceb-CMWRVM4o.js → ceb-DMyDJibH.js} +29 -42
- package/dist/certificate-issuance/certificate-issuance.es.js +26 -20
- package/dist/certificate-issuance/styles.css +1 -1
- package/dist/certificate-issuance/styles.css.js +1 -1
- package/dist/{checkbox-Bag1GfVW.js → checkbox-COiob4-f.js} +3 -3
- package/dist/{chooser-65j0yJGo.js → chooser-CMZn17HH.js} +11 -12
- package/dist/{connectionError-Cr-xLkYW.js → connectionError-DQc99Xwr.js} +24 -14
- package/dist/consent/consent.es.js +10 -10
- package/dist/{countryFlag-CVWXjepc.js → countryFlag-mUH97k33.js} +1 -1
- package/dist/{countrySelector-BLH5uAYj.js → countrySelector-Clj3rtbE.js} +3 -3
- package/dist/cross-document-data-match/cross-document-data-match.es.js +4 -4
- package/dist/{cs-hfCvtFWO.js → cs-C6BvjMnL.js} +29 -42
- package/dist/{cs-CZ-DuTNvUXH.js → cs-CZ-BoJHPkXg.js} +29 -42
- package/dist/curp-validation/curp-validation.es.js +55 -83
- package/dist/curp-validation/styles.css +1 -1
- package/dist/curp-validation/styles.css.js +1 -1
- package/dist/{customFields-CpZUGlQj.js → customFields-CTQsIMU8.js} +16 -14
- package/dist/{customWatchlist-CRdHBtak.js → customWatchlist-BGVgykZy.js} +10 -9
- package/dist/{da-DK-WQ2KQPuJ.js → da-DK-BgryIABe.js} +29 -42
- package/dist/{dashboardTheme-BWUe_z8i.js → dashboardTheme-DmmLPc5-.js} +18 -8
- package/dist/{dateInputComposed-Olt9MK1v.js → dateInputComposed-BAglkb04.js} +4 -4
- package/dist/dateInputComposed-Bq9yEjqE.js +1 -0
- package/dist/{de-C98XsEZ9.js → de-CmigCxj3.js} +29 -42
- package/dist/denied-B-Sa9xtg.js +272 -0
- package/dist/{i18n-u3NzadJk.js → devWarn-Cus67U3P.js} +180 -88
- package/dist/{deviceWallet-4Jk7CqX-.js → deviceWallet-BC90NDd9.js} +3 -3
- package/dist/{digitalIdRedirect-BurERRxl.js → digitalIdRedirect-C849eRWw.js} +3 -3
- package/dist/{digitalIdUpload-NvzT3UmN.js → digitalIdUpload-7IBs1xuH.js} +6 -8
- package/dist/document-capture/document-capture.es.js +1 -1
- package/dist/document-capture/styles.css +1 -1
- package/dist/document-capture/styles.css.js +1 -1
- package/dist/documentCapture-CSovKIfj.js +2 -0
- package/dist/{documentCapture-CGBWDToh.js → documentCapture-Dg6F5vPo.js} +40 -48
- package/dist/{dropdownComposed-B4kIb2ET.js → dropdownComposed-B-jwhIk3.js} +7 -5
- package/dist/dropdownComposed-D9WtKiZl.js +1 -0
- package/dist/dynamic-forms/dynamic-forms.es.js +14 -14
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/{ekybModule-DcZagLsg.js → ekybModule-CXckmono.js} +15 -15
- package/dist/ekybModule-CqV7hjNi.js +2 -0
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/ekyc-prefill/ekyc-prefill.es.js +1 -1
- package/dist/{ekycModule-0-Sl-tp3.js → ekycModule-DHEPIoB-.js} +18 -18
- package/dist/ekycModule-OERg1YPW.js +2 -0
- package/dist/ekycPrefillModule-B4BJQWaa.js +2 -0
- package/dist/{ekycPrefillModule-CGXS2z8h.js → ekycPrefillModule-Dvb4nz8D.js} +14 -14
- package/dist/{el-q9uGOIQj.js → el-C504mByE.js} +29 -42
- package/dist/{el-GR-BOZZ6kGP.js → el-GR-DEVeeY1N.js} +29 -42
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-CQUb2le5.js → electronic-signature-DdTsRO4E.js} +17 -13
- package/dist/email/email.es.js +16 -15
- package/dist/{emailInput-pJb_11ym.js → emailInput-BhovfkJr.js} +3 -3
- package/dist/{en-467cbjdQ.js → en-CjGMhH0a.js} +29 -42
- package/dist/{en-DG-B3O9C2V1.js → en-DG-D0uJ-8uf.js} +29 -42
- package/dist/{errorContent-9Nn9vlCk.js → errorContent-Do4AkQxk.js} +16 -18
- package/dist/{errorParams-DksU0z9B.js → errorParams-BsjlLhGl.js} +1 -1
- package/dist/{es-419-BsG4018F.js → es-419-Dj2u3lIS.js} +1 -1
- package/dist/{es-D1K3CMdM.js → es-CceiWbcv.js} +29 -42
- package/dist/{es-ES-DdPLSyPa.js → es-ES-BFt41nFI.js} +29 -42
- package/dist/{es-MX-Ch3EQcSx.js → es-MX-B_Wc9vvS.js} +29 -42
- package/dist/{et-Bq0Dts6v.js → et-Bj_x5sOU.js} +29 -42
- package/dist/{expiredId-mGt8OPsN.js → expiredId-CMUoX-P0.js} +19 -36
- package/dist/extensibility.es.js +45 -46
- package/dist/{fa-IR-LNN-YxHn.js → fa-IR-BN0UsB54.js} +29 -42
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/face-match/styles.css +1 -1
- package/dist/face-match/styles.css.js +1 -1
- package/dist/faceMatch-1IxVsuQC.js +2 -0
- package/dist/{faceMatch-BUrmr25m.js → faceMatch-D0OyUbR5.js} +29 -53
- package/dist/{fi-FI-BNxIaRzY.js → fi-FI-XID8T9Ko.js} +29 -42
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/{fieldComparison-BdaE9MUV.js → fieldComparison-D3dONVPr.js} +9 -9
- package/dist/fieldComparison-DWl2ByZ2.js +2 -0
- package/dist/{finalSuccessScreen-CdKzI7n_.js → finalSuccessScreen-LISnhuf3.js} +12 -14
- package/dist/fiscal-qr/fiscal-qr.es.js +15 -18
- package/dist/flipAnimation-DjM5JYfL.js +46 -0
- package/dist/{flipCapturedCardEligibility-CqCqP8u1.js → flipCapturedCardEligibility-BNIrIYfu.js} +3 -3
- package/dist/flow/flow.es.js +18 -16
- package/dist/flow/shell/styles.css +1 -1
- package/dist/flow/shell/styles.css.js +1 -1
- package/dist/flow/styles.css +1 -1
- package/dist/{formField-M7p_iFWM.js → formField-BP6uJTSh.js} +3 -3
- package/dist/{fr-CA-S06QCk9V.js → fr-CA-Bmt-kW3D.js} +29 -42
- package/dist/{fr-u29vuYQx.js → fr-IbVATPZV.js} +29 -42
- package/dist/geolocation/geolocation.es.js +9 -9
- package/dist/government-validation/government-validation.es.js +6 -6
- package/dist/{he-BC9YLbjY.js → he-B1oTlS7p.js} +29 -42
- package/dist/{hi-CVkRRwIg.js → hi-BFeWb9MT.js} +29 -42
- package/dist/{hmn-D-0W_S4F.js → hmn-naJkqwAe.js} +29 -42
- package/dist/{homeScreen-D5rxve7d.js → homeScreen-kVe-PwZV.js} +6 -7
- package/dist/{hooks-BLVWEUBW.js → hooks-CE8vvsR8.js} +32 -24
- package/dist/{hr-CWjVVM6I.js → hr-CpwG7WJ4.js} +29 -42
- package/dist/{ht-ChtH9wIJ.js → ht-mbMGmJ9j.js} +29 -42
- package/dist/{hu-B3UPgPTw.js → hu-CAPECmUZ.js} +29 -42
- package/dist/{icons-JOXfeNVq.js → icons-Bz641AZd.js} +2 -26
- package/dist/id/id.es.js +103 -38
- package/dist/id/styles.css +1 -1
- package/dist/id/styles.css.js +1 -1
- package/dist/{id-CxxniPDa.js → id-DNQTblvO.js} +29 -42
- package/dist/id-selfie-flow/id-selfie-flow.es.js +12 -11
- package/dist/id-verification/id-verification.es.js +5 -5
- package/dist/{idFlipTransition-B-4OiMTc.js → idFlipTransition-Cue3HSGt.js} +21 -25
- package/dist/{idOcr-jNFWZqo6.js → idOcr-XOJ-JY-l.js} +13 -13
- package/dist/identity-reuse/identity-reuse.es.js +19 -18
- package/dist/{incodeComponent-DarpqzSE.js → incodeComponent-C1TMotqV.js} +9 -11
- package/dist/{incodeModule-CtlA7jz3.js → incodeModule-BeATmadl.js} +4 -4
- package/dist/index.es.js +3 -4
- package/dist/{inputComposed-DXTUInVH.js → inputComposed-CRp1H6U_.js} +3 -3
- package/dist/inputComposed-Dc8tBgb6.js +1 -0
- package/dist/{it-BWNi1ssJ.js → it-BcT816iZ.js} +29 -42
- package/dist/{ja-Bi87ddtW.js → ja-B5spS5-8.js} +29 -42
- package/dist/{ja-JP-CJa2A3eS.js → ja-JP-BhZupQ7A.js} +29 -42
- package/dist/{jv-DACu96LS.js → jv-DalcXb84.js} +29 -42
- package/dist/{ka-CsJepV5w.js → ka-CbUOmftP.js} +29 -42
- package/dist/{kk-X7c1l89K.js → kk-0EE3IrpX.js} +29 -42
- package/dist/{km-CvXCyken.js → km-8LSGXQaW.js} +29 -42
- package/dist/{ko-DHgrTAp2.js → ko-BjG0PPAP.js} +29 -42
- package/dist/{ko-KP-DwoyFpy2.js → ko-KP-CpVrSvZB.js} +29 -42
- package/dist/{ky-DOTbMMTY.js → ky-xwaTThY0.js} +29 -42
- package/dist/kyb-checks/kyb-checks.es.js +1 -1
- package/dist/kybChecksModule-DMKKtrmB.js +2 -0
- package/dist/{kybChecksModule-PzDgO0P0.js → kybChecksModule-DvZ-BZRh.js} +12 -12
- package/dist/{lo-DMVttlBh.js → lo-EQF7PXWa.js} +29 -42
- package/dist/{lt-Fs9DJf4D.js → lt-DMmeCaHo.js} +29 -42
- package/dist/{lv-q3oRHomC.js → lv-C1iTZMfE.js} +29 -42
- package/dist/{mandatoryConsent-BBVctKOb.js → mandatoryConsent-CvTtalAL.js} +10 -10
- package/dist/{manualCaptureButton-Ckjt9d0h.js → manualCaptureButton-BuQHmszh.js} +3 -3
- package/dist/{manualCaptureButton-NsonWEPN.js → manualCaptureButton-DQAbimvq.js} +11 -12
- package/dist/{mk-JBoZLiy-.js → mk-DzMpKPOz.js} +29 -42
- package/dist/{mn-DIUjCj1v.js → mn-BvXd9F52.js} +29 -42
- package/dist/{ms-Dn1SQEpm.js → ms-Cp7ZJ7mK.js} +29 -42
- package/dist/{my-CFbwa84N.js → my-GmBVDdMo.js} +29 -42
- package/dist/{nb-NO-ClpZ74DD.js → nb-NO-y1MiZO8w.js} +29 -42
- package/dist/{ne-CNBg_gU2.js → ne-Cl08Ph1J.js} +29 -42
- package/dist/{nl-a3PViqF7.js → nl-xrUuWU-J.js} +29 -42
- package/dist/{optionAccessibleLabel-D1BAp1KQ.js → optionAccessibleLabel-BU3kQ0En.js} +5 -5
- package/dist/{otpInput-BDVO3HOb.js → otpInput-Dmg_f47Q.js} +6 -6
- package/dist/{page-ECTZ7Scm.js → page-BR1C3Nzj.js} +23 -30
- package/dist/{pageUiConfig-BZn0ChHi.js → pageUiConfig-CHSWT3Gw.js} +40 -8
- package/dist/{passwordInputComposed-CGTGKm40.js → passwordInputComposed-DKEB8EmI.js} +4 -4
- package/dist/{pdf-DhnlSeEH.js → pdf-B05hp9AA.js} +2 -2
- package/dist/pdfViewer-BRAs-KYx.js +2 -0
- package/dist/{pdfViewer-D23fWzxN.js → pdfViewer-CYoSQQNz.js} +3 -3
- package/dist/permissionInstructionList-hPNjHN71.js +43 -0
- package/dist/{permissions-eN863LrT.js → permissions-Bu02I3PR.js} +60 -43
- package/dist/phone/phone.es.js +10 -10
- package/dist/{phoneInputComposed-D-lgH0d8.js → phoneInputComposed-B7W1co5m.js} +5 -5
- package/dist/{pl-CVluXWsU.js → pl-C01qnZKR.js} +29 -42
- package/dist/{preloadableLazy-CW8rESao.js → preloadableLazy-BDZiRMcF.js} +10 -4
- package/dist/{processing-BSPocNrJ.js → processing-CIy9REXo.js} +1 -1
- package/dist/{progressBar-DueDHYB-.js → progressBar-Bv7JPmtA.js} +1 -1
- package/dist/{pt-BR-Div2fk79.js → pt-BR-wEX_V9Uj.js} +29 -42
- package/dist/{pt-Cy3AqRwB.js → pt-D4WG4iEZ.js} +29 -42
- package/dist/{pt-PT-C8ZNbxUp.js → pt-PT-BPg4BIJf.js} +29 -42
- package/dist/qe-signature/qe-signature.es.js +3 -3
- package/dist/{radioGroupComposed-5QBeaKRS.js → radioGroupComposed-BZ5zWFS6.js} +3 -3
- package/dist/radioGroupComposed-DA4CM0OB.js +1 -0
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +27 -23
- package/dist/{resendTimer-BWOgfa5C.js → resendTimer-CeSq33kX.js} +1 -1
- package/dist/{richText-CrEcRraT.js → richText-BMvr5dhl.js} +3 -3
- package/dist/{ro-Cns7UINU.js → ro-Cqlj7IaS.js} +29 -42
- package/dist/{ru-zpwWzbmA.js → ru-4u-5Riz6.js} +29 -42
- package/dist/{ru-RU-Dmyj3klD.js → ru-RU-hoEJT3Zf.js} +29 -42
- package/dist/{sanitizeSvg-OaeiB1E_.js → sanitizeSvg-wb-lG02K.js} +1 -1
- package/dist/selfie/selfie.es.js +10 -10
- package/dist/signature/signature.es.js +9 -9
- package/dist/{sk-B5OyePoE.js → sk-Bcrhcaus.js} +29 -42
- package/dist/{sl-CY_QJ1RK.js → sl-_NIS9uQY.js} +29 -42
- package/dist/{smsTabContent-D1emomux.js → smsTabContent-CuxElbq9.js} +14 -10
- package/dist/{so-aI_KpKFL.js → so-B9pngiw2.js} +29 -42
- package/dist/spacer-BMVbQdv1.js +1129 -0
- package/dist/spinner-DkgXsNMB.js +106 -0
- package/dist/{sr-C8o3y1pd.js → sr-CwLs8KQk.js} +29 -42
- package/dist/{sr-Latn-BYhPtZEb.js → sr-Latn-My3nXAfv.js} +29 -42
- package/dist/{sr-YU-BnKpP-Gi.js → sr-YU-D6EswTRk.js} +1 -1
- package/dist/step-up/step-up.es.js +11 -11
- package/dist/step-up/styles.css +1 -1
- package/dist/{sv-SE-C2J7iWlO.js → sv-SE-3XWHgiaY.js} +29 -42
- package/dist/{sw-xrmQJvJY.js → sw-u0GGYzxM.js} +29 -42
- package/dist/{th-wS5S0tbM.js → th-DuUtrE7A.js} +29 -42
- package/dist/{th-TH-CkT6oACc.js → th-TH-CIxIVJnV.js} +29 -42
- package/dist/{tl-D3xTuT9W.js → tl-Cnee5vHJ.js} +29 -42
- package/dist/{tl-PH-DKFgMSQB.js → tl-PH-vdHV7e5l.js} +29 -42
- package/dist/{tr-B9vTooiF.js → tr-B6NfQ1YM.js} +29 -42
- package/dist/{transitionSpinner-B2aXWGqv.js → transitionSpinner-BYT6Y26d.js} +4 -5
- package/dist/{tutorial-BEr0rzJr.js → tutorial-DGi7njtc.js} +3 -3
- package/dist/types/extensibility.d.ts +57 -13
- package/dist/types/flow.d.ts +9 -0
- package/dist/{typography-_6vuCfvg.js → typography-CHx4UfE3.js} +2 -10
- package/dist/{uk-K5uuUMVh.js → uk-D8SBQUPY.js} +29 -42
- package/dist/{uk-UA-CD-Tnkn-.js → uk-UA-CMvgmdmw.js} +29 -42
- package/dist/{ur-Ci0j8RF3.js → ur-DCLXBfJS.js} +29 -42
- package/dist/{useCaptureHelpButton-BDP8HPRE.js → useCaptureHelpButton-BEjYpwg6.js} +3 -3
- package/dist/{uz-Bzgi60OH.js → uz-CdTikNR8.js} +29 -42
- package/dist/{verificationResult-qjCRtOZT.js → verificationResult-D8QnyuI1.js} +19 -24
- package/dist/{vi-B41KkyjT.js → vi-8i3fXIYC.js} +29 -42
- package/dist/video-selfie/video-selfie.es.js +15 -16
- package/dist/watchlist/watchlist.es.js +10 -9
- package/dist/{watchlistForBusiness-DPWko0a1.js → watchlistForBusiness-gQlRJDj7.js} +15 -13
- package/dist/{withEndScreenTexts-B3e0Qhz4.js → withEndScreenTexts-oHy-aDwN.js} +21 -21
- package/dist/workflow/styles.css +1 -1
- package/dist/workflow/workflow.es.js +1 -1
- package/dist/{workflow-uIcK72qO.js → workflow-CXjNrouG.js} +11 -12
- package/dist/{zh-CN-CzatE4Zg.js → zh-CN-C_3DQPAO.js} +29 -42
- package/dist/{zh-HANT-Ctni0FrV.js → zh-HANT-DzKThLGe.js} +29 -42
- package/dist/{zh-B3otAu_X.js → zh-JxvLpfJI.js} +29 -42
- package/dist/{zh-TW-CV_7XIZh.js → zh-TW-CRwvuA_1.js} +29 -42
- package/package.json +7 -5
- package/dist/asset-B5BiSMLu.js +0 -355
- package/dist/autoFocusTitle-CFQv2qm9.js +0 -32
- package/dist/cameraOverlay-DI9J7Lli.js +0 -2
- package/dist/capture-CCuLfWJk.js +0 -3
- package/dist/capture-DxafsIYk.js +0 -2
- package/dist/captureButtonIcon-AIwPnxHO.js +0 -1
- package/dist/check-icon-BPtqe7V3.js +0 -48
- package/dist/dateInputComposed-CrfyTeqc.js +0 -1
- package/dist/denied-_nJKRI2k.js +0 -1874
- package/dist/devWarn-BQ2Sjncn.js +0 -9
- package/dist/documentCapture-BvbMNhXX.js +0 -2
- package/dist/dropdownComposed-CZwrZSQu.js +0 -1
- package/dist/ekybModule-DFie3sKv.js +0 -2
- package/dist/ekycModule-yZ4Iljxp.js +0 -2
- package/dist/ekycPrefillModule-DL_zkPxH.js +0 -2
- package/dist/faceMatch-0xVi_GOZ.js +0 -2
- package/dist/fieldComparison-e6Vej_VG.js +0 -2
- package/dist/flipAnimation-DzF8TDyk.js +0 -33
- package/dist/inputComposed-DE4zOIm2.js +0 -1
- package/dist/kybChecksModule-DqeUYw2A.js +0 -2
- package/dist/numberedStep-Bt1E0snV.js +0 -13
- package/dist/pdfViewer-BgoqZciN.js +0 -2
- package/dist/radioGroupComposed-Ce4VE6ML.js +0 -1
- package/dist/reload-icon-BE7SzNn7.js +0 -70
- package/dist/spacer-B7en1YsW.js +0 -82
- package/dist/spinner-DJB6V2X_.js +0 -407
- package/dist/uiConfig-BA0o63SK.js +0 -86
- /package/dist/{aligndevicelottie-C5Nr_FF0.js → aligndevicelottie-B6hTuIe8.js} +0 -0
- /package/dist/{assertClassBrand--vndzvkj.js → assertClassBrand-CuHX5JcR.js} +0 -0
- /package/dist/{back-horizontal-hint-Chms43yu.js → back-horizontal-hint-yueBylfH.js} +0 -0
- /package/dist/{back-tutorial-CsLjEe1h.js → back-tutorial-v-0Ek2vm.js} +0 -0
- /package/dist/{back-vertical-hint-iIm6Tgar.js → back-vertical-hint-NzFSG2Bh.js} +0 -0
- /package/dist/{backdevicelottie-B-yh2vaH.js → backdevicelottie-DF1HiZ5r.js} +0 -0
- /package/dist/{blurdevicelottie-B-MnEJJ9.js → blurdevicelottie-BSyppjCM.js} +0 -0
- /package/dist/{countryDefinitions-DlsV3Tf8.js → countryDefinitions-YYJL8AKj.js} +0 -0
- /package/dist/{defineProperty-B6A4KUIl.js → defineProperty-CRYuXE79.js} +0 -0
- /package/dist/{fieldLabelHint-D51pJr0N.js → fieldLabelHint-C0ZLkktZ.js} +0 -0
- /package/dist/{flip-animation-2ApKMmiz.js → flip-animation-BwsJr5v0.js} +0 -0
- /package/dist/{front-horizontal-hint-hRDAcU5c.js → front-horizontal-hint-C9-5nbdp.js} +0 -0
- /package/dist/{front-vertical-hint-DzlrK9KI.js → front-vertical-hint-DTtHshwX.js} +0 -0
- /package/dist/{frontdevicelottie-D5U9tg8-.js → frontdevicelottie-DBYQ8I6w.js} +0 -0
- /package/dist/{glaredevicelottie-exDO2WQS.js → glaredevicelottie-Cd1wXkQ6.js} +0 -0
- /package/dist/{helpButtonConfig-CjbrBQaV.js → helpButtonConfig-BFragC_J.js} +0 -0
- /package/dist/{id-back-of-card-D9tIT4x8.js → id-back-of-card-DNgfCJsN.js} +0 -0
- /package/dist/{id-back-of-card-vertical-CadHCOQb.js → id-back-of-card-vertical-D7qtwPW5.js} +0 -0
- /package/dist/{id-front-of-card-DQP6DK1A.js → id-front-of-card-CM0hV6jv.js} +0 -0
- /package/dist/{id-front-of-card-vertical-Bw8mJ2eW.js → id-front-of-card-vertical-Cz0op2vf.js} +0 -0
- /package/dist/{id-laser-h-C1VNfV0z.js → id-laser-h-xw6WLLM_.js} +0 -0
- /package/dist/{id-laser-v-CwYRuzKJ.js → id-laser-v-BHYuyf78.js} +0 -0
- /package/dist/{id-tutorial-Cp4YGXxy.js → id-tutorial-CYXjnunq.js} +0 -0
- /package/dist/{lottie_light-pO5qdkhZ.js → lottie_light-B819EhaL.js} +0 -0
- /package/dist/{passport-horizontal-hint-w_QG1Moi.js → passport-horizontal-hint-SkVy1ylo.js} +0 -0
- /package/dist/{passport-tutorial-CTGbQDlK.js → passport-tutorial-B_BAoSVc.js} +0 -0
- /package/dist/{passport-vertical-hint-DcsBg3dK.js → passport-vertical-hint-CgCA8IKR.js} +0 -0
- /package/dist/{pdf.worker.min-3yVqy4Ya.js → pdf.worker.min-DzBNMoKS.js} +0 -0
- /package/dist/{policyUrls-DH8bb0Xl.js → policyUrls-Hvb4jPfF.js} +0 -0
- /package/dist/{purify.es-IJ9QRduG.js → purify.es-DIIgrZ-E.js} +0 -0
- /package/dist/{realtimeFeedbackConfig-tBX94SOm.js → realtimeFeedbackConfig-DeZksjlR.js} +0 -0
- /package/dist/{registerIncodeElement-CGbGH7-7.js → registerIncodeElement-B5W7SqS3.js} +0 -0
- /package/dist/{selfieTutorial-T41XPQa8.js → selfieTutorial-2UnQ3071.js} +0 -0
- /package/dist/{useCameraPreview-Ba7VDF0M.js → useCameraPreview-DrteOjaq.js} +0 -0
- /package/dist/{useIsDarkTheme-BJKIqiyH.js → useIsDarkTheme-DAs5RhsW.js} +0 -0
- /package/dist/{useModuleLoader-Cm84w8E1.js → useModuleLoader--rVDzHqn.js} +0 -0
|
@@ -0,0 +1,1129 @@
|
|
|
1
|
+
import { r as __toESM } from "./rolldown-runtime--E5BIlTp.js";
|
|
2
|
+
import { d as useTranslation, o as useUiConfig } from "./devWarn-Cus67U3P.js";
|
|
3
|
+
import { C as Q, _ as q, a as M, b as u, d as T, f as _, h as g, i as D, l as A, m as d, v as x, y } from "./vendor-preact-HIccnts1.js";
|
|
4
|
+
//#region ../../node_modules/.pnpm/@incodetech+prizma-core-icons@0.4.5_react@19.2.3/node_modules/@incodetech/prizma-core-icons/src/icon-base.tsx
|
|
5
|
+
var ICON_SIZE_PX = {
|
|
6
|
+
xs: 8,
|
|
7
|
+
s: 16,
|
|
8
|
+
m: 24,
|
|
9
|
+
l: 32,
|
|
10
|
+
xl: 40,
|
|
11
|
+
"2xl": 48,
|
|
12
|
+
"3xl": 64
|
|
13
|
+
};
|
|
14
|
+
var warned = /* @__PURE__ */ new Set();
|
|
15
|
+
function warnOnce(key, message) {
|
|
16
|
+
if (warned.has(key)) return;
|
|
17
|
+
warned.add(key);
|
|
18
|
+
console.warn(message);
|
|
19
|
+
}
|
|
20
|
+
function resolveGlyph(name, glyphs, size, style) {
|
|
21
|
+
let candidates = glyphs.filter((g) => g.style === null || g.style === style);
|
|
22
|
+
if (candidates.length === 0) {
|
|
23
|
+
warnOnce(`${name}|style|${style}`, `[Prizma Icon] "${name}" is not designed in style "${style}" — rendering the designed style.`);
|
|
24
|
+
candidates = glyphs;
|
|
25
|
+
}
|
|
26
|
+
const exact = candidates.find((g) => g.size === size && g.style === style) ?? candidates.find((g) => g.size === size);
|
|
27
|
+
if (exact) return exact;
|
|
28
|
+
const want = ICON_SIZE_PX[size];
|
|
29
|
+
const nearest = [...candidates].sort((a, b) => Math.abs(ICON_SIZE_PX[a.size] - want) - Math.abs(ICON_SIZE_PX[b.size] - want) || ICON_SIZE_PX[b.size] - ICON_SIZE_PX[a.size])[0];
|
|
30
|
+
const designed = [...new Set(candidates.map((g) => g.size))].join(", ");
|
|
31
|
+
warnOnce(`${name}|size|${size}|${style}`, `[Prizma Icon] "${name}" is not designed at size ${size} — rendering ${nearest.size}. Designed sizes: ${designed}.`);
|
|
32
|
+
return nearest;
|
|
33
|
+
}
|
|
34
|
+
/** Builds one tree-shakable icon component from its designed variants. */
|
|
35
|
+
var RTL_MIRRORED = new Set(["chevron-left", "chevron-right"]);
|
|
36
|
+
function createIcon(name, glyphs) {
|
|
37
|
+
const mirrors = RTL_MIRRORED.has(name);
|
|
38
|
+
const Icon = ({ size = "m", style = "outline", label, className }) => {
|
|
39
|
+
const glyph = resolveGlyph(name, glyphs, size, style);
|
|
40
|
+
const classes = [mirrors ? "prizma-icon--rtl-mirror" : "", className].filter(Boolean).join(" ") || void 0;
|
|
41
|
+
return /* @__PURE__ */ u("svg", {
|
|
42
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
43
|
+
width: glyph.w,
|
|
44
|
+
height: glyph.h,
|
|
45
|
+
viewBox: `0 0 ${glyph.w} ${glyph.h}`,
|
|
46
|
+
fill: "currentColor",
|
|
47
|
+
"aria-hidden": label ? void 0 : true,
|
|
48
|
+
role: label ? "img" : void 0,
|
|
49
|
+
"aria-label": label,
|
|
50
|
+
"data-prizma-rtl-mirror": mirrors ? "" : void 0,
|
|
51
|
+
className: classes,
|
|
52
|
+
children: [(glyph.paths ?? []).map((p, i) => /* @__PURE__ */ u("path", {
|
|
53
|
+
d: p.d,
|
|
54
|
+
fillRule: p.fr,
|
|
55
|
+
clipRule: p.fr,
|
|
56
|
+
fillOpacity: p.o
|
|
57
|
+
}, i)), (glyph.strokePaths ?? []).map((p, i) => /* @__PURE__ */ u("path", {
|
|
58
|
+
d: p.d,
|
|
59
|
+
fill: "none",
|
|
60
|
+
stroke: "currentColor",
|
|
61
|
+
strokeWidth: p.sw,
|
|
62
|
+
strokeLinecap: p.cap,
|
|
63
|
+
strokeLinejoin: p.join
|
|
64
|
+
}, `s${i}`))]
|
|
65
|
+
});
|
|
66
|
+
};
|
|
67
|
+
Icon.displayName = `Icon(${name})`;
|
|
68
|
+
return Icon;
|
|
69
|
+
}
|
|
70
|
+
//#endregion
|
|
71
|
+
//#region ../../node_modules/.pnpm/@incodetech+prizma-core-icons@0.4.5_react@19.2.3/node_modules/@incodetech/prizma-core-icons/src/icons/icon-check.tsx
|
|
72
|
+
var IconCheck = createIcon("check", [{
|
|
73
|
+
size: "m",
|
|
74
|
+
style: "outline",
|
|
75
|
+
w: 24,
|
|
76
|
+
h: 24,
|
|
77
|
+
paths: [{
|
|
78
|
+
d: "M21.9 12 Q21.9 16.1004 19.0008 18.9996 Q16.1004 21.9 12 21.9 Q7.8996 21.9 4.9992 18.9996 Q2.1 16.1004 2.1 12 Q2.1 7.8996 4.9992 4.9992 Q7.8996 2.1 12 2.1 Q16.1004 2.1 19.0008 4.9992 Q21.9 7.8996 21.9 12 Z M20.1 12 Q20.1 8.6448 17.7276 6.2724 Q15.3552 3.9 12 3.9 Q8.6448 3.9 6.2724 6.2724 Q3.9 8.6448 3.9 12 Q3.9 15.3552 6.2724 17.7276 Q8.6448 20.1 12 20.1 Q15.3552 20.1 17.7276 17.7276 Q20.1 15.3552 20.1 12 Z",
|
|
79
|
+
fr: "nonzero"
|
|
80
|
+
}, {
|
|
81
|
+
d: "M9.1716 11.364 L10.8456 13.0368 L14.8272 9.0552 Q15.0912 8.7912 15.4632 8.7912 Q15.8364 8.7912 16.1004 9.0552 Q16.3632 9.3192 16.3632 9.6912 Q16.3632 10.0644 16.1004 10.3284 L11.4816 14.946 Q11.2188 15.2088 10.8456 15.2088 Q10.4736 15.2088 10.2096 14.946 L7.8996 12.6372 Q7.6356 12.3732 7.6356 12 Q7.6356 11.628 7.8996 11.364 Q8.1624 11.1 8.5356 11.1 Q8.9088 11.1 9.1716 11.364 Z",
|
|
82
|
+
fr: "nonzero"
|
|
83
|
+
}]
|
|
84
|
+
}]);
|
|
85
|
+
//#endregion
|
|
86
|
+
//#region ../../node_modules/.pnpm/@incodetech+prizma-core-icons@0.4.5_react@19.2.3/node_modules/@incodetech/prizma-core-icons/src/icons/icon-cross.tsx
|
|
87
|
+
var IconCross = createIcon("cross", [{
|
|
88
|
+
size: "m",
|
|
89
|
+
style: "outline",
|
|
90
|
+
w: 24,
|
|
91
|
+
h: 24,
|
|
92
|
+
paths: [{
|
|
93
|
+
d: "M12 21.9 Q7.8996 21.9 4.9992 18.9996 Q2.1 16.1004 2.1 12 Q2.1 7.8996 4.9992 4.9992 Q7.8996 2.1 12 2.1 Q16.1004 2.1 19.0008 4.9992 Q21.9 7.8996 21.9 12 Q21.9 16.1004 19.0008 18.9996 Q16.1004 21.9 12 21.9 Z M12 20.1 Q15.3552 20.1 17.7276 17.7276 Q20.1 15.3552 20.1 12 Q20.1 8.6448 17.7276 6.2724 Q15.3552 3.9 12 3.9 Q8.6448 3.9 6.2724 6.2724 Q3.9 8.6448 3.9 12 Q3.9 15.3552 6.2724 17.7276 Q8.6448 20.1 12 20.1 Z",
|
|
94
|
+
fr: "nonzero"
|
|
95
|
+
}, {
|
|
96
|
+
d: "M8.364 14.364 L10.7268 12 L8.364 9.636 Q8.1 9.3732 8.1 9 Q8.1 8.6268 8.364 8.364 Q8.628 8.1 9 8.1 Q9.3732 8.1 9.6372 8.364 L12 10.7268 L14.364 8.364 Q14.6268 8.1 15 8.1 Q15.3732 8.1 15.636 8.364 Q15.9 8.6268 15.9 9 Q15.9 9.3732 15.636 9.636 L13.2732 12 L15.6372 14.364 Q15.9 14.6268 15.9 15 Q15.9 15.3732 15.6372 15.636 Q15.3732 15.9 15 15.9 Q14.628 15.9 14.364 15.636 L12 13.272 L9.636 15.636 Q9.3732 15.9 9 15.9 Q8.6268 15.9 8.364 15.636 Q8.1 15.3732 8.1 15 Q8.1 14.6268 8.364 14.364 Z",
|
|
97
|
+
fr: "nonzero"
|
|
98
|
+
}]
|
|
99
|
+
}]);
|
|
100
|
+
//#endregion
|
|
101
|
+
//#region ../../node_modules/.pnpm/@incodetech+prizma-core-icons@0.4.5_react@19.2.3/node_modules/@incodetech/prizma-core-icons/src/icons/icon-warning.tsx
|
|
102
|
+
var IconWarning = createIcon("warning", [{
|
|
103
|
+
size: "m",
|
|
104
|
+
style: "outline",
|
|
105
|
+
w: 24,
|
|
106
|
+
h: 24,
|
|
107
|
+
paths: [
|
|
108
|
+
{
|
|
109
|
+
d: "M5.028 20.9892 Q3.3588 20.9892 2.5212 19.5444 Q1.6824 18.0996 2.5116 16.65 L9.4908 4.4688 Q10.326 3.0096 12.0072 3.0108 Q13.6872 3.012 14.52 4.47 L21.4884 16.6512 Q22.3176 18.1008 21.4788 19.5444 Q20.6412 20.9892 18.972 20.9892 Z M5.028 19.1892 L18.972 19.1892 Q19.6044 19.1892 19.9224 18.642 Q20.2392 18.0948 19.926 17.5452 L12.9576 5.364 Q12.642 4.8108 12.006 4.8108 Q11.3688 4.8108 11.052 5.364 L4.074 17.5452 Q3.7596 18.0936 4.0776 18.6408 Q4.3956 19.1892 5.028 19.1892 Z",
|
|
110
|
+
fr: "nonzero"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
d: "M11.0976 13.2804 L11.0976 10.2756 Q11.0976 9.9024 11.3616 9.6384 Q11.6244 9.3756 11.9976 9.3756 Q12.3708 9.3756 12.6336 9.6384 Q12.8976 9.9024 12.8976 10.2756 L12.8976 13.2804 Q12.8976 13.6536 12.6336 13.9164 Q12.3708 14.1804 11.9976 14.1804 Q11.6244 14.1804 11.3616 13.9164 Q11.0976 13.6536 11.0976 13.2804 Z",
|
|
114
|
+
fr: "nonzero"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
d: "M11.9904 15.3552 L12 15.3552 Q12.3804 15.3552 12.6492 15.624 Q12.9168 15.8916 12.9168 16.272 Q12.9168 16.6524 12.6492 16.92 Q12.3804 17.1888 12 17.1888 L11.9904 17.1888 Q11.61 17.1888 11.3424 16.92 Q11.0736 16.6524 11.0736 16.272 Q11.0736 15.8916 11.3424 15.624 Q11.61 15.3552 11.9904 15.3552 Z",
|
|
118
|
+
fr: "nonzero"
|
|
119
|
+
}
|
|
120
|
+
]
|
|
121
|
+
}]);
|
|
122
|
+
//#endregion
|
|
123
|
+
//#region ../../node_modules/.pnpm/@incodetech+prizma-core-web@0.19.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@incodetech/prizma-core-web/dist/LoadingSpinner.js
|
|
124
|
+
/**
|
|
125
|
+
* LoadingSpinner — Prizma Core v0
|
|
126
|
+
*
|
|
127
|
+
* Authoritative spec: ./loading-spinner.md (v0.1, 2026-06-02)
|
|
128
|
+
*
|
|
129
|
+
* Renders an indeterminate loading indicator with an optional explanatory text
|
|
130
|
+
* stack (title and optional subtitle). The spinning glyph is a 48×48 SVG ring
|
|
131
|
+
* with a rotating quarter-arc; the animation is driven by a CSS `@keyframes`
|
|
132
|
+
* defined in LoadingSpinner.css and continues while the component is mounted.
|
|
133
|
+
*
|
|
134
|
+
* Three Figma variants are supported:
|
|
135
|
+
* 1. showTitle=false → bare spinner
|
|
136
|
+
* 2. showTitle=true, showSubtitle=false → spinner + title
|
|
137
|
+
* 3. showTitle=true, showSubtitle=true → spinner + title + subtitle
|
|
138
|
+
*
|
|
139
|
+
* The fourth combination (showTitle=false + showSubtitle=true) is NOT authored
|
|
140
|
+
* in Figma and is NOT supported by this component — see the guard below.
|
|
141
|
+
*/
|
|
142
|
+
var PrizmaLoadingSpinner = D(({ showTitle = false, showSubtitle = false, titleText, subtitleText, loadingLabel, icon, size, showSpinner = true, className, ...rest }, ref) => {
|
|
143
|
+
const effectiveShowTitle = showTitle;
|
|
144
|
+
const effectiveShowSubtitle = showTitle && showSubtitle;
|
|
145
|
+
const effectiveShowGlyph = showSpinner;
|
|
146
|
+
const ringSize = size !== void 0 && size !== 48 ? size : void 0;
|
|
147
|
+
const titleId = g();
|
|
148
|
+
const rootClassName = [
|
|
149
|
+
"prizma-loading-spinner",
|
|
150
|
+
effectiveShowGlyph ? null : "prizma-loading-spinner--text-only",
|
|
151
|
+
className
|
|
152
|
+
].filter(Boolean).join(" ");
|
|
153
|
+
return u("div", {
|
|
154
|
+
ref,
|
|
155
|
+
...rest,
|
|
156
|
+
className: rootClassName,
|
|
157
|
+
role: rest.role ?? "status",
|
|
158
|
+
"aria-live": rest["aria-live"] ?? "polite",
|
|
159
|
+
"aria-labelledby": effectiveShowTitle ? titleId : void 0,
|
|
160
|
+
children: [
|
|
161
|
+
effectiveShowGlyph && icon != null && u("div", {
|
|
162
|
+
className: "prizma-loading-spinner__icon",
|
|
163
|
+
"aria-hidden": "true",
|
|
164
|
+
children: icon
|
|
165
|
+
}),
|
|
166
|
+
effectiveShowGlyph && icon == null && u("svg", {
|
|
167
|
+
viewBox: "0 0 48 48",
|
|
168
|
+
width: ringSize ?? 48,
|
|
169
|
+
height: ringSize ?? 48,
|
|
170
|
+
style: ringSize ? {
|
|
171
|
+
width: ringSize,
|
|
172
|
+
height: ringSize
|
|
173
|
+
} : void 0,
|
|
174
|
+
"aria-hidden": "true",
|
|
175
|
+
focusable: "false",
|
|
176
|
+
children: [u("circle", {
|
|
177
|
+
className: "prizma-loading-spinner__track",
|
|
178
|
+
cx: "24",
|
|
179
|
+
cy: "24",
|
|
180
|
+
r: "20.25"
|
|
181
|
+
}), u("circle", {
|
|
182
|
+
className: "prizma-loading-spinner__arc",
|
|
183
|
+
cx: "24",
|
|
184
|
+
cy: "24",
|
|
185
|
+
r: "20.25",
|
|
186
|
+
strokeDasharray: "31.808 95.426"
|
|
187
|
+
})]
|
|
188
|
+
}),
|
|
189
|
+
!effectiveShowTitle && loadingLabel && u("span", {
|
|
190
|
+
style: {
|
|
191
|
+
position: "absolute",
|
|
192
|
+
width: "1px",
|
|
193
|
+
height: "1px",
|
|
194
|
+
padding: 0,
|
|
195
|
+
margin: "-1px",
|
|
196
|
+
overflow: "hidden",
|
|
197
|
+
clip: "rect(0, 0, 0, 0)",
|
|
198
|
+
whiteSpace: "nowrap",
|
|
199
|
+
border: 0
|
|
200
|
+
},
|
|
201
|
+
children: loadingLabel
|
|
202
|
+
}),
|
|
203
|
+
effectiveShowTitle && u("p", {
|
|
204
|
+
id: titleId,
|
|
205
|
+
className: "prizma-loading-spinner__title",
|
|
206
|
+
children: titleText
|
|
207
|
+
}),
|
|
208
|
+
effectiveShowSubtitle && u("p", {
|
|
209
|
+
className: "prizma-loading-spinner__subtitle",
|
|
210
|
+
children: subtitleText
|
|
211
|
+
})
|
|
212
|
+
]
|
|
213
|
+
});
|
|
214
|
+
});
|
|
215
|
+
PrizmaLoadingSpinner.displayName = "PrizmaLoadingSpinner";
|
|
216
|
+
//#endregion
|
|
217
|
+
//#region ../../node_modules/.pnpm/@incodetech+prizma-core-web@0.19.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@incodetech/prizma-core-web/dist/Title.js
|
|
218
|
+
/**
|
|
219
|
+
* Title — Prizma Core v0
|
|
220
|
+
*
|
|
221
|
+
* Authoritative spec: ./title.md (v0.1, 2026-06-04)
|
|
222
|
+
* Figma source: Prizma Design System / Title COMPONENT_SET 8124:1996
|
|
223
|
+
* (2 variants on the Variant axis: Centered, Left alignment).
|
|
224
|
+
*
|
|
225
|
+
* Composite presentational header: optional icon-or-loading-indicator slot,
|
|
226
|
+
* mandatory Title text, optional Subtitle text. Two horizontal-alignment
|
|
227
|
+
* variants (`centered`, `left`).
|
|
228
|
+
*
|
|
229
|
+
* NOT interactive — see title.md §3. No focus ring, no hover, no states.
|
|
230
|
+
* `showSubtitle` and the icon slot are content-shape toggles, not state.
|
|
231
|
+
*
|
|
232
|
+
* The icon slot mirrors the Figma INSTANCE_SWAP allowlist (title.md §2.3).
|
|
233
|
+
* v0 supports three slot shapes via a discriminated union:
|
|
234
|
+
* - `{ type: 'status', status: 'success' | 'error' | 'warning' }` — renders
|
|
235
|
+
* the canonical bank status icon at size "xl" (40): IconStatusPositive /
|
|
236
|
+
* IconStatusNegative / IconStatusWarning (icon-outline sweep, owner
|
|
237
|
+
* 2026-07-28). The old v0 inline two-tone stand-in died; the per-status
|
|
238
|
+
* color token is set on the wrapper in Title.css (see its "status icon"
|
|
239
|
+
* block + title.md §4.5 + §5.6).
|
|
240
|
+
* - `{ type: 'spinner' }` — renders <LoadingSpinner /> (bare spinner; the
|
|
241
|
+
* Title supplies the surrounding heading/subtitle).
|
|
242
|
+
* - `{ type: 'none' }` — slot is unmounted (matches Figma
|
|
243
|
+
* `Show Icon/component = False`).
|
|
244
|
+
*
|
|
245
|
+
* Loading bar in the slot is RETIRED (owner call 2026-07-13): it was never
|
|
246
|
+
* in Figma's INSTANCE_SWAP nor built on any platform. The slot allowlist is
|
|
247
|
+
* exactly the three shapes above — no `{ type: 'bar' }` arm is coming.
|
|
248
|
+
*
|
|
249
|
+
* Accessibility (title.md §10.6):
|
|
250
|
+
* - When `icon.type === 'spinner'`, the slot is a loading indicator and
|
|
251
|
+
* the whole Title is a status region: the root receives
|
|
252
|
+
* `role="status"` + `aria-live="polite"` and the heading is wired up as
|
|
253
|
+
* the accessible name via `aria-labelledby`.
|
|
254
|
+
* - Otherwise the root is a plain content container; the heading is a
|
|
255
|
+
* standard <h2>, the subtitle a <p>.
|
|
256
|
+
* - The icon slot is ALWAYS decorative (`aria-hidden`): the title text
|
|
257
|
+
* carries the meaning. This also silences the embedded spinner's own
|
|
258
|
+
* status region + "Loading" span, so the Title root is the single
|
|
259
|
+
* announcer — per the documented contract ("do not add a visually
|
|
260
|
+
* hidden Loading label; the title text already provides one").
|
|
261
|
+
*/
|
|
262
|
+
/**
|
|
263
|
+
* Status icon — now consumed from the canonical bank (icon-outline sweep,
|
|
264
|
+
* owner 2026-07-28): `IconStatusPositive` / `IconStatusNegative` /
|
|
265
|
+
* `IconStatusWarning` at size "xl" (40 = Title/Icon/Size). The local v0
|
|
266
|
+
* two-tone inline SVG stand-in (filled circle + white glyph) died — the bank
|
|
267
|
+
* icons are single-color outline strokes that inherit currentColor, so the
|
|
268
|
+
* per-status color token is set on the wrapper class in Title.css (the old
|
|
269
|
+
* two-tone __status-icon-bg / __status-icon-glyph rules die with it). The
|
|
270
|
+
* wrapper className is merged onto the bank svg, which the CSS sizes to
|
|
271
|
+
* Title/Icon/Size.
|
|
272
|
+
*/
|
|
273
|
+
var STATUS_ICON = {
|
|
274
|
+
success: IconCheck,
|
|
275
|
+
error: IconCross,
|
|
276
|
+
warning: IconWarning
|
|
277
|
+
};
|
|
278
|
+
var StatusIcon = ({ status }) => {
|
|
279
|
+
const modifier = status === "success" ? "prizma-title__status-icon--success" : status === "error" ? "prizma-title__status-icon--error" : "prizma-title__status-icon--warning";
|
|
280
|
+
const BankIcon = STATUS_ICON[status];
|
|
281
|
+
return u(BankIcon, {
|
|
282
|
+
size: "m",
|
|
283
|
+
className: `prizma-title__status-icon ${modifier}`
|
|
284
|
+
});
|
|
285
|
+
};
|
|
286
|
+
var PrizmaTitle = D(({ variant = "centered", title, showSubtitle = false, subtitle, icon = { type: "none" }, headingRef, headingProps, className, ...rest }, ref) => {
|
|
287
|
+
const generatedHeadingId = g();
|
|
288
|
+
const headingId = headingProps?.id ?? generatedHeadingId;
|
|
289
|
+
const isLoadingShape = icon.type === "spinner";
|
|
290
|
+
const slotChild = icon.type === "status" ? u(StatusIcon, { status: icon.status }) : icon.type === "spinner" ? u(PrizmaLoadingSpinner, {}) : null;
|
|
291
|
+
const rootClassName = [
|
|
292
|
+
"prizma-title",
|
|
293
|
+
variant === "left" ? "prizma-title--left" : "prizma-title--centered",
|
|
294
|
+
className
|
|
295
|
+
].filter(Boolean).join(" ");
|
|
296
|
+
return u("div", {
|
|
297
|
+
ref,
|
|
298
|
+
...rest,
|
|
299
|
+
className: rootClassName,
|
|
300
|
+
role: isLoadingShape ? "status" : void 0,
|
|
301
|
+
"aria-live": isLoadingShape ? "polite" : void 0,
|
|
302
|
+
"aria-labelledby": isLoadingShape ? headingId : void 0,
|
|
303
|
+
children: [
|
|
304
|
+
slotChild && u("div", {
|
|
305
|
+
className: "prizma-title__icon-slot",
|
|
306
|
+
"aria-hidden": "true",
|
|
307
|
+
children: slotChild
|
|
308
|
+
}),
|
|
309
|
+
u("h2", {
|
|
310
|
+
...headingProps,
|
|
311
|
+
ref: headingRef,
|
|
312
|
+
id: headingId,
|
|
313
|
+
className: ["prizma-title__heading", headingProps?.className].filter(Boolean).join(" "),
|
|
314
|
+
children: title
|
|
315
|
+
}),
|
|
316
|
+
showSubtitle && subtitle && u("p", {
|
|
317
|
+
className: "prizma-title__subtitle",
|
|
318
|
+
children: subtitle
|
|
319
|
+
})
|
|
320
|
+
]
|
|
321
|
+
});
|
|
322
|
+
});
|
|
323
|
+
PrizmaTitle.displayName = "PrizmaTitle";
|
|
324
|
+
//#endregion
|
|
325
|
+
//#region src/styles/cn.tsx
|
|
326
|
+
var cn = (...classes) => {
|
|
327
|
+
const result = [];
|
|
328
|
+
for (const cls of classes) {
|
|
329
|
+
if (!cls) continue;
|
|
330
|
+
if (typeof cls === "string") result.push(cls);
|
|
331
|
+
else if (typeof cls === "object") {
|
|
332
|
+
for (const [key, value] of Object.entries(cls)) if (value) result.push(key);
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
return result.join(" ");
|
|
336
|
+
};
|
|
337
|
+
//#endregion
|
|
338
|
+
//#region src/shared/assets/instanceOverrides.ts
|
|
339
|
+
var InstanceOverridesContext = Q({});
|
|
340
|
+
var InstanceOverridesProvider = InstanceOverridesContext.Provider;
|
|
341
|
+
function useInstanceOverrides() {
|
|
342
|
+
return x(InstanceOverridesContext);
|
|
343
|
+
}
|
|
344
|
+
//#endregion
|
|
345
|
+
//#region src/shared/assets/assetRegistry.ts
|
|
346
|
+
var defaultExport = (module) => module.default;
|
|
347
|
+
var decorative = { ariaHidden: true };
|
|
348
|
+
var assetRegistry = {
|
|
349
|
+
"faceMatch.success": { a11y: decorative },
|
|
350
|
+
"faceMatch.fail": { a11y: decorative },
|
|
351
|
+
"documentCapture.tutorial": { a11y: decorative },
|
|
352
|
+
"id.uploadScreen": { a11y: decorative },
|
|
353
|
+
"id.ageVerification.dob": { a11y: decorative },
|
|
354
|
+
"id.ageVerification.scan": { a11y: decorative },
|
|
355
|
+
"id.ageVerification.privacy": { a11y: decorative },
|
|
356
|
+
"videoSelfie.success": { a11y: decorative },
|
|
357
|
+
"videoSelfie.fail": { a11y: decorative },
|
|
358
|
+
"videoSelfie.tutorial.permission": { a11y: decorative },
|
|
359
|
+
"videoSelfie.tutorial.selfie": { a11y: decorative },
|
|
360
|
+
"videoSelfie.tutorial.frontId": { a11y: decorative },
|
|
361
|
+
"videoSelfie.tutorial.backId": { a11y: decorative },
|
|
362
|
+
"videoSelfie.tutorial.poa": { a11y: decorative },
|
|
363
|
+
"videoSelfie.tutorial.questions": { a11y: decorative },
|
|
364
|
+
"videoSelfie.tutorial.speech": { a11y: decorative },
|
|
365
|
+
"loader.spinner": { a11y: decorative }
|
|
366
|
+
};
|
|
367
|
+
var animationRegistry = {
|
|
368
|
+
"id.tutorial.front": {
|
|
369
|
+
default: () => import("./id-tutorial-CYXjnunq.js").then(defaultExport),
|
|
370
|
+
a11y: decorative
|
|
371
|
+
},
|
|
372
|
+
"id.tutorial.back": {
|
|
373
|
+
default: () => import("./back-tutorial-v-0Ek2vm.js").then(defaultExport),
|
|
374
|
+
a11y: decorative
|
|
375
|
+
},
|
|
376
|
+
"id.tutorial.passport": {
|
|
377
|
+
default: () => import("./passport-tutorial-B_BAoSVc.js").then(defaultExport),
|
|
378
|
+
a11y: decorative
|
|
379
|
+
},
|
|
380
|
+
"id.flip": {
|
|
381
|
+
default: () => import("./flip-animation-BwsJr5v0.js").then(defaultExport),
|
|
382
|
+
a11y: decorative
|
|
383
|
+
},
|
|
384
|
+
"id.processing": {
|
|
385
|
+
default: {
|
|
386
|
+
horizontal: () => import("./id-laser-h-xw6WLLM_.js").then(defaultExport),
|
|
387
|
+
vertical: () => import("./id-laser-v-BHYuyf78.js").then(defaultExport)
|
|
388
|
+
},
|
|
389
|
+
a11y: decorative
|
|
390
|
+
},
|
|
391
|
+
"selfie.tutorial": {
|
|
392
|
+
default: () => import("./selfieTutorial-2UnQ3071.js").then(defaultExport),
|
|
393
|
+
a11y: decorative
|
|
394
|
+
},
|
|
395
|
+
"loader.spinner": {
|
|
396
|
+
default: null,
|
|
397
|
+
a11y: decorative
|
|
398
|
+
}
|
|
399
|
+
};
|
|
400
|
+
//#endregion
|
|
401
|
+
//#region src/shared/assets/resolveAsset.ts
|
|
402
|
+
/**
|
|
403
|
+
* Whether a resolved value represents an active override, as opposed to no
|
|
404
|
+
* override at all (`type === 'default'`).
|
|
405
|
+
*/
|
|
406
|
+
function isActiveOverride(resolved) {
|
|
407
|
+
return resolved !== null && resolved.type !== "default";
|
|
408
|
+
}
|
|
409
|
+
function warnUnknownKey(key) {
|
|
410
|
+
`${key}`;
|
|
411
|
+
}
|
|
412
|
+
function isValidUrl(url) {
|
|
413
|
+
const SCHEME_PREFIX = /^[a-zA-Z][a-zA-Z0-9+.-]*:/;
|
|
414
|
+
if (url === "" || /\s/.test(url)) return false;
|
|
415
|
+
if (!SCHEME_PREFIX.test(url)) return true;
|
|
416
|
+
try {
|
|
417
|
+
new URL(url);
|
|
418
|
+
return true;
|
|
419
|
+
} catch {
|
|
420
|
+
return false;
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
function normalizeAssetOverride(override) {
|
|
424
|
+
if (override === void 0) return null;
|
|
425
|
+
if (typeof override === "string") {
|
|
426
|
+
const value = override.trim();
|
|
427
|
+
if (value === "") return null;
|
|
428
|
+
if (value.startsWith("<")) return {
|
|
429
|
+
type: "override-raw",
|
|
430
|
+
raw: value
|
|
431
|
+
};
|
|
432
|
+
if (!isValidUrl(value)) return null;
|
|
433
|
+
return {
|
|
434
|
+
type: "override-url",
|
|
435
|
+
url: value
|
|
436
|
+
};
|
|
437
|
+
}
|
|
438
|
+
if ("svg" in override) return {
|
|
439
|
+
type: "override-component",
|
|
440
|
+
component: override.svg
|
|
441
|
+
};
|
|
442
|
+
if ("raw" in override) {
|
|
443
|
+
const raw = override.raw.trim();
|
|
444
|
+
return raw === "" ? null : {
|
|
445
|
+
type: "override-raw",
|
|
446
|
+
raw
|
|
447
|
+
};
|
|
448
|
+
}
|
|
449
|
+
if ("url" in override) {
|
|
450
|
+
const url = override.url.trim();
|
|
451
|
+
if (url === "") return null;
|
|
452
|
+
if (!isValidUrl(url)) return null;
|
|
453
|
+
return {
|
|
454
|
+
type: "override-url",
|
|
455
|
+
url
|
|
456
|
+
};
|
|
457
|
+
}
|
|
458
|
+
return null;
|
|
459
|
+
}
|
|
460
|
+
function normalizeAnimationOverride(override) {
|
|
461
|
+
if (override === void 0) return null;
|
|
462
|
+
if ("url" in override) {
|
|
463
|
+
const url = override.url.trim();
|
|
464
|
+
if (url === "") return null;
|
|
465
|
+
if (!isValidUrl(url)) return null;
|
|
466
|
+
return {
|
|
467
|
+
type: "override-url",
|
|
468
|
+
url
|
|
469
|
+
};
|
|
470
|
+
}
|
|
471
|
+
if ("animationData" in override) return {
|
|
472
|
+
type: "override-data",
|
|
473
|
+
animationData: override.animationData
|
|
474
|
+
};
|
|
475
|
+
return {
|
|
476
|
+
type: "override-data",
|
|
477
|
+
animationData: override
|
|
478
|
+
};
|
|
479
|
+
}
|
|
480
|
+
function resolveAsset(key, scopes = {}) {
|
|
481
|
+
scopes.instance;
|
|
482
|
+
scopes.global;
|
|
483
|
+
const entry = assetRegistry[key];
|
|
484
|
+
if (entry === void 0) {
|
|
485
|
+
warnUnknownKey(key);
|
|
486
|
+
return null;
|
|
487
|
+
}
|
|
488
|
+
const override = normalizeAssetOverride(scopes.instance?.[key]) ?? normalizeAssetOverride(scopes.global?.[key]);
|
|
489
|
+
if (override !== null) return {
|
|
490
|
+
...override,
|
|
491
|
+
a11y: entry.a11y
|
|
492
|
+
};
|
|
493
|
+
return {
|
|
494
|
+
type: "default",
|
|
495
|
+
a11y: entry.a11y
|
|
496
|
+
};
|
|
497
|
+
}
|
|
498
|
+
function resolveAnimation(key, scopes = {}) {
|
|
499
|
+
scopes.instance;
|
|
500
|
+
scopes.global;
|
|
501
|
+
const entry = animationRegistry[key];
|
|
502
|
+
if (entry === void 0) {
|
|
503
|
+
warnUnknownKey(key);
|
|
504
|
+
return null;
|
|
505
|
+
}
|
|
506
|
+
const override = normalizeAnimationOverride(scopes.instance?.[key]) ?? normalizeAnimationOverride(scopes.global?.[key]);
|
|
507
|
+
if (override !== null) return {
|
|
508
|
+
...override,
|
|
509
|
+
a11y: entry.a11y
|
|
510
|
+
};
|
|
511
|
+
return {
|
|
512
|
+
type: "default",
|
|
513
|
+
default: entry.default,
|
|
514
|
+
a11y: entry.a11y
|
|
515
|
+
};
|
|
516
|
+
}
|
|
517
|
+
//#endregion
|
|
518
|
+
//#region src/shared/assets/useAsset.ts
|
|
519
|
+
function useAsset(key) {
|
|
520
|
+
const instance = useInstanceOverrides();
|
|
521
|
+
const uiConfig = useUiConfig();
|
|
522
|
+
return T(() => {
|
|
523
|
+
return resolveAsset(key, {
|
|
524
|
+
instance: instance.assets,
|
|
525
|
+
global: uiConfig.assets
|
|
526
|
+
});
|
|
527
|
+
}, [
|
|
528
|
+
key,
|
|
529
|
+
instance.assets,
|
|
530
|
+
uiConfig.assets
|
|
531
|
+
]);
|
|
532
|
+
}
|
|
533
|
+
function useAnimation(key) {
|
|
534
|
+
const instance = useInstanceOverrides();
|
|
535
|
+
const uiConfig = useUiConfig();
|
|
536
|
+
return T(() => {
|
|
537
|
+
return resolveAnimation(key, {
|
|
538
|
+
instance: instance.animations,
|
|
539
|
+
global: uiConfig.animations
|
|
540
|
+
});
|
|
541
|
+
}, [
|
|
542
|
+
key,
|
|
543
|
+
instance.animations,
|
|
544
|
+
uiConfig.animations
|
|
545
|
+
]);
|
|
546
|
+
}
|
|
547
|
+
/** Whether a customer supplied an SVG or animation for the shared loader. */
|
|
548
|
+
function useHasLoaderOverride() {
|
|
549
|
+
const asset = useAsset("loader.spinner");
|
|
550
|
+
const animation = useAnimation("loader.spinner");
|
|
551
|
+
return isActiveOverride(asset) || isActiveOverride(animation);
|
|
552
|
+
}
|
|
553
|
+
//#endregion
|
|
554
|
+
//#region src/shared/assets/asset.tsx
|
|
555
|
+
function altText(a11y, t) {
|
|
556
|
+
return "altKey" in a11y ? t(a11y.altKey) : "";
|
|
557
|
+
}
|
|
558
|
+
function svgA11y(a11y, t) {
|
|
559
|
+
return "altKey" in a11y ? {
|
|
560
|
+
role: "img",
|
|
561
|
+
"aria-label": t(a11y.altKey)
|
|
562
|
+
} : { "aria-hidden": "true" };
|
|
563
|
+
}
|
|
564
|
+
/**
|
|
565
|
+
* Normalizes the call-site `default` into a renderable shape. Trusted (it is a
|
|
566
|
+
* bundled SDK asset), so raw markup is not sanitized — unlike a customer raw
|
|
567
|
+
* override.
|
|
568
|
+
*/
|
|
569
|
+
function defaultToRenderable(value) {
|
|
570
|
+
if (value === void 0) return null;
|
|
571
|
+
if (typeof value === "function") return {
|
|
572
|
+
kind: "component",
|
|
573
|
+
value
|
|
574
|
+
};
|
|
575
|
+
return value.trim().startsWith("<") ? {
|
|
576
|
+
kind: "raw",
|
|
577
|
+
value
|
|
578
|
+
} : {
|
|
579
|
+
kind: "url",
|
|
580
|
+
value
|
|
581
|
+
};
|
|
582
|
+
}
|
|
583
|
+
/**
|
|
584
|
+
* Sanitizes a raw override with DOMPurify, loaded on first use. Only raw SVG
|
|
585
|
+
* overrides need it, and `Asset` renders in every module (the loader
|
|
586
|
+
* spinner), so a static import would ship it everywhere. Returns `null` while
|
|
587
|
+
* it loads. A failed load counts as markup that sanitizes to nothing, so the
|
|
588
|
+
* caller falls back to the built-in default.
|
|
589
|
+
*/
|
|
590
|
+
function useSanitizedSvg(raw) {
|
|
591
|
+
const [result, setResult] = d(null);
|
|
592
|
+
y(() => {
|
|
593
|
+
if (raw === null) return;
|
|
594
|
+
let active = true;
|
|
595
|
+
import("./sanitizeSvg-wb-lG02K.js").then(({ sanitizeSvg }) => sanitizeSvg(raw)).catch(() => ({
|
|
596
|
+
markup: "",
|
|
597
|
+
strippedHref: false
|
|
598
|
+
})).then((svg) => {
|
|
599
|
+
if (active) setResult({
|
|
600
|
+
raw,
|
|
601
|
+
svg
|
|
602
|
+
});
|
|
603
|
+
});
|
|
604
|
+
return () => {
|
|
605
|
+
active = false;
|
|
606
|
+
};
|
|
607
|
+
}, [raw]);
|
|
608
|
+
return result?.raw === raw ? result.svg : null;
|
|
609
|
+
}
|
|
610
|
+
function useAssetContent(key, defaultAsset, onFallback) {
|
|
611
|
+
const resolved = useAsset(key);
|
|
612
|
+
const [failedUrl, setFailedUrl] = d(null);
|
|
613
|
+
const rawOverride = resolved?.type === "override-raw" ? resolved.raw : null;
|
|
614
|
+
const sanitizedRaw = useSanitizedSvg(rawOverride);
|
|
615
|
+
const urlFailed = resolved?.type === "override-url" && resolved.url === failedUrl;
|
|
616
|
+
const rawStripped = sanitizedRaw !== null && (sanitizedRaw.strippedHref || sanitizedRaw.markup.trim() === "");
|
|
617
|
+
y(() => {
|
|
618
|
+
if (urlFailed || rawStripped) onFallback?.();
|
|
619
|
+
}, [
|
|
620
|
+
urlFailed,
|
|
621
|
+
rawStripped,
|
|
622
|
+
onFallback
|
|
623
|
+
]);
|
|
624
|
+
if (resolved === null || rawOverride !== null && sanitizedRaw === null) return null;
|
|
625
|
+
const useDefault = resolved.type === "default" || urlFailed || rawStripped;
|
|
626
|
+
const { a11y } = resolved;
|
|
627
|
+
if (!useDefault) switch (resolved.type) {
|
|
628
|
+
case "override-component": return {
|
|
629
|
+
content: {
|
|
630
|
+
kind: "component",
|
|
631
|
+
value: resolved.component
|
|
632
|
+
},
|
|
633
|
+
a11y
|
|
634
|
+
};
|
|
635
|
+
case "override-url": return {
|
|
636
|
+
content: {
|
|
637
|
+
kind: "url",
|
|
638
|
+
value: resolved.url,
|
|
639
|
+
onError: () => setFailedUrl(resolved.url)
|
|
640
|
+
},
|
|
641
|
+
a11y
|
|
642
|
+
};
|
|
643
|
+
case "override-raw": return {
|
|
644
|
+
content: {
|
|
645
|
+
kind: "raw",
|
|
646
|
+
value: sanitizedRaw?.markup ?? ""
|
|
647
|
+
},
|
|
648
|
+
a11y
|
|
649
|
+
};
|
|
650
|
+
}
|
|
651
|
+
const content = defaultToRenderable(defaultAsset);
|
|
652
|
+
return content ? {
|
|
653
|
+
content,
|
|
654
|
+
a11y
|
|
655
|
+
} : null;
|
|
656
|
+
}
|
|
657
|
+
function renderAsset(content, a11y, t, className) {
|
|
658
|
+
switch (content.kind) {
|
|
659
|
+
case "component": {
|
|
660
|
+
const Svg = content.value;
|
|
661
|
+
return /* @__PURE__ */ u(Svg, {
|
|
662
|
+
class: className,
|
|
663
|
+
...svgA11y(a11y, t)
|
|
664
|
+
});
|
|
665
|
+
}
|
|
666
|
+
case "url": return /* @__PURE__ */ u("img", {
|
|
667
|
+
src: content.value,
|
|
668
|
+
alt: altText(a11y, t),
|
|
669
|
+
"aria-hidden": "altKey" in a11y ? void 0 : "true",
|
|
670
|
+
class: className,
|
|
671
|
+
onError: content.onError
|
|
672
|
+
});
|
|
673
|
+
case "raw": return /* @__PURE__ */ u("span", {
|
|
674
|
+
class: cn("IncodeAssetRaw", className),
|
|
675
|
+
...svgA11y(a11y, t),
|
|
676
|
+
dangerouslySetInnerHTML: { __html: content.value }
|
|
677
|
+
});
|
|
678
|
+
default: return content;
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
/**
|
|
682
|
+
* Renders a branded illustration by catalog key, honoring the resolved
|
|
683
|
+
* precedence (per-instance → global → built-in default). The built-in default
|
|
684
|
+
* is supplied by the call site via `default` (imported on-site).
|
|
685
|
+
*/
|
|
686
|
+
function Asset({ name, class: className, default: defaultAsset, onFallback }) {
|
|
687
|
+
const { t } = useTranslation();
|
|
688
|
+
const result = useAssetContent(name, defaultAsset, onFallback);
|
|
689
|
+
if (result === null) return null;
|
|
690
|
+
return renderAsset(result.content, result.a11y, t, className);
|
|
691
|
+
}
|
|
692
|
+
//#endregion
|
|
693
|
+
//#region src/shared/lottie/lottie.tsx
|
|
694
|
+
var lottiePromise = null;
|
|
695
|
+
var lottiePlayer;
|
|
696
|
+
async function loadLottie() {
|
|
697
|
+
if (lottiePromise) return lottiePromise;
|
|
698
|
+
lottiePromise = import("./lottie_light-B819EhaL.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1)).then((mod) => {
|
|
699
|
+
lottiePlayer = mod.default;
|
|
700
|
+
return lottiePlayer;
|
|
701
|
+
}, (error) => {
|
|
702
|
+
lottiePromise = null;
|
|
703
|
+
throw error;
|
|
704
|
+
});
|
|
705
|
+
return lottiePromise;
|
|
706
|
+
}
|
|
707
|
+
var AUTO_STOP_AFTER_MS = 5e3;
|
|
708
|
+
function Lottie({ animationData, loop = true, autoplay = true, reverse = false, style, className, onComplete, autoStop = false, stopFramePosition }) {
|
|
709
|
+
const containerRef = A(null);
|
|
710
|
+
const effectiveAutoplay = reverse ? false : autoplay;
|
|
711
|
+
_(() => {
|
|
712
|
+
const container = containerRef.current;
|
|
713
|
+
if (!container) return;
|
|
714
|
+
let anim;
|
|
715
|
+
let stopTimer;
|
|
716
|
+
let isMounted = true;
|
|
717
|
+
const start = (lottie) => {
|
|
718
|
+
if (!isMounted) return;
|
|
719
|
+
container.replaceChildren();
|
|
720
|
+
anim = lottie.loadAnimation({
|
|
721
|
+
container,
|
|
722
|
+
renderer: "svg",
|
|
723
|
+
loop,
|
|
724
|
+
autoplay: effectiveAutoplay,
|
|
725
|
+
animationData
|
|
726
|
+
});
|
|
727
|
+
if (reverse) {
|
|
728
|
+
anim.setDirection(-1);
|
|
729
|
+
anim.goToAndPlay(anim.totalFrames - 1, true);
|
|
730
|
+
}
|
|
731
|
+
if (onComplete) anim.addEventListener("complete", onComplete);
|
|
732
|
+
if (autoStop) stopTimer = window.setTimeout(() => {
|
|
733
|
+
const current = anim;
|
|
734
|
+
if (!current) return;
|
|
735
|
+
if (!stopFramePosition) {
|
|
736
|
+
current.pause();
|
|
737
|
+
return;
|
|
738
|
+
}
|
|
739
|
+
const totalFrames = current.totalFrames;
|
|
740
|
+
if (!totalFrames || totalFrames <= 0) {
|
|
741
|
+
current.stop();
|
|
742
|
+
return;
|
|
743
|
+
}
|
|
744
|
+
const targetFrame = stopFramePosition === "last" ? Math.max(totalFrames - 1, 0) : stopFramePosition === "first" ? 0 : Math.floor((totalFrames - 1) / 2);
|
|
745
|
+
current.goToAndStop(targetFrame, true);
|
|
746
|
+
}, AUTO_STOP_AFTER_MS);
|
|
747
|
+
};
|
|
748
|
+
if (lottiePlayer) start(lottiePlayer);
|
|
749
|
+
else loadLottie().then(start, () => void 0);
|
|
750
|
+
return () => {
|
|
751
|
+
isMounted = false;
|
|
752
|
+
if (stopTimer !== void 0) window.clearTimeout(stopTimer);
|
|
753
|
+
if (anim) {
|
|
754
|
+
if (onComplete) anim.removeEventListener("complete", onComplete);
|
|
755
|
+
const frame = container.firstElementChild?.cloneNode(true);
|
|
756
|
+
anim.destroy();
|
|
757
|
+
if (frame) container.appendChild(frame);
|
|
758
|
+
}
|
|
759
|
+
};
|
|
760
|
+
}, [
|
|
761
|
+
animationData,
|
|
762
|
+
loop,
|
|
763
|
+
effectiveAutoplay,
|
|
764
|
+
onComplete,
|
|
765
|
+
reverse,
|
|
766
|
+
autoStop,
|
|
767
|
+
stopFramePosition
|
|
768
|
+
]);
|
|
769
|
+
return /* @__PURE__ */ u("div", {
|
|
770
|
+
ref: containerRef,
|
|
771
|
+
style,
|
|
772
|
+
className,
|
|
773
|
+
"aria-hidden": "true"
|
|
774
|
+
});
|
|
775
|
+
}
|
|
776
|
+
//#endregion
|
|
777
|
+
//#region src/shared/assets/animatedAsset.tsx
|
|
778
|
+
var overrideUrlCache = /* @__PURE__ */ new Map();
|
|
779
|
+
function fetchAnimation(url) {
|
|
780
|
+
const cached = overrideUrlCache.get(url);
|
|
781
|
+
if (cached) return cached;
|
|
782
|
+
const pending = fetch(url).then((response) => {
|
|
783
|
+
if (!response.ok) throw new Error(`Request for "${url}" failed with status ${response.status}.`);
|
|
784
|
+
return response.json();
|
|
785
|
+
});
|
|
786
|
+
overrideUrlCache.set(url, pending);
|
|
787
|
+
pending.catch(() => overrideUrlCache.delete(url));
|
|
788
|
+
return pending;
|
|
789
|
+
}
|
|
790
|
+
function loadAnimationDefault(def, orientation) {
|
|
791
|
+
if (def === null) return Promise.resolve(null);
|
|
792
|
+
if (typeof def === "function") return def();
|
|
793
|
+
return def[orientation]();
|
|
794
|
+
}
|
|
795
|
+
var defaultCache = /* @__PURE__ */ new Map();
|
|
796
|
+
function defaultCacheKey(name, orientation) {
|
|
797
|
+
return `${name}|${orientation}`;
|
|
798
|
+
}
|
|
799
|
+
function loadDefaultCached(name, orientation) {
|
|
800
|
+
const cacheKey = defaultCacheKey(name, orientation);
|
|
801
|
+
if (defaultCache.has(cacheKey)) return Promise.resolve(defaultCache.get(cacheKey) ?? null);
|
|
802
|
+
return loadAnimationDefault(animationRegistry[name]?.default ?? null, orientation).then((value) => {
|
|
803
|
+
defaultCache.set(cacheKey, value);
|
|
804
|
+
return value;
|
|
805
|
+
});
|
|
806
|
+
}
|
|
807
|
+
/**
|
|
808
|
+
* Warms the built-in animation cache for the given catalog keys so a later
|
|
809
|
+
* render is synchronous (no flash). Best-effort; call it before the screen
|
|
810
|
+
* mounts.
|
|
811
|
+
*/
|
|
812
|
+
function preloadAnimations(keys, orientation = "vertical") {
|
|
813
|
+
for (const key of keys) loadDefaultCached(key, orientation).catch(() => {});
|
|
814
|
+
}
|
|
815
|
+
/**
|
|
816
|
+
* Resolves the winning animation to parsed `animationData` plus whether it came
|
|
817
|
+
* from a customer override. Reads the default cache synchronously on first
|
|
818
|
+
* render, so a preloaded animation shows with no flash. A failed override URL
|
|
819
|
+
* silently falls back to the built-in default.
|
|
820
|
+
*
|
|
821
|
+
* Shared by `AnimatedAsset` and by tutorial surfaces that render Lottie
|
|
822
|
+
* themselves (e.g. `BaseTutorial`, which recolors only built-in defaults).
|
|
823
|
+
*
|
|
824
|
+
* `onFallback`, if given, fires only when a *configured* override actually
|
|
825
|
+
* fails to load (never when there was simply no override to begin with) —
|
|
826
|
+
* for a caller whose true fallback lives outside this system entirely, so it
|
|
827
|
+
* can react to a real failure instead of committing to render this component before
|
|
828
|
+
* knowing whether the override will actually work.
|
|
829
|
+
*/
|
|
830
|
+
function useAnimationData(name, orientation = "vertical", onFallback) {
|
|
831
|
+
const resolved = useAnimation(name);
|
|
832
|
+
const type = resolved?.type;
|
|
833
|
+
const isOverride = isActiveOverride(resolved);
|
|
834
|
+
const overrideUrl = resolved?.type === "override-url" ? resolved.url : void 0;
|
|
835
|
+
const overrideData = resolved?.type === "override-data" ? resolved.animationData : void 0;
|
|
836
|
+
const [data, setData] = d(() => {
|
|
837
|
+
if (type === "override-data") return overrideData ?? null;
|
|
838
|
+
if (type === "default") return defaultCache.get(defaultCacheKey(name, orientation)) ?? null;
|
|
839
|
+
return null;
|
|
840
|
+
});
|
|
841
|
+
const [overrideFailed, setOverrideFailed] = d(false);
|
|
842
|
+
y(() => {
|
|
843
|
+
let active = true;
|
|
844
|
+
setOverrideFailed(false);
|
|
845
|
+
if (type === void 0) setData(null);
|
|
846
|
+
else if (type === "override-data") setData(overrideData ?? null);
|
|
847
|
+
else if (type === "override-url" && overrideUrl !== void 0) fetchAnimation(overrideUrl).then((value) => {
|
|
848
|
+
if (active) setData(value);
|
|
849
|
+
}, (error) => {
|
|
850
|
+
`${name}`;
|
|
851
|
+
if (active) {
|
|
852
|
+
setOverrideFailed(true);
|
|
853
|
+
loadDefaultCached(name, orientation).then((value) => {
|
|
854
|
+
if (active) setData(value);
|
|
855
|
+
}, () => {});
|
|
856
|
+
}
|
|
857
|
+
});
|
|
858
|
+
else loadDefaultCached(name, orientation).then((value) => {
|
|
859
|
+
if (active) setData(value);
|
|
860
|
+
}, (error) => {
|
|
861
|
+
if (active) {
|
|
862
|
+
setData(null);
|
|
863
|
+
`${name}`;
|
|
864
|
+
}
|
|
865
|
+
});
|
|
866
|
+
return () => {
|
|
867
|
+
active = false;
|
|
868
|
+
};
|
|
869
|
+
}, [
|
|
870
|
+
name,
|
|
871
|
+
orientation,
|
|
872
|
+
type,
|
|
873
|
+
overrideUrl,
|
|
874
|
+
overrideData
|
|
875
|
+
]);
|
|
876
|
+
y(() => {
|
|
877
|
+
if (overrideFailed) onFallback?.();
|
|
878
|
+
}, [overrideFailed, onFallback]);
|
|
879
|
+
return {
|
|
880
|
+
data,
|
|
881
|
+
isOverride
|
|
882
|
+
};
|
|
883
|
+
}
|
|
884
|
+
/**
|
|
885
|
+
* Renders a Lottie animation by catalog key, honoring the resolved precedence
|
|
886
|
+
* (per-instance → global → built-in default). Renders nothing while pending or
|
|
887
|
+
* when there is no Lottie to show; the container is `aria-hidden` (all catalog
|
|
888
|
+
* animations are decorative).
|
|
889
|
+
*/
|
|
890
|
+
function AnimatedAsset({ name, autoStop, stopFramePosition, orientation = "vertical", loop, reverse, onComplete, class: className, onFallback }) {
|
|
891
|
+
const { data } = useAnimationData(name, orientation, onFallback);
|
|
892
|
+
if (data === null) return null;
|
|
893
|
+
return /* @__PURE__ */ u(Lottie, {
|
|
894
|
+
animationData: data,
|
|
895
|
+
autoStop,
|
|
896
|
+
stopFramePosition,
|
|
897
|
+
loop,
|
|
898
|
+
reverse,
|
|
899
|
+
onComplete,
|
|
900
|
+
className
|
|
901
|
+
});
|
|
902
|
+
}
|
|
903
|
+
//#endregion
|
|
904
|
+
//#region src/shared/loader/loadingIcon.tsx
|
|
905
|
+
/**
|
|
906
|
+
* Duration of the CSS spin animation on `.IncodeLoadingIcon`.
|
|
907
|
+
* Must stay in sync with the `animation-duration` declared in the stylesheet.
|
|
908
|
+
*/
|
|
909
|
+
var SPIN_DURATION_MS = 1e3;
|
|
910
|
+
var SpinnerPrimary = ({ size, className }) => {
|
|
911
|
+
return /* @__PURE__ */ u("svg", {
|
|
912
|
+
width: size,
|
|
913
|
+
height: size,
|
|
914
|
+
viewBox: "0 0 31 31",
|
|
915
|
+
fill: "none",
|
|
916
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
917
|
+
class: cn("IncodeLoadingIconPrimaryIcon", className),
|
|
918
|
+
"aria-hidden": "true",
|
|
919
|
+
children: /* @__PURE__ */ u("path", { d: "M28.161 15.284c1.292 0 2.358-1.054 2.157-2.33A15 15 0 0 0 17.83.466c-1.276-.2-2.329.865-2.329 2.156s1.06 2.313 2.319 2.603a10.32 10.32 0 0 1 7.74 7.74c.29 1.259 1.31 2.319 2.602 2.319Z" })
|
|
920
|
+
});
|
|
921
|
+
};
|
|
922
|
+
var SpinnerSecondary = ({ size, className }) => {
|
|
923
|
+
return /* @__PURE__ */ u("svg", {
|
|
924
|
+
width: size,
|
|
925
|
+
height: size,
|
|
926
|
+
viewBox: "0 0 31 31",
|
|
927
|
+
fill: "none",
|
|
928
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
929
|
+
class: cn("IncodeLoadingIconSecondaryIcon", className),
|
|
930
|
+
"aria-hidden": "true",
|
|
931
|
+
children: [/* @__PURE__ */ u("title", { children: "Spinner Outer part" }), /* @__PURE__ */ u("path", { d: "M30.5 15.284c0 8.284-6.716 15-15 15s-15-6.716-15-15c0-8.285 6.716-15 15-15s15 6.715 15 15Zm-25.323 0c0 5.7 4.622 10.322 10.323 10.322s10.323-4.621 10.323-10.322S21.2 4.96 15.5 4.96 5.177 9.583 5.177 15.284Z" })]
|
|
932
|
+
});
|
|
933
|
+
};
|
|
934
|
+
var LoadingIcon = ({ size = 30, secondaryClass, primaryClass }) => {
|
|
935
|
+
const ref = A(null);
|
|
936
|
+
const overrideRef = A(null);
|
|
937
|
+
const animation = useAnimation("loader.spinner");
|
|
938
|
+
const svg = useAsset("loader.spinner");
|
|
939
|
+
const hasAnimationOverride = isActiveOverride(animation);
|
|
940
|
+
const hasSvgOverride = isActiveOverride(svg);
|
|
941
|
+
const [overrideFailed, setOverrideFailed] = d(false);
|
|
942
|
+
const handleFallback = q(() => setOverrideFailed(true), []);
|
|
943
|
+
const hasOverride = (hasAnimationOverride || hasSvgOverride) && !overrideFailed;
|
|
944
|
+
/**
|
|
945
|
+
* Cross-module loaders (e.g. ID processing → selfie initialising) unmount
|
|
946
|
+
* and remount this component as the user moves between flow steps. By
|
|
947
|
+
* default each remount restarts the CSS spin animation from frame 0, which
|
|
948
|
+
* reads as a visible "stutter" or reset of the spinner during otherwise
|
|
949
|
+
* seamless transitions.
|
|
950
|
+
*
|
|
951
|
+
* To keep the rotation continuous across remounts we anchor the animation
|
|
952
|
+
* to a wall-clock offset: `performance.now() % SPIN_DURATION_MS` tells us
|
|
953
|
+
* how far into the current spin cycle we are, and applying it as a
|
|
954
|
+
* negative `animation-delay` makes the new instance pick up exactly where
|
|
955
|
+
* the previous one left off. (Built-in default only.)
|
|
956
|
+
*/
|
|
957
|
+
_(() => {
|
|
958
|
+
if (hasOverride || !ref.current) return;
|
|
959
|
+
const offsetMs = performance.now() % SPIN_DURATION_MS;
|
|
960
|
+
ref.current.style.animationDelay = `-${offsetMs}ms`;
|
|
961
|
+
}, [hasOverride]);
|
|
962
|
+
_(() => {
|
|
963
|
+
if (!overrideRef.current) return;
|
|
964
|
+
overrideRef.current.style.width = `${size}px`;
|
|
965
|
+
overrideRef.current.style.height = `${size}px`;
|
|
966
|
+
}, [size, hasOverride]);
|
|
967
|
+
if (hasOverride) return /* @__PURE__ */ u("div", {
|
|
968
|
+
ref: overrideRef,
|
|
969
|
+
class: "IncodeLoadingIconOverride",
|
|
970
|
+
children: hasAnimationOverride ? /* @__PURE__ */ u(AnimatedAsset, {
|
|
971
|
+
name: "loader.spinner",
|
|
972
|
+
loop: true,
|
|
973
|
+
onFallback: handleFallback
|
|
974
|
+
}) : /* @__PURE__ */ u(Asset, {
|
|
975
|
+
name: "loader.spinner",
|
|
976
|
+
onFallback: handleFallback
|
|
977
|
+
})
|
|
978
|
+
});
|
|
979
|
+
return /* @__PURE__ */ u("div", {
|
|
980
|
+
ref,
|
|
981
|
+
class: "IncodeLoadingIcon",
|
|
982
|
+
children: [/* @__PURE__ */ u(SpinnerSecondary, {
|
|
983
|
+
size,
|
|
984
|
+
className: secondaryClass
|
|
985
|
+
}), /* @__PURE__ */ u("div", {
|
|
986
|
+
class: "IncodeLoadingIconPrimary",
|
|
987
|
+
children: /* @__PURE__ */ u(SpinnerPrimary, {
|
|
988
|
+
size,
|
|
989
|
+
className: primaryClass
|
|
990
|
+
})
|
|
991
|
+
})]
|
|
992
|
+
});
|
|
993
|
+
};
|
|
994
|
+
//#endregion
|
|
995
|
+
//#region src/shared/title/title.tsx
|
|
996
|
+
/** Prizma's default `--prizma-spinner-ring-size`. */
|
|
997
|
+
var DEFAULT_SPINNER_SIZE = 48;
|
|
998
|
+
function classValue(value) {
|
|
999
|
+
return typeof value === "object" ? value.value : value;
|
|
1000
|
+
}
|
|
1001
|
+
function assignRef(ref, value) {
|
|
1002
|
+
if (typeof ref === "function") ref(value);
|
|
1003
|
+
else if (ref) ref.current = value;
|
|
1004
|
+
}
|
|
1005
|
+
var Title = D(({ children, className, class: classAttribute, subtitle, showSubtitle = Boolean(subtitle), icon, variant, subtitleProps, headingProps, headingRef, wrapperProps, wrapperRef, spinnerSize = DEFAULT_SPINNER_SIZE, ...rest }, ref) => {
|
|
1006
|
+
const generatedId = g();
|
|
1007
|
+
const hasLoaderOverride = useHasLoaderOverride();
|
|
1008
|
+
const customSpinner = icon?.type === "spinner" && hasLoaderOverride;
|
|
1009
|
+
const subtitleId = subtitleProps?.id ?? `${generatedId}-subtitle`;
|
|
1010
|
+
const hasSubtitle = typeof children === "string" && showSubtitle && Boolean(subtitle);
|
|
1011
|
+
const setRef = q((node) => {
|
|
1012
|
+
assignRef(ref, node);
|
|
1013
|
+
assignRef(headingRef, node);
|
|
1014
|
+
}, [ref, headingRef]);
|
|
1015
|
+
const headingClass = cn("IncodeTitle", classValue(headingProps?.className), classValue(className), typeof classAttribute === "object" ? classAttribute.value : classAttribute);
|
|
1016
|
+
const nativeProps = {
|
|
1017
|
+
...headingProps,
|
|
1018
|
+
...rest,
|
|
1019
|
+
"aria-describedby": rest["aria-describedby"] ?? headingProps?.["aria-describedby"] ?? (hasSubtitle ? subtitleId : void 0),
|
|
1020
|
+
className: headingClass
|
|
1021
|
+
};
|
|
1022
|
+
if (typeof children === "string") return /* @__PURE__ */ u("div", {
|
|
1023
|
+
...wrapperProps,
|
|
1024
|
+
ref: wrapperRef,
|
|
1025
|
+
role: customSpinner ? "status" : wrapperProps?.role,
|
|
1026
|
+
"aria-live": customSpinner ? "polite" : wrapperProps?.["aria-live"],
|
|
1027
|
+
"aria-labelledby": customSpinner ? nativeProps.id ?? generatedId : wrapperProps?.["aria-labelledby"],
|
|
1028
|
+
className: cn("IncodeTitleContainer", variant === "left" && "IncodeTitleLeft", (icon?.type !== void 0 && icon.type !== "none" || variant !== void 0) && "IncodeTitleComposite", classValue(wrapperProps?.className)),
|
|
1029
|
+
children: [
|
|
1030
|
+
customSpinner && /* @__PURE__ */ u("div", {
|
|
1031
|
+
className: "IncodeTitleIconSlot",
|
|
1032
|
+
"aria-hidden": "true",
|
|
1033
|
+
children: /* @__PURE__ */ u(LoadingIcon, { size: spinnerSize })
|
|
1034
|
+
}),
|
|
1035
|
+
/* @__PURE__ */ u(PrizmaTitle, {
|
|
1036
|
+
title: children,
|
|
1037
|
+
variant,
|
|
1038
|
+
icon: customSpinner ? { type: "none" } : icon,
|
|
1039
|
+
className: "IncodeTitleHeadingGroup",
|
|
1040
|
+
headingRef: setRef,
|
|
1041
|
+
headingProps: {
|
|
1042
|
+
...nativeProps,
|
|
1043
|
+
id: customSpinner ? nativeProps.id ?? generatedId : nativeProps.id
|
|
1044
|
+
}
|
|
1045
|
+
}),
|
|
1046
|
+
hasSubtitle && /* @__PURE__ */ u("p", {
|
|
1047
|
+
...subtitleProps,
|
|
1048
|
+
id: subtitleId,
|
|
1049
|
+
className: cn("IncodeTitleSubtitle", classValue(subtitleProps?.className), classValue(subtitleProps?.class)),
|
|
1050
|
+
children: subtitle
|
|
1051
|
+
})
|
|
1052
|
+
]
|
|
1053
|
+
});
|
|
1054
|
+
return /* @__PURE__ */ u("h2", {
|
|
1055
|
+
...nativeProps,
|
|
1056
|
+
ref: setRef,
|
|
1057
|
+
class: headingClass,
|
|
1058
|
+
children
|
|
1059
|
+
});
|
|
1060
|
+
});
|
|
1061
|
+
//#endregion
|
|
1062
|
+
//#region src/shared/spacer/spacer.tsx
|
|
1063
|
+
var scaleTokens = new Set([
|
|
1064
|
+
0,
|
|
1065
|
+
2,
|
|
1066
|
+
4,
|
|
1067
|
+
8,
|
|
1068
|
+
12,
|
|
1069
|
+
16,
|
|
1070
|
+
20,
|
|
1071
|
+
24,
|
|
1072
|
+
32,
|
|
1073
|
+
40,
|
|
1074
|
+
48,
|
|
1075
|
+
64,
|
|
1076
|
+
80,
|
|
1077
|
+
96,
|
|
1078
|
+
104,
|
|
1079
|
+
120,
|
|
1080
|
+
200
|
|
1081
|
+
]);
|
|
1082
|
+
var scaleToClassName = (size, direction) => {
|
|
1083
|
+
if (direction === "horizontal") return {
|
|
1084
|
+
0: "IncodeSpacerHorizontal0",
|
|
1085
|
+
2: "IncodeSpacerHorizontal2",
|
|
1086
|
+
4: "IncodeSpacerHorizontal4",
|
|
1087
|
+
8: "IncodeSpacerHorizontal8",
|
|
1088
|
+
12: "IncodeSpacerHorizontal12",
|
|
1089
|
+
16: "IncodeSpacerHorizontal16",
|
|
1090
|
+
20: "IncodeSpacerHorizontal20",
|
|
1091
|
+
24: "IncodeSpacerHorizontal24",
|
|
1092
|
+
32: "IncodeSpacerHorizontal32",
|
|
1093
|
+
40: "IncodeSpacerHorizontal40",
|
|
1094
|
+
48: "IncodeSpacerHorizontal48",
|
|
1095
|
+
64: "IncodeSpacerHorizontal64",
|
|
1096
|
+
80: "IncodeSpacerHorizontal80",
|
|
1097
|
+
96: "IncodeSpacerHorizontal96",
|
|
1098
|
+
104: "IncodeSpacerHorizontal104",
|
|
1099
|
+
120: "IncodeSpacerHorizontal120",
|
|
1100
|
+
200: "IncodeSpacerHorizontal200"
|
|
1101
|
+
}[size];
|
|
1102
|
+
return {
|
|
1103
|
+
0: "IncodeSpacerVertical0",
|
|
1104
|
+
2: "IncodeSpacerVertical2",
|
|
1105
|
+
4: "IncodeSpacerVertical4",
|
|
1106
|
+
8: "IncodeSpacerVertical8",
|
|
1107
|
+
12: "IncodeSpacerVertical12",
|
|
1108
|
+
16: "IncodeSpacerVertical16",
|
|
1109
|
+
20: "IncodeSpacerVertical20",
|
|
1110
|
+
24: "IncodeSpacerVertical24",
|
|
1111
|
+
32: "IncodeSpacerVertical32",
|
|
1112
|
+
40: "IncodeSpacerVertical40",
|
|
1113
|
+
48: "IncodeSpacerVertical48",
|
|
1114
|
+
64: "IncodeSpacerVertical64",
|
|
1115
|
+
80: "IncodeSpacerVertical80",
|
|
1116
|
+
96: "IncodeSpacerVertical96",
|
|
1117
|
+
104: "IncodeSpacerVertical104",
|
|
1118
|
+
120: "IncodeSpacerVertical120",
|
|
1119
|
+
200: "IncodeSpacerVertical200"
|
|
1120
|
+
}[size];
|
|
1121
|
+
};
|
|
1122
|
+
var Spacer = M(function Spacer({ size, className, direction = "vertical" }) {
|
|
1123
|
+
if (size === void 0) return /* @__PURE__ */ u("div", { class: `IncodeSpacerFlex ${className || ""}` });
|
|
1124
|
+
if (!(direction === "horizontal" ? "w" : direction === "vertical" ? "h" : void 0)) return /* @__PURE__ */ u("div", { class: `${className || ""}` });
|
|
1125
|
+
if (typeof size === "number" && scaleTokens.has(size)) return /* @__PURE__ */ u("div", { class: `${scaleToClassName(size, direction)} ${className || ""}` });
|
|
1126
|
+
return /* @__PURE__ */ u("div", { class: `${className || ""}` });
|
|
1127
|
+
});
|
|
1128
|
+
//#endregion
|
|
1129
|
+
export { preloadAnimations as a, loadLottie as c, InstanceOverridesProvider as d, useInstanceOverrides as f, IconCheck as g, IconCross as h, AnimatedAsset as i, Asset as l, PrizmaLoadingSpinner as m, Title as n, useAnimationData as o, cn as p, LoadingIcon as r, Lottie as s, Spacer as t, useHasLoaderOverride as u };
|