@incodetech/welcome 1.85.0-20251120160251.0 → 1.85.0-20251121112935.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -537,7 +537,7 @@ tokboxApiKey, darkMode, hostingApp, unsafeMode, customHeaders, fingerprintApiKey
537
537
  getPhone: typeof getPhone;
538
538
  renderCaptureFace: typeof renderCaptureFace;
539
539
  renderAuthFace: typeof renderAuthFace;
540
- executeFlow: ({ element, token, onSuccess, onError, onEvent, flow, uiConfig, config, }: {
540
+ executeFlow: ({ element, token, onSuccess, onError, onEvent, flow, uiConfig, config, authHint, }: {
541
541
  element: HTMLElement;
542
542
  token: string;
543
543
  onSuccess: ({ redirectionUrl }: {
@@ -548,6 +548,7 @@ tokboxApiKey, darkMode, hostingApp, unsafeMode, customHeaders, fingerprintApiKey
548
548
  flow?: import('.').Flow;
549
549
  uiConfig?: import('./ui/types').UiConfig;
550
550
  config?: import('./flow/Flow').FlowConfig;
551
+ authHint?: string;
551
552
  }) => Promise<void>;
552
553
  executeWorkflow: ({ element, token, workflowId, apiURL, customModuleCallback, onSuccess, onError, wfConfig, authHint, qrUuid, uuid, redirectUrl, clientId, showFinishScreen, skipDesktopRedirect, }: import('./workflows/executeWorkflow').WorkflowPropsWithToken | import('./workflows/executeWorkflow').WorkflowPropsWithoutToken) => Promise<void>;
553
554
  getWorkflowConfig: ({ token }: {
@@ -17,5 +17,6 @@ type FlowRendererProps = {
17
17
  flow?: Flow;
18
18
  uiConfig?: UiConfig;
19
19
  config?: FlowConfig;
20
+ authHint?: string;
20
21
  };
21
- export declare function FlowRenderer({ token, onError, onSuccess, onEvent, flow: flowFromProps, uiConfig, config, }: FlowRendererProps): import("react/jsx-runtime").JSX.Element;
22
+ export declare function FlowRenderer({ token, onError, onSuccess, onEvent, flow: flowFromProps, uiConfig, config, authHint, }: FlowRendererProps): import("react/jsx-runtime").JSX.Element;
@@ -14,6 +14,7 @@ type ExecuteFlowProps = {
14
14
  flow?: Flow;
15
15
  uiConfig?: UiConfig;
16
16
  config?: FlowConfig;
17
+ authHint?: string;
17
18
  };
18
- declare const executeFlow: ({ element, token, onSuccess, onError, onEvent, flow, uiConfig, config, }: ExecuteFlowProps) => Promise<void>;
19
+ declare const executeFlow: ({ element, token, onSuccess, onError, onEvent, flow, uiConfig, config, authHint, }: ExecuteFlowProps) => Promise<void>;
19
20
  export default executeFlow;
@@ -1,4 +1,4 @@
1
1
  import { FlowModuleConfig } from '../services/flowService';
2
2
  import { ModuleProps } from './types';
3
3
 
4
- export default function AuthenticationModule({ onSuccess, token, finishWithError, }: ModuleProps<FlowModuleConfig['AUTHENTICATION']>): import("react/jsx-runtime").JSX.Element;
4
+ export default function AuthenticationModule({ onSuccess, token, finishWithError, authHint, }: ModuleProps<FlowModuleConfig['AUTHENTICATION']>): import("react/jsx-runtime").JSX.Element;
@@ -13,6 +13,7 @@ type ModuleRendererProps<K extends keyof FlowModuleConfig> = {
13
13
  flow: Flow;
14
14
  uiConfig?: UiConfig;
15
15
  finishWithError: (err: FlowRendererError) => void;
16
+ authHint?: string;
16
17
  };
17
- declare function ModuleRenderer<K extends keyof FlowModuleConfig>({ module, onSuccess, emit, token, onError, flow, uiConfig, finishWithError, }: ModuleRendererProps<K>): import("react/jsx-runtime").JSX.Element;
18
+ declare function ModuleRenderer<K extends keyof FlowModuleConfig>({ module, onSuccess, emit, token, onError, flow, uiConfig, finishWithError, authHint, }: ModuleRendererProps<K>): import("react/jsx-runtime").JSX.Element;
18
19
  export { ModuleRenderer };
@@ -11,4 +11,5 @@ export type ModuleProps<TConfig> = {
11
11
  flow: Flow;
12
12
  uiConfig?: UiConfig;
13
13
  finishWithError: (err: FlowRendererError) => void;
14
+ authHint?: string;
14
15
  };
@@ -1,8 +1,9 @@
1
1
  import { LooseSession } from '../../../types/src';
2
+ import { IncodeCanvas } from '../camera/IncodeCanvas';
2
3
  import { FaceCoordinates } from '../detection/detectFace';
3
4
 
4
- export declare function faceCapture({ encryptedImage, session, t, videoSelfieAsSelfie, faceCoordinates, performLiveness, }: {
5
- encryptedImage: string;
5
+ export declare function faceCapture({ canvas, session, t, videoSelfieAsSelfie, faceCoordinates, }: {
6
+ canvas: IncodeCanvas;
6
7
  session: LooseSession;
7
8
  videoSelfieAsSelfie: boolean;
8
9
  t: (key: string) => string;
@@ -1,4 +1,5 @@
1
1
  import { LooseSession } from '../../../types/src';
2
+ import { IncodeCanvas } from '../camera/IncodeCanvas';
2
3
  import { WebcamRef } from '../camera/Webcam.types';
3
4
  import { FaceCoordinates } from '../detection/detectFace';
4
5
 
@@ -7,10 +8,7 @@ export declare const useDetectSelfie: ({ webcam, numberOfTries, session, }: {
7
8
  numberOfTries: number;
8
9
  session: LooseSession;
9
10
  }, callbacks: {
10
- onCapturing: ({ encryptedImage, faceCoordinates, }: {
11
- encryptedImage: string;
12
- faceCoordinates: FaceCoordinates;
13
- }) => void | Promise<void>;
11
+ onCapturing: (canvas: IncodeCanvas, faceCoordinates: FaceCoordinates) => void | Promise<void>;
14
12
  onSuccessfulCapture: () => void | Promise<void>;
15
13
  onNoAttemptsLeft: () => void | Promise<void>;
16
14
  }) => {
@@ -7,6 +7,7 @@ export type FlowRedirectProps = {
7
7
  onSuccess: () => void;
8
8
  onSkip?: () => void;
9
9
  mobileQrRedirectUrl?: string;
10
+ authHint?: string;
10
11
  };
11
12
  declare const FlowRedirect: FC<FlowRedirectProps>;
12
13
  export default FlowRedirect;
@@ -16,6 +16,7 @@ type Props = {
16
16
  qrPhishingResistance?: boolean;
17
17
  url?: string;
18
18
  showFinishScreen?: boolean;
19
+ authHint?: string;
19
20
  };
20
- declare const RedirectToMobile: ({ session, disableSmsOption, skipDesktopRedirect, allowSkipRedirect, expired, allowReEnrollment, displayOnboardingResultOnDesktop, qrPhishingResistance, url, showFinishScreen, }: Props) => import("react/jsx-runtime").JSX.Element;
21
+ declare const RedirectToMobile: ({ session, disableSmsOption, skipDesktopRedirect, allowSkipRedirect, expired, allowReEnrollment, displayOnboardingResultOnDesktop, qrPhishingResistance, url, showFinishScreen, authHint, }: Props) => import("react/jsx-runtime").JSX.Element;
21
22
  export default RedirectToMobile;
@@ -8374,7 +8374,7 @@ class MlWasmJSApi {
8374
8374
  );
8375
8375
  }
8376
8376
  }
8377
- const MlWasmJSApi$1 = MlWasmJSApi.getInstance(), version$4 = "1.85.0-20251120160251.0";
8377
+ const MlWasmJSApi$1 = MlWasmJSApi.getInstance(), version$4 = "1.85.0-20251121112935.0";
8378
8378
  function e$2(Be, Le) {
8379
8379
  return function(Ye, tt) {
8380
8380
  return Object.prototype.hasOwnProperty.call(Ye, tt);
@@ -299482,7 +299482,8 @@ const FlowRedirect = ({
299482
299482
  token: Le,
299483
299483
  onSuccess: Ye,
299484
299484
  onSkip: tt,
299485
- mobileQrRedirectUrl: nt
299485
+ mobileQrRedirectUrl: nt,
299486
+ authHint: ft
299486
299487
  }) => /* @__PURE__ */ jsxRuntimeExports.jsx(
299487
299488
  Redirect,
299488
299489
  {
@@ -299494,7 +299495,8 @@ const FlowRedirect = ({
299494
299495
  allowSkipRedirect: Be.addContinueToDesktop,
299495
299496
  expired: !1,
299496
299497
  url: nt,
299497
- qrPhishingResistance: Be.qrPhishingResistance
299498
+ qrPhishingResistance: Be.qrPhishingResistance,
299499
+ authHint: ft
299498
299500
  }
299499
299501
  ), shouldShowFlowRedirect = (Be) => Be ? Be.redirectDesktopToMobile && mobile.isDesktop() : !1, useFlowRedirect = ({
299500
299502
  flow: Be,
@@ -299853,9 +299855,9 @@ function AntifraudModule({
299853
299855
  function AuthenticationModule({
299854
299856
  onSuccess: Be,
299855
299857
  token: Le,
299856
- finishWithError: Ye
299858
+ finishWithError: Ye,
299859
+ authHint: tt
299857
299860
  }) {
299858
- const nt = new URLSearchParams(window.location.search).get("auth_hint");
299859
299861
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
299860
299862
  AuthFace,
299861
299863
  {
@@ -299867,7 +299869,7 @@ function AuthenticationModule({
299867
299869
  });
299868
299870
  },
299869
299871
  session: { token: Le },
299870
- authHint: nt
299872
+ authHint: tt
299871
299873
  }
299872
299874
  );
299873
299875
  }
@@ -363504,14 +363506,13 @@ function getErrorKey(Be) {
363504
363506
  return notificationMessages[Be] || "notifications.error";
363505
363507
  }
363506
363508
  async function faceCapture({
363507
- encryptedImage: Be,
363509
+ canvas: Be,
363508
363510
  session: Le,
363509
363511
  t: Ye,
363510
363512
  videoSelfieAsSelfie: tt,
363511
- faceCoordinates: nt,
363512
- performLiveness: ft
363513
+ faceCoordinates: nt
363513
363514
  }) {
363514
- var ht;
363515
+ var ft;
363515
363516
  addScreenEvent({
363516
363517
  module: eventModuleNames.videoSelfie,
363517
363518
  screen: eventScreenNames.videoSelfieFaceCapture,
@@ -363524,39 +363525,21 @@ async function faceCapture({
363524
363525
  shouldOpen: !0
363525
363526
  });
363526
363527
  try {
363527
- const gt = await capture({
363528
- token: Le.token,
363529
- image: Be,
363530
- type: "selfie",
363531
- encrypted: !0,
363532
- imageType: tt ? "selfie" : "videoSelfie",
363533
- sendBase64: !0,
363534
- isRetry: !1,
363535
- isSecondId: !1,
363536
- onlyFront: !1,
363528
+ if (await sendFaceImage({
363529
+ canvas: Be,
363537
363530
  faceCoordinates: nt,
363538
- onProgress: () => {
363539
- },
363540
- metadata: MlWasmJSApi$1.getMetadata()
363541
- });
363542
- if (!(ft ? gt.confidence < 0.6 : !0)) {
363543
- const yt = new Error("Liveness failed");
363544
- throw yt.cause = {
363545
- data: {
363546
- errorMessage: "liveness-failed"
363547
- }
363548
- }, yt;
363549
- }
363550
- if (!(((await processFace({
363531
+ sessionToken: Le.token,
363532
+ imageType: tt ? "selfie" : "videoSelfie"
363533
+ }), !(((await processFace({
363551
363534
  token: Le.token,
363552
363535
  imageType: tt ? "selfie" : "videoSelfie"
363553
363536
  })).confidence ?? 1) > 0.3)) {
363554
- const yt = new Error("No match!");
363555
- throw yt.cause = {
363537
+ const Et = new Error("No match!");
363538
+ throw Et.cause = {
363556
363539
  data: {
363557
363540
  errorMessage: "no-match"
363558
363541
  }
363559
- }, yt;
363542
+ }, Et;
363560
363543
  }
363561
363544
  addScreenEvent({
363562
363545
  module: eventModuleNames.videoSelfie,
@@ -363569,8 +363552,8 @@ async function faceCapture({
363569
363552
  token: Le.token,
363570
363553
  shouldOpen: !0
363571
363554
  });
363572
- } catch (gt) {
363573
- addScreenEvent({
363555
+ } catch (ht) {
363556
+ if (addScreenEvent({
363574
363557
  module: eventModuleNames.videoSelfie,
363575
363558
  screen: eventScreenNames.videoSelfieFaceUploadProgress,
363576
363559
  token: Le.token,
@@ -363580,9 +363563,12 @@ async function faceCapture({
363580
363563
  screen: eventScreenNames.videoSelfieFaceAttemptFailed,
363581
363564
  token: Le.token,
363582
363565
  shouldOpen: !0
363583
- });
363584
- const At = ((ht = gt.response) == null ? void 0 : ht.data) ?? Ye("notifications.serverError"), xt = (At == null ? void 0 : At.errorMessage) ?? (At == null ? void 0 : At.message) ?? (At == null ? void 0 : At.reason), Et = getErrorKey(xt);
363585
- throw new Error(Ye(Et));
363566
+ }), ht.message) {
363567
+ const Et = Ye(errorContent[ht.message].title);
363568
+ throw new Error(Et ?? Ye("notifications.serverError"));
363569
+ }
363570
+ const gt = ((ft = ht.response) == null ? void 0 : ft.data) ?? Ye("notifications.serverError"), At = (gt == null ? void 0 : gt.errorMessage) ?? (gt == null ? void 0 : gt.message) ?? (gt == null ? void 0 : gt.reason), xt = getErrorKey(At);
363571
+ throw new Error(Ye(xt));
363586
363572
  }
363587
363573
  }
363588
363574
  const useDetectSelfie = ({
@@ -363597,10 +363583,7 @@ const useDetectSelfie = ({
363597
363583
  async function yt(bt, It) {
363598
363584
  xt.current = !1, (Be == null ? void 0 : Be.streamUnlocked) != null && (Be.streamUnlocked.current = !1);
363599
363585
  try {
363600
- const wt = bt.getBase64Image();
363601
- gt("loading"), ft(Ct("videoSelfie.processingSelfie"));
363602
- const Tt = await MlWasmJSApi$1.encryptImage(wt);
363603
- await tt.onCapturing({ encryptedImage: Tt, faceCoordinates: It }), gt("capturing"), ft(Ct("videoSelfie.allGood")), await sleep(3e3), gt("success"), tt.onSuccessfulCapture();
363586
+ gt("loading"), ft(Ct("videoSelfie.processingSelfie")), await tt.onCapturing(bt, It), gt("capturing"), ft(Ct("videoSelfie.allGood")), await sleep(3e3), gt("success"), tt.onSuccessfulCapture();
363604
363587
  } catch (wt) {
363605
363588
  if (MlWasmJSApi$1.reset(), gt("error"), ft(wt.message), await sleep(3e3), gt("idle"), ft(""), At.current === Le) {
363606
363589
  await tt.onNoAttemptsLeft();
@@ -363704,9 +363687,9 @@ const useDetectSelfie = ({
363704
363687
  const { t: ft } = useTranslation$1(), { status: ht, notification: gt } = useDetectSelfie(
363705
363688
  { webcam: Le, numberOfTries: tt.numberOfTries, session: Ye },
363706
363689
  {
363707
- onCapturing: async ({ encryptedImage: Ct, faceCoordinates: yt }) => {
363690
+ onCapturing: async (Ct, yt) => {
363708
363691
  await faceCapture({
363709
- encryptedImage: Ct,
363692
+ canvas: Ct,
363710
363693
  session: Ye,
363711
363694
  t: ft,
363712
363695
  videoSelfieAsSelfie: tt.videoSelfieAsSelfie,
@@ -364812,11 +364795,12 @@ function ModuleRenderer({
364812
364795
  onError: nt,
364813
364796
  flow: ft,
364814
364797
  uiConfig: ht,
364815
- finishWithError: gt
364798
+ finishWithError: gt,
364799
+ authHint: At
364816
364800
  }) {
364817
- const At = moduleComponents[Be.key] || SkipModule;
364801
+ const xt = moduleComponents[Be.key] || SkipModule;
364818
364802
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
364819
- At,
364803
+ xt,
364820
364804
  {
364821
364805
  config: Be.configuration,
364822
364806
  onSuccess: Le,
@@ -364825,7 +364809,8 @@ function ModuleRenderer({
364825
364809
  onError: nt,
364826
364810
  flow: ft,
364827
364811
  uiConfig: ht,
364828
- finishWithError: gt
364812
+ finishWithError: gt,
364813
+ authHint: At
364829
364814
  },
364830
364815
  Be.key
364831
364816
  );
@@ -364838,60 +364823,63 @@ function FlowRenderer({
364838
364823
  },
364839
364824
  flow: nt,
364840
364825
  uiConfig: ft,
364841
- config: ht
364826
+ config: ht,
364827
+ authHint: gt
364842
364828
  }) {
364843
- const { flow: gt, loading: At, error: xt } = useFlow(Be, nt), [Et, kt] = useState(0), [Ct, yt] = useState(!1), vt = useMemo(() => new FlowLogger(tt), [tt]), { showRedirect: bt, onSkip: It } = useFlowRedirect({
364844
- flow: gt,
364829
+ const { flow: At, loading: xt, error: Et } = useFlow(Be, nt), [kt, Ct] = useState(0), [yt, vt] = useState(!1), bt = useMemo(() => new FlowLogger(tt), [tt]), { showRedirect: It, onSkip: wt } = useFlowRedirect({
364830
+ flow: At,
364845
364831
  forceSkipRedirect: ht == null ? void 0 : ht.forceSkipRedirect
364846
364832
  });
364847
364833
  if (useEffect(() => {
364848
- gt && (vt.flowStarted(gt.flowModules.length), bt ? vt.flowRedirected() : vt.stepStarted(gt.flowModules[0].key, 0, gt.flowModules.length));
364849
- }, [gt, vt, bt]), At) return null;
364850
- if (xt) {
364851
- const Bt = {
364834
+ At && (bt.flowStarted(At.flowModules.length), It ? bt.flowRedirected() : bt.stepStarted(At.flowModules[0].key, 0, At.flowModules.length));
364835
+ }, [At, bt, It]), xt) return null;
364836
+ if (Et) {
364837
+ const Dt = {
364852
364838
  type: "FLOW_LOAD_FAILED",
364853
- message: xt
364839
+ message: Et
364854
364840
  };
364855
- return Le(Bt), vt.flowError(Bt), null;
364856
- }
364857
- if (!gt) return null;
364858
- const wt = gt.flowModules, Tt = wt[Et], Rt = async () => {
364859
- const Bt = wt.length;
364860
- vt.stepCompleted(Tt.key, Et, Bt);
364861
- const Dt = Et + 1;
364862
- if (Dt < Bt)
364863
- vt.stepStarted(wt[Dt].key, Dt, Bt), kt(Dt);
364841
+ return Le(Dt), bt.flowError(Dt), null;
364842
+ }
364843
+ if (!At) return null;
364844
+ const Tt = At.flowModules, Rt = Tt[kt], Bt = async () => {
364845
+ const Dt = Tt.length;
364846
+ bt.stepCompleted(Rt.key, kt, Dt);
364847
+ const Pt = kt + 1;
364848
+ if (Pt < Dt)
364849
+ bt.stepStarted(Tt[Pt].key, Pt, Dt), Ct(Pt);
364864
364850
  else {
364865
- yt(!0);
364866
- const { redirectionUrl: Pt } = await getFinishStatus(void 0, { token: Be });
364867
- vt.flowCompleted(Bt), Ye({ redirectionUrl: Pt });
364851
+ vt(!0);
364852
+ const { redirectionUrl: Nt } = await getFinishStatus(void 0, { token: Be });
364853
+ bt.flowCompleted(Dt), Ye({ redirectionUrl: Nt });
364868
364854
  }
364869
364855
  };
364870
- return Ct ? /* @__PURE__ */ jsxRuntimeExports.jsx(Spinner$6, {}) : bt ? /* @__PURE__ */ jsxRuntimeExports.jsx(
364856
+ return yt ? /* @__PURE__ */ jsxRuntimeExports.jsx(Spinner$6, {}) : It ? /* @__PURE__ */ jsxRuntimeExports.jsx(
364871
364857
  FlowRedirect,
364872
364858
  {
364873
- flow: gt,
364859
+ flow: At,
364874
364860
  token: Be,
364875
- onSuccess: Rt,
364876
- onSkip: It,
364877
- mobileQrRedirectUrl: ht == null ? void 0 : ht.mobileQrRedirectUrl
364861
+ onSuccess: Bt,
364862
+ onSkip: wt,
364863
+ mobileQrRedirectUrl: ht == null ? void 0 : ht.mobileQrRedirectUrl,
364864
+ authHint: gt
364878
364865
  }
364879
364866
  ) : /* @__PURE__ */ jsxRuntimeExports.jsx(
364880
364867
  App$1,
364881
364868
  {
364882
364869
  token: Be,
364883
- disableUnsupportedBrowserScreen: gt == null ? void 0 : gt.disableUnsupportedBrowserScreen,
364870
+ disableUnsupportedBrowserScreen: At == null ? void 0 : At.disableUnsupportedBrowserScreen,
364884
364871
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(FlowDataProvider, { token: Be, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
364885
364872
  ModuleRenderer,
364886
364873
  {
364887
- module: Tt,
364888
- onSuccess: Rt,
364889
- emit: (Bt) => vt.emit(Bt),
364874
+ module: Rt,
364875
+ onSuccess: Bt,
364876
+ emit: (Dt) => bt.emit(Dt),
364890
364877
  token: Be,
364891
- onError: Rt,
364892
- flow: gt,
364878
+ onError: Bt,
364879
+ flow: At,
364893
364880
  uiConfig: ft,
364894
- finishWithError: (Bt) => Le(Bt)
364881
+ finishWithError: (Dt) => Le(Dt),
364882
+ authHint: gt
364895
364883
  }
364896
364884
  ) })
364897
364885
  }
@@ -364905,9 +364893,10 @@ const executeFlow = async ({
364905
364893
  onEvent: nt,
364906
364894
  flow: ft,
364907
364895
  uiConfig: ht,
364908
- config: gt
364896
+ config: gt,
364897
+ authHint: At
364909
364898
  }) => {
364910
- const At = createRoot$1(Be);
364899
+ const xt = createRoot$1(Be);
364911
364900
  customRender(
364912
364901
  /* @__PURE__ */ jsxRuntimeExports.jsx(
364913
364902
  FlowRenderer,
@@ -364918,11 +364907,12 @@ const executeFlow = async ({
364918
364907
  onEvent: nt,
364919
364908
  flow: ft,
364920
364909
  uiConfig: ht,
364921
- config: gt
364910
+ config: gt,
364911
+ authHint: At
364922
364912
  }
364923
364913
  ),
364924
364914
  Be,
364925
- At
364915
+ xt
364926
364916
  );
364927
364917
  };
364928
364918
  function renderForms(Be, { onSuccess: Le, onError: Ye, token: tt, interviewId: nt, flowId: ft, screens: ht }) {
@@ -374917,30 +374907,32 @@ const RedirectToMobile = ({
374917
374907
  displayOnboardingResultOnDesktop: ht,
374918
374908
  qrPhishingResistance: gt,
374919
374909
  url: At,
374920
- showFinishScreen: xt = !0
374910
+ showFinishScreen: xt = !0,
374911
+ authHint: Et
374921
374912
  }) => {
374922
- const { t: Et } = i18n, { nextStep: kt, currentStep: Ct } = useSteps(), { assets: yt } = useAssets({ startSuccess: !0, token: Be });
374923
- return yt ? /* @__PURE__ */ jsxRuntimeExports.jsxs(Steps, { currentStep: Ct, children: [
374913
+ const { t: kt } = i18n, { nextStep: Ct, currentStep: yt } = useSteps(), { assets: vt } = useAssets({ startSuccess: !0, token: Be });
374914
+ return vt ? /* @__PURE__ */ jsxRuntimeExports.jsxs(Steps, { currentStep: yt, children: [
374924
374915
  /* @__PURE__ */ jsxRuntimeExports.jsx(
374925
374916
  Redirect,
374926
374917
  {
374927
374918
  session: Be,
374928
- onSuccess: xt ? kt : emptyFunc,
374919
+ onSuccess: xt ? Ct : emptyFunc,
374929
374920
  showSms: !Le,
374930
374921
  skipDesktopRedirect: Ye,
374931
374922
  allowSkipRedirect: tt,
374932
374923
  allowReEnrollment: ft,
374933
374924
  expired: nt,
374934
- assets: yt,
374925
+ assets: vt,
374935
374926
  qrPhishingResistance: gt,
374936
- url: At
374927
+ url: At,
374928
+ authHint: Et
374937
374929
  }
374938
374930
  ),
374939
374931
  xt && /* @__PURE__ */ jsxRuntimeExports.jsx(
374940
374932
  RedirectedCallFinished,
374941
374933
  {
374942
- title: Be.endScreenTitle || Et("support.thanks"),
374943
- subtitle: Be.endScreenText || Et("support.successFinish"),
374934
+ title: Be.endScreenTitle || kt("support.thanks"),
374935
+ subtitle: Be.endScreenText || kt("support.successFinish"),
374944
374936
  displayOnboardingResultOnDesktop: ht,
374945
374937
  token: Be.token
374946
374938
  }
@@ -375447,7 +375439,8 @@ const RedirectToMobile = ({
375447
375439
  disableSmsOption: (Tt == null ? void 0 : Tt.disableSmsOption) ?? !1,
375448
375440
  qrPhishingResistance: (Tt == null ? void 0 : Tt.qrPhishingResistance) ?? !1,
375449
375441
  url: gt,
375450
- showFinishScreen: Et
375442
+ showFinishScreen: Et,
375443
+ authHint: ht
375451
375444
  }
375452
375445
  ) : /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: getModule({
375453
375446
  currentNode: It,