@vpdev2/metakyc 1.0.68 → 1.0.69
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/client/crypto.d.ts.map +1 -1
- package/dist/index.cjs +12 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +307 -313
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -268,7 +268,7 @@ class tr {
|
|
|
268
268
|
this.shouldLog("debug") && console.log(`%c[MetaKYC]%c ${t}`, ze.prefix, ze.dim, ...a);
|
|
269
269
|
}
|
|
270
270
|
}
|
|
271
|
-
const Y = new tr(), Xt = "AES-GCM", ir = 256, rr = 12
|
|
271
|
+
const Y = new tr(), Xt = "AES-GCM", ir = 256, rr = 12;
|
|
272
272
|
function Ut(e) {
|
|
273
273
|
const t = new Uint8Array(e);
|
|
274
274
|
let a = "";
|
|
@@ -282,7 +282,7 @@ function Wt(e) {
|
|
|
282
282
|
a[r] = t.charCodeAt(r);
|
|
283
283
|
return a;
|
|
284
284
|
}
|
|
285
|
-
async function
|
|
285
|
+
async function ar() {
|
|
286
286
|
return crypto.subtle.generateKey(
|
|
287
287
|
{ name: "ECDH", namedCurve: "P-256" },
|
|
288
288
|
!1,
|
|
@@ -290,11 +290,11 @@ async function or() {
|
|
|
290
290
|
["deriveKey", "deriveBits"]
|
|
291
291
|
);
|
|
292
292
|
}
|
|
293
|
-
async function
|
|
293
|
+
async function nr(e) {
|
|
294
294
|
const t = await crypto.subtle.exportKey("raw", e);
|
|
295
295
|
return Ut(t);
|
|
296
296
|
}
|
|
297
|
-
async function
|
|
297
|
+
async function or(e) {
|
|
298
298
|
const t = Wt(e);
|
|
299
299
|
return crypto.subtle.importKey(
|
|
300
300
|
"raw",
|
|
@@ -304,27 +304,21 @@ async function lr(e) {
|
|
|
304
304
|
[]
|
|
305
305
|
);
|
|
306
306
|
}
|
|
307
|
-
async function
|
|
308
|
-
const a = await
|
|
307
|
+
async function sr(e, t) {
|
|
308
|
+
const a = await or(t), r = await crypto.subtle.deriveBits(
|
|
309
309
|
{ name: "ECDH", public: a },
|
|
310
310
|
e,
|
|
311
311
|
256
|
|
312
|
-
), n = await crypto.subtle.
|
|
312
|
+
), n = await crypto.subtle.digest("SHA-256", r);
|
|
313
|
+
return crypto.subtle.importKey(
|
|
313
314
|
"raw",
|
|
314
|
-
r,
|
|
315
|
-
"HKDF",
|
|
316
|
-
!1,
|
|
317
|
-
["deriveKey"]
|
|
318
|
-
);
|
|
319
|
-
return crypto.subtle.deriveKey(
|
|
320
|
-
{ name: "HKDF", hash: "SHA-256", salt: nr, info: ar },
|
|
321
315
|
n,
|
|
322
316
|
{ name: Xt, length: ir },
|
|
323
317
|
!1,
|
|
324
318
|
["encrypt", "decrypt"]
|
|
325
319
|
);
|
|
326
320
|
}
|
|
327
|
-
async function
|
|
321
|
+
async function lr(e, t) {
|
|
328
322
|
const a = crypto.getRandomValues(new Uint8Array(rr)), r = new TextEncoder().encode(t), n = await crypto.subtle.encrypt(
|
|
329
323
|
{ name: Xt, iv: a },
|
|
330
324
|
e,
|
|
@@ -335,7 +329,7 @@ async function dr(e, t) {
|
|
|
335
329
|
data: Ut(n)
|
|
336
330
|
};
|
|
337
331
|
}
|
|
338
|
-
async function
|
|
332
|
+
async function cr(e, t) {
|
|
339
333
|
const a = Wt(t.iv), r = Wt(t.data), n = await crypto.subtle.decrypt(
|
|
340
334
|
{ name: Xt, iv: a.buffer },
|
|
341
335
|
e,
|
|
@@ -344,7 +338,7 @@ async function mr(e, t) {
|
|
|
344
338
|
return new TextDecoder().decode(n);
|
|
345
339
|
}
|
|
346
340
|
const ai = 200;
|
|
347
|
-
class
|
|
341
|
+
class dr {
|
|
348
342
|
constructor(t) {
|
|
349
343
|
Re(this, "axiosInstance");
|
|
350
344
|
Re(this, "endpointBuilder");
|
|
@@ -367,7 +361,7 @@ class ur {
|
|
|
367
361
|
const r = (a.method || "").toUpperCase();
|
|
368
362
|
if ((r === "POST" || r === "PUT") && a.data != null) {
|
|
369
363
|
const n = typeof a.data == "string" ? a.data : JSON.stringify(a.data);
|
|
370
|
-
a.data = await
|
|
364
|
+
a.data = await lr(this.config.encryptionKey, n);
|
|
371
365
|
}
|
|
372
366
|
}
|
|
373
367
|
return a;
|
|
@@ -378,7 +372,7 @@ class ur {
|
|
|
378
372
|
var r;
|
|
379
373
|
if (this.isEncryptionActive() && ((r = a.headers) == null ? void 0 : r["x-sdk-encrypted"]) === "1")
|
|
380
374
|
try {
|
|
381
|
-
const n = a.data, o = await
|
|
375
|
+
const n = a.data, o = await cr(this.config.encryptionKey, n);
|
|
382
376
|
a.data = JSON.parse(o);
|
|
383
377
|
} catch {
|
|
384
378
|
Y.debug("Failed to decrypt response — passing through as-is");
|
|
@@ -473,7 +467,7 @@ class ur {
|
|
|
473
467
|
return this.axiosInstance;
|
|
474
468
|
}
|
|
475
469
|
}
|
|
476
|
-
class
|
|
470
|
+
class Cn {
|
|
477
471
|
static async createToken(t) {
|
|
478
472
|
const { baseUrl: a, apiKey: r, secretKey: n, tenantId: o, clientId: l, externalRefId: c, workflowKey: d, email: u, isCompany: g, applicant: p } = t, z = t.enableEncryption !== !1;
|
|
479
473
|
if (!o && !l)
|
|
@@ -492,7 +486,7 @@ class Tn {
|
|
|
492
486
|
workflowKey: d,
|
|
493
487
|
email: u
|
|
494
488
|
};
|
|
495
|
-
o != null && (x.tenantId = o), l && (x.clientId = l), g != null && (x.isCompany = g), p && (x.applicant = p), z && typeof crypto < "u" && crypto.subtle && (S = await
|
|
489
|
+
o != null && (x.tenantId = o), l && (x.clientId = l), g != null && (x.isCompany = g), p && (x.applicant = p), z && typeof crypto < "u" && crypto.subtle && (S = await ar(), x.sdkPublicKey = await nr(S.publicKey));
|
|
496
490
|
const C = (await xi.post(
|
|
497
491
|
`${a.replace(/\/+$/, "")}/api/SdkSession/CreateToken`,
|
|
498
492
|
x,
|
|
@@ -501,13 +495,13 @@ class Tn {
|
|
|
501
495
|
if (!C.success)
|
|
502
496
|
throw new Error(C.error || "Failed to create session token.");
|
|
503
497
|
const K = C.result;
|
|
504
|
-
return S && K.serverPublicKey && K.encSessionId && (K.encryptionKey = await
|
|
498
|
+
return S && K.serverPublicKey && K.encSessionId && (K.encryptionKey = await sr(
|
|
505
499
|
S.privateKey,
|
|
506
500
|
K.serverPublicKey
|
|
507
501
|
)), K;
|
|
508
502
|
}
|
|
509
503
|
}
|
|
510
|
-
class
|
|
504
|
+
class mr {
|
|
511
505
|
constructor(t) {
|
|
512
506
|
this.httpClient = t;
|
|
513
507
|
}
|
|
@@ -637,7 +631,7 @@ class pr {
|
|
|
637
631
|
)).result;
|
|
638
632
|
}
|
|
639
633
|
}
|
|
640
|
-
class
|
|
634
|
+
class ur {
|
|
641
635
|
constructor(t) {
|
|
642
636
|
this.httpClient = t;
|
|
643
637
|
}
|
|
@@ -664,7 +658,7 @@ class gr {
|
|
|
664
658
|
)).result;
|
|
665
659
|
}
|
|
666
660
|
}
|
|
667
|
-
class
|
|
661
|
+
class pr {
|
|
668
662
|
constructor(t) {
|
|
669
663
|
this.httpClient = t;
|
|
670
664
|
}
|
|
@@ -692,7 +686,7 @@ class fr {
|
|
|
692
686
|
await this.httpClient.post("UploadDocument", "ReviewUploadDocument", t);
|
|
693
687
|
}
|
|
694
688
|
}
|
|
695
|
-
class
|
|
689
|
+
class gr {
|
|
696
690
|
constructor(t) {
|
|
697
691
|
this.httpClient = t;
|
|
698
692
|
}
|
|
@@ -718,7 +712,7 @@ class yr {
|
|
|
718
712
|
)).result;
|
|
719
713
|
}
|
|
720
714
|
}
|
|
721
|
-
class
|
|
715
|
+
class fr {
|
|
722
716
|
constructor(t) {
|
|
723
717
|
this.httpClient = t;
|
|
724
718
|
}
|
|
@@ -740,7 +734,7 @@ class hr {
|
|
|
740
734
|
await this.httpClient.get("Applicant", "PassOverview", { applicantId: t });
|
|
741
735
|
}
|
|
742
736
|
}
|
|
743
|
-
class
|
|
737
|
+
class yr {
|
|
744
738
|
constructor(t) {
|
|
745
739
|
this.httpClient = t;
|
|
746
740
|
}
|
|
@@ -775,7 +769,7 @@ class kr {
|
|
|
775
769
|
)).result;
|
|
776
770
|
}
|
|
777
771
|
}
|
|
778
|
-
class
|
|
772
|
+
class hr {
|
|
779
773
|
constructor(t) {
|
|
780
774
|
this.httpClient = t;
|
|
781
775
|
}
|
|
@@ -843,7 +837,7 @@ class vr {
|
|
|
843
837
|
return Y.debug("Sumsub token refresh result:", a), a.result.accessToken;
|
|
844
838
|
}
|
|
845
839
|
}
|
|
846
|
-
class
|
|
840
|
+
class kr {
|
|
847
841
|
constructor(t) {
|
|
848
842
|
this.httpClient = t;
|
|
849
843
|
}
|
|
@@ -879,7 +873,7 @@ class br {
|
|
|
879
873
|
)).result;
|
|
880
874
|
}
|
|
881
875
|
}
|
|
882
|
-
class
|
|
876
|
+
class vr {
|
|
883
877
|
constructor(t) {
|
|
884
878
|
this.httpClient = t;
|
|
885
879
|
}
|
|
@@ -964,7 +958,7 @@ const We = {
|
|
|
964
958
|
textMuted: "#9ca3af"
|
|
965
959
|
}
|
|
966
960
|
}
|
|
967
|
-
},
|
|
961
|
+
}, br = {
|
|
968
962
|
name: "Corporate",
|
|
969
963
|
logo: {
|
|
970
964
|
url: "",
|
|
@@ -997,7 +991,7 @@ const We = {
|
|
|
997
991
|
cardPadding: "1.5rem",
|
|
998
992
|
inputHeight: "2.5rem"
|
|
999
993
|
}
|
|
1000
|
-
},
|
|
994
|
+
}, xr = {
|
|
1001
995
|
name: "Fintech",
|
|
1002
996
|
logo: {
|
|
1003
997
|
url: "",
|
|
@@ -1030,7 +1024,7 @@ const We = {
|
|
|
1030
1024
|
cardPadding: "2rem",
|
|
1031
1025
|
inputHeight: "3rem"
|
|
1032
1026
|
}
|
|
1033
|
-
},
|
|
1027
|
+
}, wr = {
|
|
1034
1028
|
name: "Healthcare",
|
|
1035
1029
|
logo: {
|
|
1036
1030
|
url: "",
|
|
@@ -1072,7 +1066,7 @@ const We = {
|
|
|
1072
1066
|
textSecondary: "#CBD5E1"
|
|
1073
1067
|
}
|
|
1074
1068
|
}
|
|
1075
|
-
},
|
|
1069
|
+
}, Sr = {
|
|
1076
1070
|
name: "Modern",
|
|
1077
1071
|
logo: {
|
|
1078
1072
|
url: "",
|
|
@@ -1105,7 +1099,7 @@ const We = {
|
|
|
1105
1099
|
cardPadding: "2rem",
|
|
1106
1100
|
inputHeight: "3rem"
|
|
1107
1101
|
}
|
|
1108
|
-
},
|
|
1102
|
+
}, Cr = {
|
|
1109
1103
|
name: "Minimal",
|
|
1110
1104
|
logo: {
|
|
1111
1105
|
url: "",
|
|
@@ -1138,18 +1132,18 @@ const We = {
|
|
|
1138
1132
|
cardPadding: "1.25rem",
|
|
1139
1133
|
inputHeight: "2.25rem"
|
|
1140
1134
|
}
|
|
1141
|
-
},
|
|
1135
|
+
}, Nr = {
|
|
1142
1136
|
[$e.Default]: We,
|
|
1143
|
-
[$e.Corporate]:
|
|
1144
|
-
[$e.Fintech]:
|
|
1145
|
-
[$e.Healthcare]:
|
|
1146
|
-
[$e.Modern]:
|
|
1147
|
-
[$e.Minimal]:
|
|
1137
|
+
[$e.Corporate]: br,
|
|
1138
|
+
[$e.Fintech]: xr,
|
|
1139
|
+
[$e.Healthcare]: wr,
|
|
1140
|
+
[$e.Modern]: Sr,
|
|
1141
|
+
[$e.Minimal]: Cr
|
|
1148
1142
|
};
|
|
1149
1143
|
function Nt(e) {
|
|
1150
|
-
return
|
|
1144
|
+
return Nr[e] || We;
|
|
1151
1145
|
}
|
|
1152
|
-
class
|
|
1146
|
+
class Tr {
|
|
1153
1147
|
constructor(t) {
|
|
1154
1148
|
this.httpClient = t;
|
|
1155
1149
|
}
|
|
@@ -1253,7 +1247,7 @@ class Ir {
|
|
|
1253
1247
|
} : r;
|
|
1254
1248
|
}
|
|
1255
1249
|
}
|
|
1256
|
-
class
|
|
1250
|
+
class Rr {
|
|
1257
1251
|
constructor(t) {
|
|
1258
1252
|
this.httpClient = t;
|
|
1259
1253
|
}
|
|
@@ -1270,7 +1264,7 @@ class Ar {
|
|
|
1270
1264
|
}
|
|
1271
1265
|
}
|
|
1272
1266
|
}
|
|
1273
|
-
class
|
|
1267
|
+
class Ir {
|
|
1274
1268
|
constructor() {
|
|
1275
1269
|
Re(this, "listeners", /* @__PURE__ */ new Map());
|
|
1276
1270
|
}
|
|
@@ -1315,9 +1309,9 @@ class zr {
|
|
|
1315
1309
|
this.listeners.delete(t);
|
|
1316
1310
|
}
|
|
1317
1311
|
}
|
|
1318
|
-
class
|
|
1312
|
+
class Ar {
|
|
1319
1313
|
constructor() {
|
|
1320
|
-
Re(this, "events", new
|
|
1314
|
+
Re(this, "events", new Ir());
|
|
1321
1315
|
Re(this, "_applicantId", null);
|
|
1322
1316
|
Re(this, "_progress", null);
|
|
1323
1317
|
Re(this, "_error", null);
|
|
@@ -1455,7 +1449,7 @@ class Lr {
|
|
|
1455
1449
|
this.events.clear();
|
|
1456
1450
|
}
|
|
1457
1451
|
}
|
|
1458
|
-
class
|
|
1452
|
+
class zr {
|
|
1459
1453
|
constructor() {
|
|
1460
1454
|
Re(this, "handlers", /* @__PURE__ */ new Map());
|
|
1461
1455
|
}
|
|
@@ -1496,11 +1490,11 @@ class Er {
|
|
|
1496
1490
|
return r.submitData(a);
|
|
1497
1491
|
}
|
|
1498
1492
|
}
|
|
1499
|
-
class
|
|
1493
|
+
class Lr {
|
|
1500
1494
|
constructor(t, a, r, n, o, l, c, d) {
|
|
1501
1495
|
Re(this, "state");
|
|
1502
1496
|
Re(this, "stepRouter");
|
|
1503
|
-
this.applicantService = t, this.questionnaireService = a, this.uploadDocumentService = r, this.appropriatenessTestService = n, this.overviewService = o, this.riskScoringService = l, this.investorCategorizationService = d, this.state = new
|
|
1497
|
+
this.applicantService = t, this.questionnaireService = a, this.uploadDocumentService = r, this.appropriatenessTestService = n, this.overviewService = o, this.riskScoringService = l, this.investorCategorizationService = d, this.state = new Ar(), this.stepRouter = new zr(), this.registerStepHandlers();
|
|
1504
1498
|
}
|
|
1505
1499
|
/**
|
|
1506
1500
|
* Register all step handlers
|
|
@@ -1650,14 +1644,14 @@ function Si(e, t) {
|
|
|
1650
1644
|
n.src = e, t && (n.id = t), n.async = !0, n.onload = () => a(), n.onerror = () => r(new Error(`Failed to load script: ${e}`)), document.head.appendChild(n);
|
|
1651
1645
|
});
|
|
1652
1646
|
}
|
|
1653
|
-
function
|
|
1647
|
+
function Nn(e) {
|
|
1654
1648
|
return !!document.getElementById(e);
|
|
1655
1649
|
}
|
|
1656
|
-
function
|
|
1650
|
+
function Tn(e) {
|
|
1657
1651
|
const t = document.getElementById(e);
|
|
1658
1652
|
t && t.remove();
|
|
1659
1653
|
}
|
|
1660
|
-
const
|
|
1654
|
+
const Er = "https://static.sumsub.com/idensic/static/sns-websdk-builder.js";
|
|
1661
1655
|
function ot(e, t) {
|
|
1662
1656
|
try {
|
|
1663
1657
|
const a = document.querySelector(".metakyc-sdk") || document.documentElement;
|
|
@@ -1666,7 +1660,7 @@ function ot(e, t) {
|
|
|
1666
1660
|
return t;
|
|
1667
1661
|
}
|
|
1668
1662
|
}
|
|
1669
|
-
function
|
|
1663
|
+
function Dr() {
|
|
1670
1664
|
const e = ot("--metakyc-primary", "#2563eb"), t = ot("--metakyc-primary-hover", "#1d4ed8"), a = ot("--metakyc-background", "#ffffff"), r = ot("--metakyc-surface", "#f9fafb"), n = ot("--metakyc-text-primary", "#111827"), o = ot("--metakyc-text-secondary", "#6b7280"), l = ot("--metakyc-text-muted", "#9ca3af"), c = ot("--metakyc-border", "#e5e7eb");
|
|
1671
1665
|
return `
|
|
1672
1666
|
body, html { font-family: ${ot(
|
|
@@ -1693,7 +1687,7 @@ a { color: ${e}; }
|
|
|
1693
1687
|
a:hover { color: ${t}; }
|
|
1694
1688
|
`.trim();
|
|
1695
1689
|
}
|
|
1696
|
-
class
|
|
1690
|
+
class Pr {
|
|
1697
1691
|
constructor(t) {
|
|
1698
1692
|
Re(this, "sdk", null);
|
|
1699
1693
|
Re(this, "config");
|
|
@@ -1702,7 +1696,7 @@ class jr {
|
|
|
1702
1696
|
this.config = t;
|
|
1703
1697
|
}
|
|
1704
1698
|
async loadSDK() {
|
|
1705
|
-
if (!window.snsWebSdk && (await Si(
|
|
1699
|
+
if (!window.snsWebSdk && (await Si(Er, "sumsub-websdk"), !window.snsWebSdk))
|
|
1706
1700
|
throw new Error("Sumsub Web SDK failed to load from CDN");
|
|
1707
1701
|
}
|
|
1708
1702
|
async initialize(t) {
|
|
@@ -1712,7 +1706,7 @@ class jr {
|
|
|
1712
1706
|
};
|
|
1713
1707
|
if (this.config.applicantEmail && (a.email = this.config.applicantEmail), this.config.applicantPhone && (a.phone = this.config.applicantPhone), this.config.theme && (a.theme = this.config.theme), this.config.customizationName && (a.customizationName = this.config.customizationName), !this.config.customizationName) {
|
|
1714
1708
|
const n = {};
|
|
1715
|
-
this.config.customCss && (n.customCss = this.config.customCss), this.config.customCssStr && (n.customCssStr = this.config.customCssStr), n.customCssStr || (n.customCssStr =
|
|
1709
|
+
this.config.customCss && (n.customCss = this.config.customCss), this.config.customCssStr && (n.customCssStr = this.config.customCssStr), n.customCssStr || (n.customCssStr = Dr()), a.uiConf = n;
|
|
1716
1710
|
}
|
|
1717
1711
|
const r = window.snsWebSdk.init(
|
|
1718
1712
|
this.config.accessToken,
|
|
@@ -1750,7 +1744,7 @@ class jr {
|
|
|
1750
1744
|
this.errorCallback = t;
|
|
1751
1745
|
}
|
|
1752
1746
|
}
|
|
1753
|
-
class
|
|
1747
|
+
class Mr {
|
|
1754
1748
|
constructor(t) {
|
|
1755
1749
|
Re(this, "sdk", null);
|
|
1756
1750
|
Re(this, "config");
|
|
@@ -1816,7 +1810,7 @@ class Fr {
|
|
|
1816
1810
|
this.sdk && (this.sdk.tearDown(), this.sdk = null);
|
|
1817
1811
|
}
|
|
1818
1812
|
}
|
|
1819
|
-
class
|
|
1813
|
+
class jr {
|
|
1820
1814
|
constructor(t) {
|
|
1821
1815
|
Re(this, "sardineContext", null);
|
|
1822
1816
|
Re(this, "config");
|
|
@@ -1967,11 +1961,11 @@ class pt {
|
|
|
1967
1961
|
static createProvider(t, a) {
|
|
1968
1962
|
switch (t) {
|
|
1969
1963
|
case et.Sumsub:
|
|
1970
|
-
return new
|
|
1964
|
+
return new Pr(a);
|
|
1971
1965
|
case et.Onfido:
|
|
1972
|
-
return new
|
|
1966
|
+
return new Mr(a);
|
|
1973
1967
|
case et.SardinAI:
|
|
1974
|
-
return new
|
|
1968
|
+
return new jr(a);
|
|
1975
1969
|
default:
|
|
1976
1970
|
throw new Error(`Unsupported identity provider: ${t}`);
|
|
1977
1971
|
}
|
|
@@ -2015,7 +2009,7 @@ class pt {
|
|
|
2015
2009
|
}
|
|
2016
2010
|
}
|
|
2017
2011
|
}
|
|
2018
|
-
class
|
|
2012
|
+
class Fr {
|
|
2019
2013
|
constructor() {
|
|
2020
2014
|
Re(this, "currentTheme", We);
|
|
2021
2015
|
Re(this, "customStyleElement", null);
|
|
@@ -2189,7 +2183,7 @@ ${Object.entries(n).filter(([, d]) => !!d).map(([d, u]) => ` --metakyc-${d}: ${
|
|
|
2189
2183
|
return t.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
2190
2184
|
}
|
|
2191
2185
|
}
|
|
2192
|
-
const
|
|
2186
|
+
const Or = {
|
|
2193
2187
|
common: {
|
|
2194
2188
|
next: "Next",
|
|
2195
2189
|
previous: "Previous",
|
|
@@ -2469,7 +2463,7 @@ const Vr = {
|
|
|
2469
2463
|
logo: {
|
|
2470
2464
|
companyLogo: "Company Logo"
|
|
2471
2465
|
}
|
|
2472
|
-
},
|
|
2466
|
+
}, Br = {
|
|
2473
2467
|
common: {
|
|
2474
2468
|
next: "Weiter",
|
|
2475
2469
|
previous: "Zurück",
|
|
@@ -2749,7 +2743,7 @@ const Vr = {
|
|
|
2749
2743
|
logo: {
|
|
2750
2744
|
companyLogo: "Firmenlogo"
|
|
2751
2745
|
}
|
|
2752
|
-
},
|
|
2746
|
+
}, Vr = {
|
|
2753
2747
|
common: {
|
|
2754
2748
|
next: "Suivant",
|
|
2755
2749
|
previous: "Précédent",
|
|
@@ -3029,7 +3023,7 @@ const Vr = {
|
|
|
3029
3023
|
logo: {
|
|
3030
3024
|
companyLogo: "Logo de l'entreprise"
|
|
3031
3025
|
}
|
|
3032
|
-
},
|
|
3026
|
+
}, qr = {
|
|
3033
3027
|
common: {
|
|
3034
3028
|
next: "Siguiente",
|
|
3035
3029
|
previous: "Anterior",
|
|
@@ -3309,7 +3303,7 @@ const Vr = {
|
|
|
3309
3303
|
logo: {
|
|
3310
3304
|
companyLogo: "Logo de la empresa"
|
|
3311
3305
|
}
|
|
3312
|
-
},
|
|
3306
|
+
}, Kr = {
|
|
3313
3307
|
common: {
|
|
3314
3308
|
next: "Avanti",
|
|
3315
3309
|
previous: "Precedente",
|
|
@@ -3589,7 +3583,7 @@ const Vr = {
|
|
|
3589
3583
|
logo: {
|
|
3590
3584
|
companyLogo: "Logo aziendale"
|
|
3591
3585
|
}
|
|
3592
|
-
},
|
|
3586
|
+
}, Ur = {
|
|
3593
3587
|
common: {
|
|
3594
3588
|
next: "Próximo",
|
|
3595
3589
|
previous: "Anterior",
|
|
@@ -3869,7 +3863,7 @@ const Vr = {
|
|
|
3869
3863
|
logo: {
|
|
3870
3864
|
companyLogo: "Logo da Empresa"
|
|
3871
3865
|
}
|
|
3872
|
-
},
|
|
3866
|
+
}, Wr = {
|
|
3873
3867
|
common: {
|
|
3874
3868
|
next: "Volgende",
|
|
3875
3869
|
previous: "Vorige",
|
|
@@ -4149,7 +4143,7 @@ const Vr = {
|
|
|
4149
4143
|
logo: {
|
|
4150
4144
|
companyLogo: "Bedrijfslogo"
|
|
4151
4145
|
}
|
|
4152
|
-
},
|
|
4146
|
+
}, $r = {
|
|
4153
4147
|
common: {
|
|
4154
4148
|
next: "Dalej",
|
|
4155
4149
|
previous: "Wstecz",
|
|
@@ -4429,7 +4423,7 @@ const Vr = {
|
|
|
4429
4423
|
logo: {
|
|
4430
4424
|
companyLogo: "Logo Firmy"
|
|
4431
4425
|
}
|
|
4432
|
-
},
|
|
4426
|
+
}, Yr = {
|
|
4433
4427
|
common: {
|
|
4434
4428
|
next: "Далее",
|
|
4435
4429
|
previous: "Назад",
|
|
@@ -4709,7 +4703,7 @@ const Vr = {
|
|
|
4709
4703
|
logo: {
|
|
4710
4704
|
companyLogo: "Логотип Компании"
|
|
4711
4705
|
}
|
|
4712
|
-
},
|
|
4706
|
+
}, Hr = {
|
|
4713
4707
|
common: {
|
|
4714
4708
|
next: "下一步",
|
|
4715
4709
|
previous: "上一步",
|
|
@@ -4989,7 +4983,7 @@ const Vr = {
|
|
|
4989
4983
|
logo: {
|
|
4990
4984
|
companyLogo: "公司标志"
|
|
4991
4985
|
}
|
|
4992
|
-
},
|
|
4986
|
+
}, _r = {
|
|
4993
4987
|
common: {
|
|
4994
4988
|
next: "次へ",
|
|
4995
4989
|
previous: "前へ",
|
|
@@ -5269,7 +5263,7 @@ const Vr = {
|
|
|
5269
5263
|
logo: {
|
|
5270
5264
|
companyLogo: "会社ロゴ"
|
|
5271
5265
|
}
|
|
5272
|
-
},
|
|
5266
|
+
}, Gr = {
|
|
5273
5267
|
common: {
|
|
5274
5268
|
next: "التالي",
|
|
5275
5269
|
previous: "السابق",
|
|
@@ -5549,7 +5543,7 @@ const Vr = {
|
|
|
5549
5543
|
logo: {
|
|
5550
5544
|
companyLogo: "شعار الشركة"
|
|
5551
5545
|
}
|
|
5552
|
-
},
|
|
5546
|
+
}, Qr = {
|
|
5553
5547
|
common: {
|
|
5554
5548
|
next: "İleri",
|
|
5555
5549
|
previous: "Geri",
|
|
@@ -5829,7 +5823,7 @@ const Vr = {
|
|
|
5829
5823
|
logo: {
|
|
5830
5824
|
companyLogo: "Şirket Logosu"
|
|
5831
5825
|
}
|
|
5832
|
-
},
|
|
5826
|
+
}, Xr = {
|
|
5833
5827
|
common: {
|
|
5834
5828
|
next: "Nästa",
|
|
5835
5829
|
previous: "Föregående",
|
|
@@ -6109,7 +6103,7 @@ const Vr = {
|
|
|
6109
6103
|
logo: {
|
|
6110
6104
|
companyLogo: "Företagslogotyp"
|
|
6111
6105
|
}
|
|
6112
|
-
},
|
|
6106
|
+
}, Zr = {
|
|
6113
6107
|
common: {
|
|
6114
6108
|
next: "Næste",
|
|
6115
6109
|
previous: "Forrige",
|
|
@@ -6389,7 +6383,7 @@ const Vr = {
|
|
|
6389
6383
|
logo: {
|
|
6390
6384
|
companyLogo: "Virksomhedslogo"
|
|
6391
6385
|
}
|
|
6392
|
-
},
|
|
6386
|
+
}, Jr = {
|
|
6393
6387
|
common: {
|
|
6394
6388
|
next: "Seuraava",
|
|
6395
6389
|
previous: "Edellinen",
|
|
@@ -6669,7 +6663,7 @@ const Vr = {
|
|
|
6669
6663
|
logo: {
|
|
6670
6664
|
companyLogo: "Yrityksen logo"
|
|
6671
6665
|
}
|
|
6672
|
-
},
|
|
6666
|
+
}, ea = {
|
|
6673
6667
|
common: {
|
|
6674
6668
|
next: "Neste",
|
|
6675
6669
|
previous: "Forrige",
|
|
@@ -6950,23 +6944,23 @@ const Vr = {
|
|
|
6950
6944
|
companyLogo: "Firmalogo"
|
|
6951
6945
|
}
|
|
6952
6946
|
}, $t = {
|
|
6953
|
-
en:
|
|
6954
|
-
de:
|
|
6955
|
-
fr:
|
|
6956
|
-
es:
|
|
6957
|
-
it:
|
|
6958
|
-
pt:
|
|
6959
|
-
nl:
|
|
6960
|
-
pl:
|
|
6961
|
-
ru:
|
|
6962
|
-
zh:
|
|
6963
|
-
ja:
|
|
6964
|
-
ar:
|
|
6965
|
-
tr:
|
|
6966
|
-
sv:
|
|
6967
|
-
da:
|
|
6968
|
-
fi:
|
|
6969
|
-
no:
|
|
6947
|
+
en: Or,
|
|
6948
|
+
de: Br,
|
|
6949
|
+
fr: Vr,
|
|
6950
|
+
es: qr,
|
|
6951
|
+
it: Kr,
|
|
6952
|
+
pt: Ur,
|
|
6953
|
+
nl: Wr,
|
|
6954
|
+
pl: $r,
|
|
6955
|
+
ru: Yr,
|
|
6956
|
+
zh: Hr,
|
|
6957
|
+
ja: _r,
|
|
6958
|
+
ar: Gr,
|
|
6959
|
+
tr: Qr,
|
|
6960
|
+
sv: Xr,
|
|
6961
|
+
da: Zr,
|
|
6962
|
+
fi: Jr,
|
|
6963
|
+
no: ea
|
|
6970
6964
|
};
|
|
6971
6965
|
function ni(e, t) {
|
|
6972
6966
|
const a = t.split(".");
|
|
@@ -6977,7 +6971,7 @@ function ni(e, t) {
|
|
|
6977
6971
|
}
|
|
6978
6972
|
return typeof r == "string" ? r : void 0;
|
|
6979
6973
|
}
|
|
6980
|
-
function
|
|
6974
|
+
function ta(e, t) {
|
|
6981
6975
|
return t ? e.replace(/\{\{(\w+)\}\}/g, (a, r) => {
|
|
6982
6976
|
const n = t[r];
|
|
6983
6977
|
return n != null ? String(n) : `{{${r}}}`;
|
|
@@ -7006,19 +7000,19 @@ function Ci(e) {
|
|
|
7006
7000
|
const t = $t.en;
|
|
7007
7001
|
return (a, r) => {
|
|
7008
7002
|
const n = !a.includes("."), o = ni(e, a) ?? (n ? si(e, a) : void 0) ?? ni(t, a) ?? (n ? si(t, a) : void 0) ?? a;
|
|
7009
|
-
return
|
|
7003
|
+
return ta(o, r);
|
|
7010
7004
|
};
|
|
7011
7005
|
}
|
|
7012
|
-
const
|
|
7006
|
+
const ia = /^t\(['"](.+?)['"]\)$/, li = "$t:";
|
|
7013
7007
|
function oe(e, t) {
|
|
7014
7008
|
if (!e) return "";
|
|
7015
7009
|
const a = e.trim();
|
|
7016
7010
|
if (a.startsWith(li))
|
|
7017
7011
|
return t(a.slice(li.length));
|
|
7018
|
-
const r =
|
|
7012
|
+
const r = ia.exec(a);
|
|
7019
7013
|
return r ? t(r[1]) : e;
|
|
7020
7014
|
}
|
|
7021
|
-
const Ht = "1.0.68", Ni = Gt(null), ci = `metakyc-translations-${Ht}-`,
|
|
7015
|
+
const Ht = "1.0.68", Ni = Gt(null), ci = `metakyc-translations-${Ht}-`, ra = ({
|
|
7022
7016
|
locale: e,
|
|
7023
7017
|
fetchTranslations: t,
|
|
7024
7018
|
children: a
|
|
@@ -7070,22 +7064,22 @@ function je() {
|
|
|
7070
7064
|
}
|
|
7071
7065
|
return e;
|
|
7072
7066
|
}
|
|
7073
|
-
const Ti = Gt(null), oa = '.metakyc-sdk .pointer-events-none{pointer-events:none}.metakyc-sdk .visible{visibility:visible}.metakyc-sdk .static{position:static}.metakyc-sdk .fixed{position:fixed}.metakyc-sdk .absolute{position:absolute}.metakyc-sdk .relative{position:relative}.metakyc-sdk .inset-y-0{top:0;bottom:0}.metakyc-sdk .left-0{left:0}.metakyc-sdk .right-0{right:0}.metakyc-sdk .right-3{right:.75rem}.metakyc-sdk .top-1\\/2{top:50%}.metakyc-sdk .mx-6{margin-left:1.5rem;margin-right:1.5rem}.metakyc-sdk .mx-auto{margin-left:auto;margin-right:auto}.metakyc-sdk .my-8{margin-top:2rem;margin-bottom:2rem}.metakyc-sdk .-ml-1{margin-left:-.25rem}.metakyc-sdk .mb-0\\.5{margin-bottom:.125rem}.metakyc-sdk .mb-1{margin-bottom:.25rem}.metakyc-sdk .mb-2{margin-bottom:.5rem}.metakyc-sdk .mb-3{margin-bottom:.75rem}.metakyc-sdk .mb-4{margin-bottom:1rem}.metakyc-sdk .mb-6{margin-bottom:1.5rem}.metakyc-sdk .ml-0\\.5{margin-left:.125rem}.metakyc-sdk .ml-1{margin-left:.25rem}.metakyc-sdk .ml-3{margin-left:.75rem}.metakyc-sdk .mr-2{margin-right:.5rem}.metakyc-sdk .mr-3{margin-right:.75rem}.metakyc-sdk .mt-0\\.5{margin-top:.125rem}.metakyc-sdk .mt-1{margin-top:.25rem}.metakyc-sdk .mt-2{margin-top:.5rem}.metakyc-sdk .mt-3{margin-top:.75rem}.metakyc-sdk .mt-4{margin-top:1rem}.metakyc-sdk .mt-6{margin-top:1.5rem}.metakyc-sdk .block{display:block}.metakyc-sdk .inline-block{display:inline-block}.metakyc-sdk .inline{display:inline}.metakyc-sdk .flex{display:flex}.metakyc-sdk .inline-flex{display:inline-flex}.metakyc-sdk .grid{display:grid}.metakyc-sdk .hidden{display:none}.metakyc-sdk .h-12{height:3rem}.metakyc-sdk .h-24{height:6rem}.metakyc-sdk .h-4{height:1rem}.metakyc-sdk .h-6{height:1.5rem}.metakyc-sdk .h-8{height:2rem}.metakyc-sdk .h-full{height:100%}.metakyc-sdk .max-h-52{max-height:13rem}.metakyc-sdk .min-h-\\[400px\\]{min-height:400px}.metakyc-sdk .w-12{width:3rem}.metakyc-sdk .w-20{width:5rem}.metakyc-sdk .w-24{width:6rem}.metakyc-sdk .w-4{width:1rem}.metakyc-sdk .w-6{width:1.5rem}.metakyc-sdk .w-8{width:2rem}.metakyc-sdk .w-full{width:100%}.metakyc-sdk .max-w-md{max-width:28rem}.metakyc-sdk .flex-1{flex:1 1 0%}.metakyc-sdk .flex-shrink-0{flex-shrink:0}.metakyc-sdk .-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.metakyc-sdk .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(360deg)}}.metakyc-sdk .animate-spin{animation:spin 1s linear infinite}.metakyc-sdk .cursor-not-allowed{cursor:not-allowed}.metakyc-sdk .cursor-pointer{cursor:pointer}.metakyc-sdk .resize{resize:both}.metakyc-sdk .list-inside{list-style-position:inside}.metakyc-sdk .list-disc{list-style-type:disc}.metakyc-sdk .grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.metakyc-sdk .grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.metakyc-sdk .flex-col{flex-direction:column}.metakyc-sdk .flex-wrap{flex-wrap:wrap}.metakyc-sdk .items-start{align-items:flex-start}.metakyc-sdk .items-center{align-items:center}.metakyc-sdk .justify-center{justify-content:center}.metakyc-sdk .justify-between{justify-content:space-between}.metakyc-sdk .gap-1{gap:.25rem}.metakyc-sdk .gap-1\\.5{gap:.375rem}.metakyc-sdk .gap-2{gap:.5rem}.metakyc-sdk .gap-4{gap:1rem}.metakyc-sdk :is(.space-x-3>:not([hidden])~:not([hidden])){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.metakyc-sdk :is(.space-y-1>:not([hidden])~:not([hidden])){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.metakyc-sdk :is(.space-y-1\\.5>:not([hidden])~:not([hidden])){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.metakyc-sdk :is(.space-y-2>:not([hidden])~:not([hidden])){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.metakyc-sdk :is(.space-y-4>:not([hidden])~:not([hidden])){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.metakyc-sdk :is(.space-y-6>:not([hidden])~:not([hidden])){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.metakyc-sdk :is(.space-y-8>:not([hidden])~:not([hidden])){--tw-space-y-reverse: 0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.metakyc-sdk .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.metakyc-sdk .rounded{border-radius:.25rem}.metakyc-sdk .rounded-full{border-radius:9999px}.metakyc-sdk .rounded-lg{border-radius:.5rem}.metakyc-sdk .rounded-xl{border-radius:.75rem}.metakyc-sdk .border{border-width:1px}.metakyc-sdk .border-0{border-width:0px}.metakyc-sdk .border-2{border-width:2px}.metakyc-sdk .border-b{border-bottom-width:1px}.metakyc-sdk .border-t{border-top-width:1px}.metakyc-sdk .border-danger-500{border-color:var(--metakyc-danger, #EF4444)}.metakyc-sdk .p-3{padding:.75rem}.metakyc-sdk .p-4{padding:1rem}.metakyc-sdk .px-2{padding-left:.5rem;padding-right:.5rem}.metakyc-sdk .px-2\\.5{padding-left:.625rem;padding-right:.625rem}.metakyc-sdk .px-3{padding-left:.75rem;padding-right:.75rem}.metakyc-sdk .px-4{padding-left:1rem;padding-right:1rem}.metakyc-sdk .px-6{padding-left:1.5rem;padding-right:1.5rem}.metakyc-sdk .py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.metakyc-sdk .py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.metakyc-sdk .py-12{padding-top:3rem;padding-bottom:3rem}.metakyc-sdk .py-2{padding-top:.5rem;padding-bottom:.5rem}.metakyc-sdk .py-3{padding-top:.75rem;padding-bottom:.75rem}.metakyc-sdk .py-4{padding-top:1rem;padding-bottom:1rem}.metakyc-sdk .py-8{padding-top:2rem;padding-bottom:2rem}.metakyc-sdk .pb-4{padding-bottom:1rem}.metakyc-sdk .pl-10{padding-left:2.5rem}.metakyc-sdk .pl-3{padding-left:.75rem}.metakyc-sdk .pr-10{padding-right:2.5rem}.metakyc-sdk .pr-3{padding-right:.75rem}.metakyc-sdk .pr-6{padding-right:1.5rem}.metakyc-sdk .pt-6{padding-top:1.5rem}.metakyc-sdk .text-left{text-align:left}.metakyc-sdk .text-center{text-align:center}.metakyc-sdk .text-2xl{font-size:1.5rem;line-height:2rem}.metakyc-sdk .text-3xl{font-size:1.875rem;line-height:2.25rem}.metakyc-sdk .text-5xl{font-size:3rem;line-height:1}.metakyc-sdk .text-base{font-size:1rem;line-height:1.5rem}.metakyc-sdk .text-lg{font-size:1.125rem;line-height:1.75rem}.metakyc-sdk .text-sm{font-size:.875rem;line-height:1.25rem}.metakyc-sdk .text-xl{font-size:1.25rem;line-height:1.75rem}.metakyc-sdk .text-xs{font-size:.75rem;line-height:1rem}.metakyc-sdk .font-bold{font-weight:700}.metakyc-sdk .font-medium{font-weight:500}.metakyc-sdk .font-semibold{font-weight:600}.metakyc-sdk .uppercase{text-transform:uppercase}.metakyc-sdk .lowercase{text-transform:lowercase}.metakyc-sdk .italic{font-style:italic}.metakyc-sdk .tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.metakyc-sdk .leading-6{line-height:1.5rem}.metakyc-sdk .text-danger-500{color:var(--metakyc-danger, #EF4444)}.metakyc-sdk .text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.metakyc-sdk .text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.metakyc-sdk .text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.metakyc-sdk .text-primary,.metakyc-sdk .text-primary-500{color:var(--metakyc-primary, #3B82F6)}.metakyc-sdk .text-secondary{color:var(--metakyc-secondary, #64748b)}.metakyc-sdk .underline{text-decoration-line:underline}.metakyc-sdk .opacity-25{opacity:.25}.metakyc-sdk .opacity-50{opacity:.5}.metakyc-sdk .opacity-60{opacity:.6}.metakyc-sdk .opacity-75{opacity:.75}.metakyc-sdk .shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.metakyc-sdk .outline{outline-style:solid}.metakyc-sdk .ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.metakyc-sdk .blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.metakyc-sdk .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.metakyc-sdk .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.metakyc-sdk .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.metakyc-sdk .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.metakyc-sdk .transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.metakyc-sdk .duration-200{transition-duration:.2s}.metakyc-sdk .grid{display:grid!important}.metakyc-sdk .flex{display:flex!important}.metakyc-sdk .inline-flex{display:inline-flex!important}.metakyc-sdk .hidden{display:none!important}.metakyc-sdk .block{display:block!important}.metakyc-sdk .grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}.metakyc-sdk .grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.metakyc-sdk .grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.metakyc-sdk .grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}.metakyc-sdk .col-span-1{grid-column:span 1 / span 1!important}.metakyc-sdk .col-span-2{grid-column:span 2 / span 2!important}.metakyc-sdk .col-span-3{grid-column:span 3 / span 3!important}.metakyc-sdk .col-span-4{grid-column:span 4 / span 4!important}.metakyc-sdk .gap-1{gap:.25rem!important}.metakyc-sdk .gap-2{gap:.5rem!important}.metakyc-sdk .gap-3{gap:.75rem!important}.metakyc-sdk .gap-4{gap:1rem!important}.metakyc-sdk .gap-6{gap:1.5rem!important}.metakyc-sdk .gap-8{gap:2rem!important}.metakyc-sdk .flex-col{flex-direction:column!important}.metakyc-sdk .flex-row{flex-direction:row!important}.metakyc-sdk .flex-wrap{flex-wrap:wrap!important}.metakyc-sdk .flex-1{flex:1 1 0%!important}.metakyc-sdk .flex-shrink-0{flex-shrink:0!important}.metakyc-sdk .items-center{align-items:center!important}.metakyc-sdk .items-start{align-items:flex-start!important}.metakyc-sdk .items-end{align-items:flex-end!important}.metakyc-sdk .justify-between{justify-content:space-between!important}.metakyc-sdk .justify-center{justify-content:center!important}.metakyc-sdk .justify-end{justify-content:flex-end!important}.metakyc-sdk .justify-start{justify-content:flex-start!important}.metakyc-sdk .space-y-1>*+*{margin-top:.25rem!important}.metakyc-sdk .space-y-1\\.5>*+*{margin-top:.375rem!important}.metakyc-sdk .space-y-2>*+*{margin-top:.5rem!important}.metakyc-sdk .space-y-3>*+*{margin-top:.75rem!important}.metakyc-sdk .space-y-4>*+*{margin-top:1rem!important}.metakyc-sdk .space-y-6>*+*{margin-top:1.5rem!important}.metakyc-sdk .w-full{width:100%!important}.metakyc-sdk .relative{position:relative!important}.metakyc-sdk .absolute{position:absolute!important}.metakyc-sdk .overflow-hidden{overflow:hidden!important}.metakyc-sdk .overflow-auto{overflow:auto!important}.metakyc-sdk .overflow-x-auto{overflow-x:auto!important}@media(min-width:768px){.metakyc-sdk .md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.metakyc-sdk .md\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}}.metakyc-sdk .metakyc-form-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:1rem!important}@media(max-width:767px){.metakyc-sdk .metakyc-form-grid{grid-template-columns:1fr!important}.metakyc-sdk .metakyc-form-grid>*{grid-column:span 1 / span 1!important}.metakyc-sdk .metakyc-grid-2{grid-template-columns:1fr!important}}@media(max-width:767px){.metakyc-sdk .metakyc-card-content,.metakyc-sdk .metakyc-card-header,.metakyc-sdk .metakyc-card-footer,.metakyc-sdk .metakyc-progress-wrapper{padding-left:12px!important;padding-right:12px!important}.metakyc-sdk .metakyc-form-grid{gap:.75rem!important}}.metakyc-sdk *,.metakyc-sdk *:before,.metakyc-sdk *:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:var(--metakyc-border, #e5e7eb)}.metakyc-sdk{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4}.metakyc-sdk img,.metakyc-sdk video{max-width:100%;height:auto}.metakyc-sdk h1,.metakyc-sdk h2,.metakyc-sdk h3,.metakyc-sdk h4,.metakyc-sdk h5,.metakyc-sdk h6,.metakyc-sdk p{margin:0}.metakyc-sdk ol,.metakyc-sdk ul{list-style:none;margin:0;padding:0}.metakyc-sdk button,.metakyc-sdk input,.metakyc-sdk optgroup,.metakyc-sdk select,.metakyc-sdk textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}.metakyc-sdk button,.metakyc-sdk [role=button]{cursor:pointer}.metakyc-sdk a{color:inherit;text-decoration:inherit}.metakyc-sdk input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=range]),.metakyc-sdk select,.metakyc-sdk textarea,.metakyc-sdk .metakyc-searchable-select-trigger,.metakyc-sdk .metakyc-multiselect-trigger{background-color:var(--metakyc-input-bg, var(--metakyc-background, #ffffff))!important;color:var(--metakyc-input-text, var(--metakyc-text-primary, #111827))!important;border-color:var(--metakyc-input-border, var(--metakyc-border, #d1d5db))!important}.metakyc-sdk input::-moz-placeholder,.metakyc-sdk textarea::-moz-placeholder{color:var(--metakyc-input-placeholder, var(--metakyc-text-muted, #9ca3af))!important;opacity:1!important}.metakyc-sdk input::placeholder,.metakyc-sdk textarea::placeholder{color:var(--metakyc-input-placeholder, var(--metakyc-text-muted, #9ca3af))!important;opacity:1!important}.metakyc-sdk input:not([type=checkbox]):not([type=radio]):focus,.metakyc-sdk select:focus,.metakyc-sdk textarea:focus{outline:none!important;border-color:var(--metakyc-input-border-focus, var(--metakyc-primary, #2563eb))!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--metakyc-input-border-focus, var(--metakyc-primary, #2563eb)) 20%,transparent)!important}.metakyc-sdk input[type=checkbox],.metakyc-sdk input[type=radio]{appearance:none!important;-webkit-appearance:none!important;-moz-appearance:none!important;width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;max-width:16px!important;max-height:16px!important;flex-shrink:0!important;cursor:pointer!important;background-color:var(--metakyc-input-bg, var(--metakyc-background, #ffffff))!important;border:1.5px solid var(--metakyc-input-border, var(--metakyc-border, #d1d5db))!important;position:relative!important;transition:background-color .15s,border-color .15s!important;vertical-align:middle!important;display:inline-block!important;padding:0!important;margin:0!important;color-scheme:light!important}.metakyc-sdk input[type=checkbox]{border-radius:4px!important}.metakyc-sdk input[type=radio]{border-radius:50%!important}.metakyc-sdk input[type=checkbox]:checked,.metakyc-sdk input[type=radio]:checked{background-color:var(--metakyc-primary, #2563eb)!important;border-color:var(--metakyc-primary, #2563eb)!important}.metakyc-sdk input[type=checkbox]:checked:after{content:""!important;display:block!important;position:absolute!important;left:4px!important;top:1px!important;width:5px!important;height:9px!important;border:2px solid #ffffff!important;border-top:none!important;border-left:none!important;transform:rotate(45deg)!important}.metakyc-sdk input[type=radio]:checked:after{content:""!important;display:block!important;position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:6px!important;height:6px!important;border-radius:50%!important;background:#fff!important}.metakyc-sdk input[type=checkbox]:focus,.metakyc-sdk input[type=radio]:focus{outline:none!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--metakyc-primary, #2563eb) 30%,transparent)!important}.metakyc-searchable-select-dropdown,.metakyc-multiselect-dropdown{background-color:var(--metakyc-input-bg, var(--metakyc-background, #ffffff))!important;border-color:var(--metakyc-input-border, var(--metakyc-border, #d1d5db))!important;color:var(--metakyc-input-text, var(--metakyc-text-primary, #111827))!important}.metakyc-searchable-select-dropdown input,.metakyc-multiselect-dropdown input{background-color:var(--metakyc-input-bg, var(--metakyc-background, #ffffff))!important;color:var(--metakyc-input-text, var(--metakyc-text-primary, #111827))!important;border-color:var(--metakyc-input-border, var(--metakyc-border, #d1d5db))!important}.metakyc-searchable-select-dropdown input::-moz-placeholder,.metakyc-multiselect-dropdown input::-moz-placeholder{color:var(--metakyc-input-placeholder, var(--metakyc-text-muted, #9ca3af))!important;opacity:1!important}.metakyc-searchable-select-dropdown input::placeholder,.metakyc-multiselect-dropdown input::placeholder{color:var(--metakyc-input-placeholder, var(--metakyc-text-muted, #9ca3af))!important;opacity:1!important}.metakyc-searchable-select-dropdown input:focus,.metakyc-multiselect-dropdown input:focus{outline:none!important;background-color:var(--metakyc-input-bg, var(--metakyc-background, #ffffff))!important;color:var(--metakyc-input-text, var(--metakyc-text-primary, #111827))!important;border-color:var(--metakyc-input-border-focus, var(--metakyc-primary, #2563eb))!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--metakyc-input-border-focus, var(--metakyc-primary, #2563eb)) 20%,transparent)!important}.metakyc-searchable-select-dropdown li:hover,.metakyc-multiselect-dropdown li:hover{background-color:var(--metakyc-surface, var(--metakyc-background, #f9fafb))!important}.metakyc-sdk .metakyc-help-btn{color:var(--metakyc-primary, #2563eb)!important;border-color:var(--metakyc-primary, #2563eb)!important;background:transparent!important;position:relative!important;z-index:2!important}.metakyc-sdk .metakyc-overview-step-item,.metakyc-sdk .metakyc-overview-step-item *,.metakyc-sdk .metakyc-step-content,.metakyc-sdk .metakyc-step-content *,.metakyc-sdk .metakyc-step-title,.metakyc-sdk .metakyc-step-title *,.metakyc-sdk .metakyc-step-icon,.metakyc-sdk .metakyc-step-icon *,.metakyc-sdk .metakyc-step-description,.metakyc-sdk .metakyc-step-description *{border-top-width:0!important;border-bottom-width:0!important;border-left-width:0!important;border-right-width:0!important;border-top-style:none!important;border-bottom-style:none!important;border-left-style:none!important;border-right-style:none!important;border-top-color:transparent!important;border-bottom-color:transparent!important;border-left-color:transparent!important;border-right-color:transparent!important;border:0!important;box-shadow:none!important;outline:none!important;outline-width:0!important;outline-style:none!important;text-decoration:none!important;text-decoration-line:none!important}.metakyc-sdk .metakyc-overview-step-item:before,.metakyc-sdk .metakyc-overview-step-item:after,.metakyc-sdk .metakyc-overview-step-item *:before,.metakyc-sdk .metakyc-overview-step-item *:after,.metakyc-sdk .metakyc-step-content:before,.metakyc-sdk .metakyc-step-content:after,.metakyc-sdk .metakyc-step-content *:before,.metakyc-sdk .metakyc-step-content *:after,.metakyc-sdk .metakyc-step-title:before,.metakyc-sdk .metakyc-step-title:after,.metakyc-sdk .metakyc-step-description:before,.metakyc-sdk .metakyc-step-description:after{content:none!important;display:none!important;visibility:hidden!important;border:none!important;box-shadow:none!important;outline:none!important;background:none!important;height:0!important;width:0!important}.metakyc-sdk .metakyc-overview-step-item{border-width:0!important;border-style:none!important;border:0!important;box-shadow:none!important;outline:none!important}.metakyc-sdk .metakyc-step-content{border-width:0!important;border-style:none!important;border:0!important;padding-top:0!important;margin-top:0!important;box-shadow:none!important;outline:none!important}.metakyc-sdk .metakyc-step-title{border-width:0!important;border-style:none!important;border:0!important;padding-top:0!important;margin-top:0!important;box-shadow:none!important;outline:none!important;text-decoration:none!important}.metakyc-sdk hr,.metakyc-sdk .metakyc-overview-step-item hr,.metakyc-sdk .metakyc-overview-step-item * hr,.metakyc-sdk .metakyc-step-content hr,.metakyc-sdk .metakyc-step-content * hr{display:block!important;height:0!important;border:0!important;border-top:1px solid var(--metakyc-primary, #2563eb)!important;opacity:.25!important;margin:1rem 0!important;overflow:visible!important}.metakyc-sdk{background-color:var(--metakyc-background, #ffffff)!important;color:var(--metakyc-text-primary, #111827)!important;font-family:var(--metakyc-font-family, inherit)!important;padding:1.5rem!important;border-radius:.75rem!important}.metakyc-sdk h1,.metakyc-sdk h2,.metakyc-sdk h3,.metakyc-sdk h4,.metakyc-sdk h5,.metakyc-sdk h6{color:var(--metakyc-text-primary, #111827);letter-spacing:normal}.metakyc-sdk .text-gray-900{color:var(--metakyc-text-primary, #111827)!important}.metakyc-sdk .text-gray-800{color:var(--metakyc-text-primary, #1f2937)!important}.metakyc-sdk .text-gray-700{color:var(--metakyc-text-secondary, #374151)!important}.metakyc-sdk .text-gray-600{color:var(--metakyc-text-secondary, #6b7280)!important}.metakyc-sdk .text-gray-500{color:var(--metakyc-text-muted, #6b7280)!important}.metakyc-sdk .text-gray-400{color:var(--metakyc-text-muted, #9ca3af)!important}.metakyc-sdk .text-gray-300{color:var(--metakyc-text-muted, #d1d5db)!important}.metakyc-sdk .text-white{color:#fff!important}.metakyc-sdk .bg-white{background-color:var(--metakyc-background, #ffffff)!important}.metakyc-sdk .bg-gray-50{background-color:var(--metakyc-surface, #f9fafb)!important}.metakyc-sdk .bg-gray-100{background-color:var(--metakyc-surface, #f3f4f6)!important}.metakyc-sdk .bg-gray-200{background-color:var(--metakyc-border, #e5e7eb)!important}.metakyc-sdk .bg-gray-800{background-color:var(--metakyc-surface, #1f2937)!important}.metakyc-sdk .border-gray-100,.metakyc-sdk .border-gray-200,.metakyc-sdk .border-gray-300{border-color:var(--metakyc-border, #e5e7eb)!important}.metakyc-sdk .border-t{border-top-color:var(--metakyc-border, #e5e7eb)!important}.metakyc-sdk .border-b{border-bottom-color:var(--metakyc-border, #e5e7eb)!important}.metakyc-sdk .divide-gray-200>*{border-color:var(--metakyc-border, #e5e7eb)!important}.metakyc-sdk .bg-primary-500,.metakyc-sdk .bg-primary-600{background-color:var(--metakyc-primary, #2563eb)!important}.metakyc-sdk .bg-primary-50,.metakyc-sdk .bg-primary-100{background-color:var(--metakyc-primary-light, #dbeafe)!important}.metakyc-sdk .text-primary-500,.metakyc-sdk .text-primary-600,.metakyc-sdk .text-primary-800{color:var(--metakyc-primary, #2563eb)!important}.metakyc-sdk .text-primary-900{color:var(--metakyc-primary-dark, #1e40af)!important}.metakyc-sdk .border-primary-500,.metakyc-sdk .border-primary-600{border-color:var(--metakyc-primary, #2563eb)!important}.metakyc-sdk .hover\\:bg-primary-50:hover{background-color:var(--metakyc-primary-light, #dbeafe)!important}.metakyc-sdk .hover\\:bg-primary-600:hover{background-color:var(--metakyc-primary-hover, #1d4ed8)!important}.metakyc-sdk .bg-blue-600{background-color:var(--metakyc-primary, #2563eb)!important}.metakyc-sdk .bg-blue-100{background-color:var(--metakyc-primary-light, #dbeafe)!important}.metakyc-sdk .text-blue-600,.metakyc-sdk .text-blue-400{color:var(--metakyc-primary, #2563eb)!important}.metakyc-sdk .hover\\:bg-blue-700:hover{background-color:var(--metakyc-primary-hover, #1d4ed8)!important}.metakyc-sdk .metakyc-overview-steps h3:before,.metakyc-sdk .metakyc-overview-steps h3:after{content:none!important;display:none!important}.metakyc-sdk .metakyc-overview-steps *:before,.metakyc-sdk .metakyc-overview-steps *:after{content:none!important;display:none!important}.metakyc-sdk .metakyc-stepper-scroll::-webkit-scrollbar{display:none!important;height:0!important;width:0!important}.metakyc-sdk .metakyc-file-dropzone:hover{border-color:var(--metakyc-primary, #2563eb)!important;background-color:color-mix(in srgb,var(--metakyc-primary, #2563eb) 3%,var(--metakyc-background, #ffffff))!important}.metakyc-sdk .metakyc-file-item:hover{background-color:color-mix(in srgb,var(--metakyc-surface, #f9fafb) 80%,var(--metakyc-border, #e5e7eb))!important}.metakyc-sdk .metakyc-file-upload label{color:var(--metakyc-text-primary, #111827)!important}.metakyc-sdk .metakyc-file-upload p{margin:0!important;line-height:1.4!important}.metakyc-sdk .metakyc-file-item button{background:transparent!important;border:none!important;box-shadow:none!important;outline:none!important}.metakyc-sdk .metakyc-file-dropzone{box-shadow:none!important;outline:none!important}.metakyc-sdk .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.metakyc-sdk .focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.metakyc-sdk .focus\\:ring-offset-0:focus{--tw-ring-offset-width: 0px}.metakyc-sdk .focus\\:ring-offset-1:focus{--tw-ring-offset-width: 1px}.metakyc-sdk .disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.metakyc-sdk .disabled\\:opacity-50:disabled{opacity:.5}.metakyc-sdk .disabled\\:opacity-60:disabled{opacity:.6}.metakyc-sdk .dark\\:text-gray-400:is(.dark *){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.metakyc-sdk .dark\\:text-gray-500:is(.dark *){--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.metakyc-sdk .dark\\:text-white:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}@media(min-width:768px){.metakyc-sdk .md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}', di = "metakyc-sdk-styles";
|
|
7067
|
+
const Ti = Gt(null), aa = '.metakyc-sdk .pointer-events-none{pointer-events:none}.metakyc-sdk .visible{visibility:visible}.metakyc-sdk .static{position:static}.metakyc-sdk .fixed{position:fixed}.metakyc-sdk .absolute{position:absolute}.metakyc-sdk .relative{position:relative}.metakyc-sdk .inset-y-0{top:0;bottom:0}.metakyc-sdk .left-0{left:0}.metakyc-sdk .right-0{right:0}.metakyc-sdk .right-3{right:.75rem}.metakyc-sdk .top-1\\/2{top:50%}.metakyc-sdk .mx-6{margin-left:1.5rem;margin-right:1.5rem}.metakyc-sdk .mx-auto{margin-left:auto;margin-right:auto}.metakyc-sdk .my-8{margin-top:2rem;margin-bottom:2rem}.metakyc-sdk .-ml-1{margin-left:-.25rem}.metakyc-sdk .mb-0\\.5{margin-bottom:.125rem}.metakyc-sdk .mb-1{margin-bottom:.25rem}.metakyc-sdk .mb-2{margin-bottom:.5rem}.metakyc-sdk .mb-3{margin-bottom:.75rem}.metakyc-sdk .mb-4{margin-bottom:1rem}.metakyc-sdk .mb-6{margin-bottom:1.5rem}.metakyc-sdk .ml-0\\.5{margin-left:.125rem}.metakyc-sdk .ml-1{margin-left:.25rem}.metakyc-sdk .ml-3{margin-left:.75rem}.metakyc-sdk .mr-2{margin-right:.5rem}.metakyc-sdk .mr-3{margin-right:.75rem}.metakyc-sdk .mt-0\\.5{margin-top:.125rem}.metakyc-sdk .mt-1{margin-top:.25rem}.metakyc-sdk .mt-2{margin-top:.5rem}.metakyc-sdk .mt-3{margin-top:.75rem}.metakyc-sdk .mt-4{margin-top:1rem}.metakyc-sdk .mt-6{margin-top:1.5rem}.metakyc-sdk .block{display:block}.metakyc-sdk .inline-block{display:inline-block}.metakyc-sdk .inline{display:inline}.metakyc-sdk .flex{display:flex}.metakyc-sdk .inline-flex{display:inline-flex}.metakyc-sdk .grid{display:grid}.metakyc-sdk .hidden{display:none}.metakyc-sdk .h-12{height:3rem}.metakyc-sdk .h-24{height:6rem}.metakyc-sdk .h-4{height:1rem}.metakyc-sdk .h-6{height:1.5rem}.metakyc-sdk .h-8{height:2rem}.metakyc-sdk .h-full{height:100%}.metakyc-sdk .max-h-52{max-height:13rem}.metakyc-sdk .min-h-\\[400px\\]{min-height:400px}.metakyc-sdk .w-12{width:3rem}.metakyc-sdk .w-20{width:5rem}.metakyc-sdk .w-24{width:6rem}.metakyc-sdk .w-4{width:1rem}.metakyc-sdk .w-6{width:1.5rem}.metakyc-sdk .w-8{width:2rem}.metakyc-sdk .w-full{width:100%}.metakyc-sdk .max-w-md{max-width:28rem}.metakyc-sdk .flex-1{flex:1 1 0%}.metakyc-sdk .flex-shrink-0{flex-shrink:0}.metakyc-sdk .-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.metakyc-sdk .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(360deg)}}.metakyc-sdk .animate-spin{animation:spin 1s linear infinite}.metakyc-sdk .cursor-not-allowed{cursor:not-allowed}.metakyc-sdk .cursor-pointer{cursor:pointer}.metakyc-sdk .resize{resize:both}.metakyc-sdk .list-inside{list-style-position:inside}.metakyc-sdk .list-disc{list-style-type:disc}.metakyc-sdk .grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.metakyc-sdk .grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.metakyc-sdk .flex-col{flex-direction:column}.metakyc-sdk .flex-wrap{flex-wrap:wrap}.metakyc-sdk .items-start{align-items:flex-start}.metakyc-sdk .items-center{align-items:center}.metakyc-sdk .justify-center{justify-content:center}.metakyc-sdk .justify-between{justify-content:space-between}.metakyc-sdk .gap-1{gap:.25rem}.metakyc-sdk .gap-1\\.5{gap:.375rem}.metakyc-sdk .gap-2{gap:.5rem}.metakyc-sdk .gap-4{gap:1rem}.metakyc-sdk :is(.space-x-3>:not([hidden])~:not([hidden])){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.metakyc-sdk :is(.space-y-1>:not([hidden])~:not([hidden])){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.metakyc-sdk :is(.space-y-1\\.5>:not([hidden])~:not([hidden])){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.metakyc-sdk :is(.space-y-2>:not([hidden])~:not([hidden])){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.metakyc-sdk :is(.space-y-4>:not([hidden])~:not([hidden])){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.metakyc-sdk :is(.space-y-6>:not([hidden])~:not([hidden])){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.metakyc-sdk :is(.space-y-8>:not([hidden])~:not([hidden])){--tw-space-y-reverse: 0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.metakyc-sdk .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.metakyc-sdk .rounded{border-radius:.25rem}.metakyc-sdk .rounded-full{border-radius:9999px}.metakyc-sdk .rounded-lg{border-radius:.5rem}.metakyc-sdk .rounded-xl{border-radius:.75rem}.metakyc-sdk .border{border-width:1px}.metakyc-sdk .border-0{border-width:0px}.metakyc-sdk .border-2{border-width:2px}.metakyc-sdk .border-b{border-bottom-width:1px}.metakyc-sdk .border-t{border-top-width:1px}.metakyc-sdk .border-danger-500{border-color:var(--metakyc-danger, #EF4444)}.metakyc-sdk .p-3{padding:.75rem}.metakyc-sdk .p-4{padding:1rem}.metakyc-sdk .px-2{padding-left:.5rem;padding-right:.5rem}.metakyc-sdk .px-2\\.5{padding-left:.625rem;padding-right:.625rem}.metakyc-sdk .px-3{padding-left:.75rem;padding-right:.75rem}.metakyc-sdk .px-4{padding-left:1rem;padding-right:1rem}.metakyc-sdk .px-6{padding-left:1.5rem;padding-right:1.5rem}.metakyc-sdk .py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.metakyc-sdk .py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.metakyc-sdk .py-12{padding-top:3rem;padding-bottom:3rem}.metakyc-sdk .py-2{padding-top:.5rem;padding-bottom:.5rem}.metakyc-sdk .py-3{padding-top:.75rem;padding-bottom:.75rem}.metakyc-sdk .py-4{padding-top:1rem;padding-bottom:1rem}.metakyc-sdk .py-8{padding-top:2rem;padding-bottom:2rem}.metakyc-sdk .pb-4{padding-bottom:1rem}.metakyc-sdk .pl-10{padding-left:2.5rem}.metakyc-sdk .pl-3{padding-left:.75rem}.metakyc-sdk .pr-10{padding-right:2.5rem}.metakyc-sdk .pr-3{padding-right:.75rem}.metakyc-sdk .pr-6{padding-right:1.5rem}.metakyc-sdk .pt-6{padding-top:1.5rem}.metakyc-sdk .text-left{text-align:left}.metakyc-sdk .text-center{text-align:center}.metakyc-sdk .text-2xl{font-size:1.5rem;line-height:2rem}.metakyc-sdk .text-3xl{font-size:1.875rem;line-height:2.25rem}.metakyc-sdk .text-5xl{font-size:3rem;line-height:1}.metakyc-sdk .text-base{font-size:1rem;line-height:1.5rem}.metakyc-sdk .text-lg{font-size:1.125rem;line-height:1.75rem}.metakyc-sdk .text-sm{font-size:.875rem;line-height:1.25rem}.metakyc-sdk .text-xl{font-size:1.25rem;line-height:1.75rem}.metakyc-sdk .text-xs{font-size:.75rem;line-height:1rem}.metakyc-sdk .font-bold{font-weight:700}.metakyc-sdk .font-medium{font-weight:500}.metakyc-sdk .font-semibold{font-weight:600}.metakyc-sdk .uppercase{text-transform:uppercase}.metakyc-sdk .lowercase{text-transform:lowercase}.metakyc-sdk .italic{font-style:italic}.metakyc-sdk .tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.metakyc-sdk .leading-6{line-height:1.5rem}.metakyc-sdk .text-danger-500{color:var(--metakyc-danger, #EF4444)}.metakyc-sdk .text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.metakyc-sdk .text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.metakyc-sdk .text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.metakyc-sdk .text-primary,.metakyc-sdk .text-primary-500{color:var(--metakyc-primary, #3B82F6)}.metakyc-sdk .text-secondary{color:var(--metakyc-secondary, #64748b)}.metakyc-sdk .underline{text-decoration-line:underline}.metakyc-sdk .opacity-25{opacity:.25}.metakyc-sdk .opacity-50{opacity:.5}.metakyc-sdk .opacity-60{opacity:.6}.metakyc-sdk .opacity-75{opacity:.75}.metakyc-sdk .shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.metakyc-sdk .outline{outline-style:solid}.metakyc-sdk .ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.metakyc-sdk .blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.metakyc-sdk .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.metakyc-sdk .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.metakyc-sdk .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.metakyc-sdk .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.metakyc-sdk .transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.metakyc-sdk .duration-200{transition-duration:.2s}.metakyc-sdk .grid{display:grid!important}.metakyc-sdk .flex{display:flex!important}.metakyc-sdk .inline-flex{display:inline-flex!important}.metakyc-sdk .hidden{display:none!important}.metakyc-sdk .block{display:block!important}.metakyc-sdk .grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}.metakyc-sdk .grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.metakyc-sdk .grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.metakyc-sdk .grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}.metakyc-sdk .col-span-1{grid-column:span 1 / span 1!important}.metakyc-sdk .col-span-2{grid-column:span 2 / span 2!important}.metakyc-sdk .col-span-3{grid-column:span 3 / span 3!important}.metakyc-sdk .col-span-4{grid-column:span 4 / span 4!important}.metakyc-sdk .gap-1{gap:.25rem!important}.metakyc-sdk .gap-2{gap:.5rem!important}.metakyc-sdk .gap-3{gap:.75rem!important}.metakyc-sdk .gap-4{gap:1rem!important}.metakyc-sdk .gap-6{gap:1.5rem!important}.metakyc-sdk .gap-8{gap:2rem!important}.metakyc-sdk .flex-col{flex-direction:column!important}.metakyc-sdk .flex-row{flex-direction:row!important}.metakyc-sdk .flex-wrap{flex-wrap:wrap!important}.metakyc-sdk .flex-1{flex:1 1 0%!important}.metakyc-sdk .flex-shrink-0{flex-shrink:0!important}.metakyc-sdk .items-center{align-items:center!important}.metakyc-sdk .items-start{align-items:flex-start!important}.metakyc-sdk .items-end{align-items:flex-end!important}.metakyc-sdk .justify-between{justify-content:space-between!important}.metakyc-sdk .justify-center{justify-content:center!important}.metakyc-sdk .justify-end{justify-content:flex-end!important}.metakyc-sdk .justify-start{justify-content:flex-start!important}.metakyc-sdk .space-y-1>*+*{margin-top:.25rem!important}.metakyc-sdk .space-y-1\\.5>*+*{margin-top:.375rem!important}.metakyc-sdk .space-y-2>*+*{margin-top:.5rem!important}.metakyc-sdk .space-y-3>*+*{margin-top:.75rem!important}.metakyc-sdk .space-y-4>*+*{margin-top:1rem!important}.metakyc-sdk .space-y-6>*+*{margin-top:1.5rem!important}.metakyc-sdk .w-full{width:100%!important}.metakyc-sdk .relative{position:relative!important}.metakyc-sdk .absolute{position:absolute!important}.metakyc-sdk .overflow-hidden{overflow:hidden!important}.metakyc-sdk .overflow-auto{overflow:auto!important}.metakyc-sdk .overflow-x-auto{overflow-x:auto!important}@media(min-width:768px){.metakyc-sdk .md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.metakyc-sdk .md\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}}.metakyc-sdk .metakyc-form-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:1rem!important}@media(max-width:767px){.metakyc-sdk .metakyc-form-grid{grid-template-columns:1fr!important}.metakyc-sdk .metakyc-form-grid>*{grid-column:span 1 / span 1!important}.metakyc-sdk .metakyc-grid-2{grid-template-columns:1fr!important}}@media(max-width:767px){.metakyc-sdk .metakyc-card-content,.metakyc-sdk .metakyc-card-header,.metakyc-sdk .metakyc-card-footer,.metakyc-sdk .metakyc-progress-wrapper{padding-left:12px!important;padding-right:12px!important}.metakyc-sdk .metakyc-form-grid{gap:.75rem!important}}.metakyc-sdk *,.metakyc-sdk *:before,.metakyc-sdk *:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:var(--metakyc-border, #e5e7eb)}.metakyc-sdk{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4}.metakyc-sdk img,.metakyc-sdk video{max-width:100%;height:auto}.metakyc-sdk h1,.metakyc-sdk h2,.metakyc-sdk h3,.metakyc-sdk h4,.metakyc-sdk h5,.metakyc-sdk h6,.metakyc-sdk p{margin:0}.metakyc-sdk ol,.metakyc-sdk ul{list-style:none;margin:0;padding:0}.metakyc-sdk button,.metakyc-sdk input,.metakyc-sdk optgroup,.metakyc-sdk select,.metakyc-sdk textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}.metakyc-sdk button,.metakyc-sdk [role=button]{cursor:pointer}.metakyc-sdk a{color:inherit;text-decoration:inherit}.metakyc-sdk input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=range]),.metakyc-sdk select,.metakyc-sdk textarea,.metakyc-sdk .metakyc-searchable-select-trigger,.metakyc-sdk .metakyc-multiselect-trigger{background-color:var(--metakyc-input-bg, var(--metakyc-background, #ffffff))!important;color:var(--metakyc-input-text, var(--metakyc-text-primary, #111827))!important;border-color:var(--metakyc-input-border, var(--metakyc-border, #d1d5db))!important}.metakyc-sdk input::-moz-placeholder,.metakyc-sdk textarea::-moz-placeholder{color:var(--metakyc-input-placeholder, var(--metakyc-text-muted, #9ca3af))!important;opacity:1!important}.metakyc-sdk input::placeholder,.metakyc-sdk textarea::placeholder{color:var(--metakyc-input-placeholder, var(--metakyc-text-muted, #9ca3af))!important;opacity:1!important}.metakyc-sdk input:not([type=checkbox]):not([type=radio]):focus,.metakyc-sdk select:focus,.metakyc-sdk textarea:focus{outline:none!important;border-color:var(--metakyc-input-border-focus, var(--metakyc-primary, #2563eb))!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--metakyc-input-border-focus, var(--metakyc-primary, #2563eb)) 20%,transparent)!important}.metakyc-sdk input[type=checkbox],.metakyc-sdk input[type=radio]{appearance:none!important;-webkit-appearance:none!important;-moz-appearance:none!important;width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;max-width:16px!important;max-height:16px!important;flex-shrink:0!important;cursor:pointer!important;background-color:var(--metakyc-input-bg, var(--metakyc-background, #ffffff))!important;border:1.5px solid var(--metakyc-input-border, var(--metakyc-border, #d1d5db))!important;position:relative!important;transition:background-color .15s,border-color .15s!important;vertical-align:middle!important;display:inline-block!important;padding:0!important;margin:0!important;color-scheme:light!important}.metakyc-sdk input[type=checkbox]{border-radius:4px!important}.metakyc-sdk input[type=radio]{border-radius:50%!important}.metakyc-sdk input[type=checkbox]:checked,.metakyc-sdk input[type=radio]:checked{background-color:var(--metakyc-primary, #2563eb)!important;border-color:var(--metakyc-primary, #2563eb)!important}.metakyc-sdk input[type=checkbox]:checked:after{content:""!important;display:block!important;position:absolute!important;left:4px!important;top:1px!important;width:5px!important;height:9px!important;border:2px solid #ffffff!important;border-top:none!important;border-left:none!important;transform:rotate(45deg)!important}.metakyc-sdk input[type=radio]:checked:after{content:""!important;display:block!important;position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:6px!important;height:6px!important;border-radius:50%!important;background:#fff!important}.metakyc-sdk input[type=checkbox]:focus,.metakyc-sdk input[type=radio]:focus{outline:none!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--metakyc-primary, #2563eb) 30%,transparent)!important}.metakyc-searchable-select-dropdown,.metakyc-multiselect-dropdown{background-color:var(--metakyc-input-bg, var(--metakyc-background, #ffffff))!important;border-color:var(--metakyc-input-border, var(--metakyc-border, #d1d5db))!important;color:var(--metakyc-input-text, var(--metakyc-text-primary, #111827))!important}.metakyc-searchable-select-dropdown input,.metakyc-multiselect-dropdown input{background-color:var(--metakyc-input-bg, var(--metakyc-background, #ffffff))!important;color:var(--metakyc-input-text, var(--metakyc-text-primary, #111827))!important;border-color:var(--metakyc-input-border, var(--metakyc-border, #d1d5db))!important}.metakyc-searchable-select-dropdown input::-moz-placeholder,.metakyc-multiselect-dropdown input::-moz-placeholder{color:var(--metakyc-input-placeholder, var(--metakyc-text-muted, #9ca3af))!important;opacity:1!important}.metakyc-searchable-select-dropdown input::placeholder,.metakyc-multiselect-dropdown input::placeholder{color:var(--metakyc-input-placeholder, var(--metakyc-text-muted, #9ca3af))!important;opacity:1!important}.metakyc-searchable-select-dropdown input:focus,.metakyc-multiselect-dropdown input:focus{outline:none!important;background-color:var(--metakyc-input-bg, var(--metakyc-background, #ffffff))!important;color:var(--metakyc-input-text, var(--metakyc-text-primary, #111827))!important;border-color:var(--metakyc-input-border-focus, var(--metakyc-primary, #2563eb))!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--metakyc-input-border-focus, var(--metakyc-primary, #2563eb)) 20%,transparent)!important}.metakyc-searchable-select-dropdown li:hover,.metakyc-multiselect-dropdown li:hover{background-color:var(--metakyc-surface, var(--metakyc-background, #f9fafb))!important}.metakyc-sdk .metakyc-help-btn{color:var(--metakyc-primary, #2563eb)!important;border-color:var(--metakyc-primary, #2563eb)!important;background:transparent!important;position:relative!important;z-index:2!important}.metakyc-sdk .metakyc-overview-step-item,.metakyc-sdk .metakyc-overview-step-item *,.metakyc-sdk .metakyc-step-content,.metakyc-sdk .metakyc-step-content *,.metakyc-sdk .metakyc-step-title,.metakyc-sdk .metakyc-step-title *,.metakyc-sdk .metakyc-step-icon,.metakyc-sdk .metakyc-step-icon *,.metakyc-sdk .metakyc-step-description,.metakyc-sdk .metakyc-step-description *{border-top-width:0!important;border-bottom-width:0!important;border-left-width:0!important;border-right-width:0!important;border-top-style:none!important;border-bottom-style:none!important;border-left-style:none!important;border-right-style:none!important;border-top-color:transparent!important;border-bottom-color:transparent!important;border-left-color:transparent!important;border-right-color:transparent!important;border:0!important;box-shadow:none!important;outline:none!important;outline-width:0!important;outline-style:none!important;text-decoration:none!important;text-decoration-line:none!important}.metakyc-sdk .metakyc-overview-step-item:before,.metakyc-sdk .metakyc-overview-step-item:after,.metakyc-sdk .metakyc-overview-step-item *:before,.metakyc-sdk .metakyc-overview-step-item *:after,.metakyc-sdk .metakyc-step-content:before,.metakyc-sdk .metakyc-step-content:after,.metakyc-sdk .metakyc-step-content *:before,.metakyc-sdk .metakyc-step-content *:after,.metakyc-sdk .metakyc-step-title:before,.metakyc-sdk .metakyc-step-title:after,.metakyc-sdk .metakyc-step-description:before,.metakyc-sdk .metakyc-step-description:after{content:none!important;display:none!important;visibility:hidden!important;border:none!important;box-shadow:none!important;outline:none!important;background:none!important;height:0!important;width:0!important}.metakyc-sdk .metakyc-overview-step-item{border-width:0!important;border-style:none!important;border:0!important;box-shadow:none!important;outline:none!important}.metakyc-sdk .metakyc-step-content{border-width:0!important;border-style:none!important;border:0!important;padding-top:0!important;margin-top:0!important;box-shadow:none!important;outline:none!important}.metakyc-sdk .metakyc-step-title{border-width:0!important;border-style:none!important;border:0!important;padding-top:0!important;margin-top:0!important;box-shadow:none!important;outline:none!important;text-decoration:none!important}.metakyc-sdk hr,.metakyc-sdk .metakyc-overview-step-item hr,.metakyc-sdk .metakyc-overview-step-item * hr,.metakyc-sdk .metakyc-step-content hr,.metakyc-sdk .metakyc-step-content * hr{display:block!important;height:0!important;border:0!important;border-top:1px solid var(--metakyc-primary, #2563eb)!important;opacity:.25!important;margin:1rem 0!important;overflow:visible!important}.metakyc-sdk{background-color:var(--metakyc-background, #ffffff)!important;color:var(--metakyc-text-primary, #111827)!important;font-family:var(--metakyc-font-family, inherit)!important;padding:1.5rem!important;border-radius:.75rem!important}.metakyc-sdk h1,.metakyc-sdk h2,.metakyc-sdk h3,.metakyc-sdk h4,.metakyc-sdk h5,.metakyc-sdk h6{color:var(--metakyc-text-primary, #111827);letter-spacing:normal}.metakyc-sdk .text-gray-900{color:var(--metakyc-text-primary, #111827)!important}.metakyc-sdk .text-gray-800{color:var(--metakyc-text-primary, #1f2937)!important}.metakyc-sdk .text-gray-700{color:var(--metakyc-text-secondary, #374151)!important}.metakyc-sdk .text-gray-600{color:var(--metakyc-text-secondary, #6b7280)!important}.metakyc-sdk .text-gray-500{color:var(--metakyc-text-muted, #6b7280)!important}.metakyc-sdk .text-gray-400{color:var(--metakyc-text-muted, #9ca3af)!important}.metakyc-sdk .text-gray-300{color:var(--metakyc-text-muted, #d1d5db)!important}.metakyc-sdk .text-white{color:#fff!important}.metakyc-sdk .bg-white{background-color:var(--metakyc-background, #ffffff)!important}.metakyc-sdk .bg-gray-50{background-color:var(--metakyc-surface, #f9fafb)!important}.metakyc-sdk .bg-gray-100{background-color:var(--metakyc-surface, #f3f4f6)!important}.metakyc-sdk .bg-gray-200{background-color:var(--metakyc-border, #e5e7eb)!important}.metakyc-sdk .bg-gray-800{background-color:var(--metakyc-surface, #1f2937)!important}.metakyc-sdk .border-gray-100,.metakyc-sdk .border-gray-200,.metakyc-sdk .border-gray-300{border-color:var(--metakyc-border, #e5e7eb)!important}.metakyc-sdk .border-t{border-top-color:var(--metakyc-border, #e5e7eb)!important}.metakyc-sdk .border-b{border-bottom-color:var(--metakyc-border, #e5e7eb)!important}.metakyc-sdk .divide-gray-200>*{border-color:var(--metakyc-border, #e5e7eb)!important}.metakyc-sdk .bg-primary-500,.metakyc-sdk .bg-primary-600{background-color:var(--metakyc-primary, #2563eb)!important}.metakyc-sdk .bg-primary-50,.metakyc-sdk .bg-primary-100{background-color:var(--metakyc-primary-light, #dbeafe)!important}.metakyc-sdk .text-primary-500,.metakyc-sdk .text-primary-600,.metakyc-sdk .text-primary-800{color:var(--metakyc-primary, #2563eb)!important}.metakyc-sdk .text-primary-900{color:var(--metakyc-primary-dark, #1e40af)!important}.metakyc-sdk .border-primary-500,.metakyc-sdk .border-primary-600{border-color:var(--metakyc-primary, #2563eb)!important}.metakyc-sdk .hover\\:bg-primary-50:hover{background-color:var(--metakyc-primary-light, #dbeafe)!important}.metakyc-sdk .hover\\:bg-primary-600:hover{background-color:var(--metakyc-primary-hover, #1d4ed8)!important}.metakyc-sdk .bg-blue-600{background-color:var(--metakyc-primary, #2563eb)!important}.metakyc-sdk .bg-blue-100{background-color:var(--metakyc-primary-light, #dbeafe)!important}.metakyc-sdk .text-blue-600,.metakyc-sdk .text-blue-400{color:var(--metakyc-primary, #2563eb)!important}.metakyc-sdk .hover\\:bg-blue-700:hover{background-color:var(--metakyc-primary-hover, #1d4ed8)!important}.metakyc-sdk .metakyc-overview-steps h3:before,.metakyc-sdk .metakyc-overview-steps h3:after{content:none!important;display:none!important}.metakyc-sdk .metakyc-overview-steps *:before,.metakyc-sdk .metakyc-overview-steps *:after{content:none!important;display:none!important}.metakyc-sdk .metakyc-stepper-scroll::-webkit-scrollbar{display:none!important;height:0!important;width:0!important}.metakyc-sdk .metakyc-file-dropzone:hover{border-color:var(--metakyc-primary, #2563eb)!important;background-color:color-mix(in srgb,var(--metakyc-primary, #2563eb) 3%,var(--metakyc-background, #ffffff))!important}.metakyc-sdk .metakyc-file-item:hover{background-color:color-mix(in srgb,var(--metakyc-surface, #f9fafb) 80%,var(--metakyc-border, #e5e7eb))!important}.metakyc-sdk .metakyc-file-upload label{color:var(--metakyc-text-primary, #111827)!important}.metakyc-sdk .metakyc-file-upload p{margin:0!important;line-height:1.4!important}.metakyc-sdk .metakyc-file-item button{background:transparent!important;border:none!important;box-shadow:none!important;outline:none!important}.metakyc-sdk .metakyc-file-dropzone{box-shadow:none!important;outline:none!important}.metakyc-sdk .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.metakyc-sdk .focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.metakyc-sdk .focus\\:ring-offset-0:focus{--tw-ring-offset-width: 0px}.metakyc-sdk .focus\\:ring-offset-1:focus{--tw-ring-offset-width: 1px}.metakyc-sdk .disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.metakyc-sdk .disabled\\:opacity-50:disabled{opacity:.5}.metakyc-sdk .disabled\\:opacity-60:disabled{opacity:.6}.metakyc-sdk .dark\\:text-gray-400:is(.dark *){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.metakyc-sdk .dark\\:text-gray-500:is(.dark *){--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.metakyc-sdk .dark\\:text-white:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}@media(min-width:768px){.metakyc-sdk .md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}', di = "metakyc-sdk-styles";
|
|
7074
7068
|
let Ft = !1;
|
|
7075
|
-
function
|
|
7069
|
+
function na() {
|
|
7076
7070
|
if (Ft || typeof document > "u") return;
|
|
7077
7071
|
if (document.getElementById(di)) {
|
|
7078
7072
|
Ft = !0;
|
|
7079
7073
|
return;
|
|
7080
7074
|
}
|
|
7081
7075
|
const e = document.createElement("style");
|
|
7082
|
-
e.id = di, e.textContent =
|
|
7076
|
+
e.id = di, e.textContent = aa, document.head.appendChild(e), Ft = !0;
|
|
7083
7077
|
}
|
|
7084
|
-
const mi = "metakyc-theme-cache",
|
|
7085
|
-
|
|
7078
|
+
const mi = "metakyc-theme-cache", Rn = ({ config: e, children: t }) => {
|
|
7079
|
+
na();
|
|
7086
7080
|
const [a, r] = w(null), n = we.useRef(!1), o = we.useRef(!1), l = Ye(() => {
|
|
7087
7081
|
Y.setLevel(e.debug ?? e.logLevel ?? "none"), Y.info(`SDK v${Ht} initializing — baseUrl=${e.baseUrl}`);
|
|
7088
|
-
const u = new
|
|
7082
|
+
const u = new dr(e), g = new mr(u), p = new ur(u), z = new pr(u), S = new gr(u), x = new fr(u), F = new yr(u), C = new hr(u), K = new kr(u), U = new vr(u), P = new Tr(u), D = new Rr(u), V = new Fr();
|
|
7089
7083
|
if (typeof document < "u")
|
|
7090
7084
|
if (e.theme)
|
|
7091
7085
|
V.applyTheme(e.theme);
|
|
@@ -7115,7 +7109,7 @@ const mi = "metakyc-theme-cache", An = ({ config: e, children: t }) => {
|
|
|
7115
7109
|
config: e,
|
|
7116
7110
|
...l,
|
|
7117
7111
|
currentTheme: a,
|
|
7118
|
-
createOrchestrator: () => new
|
|
7112
|
+
createOrchestrator: () => new Lr(
|
|
7119
7113
|
l.applicantService,
|
|
7120
7114
|
l.questionnaireService,
|
|
7121
7115
|
l.uploadDocumentService,
|
|
@@ -7158,7 +7152,7 @@ const mi = "metakyc-theme-cache", An = ({ config: e, children: t }) => {
|
|
|
7158
7152
|
[l.translationService]
|
|
7159
7153
|
);
|
|
7160
7154
|
return /* @__PURE__ */ i(Ti.Provider, { value: c, children: /* @__PURE__ */ s(
|
|
7161
|
-
|
|
7155
|
+
ra,
|
|
7162
7156
|
{
|
|
7163
7157
|
locale: e.locale || "en",
|
|
7164
7158
|
fetchTranslations: d,
|
|
@@ -7194,7 +7188,7 @@ function Ee() {
|
|
|
7194
7188
|
throw new Error("useMetaKYC must be used within a MetaKYCProvider");
|
|
7195
7189
|
return e;
|
|
7196
7190
|
}
|
|
7197
|
-
async function
|
|
7191
|
+
async function oa(e) {
|
|
7198
7192
|
return new Promise((t, a) => {
|
|
7199
7193
|
const r = new FileReader();
|
|
7200
7194
|
r.readAsDataURL(e), r.onload = () => {
|
|
@@ -7203,10 +7197,10 @@ async function la(e) {
|
|
|
7203
7197
|
}, r.onerror = (n) => a(n);
|
|
7204
7198
|
});
|
|
7205
7199
|
}
|
|
7206
|
-
function
|
|
7200
|
+
function In(e, t) {
|
|
7207
7201
|
return e.size <= t;
|
|
7208
7202
|
}
|
|
7209
|
-
function
|
|
7203
|
+
function An(e, t) {
|
|
7210
7204
|
return t.split(",").map((r) => r.trim()).some((r) => {
|
|
7211
7205
|
if (r.endsWith("/*")) {
|
|
7212
7206
|
const n = r.slice(0, -2);
|
|
@@ -7220,7 +7214,7 @@ function Ot(e) {
|
|
|
7220
7214
|
const t = 1024, a = ["Bytes", "KB", "MB", "GB"], r = Math.floor(Math.log(e) / Math.log(t));
|
|
7221
7215
|
return Math.round(e / Math.pow(t, r) * 100) / 100 + " " + a[r];
|
|
7222
7216
|
}
|
|
7223
|
-
function
|
|
7217
|
+
function zn(e) {
|
|
7224
7218
|
return e;
|
|
7225
7219
|
}
|
|
7226
7220
|
function He(...e) {
|
|
@@ -7230,25 +7224,25 @@ const jt = {
|
|
|
7230
7224
|
APPLICANT_ID: "metakyc_applicant_id",
|
|
7231
7225
|
WORKFLOW_STATE: "metakyc_workflow_state"
|
|
7232
7226
|
};
|
|
7233
|
-
function
|
|
7227
|
+
function Ln(e) {
|
|
7234
7228
|
}
|
|
7235
|
-
function
|
|
7229
|
+
function En() {
|
|
7236
7230
|
return null;
|
|
7237
7231
|
}
|
|
7238
|
-
function
|
|
7232
|
+
function sa() {
|
|
7239
7233
|
try {
|
|
7240
7234
|
localStorage.removeItem(jt.APPLICANT_ID);
|
|
7241
7235
|
} catch {
|
|
7242
7236
|
}
|
|
7243
7237
|
}
|
|
7244
|
-
function
|
|
7238
|
+
function la(e) {
|
|
7245
7239
|
try {
|
|
7246
7240
|
localStorage.setItem(jt.WORKFLOW_STATE, JSON.stringify(e));
|
|
7247
7241
|
} catch (t) {
|
|
7248
7242
|
console.warn("Failed to save workflow state to storage:", t);
|
|
7249
7243
|
}
|
|
7250
7244
|
}
|
|
7251
|
-
function
|
|
7245
|
+
function Dn() {
|
|
7252
7246
|
try {
|
|
7253
7247
|
const e = localStorage.getItem(jt.WORKFLOW_STATE);
|
|
7254
7248
|
return e ? JSON.parse(e) : null;
|
|
@@ -7256,23 +7250,23 @@ function Mn() {
|
|
|
7256
7250
|
return console.warn("Failed to retrieve workflow state from storage:", e), null;
|
|
7257
7251
|
}
|
|
7258
7252
|
}
|
|
7259
|
-
function
|
|
7253
|
+
function ca() {
|
|
7260
7254
|
try {
|
|
7261
7255
|
localStorage.removeItem(jt.WORKFLOW_STATE);
|
|
7262
7256
|
} catch (e) {
|
|
7263
7257
|
console.warn("Failed to clear workflow state from storage:", e);
|
|
7264
7258
|
}
|
|
7265
7259
|
}
|
|
7266
|
-
function
|
|
7267
|
-
|
|
7260
|
+
function Pn() {
|
|
7261
|
+
sa(), ca();
|
|
7268
7262
|
}
|
|
7269
|
-
function
|
|
7263
|
+
function da(e) {
|
|
7270
7264
|
const { createOrchestrator: t, config: a } = Ee(), [r, n] = w(null), [o, l] = w(!1), [c, d] = w(null), u = be(null), g = e || a.applicantId || void 0;
|
|
7271
7265
|
Ne(() => {
|
|
7272
7266
|
u.current || (u.current = t());
|
|
7273
7267
|
}, [t]), Ne(() => {
|
|
7274
7268
|
var D;
|
|
7275
|
-
r && g &&
|
|
7269
|
+
r && g && la({
|
|
7276
7270
|
applicantId: g,
|
|
7277
7271
|
currentStepOrder: (D = r.currentStep) == null ? void 0 : D.order,
|
|
7278
7272
|
status: r.status,
|
|
@@ -7376,7 +7370,7 @@ function ua(e) {
|
|
|
7376
7370
|
orchestrator: u.current
|
|
7377
7371
|
};
|
|
7378
7372
|
}
|
|
7379
|
-
function
|
|
7373
|
+
function ma(e) {
|
|
7380
7374
|
var V;
|
|
7381
7375
|
const { applicantService: t, config: a } = Ee(), [r, n] = w(null), [o, l] = w(!0), [c, d] = w(null), [u, g] = w(), [p, z] = w(), S = be(!1), x = ee(async () => {
|
|
7382
7376
|
try {
|
|
@@ -7409,7 +7403,7 @@ function pa(e) {
|
|
|
7409
7403
|
refresh: x
|
|
7410
7404
|
};
|
|
7411
7405
|
}
|
|
7412
|
-
function
|
|
7406
|
+
function ua(e) {
|
|
7413
7407
|
const { questionnaireService: t, applicantService: a } = Ee(), [r, n] = w(null), [o, l] = w({}), [c, d] = w(!1), [u, g] = w(!1), [p, z] = w(null), S = be(!1), x = be(null), F = ee(async () => {
|
|
7414
7408
|
var K, U;
|
|
7415
7409
|
if (e) {
|
|
@@ -7468,7 +7462,7 @@ function ga(e) {
|
|
|
7468
7462
|
submit: C
|
|
7469
7463
|
};
|
|
7470
7464
|
}
|
|
7471
|
-
function
|
|
7465
|
+
function pa(e) {
|
|
7472
7466
|
const { uploadDocumentService: t } = Ee(), [a, r] = w(null), [n, o] = w(!1), [l, c] = w(!1), [d, u] = w(0), [g, p] = w(null), z = be(!1), S = be(null), x = ee(async () => {
|
|
7473
7467
|
if (e) {
|
|
7474
7468
|
if (z.current) {
|
|
@@ -7512,7 +7506,7 @@ function fa(e) {
|
|
|
7512
7506
|
submit: F
|
|
7513
7507
|
};
|
|
7514
7508
|
}
|
|
7515
|
-
function
|
|
7509
|
+
function Mn(e) {
|
|
7516
7510
|
const { appropriatenessTestService: t } = Ee(), [a, r] = w(null), [n, o] = w(!1), [l, c] = w(!1), [d, u] = w(null), [g, p] = w(null), z = be(!1), S = be(null), x = ee(async () => {
|
|
7517
7511
|
if (e) {
|
|
7518
7512
|
if (z.current) {
|
|
@@ -7557,7 +7551,7 @@ function Fn(e) {
|
|
|
7557
7551
|
submit: F
|
|
7558
7552
|
};
|
|
7559
7553
|
}
|
|
7560
|
-
function
|
|
7554
|
+
function ga(e) {
|
|
7561
7555
|
const { overviewService: t } = Ee(), [a, r] = w(null), [n, o] = w(!1), [l, c] = w(!1), [d, u] = w(null), g = be(!1), p = be(null), z = ee(async () => {
|
|
7562
7556
|
if (e) {
|
|
7563
7557
|
if (g.current) {
|
|
@@ -7599,7 +7593,7 @@ function ya(e) {
|
|
|
7599
7593
|
passOverview: S
|
|
7600
7594
|
};
|
|
7601
7595
|
}
|
|
7602
|
-
function
|
|
7596
|
+
function fa(e) {
|
|
7603
7597
|
const { identityService: t } = Ee(), [a, r] = w(
|
|
7604
7598
|
null
|
|
7605
7599
|
), [n, o] = w(!1), [l, c] = w(null), d = be(!1), u = ee(
|
|
@@ -7683,7 +7677,7 @@ function ha(e) {
|
|
|
7683
7677
|
restartIdentity: p
|
|
7684
7678
|
};
|
|
7685
7679
|
}
|
|
7686
|
-
function
|
|
7680
|
+
function ya(e) {
|
|
7687
7681
|
const { riskScoringService: t, applicantService: a } = Ee(), [r, n] = w(null), [o, l] = w({}), [c, d] = w(!1), [u, g] = w(!1), [p, z] = w(null), [S, x] = w(null), F = be(!1), C = be(null), K = ee(async () => {
|
|
7688
7682
|
var P;
|
|
7689
7683
|
if (e) {
|
|
@@ -7816,7 +7810,7 @@ function Ri() {
|
|
|
7816
7810
|
stopProgress: z
|
|
7817
7811
|
};
|
|
7818
7812
|
}
|
|
7819
|
-
const
|
|
7813
|
+
const ha = {
|
|
7820
7814
|
primary: {
|
|
7821
7815
|
backgroundColor: "var(--metakyc-primary, #2563eb)",
|
|
7822
7816
|
color: "#ffffff",
|
|
@@ -7877,7 +7871,7 @@ const va = {
|
|
|
7877
7871
|
opacity: n || r ? 0.5 : 1,
|
|
7878
7872
|
lineHeight: "1.25rem",
|
|
7879
7873
|
...g[a],
|
|
7880
|
-
...
|
|
7874
|
+
...ha[t],
|
|
7881
7875
|
...l
|
|
7882
7876
|
},
|
|
7883
7877
|
disabled: n || r,
|
|
@@ -8014,7 +8008,7 @@ const me = ({ children: e, className: t, style: a, ...r }) => /* @__PURE__ */ i(
|
|
|
8014
8008
|
...r,
|
|
8015
8009
|
children: e
|
|
8016
8010
|
}
|
|
8017
|
-
),
|
|
8011
|
+
), ka = {
|
|
8018
8012
|
display: "inline-flex",
|
|
8019
8013
|
alignItems: "center",
|
|
8020
8014
|
justifyContent: "center",
|
|
@@ -8050,7 +8044,7 @@ const me = ({ children: e, className: t, style: a, ...r }) => /* @__PURE__ */ i(
|
|
|
8050
8044
|
(c.key === " " || c.key === "Enter") && (c.preventDefault(), a || t(!e));
|
|
8051
8045
|
},
|
|
8052
8046
|
style: {
|
|
8053
|
-
...
|
|
8047
|
+
...ka,
|
|
8054
8048
|
backgroundColor: e ? l : o,
|
|
8055
8049
|
borderColor: e ? l : n,
|
|
8056
8050
|
opacity: a ? 0.5 : 1,
|
|
@@ -8079,7 +8073,7 @@ const me = ({ children: e, className: t, style: a, ...r }) => /* @__PURE__ */ i(
|
|
|
8079
8073
|
)
|
|
8080
8074
|
}
|
|
8081
8075
|
);
|
|
8082
|
-
},
|
|
8076
|
+
}, va = {
|
|
8083
8077
|
default: {
|
|
8084
8078
|
backgroundColor: "var(--metakyc-surface, #f3f4f6)",
|
|
8085
8079
|
color: "var(--metakyc-text-secondary, #6b7280)"
|
|
@@ -8110,7 +8104,7 @@ const me = ({ children: e, className: t, style: a, ...r }) => /* @__PURE__ */ i(
|
|
|
8110
8104
|
"inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium",
|
|
8111
8105
|
a
|
|
8112
8106
|
),
|
|
8113
|
-
style: { ...
|
|
8107
|
+
style: { ...va[t], ...r },
|
|
8114
8108
|
...n,
|
|
8115
8109
|
children: e
|
|
8116
8110
|
}
|
|
@@ -8217,7 +8211,7 @@ const me = ({ children: e, className: t, style: a, ...r }) => /* @__PURE__ */ i(
|
|
|
8217
8211
|
] })
|
|
8218
8212
|
);
|
|
8219
8213
|
Zt.displayName = "Select";
|
|
8220
|
-
const ui = 280,
|
|
8214
|
+
const ui = 280, ba = ({
|
|
8221
8215
|
label: e,
|
|
8222
8216
|
value: t,
|
|
8223
8217
|
onChange: a,
|
|
@@ -8717,11 +8711,11 @@ const ui = 280, wa = ({
|
|
|
8717
8711
|
);
|
|
8718
8712
|
};
|
|
8719
8713
|
ct.displayName = "SearchableSelect";
|
|
8720
|
-
function
|
|
8714
|
+
function xa(e) {
|
|
8721
8715
|
const t = e.type;
|
|
8722
8716
|
return t.startsWith("image/") ? "image" : t === "application/pdf" ? "pdf" : "file";
|
|
8723
8717
|
}
|
|
8724
|
-
const
|
|
8718
|
+
const wa = ({
|
|
8725
8719
|
label: e,
|
|
8726
8720
|
subtitle: t,
|
|
8727
8721
|
error: a,
|
|
@@ -8858,7 +8852,7 @@ const Ca = ({
|
|
|
8858
8852
|
}
|
|
8859
8853
|
),
|
|
8860
8854
|
ce && /* @__PURE__ */ i("div", { style: { marginTop: "12px", display: "flex", flexDirection: "column", gap: "8px" }, children: d.map((h, L) => {
|
|
8861
|
-
const M =
|
|
8855
|
+
const M = xa(h), Z = M === "image", ae = Z ? URL.createObjectURL(h) : null;
|
|
8862
8856
|
return /* @__PURE__ */ s(
|
|
8863
8857
|
"div",
|
|
8864
8858
|
{
|
|
@@ -8960,7 +8954,7 @@ const Ca = ({
|
|
|
8960
8954
|
}) }),
|
|
8961
8955
|
_ && /* @__PURE__ */ i("p", { style: { fontSize: "13px", color: "var(--metakyc-danger, #ef4444)", marginTop: "6px" }, children: _ })
|
|
8962
8956
|
] });
|
|
8963
|
-
},
|
|
8957
|
+
}, Sa = Rt(
|
|
8964
8958
|
({ countryCode: e = "+1", onCountryCodeChange: t, className: a, ...r }, n) => /* @__PURE__ */ s("div", { className: "w-full", children: [
|
|
8965
8959
|
r.label && /* @__PURE__ */ s(
|
|
8966
8960
|
"label",
|
|
@@ -9007,7 +9001,7 @@ const Ca = ({
|
|
|
9007
9001
|
r.error && /* @__PURE__ */ i("p", { className: "mt-1 text-sm text-danger-500", children: r.error })
|
|
9008
9002
|
] })
|
|
9009
9003
|
);
|
|
9010
|
-
|
|
9004
|
+
Sa.displayName = "PhoneInput";
|
|
9011
9005
|
/**
|
|
9012
9006
|
* @license lucide-react v0.574.0 - ISC
|
|
9013
9007
|
*
|
|
@@ -9021,14 +9015,14 @@ const Ai = (...e) => e.filter((t, a, r) => !!t && t.trim() !== "" && r.indexOf(t
|
|
|
9021
9015
|
* This source code is licensed under the ISC license.
|
|
9022
9016
|
* See the LICENSE file in the root directory of this source tree.
|
|
9023
9017
|
*/
|
|
9024
|
-
const
|
|
9018
|
+
const Ca = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
9025
9019
|
/**
|
|
9026
9020
|
* @license lucide-react v0.574.0 - ISC
|
|
9027
9021
|
*
|
|
9028
9022
|
* This source code is licensed under the ISC license.
|
|
9029
9023
|
* See the LICENSE file in the root directory of this source tree.
|
|
9030
9024
|
*/
|
|
9031
|
-
const
|
|
9025
|
+
const Na = (e) => e.replace(
|
|
9032
9026
|
/^([A-Z])|[\s-_]+(\w)/g,
|
|
9033
9027
|
(t, a, r) => r ? r.toUpperCase() : a.toLowerCase()
|
|
9034
9028
|
);
|
|
@@ -9039,7 +9033,7 @@ const Ra = (e) => e.replace(
|
|
|
9039
9033
|
* See the LICENSE file in the root directory of this source tree.
|
|
9040
9034
|
*/
|
|
9041
9035
|
const gi = (e) => {
|
|
9042
|
-
const t =
|
|
9036
|
+
const t = Na(e);
|
|
9043
9037
|
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
9044
9038
|
};
|
|
9045
9039
|
/**
|
|
@@ -9048,7 +9042,7 @@ const gi = (e) => {
|
|
|
9048
9042
|
* This source code is licensed under the ISC license.
|
|
9049
9043
|
* See the LICENSE file in the root directory of this source tree.
|
|
9050
9044
|
*/
|
|
9051
|
-
var
|
|
9045
|
+
var Ta = {
|
|
9052
9046
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9053
9047
|
width: 24,
|
|
9054
9048
|
height: 24,
|
|
@@ -9065,7 +9059,7 @@ var Ia = {
|
|
|
9065
9059
|
* This source code is licensed under the ISC license.
|
|
9066
9060
|
* See the LICENSE file in the root directory of this source tree.
|
|
9067
9061
|
*/
|
|
9068
|
-
const
|
|
9062
|
+
const Ra = (e) => {
|
|
9069
9063
|
for (const t in e)
|
|
9070
9064
|
if (t.startsWith("aria-") || t === "role" || t === "title")
|
|
9071
9065
|
return !0;
|
|
@@ -9077,7 +9071,7 @@ const Aa = (e) => {
|
|
|
9077
9071
|
* This source code is licensed under the ISC license.
|
|
9078
9072
|
* See the LICENSE file in the root directory of this source tree.
|
|
9079
9073
|
*/
|
|
9080
|
-
const
|
|
9074
|
+
const Ia = Rt(
|
|
9081
9075
|
({
|
|
9082
9076
|
color: e = "currentColor",
|
|
9083
9077
|
size: t = 24,
|
|
@@ -9091,13 +9085,13 @@ const za = Rt(
|
|
|
9091
9085
|
"svg",
|
|
9092
9086
|
{
|
|
9093
9087
|
ref: d,
|
|
9094
|
-
...
|
|
9088
|
+
...Ta,
|
|
9095
9089
|
width: t,
|
|
9096
9090
|
height: t,
|
|
9097
9091
|
stroke: e,
|
|
9098
9092
|
strokeWidth: r ? Number(a) * 24 / Number(t) : a,
|
|
9099
9093
|
className: Ai("lucide", n),
|
|
9100
|
-
...!o && !
|
|
9094
|
+
...!o && !Ra(c) && { "aria-hidden": "true" },
|
|
9101
9095
|
...c
|
|
9102
9096
|
},
|
|
9103
9097
|
[
|
|
@@ -9114,11 +9108,11 @@ const za = Rt(
|
|
|
9114
9108
|
*/
|
|
9115
9109
|
const zi = (e, t) => {
|
|
9116
9110
|
const a = Rt(
|
|
9117
|
-
({ className: r, ...n }, o) => Kt(
|
|
9111
|
+
({ className: r, ...n }, o) => Kt(Ia, {
|
|
9118
9112
|
ref: o,
|
|
9119
9113
|
iconNode: t,
|
|
9120
9114
|
className: Ai(
|
|
9121
|
-
`lucide-${
|
|
9115
|
+
`lucide-${Ca(gi(e))}`,
|
|
9122
9116
|
`lucide-${e}`,
|
|
9123
9117
|
r
|
|
9124
9118
|
),
|
|
@@ -9133,15 +9127,15 @@ const zi = (e, t) => {
|
|
|
9133
9127
|
* This source code is licensed under the ISC license.
|
|
9134
9128
|
* See the LICENSE file in the root directory of this source tree.
|
|
9135
9129
|
*/
|
|
9136
|
-
const
|
|
9130
|
+
const Aa = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]], Li = zi("chevron-left", Aa);
|
|
9137
9131
|
/**
|
|
9138
9132
|
* @license lucide-react v0.574.0 - ISC
|
|
9139
9133
|
*
|
|
9140
9134
|
* This source code is licensed under the ISC license.
|
|
9141
9135
|
* See the LICENSE file in the root directory of this source tree.
|
|
9142
9136
|
*/
|
|
9143
|
-
const
|
|
9144
|
-
function
|
|
9137
|
+
const za = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], Ei = zi("chevron-right", za);
|
|
9138
|
+
function La(e, t) {
|
|
9145
9139
|
const a = !t || t.length === 0 || t.every((r) => !r || !r.trim());
|
|
9146
9140
|
if (e.isRequired && a)
|
|
9147
9141
|
return e.errorMessage || "This field is required";
|
|
@@ -9170,7 +9164,7 @@ function Da(e, t) {
|
|
|
9170
9164
|
}
|
|
9171
9165
|
return null;
|
|
9172
9166
|
}
|
|
9173
|
-
function
|
|
9167
|
+
function Ea(e) {
|
|
9174
9168
|
const t = e.flatMap(
|
|
9175
9169
|
(r, n) => (r.questions ?? []).map((o, l) => ({ question: o, groupIndex: n, qIdx: l }))
|
|
9176
9170
|
), a = /* @__PURE__ */ new Map();
|
|
@@ -9180,17 +9174,17 @@ function Pa(e) {
|
|
|
9180
9174
|
}
|
|
9181
9175
|
return Array.from(a.entries()).sort(([r], [n]) => r - n).map(([, r]) => r);
|
|
9182
9176
|
}
|
|
9183
|
-
const
|
|
9177
|
+
const Da = ({
|
|
9184
9178
|
applicantId: e,
|
|
9185
9179
|
onComplete: t,
|
|
9186
9180
|
onBack: a
|
|
9187
9181
|
}) => {
|
|
9188
|
-
const { t: r } = je(), { questionnaire: n, initialAnswers: o, isLoading: l, isSubmitting: c, error: d, submit: u } =
|
|
9182
|
+
const { t: r } = je(), { questionnaire: n, initialAnswers: o, isLoading: l, isSubmitting: c, error: d, submit: u } = ua(e), [g, p] = w({}), [z, S] = w({}), [x, F] = w(0);
|
|
9189
9183
|
we.useEffect(() => {
|
|
9190
9184
|
o && Object.keys(o).length > 0 && Object.keys(g).length === 0 && p(o);
|
|
9191
9185
|
}, [o]);
|
|
9192
9186
|
const C = Ye(
|
|
9193
|
-
() => n ?
|
|
9187
|
+
() => n ? Ea(n.questionGroups) : [],
|
|
9194
9188
|
[n]
|
|
9195
9189
|
), K = x === C.length - 1, U = C[x] ?? [], P = ee((h, L) => {
|
|
9196
9190
|
p((M) => ({ ...M, [h]: L })), S((M) => {
|
|
@@ -9200,7 +9194,7 @@ const Ma = ({
|
|
|
9200
9194
|
}, []), D = ee(() => {
|
|
9201
9195
|
const h = {};
|
|
9202
9196
|
for (const { question: L } of U) {
|
|
9203
|
-
const M =
|
|
9197
|
+
const M = La(L, g[L.id] ?? []);
|
|
9204
9198
|
M && (h[L.id] = M);
|
|
9205
9199
|
}
|
|
9206
9200
|
return S((L) => ({ ...L, ...h })), Object.keys(h).length === 0;
|
|
@@ -9251,7 +9245,7 @@ const Ma = ({
|
|
|
9251
9245
|
] })
|
|
9252
9246
|
] }),
|
|
9253
9247
|
/* @__PURE__ */ i(ue, { className: "space-y-6", children: U.map(({ question: h }) => /* @__PURE__ */ i(
|
|
9254
|
-
|
|
9248
|
+
Pa,
|
|
9255
9249
|
{
|
|
9256
9250
|
question: h,
|
|
9257
9251
|
value: g[h.id] ?? [],
|
|
@@ -9300,7 +9294,7 @@ const Ma = ({
|
|
|
9300
9294
|
border: "1px solid color-mix(in srgb, var(--metakyc-danger, #ef4444) 30%, transparent)"
|
|
9301
9295
|
}, children: /* @__PURE__ */ i("p", { className: "text-sm", style: { color: "var(--metakyc-danger, #ef4444)" }, children: d.message }) })
|
|
9302
9296
|
] }) : null;
|
|
9303
|
-
},
|
|
9297
|
+
}, Pa = ({ question: e, value: t, error: a, onChange: r }) => {
|
|
9304
9298
|
var c;
|
|
9305
9299
|
const { t: n } = je(), l = (((c = e.defaultAnswers) == null ? void 0 : c.length) ?? 0) > 0 ? e.showAsDropdown ? e.canMultipleAnswer ? "multi-select" : "single-select" : e.canMultipleAnswer ? "checkbox" : "radio" : "text";
|
|
9306
9300
|
return /* @__PURE__ */ s("div", { className: "space-y-2", children: [
|
|
@@ -9393,7 +9387,7 @@ const Ma = ({
|
|
|
9393
9387
|
a && l === "text" && null
|
|
9394
9388
|
] });
|
|
9395
9389
|
};
|
|
9396
|
-
function
|
|
9390
|
+
function Ma(e) {
|
|
9397
9391
|
const t = /* @__PURE__ */ new Map();
|
|
9398
9392
|
for (const a of e) {
|
|
9399
9393
|
const r = a.pageNumber != null && a.pageNumber > 0 ? a.pageNumber : 1;
|
|
@@ -9401,13 +9395,13 @@ function Fa(e) {
|
|
|
9401
9395
|
}
|
|
9402
9396
|
return Array.from(t.entries()).sort(([a], [r]) => a - r).map(([, a]) => a);
|
|
9403
9397
|
}
|
|
9404
|
-
const
|
|
9398
|
+
const ja = ({
|
|
9405
9399
|
applicantId: e,
|
|
9406
9400
|
onComplete: t,
|
|
9407
9401
|
onBack: a
|
|
9408
9402
|
}) => {
|
|
9409
|
-
const { t: r } = je(), { uploadDocument: n, isLoading: o, isSubmitting: l, error: c, submit: d } =
|
|
9410
|
-
() => n ?
|
|
9403
|
+
const { t: r } = je(), { uploadDocument: n, isLoading: o, isSubmitting: l, error: c, submit: d } = pa(e), [u, g] = w({}), [p, z] = w(null), [S, x] = w(0), [F, C] = w({}), K = Ye(
|
|
9404
|
+
() => n ? Ma(n.uploadDocumentFiles) : [],
|
|
9411
9405
|
[n]
|
|
9412
9406
|
), U = K[S] ?? [], P = S === K.length - 1, D = K.length, V = ee(() => {
|
|
9413
9407
|
const L = {};
|
|
@@ -9427,7 +9421,7 @@ const Oa = ({
|
|
|
9427
9421
|
const ae = u[Z.id] || [], $ = await Promise.all(
|
|
9428
9422
|
ae.map(async (re) => ({
|
|
9429
9423
|
fileName: re.name,
|
|
9430
|
-
fileData: await
|
|
9424
|
+
fileData: await oa(re)
|
|
9431
9425
|
}))
|
|
9432
9426
|
);
|
|
9433
9427
|
return {
|
|
@@ -9544,7 +9538,7 @@ const Oa = ({
|
|
|
9544
9538
|
}, children: n.description })
|
|
9545
9539
|
] }),
|
|
9546
9540
|
/* @__PURE__ */ i(ue, { children: /* @__PURE__ */ i("div", { style: { display: "flex", flexDirection: "column", gap: "24px" }, children: U.map((L) => /* @__PURE__ */ i(
|
|
9547
|
-
|
|
9541
|
+
wa,
|
|
9548
9542
|
{
|
|
9549
9543
|
label: L.displayName,
|
|
9550
9544
|
subtitle: L.subtitle,
|
|
@@ -9613,8 +9607,8 @@ const Oa = ({
|
|
|
9613
9607
|
)
|
|
9614
9608
|
] }) })
|
|
9615
9609
|
] }) : null;
|
|
9616
|
-
},
|
|
9617
|
-
const { t: r } = je(), { overview: n, isLoading: o, isSubmitting: l, error: c, passOverview: d } =
|
|
9610
|
+
}, Fa = ({ applicantId: e, onComplete: t, onBack: a }) => {
|
|
9611
|
+
const { t: r } = je(), { overview: n, isLoading: o, isSubmitting: l, error: c, passOverview: d } = ga(e), u = async () => {
|
|
9618
9612
|
await d(), t == null || t();
|
|
9619
9613
|
};
|
|
9620
9614
|
return o ? /* @__PURE__ */ i(me, { children: /* @__PURE__ */ i(ue, { children: /* @__PURE__ */ i(Ge, { className: "my-8" }) }) }) : c ? /* @__PURE__ */ i(me, { children: /* @__PURE__ */ i(ue, { children: /* @__PURE__ */ s("p", { className: "text-danger-500", children: [
|
|
@@ -9658,7 +9652,7 @@ const Oa = ({
|
|
|
9658
9652
|
] })
|
|
9659
9653
|
] }) : null;
|
|
9660
9654
|
};
|
|
9661
|
-
function
|
|
9655
|
+
function Oa(e) {
|
|
9662
9656
|
const t = (e ?? "en").toLowerCase().replace("_", "-");
|
|
9663
9657
|
try {
|
|
9664
9658
|
return Intl.NumberFormat.supportedLocalesOf([t]), t;
|
|
@@ -9666,11 +9660,11 @@ function Va(e) {
|
|
|
9666
9660
|
return "en";
|
|
9667
9661
|
}
|
|
9668
9662
|
}
|
|
9669
|
-
function
|
|
9663
|
+
function Ba(e) {
|
|
9670
9664
|
return e.valueDataType === lt.Money && Array.isArray(e.defaultValues) && e.defaultValues.length > 0;
|
|
9671
9665
|
}
|
|
9672
|
-
function
|
|
9673
|
-
const a = new Intl.NumberFormat(
|
|
9666
|
+
function Va(e, t) {
|
|
9667
|
+
const a = new Intl.NumberFormat(Oa(t), {
|
|
9674
9668
|
minimumFractionDigits: 0,
|
|
9675
9669
|
maximumFractionDigits: 2
|
|
9676
9670
|
});
|
|
@@ -9679,7 +9673,7 @@ function Ka(e, t) {
|
|
|
9679
9673
|
return isNaN(n) ? r : a.format(n);
|
|
9680
9674
|
});
|
|
9681
9675
|
}
|
|
9682
|
-
function
|
|
9676
|
+
function qa(e, t) {
|
|
9683
9677
|
const a = !t || t.length === 0 || t.every((r) => !r || !r.trim());
|
|
9684
9678
|
if (e.isRequired && a)
|
|
9685
9679
|
return e.errorMessage || `${e.displayName} is required`;
|
|
@@ -9709,27 +9703,27 @@ function Ua(e, t) {
|
|
|
9709
9703
|
}
|
|
9710
9704
|
return null;
|
|
9711
9705
|
}
|
|
9712
|
-
function
|
|
9706
|
+
function Ka(e) {
|
|
9713
9707
|
const t = /* @__PURE__ */ new Map();
|
|
9714
9708
|
return e.forEach((a, r) => {
|
|
9715
9709
|
const n = a.pageNumber != null && a.pageNumber > 0 ? a.pageNumber : 1;
|
|
9716
9710
|
t.has(n) || t.set(n, []), t.get(n).push({ criterion: a, idx: r });
|
|
9717
9711
|
}), Array.from(t.entries()).sort(([a], [r]) => a - r).map(([, a]) => a);
|
|
9718
9712
|
}
|
|
9719
|
-
function
|
|
9713
|
+
function Ua(e) {
|
|
9720
9714
|
return e.builtInType === 1 ? "country" : !e.defaultValues || e.defaultValues.length === 0 ? "text" : e.multipleValue ? "checkbox" : "radio";
|
|
9721
9715
|
}
|
|
9722
|
-
const
|
|
9716
|
+
const Wa = ({
|
|
9723
9717
|
applicantId: e,
|
|
9724
9718
|
onComplete: t,
|
|
9725
9719
|
onBack: a
|
|
9726
9720
|
}) => {
|
|
9727
|
-
const { t: r } = je(), { config: n } = Ee(), o = n.locale ?? "en", { criteria: l, initialAnswers: c, isLoading: d, isSubmitting: u, error: g, submit: p } =
|
|
9721
|
+
const { t: r } = je(), { config: n } = Ee(), o = n.locale ?? "en", { criteria: l, initialAnswers: c, isLoading: d, isSubmitting: u, error: g, submit: p } = ya(e), [z, S] = w({}), [x, F] = w({}), [C, K] = w(0), [U, P] = w(!1);
|
|
9728
9722
|
we.useEffect(() => {
|
|
9729
9723
|
c && Object.keys(c).length > 0 && Object.keys(z).length === 0 && S(c);
|
|
9730
9724
|
}, [c]);
|
|
9731
9725
|
const D = Ye(
|
|
9732
|
-
() => l && l.length > 0 ?
|
|
9726
|
+
() => l && l.length > 0 ? Ka(l) : [],
|
|
9733
9727
|
[l]
|
|
9734
9728
|
), V = C === D.length - 1, _ = D[C] ?? [];
|
|
9735
9729
|
we.useEffect(() => {
|
|
@@ -9743,7 +9737,7 @@ const Ya = ({
|
|
|
9743
9737
|
}, []), h = ee(() => {
|
|
9744
9738
|
const ae = {};
|
|
9745
9739
|
for (const { criterion: $ } of _) {
|
|
9746
|
-
const re =
|
|
9740
|
+
const re = qa($, z[$.id] ?? []);
|
|
9747
9741
|
re && (ae[$.id] = re);
|
|
9748
9742
|
}
|
|
9749
9743
|
return F(($) => ({ ...$, ...ae })), Object.keys(ae).length === 0;
|
|
@@ -9794,7 +9788,7 @@ const Ya = ({
|
|
|
9794
9788
|
] })
|
|
9795
9789
|
] }),
|
|
9796
9790
|
/* @__PURE__ */ i(ue, { className: "space-y-6", children: _.map(({ criterion: ae }) => /* @__PURE__ */ i(
|
|
9797
|
-
|
|
9791
|
+
$a,
|
|
9798
9792
|
{
|
|
9799
9793
|
criterion: ae,
|
|
9800
9794
|
value: z[ae.id] ?? [],
|
|
@@ -9836,8 +9830,8 @@ const Ya = ({
|
|
|
9836
9830
|
border: "1px solid color-mix(in srgb, var(--metakyc-danger, #ef4444) 30%, transparent)"
|
|
9837
9831
|
}, children: /* @__PURE__ */ i("p", { className: "text-sm", style: { color: "var(--metakyc-danger, #ef4444)" }, children: g.message }) })
|
|
9838
9832
|
] }) : null;
|
|
9839
|
-
},
|
|
9840
|
-
const { t: o } = je(), l =
|
|
9833
|
+
}, $a = ({ criterion: e, value: t, error: a, locale: r, onChange: n }) => {
|
|
9834
|
+
const { t: o } = je(), l = Ua(e), c = e.valueDataType === lt.Integer || e.valueDataType === lt.Money || e.valueDataType === lt.DigitOnly, d = Ba(e), u = (g) => d ? Va(g, r) : g;
|
|
9841
9835
|
return /* @__PURE__ */ s("div", { className: "space-y-2", children: [
|
|
9842
9836
|
/* @__PURE__ */ s("label", { className: "block text-sm font-medium", style: { color: "var(--metakyc-text-primary, #111827)" }, children: [
|
|
9843
9837
|
e.displayName,
|
|
@@ -9938,7 +9932,7 @@ const Ya = ({
|
|
|
9938
9932
|
}
|
|
9939
9933
|
)
|
|
9940
9934
|
] });
|
|
9941
|
-
},
|
|
9935
|
+
}, Ya = ({
|
|
9942
9936
|
applicantId: e,
|
|
9943
9937
|
onComplete: t,
|
|
9944
9938
|
onBack: a
|
|
@@ -10079,7 +10073,7 @@ function Bt(e) {
|
|
|
10079
10073
|
const t = Math.floor(e / 60), a = e % 60;
|
|
10080
10074
|
return `${t.toString().padStart(2, "0")}:${a.toString().padStart(2, "0")}`;
|
|
10081
10075
|
}
|
|
10082
|
-
const
|
|
10076
|
+
const Ha = ({
|
|
10083
10077
|
applicantId: e,
|
|
10084
10078
|
onComplete: t,
|
|
10085
10079
|
onBack: a
|
|
@@ -10423,7 +10417,7 @@ const Ga = ({
|
|
|
10423
10417
|
] }),
|
|
10424
10418
|
/* @__PURE__ */ s(ue, { children: [
|
|
10425
10419
|
G && /* @__PURE__ */ i(
|
|
10426
|
-
|
|
10420
|
+
Ga,
|
|
10427
10421
|
{
|
|
10428
10422
|
question: G,
|
|
10429
10423
|
index: ce,
|
|
@@ -10523,7 +10517,7 @@ const Ga = ({
|
|
|
10523
10517
|
] })
|
|
10524
10518
|
] }) })
|
|
10525
10519
|
] });
|
|
10526
|
-
},
|
|
10520
|
+
}, _a = {
|
|
10527
10521
|
questions: /* @__PURE__ */ s("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
10528
10522
|
/* @__PURE__ */ i("path", { d: "M9 11l3 3L22 4" }),
|
|
10529
10523
|
/* @__PURE__ */ i("path", { d: "M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11" })
|
|
@@ -10555,7 +10549,7 @@ const Ga = ({
|
|
|
10555
10549
|
/* @__PURE__ */ i("div", { style: {
|
|
10556
10550
|
color: n ? "#f59e0b" : "var(--metakyc-primary, #2563eb)",
|
|
10557
10551
|
flexShrink: 0
|
|
10558
|
-
}, children:
|
|
10552
|
+
}, children: _a[e] }),
|
|
10559
10553
|
/* @__PURE__ */ s("div", { children: [
|
|
10560
10554
|
/* @__PURE__ */ i("p", { style: { fontSize: "12px", color: "var(--metakyc-text-muted, #9ca3af)", margin: 0 }, children: t }),
|
|
10561
10555
|
/* @__PURE__ */ i("p", { style: {
|
|
@@ -10567,7 +10561,7 @@ const Ga = ({
|
|
|
10567
10561
|
}, children: a })
|
|
10568
10562
|
] })
|
|
10569
10563
|
] });
|
|
10570
|
-
},
|
|
10564
|
+
}, Ga = ({ question: e, selectedAnswer: t, onSelect: a, disabled: r }) => /* @__PURE__ */ s("div", { children: [
|
|
10571
10565
|
/* @__PURE__ */ s("div", { style: { marginBottom: "16px" }, children: [
|
|
10572
10566
|
e.groupName && /* @__PURE__ */ i("span", { style: {
|
|
10573
10567
|
display: "inline-block",
|
|
@@ -10649,13 +10643,13 @@ const Ga = ({
|
|
|
10649
10643
|
o
|
|
10650
10644
|
);
|
|
10651
10645
|
}) })
|
|
10652
|
-
] }),
|
|
10646
|
+
] }), Qa = ({
|
|
10653
10647
|
applicantId: e,
|
|
10654
10648
|
onComplete: t,
|
|
10655
10649
|
onBack: a
|
|
10656
10650
|
}) => {
|
|
10657
10651
|
var Pe, Je, mt, rt;
|
|
10658
|
-
const { t: r } = je(), { applicantService: n, baseInformationService: o, identityService: l, config: c, currentTheme: d } = Ee(), { identityData: u, provider: g, token: p, isLoading: z, error: S, requestIdentity: x, restartIdentity: F } =
|
|
10652
|
+
const { t: r } = je(), { applicantService: n, baseInformationService: o, identityService: l, config: c, currentTheme: d } = Ee(), { identityData: u, provider: g, token: p, isLoading: z, error: S, requestIdentity: x, restartIdentity: F } = fa(e), [C, K] = w(null), [U, P] = w(null), [D, V] = w([]), [_, ce] = w([]), [h, L] = w(!0), [M, Z] = w(!1), [ae, $] = w(null), [re, he] = w(!1), fe = we.useRef(!1), [De, se] = w({}), [G, Q] = w({}), te = d != null && d.reviewPageFields && d.reviewPageFields.length > 0 ? d.reviewPageFields[0] : null, A = !!(d != null && d.reviewPageDisabled), T = be(!1);
|
|
10659
10653
|
T.current = A;
|
|
10660
10654
|
const O = Bi({
|
|
10661
10655
|
defaultValues: {
|
|
@@ -11398,7 +11392,7 @@ function bt(e) {
|
|
|
11398
11392
|
const { color: t, fallback: a } = Jt[e];
|
|
11399
11393
|
return { color: `var(${t}, ${a})` };
|
|
11400
11394
|
}
|
|
11401
|
-
function
|
|
11395
|
+
function Xa(e) {
|
|
11402
11396
|
const { color: t, fallback: a } = Jt[e];
|
|
11403
11397
|
return {
|
|
11404
11398
|
backgroundColor: `color-mix(in srgb, var(${t}, ${a}) 15%, transparent)`
|
|
@@ -11419,7 +11413,7 @@ const yi = ({
|
|
|
11419
11413
|
"div",
|
|
11420
11414
|
{
|
|
11421
11415
|
className: "w-24 h-24 rounded-full flex items-center justify-center",
|
|
11422
|
-
style:
|
|
11416
|
+
style: Xa(d.type),
|
|
11423
11417
|
children: /* @__PURE__ */ i("span", { className: "text-5xl", style: bt(d.type), children: d.icon })
|
|
11424
11418
|
}
|
|
11425
11419
|
) }),
|
|
@@ -11503,7 +11497,7 @@ const yi = ({
|
|
|
11503
11497
|
d.type === "pending" && /* @__PURE__ */ i("div", { className: "text-center", children: /* @__PURE__ */ i("p", { className: "text-sm", style: { color: "var(--metakyc-text-secondary, #6b7280)" }, children: l("status.checkBackLater") }) })
|
|
11504
11498
|
] })
|
|
11505
11499
|
] });
|
|
11506
|
-
},
|
|
11500
|
+
}, Za = ({ config: e, className: t = "" }) => {
|
|
11507
11501
|
const { t: a } = je();
|
|
11508
11502
|
return !(e != null && e.visible) || !(e != null && e.url) ? null : /* @__PURE__ */ i("div", { className: `metakyc-logo ${t}`, children: /* @__PURE__ */ i(
|
|
11509
11503
|
"img",
|
|
@@ -11534,7 +11528,7 @@ const yi = ({
|
|
|
11534
11528
|
className: "metakyc-header-title flex items-center text-xl font-bold",
|
|
11535
11529
|
style: { color: "var(--metakyc-text-primary, #111827)" },
|
|
11536
11530
|
children: [
|
|
11537
|
-
d && /* @__PURE__ */ i(
|
|
11531
|
+
d && /* @__PURE__ */ i(Za, { config: r.logo }),
|
|
11538
11532
|
d && u && /* @__PURE__ */ i(
|
|
11539
11533
|
"span",
|
|
11540
11534
|
{
|
|
@@ -11553,7 +11547,7 @@ function It() {
|
|
|
11553
11547
|
const e = Pi(), t = be(e);
|
|
11554
11548
|
return t.current = e, t;
|
|
11555
11549
|
}
|
|
11556
|
-
const
|
|
11550
|
+
const Ja = ({ children: e }) => {
|
|
11557
11551
|
const [t, a] = w([]), [r, n] = w({}), o = be([]), l = ee((g) => {
|
|
11558
11552
|
o.current = [...o.current.filter((p) => p.id !== g.id), g], a([...o.current]);
|
|
11559
11553
|
}, []), c = ee((g) => {
|
|
@@ -11568,7 +11562,7 @@ const tn = ({ children: e }) => {
|
|
|
11568
11562
|
[t, l, c, r, d]
|
|
11569
11563
|
);
|
|
11570
11564
|
return /* @__PURE__ */ i(Di.Provider, { value: u, children: e });
|
|
11571
|
-
}, hi = 2147483640,
|
|
11565
|
+
}, hi = 2147483640, en = () => {
|
|
11572
11566
|
const e = Pi(), [t, a] = w(!1), [r, n] = w("actions"), [o, l] = w(null), c = be(null);
|
|
11573
11567
|
if (Ne(() => {
|
|
11574
11568
|
if (!t) return;
|
|
@@ -11762,7 +11756,7 @@ const tn = ({ children: e }) => {
|
|
|
11762
11756
|
)
|
|
11763
11757
|
] });
|
|
11764
11758
|
return typeof document > "u" ? null : Mt(ce, document.body);
|
|
11765
|
-
},
|
|
11759
|
+
}, tn = ["James", "Emma", "Alexander", "Sophia", "Michael", "Olivia", "Daniel", "Isabella", "Lukas", "Anna"], rn = ["Anderson", "Mueller", "Johnson", "Williams", "Brown", "Schmidt", "Garcia", "Chen", "Huber", "Wagner"], an = ["Acme Corp", "Global Holdings Ltd", "TechVentures AG", "Alpine Solutions GmbH", "Meridian Capital LLC", "Nordic Innovations AS"], Dt = ["Vienna", "Zurich", "Munich", "Berlin", "London", "Amsterdam", "Paris", "Milan"], Pt = ["AUT", "CHE", "DEU", "GBR", "NLD", "FRA", "ITA"], _t = ["Main Street", "Oak Avenue", "Elm Road", "Park Lane", "Lake Boulevard", "Ringstrasse", "Bahnhofstrasse"], nn = ["Software Engineer", "Financial Analyst", "Doctor", "Teacher", "Lawyer", "Architect", "Accountant"];
|
|
11766
11760
|
function Me(e) {
|
|
11767
11761
|
return e[Math.floor(Math.random() * e.length)];
|
|
11768
11762
|
}
|
|
@@ -11773,8 +11767,8 @@ function Mi(e, t) {
|
|
|
11773
11767
|
const a = e + Math.floor(Math.random() * (t - e)), r = String(1 + Math.floor(Math.random() * 12)).padStart(2, "0"), n = String(1 + Math.floor(Math.random() * 28)).padStart(2, "0");
|
|
11774
11768
|
return `${a}-${r}-${n}`;
|
|
11775
11769
|
}
|
|
11776
|
-
function
|
|
11777
|
-
const e = Me(
|
|
11770
|
+
function on() {
|
|
11771
|
+
const e = Me(tn), t = Me(rn), a = Me(Pt);
|
|
11778
11772
|
return {
|
|
11779
11773
|
firstName: e,
|
|
11780
11774
|
lastName: t,
|
|
@@ -11790,7 +11784,7 @@ function ln() {
|
|
|
11790
11784
|
placeOfBirth: Me(Dt),
|
|
11791
11785
|
countryOfBirth: Me(Pt),
|
|
11792
11786
|
taxCountry: a,
|
|
11793
|
-
occupation: Me(
|
|
11787
|
+
occupation: Me(nn),
|
|
11794
11788
|
educationLevel: Me(["Bachelor", "Master", "PhD", "High School"]),
|
|
11795
11789
|
taxNumber: xt(10),
|
|
11796
11790
|
defaultLanguage: "EN",
|
|
@@ -11799,8 +11793,8 @@ function ln() {
|
|
|
11799
11793
|
title: Me(["Mr", "Ms", "Dr", "Prof"])
|
|
11800
11794
|
};
|
|
11801
11795
|
}
|
|
11802
|
-
function
|
|
11803
|
-
const e = Me(
|
|
11796
|
+
function sn() {
|
|
11797
|
+
const e = Me(an), t = e.split(" ")[0].toLowerCase();
|
|
11804
11798
|
return {
|
|
11805
11799
|
companyName: e,
|
|
11806
11800
|
email: `info@${t}.com`,
|
|
@@ -11823,7 +11817,7 @@ const zt = ["firstName", "lastName", "email", "phonenumber", "dateOfBirth"];
|
|
|
11823
11817
|
function St(e) {
|
|
11824
11818
|
return e == null || e === "" || Array.isArray(e) && e.length === 0;
|
|
11825
11819
|
}
|
|
11826
|
-
const
|
|
11820
|
+
const ln = {
|
|
11827
11821
|
width: "16px",
|
|
11828
11822
|
height: "16px",
|
|
11829
11823
|
minWidth: "16px",
|
|
@@ -11956,7 +11950,7 @@ const dn = {
|
|
|
11956
11950
|
),
|
|
11957
11951
|
typeof document < "u" && n ? Mt(n, document.body) : null
|
|
11958
11952
|
] });
|
|
11959
|
-
},
|
|
11953
|
+
}, cn = ({
|
|
11960
11954
|
workflowKey: e,
|
|
11961
11955
|
externalRefId: t,
|
|
11962
11956
|
applicantId: a,
|
|
@@ -12155,7 +12149,7 @@ const dn = {
|
|
|
12155
12149
|
};
|
|
12156
12150
|
}, [a]);
|
|
12157
12151
|
const [Se, xe] = w(0), [q, ie] = w({}), [Te, Ce] = w(null), [qe, it] = w(!1), _e = It(), yt = ee(() => {
|
|
12158
|
-
const m =
|
|
12152
|
+
const m = on(), j = (E) => {
|
|
12159
12153
|
var ge;
|
|
12160
12154
|
const k = (ge = gt[E]) == null ? void 0 : ge.countriesType, v = k != null ? String(k) : "all", N = (h[v] || []).filter((pe) => pe.value);
|
|
12161
12155
|
if (N.length)
|
|
@@ -12374,7 +12368,7 @@ const dn = {
|
|
|
12374
12368
|
if (m === "otherNationality") {
|
|
12375
12369
|
const Ke = re(m, k);
|
|
12376
12370
|
return /* @__PURE__ */ i(
|
|
12377
|
-
|
|
12371
|
+
ba,
|
|
12378
12372
|
{
|
|
12379
12373
|
...Qe,
|
|
12380
12374
|
label: ut,
|
|
@@ -12665,7 +12659,7 @@ const dn = {
|
|
|
12665
12659
|
name: `radio-group-${m.paramName}-${j}`,
|
|
12666
12660
|
className: "metakyc-option-input",
|
|
12667
12661
|
onClick: (ge) => ge.stopPropagation(),
|
|
12668
|
-
style:
|
|
12662
|
+
style: ln
|
|
12669
12663
|
}
|
|
12670
12664
|
),
|
|
12671
12665
|
/* @__PURE__ */ i(
|
|
@@ -12850,7 +12844,7 @@ const dn = {
|
|
|
12850
12844
|
function qt(e) {
|
|
12851
12845
|
return e == null || e === "" || Array.isArray(e) && e.length === 0;
|
|
12852
12846
|
}
|
|
12853
|
-
const
|
|
12847
|
+
const dn = ({
|
|
12854
12848
|
workflowKey: e,
|
|
12855
12849
|
externalRefId: t,
|
|
12856
12850
|
onSuccess: a,
|
|
@@ -12971,7 +12965,7 @@ const un = ({
|
|
|
12971
12965
|
externalRefId: p,
|
|
12972
12966
|
...$
|
|
12973
12967
|
}), [fe, De] = w({}), [se, G] = w(0), [Q, te] = w({}), [A, T] = w(null), [O, Se] = w(!1), xe = It(), q = ee(() => {
|
|
12974
|
-
const y =
|
|
12968
|
+
const y = sn(), f = (R) => {
|
|
12975
12969
|
var ne;
|
|
12976
12970
|
const I = (ne = vt[R]) == null ? void 0 : ne.countriesType, W = I != null ? String(I) : "all", X = (V[W] || []).filter((ve) => ve.value);
|
|
12977
12971
|
if (X.length)
|
|
@@ -13396,7 +13390,7 @@ const un = ({
|
|
|
13396
13390
|
/* @__PURE__ */ i(le, { type: "submit", isLoading: O || d, children: u("createCompany.registerCompany") })
|
|
13397
13391
|
] })
|
|
13398
13392
|
] }) }) });
|
|
13399
|
-
},
|
|
13393
|
+
}, mn = "JVBERi0xLjAKMSAwIG9iago8PCAvVHlwZSAvQ2F0YWxvZyAvUGFnZXMgMiAwIFIgPj4KZW5kb2JqCjIgMCBvYmoKPDwgL1R5cGUgL1BhZ2VzIC9LaWRzIFszIDAgUl0gL0NvdW50IDEgPj4KZW5kb2JqCjMgMCBvYmoKPDwgL1R5cGUgL1BhZ2UgL1BhcmVudCAyIDAgUiAvTWVkaWFCb3ggWzAgMCA2MTIgNzkyXSA+PgplbmRvYmoKeHJlZgowIDQKMDAwMDAwMDAwMCA2NTUzNSBmIAowMDAwMDAwMDA5IDAwMDAwIG4gCjAwMDAwMDAwNTggMDAwMDAgbiAKMDAwMDAwMDExNSAwMMDAwIG4gCnRyYWlsZXIKPDwgL1NpemUgNCAvUm9vdCAxIDAgUiA+PgpzdGFydHhyZWYKMjA2CiUlRU9G", un = ({
|
|
13400
13394
|
applicantId: e,
|
|
13401
13395
|
onComplete: t,
|
|
13402
13396
|
onError: a,
|
|
@@ -13413,7 +13407,7 @@ const un = ({
|
|
|
13413
13407
|
error: S,
|
|
13414
13408
|
moveBack: x,
|
|
13415
13409
|
refreshProgress: F
|
|
13416
|
-
} =
|
|
13410
|
+
} = da(e), [C, K] = we.useState(!1), [U, P] = we.useState(null), D = we.useRef(null), V = It(), {
|
|
13417
13411
|
questionnaireService: _,
|
|
13418
13412
|
overviewService: ce,
|
|
13419
13413
|
riskScoringService: h,
|
|
@@ -13522,7 +13516,7 @@ const un = ({
|
|
|
13522
13516
|
uploadDocumentFileId: A.id,
|
|
13523
13517
|
valueList: [{
|
|
13524
13518
|
fileName: "dev-placeholder.pdf",
|
|
13525
|
-
fileData:
|
|
13519
|
+
fileData: mn
|
|
13526
13520
|
}]
|
|
13527
13521
|
}));
|
|
13528
13522
|
await M.fillUploadDocument({
|
|
@@ -13698,7 +13692,7 @@ const un = ({
|
|
|
13698
13692
|
} })
|
|
13699
13693
|
] }),
|
|
13700
13694
|
/* @__PURE__ */ i(
|
|
13701
|
-
|
|
13695
|
+
pn,
|
|
13702
13696
|
{
|
|
13703
13697
|
ref: D,
|
|
13704
13698
|
visibleSteps: G,
|
|
@@ -13717,20 +13711,20 @@ const un = ({
|
|
|
13717
13711
|
};
|
|
13718
13712
|
switch (d.action) {
|
|
13719
13713
|
case de.Questionaries:
|
|
13720
|
-
return /* @__PURE__ */ i(
|
|
13714
|
+
return /* @__PURE__ */ i(Da, { ...A });
|
|
13721
13715
|
case de.UploadDocument:
|
|
13722
|
-
return /* @__PURE__ */ i(
|
|
13716
|
+
return /* @__PURE__ */ i(ja, { ...A });
|
|
13723
13717
|
case de.Overview:
|
|
13724
|
-
return /* @__PURE__ */ i(
|
|
13718
|
+
return /* @__PURE__ */ i(Fa, { ...A });
|
|
13725
13719
|
case de.IdentitySdk:
|
|
13726
|
-
return /* @__PURE__ */ i(
|
|
13720
|
+
return /* @__PURE__ */ i(Qa, { ...A });
|
|
13727
13721
|
case de.RiskScoring:
|
|
13728
|
-
return /* @__PURE__ */ i(
|
|
13722
|
+
return /* @__PURE__ */ i(Wa, { ...A });
|
|
13729
13723
|
case de.AdditionalData:
|
|
13730
13724
|
case de.InvestorCategorization:
|
|
13731
|
-
return /* @__PURE__ */ i(
|
|
13725
|
+
return /* @__PURE__ */ i(Ya, { ...A });
|
|
13732
13726
|
case de.AppropriatenessTest:
|
|
13733
|
-
return /* @__PURE__ */ i(
|
|
13727
|
+
return /* @__PURE__ */ i(Ha, { ...A });
|
|
13734
13728
|
case de.ManualReview:
|
|
13735
13729
|
return /* @__PURE__ */ i(
|
|
13736
13730
|
yi,
|
|
@@ -13761,7 +13755,7 @@ const un = ({
|
|
|
13761
13755
|
De(),
|
|
13762
13756
|
se()
|
|
13763
13757
|
] });
|
|
13764
|
-
},
|
|
13758
|
+
}, pn = we.forwardRef(
|
|
13765
13759
|
({ visibleSteps: e, currentVisibleStepIndex: t, getStepFallbackName: a }, r) => {
|
|
13766
13760
|
const n = we.useRef(null), o = we.useRef(null);
|
|
13767
13761
|
return we.useImperativeHandle(r, () => n.current), we.useEffect(() => {
|
|
@@ -13846,14 +13840,14 @@ const un = ({
|
|
|
13846
13840
|
}
|
|
13847
13841
|
);
|
|
13848
13842
|
}
|
|
13849
|
-
),
|
|
13843
|
+
), jn = (e) => {
|
|
13850
13844
|
const { config: t } = Ee();
|
|
13851
|
-
return t.debug || t.logLevel && t.logLevel !== "none" ? /* @__PURE__ */ s(
|
|
13845
|
+
return t.debug || t.logLevel && t.logLevel !== "none" ? /* @__PURE__ */ s(Ja, { children: [
|
|
13852
13846
|
/* @__PURE__ */ i(bi, { ...e }),
|
|
13853
|
-
/* @__PURE__ */ i(
|
|
13847
|
+
/* @__PURE__ */ i(en, {})
|
|
13854
13848
|
] }) : /* @__PURE__ */ i(bi, { ...e });
|
|
13855
13849
|
};
|
|
13856
|
-
function
|
|
13850
|
+
function gn(e, t, a, r) {
|
|
13857
13851
|
const n = It();
|
|
13858
13852
|
we.useEffect(() => {
|
|
13859
13853
|
var o;
|
|
@@ -13878,8 +13872,8 @@ const bi = ({
|
|
|
13878
13872
|
transitionToWorkflow: S,
|
|
13879
13873
|
switchApplicant: x,
|
|
13880
13874
|
refresh: F
|
|
13881
|
-
} =
|
|
13882
|
-
|
|
13875
|
+
} = ma(e);
|
|
13876
|
+
gn(c, d, u, g);
|
|
13883
13877
|
const C = It();
|
|
13884
13878
|
we.useEffect(() => {
|
|
13885
13879
|
const D = C.current;
|
|
@@ -13910,14 +13904,14 @@ const bi = ({
|
|
|
13910
13904
|
if (c === "create_applicant") {
|
|
13911
13905
|
const D = g || ((U = l.applicantForm) == null ? void 0 : U.workflowKey), V = (P = l.applicantForm) == null ? void 0 : P.externalRefId;
|
|
13912
13906
|
return u ? /* @__PURE__ */ i("div", { className: `metakyc-sdk ${n || ""}`, children: /* @__PURE__ */ i(
|
|
13913
|
-
|
|
13907
|
+
dn,
|
|
13914
13908
|
{
|
|
13915
13909
|
workflowKey: D,
|
|
13916
13910
|
externalRefId: V,
|
|
13917
13911
|
onSuccess: K
|
|
13918
13912
|
}
|
|
13919
13913
|
) }) : /* @__PURE__ */ i("div", { className: `metakyc-sdk ${n || ""}`, children: /* @__PURE__ */ i(
|
|
13920
|
-
|
|
13914
|
+
cn,
|
|
13921
13915
|
{
|
|
13922
13916
|
workflowKey: D,
|
|
13923
13917
|
externalRefId: V,
|
|
@@ -13927,7 +13921,7 @@ const bi = ({
|
|
|
13927
13921
|
) });
|
|
13928
13922
|
}
|
|
13929
13923
|
return d ? /* @__PURE__ */ i("div", { className: `metakyc-sdk ${n || ""}`, children: /* @__PURE__ */ i(
|
|
13930
|
-
|
|
13924
|
+
un,
|
|
13931
13925
|
{
|
|
13932
13926
|
applicantId: d,
|
|
13933
13927
|
onComplete: t,
|
|
@@ -13937,12 +13931,12 @@ const bi = ({
|
|
|
13937
13931
|
}
|
|
13938
13932
|
) }) : /* @__PURE__ */ i("div", { className: `metakyc-sdk ${n || ""}`, children: /* @__PURE__ */ i(me, { children: /* @__PURE__ */ i(ue, { children: /* @__PURE__ */ i("div", { className: "text-center py-8", children: /* @__PURE__ */ i("p", { style: { color: "var(--metakyc-text-secondary, #6b7280)" }, children: "Unable to determine SDK state. Ensure the session token contains a valid ExternalRefId." }) }) }) }) });
|
|
13939
13933
|
};
|
|
13940
|
-
function
|
|
13934
|
+
function Fn(e) {
|
|
13941
13935
|
return dt.object({
|
|
13942
13936
|
questionResults: dt.any()
|
|
13943
13937
|
}).passthrough();
|
|
13944
13938
|
}
|
|
13945
|
-
function
|
|
13939
|
+
function fn(e) {
|
|
13946
13940
|
let t = dt.array(dt.instanceof(File));
|
|
13947
13941
|
if (e.isRequired ? t = t.min(
|
|
13948
13942
|
1,
|
|
@@ -13964,38 +13958,38 @@ function hn(e) {
|
|
|
13964
13958
|
}
|
|
13965
13959
|
return t;
|
|
13966
13960
|
}
|
|
13967
|
-
function
|
|
13961
|
+
function On(e) {
|
|
13968
13962
|
const t = {};
|
|
13969
13963
|
return e.uploadDocumentFiles.forEach((a) => {
|
|
13970
13964
|
const r = `file_${a.id}`;
|
|
13971
|
-
t[r] =
|
|
13965
|
+
t[r] = fn(a);
|
|
13972
13966
|
}), dt.object(t);
|
|
13973
13967
|
}
|
|
13974
|
-
function
|
|
13968
|
+
function Bn(e) {
|
|
13975
13969
|
return dt.any();
|
|
13976
13970
|
}
|
|
13977
|
-
function
|
|
13971
|
+
function yn(e) {
|
|
13978
13972
|
return dt.string().min(1, "This question is required");
|
|
13979
13973
|
}
|
|
13980
|
-
function
|
|
13974
|
+
function Vn(e) {
|
|
13981
13975
|
const t = {};
|
|
13982
13976
|
return e.appropriatenessQuestions.forEach((a) => {
|
|
13983
13977
|
const r = `question_${a.id}`;
|
|
13984
|
-
t[r] =
|
|
13978
|
+
t[r] = yn();
|
|
13985
13979
|
}), dt.object(t);
|
|
13986
13980
|
}
|
|
13987
|
-
const
|
|
13981
|
+
const qn = dt.any();
|
|
13988
13982
|
export {
|
|
13989
13983
|
ii as ALLOWED_LANGUAGES,
|
|
13990
13984
|
Vi as ApplicantProgressOnHoldReason,
|
|
13991
13985
|
Xe as ApplicantProgressStatus,
|
|
13992
|
-
|
|
13986
|
+
mr as ApplicantService,
|
|
13993
13987
|
Ki as ApplicantStatus,
|
|
13994
13988
|
Hi as AppropriatenessQuestionType,
|
|
13995
|
-
|
|
13996
|
-
|
|
13989
|
+
gr as AppropriatenessTestService,
|
|
13990
|
+
Ha as AppropriatenessTestStep,
|
|
13997
13991
|
Ii as Badge,
|
|
13998
|
-
|
|
13992
|
+
kr as BaseInformationService,
|
|
13999
13993
|
le as Button,
|
|
14000
13994
|
vt as COMPANY_FIELD_METADATA,
|
|
14001
13995
|
me as Card,
|
|
@@ -14004,114 +13998,114 @@ export {
|
|
|
14004
13998
|
Fe as CardHeader,
|
|
14005
13999
|
tt as Checkbox,
|
|
14006
14000
|
ft as CountriesType,
|
|
14007
|
-
|
|
14008
|
-
|
|
14001
|
+
cn as CreateApplicantForm,
|
|
14002
|
+
dn as CreateCompanyApplicantForm,
|
|
14009
14003
|
Gi as CriteriaBuiltInType,
|
|
14010
14004
|
Xi as DEFAULT_COMPANY_VISIBLE_FIELDS,
|
|
14011
14005
|
Zi as DEFAULT_VISIBLE_FIELDS,
|
|
14012
14006
|
Yi as DocumentReviewStatus,
|
|
14013
14007
|
er as EndpointBuilder,
|
|
14014
14008
|
Ct as ErrorHandler,
|
|
14015
|
-
|
|
14009
|
+
Ir as EventEmitter,
|
|
14016
14010
|
gt as FIELD_METADATA,
|
|
14017
14011
|
$i as FileType,
|
|
14018
|
-
|
|
14012
|
+
wa as FileUpload,
|
|
14019
14013
|
Et as GenderType,
|
|
14020
14014
|
Tt as Header,
|
|
14021
|
-
|
|
14015
|
+
dr as HttpClient,
|
|
14022
14016
|
pt as IdentityProviderManager,
|
|
14023
|
-
|
|
14017
|
+
hr as IdentityService,
|
|
14024
14018
|
et as IdentityVerificationProvider,
|
|
14025
|
-
|
|
14019
|
+
Qa as IdentityVerificationStep,
|
|
14026
14020
|
Le as Input,
|
|
14027
|
-
|
|
14028
|
-
|
|
14021
|
+
vr as InvestorCategorizationService,
|
|
14022
|
+
Ya as InvestorCategorizationStep,
|
|
14029
14023
|
Ue as InvestorCategorizationType,
|
|
14030
14024
|
Qi as InvestorCategoryType,
|
|
14031
14025
|
Ui as KycProcessStatus,
|
|
14032
14026
|
wi as KycStatus,
|
|
14033
14027
|
yi as KycStatusDisplay,
|
|
14034
|
-
|
|
14035
|
-
|
|
14036
|
-
|
|
14028
|
+
un as KycWorkflow,
|
|
14029
|
+
Za as Logo,
|
|
14030
|
+
jn as MetaKYC,
|
|
14037
14031
|
Ti as MetaKYCContext,
|
|
14038
14032
|
st as MetaKYCError,
|
|
14039
|
-
|
|
14040
|
-
|
|
14041
|
-
|
|
14042
|
-
|
|
14043
|
-
|
|
14044
|
-
|
|
14045
|
-
|
|
14046
|
-
|
|
14047
|
-
|
|
14033
|
+
Rn as MetaKYCProvider,
|
|
14034
|
+
Cn as MetaKYCSession,
|
|
14035
|
+
ba as MultiSelect,
|
|
14036
|
+
Mr as OnfidoProvider,
|
|
14037
|
+
fr as OverviewService,
|
|
14038
|
+
Fa as OverviewStep,
|
|
14039
|
+
Sa as PhoneInput,
|
|
14040
|
+
ur as QuestionnaireService,
|
|
14041
|
+
Da as QuestionnaireStep,
|
|
14048
14042
|
at as ReviewStatus,
|
|
14049
14043
|
_i as RiskCriteriaType,
|
|
14050
14044
|
qi as RiskLevel,
|
|
14051
|
-
|
|
14052
|
-
|
|
14045
|
+
yr as RiskScoringService,
|
|
14046
|
+
Wa as RiskScoringStep,
|
|
14053
14047
|
Ht as SDK_VERSION,
|
|
14054
|
-
|
|
14048
|
+
jr as SardinAIProvider,
|
|
14055
14049
|
ct as SearchableSelect,
|
|
14056
14050
|
Zt as Select,
|
|
14057
14051
|
Ge as Spinner,
|
|
14058
|
-
|
|
14059
|
-
|
|
14060
|
-
|
|
14052
|
+
zr as StepRouter,
|
|
14053
|
+
Pr as SumsubProvider,
|
|
14054
|
+
Fr as ThemeManager,
|
|
14061
14055
|
$e as ThemePreset,
|
|
14062
|
-
|
|
14063
|
-
|
|
14064
|
-
|
|
14065
|
-
|
|
14066
|
-
|
|
14056
|
+
Tr as ThemeService,
|
|
14057
|
+
ra as TranslationProvider,
|
|
14058
|
+
Rr as TranslationService,
|
|
14059
|
+
pr as UploadDocumentService,
|
|
14060
|
+
ja as UploadDocumentStep,
|
|
14067
14061
|
Wi as UserType,
|
|
14068
14062
|
lt as ValueDataType,
|
|
14069
|
-
|
|
14063
|
+
Lr as WorkflowOrchestrator,
|
|
14070
14064
|
Lt as WorkflowResultType,
|
|
14071
|
-
|
|
14065
|
+
Ar as WorkflowState,
|
|
14072
14066
|
de as WorkflowStepAction,
|
|
14073
|
-
|
|
14074
|
-
|
|
14075
|
-
|
|
14076
|
-
|
|
14067
|
+
qn as appropriatenessTestSchema,
|
|
14068
|
+
Pn as clearAllStorage,
|
|
14069
|
+
sa as clearApplicantId,
|
|
14070
|
+
ca as clearWorkflowState,
|
|
14077
14071
|
He as cn,
|
|
14078
|
-
|
|
14072
|
+
br as corporateTheme,
|
|
14079
14073
|
Ji as defaultConfig,
|
|
14080
14074
|
We as defaultTheme,
|
|
14081
|
-
|
|
14082
|
-
|
|
14075
|
+
oa as fileToBase64,
|
|
14076
|
+
xr as fintechTheme,
|
|
14083
14077
|
Ot as formatFileSize,
|
|
14084
|
-
|
|
14085
|
-
|
|
14086
|
-
|
|
14087
|
-
|
|
14088
|
-
|
|
14089
|
-
|
|
14078
|
+
Vn as generateAppropriatenessSchema,
|
|
14079
|
+
Fn as generateQuestionnaireSchema,
|
|
14080
|
+
Bn as generateRiskScoringSchema,
|
|
14081
|
+
On as generateUploadDocumentSchema,
|
|
14082
|
+
zn as getAcceptString,
|
|
14083
|
+
En as getApplicantId,
|
|
14090
14084
|
Nt as getThemePreset,
|
|
14091
|
-
|
|
14092
|
-
|
|
14093
|
-
|
|
14085
|
+
Dn as getWorkflowState,
|
|
14086
|
+
wr as healthcareTheme,
|
|
14087
|
+
Nn as isScriptLoaded,
|
|
14094
14088
|
Si as loadScript,
|
|
14095
14089
|
Y as logger,
|
|
14096
|
-
|
|
14097
|
-
|
|
14098
|
-
|
|
14090
|
+
Cr as minimalTheme,
|
|
14091
|
+
Sr as modernTheme,
|
|
14092
|
+
Tn as removeScript,
|
|
14099
14093
|
oe as resolveDisplayText,
|
|
14100
|
-
|
|
14101
|
-
|
|
14102
|
-
|
|
14094
|
+
Ln as saveApplicantId,
|
|
14095
|
+
la as saveWorkflowState,
|
|
14096
|
+
Nr as themePresets,
|
|
14103
14097
|
Ri as useApplicant,
|
|
14104
|
-
|
|
14105
|
-
|
|
14106
|
-
|
|
14098
|
+
Mn as useAppropriatenessTest,
|
|
14099
|
+
fa as useIdentityVerification,
|
|
14100
|
+
da as useKycWorkflow,
|
|
14107
14101
|
Ee as useMetaKYC,
|
|
14108
|
-
|
|
14109
|
-
|
|
14110
|
-
|
|
14111
|
-
|
|
14102
|
+
ma as useMetaKYCFlow,
|
|
14103
|
+
ga as useOverview,
|
|
14104
|
+
ua as useQuestionnaire,
|
|
14105
|
+
ya as useRiskScoring,
|
|
14112
14106
|
je as useTranslation,
|
|
14113
|
-
|
|
14114
|
-
|
|
14115
|
-
|
|
14107
|
+
pa as useUploadDocument,
|
|
14108
|
+
In as validateFileSize,
|
|
14109
|
+
An as validateFileType
|
|
14116
14110
|
};
|
|
14117
14111
|
//# sourceMappingURL=index.js.map
|