@incodetech/web 0.0.0-dev-20260729-37d96d3d → 0.0.0-dev-20260729-9e7b030a
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/ae-signature/ae-signature.es.js +3 -3
- package/dist/antifraud/antifraud.es.js +3 -3
- package/dist/authentication/authentication.es.js +4 -4
- package/dist/{autoFocusTitle-iZIKJfYJ.js → autoFocusTitle-CvZ2oKGw.js} +1 -1
- package/dist/{browser-ponyfill-D1icr7Vh.js → browser-ponyfill-uS1iX5_X.js} +1 -1
- package/dist/{captureNotification-BQY39v7i.js → captureNotification-CZJAUALL.js} +7 -7
- package/dist/certificate-issuance/certificate-issuance.es.js +9 -9
- package/dist/{checkbox-Bar2Q75h.js → checkbox-CjLNtXmu.js} +3 -3
- package/dist/{connectionError-DJ9joMSc.js → connectionError-DbDaaT-B.js} +3 -3
- package/dist/consent/consent.es.js +6 -6
- package/dist/{countrySelector-nRjpjFZr.js → countrySelector-DWK-Q92b.js} +2 -2
- package/dist/cross-document-data-match/cross-document-data-match.es.js +3 -3
- package/dist/curp-validation/curp-validation.es.js +12 -12
- package/dist/{customFields-DWHlj3fI.js → customFields-JRAHfQtj.js} +9 -9
- package/dist/{customWatchlist-B1WtVx_C.js → customWatchlist-DaP3FwDS.js} +5 -5
- package/dist/{dashboardTheme-BBWzF-Rl.js → dashboardTheme-BExWWw2E.js} +1 -1
- package/dist/{dateInputComposed-_hgrTAHv.js → dateInputComposed-Bmm1u44s.js} +4 -4
- package/dist/dateInputComposed-CWtAGa8F.js +1 -0
- package/dist/document-capture/document-capture.es.js +1 -1
- package/dist/{documentCapture-BnY5a6sE.js → documentCapture-BxwzPRns.js} +14 -14
- package/dist/documentCapture-DGG_2ySV.js +2 -0
- package/dist/{dropdownComposed-Df6I0kfH.js → dropdownComposed-B6FF4cVZ.js} +3 -3
- package/dist/dropdownComposed-D_Nb9dcy.js +1 -0
- package/dist/{dynamicForms-DacHmxMI.js → dynamicForms-Crad7QeY.js} +10 -10
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/{ekybModule-BuJN0kRM.js → ekybModule-Dp6Do6FI.js} +13 -13
- package/dist/ekybModule-ORG0loIk.js +2 -0
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/ekycModule-BCVOgvs0.js +2 -0
- package/dist/{ekycModule-Cl-dSGS3.js → ekycModule-BxT6xyZU.js} +11 -11
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-2q7K_-4S.js → electronic-signature-ClbcVTNk.js} +9 -9
- package/dist/email/email.es.js +7 -7
- package/dist/{emailInput-C7xTN_6s.js → emailInput-BqlrJ_dX.js} +3 -3
- package/dist/{expiredId-DFathPvh.js → expiredId-CJXzq12W.js} +5 -5
- package/dist/{extensibility-BApUHk3S.js → extensibility-DtlPhQNL.js} +184 -34
- package/dist/extensibility.es.js +21 -21
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/{faceMatch-DeBTtmW8.js → faceMatch-BHuxQw6x.js} +7 -7
- package/dist/faceMatch-BKvaCYWC.js +2 -0
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/fieldComparison-Dgzs9T1n.js +2 -0
- package/dist/{fieldComparison-DNKTX27t.js → fieldComparison-mJFplVwr.js} +8 -8
- package/dist/fiscal-qr/fiscal-qr.es.js +8 -8
- package/dist/flow/flow.es.js +7 -7
- package/dist/flow/styles.css +282 -0
- package/dist/geolocation/geolocation.es.js +7 -7
- package/dist/government-validation/government-validation.es.js +8 -8
- package/dist/{homeScreen-C13L_5E7.js → homeScreen-ayC3SHjN.js} +6 -6
- package/dist/{icons-DDslhJwK.js → icons-CnHH5IUi.js} +1 -1
- package/dist/id/id.es.js +161 -20
- package/dist/id/styles.css +230 -0
- package/dist/id-back-of-card-DO593HH8.js +83 -0
- package/dist/id-back-of-card-vertical-DArEQ0hE.js +88 -0
- package/dist/id-front-of-card-Bcit7Pnq.js +308 -0
- package/dist/id-front-of-card-vertical-Bcr-KXcl.js +278 -0
- package/dist/id-verification/id-verification.es.js +4 -4
- package/dist/{idOcr-CYgQjeIP.js → idOcr-BNi9FWGZ.js} +9 -9
- package/dist/identity-reuse/identity-reuse.es.js +5 -5
- package/dist/{incode-logo-BfEQiVwv.js → incode-logo-B44XBmUF.js} +1 -1
- package/dist/{incodeComponent-DbuDabZM.js → incodeComponent-CaVm81Om.js} +106 -8
- package/dist/{incodeModule-CWPPP3RX.js → incodeModule-B02hDGir.js} +1 -1
- package/dist/index.es.js +2 -2
- package/dist/{inputComposed-DyOp4913.js → inputComposed-CWQkki5v.js} +3 -3
- package/dist/inputComposed-DwUPrwiA.js +1 -0
- package/dist/{lottie_light-Cu005p6V.js → lottie_light-DpbDagTe.js} +1 -1
- package/dist/{mandatoryConsent-Cg_zIcY1.js → mandatoryConsent-CfBlj5BM.js} +6 -6
- package/dist/{modal-DWVP-wFJ.js → modal-B9tF0ldx.js} +2 -2
- package/dist/{optionAccessibleLabel-CJODcySE.js → optionAccessibleLabel-DeFMUVpn.js} +4 -4
- package/dist/{otpInput-BwCTe5DW.js → otpInput-Dju8N2oD.js} +5 -5
- package/dist/{pdfViewer-CEamEnkS.js → pdfViewer-CvCy4uwi.js} +3 -3
- package/dist/pdfViewer-tQrHCTu2.js +2 -0
- package/dist/{permissions-B59Yz1WE.js → permissions-CVWfTL-t.js} +6 -6
- package/dist/phone/phone.es.js +8 -8
- package/dist/{phoneInputComposed-FIxKA289.js → phoneInputComposed-DgMwulFN.js} +4 -4
- package/dist/{processing-cWTcAmb0.js → processing-DIUdk0S7.js} +1 -1
- package/dist/qe-signature/qe-signature.es.js +3 -3
- package/dist/{radioGroupComposed-Dhukt-7o.js → radioGroupComposed-CRePkzYH.js} +5 -5
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +12 -12
- package/dist/{richText-CdJoyVMH.js → richText-BTiSRN0z.js} +1 -1
- package/dist/{rolldown-runtime-Ck0Mdiqz.js → rolldown-runtime--E5BIlTp.js} +10 -1
- package/dist/selfie/selfie.es.js +6 -6
- package/dist/signature/signature.es.js +7 -7
- package/dist/{snackbar-CAhCVEPK.js → snackbar-6nHZdZCi.js} +1 -1
- package/dist/{spacer-xw40ekwM.js → spacer-D52odyVb.js} +10 -10
- package/dist/{spinner-BXQ7_eed.js → spinner-CEzuAsxR.js} +1 -1
- package/dist/{statusPage-gvob9oXs.js → statusPage-BpxFc-P6.js} +3 -3
- package/dist/{tabs-BXS3PjHE.js → tabs-CbAXowHB.js} +1 -1
- package/dist/{tutorial-CmnpJOSN.js → tutorial-CiSCBe8S.js} +7 -7
- package/dist/{uiConfig-CXjf9USC.js → uiConfig-Ar3UWfPc.js} +2 -2
- package/dist/{useModuleLoader-CcbKux2n.js → useModuleLoader-DDr5IBnE.js} +18 -18
- package/dist/{verificationResult-kFjl5_9K.js → verificationResult-Bn1_erQu.js} +7 -7
- package/dist/video-selfie/video-selfie.es.js +12 -12
- package/dist/watchlist/watchlist.es.js +5 -5
- package/dist/{watchlistForBusiness-BgMXBwY1.js → watchlistForBusiness-Bgao5oZx.js} +8 -8
- package/dist/workflow/styles.css +282 -0
- package/dist/workflow/workflow.es.js +7 -7
- package/package.json +2 -2
- package/dist/dateInputComposed-CGMz5UVE.js +0 -1
- package/dist/documentCapture-RezFAvKe.js +0 -2
- package/dist/dropdownComposed-ZNxRG80x.js +0 -1
- package/dist/ekybModule-l4Ybh7Cb.js +0 -2
- package/dist/ekycModule-DBpLOI2s.js +0 -2
- package/dist/faceMatch-C3ruQ-2t.js +0 -2
- package/dist/fieldComparison-yT4MOoSF.js +0 -2
- package/dist/inputComposed-CWWfge4m.js +0 -1
- package/dist/pdfViewer-D7yXDe2C.js +0 -2
- /package/dist/{aligndevicelottie-BjTimcBP.js → aligndevicelottie-DXalhkKB.js} +0 -0
- /package/dist/{back-horizontal-hint-CzsSwNtZ.js → back-horizontal-hint-DTbSbMez.js} +0 -0
- /package/dist/{back-tutorial-C-IKYN_q.js → back-tutorial-v9Hk3XFo.js} +0 -0
- /package/dist/{back-vertical-hint-C7dxEdEh.js → back-vertical-hint-DflUmM1H.js} +0 -0
- /package/dist/{backdevicelottie-Cx2kiMEX.js → backdevicelottie-Bo_klJll.js} +0 -0
- /package/dist/{blurdevicelottie-4yFix9E8.js → blurdevicelottie-CxKLM4Vs.js} +0 -0
- /package/dist/{flip-animation-A-yVbFVH.js → flip-animation-DTAAOpEa.js} +0 -0
- /package/dist/{front-horizontal-hint-DYxWgGKI.js → front-horizontal-hint-ClzgOBfO.js} +0 -0
- /package/dist/{front-vertical-hint-CzlxVSQB.js → front-vertical-hint-Bg_PjoFD.js} +0 -0
- /package/dist/{frontdevicelottie-Dl0lwBuC.js → frontdevicelottie-DC_J26cw.js} +0 -0
- /package/dist/{glaredevicelottie-CWu-Dn9r.js → glaredevicelottie-v7rkW_o-.js} +0 -0
- /package/dist/{id-laser-h-BVmX_IOw.js → id-laser-h-B5wVlgYu.js} +0 -0
- /package/dist/{id-laser-v-Bkm7n4bH.js → id-laser-v-Dt8NRFVP.js} +0 -0
- /package/dist/{id-tutorial-CalDlCwr.js → id-tutorial-B5rsdHAH.js} +0 -0
- /package/dist/{passport-horizontal-hint-DJQIorOg.js → passport-horizontal-hint-BWVt9PyV.js} +0 -0
- /package/dist/{passport-tutorial-B85bIDro.js → passport-tutorial-CDUEHwmA.js} +0 -0
- /package/dist/{passport-vertical-hint-CIjdflxJ.js → passport-vertical-hint-BCO4926p.js} +0 -0
- /package/dist/{pdf-DmATU8Co.js → pdf-yaBNakba.js} +0 -0
- /package/dist/{selfieTutorial-Dt7Scw4z.js → selfieTutorial-UOaWO8hK.js} +0 -0
|
@@ -1,29 +1,31 @@
|
|
|
1
|
-
import { i as useTranslation } from "./uiConfig-
|
|
1
|
+
import { i as useTranslation } from "./uiConfig-Ar3UWfPc.js";
|
|
2
2
|
import { S as k, _ as y, a as D, c as z, d as T, h as q, l as A, o as P, p as d, v as u } from "./vendor-preact-mvwZ8mJj.js";
|
|
3
|
-
import { d as
|
|
4
|
-
import { a as useAnimationData, r as AnimatedAsset, t as Spacer, u as cn } from "./spacer-
|
|
5
|
-
import { n as Title, t as Spinner } from "./spinner-
|
|
6
|
-
import { n as ErrorIcon, r as Button } from "./incode-logo-
|
|
7
|
-
import "./processing-
|
|
8
|
-
import { _ as CalendarIcon, c as EllipseIcon, h as CaptureButtonIcon, i as HelpIcon, o as EyeOffIcon, r as LockIcon, s as EyeIcon, t as SvgLightningIcon, u as ChevronRightIcon } from "./icons-
|
|
3
|
+
import { d as useTimeoutHandle, f as useResizeObserver, l as TransitionSpinner, o as Page, p as useEventListener, u as useFeatureManagement } from "./incodeComponent-CaVm81Om.js";
|
|
4
|
+
import { a as useAnimationData, r as AnimatedAsset, t as Spacer, u as cn } from "./spacer-D52odyVb.js";
|
|
5
|
+
import { n as Title, t as Spinner } from "./spinner-CEzuAsxR.js";
|
|
6
|
+
import { n as ErrorIcon, r as Button } from "./incode-logo-B44XBmUF.js";
|
|
7
|
+
import "./processing-DIUdk0S7.js";
|
|
8
|
+
import { _ as CalendarIcon, c as EllipseIcon, h as CaptureButtonIcon, i as HelpIcon, o as EyeOffIcon, r as LockIcon, s as EyeIcon, t as SvgLightningIcon, u as ChevronRightIcon } from "./icons-CnHH5IUi.js";
|
|
9
9
|
import { t as SuccessIcon } from "./successIcon-Bj8Y9CuI.js";
|
|
10
|
-
import { t as Modal } from "./modal-
|
|
11
|
-
import { r as BaseTutorial } from "./tutorial-
|
|
12
|
-
import "./verificationResult-
|
|
13
|
-
import "./connectionError-
|
|
14
|
-
import { t as InputComposed } from "./inputComposed-
|
|
15
|
-
import "./inputComposed-
|
|
16
|
-
import "./otpInput-
|
|
17
|
-
import "./checkbox-
|
|
18
|
-
import "./radioGroupComposed-
|
|
19
|
-
import "./phoneInputComposed-
|
|
20
|
-
import "./dropdownComposed-
|
|
21
|
-
import "./dateInputComposed-
|
|
10
|
+
import { t as Modal } from "./modal-B9tF0ldx.js";
|
|
11
|
+
import { r as BaseTutorial } from "./tutorial-CiSCBe8S.js";
|
|
12
|
+
import "./verificationResult-Bn1_erQu.js";
|
|
13
|
+
import "./connectionError-DbDaaT-B.js";
|
|
14
|
+
import { t as InputComposed } from "./inputComposed-CWQkki5v.js";
|
|
15
|
+
import "./inputComposed-DwUPrwiA.js";
|
|
16
|
+
import "./otpInput-Dju8N2oD.js";
|
|
17
|
+
import "./checkbox-CjLNtXmu.js";
|
|
18
|
+
import "./radioGroupComposed-CRePkzYH.js";
|
|
19
|
+
import "./phoneInputComposed-DgMwulFN.js";
|
|
20
|
+
import "./dropdownComposed-D_Nb9dcy.js";
|
|
21
|
+
import "./dateInputComposed-CWtAGa8F.js";
|
|
22
22
|
import "./bottomSheet-Cp8DLulN.js";
|
|
23
|
-
import { a as CameraFrame, i as CameraView, r as usePreloadCaptureAnimations, t as CaptureNotification } from "./captureNotification-
|
|
24
|
-
import "./permissions-
|
|
25
|
-
import { n as RedStrikeIcon, t as ExpiredId } from "./expiredId-
|
|
23
|
+
import { a as CameraFrame, i as CameraView, r as usePreloadCaptureAnimations, t as CaptureNotification } from "./captureNotification-CZJAUALL.js";
|
|
24
|
+
import "./permissions-CVWfTL-t.js";
|
|
25
|
+
import { n as RedStrikeIcon, t as ExpiredId } from "./expiredId-CJXzq12W.js";
|
|
26
26
|
import { getDeviceClass } from "@incodetech/core/device";
|
|
27
|
+
import { eventModuleNames, recordExperimentAssignmentOnce } from "@incodetech/core/events";
|
|
28
|
+
import { ONBOARDING_WEB_SDK_PARAMETER_STORE } from "@incodetech/core/feature-management";
|
|
27
29
|
import "@incodetech/core/id";
|
|
28
30
|
//#region src/shared/overlay/overlay.tsx
|
|
29
31
|
var Overlay = ({ children, "aria-labelledby": ariaLabelledBy, class: className }) => {
|
|
@@ -1241,12 +1243,35 @@ var GreenCheckIcon = ({ className, ...rest }) => /* @__PURE__ */ u("svg", {
|
|
|
1241
1243
|
});
|
|
1242
1244
|
//#endregion
|
|
1243
1245
|
//#region src/modules/id/processing/idProcessingResult.tsx
|
|
1244
|
-
var
|
|
1246
|
+
var FADE_OUT_ANIMATION_NAME = "incodeIdProcessingResultFadeOut";
|
|
1247
|
+
var EXIT_WATCHDOG_MS = 3500;
|
|
1248
|
+
var IdProcessingResult = ({ variant, imageUrl, orientation, mode, title, subtitle, buttonText, onButtonClick, attemptsRemaining, blurImage, fadeOutOnClick }) => {
|
|
1245
1249
|
const { t } = useTranslation();
|
|
1246
1250
|
const titleRef = A(null);
|
|
1251
|
+
const [isExiting, setIsExiting] = d(false);
|
|
1252
|
+
const hasFiredButtonClickRef = A(false);
|
|
1253
|
+
const { schedule: scheduleExitWatchdog, clear: clearExitWatchdog } = useTimeoutHandle();
|
|
1247
1254
|
y(() => {
|
|
1248
1255
|
titleRef.current?.focus();
|
|
1249
1256
|
}, []);
|
|
1257
|
+
const fireButtonClick = () => {
|
|
1258
|
+
if (hasFiredButtonClickRef.current) return;
|
|
1259
|
+
hasFiredButtonClickRef.current = true;
|
|
1260
|
+
onButtonClick();
|
|
1261
|
+
};
|
|
1262
|
+
const handleButtonClick = () => {
|
|
1263
|
+
if (fadeOutOnClick) {
|
|
1264
|
+
setIsExiting(true);
|
|
1265
|
+
scheduleExitWatchdog(fireButtonClick, EXIT_WATCHDOG_MS);
|
|
1266
|
+
return;
|
|
1267
|
+
}
|
|
1268
|
+
onButtonClick();
|
|
1269
|
+
};
|
|
1270
|
+
const handleExitAnimationEnd = (event) => {
|
|
1271
|
+
if (event.animationName !== FADE_OUT_ANIMATION_NAME) return;
|
|
1272
|
+
clearExitWatchdog();
|
|
1273
|
+
fireButtonClick();
|
|
1274
|
+
};
|
|
1250
1275
|
return /* @__PURE__ */ u(IdProcessingLayout, {
|
|
1251
1276
|
imageUrl,
|
|
1252
1277
|
orientation,
|
|
@@ -1254,8 +1279,9 @@ var IdProcessingResult = ({ variant, imageUrl, orientation, mode, title, subtitl
|
|
|
1254
1279
|
borderState: variant,
|
|
1255
1280
|
blurImage,
|
|
1256
1281
|
topContent: /* @__PURE__ */ u("div", {
|
|
1257
|
-
class: "IncodeIdProcessingResultContent",
|
|
1282
|
+
class: cn("IncodeIdProcessingResultContent", isExiting && "IncodeIdProcessingResultContentExiting"),
|
|
1258
1283
|
role: "status",
|
|
1284
|
+
onAnimationEnd: handleExitAnimationEnd,
|
|
1259
1285
|
children: [
|
|
1260
1286
|
variant === "success" ? /* @__PURE__ */ u(GreenCheckIcon, { className: "IncodeIdProcessingResultIcon" }) : /* @__PURE__ */ u(RedStrikeIcon, { className: "IncodeIdProcessingResultIcon" }),
|
|
1261
1287
|
/* @__PURE__ */ u(Spacer, { size: 16 }),
|
|
@@ -1272,12 +1298,14 @@ var IdProcessingResult = ({ variant, imageUrl, orientation, mode, title, subtitl
|
|
|
1272
1298
|
]
|
|
1273
1299
|
}),
|
|
1274
1300
|
bottomContent: /* @__PURE__ */ u("div", {
|
|
1275
|
-
class: "IncodeIdProcessingResultButtonContainer",
|
|
1301
|
+
class: cn("IncodeIdProcessingResultButtonContainer", isExiting && "IncodeIdProcessingResultButtonContainerExiting"),
|
|
1302
|
+
onAnimationEnd: handleExitAnimationEnd,
|
|
1276
1303
|
children: [attemptsRemaining !== void 0 && attemptsRemaining > 0 && /* @__PURE__ */ u("p", {
|
|
1277
1304
|
class: "IncodeIdProcessingResultAttempts",
|
|
1278
1305
|
children: t("v2.idError.attemptsLeft", { count: attemptsRemaining })
|
|
1279
1306
|
}), /* @__PURE__ */ u(Button, {
|
|
1280
|
-
onClick:
|
|
1307
|
+
onClick: handleButtonClick,
|
|
1308
|
+
disabled: isExiting,
|
|
1281
1309
|
"data-testid": "retry-button",
|
|
1282
1310
|
children: buttonText
|
|
1283
1311
|
})]
|
|
@@ -1285,9 +1313,130 @@ var IdProcessingResult = ({ variant, imageUrl, orientation, mode, title, subtitl
|
|
|
1285
1313
|
});
|
|
1286
1314
|
};
|
|
1287
1315
|
//#endregion
|
|
1316
|
+
//#region src/experiments/experimentDefinition.ts
|
|
1317
|
+
/**
|
|
1318
|
+
* Resolves each declared param against the live experiment via `get`,
|
|
1319
|
+
* falling back to the registry-declared default. Keyed, same shape as
|
|
1320
|
+
* `defs` — `params.version` stays typed, no positional access.
|
|
1321
|
+
*/
|
|
1322
|
+
function resolveExperimentParams(defs, get) {
|
|
1323
|
+
const resolved = {};
|
|
1324
|
+
for (const key of Object.keys(defs)) resolved[key] = get(key, defs[key]);
|
|
1325
|
+
return resolved;
|
|
1326
|
+
}
|
|
1327
|
+
/**
|
|
1328
|
+
* Identity helper that pins a registry entry's precise `params` type and
|
|
1329
|
+
* enforces, at definition time, that `armParam` names a `string`-valued key
|
|
1330
|
+
* of that entry's `params`. A typo'd or non-string `armParam` is a compile
|
|
1331
|
+
* error here rather than a silent `variant: 'undefined'` at runtime.
|
|
1332
|
+
*
|
|
1333
|
+
* Use it per entry when authoring a module registry:
|
|
1334
|
+
*
|
|
1335
|
+
* ```ts
|
|
1336
|
+
* export const ID_EXPERIMENTS = {
|
|
1337
|
+
* flipInCapturedState: defineExperiment({
|
|
1338
|
+
* // ...
|
|
1339
|
+
* params: { flipInCaptureStateBehavior: 'unset' },
|
|
1340
|
+
* armParam: 'flipInCaptureStateBehavior',
|
|
1341
|
+
* }),
|
|
1342
|
+
* };
|
|
1343
|
+
* ```
|
|
1344
|
+
*/
|
|
1345
|
+
function defineExperiment(definition) {
|
|
1346
|
+
return definition;
|
|
1347
|
+
}
|
|
1348
|
+
//#endregion
|
|
1349
|
+
//#region src/experiments/makeUseModuleExperiment.ts
|
|
1350
|
+
var EXPERIMENT_ASSIGNED_ANALYTICS_EVENT_GATE = "experiment_assigned_analytics_event";
|
|
1351
|
+
var NOT_ALLOCATED = "unset";
|
|
1352
|
+
/**
|
|
1353
|
+
* Builds a per-module experiment hook bound to `registry` (e.g.
|
|
1354
|
+
* `ID_EXPERIMENTS`). Every experiment declared in the registry is read
|
|
1355
|
+
* through the shared `onboarding_web_sdk_ps` parameter store rather than a
|
|
1356
|
+
* direct per-experiment read — every declared param resolves to `'unset' |
|
|
1357
|
+
* 'control' | 'test'`: `'unset'` means the current user isn't allocated to
|
|
1358
|
+
* that experiment. A Layer configured upstream of the store in the Statsig
|
|
1359
|
+
* console guarantees at most one of the registered experiments is ever
|
|
1360
|
+
* non-`'unset'` for a given user, so callers reading different experiments
|
|
1361
|
+
* from different surfaces don't need to coordinate that themselves.
|
|
1362
|
+
*
|
|
1363
|
+
* Each mounted caller re-reads the store via `useFeatureManagement`, but
|
|
1364
|
+
* the resulting `experimentAssigned` interview-event fires only once per
|
|
1365
|
+
* flagKey for the session — deduped by core's `recordExperimentAssignmentOnce`
|
|
1366
|
+
* (reset-aware: cleared by SDK `reset()`), no matter how many surfaces read
|
|
1367
|
+
* it — and only while the `experiment_assigned_analytics_event` gate is
|
|
1368
|
+
* enabled (defaults to `false`). Both arms (`'control'` and `'test'`) fire
|
|
1369
|
+
* the assignment; only `'unset'` (not allocated) does not — this is
|
|
1370
|
+
* intentional so control-arm users are still recorded.
|
|
1371
|
+
*
|
|
1372
|
+
* Callers can pass `enabled: false` for a surface/mode the treatment can
|
|
1373
|
+
* never apply to so that surface neither logs an exposure nor records an
|
|
1374
|
+
* assignment; `params` still resolves to the registry-declared `'unset'`
|
|
1375
|
+
* defaults so callers don't need a separate branch.
|
|
1376
|
+
*/
|
|
1377
|
+
function makeUseModuleExperiment(registry) {
|
|
1378
|
+
return function useModuleExperiment({ key, enabled = true, conditions }) {
|
|
1379
|
+
const experimentDefinition = registry[key];
|
|
1380
|
+
const { value, status } = useFeatureManagement("parameterStore", ONBOARDING_WEB_SDK_PARAMETER_STORE, { enabled });
|
|
1381
|
+
const { value: analyticsEventGate } = useFeatureManagement("gate", EXPERIMENT_ASSIGNED_ANALYTICS_EVENT_GATE, { enabled });
|
|
1382
|
+
const conditionsKey = conditions ? JSON.stringify(conditions) : "";
|
|
1383
|
+
const params = resolveExperimentParams(experimentDefinition.params, value.get.bind(value));
|
|
1384
|
+
const armValue = params[experimentDefinition.armParam];
|
|
1385
|
+
const variant = armValue !== NOT_ALLOCATED ? String(armValue) : null;
|
|
1386
|
+
y(() => {
|
|
1387
|
+
if (!enabled || status !== "ready" || !variant || !analyticsEventGate.enabled) return;
|
|
1388
|
+
recordExperimentAssignmentOnce(experimentDefinition.module, {
|
|
1389
|
+
flagKey: experimentDefinition.flagKey,
|
|
1390
|
+
experimentId: experimentDefinition.experimentId,
|
|
1391
|
+
experimentName: experimentDefinition.experimentName,
|
|
1392
|
+
variant,
|
|
1393
|
+
conditions: conditionsKey ? JSON.parse(conditionsKey) : void 0
|
|
1394
|
+
});
|
|
1395
|
+
}, [
|
|
1396
|
+
enabled,
|
|
1397
|
+
status,
|
|
1398
|
+
variant,
|
|
1399
|
+
experimentDefinition,
|
|
1400
|
+
conditionsKey,
|
|
1401
|
+
analyticsEventGate.enabled
|
|
1402
|
+
]);
|
|
1403
|
+
return {
|
|
1404
|
+
variant,
|
|
1405
|
+
status,
|
|
1406
|
+
params
|
|
1407
|
+
};
|
|
1408
|
+
};
|
|
1409
|
+
}
|
|
1410
|
+
//#endregion
|
|
1411
|
+
//#region src/modules/id/experiments/useIdExperiment.ts
|
|
1412
|
+
/**
|
|
1413
|
+
* ID-module binding of `makeUseModuleExperiment` (see `@/experiments` for
|
|
1414
|
+
* the shared parameter-store/analytics-gate/assignment-recording mechanics),
|
|
1415
|
+
* bound to `ID_EXPERIMENTS`.
|
|
1416
|
+
*
|
|
1417
|
+
* Pass `enabled: false` for a surface/mode the treatment can never apply to
|
|
1418
|
+
* (e.g. passport in `flipInCapturedState`) so that surface neither logs an
|
|
1419
|
+
* exposure nor records an assignment; `params` still resolves to the
|
|
1420
|
+
* registry-declared `'unset'` defaults so callers don't need a separate
|
|
1421
|
+
* branch.
|
|
1422
|
+
*/
|
|
1423
|
+
var useIdExperiment = makeUseModuleExperiment({ flipInCapturedState: defineExperiment({
|
|
1424
|
+
flagKey: "uxp_idc_exp07_flip_in_captured_state",
|
|
1425
|
+
experimentId: "IDC-07",
|
|
1426
|
+
experimentName: "flipInCapturedState",
|
|
1427
|
+
module: eventModuleNames.idCapture,
|
|
1428
|
+
params: { flipInCaptureStateBehavior: "unset" },
|
|
1429
|
+
armParam: "flipInCaptureStateBehavior"
|
|
1430
|
+
}) });
|
|
1431
|
+
//#endregion
|
|
1288
1432
|
//#region src/modules/id/processing/idSuccess.tsx
|
|
1289
1433
|
var IdSuccess = ({ manager, state, blurImage }) => {
|
|
1290
1434
|
const { t } = useTranslation();
|
|
1435
|
+
const { params } = useIdExperiment({
|
|
1436
|
+
key: "flipInCapturedState",
|
|
1437
|
+
enabled: state.currentMode !== "passport"
|
|
1438
|
+
});
|
|
1439
|
+
const flipInCapturedState = params.flipInCaptureStateBehavior === "test";
|
|
1291
1440
|
if (!state.previewImageUrl) return null;
|
|
1292
1441
|
const mode = state.currentMode === "passport" ? "passport" : "id";
|
|
1293
1442
|
const getSubtitle = () => {
|
|
@@ -1309,7 +1458,8 @@ var IdSuccess = ({ manager, state, blurImage }) => {
|
|
|
1309
1458
|
subtitle: getSubtitle(),
|
|
1310
1459
|
buttonText: getButtonText(),
|
|
1311
1460
|
onButtonClick: () => manager.nextStep(),
|
|
1312
|
-
blurImage
|
|
1461
|
+
blurImage,
|
|
1462
|
+
fadeOutOnClick: flipInCapturedState
|
|
1313
1463
|
});
|
|
1314
1464
|
};
|
|
1315
1465
|
//#endregion
|
|
@@ -1408,12 +1558,12 @@ var IdNoAttempts = ({ manager }) => {
|
|
|
1408
1558
|
};
|
|
1409
1559
|
//#endregion
|
|
1410
1560
|
//#region src/modules/id/capture/idHint.tsx
|
|
1411
|
-
var FrontHorizontalHintSvg = z(() => import("./front-horizontal-hint-
|
|
1412
|
-
var FrontVerticalHintSvg = z(() => import("./front-vertical-hint-
|
|
1413
|
-
var BackHorizontalHintSvg = z(() => import("./back-horizontal-hint-
|
|
1414
|
-
var BackVerticalHintSvg = z(() => import("./back-vertical-hint-
|
|
1415
|
-
var PassportHorizontalHintSvg = z(() => import("./passport-horizontal-hint-
|
|
1416
|
-
var PassportVerticalHintSvg = z(() => import("./passport-vertical-hint-
|
|
1561
|
+
var FrontHorizontalHintSvg = z(() => import("./front-horizontal-hint-ClzgOBfO.js"));
|
|
1562
|
+
var FrontVerticalHintSvg = z(() => import("./front-vertical-hint-Bg_PjoFD.js"));
|
|
1563
|
+
var BackHorizontalHintSvg = z(() => import("./back-horizontal-hint-DTbSbMez.js"));
|
|
1564
|
+
var BackVerticalHintSvg = z(() => import("./back-vertical-hint-DflUmM1H.js"));
|
|
1565
|
+
var PassportHorizontalHintSvg = z(() => import("./passport-horizontal-hint-BWVt9PyV.js"));
|
|
1566
|
+
var PassportVerticalHintSvg = z(() => import("./passport-vertical-hint-BCO4926p.js"));
|
|
1417
1567
|
var CARD_WIDTH_IN_SVG = {
|
|
1418
1568
|
"front-horizontal": 348,
|
|
1419
1569
|
"back-horizontal": 348,
|
|
@@ -2859,4 +3009,4 @@ var FlipAnimation = ({ manager, direction }) => {
|
|
|
2859
3009
|
});
|
|
2860
3010
|
};
|
|
2861
3011
|
//#endregion
|
|
2862
|
-
export {
|
|
3012
|
+
export { TextArea as _, IdNoAttempts as a, ProgressBar as b, useIdExperiment as c, CaptureFooter as d, CameraOverlayHeader as f, TextAreaComposed as g, VerificationOptionCardList as h, Capture as i, CaptureFrame as l, VerificationOptionCard as m, Chooser as n, IdExpired as o, CameraOverlay as p, Tutorial as r, IdError as s, FlipAnimation as t, ManualCapture as u, SegmentedDateInput as v, Overlay as x, PasswordInputComposed as y };
|
package/dist/extensibility.es.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { i as useTranslation, t as setUiConfig } from "./uiConfig-
|
|
2
|
-
import {
|
|
3
|
-
import { o as Lottie, t as Spacer } from "./spacer-
|
|
4
|
-
import { a as TypographyH4, i as TypographyH3, n as Title, o as TypographyH5, r as TypographyH1, s as TypographyP, t as Spinner } from "./spinner-
|
|
5
|
-
import { n as ErrorIcon, r as Button } from "./incode-logo-
|
|
6
|
-
import { _ as
|
|
7
|
-
import { t as Processing } from "./processing-
|
|
8
|
-
import { _ as CalendarIcon, a as FileIcon, c as EllipseIcon, d as ChevronLeftIcon, f as ChevronDown, g as CameraIcon, h as CaptureButtonIcon, i as HelpIcon, l as CloseIcon, m as CheckmarkIcon, n as SearchIcon, o as EyeOffIcon, p as CheckmarkCompactIcon, r as LockIcon, s as EyeIcon, t as SvgLightningIcon, u as ChevronRightIcon, v as WarningIcon } from "./icons-
|
|
1
|
+
import { i as useTranslation, t as setUiConfig } from "./uiConfig-Ar3UWfPc.js";
|
|
2
|
+
import { n as LandscapeBlocker, o as Page, t as IncodeComponent, v as useScreenOrientation, y as useManager } from "./incodeComponent-CaVm81Om.js";
|
|
3
|
+
import { o as Lottie, t as Spacer } from "./spacer-D52odyVb.js";
|
|
4
|
+
import { a as TypographyH4, i as TypographyH3, n as Title, o as TypographyH5, r as TypographyH1, s as TypographyP, t as Spinner } from "./spinner-CEzuAsxR.js";
|
|
5
|
+
import { n as ErrorIcon, r as Button } from "./incode-logo-B44XBmUF.js";
|
|
6
|
+
import { _ as TextArea, b as ProgressBar, d as CaptureFooter, f as CameraOverlayHeader, g as TextAreaComposed, h as VerificationOptionCardList, i as Capture, m as VerificationOptionCard, n as Chooser, o as IdExpired, p as CameraOverlay, r as Tutorial, s as IdError, t as FlipAnimation, u as ManualCapture, v as SegmentedDateInput, x as Overlay, y as PasswordInputComposed } from "./extensibility-DtlPhQNL.js";
|
|
7
|
+
import { t as Processing } from "./processing-DIUdk0S7.js";
|
|
8
|
+
import { _ as CalendarIcon, a as FileIcon, c as EllipseIcon, d as ChevronLeftIcon, f as ChevronDown, g as CameraIcon, h as CaptureButtonIcon, i as HelpIcon, l as CloseIcon, m as CheckmarkIcon, n as SearchIcon, o as EyeOffIcon, p as CheckmarkCompactIcon, r as LockIcon, s as EyeIcon, t as SvgLightningIcon, u as ChevronRightIcon, v as WarningIcon } from "./icons-CnHH5IUi.js";
|
|
9
9
|
import { t as SuccessIcon } from "./successIcon-Bj8Y9CuI.js";
|
|
10
|
-
import { t as Modal } from "./modal-
|
|
11
|
-
import { i as ErrorContent, n as Capture$1, r as BaseTutorial, t as Tutorial$1 } from "./tutorial-
|
|
12
|
-
import { t as VerificationResult } from "./verificationResult-
|
|
13
|
-
import { t as ConnectionError } from "./connectionError-
|
|
14
|
-
import { n as Input, t as InputComposed } from "./inputComposed-
|
|
15
|
-
import { t as OtpInput } from "./otpInput-
|
|
16
|
-
import { t as Checkbox } from "./checkbox-
|
|
17
|
-
import { n as RadioButtonComposed, r as FormField, t as RadioGroupComposed } from "./radioGroupComposed-
|
|
18
|
-
import { i as getCountryByCode, n as countries, r as getCountryByCallingCode, t as PhoneInputComposed } from "./phoneInputComposed-
|
|
19
|
-
import { t as DropdownComposed } from "./dropdownComposed-
|
|
20
|
-
import { t as DateInputComposed } from "./dateInputComposed-
|
|
10
|
+
import { t as Modal } from "./modal-B9tF0ldx.js";
|
|
11
|
+
import { i as ErrorContent, n as Capture$1, r as BaseTutorial, t as Tutorial$1 } from "./tutorial-CiSCBe8S.js";
|
|
12
|
+
import { t as VerificationResult } from "./verificationResult-Bn1_erQu.js";
|
|
13
|
+
import { t as ConnectionError } from "./connectionError-DbDaaT-B.js";
|
|
14
|
+
import { n as Input, t as InputComposed } from "./inputComposed-CWQkki5v.js";
|
|
15
|
+
import { t as OtpInput } from "./otpInput-Dju8N2oD.js";
|
|
16
|
+
import { t as Checkbox } from "./checkbox-CjLNtXmu.js";
|
|
17
|
+
import { n as RadioButtonComposed, r as FormField, t as RadioGroupComposed } from "./radioGroupComposed-CRePkzYH.js";
|
|
18
|
+
import { i as getCountryByCode, n as countries, r as getCountryByCallingCode, t as PhoneInputComposed } from "./phoneInputComposed-DgMwulFN.js";
|
|
19
|
+
import { t as DropdownComposed } from "./dropdownComposed-B6FF4cVZ.js";
|
|
20
|
+
import { t as DateInputComposed } from "./dateInputComposed-Bmm1u44s.js";
|
|
21
21
|
import { t as BottomSheet } from "./bottomSheet-Cp8DLulN.js";
|
|
22
|
-
import { a as CameraFrame, i as CameraView } from "./captureNotification-
|
|
23
|
-
import { t as Permissions } from "./permissions-
|
|
22
|
+
import { a as CameraFrame, i as CameraView } from "./captureNotification-CZJAUALL.js";
|
|
23
|
+
import { t as Permissions } from "./permissions-CVWfTL-t.js";
|
|
24
24
|
export { BaseTutorial, BottomSheet, Button, CalendarIcon, CameraFrame, CameraIcon, CameraOverlay, CameraOverlayHeader, CameraView, CaptureButtonIcon, CaptureFooter, Checkbox, CheckmarkCompactIcon, CheckmarkIcon, ChevronDown, ChevronLeftIcon, ChevronRightIcon, CloseIcon, ConnectionError, DateInputComposed, DropdownComposed, EllipseIcon, ErrorContent, ErrorIcon, EyeIcon, EyeOffIcon, FileIcon, FormField, HelpIcon, Capture as IdCapture, Chooser as IdChooser, IdError, IdExpired, FlipAnimation as IdFlipAnimation, Tutorial as IdTutorial, IncodeComponent, Input, InputComposed, LandscapeBlocker, SvgLightningIcon as LightningIcon, LockIcon, Lottie, ManualCapture, Modal, OtpInput, Overlay, Page, PasswordInputComposed, Permissions, PhoneInputComposed, Processing, ProgressBar, RadioButtonComposed, RadioGroupComposed, SearchIcon, SegmentedDateInput, Capture$1 as SelfieCapture, Tutorial$1 as SelfieTutorial, Spacer, Spinner, SuccessIcon, TextArea, TextAreaComposed, Title, TypographyH1, TypographyH3, TypographyH4, TypographyH5, TypographyP, VerificationOptionCard, VerificationOptionCardList, VerificationResult, WarningIcon, countries, getCountryByCallingCode, getCountryByCode, setUiConfig, useManager, useScreenOrientation, useTranslation };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as FaceMatch } from "../faceMatch-
|
|
1
|
+
import { t as FaceMatch } from "../faceMatch-BHuxQw6x.js";
|
|
2
2
|
export { FaceMatch };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { i as useTranslation } from "./uiConfig-
|
|
1
|
+
import { i as useTranslation } from "./uiConfig-Ar3UWfPc.js";
|
|
2
2
|
import { S as k, _ as y, l as A, v as u } from "./vendor-preact-mvwZ8mJj.js";
|
|
3
|
-
import {
|
|
4
|
-
import { s as Asset, t as Spacer } from "./spacer-
|
|
5
|
-
import { n as Title } from "./spinner-
|
|
6
|
-
import { r as Button } from "./incode-logo-
|
|
7
|
-
import { t as registerIncodeModuleElement } from "./incodeModule-
|
|
8
|
-
import { t as Snackbar } from "./snackbar-
|
|
3
|
+
import { _ as useModuleTerminalCallbacks, g as isTerminalModuleState, l as TransitionSpinner, o as Page, r as withStandaloneModuleBootstrap, t as IncodeComponent, y as useManager } from "./incodeComponent-CaVm81Om.js";
|
|
4
|
+
import { s as Asset, t as Spacer } from "./spacer-D52odyVb.js";
|
|
5
|
+
import { n as Title } from "./spinner-CEzuAsxR.js";
|
|
6
|
+
import { r as Button } from "./incode-logo-B44XBmUF.js";
|
|
7
|
+
import { t as registerIncodeModuleElement } from "./incodeModule-B02hDGir.js";
|
|
8
|
+
import { t as Snackbar } from "./snackbar-6nHZdZCi.js";
|
|
9
9
|
import { createFaceMatchManager } from "@incodetech/core/face-match";
|
|
10
10
|
//#region src/modules/face-match/assets/match-success.svg?react
|
|
11
11
|
var SvgMatchSuccess = (props) => /* @__PURE__ */ u("svg", {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as FieldComparison } from "../fieldComparison-
|
|
1
|
+
import { t as FieldComparison } from "../fieldComparison-mJFplVwr.js";
|
|
2
2
|
export { FieldComparison };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { i as useTranslation } from "./uiConfig-
|
|
1
|
+
import { i as useTranslation } from "./uiConfig-Ar3UWfPc.js";
|
|
2
2
|
import { v as u } from "./vendor-preact-mvwZ8mJj.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as Spacer } from "./spacer-
|
|
5
|
-
import { r as Button } from "./incode-logo-
|
|
6
|
-
import "./extensibility-
|
|
7
|
-
import { t as VerificationResult } from "./verificationResult-
|
|
8
|
-
import { t as InputComposed } from "./inputComposed-
|
|
9
|
-
import { t as registerIncodeModuleElement } from "./incodeModule-
|
|
3
|
+
import { _ as useModuleTerminalCallbacks, o as Page, r as withStandaloneModuleBootstrap, t as IncodeComponent, y as useManager } from "./incodeComponent-CaVm81Om.js";
|
|
4
|
+
import { t as Spacer } from "./spacer-D52odyVb.js";
|
|
5
|
+
import { r as Button } from "./incode-logo-B44XBmUF.js";
|
|
6
|
+
import "./extensibility-DtlPhQNL.js";
|
|
7
|
+
import { t as VerificationResult } from "./verificationResult-Bn1_erQu.js";
|
|
8
|
+
import { t as InputComposed } from "./inputComposed-CWQkki5v.js";
|
|
9
|
+
import { t as registerIncodeModuleElement } from "./incodeModule-B02hDGir.js";
|
|
10
10
|
import { createFieldComparisonManager } from "@incodetech/core/field-comparison";
|
|
11
11
|
//#region src/modules/field-comparison/fieldComparison.tsx
|
|
12
12
|
var FieldComparisonContent = ({ config, manager: externalManager, onFinish }) => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { i as useTranslation } from "../uiConfig-
|
|
1
|
+
import { i as useTranslation } from "../uiConfig-Ar3UWfPc.js";
|
|
2
2
|
import { v as u } from "../vendor-preact-mvwZ8mJj.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as Spacer } from "../spacer-
|
|
5
|
-
import { r as Button } from "../incode-logo-
|
|
6
|
-
import {
|
|
7
|
-
import { t as VerificationResult } from "../verificationResult-
|
|
8
|
-
import { a as CameraFrame, i as CameraView } from "../captureNotification-
|
|
9
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
3
|
+
import { _ as useModuleTerminalCallbacks, o as Page, r as withStandaloneModuleBootstrap, t as IncodeComponent, y as useManager } from "../incodeComponent-CaVm81Om.js";
|
|
4
|
+
import { t as Spacer } from "../spacer-D52odyVb.js";
|
|
5
|
+
import { r as Button } from "../incode-logo-B44XBmUF.js";
|
|
6
|
+
import { f as CameraOverlayHeader, p as CameraOverlay } from "../extensibility-DtlPhQNL.js";
|
|
7
|
+
import { t as VerificationResult } from "../verificationResult-Bn1_erQu.js";
|
|
8
|
+
import { a as CameraFrame, i as CameraView } from "../captureNotification-CZJAUALL.js";
|
|
9
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-B02hDGir.js";
|
|
10
10
|
import { createFiscalQrManager } from "@incodetech/core/fiscal-qr";
|
|
11
11
|
//#region src/modules/fiscal-qr/fiscalQrCapture.tsx
|
|
12
12
|
function getFrameState(status) {
|
package/dist/flow/flow.es.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { c as readStoredLanguage, i as useTranslation, t as setUiConfig } from "../uiConfig-
|
|
1
|
+
import { c as readStoredLanguage, i as useTranslation, t as setUiConfig } from "../uiConfig-Ar3UWfPc.js";
|
|
2
2
|
import { _ as y, c as z, d as T, l as A, o as P, p as d, v as u } from "../vendor-preact-mvwZ8mJj.js";
|
|
3
|
-
import { a as TerminalErrorPage, i as ResolvedConfigProvider, l as TransitionSpinner, t as IncodeComponent,
|
|
4
|
-
import { n as ErrorIcon } from "../incode-logo-
|
|
5
|
-
import { t as StatusPage } from "../statusPage-
|
|
6
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
7
|
-
import { _ as warmupWasmIfNeeded, a as resolveApiKey, c as HEADLESS_FLOW_MODULE_KEYS, d as fetchTheme, f as initializeFlowManager, h as preloadRedirectToMobile, l as LAZY_UI_MODULES, m as preloadHomeScreen, n as useModulePreloader, o as extractIncodeStatus, p as preloadFirstModule, r as usePrefetchNextModule, s as UnsupportedModule, t as useModuleLoader, u as createFlowManager, v as isDesktopOrEmulated } from "../useModuleLoader-
|
|
3
|
+
import { a as TerminalErrorPage, i as ResolvedConfigProvider, l as TransitionSpinner, t as IncodeComponent, y as useManager } from "../incodeComponent-CaVm81Om.js";
|
|
4
|
+
import { n as ErrorIcon } from "../incode-logo-B44XBmUF.js";
|
|
5
|
+
import { t as StatusPage } from "../statusPage-BpxFc-P6.js";
|
|
6
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-B02hDGir.js";
|
|
7
|
+
import { _ as warmupWasmIfNeeded, a as resolveApiKey, c as HEADLESS_FLOW_MODULE_KEYS, d as fetchTheme, f as initializeFlowManager, h as preloadRedirectToMobile, l as LAZY_UI_MODULES, m as preloadHomeScreen, n as useModulePreloader, o as extractIncodeStatus, p as preloadFirstModule, r as usePrefetchNextModule, s as UnsupportedModule, t as useModuleLoader, u as createFlowManager, v as isDesktopOrEmulated } from "../useModuleLoader-DDr5IBnE.js";
|
|
8
8
|
import { getRequiredWasmPipelines } from "@incodetech/core/flow";
|
|
9
9
|
import { bootstrapSession, refreshQrUrlUuid } from "@incodetech/core/session";
|
|
10
10
|
//#region src/shared/processing/useDelayedFlag.ts
|
|
@@ -330,7 +330,7 @@ function useFlowInitialization(options) {
|
|
|
330
330
|
}
|
|
331
331
|
//#endregion
|
|
332
332
|
//#region src/modules/flow/flow.tsx
|
|
333
|
-
var LazyHomeScreen = z(() => import("../homeScreen-
|
|
333
|
+
var LazyHomeScreen = z(() => import("../homeScreen-ayC3SHjN.js").then((module) => ({ default: module.HomeScreen })));
|
|
334
334
|
var IncodeFlowContent = ({ config, onFinish, onError }) => {
|
|
335
335
|
const { i18n } = useTranslation();
|
|
336
336
|
const initState = useFlowInitialization(T(() => ({
|