@incodetech/welcome 1.85.0-20251105121333.0 → 1.85.0-20251105173409.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.
- package/dist/incode-welcome/src/create.d.ts +4 -1
- package/dist/incode-welcome/src/redirect/PhishingResistanceScreen.d.ts +2 -0
- package/dist/incode-welcome/src/redirect/Redirect.d.ts +4 -1
- package/dist/incode-welcome/src/workflows/Workflow.d.ts +8 -1
- package/dist/incode-welcome/src/workflows/executeWorkflow.d.ts +8 -1
- package/dist/incode-welcome/src/workflows/modules/RedirectToMobile.d.ts +2 -1
- package/dist/onBoarding.mjs +254 -125
- package/dist/onBoarding.umd.js +24 -8
- package/dist/types/src/index.d.ts +10 -0
- package/package.json +1 -1
package/dist/onBoarding.mjs
CHANGED
|
@@ -8375,7 +8375,7 @@ class MlWasmJSApi {
|
|
|
8375
8375
|
);
|
|
8376
8376
|
}
|
|
8377
8377
|
}
|
|
8378
|
-
const MlWasmJSApi$1 = MlWasmJSApi.getInstance(), version$4 = "1.85.0-
|
|
8378
|
+
const MlWasmJSApi$1 = MlWasmJSApi.getInstance(), version$4 = "1.85.0-20251105173409.0";
|
|
8379
8379
|
function e$2(Be, Le) {
|
|
8380
8380
|
return function(Ye, tt) {
|
|
8381
8381
|
return Object.prototype.hasOwnProperty.call(Ye, tt);
|
|
@@ -23624,7 +23624,7 @@ dt.button`
|
|
|
23624
23624
|
margin-top: -2.5px;
|
|
23625
23625
|
}
|
|
23626
23626
|
`;
|
|
23627
|
-
dt.
|
|
23627
|
+
dt.div`
|
|
23628
23628
|
width: 100%;
|
|
23629
23629
|
visibility: ${(Be) => Be.isDropdownOpen ? "visible" : "hidden"};
|
|
23630
23630
|
opacity: ${(Be) => Be.isDropdownOpen ? 1 : 0};
|
|
@@ -23635,10 +23635,28 @@ dt.ul`
|
|
|
23635
23635
|
top: 100%;
|
|
23636
23636
|
border-top: ${(Be) => Be.isDropdownOpen ? "none" : "1px solid #ccc"};
|
|
23637
23637
|
border-radius: 0 0 4px 4px;
|
|
23638
|
+
box-sizing: border-box;
|
|
23639
|
+
background: #fff;
|
|
23640
|
+
overflow: hidden;
|
|
23641
|
+
`;
|
|
23642
|
+
dt.ul`
|
|
23643
|
+
width: 100%;
|
|
23638
23644
|
max-height: 150px;
|
|
23639
23645
|
overflow-y: auto;
|
|
23640
23646
|
overflow-x: hidden;
|
|
23641
23647
|
box-sizing: border-box;
|
|
23648
|
+
margin: 0;
|
|
23649
|
+
padding: 0;
|
|
23650
|
+
list-style: none;
|
|
23651
|
+
`;
|
|
23652
|
+
dt.div`
|
|
23653
|
+
position: absolute;
|
|
23654
|
+
right: 2px;
|
|
23655
|
+
width: 4px;
|
|
23656
|
+
border-radius: 3px;
|
|
23657
|
+
background: #aaa;
|
|
23658
|
+
opacity: .85;
|
|
23659
|
+
pointer-events: none;
|
|
23642
23660
|
`;
|
|
23643
23661
|
const StyledDropdownOption = dt.li`
|
|
23644
23662
|
padding: 10px;
|
|
@@ -306831,7 +306849,102 @@ const sendRedirectSMS = ({
|
|
|
306831
306849
|
"X-Incode-Hardware-Id": Be
|
|
306832
306850
|
}
|
|
306833
306851
|
}
|
|
306834
|
-
).then((nt) => nt.data).catch((nt) => Promise.reject(nt.response.data)), phone$1 = "data:image/svg+xml,%3csvg%20width='154'%20height='320'%20viewBox='0%200%20154%20320'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='1'%20y='1'%20width='151.927'%20height='317.921'%20rx='17.5841'%20fill='white'%20stroke='%2380868F'%20stroke-width='1.05505'/%3e%3crect%20x='58.676'%20y='16.474'%20width='37.6301'%20height='10.5505'%20rx='5.27524'%20fill='%23ECEFF2'/%3e%3crect%20x='60.4342'%20y='15.7706'%20width='33.0582'%20height='7.38534'%20rx='3.69267'%20fill='white'%20stroke='%2380868F'%20stroke-width='0.703366'/%3e%3crect%20x='64.6548'%20y='18.5842'%20width='24.6178'%20height='1.75841'%20rx='0.879207'%20fill='%23ECEFF2'/%3e%3ccircle%20cx='76.7877'%20cy='300.458'%20r='13.5398'%20fill='white'%20stroke='%2380868F'%20stroke-width='0.703366'/%3e%3ccircle%20cx='76.7875'%20cy='300.458'%20r='7.56118'%20fill='%23ECEFF2'/%3e%3crect%20x='11.5503'%20y='35.8166'%20width='136.453'%20height='242.309'%20rx='5.27524'%20fill='%23ECEFF2'/%3e%3crect%20x='5.57202'%20y='37.5751'%20width='140.673'%20height='245.475'%20rx='3.51683'%20fill='white'/%3e%3crect%20x='9.0885'%20y='38.9818'%20width='135.75'%20height='241.606'%20rx='4.92356'%20fill='%23ECEFF2'%20stroke='%2380868F'%20stroke-width='0.703366'/%3e%3c/svg%3e",
|
|
306852
|
+
).then((nt) => nt.data).catch((nt) => Promise.reject(nt.response.data)), phone$1 = "data:image/svg+xml,%3csvg%20width='154'%20height='320'%20viewBox='0%200%20154%20320'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='1'%20y='1'%20width='151.927'%20height='317.921'%20rx='17.5841'%20fill='white'%20stroke='%2380868F'%20stroke-width='1.05505'/%3e%3crect%20x='58.676'%20y='16.474'%20width='37.6301'%20height='10.5505'%20rx='5.27524'%20fill='%23ECEFF2'/%3e%3crect%20x='60.4342'%20y='15.7706'%20width='33.0582'%20height='7.38534'%20rx='3.69267'%20fill='white'%20stroke='%2380868F'%20stroke-width='0.703366'/%3e%3crect%20x='64.6548'%20y='18.5842'%20width='24.6178'%20height='1.75841'%20rx='0.879207'%20fill='%23ECEFF2'/%3e%3ccircle%20cx='76.7877'%20cy='300.458'%20r='13.5398'%20fill='white'%20stroke='%2380868F'%20stroke-width='0.703366'/%3e%3ccircle%20cx='76.7875'%20cy='300.458'%20r='7.56118'%20fill='%23ECEFF2'/%3e%3crect%20x='11.5503'%20y='35.8166'%20width='136.453'%20height='242.309'%20rx='5.27524'%20fill='%23ECEFF2'/%3e%3crect%20x='5.57202'%20y='37.5751'%20width='140.673'%20height='245.475'%20rx='3.51683'%20fill='white'/%3e%3crect%20x='9.0885'%20y='38.9818'%20width='135.75'%20height='241.606'%20rx='4.92356'%20fill='%23ECEFF2'%20stroke='%2380868F'%20stroke-width='0.703366'/%3e%3c/svg%3e", SvgIconInformationGray = (Be) => /* @__PURE__ */ React.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...Be }, /* @__PURE__ */ React.createElement("g", { id: "info circle", opacity: 0.7 }, /* @__PURE__ */ React.createElement("path", { id: "Vector", fillRule: "evenodd", clipRule: "evenodd", d: "M12.756 15.693C12.756 16.107 12.42 16.443 12.006 16.443C11.592 16.443 11.256 16.107 11.256 15.693V11.394C11.256 10.98 11.592 10.644 12.006 10.644C12.42 10.644 12.756 10.98 12.756 11.394V15.693ZM11.25 8.291C11.25 7.877 11.586 7.541 12 7.541C12.414 7.541 12.75 7.877 12.75 8.291C12.75 8.705 12.414 9.073 12 9.073C11.586 9.073 11.25 8.768 11.25 8.354V8.291ZM12 2.5C6.762 2.5 2.5 6.761 2.5 12C2.5 17.238 6.762 21.5 12 21.5C17.238 21.5 21.5 17.238 21.5 12C21.5 6.761 17.238 2.5 12 2.5Z", fill: "#2B2B2B" }))), SvgUserScan = (Be) => /* @__PURE__ */ React.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...Be }, /* @__PURE__ */ React.createElement("g", { id: "User scan" }, /* @__PURE__ */ React.createElement("path", { id: "Vector", fillRule: "evenodd", clipRule: "evenodd", d: "M28.2007 19.7995C27.6674 19.7995 27.134 20.1995 27.134 20.8661V22.9995C27.134 25.2661 25.2674 27.2661 23.0007 27.2661H21.2674C20.734 27.2661 20.2007 27.6661 20.2007 28.3328C20.2007 28.9995 20.6007 29.3995 21.2674 29.3995H23.0007C26.4674 29.3995 29.134 26.5995 29.134 23.1328V20.9995C29.134 20.1995 28.734 19.7995 28.2007 19.7995Z", fill: "#007AFF" }), /* @__PURE__ */ React.createElement("path", { id: "Vector_2", fillRule: "evenodd", clipRule: "evenodd", d: "M11.1338 27.1333H9.40046C7.13379 27.1333 5.26712 25.2667 5.26712 22.8667V20.7333C5.26712 20.2 4.86712 19.6667 4.20046 19.6667C3.53379 19.6667 3.13379 20.0667 3.13379 20.7333V22.8667C3.13379 26.3333 5.93379 29.1333 9.26712 29.1333H11.0005C11.5338 29.1333 12.0671 28.7333 12.0671 28.0667C12.0671 27.4 11.6671 27.1333 11.1338 27.1333Z", fill: "#007AFF" }), /* @__PURE__ */ React.createElement("path", { id: "Vector_3", fillRule: "evenodd", clipRule: "evenodd", d: "M4.20064 12.199C4.73397 12.199 5.2673 11.799 5.2673 11.1323V8.99896C5.2673 6.73229 7.13397 4.73229 9.40064 4.73229H11.134C11.6673 4.73229 12.2006 4.33229 12.2006 3.66563C12.2006 2.99896 11.8006 2.59896 11.134 2.59896H9.40064C5.93397 2.59896 3.2673 5.39896 3.2673 8.86563V10.999C3.13397 11.799 3.6673 12.199 4.20064 12.199Z", fill: "#007AFF" }), /* @__PURE__ */ React.createElement("path", { id: "Vector_4", fillRule: "evenodd", clipRule: "evenodd", d: "M16.0674 16.1995C18.2007 16.1995 19.934 14.4661 19.934 12.3328C19.934 10.0661 18.334 8.46615 16.0674 8.46615C13.934 8.46615 12.2007 10.1995 12.2007 12.3328C12.2007 14.4661 13.934 16.1995 16.0674 16.1995Z", fill: "#007AFF" }), /* @__PURE__ */ React.createElement("path", { id: "Vector_5", fillRule: "evenodd", clipRule: "evenodd", d: "M21.8005 20.5989C21.8005 17.9323 17.6672 17.9323 16.2005 17.9323C14.7339 17.9323 10.6006 17.9323 10.6006 20.5989C10.6006 23.2656 14.7339 23.2656 16.2005 23.2656C17.6672 23.2656 21.8005 23.2656 21.8005 20.5989Z", fill: "#007AFF" }), /* @__PURE__ */ React.createElement("path", { id: "Vector_6", fillRule: "evenodd", clipRule: "evenodd", d: "M23.0007 2.86459H21.2674C20.734 2.86459 20.2007 3.26459 20.2007 3.93125C20.2007 4.59792 20.6007 4.99792 21.2674 4.99792H23.0007C25.2674 4.99792 27.134 6.86459 27.134 9.26459V11.3979C27.134 11.9313 27.534 12.4646 28.2007 12.4646C28.8674 12.4646 29.2673 12.0646 29.2673 11.3979V9.26459C29.134 5.66459 26.4674 2.86459 23.0007 2.86459Z", fill: "#007AFF" }))), PhishingResistanceScreen = ({
|
|
306853
|
+
token: Be,
|
|
306854
|
+
uiConfig: Le,
|
|
306855
|
+
redirectUrl: Ye,
|
|
306856
|
+
allowSkipRedirect: tt,
|
|
306857
|
+
onContinueOnDesktop: nt
|
|
306858
|
+
}) => {
|
|
306859
|
+
const { t: ft } = useTranslation$1(), ht = () => {
|
|
306860
|
+
const gt = useTokens();
|
|
306861
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Flex, { direction: "column", hFull: !0, wFull: !0, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
306862
|
+
Flex,
|
|
306863
|
+
{
|
|
306864
|
+
borderWidth: "1px",
|
|
306865
|
+
borderStyle: "solid",
|
|
306866
|
+
borderColor: gt.color.border.primary,
|
|
306867
|
+
borderRadius: "8px",
|
|
306868
|
+
m: "auto",
|
|
306869
|
+
minW: "700px",
|
|
306870
|
+
maxW: "700px",
|
|
306871
|
+
direction: "column",
|
|
306872
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Flex, { direction: "column", pt: 6, children: [
|
|
306873
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
306874
|
+
Text$8,
|
|
306875
|
+
{
|
|
306876
|
+
as: "p",
|
|
306877
|
+
color: gt.color.text.body.primary,
|
|
306878
|
+
mb: 2,
|
|
306879
|
+
w: "full",
|
|
306880
|
+
textAlign: "center",
|
|
306881
|
+
fontSize: "28px",
|
|
306882
|
+
fontWeight: gt.typography.fontWeight.medium,
|
|
306883
|
+
children: ft("redirect.phishingResistance.titleClient")
|
|
306884
|
+
}
|
|
306885
|
+
),
|
|
306886
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
306887
|
+
Flex,
|
|
306888
|
+
{
|
|
306889
|
+
mx: "auto",
|
|
306890
|
+
my: 2,
|
|
306891
|
+
mb: 5,
|
|
306892
|
+
maxW: "60%",
|
|
306893
|
+
color: gt.color.text.body.tertiary,
|
|
306894
|
+
align: "center",
|
|
306895
|
+
children: [
|
|
306896
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Flex, { mr: 3, minH: "32px", w: "32px", align: "center", justify: "center", children: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgUserScan, { width: 32, height: 32 }) }),
|
|
306897
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text$8, { fontSize: gt.typography.fontSize.sm, as: "div", children: ft("redirect.phishingResistance.explanation1") })
|
|
306898
|
+
]
|
|
306899
|
+
}
|
|
306900
|
+
),
|
|
306901
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(Flex, { direction: "column", w: "full", align: "center", children: [
|
|
306902
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
306903
|
+
Box,
|
|
306904
|
+
{
|
|
306905
|
+
backgroundColor: gt.color.border.primary,
|
|
306906
|
+
mb: 6,
|
|
306907
|
+
h: "1px",
|
|
306908
|
+
wFull: !0
|
|
306909
|
+
}
|
|
306910
|
+
),
|
|
306911
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
306912
|
+
Box,
|
|
306913
|
+
{
|
|
306914
|
+
borderWidth: "1px",
|
|
306915
|
+
borderStyle: "solid",
|
|
306916
|
+
borderColor: gt.color.border.primary,
|
|
306917
|
+
borderRadius: "20px",
|
|
306918
|
+
p: 3,
|
|
306919
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
306920
|
+
_default,
|
|
306921
|
+
{
|
|
306922
|
+
value: Ye,
|
|
306923
|
+
size: 200,
|
|
306924
|
+
className: "IncodeRedirectQRCode"
|
|
306925
|
+
}
|
|
306926
|
+
)
|
|
306927
|
+
}
|
|
306928
|
+
)
|
|
306929
|
+
] }),
|
|
306930
|
+
tt && /* @__PURE__ */ jsxRuntimeExports.jsx(Flex, { mb: gt.spacing[6], wFull: !0, justify: "center", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Button$b, { h: "auto", variant: "link", onClick: nt, children: ft("redirect.continueOnDesktop") }) }),
|
|
306931
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(Flex, { my: 8, align: "center", justify: "center", children: [
|
|
306932
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(SvgIconInformationGray, { className: "mr-2" }),
|
|
306933
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
306934
|
+
Text$8,
|
|
306935
|
+
{
|
|
306936
|
+
color: gt.color.text.body.secondary,
|
|
306937
|
+
fontSize: gt.typography.fontSize.sm,
|
|
306938
|
+
children: ft("redirect.phishingResistance.recommendedBrowser")
|
|
306939
|
+
}
|
|
306940
|
+
)
|
|
306941
|
+
] })
|
|
306942
|
+
] })
|
|
306943
|
+
}
|
|
306944
|
+
) });
|
|
306945
|
+
};
|
|
306946
|
+
return Ye ? /* @__PURE__ */ jsxRuntimeExports.jsx(IncodeProvider, { token: Be, uiConfig: Le, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Page$1, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(ht, {}) }) }) : null;
|
|
306947
|
+
}, onboardingStatusUrl = "/omni/get/onboarding/status";
|
|
306835
306948
|
function getOnboardingStatus(Be) {
|
|
306836
306949
|
return api.get(onboardingStatusUrl, {
|
|
306837
306950
|
headers: {
|
|
@@ -307292,100 +307405,110 @@ function Redirect({
|
|
|
307292
307405
|
expired: xt,
|
|
307293
307406
|
allowReEnrollment: yt,
|
|
307294
307407
|
authHint: Ct,
|
|
307295
|
-
qrPhishingResistance: Et
|
|
307408
|
+
qrPhishingResistance: Et,
|
|
307409
|
+
uiConfig: vt
|
|
307296
307410
|
}) {
|
|
307297
|
-
const { t:
|
|
307411
|
+
const { t: kt } = useTranslation$1(), [bt, wt] = useState(""), [It, Tt] = useState(null), [Rt, Bt] = useState(), [Pt, Dt] = useState(tt), [Ot, Lt] = useState(!0), [Wt, $t] = useState(!1), [qt, Ht] = useState(), [Ut, Ft] = useState(!1), Xt = useQuery(), Mt = Xt.get("lang"), _t = convertMinutesToDHM(
|
|
307298
307412
|
Be.onboardingLinkExpirationMinutes ?? 15
|
|
307299
|
-
),
|
|
307300
|
-
const { hours:
|
|
307301
|
-
let
|
|
307302
|
-
return
|
|
307413
|
+
), jt = (r0) => {
|
|
307414
|
+
const { hours: m0, days: x0, minutes: o0 } = r0;
|
|
307415
|
+
let a0 = "";
|
|
307416
|
+
return x0 > 0 && (a0 += ` ${x0} ${kt("redirect.expDays")}`, m0 > 0 && (a0 += o0 > 0 ? "," : ` ${kt("redirect.and")}`), m0 === 0 && o0 > 0 && (a0 += ` ${kt("redirect.and")}`)), m0 > 0 && (a0 += ` ${m0} ${kt("redirect.expHours")}`, o0 > 0 && (a0 += ` ${kt("redirect.and")}`)), o0 > 0 && (a0 += ` ${o0} ${kt("redirect.expMinutes")}`), a0;
|
|
307303
307417
|
};
|
|
307304
307418
|
useEffect(() => {
|
|
307305
|
-
const
|
|
307419
|
+
const r0 = Xt.get("hideSms");
|
|
307306
307420
|
(() => {
|
|
307307
|
-
if (
|
|
307308
|
-
const
|
|
307309
|
-
|
|
307421
|
+
if (r0 == null) return;
|
|
307422
|
+
const x0 = r0.toLowerCase() === "true";
|
|
307423
|
+
Dt(x0);
|
|
307310
307424
|
})();
|
|
307311
|
-
}, [
|
|
307312
|
-
const { redirectUrl:
|
|
307425
|
+
}, [Xt]);
|
|
307426
|
+
const { redirectUrl: zt } = useQR({
|
|
307313
307427
|
url: Ye,
|
|
307314
307428
|
onSuccess: Le,
|
|
307315
307429
|
session: Be,
|
|
307316
307430
|
expired: xt,
|
|
307317
307431
|
allowReEnrollment: yt,
|
|
307318
307432
|
externalId: At,
|
|
307319
|
-
lang:
|
|
307320
|
-
canceled:
|
|
307433
|
+
lang: Mt,
|
|
307434
|
+
canceled: Ut,
|
|
307321
307435
|
authHint: Ct,
|
|
307322
307436
|
qrPhishingResistance: Et
|
|
307323
307437
|
});
|
|
307324
307438
|
useEffect(() => {
|
|
307325
|
-
getStartInfo(Be).then((
|
|
307326
|
-
|
|
307439
|
+
getStartInfo(Be).then((r0) => {
|
|
307440
|
+
wt(r0.phonePrefix);
|
|
307327
307441
|
});
|
|
307328
307442
|
}, []), useEffect(() => {
|
|
307329
307443
|
if (!nt)
|
|
307330
307444
|
return;
|
|
307331
|
-
const { logo:
|
|
307332
|
-
if (!
|
|
307333
|
-
|
|
307445
|
+
const { logo: r0 } = nt;
|
|
307446
|
+
if (!r0) {
|
|
307447
|
+
Ht(welcomeLogo);
|
|
307334
307448
|
return;
|
|
307335
307449
|
}
|
|
307336
|
-
|
|
307450
|
+
Ht(r0);
|
|
307337
307451
|
}, [nt]);
|
|
307338
|
-
function
|
|
307339
|
-
const
|
|
307340
|
-
|
|
307452
|
+
function Gt({ target: { value: r0 } }) {
|
|
307453
|
+
const m0 = parsePhoneNumber(r0), x0 = asYouType.input(r0);
|
|
307454
|
+
wt(x0), asYouType.reset(), m0 != null && m0.isValid() ? (Bt(r0), Lt(!1)) : Lt(!0);
|
|
307341
307455
|
}
|
|
307342
|
-
const
|
|
307343
|
-
|
|
307456
|
+
const Yt = () => `${ft} ${zt}`, i0 = async () => {
|
|
307457
|
+
Tt(!0), addEvent({
|
|
307344
307458
|
token: Be.token,
|
|
307345
307459
|
code: "userClickedSendSms"
|
|
307346
307460
|
}), await addPhone({
|
|
307347
|
-
phone:
|
|
307461
|
+
phone: Rt,
|
|
307348
307462
|
token: Be.token,
|
|
307349
|
-
...ft && { text:
|
|
307463
|
+
...ft && { text: Yt() }
|
|
307350
307464
|
});
|
|
307351
|
-
const
|
|
307465
|
+
const r0 = Mt ? [`lang=${Mt}`] : [];
|
|
307352
307466
|
ft || await sendRedirectSMS({
|
|
307353
307467
|
smsType: "DESKTOP_ONBOARDING",
|
|
307354
307468
|
token: Be.token,
|
|
307355
|
-
params:
|
|
307356
|
-
uuid: getUuidFromUrl(
|
|
307357
|
-
}),
|
|
307358
|
-
},
|
|
307359
|
-
|
|
307360
|
-
}, [
|
|
307469
|
+
params: r0,
|
|
307470
|
+
uuid: getUuidFromUrl(zt)
|
|
307471
|
+
}), Tt(!1), $t(!0);
|
|
307472
|
+
}, t0 = () => {
|
|
307473
|
+
Ft(!0), ht();
|
|
307474
|
+
}, [s0, d0] = useState(!1);
|
|
307361
307475
|
return useLayoutEffect(() => {
|
|
307362
|
-
window.innerWidth <= 1281 &&
|
|
307363
|
-
}, []),
|
|
307476
|
+
window.innerWidth <= 1281 && d0(!0);
|
|
307477
|
+
}, []), zt ? Et ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
307478
|
+
PhishingResistanceScreen,
|
|
307479
|
+
{
|
|
307480
|
+
token: Be.token,
|
|
307481
|
+
redirectUrl: zt,
|
|
307482
|
+
uiConfig: vt ?? {},
|
|
307483
|
+
allowSkipRedirect: gt,
|
|
307484
|
+
onContinueOnDesktop: t0
|
|
307485
|
+
}
|
|
307486
|
+
) : /* @__PURE__ */ jsxRuntimeExports.jsxs(RedirectContainer, { className: "IncodeRedirectContainer", children: [
|
|
307364
307487
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(QrItemContainer, { className: "IncodeRedirectQrItemContainer", children: [
|
|
307365
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(TitleMobile, { className: "IncodeRedirectTitleMobile", children:
|
|
307366
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(ListMobile, { className: "IncodeRedirectListMobile", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Item, { className: "IncodeRedirectItem", children:
|
|
307488
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(TitleMobile, { className: "IncodeRedirectTitleMobile", children: kt("redirect.scanQrTitle") }),
|
|
307489
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(ListMobile, { className: "IncodeRedirectListMobile", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Item, { className: "IncodeRedirectItem", children: kt("redirect.scanQrParagraph1") }) }),
|
|
307367
307490
|
/* @__PURE__ */ jsxRuntimeExports.jsx(QrContainer, { className: "IncodeRedirectQrContainer", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
307368
307491
|
_default,
|
|
307369
307492
|
{
|
|
307370
|
-
value:
|
|
307493
|
+
value: zt,
|
|
307371
307494
|
bgColor: "#eceff2",
|
|
307372
|
-
size:
|
|
307495
|
+
size: s0 ? 100 : 150,
|
|
307373
307496
|
className: "IncodeRedirectQRCode"
|
|
307374
307497
|
}
|
|
307375
307498
|
) }),
|
|
307376
307499
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(ContainerRecommendation, { className: "IncodeRedirectContainerRecommendation", children: [
|
|
307377
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Title$c, { className: "IncodeRedirectTitle", children:
|
|
307500
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Title$c, { className: "IncodeRedirectTitle", children: kt("redirect.scanQrTitle") }),
|
|
307378
307501
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(List$1, { className: "IncodeRedirectList", children: [
|
|
307379
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Item, { className: "IncodeRedirectParagraph1", children:
|
|
307380
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Item, { className: "IncodeRedirectParagraph2", children:
|
|
307381
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Item, { className: "IncodeRedirectParagraph3", children:
|
|
307502
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Item, { className: "IncodeRedirectParagraph1", children: kt("redirect.scanQrParagraph1") }),
|
|
307503
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Item, { className: "IncodeRedirectParagraph2", children: kt("redirect.scanQrParagraph2") }),
|
|
307504
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Item, { className: "IncodeRedirectParagraph3", children: kt("redirect.scanQrParagraph3") })
|
|
307382
307505
|
] })
|
|
307383
307506
|
] })
|
|
307384
307507
|
] }),
|
|
307385
|
-
|
|
307508
|
+
Pt && /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
307386
307509
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(SeparatorContainer, { className: "IncodeRedirectSeparatorContainer", children: [
|
|
307387
307510
|
/* @__PURE__ */ jsxRuntimeExports.jsx(VerticalLine, { className: "IncodeRedirectVerticalLine" }),
|
|
307388
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Paragraph$5, { children:
|
|
307511
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Paragraph$5, { children: kt("common.or") }),
|
|
307389
307512
|
/* @__PURE__ */ jsxRuntimeExports.jsx(VerticalLine, {})
|
|
307390
307513
|
] }),
|
|
307391
307514
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(QrItemContainer, { className: "IncodeRedirectQrItemContainer", children: [
|
|
@@ -307399,9 +307522,9 @@ function Redirect({
|
|
|
307399
307522
|
alt: "mobile device"
|
|
307400
307523
|
}
|
|
307401
307524
|
),
|
|
307402
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("h2", { className: "IncodeRedirectSendVerificationMobileText", children:
|
|
307525
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("h2", { className: "IncodeRedirectSendVerificationMobileText", children: kt("redirect.sendLinkToMyPhone") })
|
|
307403
307526
|
] }),
|
|
307404
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(ListMobile, { className: "IncodeRedirectSendVerificationMobileList", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Item, { className: "IncodeRedirectSendVerificationMobileListItem", children:
|
|
307527
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(ListMobile, { className: "IncodeRedirectSendVerificationMobileList", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Item, { className: "IncodeRedirectSendVerificationMobileListItem", children: kt("redirect.linkParagraph") }) })
|
|
307405
307528
|
] }),
|
|
307406
307529
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(SendVerificationDesktop, { className: "IncodeRedirectSendVerificationDesktopContainer", children: [
|
|
307407
307530
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -307412,52 +307535,52 @@ function Redirect({
|
|
|
307412
307535
|
alt: "mobile device"
|
|
307413
307536
|
}
|
|
307414
307537
|
),
|
|
307415
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Title$c, { className: "IncodeRedirectSendVerificationDesktopText", children:
|
|
307538
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Title$c, { className: "IncodeRedirectSendVerificationDesktopText", children: kt("redirect.sendLink") })
|
|
307416
307539
|
] }),
|
|
307417
307540
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(SendSmSContainer, { className: "IncodeRedirectSendSMSContainer", children: [
|
|
307418
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("h2", { className: "IncodeRedirectSendSMSText", children:
|
|
307419
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(List$1, { className: "mid-screen IncodeRedirectSendSMSList", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Item, { className: "IncodeRedirectSendSMSListItem", children:
|
|
307541
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("h2", { className: "IncodeRedirectSendSMSText", children: kt("redirect.sendLink") }),
|
|
307542
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(List$1, { className: "mid-screen IncodeRedirectSendSMSList", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Item, { className: "IncodeRedirectSendSMSListItem", children: kt("redirect.linkParagraph") }) }),
|
|
307420
307543
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(ContainerInputs, { className: "IncodeRedirectContainerInputs", children: [
|
|
307421
307544
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
307422
307545
|
Input$7,
|
|
307423
307546
|
{
|
|
307424
307547
|
autoComplete: "off",
|
|
307425
307548
|
type: "tel",
|
|
307426
|
-
onChange:
|
|
307427
|
-
value:
|
|
307549
|
+
onChange: Gt,
|
|
307550
|
+
value: bt,
|
|
307428
307551
|
className: "IncodeRedirectInput"
|
|
307429
307552
|
}
|
|
307430
307553
|
),
|
|
307431
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(List$1, { className: "big-screen", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Item, { children:
|
|
307432
|
-
|
|
307554
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(List$1, { className: "big-screen", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Item, { children: kt("redirect.linkParagraph") }) }),
|
|
307555
|
+
Wt ? /* @__PURE__ */ jsxRuntimeExports.jsx(SmsSentContainer, { className: "IncodeRedirectSmsSentContainer", children: /* @__PURE__ */ jsxRuntimeExports.jsx(SmsSentParagraph, { className: "IncodeRedirectSmsSentParagraph", children: `${kt("redirect.expLink")}${jt(_t)}` }) }) : /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
307433
307556
|
CustomButton,
|
|
307434
307557
|
{
|
|
307435
|
-
disabled:
|
|
307436
|
-
onClick:
|
|
307437
|
-
children:
|
|
307558
|
+
disabled: Ot || It,
|
|
307559
|
+
onClick: i0,
|
|
307560
|
+
children: kt("common.send")
|
|
307438
307561
|
}
|
|
307439
307562
|
)
|
|
307440
307563
|
] })
|
|
307441
307564
|
] }),
|
|
307442
|
-
|
|
307565
|
+
Wt && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
307443
307566
|
ResendParagraph,
|
|
307444
307567
|
{
|
|
307445
307568
|
onClick: () => {
|
|
307446
|
-
|
|
307569
|
+
$t(!1), i0();
|
|
307447
307570
|
},
|
|
307448
307571
|
className: "IncodeRedirectResendParagraph",
|
|
307449
|
-
children:
|
|
307572
|
+
children: kt("redirect.linkNotReceived")
|
|
307450
307573
|
}
|
|
307451
307574
|
)
|
|
307452
307575
|
] })
|
|
307453
307576
|
] }),
|
|
307454
307577
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(FooterDesktop, { className: "IncodeRedirectFooterDesktop", children: [
|
|
307455
|
-
|
|
307578
|
+
qt && /* @__PURE__ */ jsxRuntimeExports.jsx(Logo, { src: qt }),
|
|
307456
307579
|
" ",
|
|
307457
307580
|
gt ? /* @__PURE__ */ jsxRuntimeExports.jsxs("p", { children: [
|
|
307458
|
-
|
|
307581
|
+
kt("redirect.dontHavePhone"),
|
|
307459
307582
|
" ",
|
|
307460
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("button", { onClick:
|
|
307583
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("button", { onClick: t0, type: "button", children: kt("redirect.continueOnDesktop") })
|
|
307461
307584
|
] }) : null
|
|
307462
307585
|
] })
|
|
307463
307586
|
] }) : null;
|
|
@@ -382589,15 +382712,15 @@ function initWatchList({ token: Be }) {
|
|
|
382589
382712
|
}
|
|
382590
382713
|
).then((Le) => Le.data).catch((Le) => Promise.reject(Le.response.data));
|
|
382591
382714
|
}
|
|
382592
|
-
const
|
|
382593
|
-
const { data: Le } = await api.get("/omni/workflow/
|
|
382715
|
+
const getWorkflowConfig = async ({ token: Be }) => {
|
|
382716
|
+
const { data: Le } = await api.get("/omni/workflow/info", {
|
|
382594
382717
|
headers: {
|
|
382595
382718
|
"X-Incode-Hardware-Id": Be
|
|
382596
382719
|
}
|
|
382597
382720
|
});
|
|
382598
382721
|
return Le;
|
|
382599
|
-
},
|
|
382600
|
-
const { data: Le } = await api.get("/omni/workflow/
|
|
382722
|
+
}, getCurrentNode = async ({ token: Be }) => {
|
|
382723
|
+
const { data: Le } = await api.get("/omni/workflow/current/node", {
|
|
382601
382724
|
headers: {
|
|
382602
382725
|
"X-Incode-Hardware-Id": Be
|
|
382603
382726
|
}
|
|
@@ -383234,30 +383357,31 @@ const RedirectToMobile = ({
|
|
|
383234
383357
|
allowReEnrollment: ft,
|
|
383235
383358
|
displayOnboardingResultOnDesktop: ht,
|
|
383236
383359
|
qrPhishingResistance: gt,
|
|
383237
|
-
url: At
|
|
383360
|
+
url: At,
|
|
383361
|
+
showFinishScreen: xt = !0
|
|
383238
383362
|
}) => {
|
|
383239
|
-
const { t:
|
|
383240
|
-
return
|
|
383363
|
+
const { t: yt } = i18n, { nextStep: Ct, currentStep: Et } = useSteps(), { assets: vt } = useAssets({ startSuccess: !0, token: Be });
|
|
383364
|
+
return vt ? /* @__PURE__ */ jsxRuntimeExports.jsxs(Steps, { currentStep: Et, children: [
|
|
383241
383365
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
383242
383366
|
Redirect,
|
|
383243
383367
|
{
|
|
383244
383368
|
session: Be,
|
|
383245
|
-
onSuccess:
|
|
383369
|
+
onSuccess: xt ? Ct : emptyFunc,
|
|
383246
383370
|
showSms: !Le,
|
|
383247
383371
|
skipDesktopRedirect: Ye,
|
|
383248
383372
|
allowSkipRedirect: tt,
|
|
383249
383373
|
allowReEnrollment: ft,
|
|
383250
383374
|
expired: nt,
|
|
383251
|
-
assets:
|
|
383375
|
+
assets: vt,
|
|
383252
383376
|
qrPhishingResistance: gt,
|
|
383253
383377
|
url: At
|
|
383254
383378
|
}
|
|
383255
383379
|
),
|
|
383256
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
383380
|
+
xt && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
383257
383381
|
RedirectedCallFinished,
|
|
383258
383382
|
{
|
|
383259
|
-
title: Be.endScreenTitle ||
|
|
383260
|
-
subtitle: Be.endScreenText ||
|
|
383383
|
+
title: Be.endScreenTitle || yt("support.thanks"),
|
|
383384
|
+
subtitle: Be.endScreenText || yt("support.successFinish"),
|
|
383261
383385
|
displayOnboardingResultOnDesktop: ht,
|
|
383262
383386
|
token: Be.token
|
|
383263
383387
|
}
|
|
@@ -383704,69 +383828,71 @@ const RedirectToMobile = ({
|
|
|
383704
383828
|
redirectUrl: gt,
|
|
383705
383829
|
qrUuid: At,
|
|
383706
383830
|
uuid: xt,
|
|
383707
|
-
showFinishScreen: yt
|
|
383831
|
+
showFinishScreen: yt,
|
|
383832
|
+
skipDesktopRedirect: Ct = emptyFunc
|
|
383708
383833
|
}) => {
|
|
383709
|
-
const [
|
|
383710
|
-
session:
|
|
383711
|
-
setCurrentStep:
|
|
383712
|
-
currentStep:
|
|
383713
|
-
state:
|
|
383714
|
-
workflowConfig:
|
|
383715
|
-
error:
|
|
383716
|
-
setState:
|
|
383834
|
+
const [Et, vt] = useState(!1), {
|
|
383835
|
+
session: kt,
|
|
383836
|
+
setCurrentStep: bt,
|
|
383837
|
+
currentStep: wt,
|
|
383838
|
+
state: It,
|
|
383839
|
+
workflowConfig: Tt,
|
|
383840
|
+
error: Rt,
|
|
383841
|
+
setState: Bt
|
|
383717
383842
|
} = useSession({
|
|
383718
383843
|
workflowId: Be,
|
|
383719
383844
|
token: Le,
|
|
383720
383845
|
wfConfig: nt,
|
|
383721
383846
|
qrUuid: At,
|
|
383722
383847
|
uuid: xt
|
|
383723
|
-
}),
|
|
383724
|
-
let
|
|
383725
|
-
return async (
|
|
383726
|
-
if (
|
|
383727
|
-
|
|
383728
|
-
let
|
|
383848
|
+
}), Pt = useMemo(() => {
|
|
383849
|
+
let Dt = !1;
|
|
383850
|
+
return async (Ot = !0) => {
|
|
383851
|
+
if (Dt) return;
|
|
383852
|
+
Dt = !0;
|
|
383853
|
+
let Lt;
|
|
383729
383854
|
try {
|
|
383730
|
-
|
|
383731
|
-
} catch (
|
|
383732
|
-
|
|
383855
|
+
Ot ? Lt = await processNode({ token: kt == null ? void 0 : kt.token }) : Lt = await getCurrentNode({ token: kt == null ? void 0 : kt.token }), bt(Lt);
|
|
383856
|
+
} catch (Wt) {
|
|
383857
|
+
Bt("ERROR"), console.error(Wt);
|
|
383733
383858
|
} finally {
|
|
383734
|
-
|
|
383859
|
+
Dt = !1;
|
|
383735
383860
|
}
|
|
383736
383861
|
};
|
|
383737
|
-
}, [
|
|
383862
|
+
}, [kt == null ? void 0 : kt.token, Bt, bt]);
|
|
383738
383863
|
return useEffect(() => (document.body.style.overflow = "hidden", document.body.scrollTop = 0, document.documentElement.scrollTop = 0, () => {
|
|
383739
383864
|
document.body.style.overflow = "auto";
|
|
383740
|
-
}), []), !(
|
|
383865
|
+
}), []), !(Tt != null && Tt.qrPhishingResistance) && !wt || It === "LOADING" || !(kt != null && kt.token) || !Tt ? /* @__PURE__ */ jsxRuntimeExports.jsx(Loader$3, {}) : It === "PROCESSING" ? /* @__PURE__ */ jsxRuntimeExports.jsx(Spinner$6, {}) : It === "ERROR" ? Ye(Rt == null ? void 0 : Rt.message) : It === "MANDATORY_CONSENT" ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
383741
383866
|
BiometricConsent,
|
|
383742
383867
|
{
|
|
383743
|
-
token:
|
|
383744
|
-
onError: () =>
|
|
383745
|
-
goNext: () =>
|
|
383746
|
-
regulationType:
|
|
383868
|
+
token: kt,
|
|
383869
|
+
onError: () => Bt("ERROR"),
|
|
383870
|
+
goNext: () => Bt("STEPS"),
|
|
383871
|
+
regulationType: kt == null ? void 0 : kt.regulationType
|
|
383747
383872
|
}
|
|
383748
|
-
) :
|
|
383873
|
+
) : It === "REDIRECT" && !Et ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
383749
383874
|
RedirectToMobile,
|
|
383750
383875
|
{
|
|
383751
|
-
allowSkipRedirect: (
|
|
383876
|
+
allowSkipRedirect: (Tt == null ? void 0 : Tt.addContinueToDesktop) ?? !1,
|
|
383752
383877
|
skipDesktopRedirect: () => {
|
|
383753
|
-
|
|
383878
|
+
vt(!0), Ct();
|
|
383754
383879
|
},
|
|
383755
|
-
session:
|
|
383756
|
-
expired: (
|
|
383880
|
+
session: kt,
|
|
383881
|
+
expired: (Rt == null ? void 0 : Rt.message) === "expiredUUID",
|
|
383757
383882
|
displayOnboardingResultOnDesktop: !1,
|
|
383758
|
-
disableSmsOption: (
|
|
383759
|
-
qrPhishingResistance: (
|
|
383760
|
-
url: gt
|
|
383883
|
+
disableSmsOption: (Tt == null ? void 0 : Tt.disableSmsOption) ?? !1,
|
|
383884
|
+
qrPhishingResistance: (Tt == null ? void 0 : Tt.qrPhishingResistance) ?? !1,
|
|
383885
|
+
url: gt,
|
|
383886
|
+
showFinishScreen: yt
|
|
383761
383887
|
}
|
|
383762
383888
|
) : /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: getModule({
|
|
383763
|
-
currentNode:
|
|
383764
|
-
token:
|
|
383765
|
-
onNext:
|
|
383889
|
+
currentNode: wt,
|
|
383890
|
+
token: kt,
|
|
383891
|
+
onNext: Pt,
|
|
383766
383892
|
onError: Ye,
|
|
383767
383893
|
onSuccess: tt,
|
|
383768
|
-
wfConfig:
|
|
383769
|
-
setState:
|
|
383894
|
+
wfConfig: Tt,
|
|
383895
|
+
setState: Bt,
|
|
383770
383896
|
customModuleCallback: ft,
|
|
383771
383897
|
authHint: ht,
|
|
383772
383898
|
showFinishScreen: yt
|
|
@@ -383785,24 +383911,25 @@ const RedirectToMobile = ({
|
|
|
383785
383911
|
uuid: yt,
|
|
383786
383912
|
redirectUrl: Ct,
|
|
383787
383913
|
clientId: Et,
|
|
383788
|
-
showFinishScreen: vt
|
|
383914
|
+
showFinishScreen: vt,
|
|
383915
|
+
skipDesktopRedirect: kt
|
|
383789
383916
|
}) => {
|
|
383790
|
-
const
|
|
383917
|
+
const bt = createRoot$1(Be), wt = Le ? `${tt}/0` : tt;
|
|
383791
383918
|
setup({
|
|
383792
|
-
apiURL:
|
|
383919
|
+
apiURL: wt,
|
|
383793
383920
|
flowId: Ye,
|
|
383794
383921
|
clientId: Et,
|
|
383795
383922
|
skipInitialization: !0,
|
|
383796
383923
|
options: {}
|
|
383797
383924
|
});
|
|
383798
|
-
const
|
|
383925
|
+
const It = Workflow;
|
|
383799
383926
|
customRender(
|
|
383800
383927
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
383801
383928
|
App$1,
|
|
383802
383929
|
{
|
|
383803
383930
|
disableUnsupportedBrowserScreen: gt == null ? void 0 : gt.disableUnsupportedBrowserScreen,
|
|
383804
383931
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
383805
|
-
|
|
383932
|
+
It,
|
|
383806
383933
|
{
|
|
383807
383934
|
token: Le,
|
|
383808
383935
|
workflowId: Ye,
|
|
@@ -383814,13 +383941,14 @@ const RedirectToMobile = ({
|
|
|
383814
383941
|
redirectUrl: Ct,
|
|
383815
383942
|
qrUuid: xt,
|
|
383816
383943
|
uuid: yt,
|
|
383817
|
-
showFinishScreen: vt
|
|
383944
|
+
showFinishScreen: vt,
|
|
383945
|
+
skipDesktopRedirect: kt
|
|
383818
383946
|
}
|
|
383819
383947
|
)
|
|
383820
383948
|
}
|
|
383821
383949
|
),
|
|
383822
383950
|
Be,
|
|
383823
|
-
|
|
383951
|
+
bt
|
|
383824
383952
|
);
|
|
383825
383953
|
};
|
|
383826
383954
|
function create({
|
|
@@ -384049,7 +384177,8 @@ function create({
|
|
|
384049
384177
|
renderCaptureFace,
|
|
384050
384178
|
renderAuthFace,
|
|
384051
384179
|
executeFlow,
|
|
384052
|
-
executeWorkflow
|
|
384180
|
+
executeWorkflow,
|
|
384181
|
+
getWorkflowConfig
|
|
384053
384182
|
};
|
|
384054
384183
|
}
|
|
384055
384184
|
const poaImage = "data:image/svg+xml,%3csvg%20width='232'%20height='223'%20viewBox='0%200%20232%20223'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='232'%20height='223'%20rx='5'%20fill='%23E0E8EB'/%3e%3cg%20filter='url(%23filter0_d_1867_34445)'%3e%3cpath%20d='M52%2027C52%2024.7909%2053.7909%2023%2056%2023H175C177.209%2023%20179%2024.7909%20179%2027V197C179%20199.209%20177.209%20201%20175%20201H56C53.7909%20201%2052%20199.209%2052%20197V27Z'%20fill='white'/%3e%3c/g%3e%3crect%20x='60'%20y='82'%20width='31'%20height='4'%20rx='1'%20fill='%23E9E9EB'/%3e%3crect%20x='60'%20y='61'%20width='61'%20height='8'%20rx='1'%20fill='%2320263D'/%3e%3crect%20x='60'%20y='96'%20width='31'%20height='4'%20rx='1'%20fill='%23E9E9EB'/%3e%3crect%20x='60'%20y='89'%20width='31'%20height='4'%20rx='1'%20fill='%23E9E9EB'/%3e%3crect%20x='132'%20y='101'%20width='39'%20height='5'%20rx='1'%20fill='%23E9E9EB'/%3e%3crect%20x='132'%20y='111'%20width='39'%20height='4'%20rx='1'%20fill='%23E9E9EB'/%3e%3crect%20x='60'%20y='129'%20width='93'%20height='5'%20rx='1'%20fill='%23E9E9EB'/%3e%3crect%20x='60'%20y='150'%20width='93'%20height='5'%20rx='1'%20fill='%23E9E9EB'/%3e%3crect%20x='60'%20y='143'%20width='104'%20height='5'%20rx='1'%20fill='%23E9E9EB'/%3e%3crect%20x='60'%20y='136'%20width='100'%20height='5'%20rx='1'%20fill='%23E9E9EB'/%3e%3crect%20x='60'%20y='157'%20width='100'%20height='5'%20rx='1'%20fill='%23E9E9EB'/%3e%3crect%20x='132'%20y='94'%20width='39'%20height='5'%20rx='1'%20fill='%23E9E9EB'/%3e%3crect%20x='75'%20y='106'%20width='12'%20height='4'%20rx='1'%20fill='%23E9E9EB'/%3e%3crect%20x='75'%20y='31'%20width='12'%20height='5'%20rx='1'%20fill='%23E9E9EB'/%3e%3crect%20x='160'%20y='31'%20width='11'%20height='5'%20rx='1'%20fill='%23E9E9EB'/%3e%3crect%20x='160'%20y='187'%20width='11'%20height='4'%20rx='1'%20fill='%23E9E9EB'/%3e%3crect%20x='143'%20y='187'%20width='11'%20height='4'%20rx='1'%20fill='%23E9E9EB'/%3e%3crect%20x='92'%20y='187'%20width='36'%20height='4'%20rx='1'%20fill='%23E9E9EB'/%3e%3crect%20x='60'%20y='187'%20width='15'%20height='4'%20rx='1'%20fill='%23E9E9EB'/%3e%3crect%20x='146'%20y='31'%20width='11'%20height='5'%20rx='1'%20fill='%23DBB107'/%3e%3crect%20x='60'%20y='106'%20width='11'%20height='4'%20rx='1'%20fill='%23E9E9EB'/%3e%3crect%20x='60'%20y='31'%20width='11'%20height='5'%20rx='1'%20fill='%23E9E9EB'/%3e%3crect%20x='60'%20y='112'%20width='11'%20height='4'%20rx='1'%20fill='%23E9E9EB'/%3e%3crect%20x='60'%20y='37'%20width='11'%20height='4'%20rx='1'%20fill='%23E9E9EB'/%3e%3crect%20x='75'%20y='112'%20width='12'%20height='4'%20rx='1'%20fill='%23E9E9EB'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M52.0017%2053H179V55H52L52.0017%2053Z'%20fill='%23E9E9EB'/%3e%3cdefs%3e%3cfilter%20id='filter0_d_1867_34445'%20x='43'%20y='19'%20width='145'%20height='196'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='5'/%3e%3cfeGaussianBlur%20stdDeviation='4.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.149145%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_1867_34445'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_1867_34445'%20result='shape'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e", specialCasesFlow = "6374ad13eac341cb71ed30ea", ProofOfAddressContainer = dt.div`
|