@vpdev2/metakyc 1.0.83 → 1.0.85

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/index.js CHANGED
@@ -200,7 +200,7 @@ const ii = {
200
200
  warn: 2,
201
201
  info: 3,
202
202
  debug: 4
203
- }, xe = {
203
+ }, we = {
204
204
  prefix: "color:#6366f1;font-weight:bold",
205
205
  arrow: "color:#9ca3af",
206
206
  method: "color:#22d3ee;font-weight:bold",
@@ -229,43 +229,43 @@ class rr {
229
229
  if (!this.shouldLog("debug")) return n;
230
230
  const o = [
231
231
  `%c[MetaKYC]%c →%c ${t}%c ${a}`,
232
- xe.prefix,
233
- xe.arrow,
234
- xe.method,
235
- xe.url
232
+ we.prefix,
233
+ we.arrow,
234
+ we.method,
235
+ we.url
236
236
  ];
237
- return r && Object.keys(r).length > 0 ? (console.groupCollapsed(...o), console.log("%cPayload:", xe.dim, r), console.groupEnd()) : console.log(...o), n;
237
+ return r && Object.keys(r).length > 0 ? (console.groupCollapsed(...o), console.log("%cPayload:", we.dim, r), console.groupEnd()) : console.log(...o), n;
238
238
  }
239
239
  response(t, a, r, n, o) {
240
240
  if (!this.shouldLog("debug")) return;
241
241
  const l = r >= 200 && r < 300, d = [
242
242
  `%c[MetaKYC]%c ←%c ${r}%c ${t} ${a.split("/").pop()} %c(${n}ms)`,
243
- xe.prefix,
244
- xe.arrow,
245
- l ? xe.status : xe.statusErr,
246
- xe.dim,
247
- xe.timing
243
+ we.prefix,
244
+ we.arrow,
245
+ l ? we.status : we.statusErr,
246
+ we.dim,
247
+ we.timing
248
248
  ];
249
- o && this.shouldLog("debug") ? (console.groupCollapsed(...d), console.log("%cResponse:", xe.dim, o), console.groupEnd()) : console.log(...d);
249
+ o && this.shouldLog("debug") ? (console.groupCollapsed(...d), console.log("%cResponse:", we.dim, o), console.groupEnd()) : console.log(...d);
250
250
  }
251
251
  error(t, a, r, n) {
252
252
  this.shouldLog("error") && (console.log(
253
253
  `%c[MetaKYC]%c ✗%c ${t} ${a.split("/").pop()} %cfailed %c(${n}ms)`,
254
- xe.prefix,
255
- xe.statusErr,
256
- xe.dim,
257
- xe.statusErr,
258
- xe.timing
254
+ we.prefix,
255
+ we.statusErr,
256
+ we.dim,
257
+ we.statusErr,
258
+ we.timing
259
259
  ), this.shouldLog("debug") && console.error(r));
260
260
  }
261
261
  info(t, ...a) {
262
- this.shouldLog("info") && console.log(`%c[MetaKYC]%c ${t}`, xe.prefix, xe.dim, ...a);
262
+ this.shouldLog("info") && console.log(`%c[MetaKYC]%c ${t}`, we.prefix, we.dim, ...a);
263
263
  }
264
264
  warn(t, ...a) {
265
- this.shouldLog("warn") && console.warn(`%c[MetaKYC]%c ${t}`, xe.prefix, xe.dim, ...a);
265
+ this.shouldLog("warn") && console.warn(`%c[MetaKYC]%c ${t}`, we.prefix, we.dim, ...a);
266
266
  }
267
267
  debug(t, ...a) {
268
- this.shouldLog("debug") && console.log(`%c[MetaKYC]%c ${t}`, xe.prefix, xe.dim, ...a);
268
+ this.shouldLog("debug") && console.log(`%c[MetaKYC]%c ${t}`, we.prefix, we.dim, ...a);
269
269
  }
270
270
  }
271
271
  const _ = new rr(), ar = 16, ri = 32;
@@ -428,7 +428,7 @@ class sr {
428
428
  }
429
429
  class Tn {
430
430
  static async createToken(t) {
431
- const { baseUrl: a, apiKey: r, secretKey: n, tenantId: o, clientId: l, externalRefId: d, workflowKey: u, email: m, isCompany: g, tenantClientId: y, applicant: x } = t, A = t.enableEncryption !== !1;
431
+ const { baseUrl: a, apiKey: r, secretKey: n, tenantId: o, clientId: l, externalRefId: d, workflowKey: u, email: m, isCompany: g, tenantClientId: y, applicant: w } = t, A = t.enableEncryption !== !1;
432
432
  if (!o && !l)
433
433
  throw new Error("Either tenantId or clientId must be provided.");
434
434
  if (!d)
@@ -444,7 +444,7 @@ class Tn {
444
444
  workflowKey: u,
445
445
  email: m
446
446
  };
447
- o != null && (S.tenantId = o), l && (S.clientId = l), g != null && (S.isCompany = g), y != null && (S.tenantClientId = y), x && (S.applicant = x), A && (S.sdkPublicKey = "1");
447
+ o != null && (S.tenantId = o), l && (S.clientId = l), g != null && (S.isCompany = g), y != null && (S.tenantClientId = y), w && (S.applicant = w), A && (S.sdkPublicKey = "1");
448
448
  const N = (await Si.post(
449
449
  `${a.replace(/\/+$/, "")}/api/SdkSession/CreateToken`,
450
450
  S,
@@ -1072,7 +1072,7 @@ const Ve = {
1072
1072
  cardPadding: "2rem",
1073
1073
  inputHeight: "3rem"
1074
1074
  }
1075
- }, wr = {
1075
+ }, xr = {
1076
1076
  name: "Minimal",
1077
1077
  logo: {
1078
1078
  url: "",
@@ -1105,16 +1105,16 @@ const Ve = {
1105
1105
  cardPadding: "1.25rem",
1106
1106
  inputHeight: "2.25rem"
1107
1107
  }
1108
- }, xr = {
1108
+ }, wr = {
1109
1109
  [Be.Default]: Ve,
1110
1110
  [Be.Corporate]: hr,
1111
1111
  [Be.Fintech]: kr,
1112
1112
  [Be.Healthcare]: vr,
1113
1113
  [Be.Modern]: br,
1114
- [Be.Minimal]: wr
1114
+ [Be.Minimal]: xr
1115
1115
  };
1116
1116
  function Nt(e) {
1117
- return xr[e] || Ve;
1117
+ return wr[e] || Ve;
1118
1118
  }
1119
1119
  class Sr {
1120
1120
  constructor(t) {
@@ -7155,7 +7155,7 @@ function ie(e, t) {
7155
7155
  const r = Jr.exec(a);
7156
7156
  return r ? t(r[1]) : e;
7157
7157
  }
7158
- const Yt = "1.0.83", Ri = Gt(null), di = `metakyc-translations-${Yt}-`, ea = ({
7158
+ const Yt = "1.0.85", Ri = Gt(null), di = `metakyc-translations-${Yt}-`, ea = ({
7159
7159
  locale: e,
7160
7160
  fetchTranslations: t,
7161
7161
  children: a
@@ -7209,7 +7209,7 @@ function Ie() {
7209
7209
  }
7210
7210
  return e;
7211
7211
  }
7212
- const Ai = Gt(null), ta = '.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;--metakyc-shell-padding-x: 1.5rem;--metakyc-shell-padding-y: 1.5rem;padding:1.5rem!important;border-radius:.75rem!important}@media(max-width:767px){.metakyc-sdk{--metakyc-shell-padding-x: 12px;--metakyc-shell-padding-y: 12px}}.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[dir=rtl]{direction:rtl!important;text-align:right!important}.metakyc-sdk[dir=rtl] .text-center{text-align:center!important}.metakyc-sdk[dir=rtl] .text-left{text-align:right!important}.metakyc-sdk[dir=rtl] .text-right{text-align:left!important}.metakyc-sdk[dir=rtl] .metakyc-stepper-scroll{direction:rtl!important}.metakyc-sdk[dir=rtl] .ml-1{margin-left:0!important;margin-right:.25rem!important}.metakyc-sdk[dir=rtl] .ml-2{margin-left:0!important;margin-right:.5rem!important}.metakyc-sdk[dir=rtl] .ml-3{margin-left:0!important;margin-right:.75rem!important}.metakyc-sdk[dir=rtl] .ml-4{margin-left:0!important;margin-right:1rem!important}.metakyc-sdk[dir=rtl] .mr-1{margin-right:0!important;margin-left:.25rem!important}.metakyc-sdk[dir=rtl] .mr-2{margin-right:0!important;margin-left:.5rem!important}.metakyc-sdk[dir=rtl] .mr-3{margin-right:0!important;margin-left:.75rem!important}.metakyc-sdk[dir=rtl] .mr-4{margin-right:0!important;margin-left:1rem!important}.metakyc-sdk[dir=rtl] .pl-1{padding-left:0!important;padding-right:.25rem!important}.metakyc-sdk[dir=rtl] .pl-2{padding-left:0!important;padding-right:.5rem!important}.metakyc-sdk[dir=rtl] .pl-4{padding-left:0!important;padding-right:1rem!important}.metakyc-sdk[dir=rtl] .pr-1{padding-right:0!important;padding-left:.25rem!important}.metakyc-sdk[dir=rtl] .pr-2{padding-right:0!important;padding-left:.5rem!important}.metakyc-sdk[dir=rtl] .pr-4{padding-right:0!important;padding-left:1rem!important}.metakyc-sdk[dir=rtl] input[type=checkbox]:checked:after{left:auto!important;right:4px!important}.metakyc-sdk[dir=rtl] input,.metakyc-sdk[dir=rtl] textarea,.metakyc-sdk[dir=rtl] select{text-align:right!important}.metakyc-sdk[dir=rtl] input[type=email],.metakyc-sdk[dir=rtl] input[type=tel],.metakyc-sdk[dir=rtl] input[type=url],.metakyc-sdk[dir=rtl] input[type=number]{direction:ltr!important;text-align:left!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))}}', ui = "metakyc-sdk-styles";
7212
+ const Ai = Gt(null), ta = '.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;--metakyc-shell-padding-x: 1.5rem;--metakyc-shell-padding-y: 1.5rem;--metakyc-card-header-px: 1.5rem;--metakyc-card-header-py: 1rem;padding:1.5rem!important;border-radius:.75rem!important}@media(max-width:767px){.metakyc-sdk{--metakyc-shell-padding-x: 12px;--metakyc-shell-padding-y: 12px;--metakyc-card-header-px: 12px;--metakyc-card-header-py: 12px}}.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[dir=rtl]{direction:rtl!important;text-align:right!important}.metakyc-sdk[dir=rtl] .text-center{text-align:center!important}.metakyc-sdk[dir=rtl] .text-left{text-align:right!important}.metakyc-sdk[dir=rtl] .text-right{text-align:left!important}.metakyc-sdk[dir=rtl] .metakyc-stepper-scroll{direction:rtl!important}.metakyc-sdk[dir=rtl] .ml-1{margin-left:0!important;margin-right:.25rem!important}.metakyc-sdk[dir=rtl] .ml-2{margin-left:0!important;margin-right:.5rem!important}.metakyc-sdk[dir=rtl] .ml-3{margin-left:0!important;margin-right:.75rem!important}.metakyc-sdk[dir=rtl] .ml-4{margin-left:0!important;margin-right:1rem!important}.metakyc-sdk[dir=rtl] .mr-1{margin-right:0!important;margin-left:.25rem!important}.metakyc-sdk[dir=rtl] .mr-2{margin-right:0!important;margin-left:.5rem!important}.metakyc-sdk[dir=rtl] .mr-3{margin-right:0!important;margin-left:.75rem!important}.metakyc-sdk[dir=rtl] .mr-4{margin-right:0!important;margin-left:1rem!important}.metakyc-sdk[dir=rtl] .pl-1{padding-left:0!important;padding-right:.25rem!important}.metakyc-sdk[dir=rtl] .pl-2{padding-left:0!important;padding-right:.5rem!important}.metakyc-sdk[dir=rtl] .pl-4{padding-left:0!important;padding-right:1rem!important}.metakyc-sdk[dir=rtl] .pr-1{padding-right:0!important;padding-left:.25rem!important}.metakyc-sdk[dir=rtl] .pr-2{padding-right:0!important;padding-left:.5rem!important}.metakyc-sdk[dir=rtl] .pr-4{padding-right:0!important;padding-left:1rem!important}.metakyc-sdk[dir=rtl] input[type=checkbox]:checked:after{left:auto!important;right:4px!important}.metakyc-sdk[dir=rtl] input,.metakyc-sdk[dir=rtl] textarea,.metakyc-sdk[dir=rtl] select{text-align:right!important}.metakyc-sdk[dir=rtl] input[type=email],.metakyc-sdk[dir=rtl] input[type=tel],.metakyc-sdk[dir=rtl] input[type=url],.metakyc-sdk[dir=rtl] input[type=number]{direction:ltr!important;text-align:left!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))}}', ui = "metakyc-sdk-styles";
7213
7213
  let Vt = !1;
7214
7214
  function ia() {
7215
7215
  if (Vt || typeof document > "u") return;
@@ -7224,7 +7224,7 @@ const mi = "metakyc-theme-cache", An = ({ config: e, children: t }) => {
7224
7224
  ia();
7225
7225
  const [a, r] = T(null), [n, o] = T(e.locale || "en"), l = ye.useRef(!1), d = ye.useRef(!1), u = Ue(() => {
7226
7226
  _.setLevel(e.debug ?? e.logLevel ?? "none"), _.info(`SDK v${Yt} initializing — baseUrl=${e.baseUrl}`);
7227
- const x = new sr(e), A = new lr(x), S = new cr(x), B = new dr(x), N = new ur(x), U = new mr(x), K = new pr(x), O = new gr(x), M = new fr(x), Y = new yr(x), G = new Sr(x), Q = new Cr(x), v = new Pr();
7227
+ const w = new sr(e), A = new lr(w), S = new cr(w), B = new dr(w), N = new ur(w), U = new mr(w), K = new pr(w), O = new gr(w), M = new fr(w), Y = new yr(w), G = new Sr(w), Q = new Cr(w), v = new Pr();
7228
7228
  if (typeof document < "u")
7229
7229
  if (e.theme)
7230
7230
  v.applyTheme(e.theme);
@@ -7236,7 +7236,7 @@ const mi = "metakyc-theme-cache", An = ({ config: e, children: t }) => {
7236
7236
  v.applyTheme(Ve);
7237
7237
  }
7238
7238
  return {
7239
- httpClient: x,
7239
+ httpClient: w,
7240
7240
  applicantService: A,
7241
7241
  questionnaireService: S,
7242
7242
  uploadDocumentService: B,
@@ -7250,8 +7250,8 @@ const mi = "metakyc-theme-cache", An = ({ config: e, children: t }) => {
7250
7250
  translationService: Q,
7251
7251
  themeManager: v
7252
7252
  };
7253
- }, [e]), m = ee((x) => {
7254
- o(x.toLowerCase().split(/[-_]/)[0]);
7253
+ }, [e]), m = ee((w) => {
7254
+ o(w.toLowerCase().split(/[-_]/)[0]);
7255
7255
  }, []), g = Ue(() => ({
7256
7256
  config: e,
7257
7257
  ...u,
@@ -7297,7 +7297,7 @@ const mi = "metakyc-theme-cache", An = ({ config: e, children: t }) => {
7297
7297
  u.themeManager.cleanup();
7298
7298
  }), []);
7299
7299
  const y = ee(
7300
- (x) => u.translationService.getTranslations(x),
7300
+ (w) => u.translationService.getTranslations(w),
7301
7301
  [u.translationService]
7302
7302
  );
7303
7303
  return /* @__PURE__ */ i(Ai.Provider, { value: g, children: /* @__PURE__ */ s(
@@ -7424,7 +7424,7 @@ function sa(e) {
7424
7424
  nextWorkflowKey: r.nextWorkflowKey
7425
7425
  });
7426
7426
  }, [r, g]);
7427
- const y = pe(!1), x = pe(void 0), A = ee(async () => {
7427
+ const y = pe(!1), w = pe(void 0), A = ee(async () => {
7428
7428
  if (!(!g || !m.current)) {
7429
7429
  if (y.current) {
7430
7430
  _.debug("Workflow load already in progress, skipping");
@@ -7433,7 +7433,7 @@ function sa(e) {
7433
7433
  y.current = !0, l(!0), u(null);
7434
7434
  try {
7435
7435
  const M = await m.current.initialize(g);
7436
- n(M), x.current = g;
7436
+ n(M), w.current = g;
7437
7437
  } catch (M) {
7438
7438
  u(M);
7439
7439
  } finally {
@@ -7442,7 +7442,7 @@ function sa(e) {
7442
7442
  }
7443
7443
  }, [g]);
7444
7444
  fe(() => {
7445
- g && x.current !== g && A();
7445
+ g && w.current !== g && A();
7446
7446
  }, [g, A]);
7447
7447
  const S = ee(async () => {
7448
7448
  if (m.current) {
@@ -7521,7 +7521,7 @@ function sa(e) {
7521
7521
  }
7522
7522
  function la(e) {
7523
7523
  var Y;
7524
- const { applicantService: t, config: a } = Se(), [r, n] = T(null), [o, l] = T(!0), [d, u] = T(null), [m, g] = T(), [y, x] = T(), A = pe(!1), S = ee(async () => {
7524
+ const { applicantService: t, config: a } = Se(), [r, n] = T(null), [o, l] = T(!0), [d, u] = T(null), [m, g] = T(), [y, w] = T(), A = pe(!1), S = ee(async () => {
7525
7525
  try {
7526
7526
  l(!0), u(null);
7527
7527
  const G = await t.getSdkState();
@@ -7536,9 +7536,9 @@ function la(e) {
7536
7536
  A.current || S();
7537
7537
  }, [S]);
7538
7538
  const B = ee((G) => {
7539
- _.info(`Transitioning to workflow → applicantId=${G}`), g(G), x("workflow");
7539
+ _.info(`Transitioning to workflow → applicantId=${G}`), g(G), w("workflow");
7540
7540
  }, []), N = ee((G) => {
7541
- _.info(`Switching applicant → newApplicantId=${G}`), g(G), x("workflow");
7541
+ _.info(`Switching applicant → newApplicantId=${G}`), g(G), w("workflow");
7542
7542
  }, []), U = y || (r == null ? void 0 : r.phase) || "loading", K = m || (r == null ? void 0 : r.applicantId), O = e ?? (r == null ? void 0 : r.isCompany) ?? !1, M = (r == null ? void 0 : r.workflowKey) || ((Y = a.applicantForm) == null ? void 0 : Y.workflowKey);
7543
7543
  return {
7544
7544
  phase: d ? "error" : o ? "loading" : U,
@@ -7553,14 +7553,14 @@ function la(e) {
7553
7553
  };
7554
7554
  }
7555
7555
  function ca(e) {
7556
- const { questionnaireService: t, applicantService: a } = Se(), [r, n] = T(null), [o, l] = T({}), [d, u] = T(!1), [m, g] = T(!1), [y, x] = T(null), A = pe(!1), S = pe(null), B = ee(async () => {
7556
+ const { questionnaireService: t, applicantService: a } = Se(), [r, n] = T(null), [o, l] = T({}), [d, u] = T(!1), [m, g] = T(!1), [y, w] = T(null), A = pe(!1), S = pe(null), B = ee(async () => {
7557
7557
  var U, K;
7558
7558
  if (e) {
7559
7559
  if (A.current) {
7560
7560
  _.debug("Questionnaire load already in progress, skipping");
7561
7561
  return;
7562
7562
  }
7563
- A.current = !0, u(!0), x(null);
7563
+ A.current = !0, u(!0), w(null);
7564
7564
  try {
7565
7565
  const [O, M] = await Promise.all([
7566
7566
  t.getQuestionnaire(e),
@@ -7579,7 +7579,7 @@ function ca(e) {
7579
7579
  }
7580
7580
  S.current = e;
7581
7581
  } catch (O) {
7582
- x(O);
7582
+ w(O);
7583
7583
  } finally {
7584
7584
  u(!1), A.current = !1;
7585
7585
  }
@@ -7590,11 +7590,11 @@ function ca(e) {
7590
7590
  }, [e]);
7591
7591
  const N = ee(
7592
7592
  async (U) => {
7593
- g(!0), x(null);
7593
+ g(!0), w(null);
7594
7594
  try {
7595
7595
  return await t.fillQuestionnaire(U);
7596
7596
  } catch (K) {
7597
- throw x(K), K;
7597
+ throw w(K), K;
7598
7598
  } finally {
7599
7599
  g(!1);
7600
7600
  }
@@ -7612,20 +7612,20 @@ function ca(e) {
7612
7612
  };
7613
7613
  }
7614
7614
  function da(e) {
7615
- const { uploadDocumentService: t } = Se(), [a, r] = T(null), [n, o] = T(!1), [l, d] = T(!1), [u, m] = T(0), [g, y] = T(null), x = pe(!1), A = pe(null), S = ee(async () => {
7615
+ const { uploadDocumentService: t } = Se(), [a, r] = T(null), [n, o] = T(!1), [l, d] = T(!1), [u, m] = T(0), [g, y] = T(null), w = pe(!1), A = pe(null), S = ee(async () => {
7616
7616
  if (e) {
7617
- if (x.current) {
7617
+ if (w.current) {
7618
7618
  _.debug("UploadDocument load already in progress, skipping");
7619
7619
  return;
7620
7620
  }
7621
- x.current = !0, o(!0), y(null);
7621
+ w.current = !0, o(!0), y(null);
7622
7622
  try {
7623
7623
  const N = await t.getUploadDocument(e);
7624
7624
  r(N), A.current = e;
7625
7625
  } catch (N) {
7626
7626
  y(N);
7627
7627
  } finally {
7628
- o(!1), x.current = !1;
7628
+ o(!1), w.current = !1;
7629
7629
  }
7630
7630
  }
7631
7631
  }, [e, t]);
@@ -7656,20 +7656,20 @@ function da(e) {
7656
7656
  };
7657
7657
  }
7658
7658
  function jn(e) {
7659
- const { appropriatenessTestService: t } = Se(), [a, r] = T(null), [n, o] = T(!1), [l, d] = T(!1), [u, m] = T(null), [g, y] = T(null), x = pe(!1), A = pe(null), S = ee(async () => {
7659
+ const { appropriatenessTestService: t } = Se(), [a, r] = T(null), [n, o] = T(!1), [l, d] = T(!1), [u, m] = T(null), [g, y] = T(null), w = pe(!1), A = pe(null), S = ee(async () => {
7660
7660
  if (e) {
7661
- if (x.current) {
7661
+ if (w.current) {
7662
7662
  _.debug("AppropriatenessTest load already in progress, skipping");
7663
7663
  return;
7664
7664
  }
7665
- x.current = !0, o(!0), m(null);
7665
+ w.current = !0, o(!0), m(null);
7666
7666
  try {
7667
7667
  const N = await t.getAppropriatenessTest(e);
7668
7668
  r(N), A.current = e;
7669
7669
  } catch (N) {
7670
7670
  m(N);
7671
7671
  } finally {
7672
- o(!1), x.current = !1;
7672
+ o(!1), w.current = !1;
7673
7673
  }
7674
7674
  }
7675
7675
  }, [e, t]);
@@ -7701,7 +7701,7 @@ function jn(e) {
7701
7701
  };
7702
7702
  }
7703
7703
  function ua(e) {
7704
- const { overviewService: t } = Se(), [a, r] = T(null), [n, o] = T(!1), [l, d] = T(!1), [u, m] = T(null), g = pe(!1), y = pe(null), x = ee(async () => {
7704
+ const { overviewService: t } = Se(), [a, r] = T(null), [n, o] = T(!1), [l, d] = T(!1), [u, m] = T(null), g = pe(!1), y = pe(null), w = ee(async () => {
7705
7705
  if (e) {
7706
7706
  if (g.current) {
7707
7707
  _.debug("Overview load already in progress, skipping");
@@ -7719,7 +7719,7 @@ function ua(e) {
7719
7719
  }
7720
7720
  }, [e, t]);
7721
7721
  fe(() => {
7722
- e && y.current !== e && x();
7722
+ e && y.current !== e && w();
7723
7723
  }, [e]);
7724
7724
  const A = ee(async () => {
7725
7725
  if (e) {
@@ -7738,7 +7738,7 @@ function ua(e) {
7738
7738
  isLoading: n,
7739
7739
  isSubmitting: l,
7740
7740
  error: u,
7741
- load: x,
7741
+ load: w,
7742
7742
  passOverview: A
7743
7743
  };
7744
7744
  }
@@ -7746,7 +7746,7 @@ function ma(e) {
7746
7746
  const { identityService: t } = Se(), [a, r] = T(
7747
7747
  null
7748
7748
  ), [n, o] = T(!1), [l, d] = T(null), u = pe(!1), m = ee(
7749
- async (x, A) => {
7749
+ async (w, A) => {
7750
7750
  if (e) {
7751
7751
  if (u.current) {
7752
7752
  _.debug("Identity request already in progress, skipping");
@@ -7757,7 +7757,7 @@ function ma(e) {
7757
7757
  const S = {
7758
7758
  applicantId: e,
7759
7759
  restart: !1,
7760
- redirectUrl: x || "",
7760
+ redirectUrl: w || "",
7761
7761
  ttl: A || 604800
7762
7762
  };
7763
7763
  _.debug("Identity request input:", S);
@@ -7772,14 +7772,14 @@ function ma(e) {
7772
7772
  },
7773
7773
  [e, t]
7774
7774
  ), g = ee(
7775
- async (x, A) => {
7775
+ async (w, A) => {
7776
7776
  if (e) {
7777
7777
  o(!0), d(null);
7778
7778
  try {
7779
7779
  const S = {
7780
7780
  applicantId: e,
7781
7781
  restart: !1,
7782
- redirectUrl: x,
7782
+ redirectUrl: w,
7783
7783
  ttl: A
7784
7784
  }, B = await t.identityCompanyRequest(S);
7785
7785
  return r(B), B;
@@ -7799,17 +7799,17 @@ function ma(e) {
7799
7799
  }
7800
7800
  u.current = !0, o(!0), d(null);
7801
7801
  try {
7802
- const x = {
7802
+ const w = {
7803
7803
  applicantId: e,
7804
7804
  restart: !0,
7805
7805
  redirectUrl: "",
7806
7806
  ttl: 604800
7807
7807
  };
7808
- _.debug("Restarting identity with input:", x);
7809
- const A = await t.identityRequest(x);
7808
+ _.debug("Restarting identity with input:", w);
7809
+ const A = await t.identityRequest(w);
7810
7810
  return _.debug("Restart identity result:", A), r(A), A;
7811
- } catch (x) {
7812
- throw d(x), x;
7811
+ } catch (w) {
7812
+ throw d(w), w;
7813
7813
  } finally {
7814
7814
  o(!1), u.current = !1;
7815
7815
  }
@@ -7827,14 +7827,14 @@ function ma(e) {
7827
7827
  };
7828
7828
  }
7829
7829
  function pa(e) {
7830
- const { riskScoringService: t, applicantService: a } = Se(), [r, n] = T(null), [o, l] = T({}), [d, u] = T(!1), [m, g] = T(!1), [y, x] = T(null), [A, S] = T(null), B = pe(!1), N = pe(null), U = ee(async () => {
7830
+ const { riskScoringService: t, applicantService: a } = Se(), [r, n] = T(null), [o, l] = T({}), [d, u] = T(!1), [m, g] = T(!1), [y, w] = T(null), [A, S] = T(null), B = pe(!1), N = pe(null), U = ee(async () => {
7831
7831
  var O;
7832
7832
  if (e) {
7833
7833
  if (B.current) {
7834
7834
  _.debug("RiskScoring load already in progress, skipping");
7835
7835
  return;
7836
7836
  }
7837
- B.current = !0, u(!0), x(null);
7837
+ B.current = !0, u(!0), w(null);
7838
7838
  try {
7839
7839
  const [M, Y] = await Promise.all([
7840
7840
  t.getRiskCriterias(e),
@@ -7853,7 +7853,7 @@ function pa(e) {
7853
7853
  }
7854
7854
  N.current = e;
7855
7855
  } catch (M) {
7856
- x(M);
7856
+ w(M);
7857
7857
  } finally {
7858
7858
  u(!1), B.current = !1;
7859
7859
  }
@@ -7864,12 +7864,12 @@ function pa(e) {
7864
7864
  }, [e]);
7865
7865
  const K = ee(
7866
7866
  async (O) => {
7867
- g(!0), x(null);
7867
+ g(!0), w(null);
7868
7868
  try {
7869
7869
  const M = await t.submitRiskScoring(O);
7870
7870
  return S(M), M;
7871
7871
  } catch (M) {
7872
- throw x(M), M;
7872
+ throw w(M), M;
7873
7873
  } finally {
7874
7874
  g(!1);
7875
7875
  }
@@ -7937,7 +7937,7 @@ function Ii() {
7937
7937
  }
7938
7938
  },
7939
7939
  [e]
7940
- ), x = ee(
7940
+ ), w = ee(
7941
7941
  async (A) => {
7942
7942
  r(!0), o(null);
7943
7943
  try {
@@ -7956,7 +7956,7 @@ function Ii() {
7956
7956
  createApplicant: m,
7957
7957
  createCompanyApplicant: g,
7958
7958
  getApplicantData: y,
7959
- stopProgress: x
7959
+ stopProgress: w
7960
7960
  };
7961
7961
  }
7962
7962
  const ga = {
@@ -8370,7 +8370,7 @@ const pi = 280, ha = ({
8370
8370
  readOnly: l = !1,
8371
8371
  required: d = !1
8372
8372
  }) => {
8373
- const { t: u } = Ie(), m = n ?? u("common.select"), g = o || l, [y, x] = T(!1), [A, S] = T(""), [B, N] = T(null), [U, K] = T({
8373
+ const { t: u } = Ie(), m = n ?? u("common.select"), g = o || l, [y, w] = T(!1), [A, S] = T(""), [B, N] = T(null), [U, K] = T({
8374
8374
  bg: "#ffffff",
8375
8375
  borderColor: "#d1d5db",
8376
8376
  textPrimary: "#111827",
@@ -8397,9 +8397,9 @@ const pi = 280, ha = ({
8397
8397
  if (g) return;
8398
8398
  Q();
8399
8399
  const R = G();
8400
- R && N(R), x(!0);
8400
+ R && N(R), w(!0);
8401
8401
  }, [g, G, Q]), z = ee(() => {
8402
- x(!1), S("");
8402
+ w(!1), S("");
8403
8403
  }, []);
8404
8404
  fe(() => {
8405
8405
  if (!y) return;
@@ -8642,7 +8642,7 @@ const pi = 280, ha = ({
8642
8642
  className: g
8643
8643
  }) => {
8644
8644
  var ge;
8645
- const { t: y } = Ie(), x = n ?? y("common.select"), A = d || u, [S, B] = T(!1), [N, U] = T(""), [K, O] = T(null), [M, Y] = T({
8645
+ const { t: y } = Ie(), w = n ?? y("common.select"), A = d || u, [S, B] = T(!1), [N, U] = T(""), [K, O] = T(null), [M, Y] = T({
8646
8646
  bg: "#ffffff",
8647
8647
  border: "#d1d5db",
8648
8648
  text: "#111827",
@@ -8840,7 +8840,7 @@ const pi = 280, ha = ({
8840
8840
  outlineOffset: "-1px"
8841
8841
  },
8842
8842
  children: [
8843
- /* @__PURE__ */ i("span", { className: "truncate flex-1", children: de || x }),
8843
+ /* @__PURE__ */ i("span", { className: "truncate flex-1", children: de || w }),
8844
8844
  /* @__PURE__ */ i(
8845
8845
  "span",
8846
8846
  {
@@ -8876,7 +8876,7 @@ const va = ({
8876
8876
  value: u = [],
8877
8877
  className: m
8878
8878
  }) => {
8879
- const { t: g } = Ie(), [y, x] = T(!1), [A, S] = T(null), B = pe(null), N = ee((v) => {
8879
+ const { t: g } = Ie(), [y, w] = T(!1), [A, S] = T(null), B = pe(null), N = ee((v) => {
8880
8880
  if (!v) return;
8881
8881
  S(null);
8882
8882
  const z = Array.from(v);
@@ -8886,11 +8886,11 @@ const va = ({
8886
8886
  }
8887
8887
  d == null || d(n ? [...u, ...z] : [z[0]]);
8888
8888
  }, [o, n, d, u]), U = ee((v) => {
8889
- v.preventDefault(), v.stopPropagation(), x(!0);
8889
+ v.preventDefault(), v.stopPropagation(), w(!0);
8890
8890
  }, []), K = ee((v) => {
8891
- v.preventDefault(), v.stopPropagation(), x(!1);
8891
+ v.preventDefault(), v.stopPropagation(), w(!1);
8892
8892
  }, []), O = ee((v) => {
8893
- v.preventDefault(), v.stopPropagation(), x(!1), N(v.dataTransfer.files);
8893
+ v.preventDefault(), v.stopPropagation(), w(!1), N(v.dataTransfer.files);
8894
8894
  }, [N]), M = () => {
8895
8895
  var v;
8896
8896
  (v = B.current) == null || v.click();
@@ -9164,14 +9164,14 @@ const Li = (...e) => e.filter((t, a, r) => !!t && t.trim() !== "" && r.indexOf(t
9164
9164
  * This source code is licensed under the ISC license.
9165
9165
  * See the LICENSE file in the root directory of this source tree.
9166
9166
  */
9167
- const wa = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
9167
+ const xa = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
9168
9168
  /**
9169
9169
  * @license lucide-react v0.574.0 - ISC
9170
9170
  *
9171
9171
  * This source code is licensed under the ISC license.
9172
9172
  * See the LICENSE file in the root directory of this source tree.
9173
9173
  */
9174
- const xa = (e) => e.replace(
9174
+ const wa = (e) => e.replace(
9175
9175
  /^([A-Z])|[\s-_]+(\w)/g,
9176
9176
  (t, a, r) => r ? r.toUpperCase() : a.toLowerCase()
9177
9177
  );
@@ -9182,7 +9182,7 @@ const xa = (e) => e.replace(
9182
9182
  * See the LICENSE file in the root directory of this source tree.
9183
9183
  */
9184
9184
  const fi = (e) => {
9185
- const t = xa(e);
9185
+ const t = wa(e);
9186
9186
  return t.charAt(0).toUpperCase() + t.slice(1);
9187
9187
  };
9188
9188
  /**
@@ -9261,7 +9261,7 @@ const Ei = (e, t) => {
9261
9261
  ref: o,
9262
9262
  iconNode: t,
9263
9263
  className: Li(
9264
- `lucide-${wa(fi(e))}`,
9264
+ `lucide-${xa(fi(e))}`,
9265
9265
  `lucide-${e}`,
9266
9266
  r
9267
9267
  ),
@@ -9328,7 +9328,7 @@ const za = ({
9328
9328
  onComplete: t,
9329
9329
  onBack: a
9330
9330
  }) => {
9331
- const { t: r } = Ie(), { questionnaire: n, initialAnswers: o, isLoading: l, isSubmitting: d, error: u, submit: m } = ca(e), [g, y] = T({}), [x, A] = T({}), [S, B] = T(0);
9331
+ const { t: r } = Ie(), { questionnaire: n, initialAnswers: o, isLoading: l, isSubmitting: d, error: u, submit: m } = ca(e), [g, y] = T({}), [w, A] = T({}), [S, B] = T(0);
9332
9332
  ye.useEffect(() => {
9333
9333
  o && Object.keys(o).length > 0 && Object.keys(g).length === 0 && y(o);
9334
9334
  }, [o]);
@@ -9398,7 +9398,7 @@ const za = ({
9398
9398
  {
9399
9399
  question: v,
9400
9400
  value: g[v.id] ?? [],
9401
- error: x[v.id],
9401
+ error: w[v.id],
9402
9402
  onChange: (z) => O(v.id, z)
9403
9403
  },
9404
9404
  v.id
@@ -9549,7 +9549,7 @@ const Da = ({
9549
9549
  onComplete: t,
9550
9550
  onBack: a
9551
9551
  }) => {
9552
- const { t: r } = Ie(), { uploadDocument: n, isLoading: o, isSubmitting: l, error: d, submit: u } = da(e), [m, g] = T({}), [y, x] = T(null), [A, S] = T(0), [B, N] = T({}), U = Ue(
9552
+ const { t: r } = Ie(), { uploadDocument: n, isLoading: o, isSubmitting: l, error: d, submit: u } = da(e), [m, g] = T({}), [y, w] = T(null), [A, S] = T(0), [B, N] = T({}), U = Ue(
9553
9553
  () => n ? Ea(n.uploadDocumentFiles) : [],
9554
9554
  [n]
9555
9555
  ), K = U[A] ?? [], O = A === U.length - 1, M = U.length, Y = ee(() => {
@@ -9563,7 +9563,7 @@ const Da = ({
9563
9563
  A > 0 ? (S((z) => z - 1), N({})) : a == null || a();
9564
9564
  }, v = async () => {
9565
9565
  if (!(!Y() || !n)) {
9566
- x(null);
9566
+ w(null);
9567
9567
  try {
9568
9568
  const z = await Promise.all(
9569
9569
  n.uploadDocumentFiles.map(async (X) => {
@@ -9585,7 +9585,7 @@ const Da = ({
9585
9585
  };
9586
9586
  await u(F), t == null || t();
9587
9587
  } catch (z) {
9588
- x((z == null ? void 0 : z.message) || r("uploadDocument.failedToSubmit"));
9588
+ w((z == null ? void 0 : z.message) || r("uploadDocument.failedToSubmit"));
9589
9589
  }
9590
9590
  }
9591
9591
  };
@@ -9698,7 +9698,7 @@ const Da = ({
9698
9698
  error: B[z.id],
9699
9699
  value: m[z.id] || [],
9700
9700
  onChange: (F) => {
9701
- x(null), N((X) => {
9701
+ w(null), N((X) => {
9702
9702
  const te = { ...X };
9703
9703
  return delete te[z.id], te;
9704
9704
  }), g((X) => ({ ...X, [z.id]: F }));
@@ -9867,9 +9867,9 @@ const qa = ({
9867
9867
  onComplete: t,
9868
9868
  onBack: a
9869
9869
  }) => {
9870
- const { t: r } = Ie(), { config: n } = Se(), o = n.locale ?? "en", { criteria: l, initialAnswers: d, isLoading: u, isSubmitting: m, error: g, submit: y } = pa(e), [x, A] = T({}), [S, B] = T({}), [N, U] = T(0), [K, O] = T(!1);
9870
+ const { t: r } = Ie(), { config: n } = Se(), o = n.locale ?? "en", { criteria: l, initialAnswers: d, isLoading: u, isSubmitting: m, error: g, submit: y } = pa(e), [w, A] = T({}), [S, B] = T({}), [N, U] = T(0), [K, O] = T(!1);
9871
9871
  ye.useEffect(() => {
9872
- d && Object.keys(d).length > 0 && Object.keys(x).length === 0 && A(d);
9872
+ d && Object.keys(d).length > 0 && Object.keys(w).length === 0 && A(d);
9873
9873
  }, [d]);
9874
9874
  const M = Ue(
9875
9875
  () => l && l.length > 0 ? Va(l) : [],
@@ -9886,11 +9886,11 @@ const qa = ({
9886
9886
  }, []), v = ee(() => {
9887
9887
  const te = {};
9888
9888
  for (const { criterion: H } of G) {
9889
- const re = Oa(H, x[H.id] ?? []);
9889
+ const re = Oa(H, w[H.id] ?? []);
9890
9890
  re && (te[H.id] = re);
9891
9891
  }
9892
9892
  return B((H) => ({ ...H, ...te })), Object.keys(te).length === 0;
9893
- }, [G, x]), z = () => {
9893
+ }, [G, w]), z = () => {
9894
9894
  v() && U((te) => te + 1);
9895
9895
  }, F = () => {
9896
9896
  N > 0 ? U((te) => te - 1) : a == null || a();
@@ -9898,7 +9898,7 @@ const qa = ({
9898
9898
  if (!(!v() || !l))
9899
9899
  try {
9900
9900
  const te = l.map((re) => {
9901
- const me = (x[re.id] ?? []).filter((de) => de && de.trim());
9901
+ const me = (w[re.id] ?? []).filter((de) => de && de.trim());
9902
9902
  return me.length > 0 ? { riskCriteriaId: re.id, values: me } : null;
9903
9903
  }).filter((re) => re !== null);
9904
9904
  await y({ applicantId: e, criteriaValueInputs: te }), t == null || t();
@@ -9940,7 +9940,7 @@ const qa = ({
9940
9940
  Ua,
9941
9941
  {
9942
9942
  criterion: te,
9943
- value: x[te.id] ?? [],
9943
+ value: w[te.id] ?? [],
9944
9944
  error: S[te.id],
9945
9945
  locale: o,
9946
9946
  onChange: (H) => Q(te.id, H)
@@ -10044,17 +10044,17 @@ const qa = ({
10044
10044
  ] }),
10045
10045
  l === "checkbox" && /* @__PURE__ */ s("div", { className: "metakyc-options-group", style: { display: "flex", flexDirection: "column", gap: "8px" }, children: [
10046
10046
  (e.defaultValues ?? []).map((g) => {
10047
- const y = t.includes(g), x = () => {
10047
+ const y = t.includes(g), w = () => {
10048
10048
  n(y ? t.filter((A) => A !== g) : [...t, g]);
10049
10049
  };
10050
10050
  return /* @__PURE__ */ s(
10051
10051
  "div",
10052
10052
  {
10053
10053
  className: "metakyc-option-label",
10054
- onClick: x,
10054
+ onClick: w,
10055
10055
  style: { display: "flex", alignItems: "center", gap: "10px", cursor: "pointer", margin: 0, padding: 0, userSelect: "none" },
10056
10056
  children: [
10057
- /* @__PURE__ */ i(Xe, { checked: y, onChange: () => x() }),
10057
+ /* @__PURE__ */ i(Xe, { checked: y, onChange: () => w() }),
10058
10058
  /* @__PURE__ */ i("span", { className: "metakyc-option-text", style: { fontSize: "14px", color: "var(--metakyc-text-primary, #111827)", lineHeight: "1.4", marginLeft: 0 }, children: m(g) })
10059
10059
  ]
10060
10060
  },
@@ -10087,8 +10087,8 @@ const qa = ({
10087
10087
  onBack: a
10088
10088
  }) => {
10089
10089
  const { t: r } = Ie(), { investorCategorizationService: n } = Se(), [o, l] = T(null), [d, u] = T(!1), [m, g] = T(null);
10090
- return /* @__PURE__ */ i("form", { onSubmit: async (x) => {
10091
- if (x.preventDefault(), o === null) {
10090
+ return /* @__PURE__ */ i("form", { onSubmit: async (w) => {
10091
+ if (w.preventDefault(), o === null) {
10092
10092
  g(r("investorCategorization.pleaseSelect"));
10093
10093
  return;
10094
10094
  }
@@ -10227,18 +10227,18 @@ const Wa = ({
10227
10227
  onComplete: t,
10228
10228
  onBack: a
10229
10229
  }) => {
10230
- const { t: r } = Ie(), { appropriatenessTestService: n } = Se(), [o, l] = T(null), [d, u] = T(!0), [m, g] = T(!1), [y, x] = T(null), [A, S] = T({}), [B, N] = T(0), [U, K] = T(!1), [O, M] = T(!1), [Y, G] = T(0), [Q, v] = T(0), [z, F] = T(null);
10230
+ const { t: r } = Ie(), { appropriatenessTestService: n } = Se(), [o, l] = T(null), [d, u] = T(!0), [m, g] = T(!1), [y, w] = T(null), [A, S] = T({}), [B, N] = T(0), [U, K] = T(!1), [O, M] = T(!1), [Y, G] = T(0), [Q, v] = T(0), [z, F] = T(null);
10231
10231
  fe(() => {
10232
10232
  (async () => {
10233
10233
  try {
10234
- u(!0), x(null);
10234
+ u(!0), w(null);
10235
10235
  const P = await n.getAppropriatenessTest(e);
10236
10236
  if (l(P), P.waitTimeSpanForNextTry && P.waitTimeSpanForNextTry !== "00:00:00") {
10237
10237
  const j = yi(P.waitTimeSpanForNextTry);
10238
10238
  j > 0 && G(j);
10239
10239
  }
10240
10240
  } catch (P) {
10241
- x(P.message || r("appropriatenessTest.failedToLoad"));
10241
+ w(P.message || r("appropriatenessTest.failedToLoad"));
10242
10242
  } finally {
10243
10243
  u(!1);
10244
10244
  }
@@ -10259,7 +10259,7 @@ const Wa = ({
10259
10259
  O && !m && re();
10260
10260
  }, [O]);
10261
10261
  const X = () => {
10262
- o && (K(!0), N(o.testDurationSec), v(0), S({}), x(null));
10262
+ o && (K(!0), N(o.testDurationSec), v(0), S({}), w(null));
10263
10263
  }, te = (P, j) => {
10264
10264
  S((Z) => ({ ...Z, [P]: j }));
10265
10265
  }, H = ee(async () => {
@@ -10276,11 +10276,11 @@ const Wa = ({
10276
10276
  if (!O) {
10277
10277
  const j = o.appropriatenessQuestions.length - Object.keys(A).length;
10278
10278
  if (j > 0) {
10279
- x(r("appropriatenessTest.answerAllQuestions", { remaining: j }));
10279
+ w(r("appropriatenessTest.answerAllQuestions", { remaining: j }));
10280
10280
  return;
10281
10281
  }
10282
10282
  }
10283
- g(!0), x(null);
10283
+ g(!0), w(null);
10284
10284
  try {
10285
10285
  const j = o.appropriatenessQuestions.map(
10286
10286
  (ge) => ({ appropriatenessQuestionId: ge.id, value: A[ge.id] || "" })
@@ -10299,7 +10299,7 @@ const Wa = ({
10299
10299
  throw ge;
10300
10300
  }
10301
10301
  } catch (j) {
10302
- x(j.message || r("appropriatenessTest.failedToSubmit")), me();
10302
+ w(j.message || r("appropriatenessTest.failedToSubmit")), me();
10303
10303
  } finally {
10304
10304
  g(!1);
10305
10305
  }
@@ -10350,7 +10350,7 @@ const Wa = ({
10350
10350
  ] });
10351
10351
  if (z) {
10352
10352
  const P = () => {
10353
- F(null), me(), x(null);
10353
+ F(null), me(), w(null);
10354
10354
  };
10355
10355
  return /* @__PURE__ */ s(ne, { children: [
10356
10356
  /* @__PURE__ */ i(oe, { children: /* @__PURE__ */ s("div", { style: {
@@ -10798,7 +10798,7 @@ const Wa = ({
10798
10798
  onBack: a
10799
10799
  }) => {
10800
10800
  var gt, b, V, D;
10801
- const { t: r } = Ie(), { applicantService: n, baseInformationService: o, identityService: l, config: d, currentTheme: u } = Se(), { identityData: m, provider: g, token: y, isLoading: x, error: A, requestIdentity: S, restartIdentity: B } = ma(e), [N, U] = T(null), [K, O] = T(null), [M, Y] = T([]), [G, Q] = T([]), [v, z] = T(!0), [F, X] = T(!1), [te, H] = T(null), [re, me] = T(!1), de = ye.useRef(!1), [Ne, le] = T("idle"), ve = pe(!1), he = pe(null), [$, R] = T({}), [P, j] = T({}), Z = u != null && u.reviewPageFields && u.reviewPageFields.length > 0 ? u.reviewPageFields[0] : null, ge = !!(u != null && u.reviewPageDisabled), W = pe(!1);
10801
+ const { t: r } = Ie(), { applicantService: n, baseInformationService: o, identityService: l, config: d, currentTheme: u } = Se(), { identityData: m, provider: g, token: y, isLoading: w, error: A, requestIdentity: S, restartIdentity: B } = ma(e), [N, U] = T(null), [K, O] = T(null), [M, Y] = T([]), [G, Q] = T([]), [v, z] = T(!0), [F, X] = T(!1), [te, H] = T(null), [re, me] = T(!1), de = ye.useRef(!1), [Ne, le] = T("idle"), ve = pe(!1), he = pe(null), [$, R] = T({}), [P, j] = T({}), Z = u != null && u.reviewPageFields && u.reviewPageFields.length > 0 ? u.reviewPageFields[0] : null, ge = !!(u != null && u.reviewPageDisabled), W = pe(!1);
10802
10802
  W.current = ge;
10803
10803
  const J = qi({
10804
10804
  defaultValues: {
@@ -10825,9 +10825,9 @@ const Wa = ({
10825
10825
  // CountriesType.PhoneNumber
10826
10826
  ]);
10827
10827
  O(h);
10828
- const q = /* @__PURE__ */ new Set(), c = E.map((w) => ({ value: w.abbreviation3 || w.abbreviation, label: w.name })).filter((w) => !w.value || q.has(w.value) ? !1 : (q.add(w.value), !0));
10828
+ const q = /* @__PURE__ */ new Set(), c = E.map((x) => ({ value: x.abbreviation3 || x.abbreviation, label: x.name })).filter((x) => !x.value || q.has(x.value) ? !1 : (q.add(x.value), !0));
10829
10829
  Y(c);
10830
- const L = /* @__PURE__ */ new Set(), C = I.filter((w) => w.countryCode).map((w) => ({ value: w.countryCode, label: `${w.countryCode} – ${w.name}` })).filter((w) => L.has(w.value) ? !1 : (L.add(w.value), !0));
10830
+ const L = /* @__PURE__ */ new Set(), C = I.filter((x) => x.countryCode).map((x) => ({ value: x.countryCode, label: `${x.countryCode} – ${x.name}` })).filter((x) => L.has(x.value) ? !1 : (L.add(x.value), !0));
10831
10831
  Q(C);
10832
10832
  const p = h.applicantRequestData;
10833
10833
  if (R({
@@ -10864,8 +10864,8 @@ const Wa = ({
10864
10864
  console.log("[Identity] Review page disabled + existing identity — auto-requesting..."), de.current = !0;
10865
10865
  try {
10866
10866
  await S(), X(!0);
10867
- } catch (w) {
10868
- console.error("[Identity] Auto-request failed:", w);
10867
+ } catch (x) {
10868
+ console.error("[Identity] Auto-request failed:", x);
10869
10869
  }
10870
10870
  }
10871
10871
  } catch (h) {
@@ -11037,7 +11037,7 @@ const Wa = ({
11037
11037
  console.error("Error restarting identity verification:", f), H(f.message || r("identity.failedToRestart"));
11038
11038
  }
11039
11039
  };
11040
- if (v || x)
11040
+ if (v || w)
11041
11041
  return /* @__PURE__ */ i(ne, { children: /* @__PURE__ */ s(oe, { children: [
11042
11042
  /* @__PURE__ */ i(Ke, { className: "my-8" }),
11043
11043
  /* @__PURE__ */ i("p", { className: "text-center text-gray-600 dark:text-gray-400 mt-4", children: r("identity.loadingIdentity") })
@@ -11094,7 +11094,7 @@ const Wa = ({
11094
11094
  ] }),
11095
11095
  /* @__PURE__ */ s(Ee, { style: { display: "flex", justifyContent: "space-between", alignItems: "center" }, children: [
11096
11096
  He && /* @__PURE__ */ i(se, { type: "button", variant: "outline", onClick: He, children: r("common.back") }),
11097
- /* @__PURE__ */ i(se, { type: "button", onClick: Qe, disabled: x, children: r(x ? "identity.restarting" : "identity.restartVerification") })
11097
+ /* @__PURE__ */ i(se, { type: "button", onClick: Qe, disabled: w, children: r(w ? "identity.restarting" : "identity.restartVerification") })
11098
11098
  ] })
11099
11099
  ] });
11100
11100
  if (F && Ne === "processing")
@@ -11136,7 +11136,7 @@ const Wa = ({
11136
11136
  {
11137
11137
  type: "button",
11138
11138
  onClick: ze,
11139
- disabled: Ze || x,
11139
+ disabled: Ze || w,
11140
11140
  style: {
11141
11141
  padding: "6px 14px",
11142
11142
  fontSize: "13px",
@@ -11145,8 +11145,8 @@ const Wa = ({
11145
11145
  border: "1px solid var(--metakyc-border, #d1d5db)",
11146
11146
  background: "var(--metakyc-background, #ffffff)",
11147
11147
  color: "var(--metakyc-text-primary, #111827)",
11148
- cursor: Ze || x ? "not-allowed" : "pointer",
11149
- opacity: Ze || x ? 0.5 : 1
11148
+ cursor: Ze || w ? "not-allowed" : "pointer",
11149
+ opacity: Ze || w ? 0.5 : 1
11150
11150
  },
11151
11151
  children: r(Ze ? "identity.restarting" : "identity.reset")
11152
11152
  }
@@ -11231,7 +11231,7 @@ const Wa = ({
11231
11231
  return E ? E.label : String(h);
11232
11232
  }
11233
11233
  return String(h);
11234
- }, wt = ({ helpText: f }) => {
11234
+ }, xt = ({ helpText: f }) => {
11235
11235
  const [h, E] = T(!1), I = pe(null), [, q] = T({ top: 0, left: 0 });
11236
11236
  return /* @__PURE__ */ s(bt, { children: [
11237
11237
  /* @__PURE__ */ i(
@@ -11327,8 +11327,8 @@ const Wa = ({
11327
11327
  ] });
11328
11328
  }, Pe = (f, h) => h ? /* @__PURE__ */ s("div", { style: { display: "flex", alignItems: "flex-start", gap: 5, flexWrap: "nowrap" }, children: [
11329
11329
  /* @__PURE__ */ i("div", { style: { flex: 1, minWidth: 0 }, children: f }),
11330
- /* @__PURE__ */ i("div", { style: { paddingTop: 24 }, children: /* @__PURE__ */ i(wt, { helpText: h }) })
11331
- ] }) : f, xt = (f, h) => {
11330
+ /* @__PURE__ */ i("div", { style: { paddingTop: 24 }, children: /* @__PURE__ */ i(xt, { helpText: h }) })
11331
+ ] }) : f, wt = (f, h) => {
11332
11332
  const E = `cf-${h}`, I = f.paramName ?? "", q = P[I];
11333
11333
  if (f.customType === "br")
11334
11334
  return /* @__PURE__ */ i("div", { style: { ...De(f.colSpan), minHeight: "0.5rem" } }, E);
@@ -11441,7 +11441,7 @@ const Wa = ({
11441
11441
  f.helpText
11442
11442
  ) }, E);
11443
11443
  }, pt = (f, h) => {
11444
- if (f.isCustom) return xt(f, h);
11444
+ if (f.isCustom) return wt(f, h);
11445
11445
  const E = f.name ?? "", I = dt[E], q = ie(f.displayText, r) || (I != null && I.translationKey ? r(`fields.${I.translationKey}`) : void 0) || (I == null ? void 0 : I.label) || E, c = $[E] ?? "", L = E === "mobileCountryCode", C = !!(I != null && I.countriesType) && !L;
11446
11446
  return f.editable ? L ? /* @__PURE__ */ i("div", { style: De(f.colSpan ?? 2), children: Pe(
11447
11447
  /* @__PURE__ */ i(
@@ -11496,7 +11496,7 @@ const Wa = ({
11496
11496
  /* @__PURE__ */ i(oe, { children: /* @__PURE__ */ i("div", { className: "metakyc-form-grid", children: Z.fields.map((E, I) => pt(E, I)) }) }),
11497
11497
  /* @__PURE__ */ s(Ee, { style: { display: "flex", justifyContent: "space-between", alignItems: "center" }, children: [
11498
11498
  a && /* @__PURE__ */ i(se, { type: "button", variant: "outline", onClick: a, children: r("common.back") }),
11499
- /* @__PURE__ */ i(se, { type: "submit", isLoading: x, children: r("identity.confirmAndStart") })
11499
+ /* @__PURE__ */ i(se, { type: "submit", isLoading: w, children: r("identity.confirmAndStart") })
11500
11500
  ] })
11501
11501
  ] }) });
11502
11502
  }
@@ -11563,7 +11563,7 @@ const Wa = ({
11563
11563
  ] }),
11564
11564
  /* @__PURE__ */ s(Ee, { style: { display: "flex", justifyContent: "space-between", alignItems: "center" }, children: [
11565
11565
  a && /* @__PURE__ */ i(se, { type: "button", variant: "outline", onClick: a, children: r("common.back") }),
11566
- /* @__PURE__ */ i(se, { type: "submit", isLoading: x, children: r("identity.confirmAndStart") })
11566
+ /* @__PURE__ */ i(se, { type: "submit", isLoading: w, children: r("identity.confirmAndStart") })
11567
11567
  ] })
11568
11568
  ] }) });
11569
11569
  }, Zt = {
@@ -11744,8 +11744,8 @@ const Qa = ({ children: e }) => {
11744
11744
  o.current = o.current.filter((y) => y.id !== g), a([...o.current]);
11745
11745
  }, []), u = ee((g) => {
11746
11746
  n((y) => {
11747
- const x = { ...y, ...g };
11748
- return Object.keys(g).some((S) => y[S] !== g[S]) ? x : y;
11747
+ const w = { ...y, ...g };
11748
+ return Object.keys(g).some((S) => y[S] !== g[S]) ? w : y;
11749
11749
  });
11750
11750
  }, []), m = Ue(
11751
11751
  () => ({ actions: t, registerAction: l, unregisterAction: d, sdkState: r, updateSdkState: u }),
@@ -11763,7 +11763,7 @@ const Qa = ({ children: e }) => {
11763
11763
  clearTimeout(z), document.removeEventListener("mousedown", v);
11764
11764
  };
11765
11765
  }, [t]), !e) return null;
11766
- const { actions: u, sdkState: m } = e, g = u.filter((v) => v.group === "form"), y = u.filter((v) => v.group === "workflow"), x = u.filter((v) => !v.group || v.group === "general"), A = async (v, z) => {
11766
+ const { actions: u, sdkState: m } = e, g = u.filter((v) => v.group === "form"), y = u.filter((v) => v.group === "workflow"), w = u.filter((v) => !v.group || v.group === "general"), A = async (v, z) => {
11767
11767
  l(v);
11768
11768
  try {
11769
11769
  await z();
@@ -11908,7 +11908,7 @@ const Qa = ({ children: e }) => {
11908
11908
  /* @__PURE__ */ i("div", { style: { flex: 1, overflowY: "auto", overflowX: "hidden" }, children: r === "actions" ? /* @__PURE__ */ s("div", { style: { paddingBottom: "8px" }, children: [
11909
11909
  Y("Form", g),
11910
11910
  Y("Workflow", y),
11911
- Y("General", x),
11911
+ Y("General", w),
11912
11912
  u.length === 0 && /* @__PURE__ */ s("div", { style: { padding: "24px 14px", textAlign: "center", color: "#6c7086" }, children: [
11913
11913
  "No actions registered.",
11914
11914
  /* @__PURE__ */ i("br", {}),
@@ -12148,8 +12148,8 @@ const nn = {
12148
12148
  onCancel: n
12149
12149
  }) => {
12150
12150
  var V, D, f, h, E, I, q;
12151
- const { config: o, baseInformationService: l, currentTheme: d } = Se(), { createApplicant: u, getApplicantData: m, isLoading: g } = Ii(), { t: y } = Ie(), x = e || ((V = o.applicantForm) == null ? void 0 : V.workflowKey);
12152
- if (!x)
12151
+ const { config: o, baseInformationService: l, currentTheme: d } = Se(), { createApplicant: u, getApplicantData: m, isLoading: g } = Ii(), { t: y } = Ie(), w = e || ((V = o.applicantForm) == null ? void 0 : V.workflowKey);
12152
+ if (!w)
12153
12153
  throw new Error(
12154
12154
  "workflowKey is required. Provide it either as a prop to CreateApplicantForm or set it in config.applicantForm.workflowKey"
12155
12155
  );
@@ -12167,8 +12167,8 @@ const nn = {
12167
12167
  }, [d == null ? void 0 : d.applicantFormRequiredFields, O]), Y = Ue(() => {
12168
12168
  var C;
12169
12169
  if (O) {
12170
- const p = O.flatMap((w) => w.fields).filter((w) => !w.isCustom && w.name).map((w) => w.name), k = new Set(p);
12171
- for (const w of Lt) k.add(w);
12170
+ const p = O.flatMap((x) => x.fields).filter((x) => !x.isCustom && x.name).map((x) => x.name), k = new Set(p);
12171
+ for (const x of Lt) k.add(x);
12172
12172
  return Array.from(k);
12173
12173
  }
12174
12174
  let c;
@@ -12203,8 +12203,8 @@ const nn = {
12203
12203
  });
12204
12204
  if (c.length === 0) {
12205
12205
  Q.every((k) => {
12206
- const w = k != null ? String(k) : "all";
12207
- return H.current.has(w);
12206
+ const x = k != null ? String(k) : "all";
12207
+ return H.current.has(x);
12208
12208
  }) && X(!1);
12209
12209
  return;
12210
12210
  }
@@ -12214,11 +12214,11 @@ const nn = {
12214
12214
  try {
12215
12215
  const p = await Promise.all(
12216
12216
  c.map(async (k) => {
12217
- const w = k != null ? String(k) : "all", ue = await l.getCountries("", o.locale || "en", k), ce = k === 40, Me = /* @__PURE__ */ new Set(), je = ue.map((we) => ce && we.countryCode ? {
12218
- value: we.countryCode,
12219
- label: `${we.countryCode} – ${we.name}`
12220
- } : { value: we.abbreviation3 || we.abbreviation, label: we.name }).filter((we) => !we.value || Me.has(we.value) ? !1 : (Me.add(we.value), !0));
12221
- return H.current.add(w), te.current.delete(w), [w, je];
12217
+ const x = k != null ? String(k) : "all", ue = await l.getCountries("", o.locale || "en", k), ce = k === 40, Me = /* @__PURE__ */ new Set(), je = ue.map((xe) => ce && xe.countryCode ? {
12218
+ value: xe.countryCode,
12219
+ label: `${xe.countryCode} – ${xe.name}`
12220
+ } : { value: xe.abbreviation3 || xe.abbreviation, label: xe.name }).filter((xe) => !xe.value || Me.has(xe.value) ? !1 : (Me.add(xe.value), !0));
12221
+ return H.current.add(x), te.current.delete(x), [x, je];
12222
12222
  })
12223
12223
  );
12224
12224
  z((k) => ({ ...k, ...Object.fromEntries(p) }));
@@ -12226,8 +12226,8 @@ const nn = {
12226
12226
  L.forEach((k) => te.current.delete(k)), console.error("Failed to load countries:", p);
12227
12227
  } finally {
12228
12228
  Q.every((k) => {
12229
- const w = k != null ? String(k) : "all";
12230
- return H.current.has(w);
12229
+ const x = k != null ? String(k) : "all";
12230
+ return H.current.has(x);
12231
12231
  }) && X(!1);
12232
12232
  }
12233
12233
  })();
@@ -12264,7 +12264,7 @@ const nn = {
12264
12264
  ), Ne = Object.fromEntries(
12265
12265
  Object.entries(N).filter(([c]) => c in me)
12266
12266
  ), [le, ve] = T({
12267
- workflowKey: x,
12267
+ workflowKey: w,
12268
12268
  firstName: "",
12269
12269
  lastName: "",
12270
12270
  title: "",
@@ -12302,7 +12302,7 @@ const nn = {
12302
12302
  if (c) return;
12303
12303
  const p = C.applicantRequestData;
12304
12304
  p && ve((k) => {
12305
- var w;
12305
+ var x;
12306
12306
  return {
12307
12307
  ...k,
12308
12308
  firstName: p.firstName || k.firstName,
@@ -12326,7 +12326,7 @@ const nn = {
12326
12326
  occupation: p.occupation || k.occupation,
12327
12327
  title: p.title || k.title,
12328
12328
  salutation: p.salutation != null ? Number(p.salutation) : k.salutation,
12329
- otherNationality: (w = p.otherNationalities) != null && w.length ? p.otherNationalities : k.otherNationality
12329
+ otherNationality: (x = p.otherNationalities) != null && x.length ? p.otherNationalities : k.otherNationality
12330
12330
  };
12331
12331
  }), C.externalRefId && ve((k) => ({ ...k, externalRefId: C.externalRefId }));
12332
12332
  } catch (C) {
@@ -12341,26 +12341,26 @@ const nn = {
12341
12341
  const [Z, ge] = T(0), [W, J] = T({}), [ke, Re] = T(null), [Ce, _e] = T(!1), st = It(), Ze = ee(() => {
12342
12342
  const c = rn(), L = (C) => {
12343
12343
  var ue;
12344
- const p = (ue = dt[C]) == null ? void 0 : ue.countriesType, k = p != null ? String(p) : "all", w = (v[k] || []).filter((ce) => ce.value);
12345
- if (w.length)
12346
- return w[Math.floor(Math.random() * w.length)].value;
12344
+ const p = (ue = dt[C]) == null ? void 0 : ue.countriesType, k = p != null ? String(p) : "all", x = (v[k] || []).filter((ce) => ce.value);
12345
+ if (x.length)
12346
+ return x[Math.floor(Math.random() * x.length)].value;
12347
12347
  };
12348
12348
  ve((C) => {
12349
12349
  const p = { ...C };
12350
- for (const [k, w] of Object.entries(c))
12350
+ for (const [k, x] of Object.entries(c))
12351
12351
  if (k in C && (C[k] === "" || C[k] === null || C[k] === void 0))
12352
12352
  if (G.has(k)) {
12353
12353
  const ue = L(k);
12354
12354
  ue && (p[k] = ue);
12355
12355
  } else
12356
- p[k] = w;
12356
+ p[k] = x;
12357
12357
  return p;
12358
12358
  }), O && R((C) => {
12359
- var k, w;
12359
+ var k, x;
12360
12360
  const p = { ...C };
12361
12361
  for (const ue of O)
12362
12362
  for (const ce of ue.fields)
12363
- !ce.isCustom || !ce.paramName || p[ce.paramName] || (ce.customType === "checkbox" || ce.customType === "link_checkbox" ? p[ce.paramName] = "true" : ce.customType === "radio_group" && ((k = ce.options) != null && k.length) || ce.customType === "group_checkbox" && ((w = ce.options) != null && w.length) ? p[ce.paramName] = ce.options[0].value : ce.customType === "text" && (p[ce.paramName] = "Sample value"));
12363
+ !ce.isCustom || !ce.paramName || p[ce.paramName] || (ce.customType === "checkbox" || ce.customType === "link_checkbox" ? p[ce.paramName] = "true" : ce.customType === "radio_group" && ((k = ce.options) != null && k.length) || ce.customType === "group_checkbox" && ((x = ce.options) != null && x.length) ? p[ce.paramName] = ce.options[0].value : ce.customType === "text" && (p[ce.paramName] = "Sample value"));
12364
12364
  return p;
12365
12365
  }), J({}), Re(null);
12366
12366
  }, [O, v]);
@@ -12381,7 +12381,7 @@ const nn = {
12381
12381
  if (!C.isCustom || !C.paramName || !((L = C.blockingValues) != null && L.length)) continue;
12382
12382
  const p = $[C.paramName] ?? "";
12383
12383
  if (C.customType === "group_checkbox") {
12384
- if (p.split(",").filter(Boolean).some((w) => C.blockingValues.includes(w))) return !0;
12384
+ if (p.split(",").filter(Boolean).some((x) => C.blockingValues.includes(x))) return !0;
12385
12385
  } else if (C.customType === "radio_group" && C.blockingValues.includes(p))
12386
12386
  return !0;
12387
12387
  }
@@ -12398,12 +12398,12 @@ const nn = {
12398
12398
  } else if (C.name) {
12399
12399
  const p = C.name;
12400
12400
  if (M.includes(p) && St(le[p])) {
12401
- const k = dt[p], w = ie(C.displayText, y) || (k != null && k.translationKey ? y(`fields.${k.translationKey}`) : void 0) || (k == null ? void 0 : k.label) || p;
12402
- L[p] = y("validation.fieldRequired", { field: w });
12401
+ const k = dt[p], x = ie(C.displayText, y) || (k != null && k.translationKey ? y(`fields.${k.translationKey}`) : void 0) || (k == null ? void 0 : k.label) || p;
12402
+ L[p] = y("validation.fieldRequired", { field: x });
12403
12403
  }
12404
12404
  }
12405
12405
  return L;
12406
- }, wt = async () => {
12406
+ }, xt = async () => {
12407
12407
  if (!O) return;
12408
12408
  const c = O[Z];
12409
12409
  if (He(c) || c.conditionalOn && c.conditionalMode === "block" && !Qe(c)) return;
@@ -12441,42 +12441,42 @@ const nn = {
12441
12441
  if (O) {
12442
12442
  for (const k of O)
12443
12443
  if (Qe(k)) {
12444
- for (const w of k.fields)
12445
- if (!w.isCustom && w.name) {
12446
- const ue = w.name, ce = le[ue];
12444
+ for (const x of k.fields)
12445
+ if (!x.isCustom && x.name) {
12446
+ const ue = x.name, ce = le[ue];
12447
12447
  St(ce) || (c[ue] = ce);
12448
12448
  }
12449
12449
  }
12450
12450
  for (const k of Lt)
12451
12451
  if (c[k] === void 0) {
12452
- const w = le[k];
12453
- St(w) || (c[k] = w);
12452
+ const x = le[k];
12453
+ St(x) || (c[k] = x);
12454
12454
  }
12455
12455
  } else
12456
12456
  Y.forEach((k) => {
12457
12457
  if (k === "externalRefId") return;
12458
- const w = le[k];
12459
- St(w) || (c[k] = w);
12458
+ const x = le[k];
12459
+ St(x) || (c[k] = x);
12460
12460
  });
12461
12461
  const L = [];
12462
12462
  if (O) {
12463
12463
  for (const k of O)
12464
12464
  if (Qe(k))
12465
- for (const w of k.fields) {
12466
- if (!w.isCustom || !w.paramName || w.customType === "paragraph" || w.customType === "html" || w.customType === "br" || w.customType === "link") continue;
12467
- const ue = $[w.paramName] ?? "";
12465
+ for (const x of k.fields) {
12466
+ if (!x.isCustom || !x.paramName || x.customType === "paragraph" || x.customType === "html" || x.customType === "br" || x.customType === "link") continue;
12467
+ const ue = $[x.paramName] ?? "";
12468
12468
  let ce;
12469
- if (w.customType === "checkbox" || w.customType === "link_checkbox")
12469
+ if (x.customType === "checkbox" || x.customType === "link_checkbox")
12470
12470
  ce = ue === "true" ? "yes" : "no";
12471
- else if (ce = ue, !ce && !w.required) continue;
12472
- L.push({ paramName: w.paramName, value: ce });
12471
+ else if (ce = ue, !ce && !x.required) continue;
12472
+ L.push({ paramName: x.paramName, value: ce });
12473
12473
  }
12474
12474
  }
12475
- for (const [k, w] of Object.entries(de))
12476
- c[k] === void 0 && !St(w) && (c[k] = w);
12475
+ for (const [k, x] of Object.entries(de))
12476
+ c[k] === void 0 && !St(x) && (c[k] = x);
12477
12477
  const C = new Set(L.map((k) => k.paramName));
12478
- for (const [k, w] of Object.entries(he))
12479
- !C.has(k) && w && L.push({ paramName: k, value: w });
12478
+ for (const [k, x] of Object.entries(he))
12479
+ !C.has(k) && x && L.push({ paramName: k, value: x });
12480
12480
  L.length > 0 && (c.applicantAdditionalDatas = L);
12481
12481
  const p = await u(c);
12482
12482
  r(p.applicantId);
@@ -12485,7 +12485,7 @@ const nn = {
12485
12485
  } finally {
12486
12486
  _e(!1);
12487
12487
  }
12488
- }, xt = async (c) => {
12488
+ }, wt = async (c) => {
12489
12489
  c.preventDefault();
12490
12490
  for (const L of M)
12491
12491
  if (St(le[L])) {
@@ -12496,10 +12496,10 @@ const nn = {
12496
12496
  await Pe();
12497
12497
  }, pt = (c, L, C, p, k) => {
12498
12498
  var Jt;
12499
- const w = dt[c];
12500
- if (!w) return null;
12501
- const ue = M.includes(c), ce = W[c], Me = ie(C, y) || (w.translationKey ? y(`fields.${w.translationKey}`) : void 0) || w.label, je = c in Ne, we = L ?? c, $e = { required: ue }, tt = k ? k !== "placeholder" : K, lt = tt ? Me : void 0;
12502
- switch (w.type) {
12499
+ const x = dt[c];
12500
+ if (!x) return null;
12501
+ const ue = M.includes(c), ce = W[c], Me = ie(C, y) || (x.translationKey ? y(`fields.${x.translationKey}`) : void 0) || x.label, je = c in Ne, xe = L ?? c, $e = { required: ue }, tt = k ? k !== "placeholder" : K, lt = tt ? Me : void 0;
12502
+ switch (x.type) {
12503
12503
  case "select":
12504
12504
  if (c === "country" || c === "nationality" || c === "taxCountry" || c === "countryOfBirth" || c === "mobileCountryCode") {
12505
12505
  const Fe = re(c, p);
@@ -12515,7 +12515,7 @@ const nn = {
12515
12515
  readOnly: je,
12516
12516
  error: ce
12517
12517
  },
12518
- we
12518
+ xe
12519
12519
  );
12520
12520
  }
12521
12521
  if (c === "salutation")
@@ -12535,7 +12535,7 @@ const nn = {
12535
12535
  readOnly: je,
12536
12536
  error: ce
12537
12537
  },
12538
- we
12538
+ xe
12539
12539
  );
12540
12540
  if (c === "defaultLanguage") {
12541
12541
  const Fe = d != null && d.allowedLanguages && d.allowedLanguages.length > 0 ? ti.filter((ft) => d.allowedLanguages.includes(ft.value)) : ti;
@@ -12550,7 +12550,7 @@ const nn = {
12550
12550
  readOnly: je,
12551
12551
  error: ce
12552
12552
  },
12553
- we
12553
+ xe
12554
12554
  );
12555
12555
  }
12556
12556
  return null;
@@ -12569,7 +12569,7 @@ const nn = {
12569
12569
  disabled: F,
12570
12570
  readOnly: je
12571
12571
  },
12572
- we
12572
+ xe
12573
12573
  );
12574
12574
  }
12575
12575
  return null;
@@ -12586,7 +12586,7 @@ const nn = {
12586
12586
  readOnly: je,
12587
12587
  error: ce
12588
12588
  },
12589
- we
12589
+ xe
12590
12590
  );
12591
12591
  case "email":
12592
12592
  return /* @__PURE__ */ i(
@@ -12601,7 +12601,7 @@ const nn = {
12601
12601
  readOnly: je,
12602
12602
  error: ce
12603
12603
  },
12604
- we
12604
+ xe
12605
12605
  );
12606
12606
  case "tel":
12607
12607
  return /* @__PURE__ */ i(
@@ -12616,7 +12616,7 @@ const nn = {
12616
12616
  readOnly: je,
12617
12617
  error: ce
12618
12618
  },
12619
- we
12619
+ xe
12620
12620
  );
12621
12621
  default:
12622
12622
  return /* @__PURE__ */ i(
@@ -12631,13 +12631,13 @@ const nn = {
12631
12631
  readOnly: je,
12632
12632
  error: ce
12633
12633
  },
12634
- we
12634
+ xe
12635
12635
  );
12636
12636
  }
12637
12637
  }, gt = (c, L) => {
12638
12638
  const C = c.labelMode ? c.labelMode !== "placeholder" : K;
12639
12639
  if (c.customType === "paragraph") {
12640
- const w = ie(c.displayText, y) || ie(c.label, y) || "";
12640
+ const x = ie(c.displayText, y) || ie(c.label, y) || "";
12641
12641
  return /* @__PURE__ */ i(
12642
12642
  "p",
12643
12643
  {
@@ -12648,7 +12648,7 @@ const nn = {
12648
12648
  margin: 0,
12649
12649
  color: "var(--metakyc-text-secondary, #6b7280)"
12650
12650
  },
12651
- dangerouslySetInnerHTML: { __html: w }
12651
+ dangerouslySetInnerHTML: { __html: x }
12652
12652
  },
12653
12653
  `custom-${L}`
12654
12654
  );
@@ -12664,7 +12664,7 @@ const nn = {
12664
12664
  if (c.customType === "br")
12665
12665
  return /* @__PURE__ */ i("div", { style: { height: "12px" } }, `custom-${L}`);
12666
12666
  if (c.customType === "link") {
12667
- const w = ie(c.displayText, y) || ie(c.label, y) || c.linkText || c.linkUrl || "";
12667
+ const x = ie(c.displayText, y) || ie(c.label, y) || c.linkText || c.linkUrl || "";
12668
12668
  return /* @__PURE__ */ i("div", { className: "metakyc-link-field", children: /* @__PURE__ */ s(
12669
12669
  "a",
12670
12670
  {
@@ -12681,7 +12681,7 @@ const nn = {
12681
12681
  cursor: "pointer"
12682
12682
  },
12683
12683
  children: [
12684
- w,
12684
+ x,
12685
12685
  /* @__PURE__ */ i("span", { style: { fontSize: "10px", opacity: 0.7 }, children: "↗" })
12686
12686
  ]
12687
12687
  }
@@ -12690,21 +12690,21 @@ const nn = {
12690
12690
  if (!c.paramName) return null;
12691
12691
  const p = W[c.paramName], k = ie(c.displayText, y) || ie(c.label, y) || c.paramName;
12692
12692
  if (c.customType === "checkbox") {
12693
- const w = $[c.paramName] === "true";
12693
+ const x = $[c.paramName] === "true";
12694
12694
  return /* @__PURE__ */ s("div", { className: "flex flex-col gap-1", children: [
12695
12695
  /* @__PURE__ */ s(
12696
12696
  "div",
12697
12697
  {
12698
12698
  className: "metakyc-option-label",
12699
12699
  role: "checkbox",
12700
- "aria-checked": w,
12701
- onClick: () => ze(c.paramName, w ? "false" : "true"),
12700
+ "aria-checked": x,
12701
+ onClick: () => ze(c.paramName, x ? "false" : "true"),
12702
12702
  style: { display: "flex", alignItems: "center", gap: "10px", cursor: "pointer", margin: 0, padding: 0, userSelect: "none" },
12703
12703
  children: [
12704
12704
  /* @__PURE__ */ i(
12705
12705
  Xe,
12706
12706
  {
12707
- checked: w,
12707
+ checked: x,
12708
12708
  onChange: (ue) => ze(c.paramName, ue ? "true" : "false")
12709
12709
  }
12710
12710
  ),
@@ -12726,21 +12726,21 @@ const nn = {
12726
12726
  ] }, `custom-${L}`);
12727
12727
  }
12728
12728
  if (c.customType === "link_checkbox") {
12729
- const w = $[c.paramName] === "true";
12729
+ const x = $[c.paramName] === "true";
12730
12730
  return /* @__PURE__ */ s("div", { className: "flex flex-col gap-1", children: [
12731
12731
  /* @__PURE__ */ s(
12732
12732
  "div",
12733
12733
  {
12734
12734
  className: "metakyc-option-label",
12735
12735
  role: "checkbox",
12736
- "aria-checked": w,
12737
- onClick: () => ze(c.paramName, w ? "false" : "true"),
12736
+ "aria-checked": x,
12737
+ onClick: () => ze(c.paramName, x ? "false" : "true"),
12738
12738
  style: { display: "flex", alignItems: "center", gap: "10px", cursor: "pointer", margin: 0, padding: 0, userSelect: "none" },
12739
12739
  children: [
12740
12740
  /* @__PURE__ */ i(
12741
12741
  Xe,
12742
12742
  {
12743
- checked: w,
12743
+ checked: x,
12744
12744
  onChange: (ue) => ze(c.paramName, ue ? "true" : "false")
12745
12745
  }
12746
12746
  ),
@@ -12775,7 +12775,7 @@ const nn = {
12775
12775
  ] }, `custom-${L}`);
12776
12776
  }
12777
12777
  if (c.customType === "group_checkbox") {
12778
- const w = ($[c.paramName] || "").split(",").filter(Boolean);
12778
+ const x = ($[c.paramName] || "").split(",").filter(Boolean);
12779
12779
  return /* @__PURE__ */ s("div", { className: "flex flex-col gap-1.5", children: [
12780
12780
  C && /* @__PURE__ */ s(
12781
12781
  "div",
@@ -12789,11 +12789,11 @@ const nn = {
12789
12789
  }
12790
12790
  ),
12791
12791
  /* @__PURE__ */ i("div", { className: "metakyc-options-group", style: { display: "flex", flexDirection: "column", gap: "8px" }, children: (c.options || []).map((ue) => {
12792
- const ce = c.singleSelect ? $[c.paramName] === ue.value : w.includes(ue.value), Me = () => {
12792
+ const ce = c.singleSelect ? $[c.paramName] === ue.value : x.includes(ue.value), Me = () => {
12793
12793
  if (c.singleSelect)
12794
12794
  ze(c.paramName, ce ? "" : ue.value);
12795
12795
  else {
12796
- const je = ce ? w.filter((we) => we !== ue.value) : [...w, ue.value];
12796
+ const je = ce ? x.filter((xe) => xe !== ue.value) : [...x, ue.value];
12797
12797
  ze(c.paramName, je.join(","));
12798
12798
  }
12799
12799
  };
@@ -12833,19 +12833,19 @@ const nn = {
12833
12833
  ]
12834
12834
  }
12835
12835
  ),
12836
- /* @__PURE__ */ i("div", { className: "metakyc-options-group", style: { display: "flex", flexDirection: "column", gap: "8px" }, children: (c.options || []).map((w) => /* @__PURE__ */ s(
12836
+ /* @__PURE__ */ i("div", { className: "metakyc-options-group", style: { display: "flex", flexDirection: "column", gap: "8px" }, children: (c.options || []).map((x) => /* @__PURE__ */ s(
12837
12837
  "div",
12838
12838
  {
12839
12839
  className: "metakyc-option-label",
12840
- onClick: () => ze(c.paramName, w.value),
12840
+ onClick: () => ze(c.paramName, x.value),
12841
12841
  style: { display: "flex", alignItems: "center", gap: "10px", cursor: "pointer", margin: 0, padding: 0, userSelect: "none" },
12842
12842
  children: [
12843
12843
  /* @__PURE__ */ i(
12844
12844
  "input",
12845
12845
  {
12846
12846
  type: "radio",
12847
- checked: $[c.paramName] === w.value,
12848
- onChange: () => ze(c.paramName, w.value),
12847
+ checked: $[c.paramName] === x.value,
12848
+ onChange: () => ze(c.paramName, x.value),
12849
12849
  name: `radio-group-${c.paramName}-${L}`,
12850
12850
  className: "metakyc-option-input",
12851
12851
  onClick: (ue) => ue.stopPropagation(),
@@ -12857,12 +12857,12 @@ const nn = {
12857
12857
  {
12858
12858
  className: "metakyc-option-text",
12859
12859
  style: { fontSize: "14px", color: "var(--metakyc-text-primary, #111827)", lineHeight: "1.4" },
12860
- children: w.label
12860
+ children: x.label
12861
12861
  }
12862
12862
  )
12863
12863
  ]
12864
12864
  },
12865
- w.value
12865
+ x.value
12866
12866
  )) }),
12867
12867
  p && /* @__PURE__ */ i("p", { className: "text-xs", style: { color: "var(--metakyc-danger, #ef4444)" }, children: p })
12868
12868
  ] }, `custom-${L}`) : /* @__PURE__ */ i(
@@ -12872,7 +12872,7 @@ const nn = {
12872
12872
  label: C ? `${k}${c.required ? " *" : ""}` : void 0,
12873
12873
  placeholder: C ? void 0 : k,
12874
12874
  value: $[c.paramName] || "",
12875
- onChange: (w) => ze(c.paramName, w.target.value),
12875
+ onChange: (x) => ze(c.paramName, x.target.value),
12876
12876
  required: c.required,
12877
12877
  error: p
12878
12878
  },
@@ -12909,8 +12909,8 @@ const nn = {
12909
12909
  }
12910
12910
  ) }),
12911
12911
  C && /* @__PURE__ */ i("div", { className: "metakyc-form-grid", children: c.fields.map((p, k) => {
12912
- const w = Math.min(4, Math.max(1, Number(p.colSpan) || 4)), ue = p.isCustom ? `custom-${k}-${p.paramName}` : `builtin-${p.name}-${k}`;
12913
- return /* @__PURE__ */ i("div", { style: { gridColumn: `span ${w} / span ${w}` }, children: /* @__PURE__ */ i(vi, { helpText: p.helpText, children: p.isCustom ? gt(p, k) : pt(p.name, ue, p.displayText, p.countriesType, p.labelMode) }) }, ue);
12912
+ const x = Math.min(4, Math.max(1, Number(p.colSpan) || 4)), ue = p.isCustom ? `custom-${k}-${p.paramName}` : `builtin-${p.name}-${k}`;
12913
+ return /* @__PURE__ */ i("div", { style: { gridColumn: `span ${x} / span ${x}` }, children: /* @__PURE__ */ i(vi, { helpText: p.helpText, children: p.isCustom ? gt(p, k) : pt(p.name, ue, p.displayText, p.countriesType, p.labelMode) }) }, ue);
12914
12914
  }) })
12915
12915
  ] });
12916
12916
  };
@@ -12920,9 +12920,9 @@ const nn = {
12920
12920
  /* @__PURE__ */ i("p", { className: "text-center mt-4", style: { color: "var(--metakyc-text-secondary, #6b7280)", fontSize: "0.875rem" }, children: y("common.loadingForm") })
12921
12921
  ] }) }) });
12922
12922
  if (O) {
12923
- const c = O[Z] ?? O[0], L = De === -1, C = et === -1, p = O.length, k = Qe(c), w = He(c), ue = Object.values(W), ce = !k && !!c.conditionalOn && c.conditionalMode === "block", Me = Ce || g || ce || w;
12923
+ const c = O[Z] ?? O[0], L = De === -1, C = et === -1, p = O.length, k = Qe(c), x = He(c), ue = Object.values(W), ce = !k && !!c.conditionalOn && c.conditionalMode === "block", Me = Ce || g || ce || x;
12924
12924
  let je;
12925
- return ce || w ? je = y("common.blocked") : C ? je = c.conditionalOn && !k ? y("common.skipAndSubmit") : y("common.submit") : je = c.conditionalOn && !k ? y("common.skip") : y("common.next"), /* @__PURE__ */ i("div", { className: "metakyc-sdk", children: /* @__PURE__ */ s(ne, { children: [
12925
+ return ce || x ? je = y("common.blocked") : C ? je = c.conditionalOn && !k ? y("common.skipAndSubmit") : y("common.submit") : je = c.conditionalOn && !k ? y("common.skip") : y("common.next"), /* @__PURE__ */ i("div", { className: "metakyc-sdk", children: /* @__PURE__ */ s(ne, { children: [
12926
12926
  /* @__PURE__ */ i(Le, { children: /* @__PURE__ */ i(Rt, { title: (d == null ? void 0 : d.title) || y("createApplicant.title") }) }),
12927
12927
  /* @__PURE__ */ s(oe, { children: [
12928
12928
  (c.title || c.subtitle || c.description) && /* @__PURE__ */ s("div", { className: "mb-4", children: [
@@ -12952,7 +12952,7 @@ const nn = {
12952
12952
  )
12953
12953
  ] }),
12954
12954
  p > 1 && /* @__PURE__ */ s("div", { style: { display: "flex", alignItems: "center", gap: "0.5rem", marginBottom: "1rem" }, children: [
12955
- O.map((we, $e) => /* @__PURE__ */ i(
12955
+ O.map((xe, $e) => /* @__PURE__ */ i(
12956
12956
  "div",
12957
12957
  {
12958
12958
  style: {
@@ -12979,7 +12979,7 @@ const nn = {
12979
12979
  " ",
12980
12980
  ke
12981
12981
  ] }),
12982
- ue.map((we, $e) => /* @__PURE__ */ i("p", { className: "text-sm", style: { color: "var(--metakyc-danger, #ef4444)" }, children: we }, $e))
12982
+ ue.map((xe, $e) => /* @__PURE__ */ i("p", { className: "text-sm", style: { color: "var(--metakyc-danger, #ef4444)" }, children: xe }, $e))
12983
12983
  ] }),
12984
12984
  b(c)
12985
12985
  ] }),
@@ -13005,14 +13005,14 @@ const nn = {
13005
13005
  type: "button",
13006
13006
  isLoading: Ce || g,
13007
13007
  disabled: Me,
13008
- onClick: C ? Pe : wt,
13008
+ onClick: C ? Pe : xt,
13009
13009
  children: je
13010
13010
  }
13011
13011
  )
13012
13012
  ] })
13013
13013
  ] }) });
13014
13014
  }
13015
- return /* @__PURE__ */ i("div", { className: "metakyc-sdk", children: /* @__PURE__ */ i("form", { onSubmit: xt, children: /* @__PURE__ */ s(ne, { children: [
13015
+ return /* @__PURE__ */ i("div", { className: "metakyc-sdk", children: /* @__PURE__ */ i("form", { onSubmit: wt, children: /* @__PURE__ */ s(ne, { children: [
13016
13016
  /* @__PURE__ */ i(Le, { children: /* @__PURE__ */ i(Rt, { title: (d == null ? void 0 : d.title) || y("createApplicant.title") }) }),
13017
13017
  /* @__PURE__ */ s(oe, { children: [
13018
13018
  ke && /* @__PURE__ */ i("div", { className: "mb-6 p-4 rounded-lg", style: {
@@ -13040,13 +13040,13 @@ const sn = ({
13040
13040
  onSuccess: a,
13041
13041
  onCancel: r
13042
13042
  }) => {
13043
- var mt, wt, Pe, xt, pt, gt;
13043
+ var mt, xt, Pe, wt, pt, gt;
13044
13044
  const { config: n, baseInformationService: o, currentTheme: l } = Se(), { createCompanyApplicant: d, isLoading: u } = Ii(), { t: m } = Ie(), g = e || ((mt = n.applicantForm) == null ? void 0 : mt.workflowKey);
13045
13045
  if (!g)
13046
13046
  throw new Error(
13047
13047
  "workflowKey is required. Provide it either as a prop to CreateCompanyApplicantForm or set it in config.applicantForm.workflowKey"
13048
13048
  );
13049
- const y = t || ((wt = n.applicantForm) == null ? void 0 : wt.externalRefId) || "", x = ((Pe = n.applicantForm) == null ? void 0 : Pe.email) || "", A = ((xt = n.applicantForm) == null ? void 0 : xt.initialValues) || {}, B = (((pt = n.applicantForm) == null ? void 0 : pt.fieldLabelMode) || (l == null ? void 0 : l.fieldLabelMode) || "label") !== "placeholder", N = Ue(
13049
+ const y = t || ((xt = n.applicantForm) == null ? void 0 : xt.externalRefId) || "", w = ((Pe = n.applicantForm) == null ? void 0 : Pe.email) || "", A = ((wt = n.applicantForm) == null ? void 0 : wt.initialValues) || {}, B = (((pt = n.applicantForm) == null ? void 0 : pt.fieldLabelMode) || (l == null ? void 0 : l.fieldLabelMode) || "label") !== "placeholder", N = Ue(
13050
13050
  () => l != null && l.companyFormPages && l.companyFormPages.length > 0 ? l.companyFormPages : null,
13051
13051
  [l == null ? void 0 : l.companyFormPages]
13052
13052
  ), U = Ue(() => {
@@ -13134,7 +13134,7 @@ const sn = ({
13134
13134
  ), [re, me] = T({
13135
13135
  workflowKey: g,
13136
13136
  companyName: "",
13137
- email: x,
13137
+ email: w,
13138
13138
  phone: "",
13139
13139
  registrationNumber: "",
13140
13140
  countryResidence: "",
@@ -13321,7 +13321,7 @@ const sn = ({
13321
13321
  switch (E.type) {
13322
13322
  case "select":
13323
13323
  if (b === "countryResidence" || b === "addressCountry") {
13324
- const w = X(b, f);
13324
+ const x = X(b, f);
13325
13325
  return /* @__PURE__ */ i(
13326
13326
  nt,
13327
13327
  {
@@ -13329,7 +13329,7 @@ const sn = ({
13329
13329
  label: k,
13330
13330
  value: re[b] || "",
13331
13331
  onChange: (ue) => J(b, ue),
13332
- options: [{ value: "", label: p ? m("placeholders.selectCountry") : c }, ...w],
13332
+ options: [{ value: "", label: p ? m("placeholders.selectCountry") : c }, ...x],
13333
13333
  disabled: Q,
13334
13334
  readOnly: L,
13335
13335
  error: q
@@ -13347,7 +13347,7 @@ const sn = ({
13347
13347
  label: k,
13348
13348
  placeholder: p ? void 0 : c,
13349
13349
  value: re[b] || "",
13350
- onChange: (w) => J(b, w.target.value),
13350
+ onChange: (x) => J(b, x.target.value),
13351
13351
  readOnly: L,
13352
13352
  error: q
13353
13353
  },
@@ -13362,7 +13362,7 @@ const sn = ({
13362
13362
  label: k,
13363
13363
  placeholder: p ? void 0 : c,
13364
13364
  value: re[b] || "",
13365
- onChange: (w) => J(b, w.target.value),
13365
+ onChange: (x) => J(b, x.target.value),
13366
13366
  readOnly: L,
13367
13367
  error: q
13368
13368
  },
@@ -13377,7 +13377,7 @@ const sn = ({
13377
13377
  label: k,
13378
13378
  placeholder: p ? void 0 : c,
13379
13379
  value: re[b] || "",
13380
- onChange: (w) => J(b, w.target.value),
13380
+ onChange: (x) => J(b, x.target.value),
13381
13381
  readOnly: L,
13382
13382
  error: q
13383
13383
  },
@@ -13392,7 +13392,7 @@ const sn = ({
13392
13392
  label: k,
13393
13393
  placeholder: p ? void 0 : c,
13394
13394
  value: re[b] || "",
13395
- onChange: (w) => J(b, w.target.value),
13395
+ onChange: (x) => J(b, x.target.value),
13396
13396
  readOnly: L,
13397
13397
  error: q
13398
13398
  },
@@ -13591,7 +13591,7 @@ const sn = ({
13591
13591
  progress: m,
13592
13592
  currentStep: g,
13593
13593
  steps: y,
13594
- nextWorkflowKey: x,
13594
+ nextWorkflowKey: w,
13595
13595
  hasWorkflowChanged: A,
13596
13596
  isLoading: S,
13597
13597
  error: B,
@@ -13772,15 +13772,15 @@ const sn = ({
13772
13772
  }, [m == null ? void 0 : m.workflowResult, t]);
13773
13773
  const Ne = ye.useRef(!1);
13774
13774
  if (ye.useEffect(() => {
13775
- if (!A || !x || !e || Ne.current) return;
13775
+ if (!A || !w || !e || Ne.current) return;
13776
13776
  Ne.current = !0;
13777
13777
  let $ = !1;
13778
13778
  return O(!0), Y(null), (async () => {
13779
13779
  try {
13780
- _.info(`[SDK] Auto-duplicating applicant ${e} → workflow ${x}`);
13780
+ _.info(`[SDK] Auto-duplicating applicant ${e} → workflow ${w}`);
13781
13781
  const R = await l.duplicateApplicant({
13782
13782
  applicantId: e,
13783
- workflowKey: x
13783
+ workflowKey: w
13784
13784
  });
13785
13785
  if ($) return;
13786
13786
  _.info(`[SDK] Duplicated → new applicantId=${R.applicantId}`), r && r(R.applicantId);
@@ -13794,7 +13794,7 @@ const sn = ({
13794
13794
  })(), () => {
13795
13795
  $ = !0;
13796
13796
  };
13797
- }, [A, x, e, l, r]), S || K || !m)
13797
+ }, [A, w, e, l, r]), S || K || !m)
13798
13798
  return /* @__PURE__ */ i("div", { className: `metakyc-sdk ${n || ""}`, dir: u ? "rtl" : void 0, children: /* @__PURE__ */ i(ne, { children: /* @__PURE__ */ s(oe, { children: [
13799
13799
  /* @__PURE__ */ i(Ke, { className: "my-8" }),
13800
13800
  /* @__PURE__ */ i("p", { className: "text-center mt-4", style: { color: "var(--metakyc-text-secondary, #6b7280)" }, children: o("workflow.loadingWorkflow") })
@@ -14030,7 +14030,7 @@ const sn = ({
14030
14030
  }
14031
14031
  );
14032
14032
  }
14033
- ), wi = {
14033
+ ), xi = {
14034
14034
  en: "English",
14035
14035
  de: "Deutsch",
14036
14036
  fr: "Français",
@@ -14114,7 +14114,7 @@ const sn = ({
14114
14114
  },
14115
14115
  children: [
14116
14116
  /* @__PURE__ */ i(mn, { size: 16 }),
14117
- /* @__PURE__ */ i("span", { children: wi[e] || e.toUpperCase() }),
14117
+ /* @__PURE__ */ i("span", { children: xi[e] || e.toUpperCase() }),
14118
14118
  /* @__PURE__ */ i(
14119
14119
  "svg",
14120
14120
  {
@@ -14182,7 +14182,7 @@ const sn = ({
14182
14182
  onMouseLeave: (y) => {
14183
14183
  g || (y.currentTarget.style.backgroundColor = "transparent");
14184
14184
  },
14185
- children: wi[m] || m.toUpperCase()
14185
+ children: xi[m] || m.toUpperCase()
14186
14186
  },
14187
14187
  m
14188
14188
  );
@@ -14197,8 +14197,8 @@ const sn = ({
14197
14197
  return /* @__PURE__ */ s("div", { className: `metakyc-sdk ${e || ""}`, dir: n ? "rtl" : "ltr", style: { position: "relative" }, children: [
14198
14198
  a.showLanguagePicker && /* @__PURE__ */ i("div", { style: {
14199
14199
  position: "absolute",
14200
- top: "var(--metakyc-shell-padding-y, 1.5rem)",
14201
- ...n ? { left: "var(--metakyc-shell-padding-x, 1.5rem)" } : { right: "var(--metakyc-shell-padding-x, 1.5rem)" },
14200
+ top: "calc(var(--metakyc-shell-padding-y, 1.5rem) + var(--metakyc-card-header-py, 1rem) + 1px)",
14201
+ ...n ? { left: "calc(var(--metakyc-shell-padding-x, 1.5rem) + var(--metakyc-card-header-px, 1.5rem) + 1px)" } : { right: "calc(var(--metakyc-shell-padding-x, 1.5rem) + var(--metakyc-card-header-px, 1.5rem) + 1px)" },
14202
14202
  zIndex: 50
14203
14203
  }, children: /* @__PURE__ */ i(pn, {}) }),
14204
14204
  t
@@ -14206,9 +14206,9 @@ const sn = ({
14206
14206
  }, Fn = (e) => {
14207
14207
  const { config: t } = Se();
14208
14208
  return t.debug || t.logLevel && t.logLevel !== "none" ? /* @__PURE__ */ s(Qa, { children: [
14209
- /* @__PURE__ */ i(xi, { ...e }),
14209
+ /* @__PURE__ */ i(wi, { ...e }),
14210
14210
  /* @__PURE__ */ i(Xa, {})
14211
- ] }) : /* @__PURE__ */ i(xi, { ...e });
14211
+ ] }) : /* @__PURE__ */ i(wi, { ...e });
14212
14212
  };
14213
14213
  function fn(e, t, a, r) {
14214
14214
  const n = It();
@@ -14217,7 +14217,7 @@ function fn(e, t, a, r) {
14217
14217
  (o = n.current) == null || o.updateSdkState({ phase: e, applicantId: t ?? null, isCompany: !!a, workflowKey: r ?? null });
14218
14218
  }, [n, e, t, a, r]);
14219
14219
  }
14220
- const xi = ({
14220
+ const wi = ({
14221
14221
  isCompany: e,
14222
14222
  onComplete: t,
14223
14223
  onError: a,
@@ -14231,7 +14231,7 @@ const xi = ({
14231
14231
  isCompany: m,
14232
14232
  workflowKey: g,
14233
14233
  error: y,
14234
- isLoading: x,
14234
+ isLoading: w,
14235
14235
  transitionToWorkflow: A,
14236
14236
  switchApplicant: S,
14237
14237
  refresh: B
@@ -14254,7 +14254,7 @@ const xi = ({
14254
14254
  const U = ye.useCallback((M) => {
14255
14255
  r == null || r(M), A(M);
14256
14256
  }, [r, A]);
14257
- if (d === "loading" || x)
14257
+ if (d === "loading" || w)
14258
14258
  return /* @__PURE__ */ i(Ct, { className: n, children: /* @__PURE__ */ i(ne, { children: /* @__PURE__ */ s(oe, { children: [
14259
14259
  /* @__PURE__ */ i(Ke, { className: "my-8" }),
14260
14260
  /* @__PURE__ */ i("p", { className: "text-center mt-4", style: { color: "var(--metakyc-text-secondary, #6b7280)" }, children: o("workflow.loadingWorkflow") })
@@ -14451,13 +14451,13 @@ export {
14451
14451
  Nn as isScriptLoaded,
14452
14452
  Ti as loadScript,
14453
14453
  _ as logger,
14454
- wr as minimalTheme,
14454
+ xr as minimalTheme,
14455
14455
  br as modernTheme,
14456
14456
  Rn as removeScript,
14457
14457
  ie as resolveDisplayText,
14458
14458
  En as saveApplicantId,
14459
14459
  na as saveWorkflowState,
14460
- xr as themePresets,
14460
+ wr as themePresets,
14461
14461
  Ii as useApplicant,
14462
14462
  jn as useAppropriatenessTest,
14463
14463
  ma as useIdentityVerification,