@techlabi/kycrazy-ui-kit 0.49.0-beta.0 → 0.49.0-beta.2

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.es.js CHANGED
@@ -340,11 +340,11 @@ var yy = "DismissableLayer", _1 = "dismissableLayer.update", wy = "dismissableLa
340
340
  onDismiss: A,
341
341
  ...f
342
342
  } = r, s = C.useContext(f6), [u, c] = C.useState(null), h = (u == null ? void 0 : u.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, d] = C.useState({}), p = R0(e, (O) => c(O)), b = Array.from(s.layers), [m] = [...s.layersWithOutsidePointerEventsDisabled].slice(-1), _ = b.indexOf(m), E = u ? b.indexOf(u) : -1, B = s.layersWithOutsidePointerEventsDisabled.size > 0, x = E >= _, k = Cy((O) => {
343
- const L = O.target, J = [...s.branches].some((D) => D.contains(L));
344
- !x || J || (n == null || n(O), o == null || o(O), O.defaultPrevented || A == null || A());
343
+ const L = O.target, z = [...s.branches].some((V) => V.contains(L));
344
+ !x || z || (n == null || n(O), o == null || o(O), O.defaultPrevented || A == null || A());
345
345
  }, h), $ = _y((O) => {
346
346
  const L = O.target;
347
- [...s.branches].some((D) => D.contains(L)) || (i == null || i(O), o == null || o(O), O.defaultPrevented || A == null || A());
347
+ [...s.branches].some((V) => V.contains(L)) || (i == null || i(O), o == null || o(O), O.defaultPrevented || A == null || A());
348
348
  }, h);
349
349
  return gy((O) => {
350
350
  E === s.layers.size - 1 && (t == null || t(O), !O.defaultPrevented && A && (O.preventDefault(), A()));
@@ -672,13 +672,13 @@ var h6 = "ToastViewport", Dy = ["F8"], B1 = "toast.viewportPause", I1 = "toast.v
672
672
  var k, $, O;
673
673
  const B = E.altKey || E.ctrlKey || E.metaKey;
674
674
  if (E.key === "Tab" && !B) {
675
- const L = document.activeElement, J = E.shiftKey;
676
- if (E.target === m && J) {
675
+ const L = document.activeElement, z = E.shiftKey;
676
+ if (E.target === m && z) {
677
677
  (k = s.current) == null || k.focus();
678
678
  return;
679
679
  }
680
- const j = b({ tabbingDirection: J ? "backwards" : "forwards" }), rr = j.findIndex((Y) => Y === L);
681
- xs(j.slice(rr + 1)) ? E.preventDefault() : J ? ($ = s.current) == null || $.focus() : (O = u.current) == null || O.focus();
680
+ const j = b({ tabbingDirection: z ? "backwards" : "forwards" }), rr = j.findIndex((Y) => Y === L);
681
+ xs(j.slice(rr + 1)) ? E.preventDefault() : z ? ($ = s.current) == null || $.focus() : (O = u.current) == null || O.focus();
682
682
  }
683
683
  };
684
684
  return m.addEventListener("keydown", _), () => m.removeEventListener("keydown", _);
@@ -798,7 +798,7 @@ var [Ly, Uy] = c6(To, {
798
798
  onSwipeCancel: h,
799
799
  onSwipeEnd: d,
800
800
  ...p
801
- } = r, b = yf(To, a), [m, _] = C.useState(null), E = R0(e, (Y) => _(Y)), B = C.useRef(null), x = C.useRef(null), k = n || b.duration, $ = C.useRef(0), O = C.useRef(k), L = C.useRef(0), { onToastAdd: J, onToastRemove: D } = b, K = _a(() => {
801
+ } = r, b = yf(To, a), [m, _] = C.useState(null), E = R0(e, (Y) => _(Y)), B = C.useRef(null), x = C.useRef(null), k = n || b.duration, $ = C.useRef(0), O = C.useRef(k), L = C.useRef(0), { onToastAdd: z, onToastRemove: V } = b, K = _a(() => {
802
802
  var or;
803
803
  (m == null ? void 0 : m.contains(document.activeElement)) && ((or = b.viewport) == null || or.focus()), o();
804
804
  }), j = C.useCallback(
@@ -822,7 +822,7 @@ var [Ly, Uy] = c6(To, {
822
822
  }
823
823
  }, [b.viewport, k, f, s, j]), C.useEffect(() => {
824
824
  i && !b.isClosePausedRef.current && j(k);
825
- }, [i, k, b.isClosePausedRef, j]), C.useEffect(() => (J(), () => D()), [J, D]);
825
+ }, [i, k, b.isClosePausedRef, j]), C.useEffect(() => (z(), () => V()), [z, V]);
826
826
  const rr = C.useMemo(() => m ? C6(m) : null, [m]);
827
827
  return b.viewport ? /* @__PURE__ */ X(q0, { children: [
828
828
  rr && /* @__PURE__ */ l(
@@ -1541,7 +1541,7 @@ const C0 = (r) => {
1541
1541
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
1542
1542
  x9.test(r) && !R9.test(r)
1543
1543
  ), G6 = () => !1, M9 = (r) => Z9.test(r), G9 = (r) => F9.test(r), X9 = () => {
1544
- const r = C0("colors"), e = C0("spacing"), a = C0("blur"), t = C0("brightness"), n = C0("borderColor"), i = C0("borderRadius"), o = C0("borderSpacing"), A = C0("borderWidth"), f = C0("contrast"), s = C0("grayscale"), u = C0("hueRotate"), c = C0("invert"), h = C0("gap"), d = C0("gradientColorStops"), p = C0("gradientColorStopPositions"), b = C0("inset"), m = C0("margin"), _ = C0("opacity"), E = C0("padding"), B = C0("saturate"), x = C0("scale"), k = C0("sepia"), $ = C0("skew"), O = C0("space"), L = C0("translate"), J = () => ["auto", "contain", "none"], D = () => ["auto", "hidden", "clip", "visible", "scroll"], K = () => ["auto", Dr, e], j = () => [Dr, e], rr = () => ["", it, Wt], Y = () => ["auto", wi, Dr], or = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], Q = () => ["solid", "dashed", "dotted", "double", "none"], P = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], v = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], w = () => ["", "0", Dr], g = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], y = () => [wi, Dr];
1544
+ const r = C0("colors"), e = C0("spacing"), a = C0("blur"), t = C0("brightness"), n = C0("borderColor"), i = C0("borderRadius"), o = C0("borderSpacing"), A = C0("borderWidth"), f = C0("contrast"), s = C0("grayscale"), u = C0("hueRotate"), c = C0("invert"), h = C0("gap"), d = C0("gradientColorStops"), p = C0("gradientColorStopPositions"), b = C0("inset"), m = C0("margin"), _ = C0("opacity"), E = C0("padding"), B = C0("saturate"), x = C0("scale"), k = C0("sepia"), $ = C0("skew"), O = C0("space"), L = C0("translate"), z = () => ["auto", "contain", "none"], V = () => ["auto", "hidden", "clip", "visible", "scroll"], K = () => ["auto", Dr, e], j = () => [Dr, e], rr = () => ["", it, Wt], Y = () => ["auto", wi, Dr], or = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], Q = () => ["solid", "dashed", "dotted", "double", "none"], P = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], v = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], w = () => ["", "0", Dr], g = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], y = () => [wi, Dr];
1545
1545
  return {
1546
1546
  cacheSize: 500,
1547
1547
  separator: ":",
@@ -1671,42 +1671,42 @@ const C0 = (r) => {
1671
1671
  * @see https://tailwindcss.com/docs/overflow
1672
1672
  */
1673
1673
  overflow: [{
1674
- overflow: D()
1674
+ overflow: V()
1675
1675
  }],
1676
1676
  /**
1677
1677
  * Overflow X
1678
1678
  * @see https://tailwindcss.com/docs/overflow
1679
1679
  */
1680
1680
  "overflow-x": [{
1681
- "overflow-x": D()
1681
+ "overflow-x": V()
1682
1682
  }],
1683
1683
  /**
1684
1684
  * Overflow Y
1685
1685
  * @see https://tailwindcss.com/docs/overflow
1686
1686
  */
1687
1687
  "overflow-y": [{
1688
- "overflow-y": D()
1688
+ "overflow-y": V()
1689
1689
  }],
1690
1690
  /**
1691
1691
  * Overscroll Behavior
1692
1692
  * @see https://tailwindcss.com/docs/overscroll-behavior
1693
1693
  */
1694
1694
  overscroll: [{
1695
- overscroll: J()
1695
+ overscroll: z()
1696
1696
  }],
1697
1697
  /**
1698
1698
  * Overscroll Behavior X
1699
1699
  * @see https://tailwindcss.com/docs/overscroll-behavior
1700
1700
  */
1701
1701
  "overscroll-x": [{
1702
- "overscroll-x": J()
1702
+ "overscroll-x": z()
1703
1703
  }],
1704
1704
  /**
1705
1705
  * Overscroll Behavior Y
1706
1706
  * @see https://tailwindcss.com/docs/overscroll-behavior
1707
1707
  */
1708
1708
  "overscroll-y": [{
1709
- "overscroll-y": J()
1709
+ "overscroll-y": z()
1710
1710
  }],
1711
1711
  /**
1712
1712
  * Position
@@ -3570,14 +3570,14 @@ const C0 = (r) => {
3570
3570
  }
3571
3571
  };
3572
3572
  }, X6 = /* @__PURE__ */ _9(X9);
3573
- function Or(...r) {
3573
+ function Vr(...r) {
3574
3574
  return X6(cl(r));
3575
3575
  }
3576
3576
  const j9 = r9, j6 = C.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ l(
3577
3577
  _6,
3578
3578
  {
3579
3579
  ref: a,
3580
- className: Or(
3580
+ className: Vr(
3581
3581
  "fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",
3582
3582
  r
3583
3583
  ),
@@ -3602,7 +3602,7 @@ const L9 = dl(
3602
3602
  B6,
3603
3603
  {
3604
3604
  ref: t,
3605
- className: Or(L9({ variant: e }), r),
3605
+ className: Vr(L9({ variant: e }), r),
3606
3606
  ...a
3607
3607
  }
3608
3608
  ));
@@ -3611,7 +3611,7 @@ const U9 = C.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ l(
3611
3611
  x6,
3612
3612
  {
3613
3613
  ref: a,
3614
- className: Or(
3614
+ className: Vr(
3615
3615
  "inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",
3616
3616
  r
3617
3617
  ),
@@ -3623,7 +3623,7 @@ const U6 = C.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ l(
3623
3623
  R6,
3624
3624
  {
3625
3625
  ref: a,
3626
- className: Or(
3626
+ className: Vr(
3627
3627
  "absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",
3628
3628
  r
3629
3629
  ),
@@ -3637,7 +3637,7 @@ const Y6 = C.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ l(
3637
3637
  I6,
3638
3638
  {
3639
3639
  ref: a,
3640
- className: Or("text-sm font-semibold", r),
3640
+ className: Vr("text-sm font-semibold", r),
3641
3641
  ...e
3642
3642
  }
3643
3643
  ));
@@ -3646,7 +3646,7 @@ const H6 = C.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ l(
3646
3646
  N6,
3647
3647
  {
3648
3648
  ref: a,
3649
- className: Or("text-sm opacity-90", r),
3649
+ className: Vr("text-sm opacity-90", r),
3650
3650
  ...e
3651
3651
  }
3652
3652
  ));
@@ -3771,14 +3771,14 @@ function ww(r) {
3771
3771
  }
3772
3772
  var kw = (r) => {
3773
3773
  var e, a, t, n, i, o, A, f, s, u, c;
3774
- let { invert: h, toast: d, unstyled: p, interacting: b, setHeights: m, visibleToasts: _, heights: E, index: B, toasts: x, expanded: k, removeToast: $, defaultRichColors: O, closeButton: L, style: J, cancelButtonStyle: D, actionButtonStyle: K, className: j = "", descriptionClassName: rr = "", duration: Y, position: or, gap: Q, loadingIcon: P, expandByDefault: v, classNames: w, icons: g, closeButtonAriaLabel: y = "Close toast", pauseWhenPageIsHidden: N } = r, [R, I] = G.useState(null), [F, V] = G.useState(null), [S, z] = G.useState(!1), [ar, q] = G.useState(!1), [er, T] = G.useState(!1), [fr, Zr] = G.useState(!1), [Tr, Fr] = G.useState(!1), [Ir, o0] = G.useState(0), [u0, Z] = G.useState(0), M = G.useRef(d.duration || Y || Dd), U = G.useRef(null), nr = G.useRef(null), ir = B === 0, tr = B + 1 <= _, lr = d.type, Wr = d.dismissible !== !1, Xr = d.className || "", F0 = d.descriptionClassName || "", ne = G.useMemo(() => E.findIndex((Ar) => Ar.toastId === d.id) || 0, [E, d.id]), B0 = G.useMemo(() => {
3774
+ let { invert: h, toast: d, unstyled: p, interacting: b, setHeights: m, visibleToasts: _, heights: E, index: B, toasts: x, expanded: k, removeToast: $, defaultRichColors: O, closeButton: L, style: z, cancelButtonStyle: V, actionButtonStyle: K, className: j = "", descriptionClassName: rr = "", duration: Y, position: or, gap: Q, loadingIcon: P, expandByDefault: v, classNames: w, icons: g, closeButtonAriaLabel: y = "Close toast", pauseWhenPageIsHidden: N } = r, [R, I] = G.useState(null), [F, D] = G.useState(null), [S, J] = G.useState(!1), [ar, q] = G.useState(!1), [er, T] = G.useState(!1), [fr, Zr] = G.useState(!1), [Tr, Fr] = G.useState(!1), [Ir, o0] = G.useState(0), [u0, Z] = G.useState(0), M = G.useRef(d.duration || Y || Dd), U = G.useRef(null), nr = G.useRef(null), ir = B === 0, tr = B + 1 <= _, lr = d.type, Wr = d.dismissible !== !1, Ur = d.className || "", F0 = d.descriptionClassName || "", ne = G.useMemo(() => E.findIndex((Ar) => Ar.toastId === d.id) || 0, [E, d.id]), B0 = G.useMemo(() => {
3775
3775
  var Ar;
3776
3776
  return (Ar = d.closeButton) != null ? Ar : L;
3777
3777
  }, [d.closeButton, L]), aa = G.useMemo(() => d.duration || Y || Dd, [d.duration, Y]), Oe = G.useRef(0), de = G.useRef(0), tt = G.useRef(0), Ce = G.useRef(null), [yn, he] = or.split("-"), ta = G.useMemo(() => E.reduce((Ar, Cr, cr) => cr >= ne ? Ar : Ar + Cr.height, 0), [E, ne]), ha = ow(), Ta = d.invert || h, nt = lr === "loading";
3778
3778
  de.current = G.useMemo(() => ne * Q + ta, [ne, ta]), G.useEffect(() => {
3779
3779
  M.current = aa;
3780
3780
  }, [aa]), G.useEffect(() => {
3781
- z(!0);
3781
+ J(!0);
3782
3782
  }, []), G.useEffect(() => {
3783
3783
  let Ar = nr.current;
3784
3784
  if (Ar) {
@@ -3817,7 +3817,7 @@ var kw = (r) => {
3817
3817
  var Ar, Cr, cr;
3818
3818
  return g != null && g.loading ? G.createElement("div", { className: ma(w == null ? void 0 : w.loader, (Ar = d == null ? void 0 : d.classNames) == null ? void 0 : Ar.loader, "sonner-loader"), "data-visible": lr === "loading" }, g.loading) : P ? G.createElement("div", { className: ma(w == null ? void 0 : w.loader, (Cr = d == null ? void 0 : d.classNames) == null ? void 0 : Cr.loader, "sonner-loader"), "data-visible": lr === "loading" }, P) : G.createElement(rw, { className: ma(w == null ? void 0 : w.loader, (cr = d == null ? void 0 : d.classNames) == null ? void 0 : cr.loader), visible: lr === "loading" });
3819
3819
  }
3820
- return G.createElement("li", { tabIndex: 0, ref: nr, className: ma(j, Xr, w == null ? void 0 : w.toast, (e = d == null ? void 0 : d.classNames) == null ? void 0 : e.toast, w == null ? void 0 : w.default, w == null ? void 0 : w[lr], (a = d == null ? void 0 : d.classNames) == null ? void 0 : a[lr]), "data-sonner-toast": "", "data-rich-colors": (t = d.richColors) != null ? t : O, "data-styled": !(d.jsx || d.unstyled || p), "data-mounted": S, "data-promise": !!d.promise, "data-swiped": Tr, "data-removed": ar, "data-visible": tr, "data-y-position": yn, "data-x-position": he, "data-index": B, "data-front": ir, "data-swiping": er, "data-dismissible": Wr, "data-type": lr, "data-invert": Ta, "data-swipe-out": fr, "data-swipe-direction": F, "data-expanded": !!(k || v && S), style: { "--index": B, "--toasts-before": B, "--z-index": x.length - B, "--offset": `${ar ? Ir : de.current}px`, "--initial-height": v ? "auto" : `${u0}px`, ...J, ...d.style }, onDragEnd: () => {
3820
+ return G.createElement("li", { tabIndex: 0, ref: nr, className: ma(j, Ur, w == null ? void 0 : w.toast, (e = d == null ? void 0 : d.classNames) == null ? void 0 : e.toast, w == null ? void 0 : w.default, w == null ? void 0 : w[lr], (a = d == null ? void 0 : d.classNames) == null ? void 0 : a[lr]), "data-sonner-toast": "", "data-rich-colors": (t = d.richColors) != null ? t : O, "data-styled": !(d.jsx || d.unstyled || p), "data-mounted": S, "data-promise": !!d.promise, "data-swiped": Tr, "data-removed": ar, "data-visible": tr, "data-y-position": yn, "data-x-position": he, "data-index": B, "data-front": ir, "data-swiping": er, "data-dismissible": Wr, "data-type": lr, "data-invert": Ta, "data-swipe-out": fr, "data-swipe-direction": F, "data-expanded": !!(k || v && S), style: { "--index": B, "--toasts-before": B, "--z-index": x.length - B, "--offset": `${ar ? Ir : de.current}px`, "--initial-height": v ? "auto" : `${u0}px`, ...z, ...d.style }, onDragEnd: () => {
3821
3821
  T(!1), I(null), Ce.current = null;
3822
3822
  }, onPointerDown: (Ar) => {
3823
3823
  nt || !Wr || (U.current = /* @__PURE__ */ new Date(), o0(de.current), Ar.target.setPointerCapture(Ar.pointerId), Ar.target.tagName !== "BUTTON" && (T(!0), Ce.current = { x: Ar.clientX, y: Ar.clientY }));
@@ -3825,24 +3825,24 @@ var kw = (r) => {
3825
3825
  var Ar, Cr, cr, wr;
3826
3826
  if (fr || !Wr) return;
3827
3827
  Ce.current = null;
3828
- let dr = Number(((Ar = nr.current) == null ? void 0 : Ar.style.getPropertyValue("--swipe-amount-x").replace("px", "")) || 0), vr = Number(((Cr = nr.current) == null ? void 0 : Cr.style.getPropertyValue("--swipe-amount-y").replace("px", "")) || 0), Gr = (/* @__PURE__ */ new Date()).getTime() - ((cr = U.current) == null ? void 0 : cr.getTime()), Hr = R === "x" ? dr : vr, l0 = Math.abs(Hr) / Gr;
3829
- if (Math.abs(Hr) >= gw || l0 > 0.11) {
3830
- o0(de.current), (wr = d.onDismiss) == null || wr.call(d, d), V(R === "x" ? dr > 0 ? "right" : "left" : vr > 0 ? "down" : "up"), se(), Zr(!0), Fr(!1);
3828
+ let dr = Number(((Ar = nr.current) == null ? void 0 : Ar.style.getPropertyValue("--swipe-amount-x").replace("px", "")) || 0), vr = Number(((Cr = nr.current) == null ? void 0 : Cr.style.getPropertyValue("--swipe-amount-y").replace("px", "")) || 0), Gr = (/* @__PURE__ */ new Date()).getTime() - ((cr = U.current) == null ? void 0 : cr.getTime()), Qr = R === "x" ? dr : vr, l0 = Math.abs(Qr) / Gr;
3829
+ if (Math.abs(Qr) >= gw || l0 > 0.11) {
3830
+ o0(de.current), (wr = d.onDismiss) == null || wr.call(d, d), D(R === "x" ? dr > 0 ? "right" : "left" : vr > 0 ? "down" : "up"), se(), Zr(!0), Fr(!1);
3831
3831
  return;
3832
3832
  }
3833
3833
  T(!1), I(null);
3834
3834
  }, onPointerMove: (Ar) => {
3835
3835
  var Cr, cr, wr, dr;
3836
3836
  if (!Ce.current || !Wr || ((Cr = window.getSelection()) == null ? void 0 : Cr.toString().length) > 0) return;
3837
- let vr = Ar.clientY - Ce.current.y, Gr = Ar.clientX - Ce.current.x, Hr = (cr = r.swipeDirections) != null ? cr : ww(or);
3837
+ let vr = Ar.clientY - Ce.current.y, Gr = Ar.clientX - Ce.current.x, Qr = (cr = r.swipeDirections) != null ? cr : ww(or);
3838
3838
  !R && (Math.abs(Gr) > 1 || Math.abs(vr) > 1) && I(Math.abs(Gr) > Math.abs(vr) ? "x" : "y");
3839
3839
  let l0 = { x: 0, y: 0 };
3840
- R === "y" ? (Hr.includes("top") || Hr.includes("bottom")) && (Hr.includes("top") && vr < 0 || Hr.includes("bottom") && vr > 0) && (l0.y = vr) : R === "x" && (Hr.includes("left") || Hr.includes("right")) && (Hr.includes("left") && Gr < 0 || Hr.includes("right") && Gr > 0) && (l0.x = Gr), (Math.abs(l0.x) > 0 || Math.abs(l0.y) > 0) && Fr(!0), (wr = nr.current) == null || wr.style.setProperty("--swipe-amount-x", `${l0.x}px`), (dr = nr.current) == null || dr.style.setProperty("--swipe-amount-y", `${l0.y}px`);
3840
+ R === "y" ? (Qr.includes("top") || Qr.includes("bottom")) && (Qr.includes("top") && vr < 0 || Qr.includes("bottom") && vr > 0) && (l0.y = vr) : R === "x" && (Qr.includes("left") || Qr.includes("right")) && (Qr.includes("left") && Gr < 0 || Qr.includes("right") && Gr > 0) && (l0.x = Gr), (Math.abs(l0.x) > 0 || Math.abs(l0.y) > 0) && Fr(!0), (wr = nr.current) == null || wr.style.setProperty("--swipe-amount-x", `${l0.x}px`), (dr = nr.current) == null || dr.style.setProperty("--swipe-amount-y", `${l0.y}px`);
3841
3841
  } }, B0 && !d.jsx ? G.createElement("button", { "aria-label": y, "data-disabled": nt, "data-close-button": !0, onClick: nt || !Wr ? () => {
3842
3842
  } : () => {
3843
3843
  var Ar;
3844
3844
  se(), (Ar = d.onDismiss) == null || Ar.call(d, d);
3845
- }, className: ma(w == null ? void 0 : w.closeButton, (n = d == null ? void 0 : d.classNames) == null ? void 0 : n.closeButton) }, (i = g == null ? void 0 : g.close) != null ? i : iw) : null, d.jsx || Bs(d.title) ? d.jsx ? d.jsx : typeof d.title == "function" ? d.title() : d.title : G.createElement(G.Fragment, null, lr || d.icon || d.promise ? G.createElement("div", { "data-icon": "", className: ma(w == null ? void 0 : w.icon, (o = d == null ? void 0 : d.classNames) == null ? void 0 : o.icon) }, d.promise || d.type === "loading" && !d.icon ? d.icon || xr() : null, d.type !== "loading" ? d.icon || (g == null ? void 0 : g[lr]) || K9(lr) : null) : null, G.createElement("div", { "data-content": "", className: ma(w == null ? void 0 : w.content, (A = d == null ? void 0 : d.classNames) == null ? void 0 : A.content) }, G.createElement("div", { "data-title": "", className: ma(w == null ? void 0 : w.title, (f = d == null ? void 0 : d.classNames) == null ? void 0 : f.title) }, typeof d.title == "function" ? d.title() : d.title), d.description ? G.createElement("div", { "data-description": "", className: ma(rr, F0, w == null ? void 0 : w.description, (s = d == null ? void 0 : d.classNames) == null ? void 0 : s.description) }, typeof d.description == "function" ? d.description() : d.description) : null), Bs(d.cancel) ? d.cancel : d.cancel && rA(d.cancel) ? G.createElement("button", { "data-button": !0, "data-cancel": !0, style: d.cancelButtonStyle || D, onClick: (Ar) => {
3845
+ }, className: ma(w == null ? void 0 : w.closeButton, (n = d == null ? void 0 : d.classNames) == null ? void 0 : n.closeButton) }, (i = g == null ? void 0 : g.close) != null ? i : iw) : null, d.jsx || Bs(d.title) ? d.jsx ? d.jsx : typeof d.title == "function" ? d.title() : d.title : G.createElement(G.Fragment, null, lr || d.icon || d.promise ? G.createElement("div", { "data-icon": "", className: ma(w == null ? void 0 : w.icon, (o = d == null ? void 0 : d.classNames) == null ? void 0 : o.icon) }, d.promise || d.type === "loading" && !d.icon ? d.icon || xr() : null, d.type !== "loading" ? d.icon || (g == null ? void 0 : g[lr]) || K9(lr) : null) : null, G.createElement("div", { "data-content": "", className: ma(w == null ? void 0 : w.content, (A = d == null ? void 0 : d.classNames) == null ? void 0 : A.content) }, G.createElement("div", { "data-title": "", className: ma(w == null ? void 0 : w.title, (f = d == null ? void 0 : d.classNames) == null ? void 0 : f.title) }, typeof d.title == "function" ? d.title() : d.title), d.description ? G.createElement("div", { "data-description": "", className: ma(rr, F0, w == null ? void 0 : w.description, (s = d == null ? void 0 : d.classNames) == null ? void 0 : s.description) }, typeof d.description == "function" ? d.description() : d.description) : null), Bs(d.cancel) ? d.cancel : d.cancel && rA(d.cancel) ? G.createElement("button", { "data-button": !0, "data-cancel": !0, style: d.cancelButtonStyle || V, onClick: (Ar) => {
3846
3846
  var Cr, cr;
3847
3847
  rA(d.cancel) && Wr && ((cr = (Cr = d.cancel).onClick) == null || cr.call(Cr, Ar), se());
3848
3848
  }, className: ma(w == null ? void 0 : w.cancelButton, (u = d == null ? void 0 : d.classNames) == null ? void 0 : u.cancelButton) }, d.cancel.label) : null, Bs(d.action) ? d.action : d.action && rA(d.action) ? G.createElement("button", { "data-button": !0, "data-action": !0, style: d.actionButtonStyle || K, onClick: (Ar) => {
@@ -3870,7 +3870,7 @@ function Ew(r, e) {
3870
3870
  }), a;
3871
3871
  }
3872
3872
  var Cw = d2(function(r, e) {
3873
- let { invert: a, position: t = "bottom-right", hotkey: n = ["altKey", "KeyT"], expand: i, closeButton: o, className: A, offset: f, mobileOffset: s, theme: u = "light", richColors: c, duration: h, style: d, visibleToasts: p = hw, toastOptions: b, dir: m = Md(), gap: _ = pw, loadingIcon: E, icons: B, containerAriaLabel: x = "Notifications", pauseWhenPageIsHidden: k } = r, [$, O] = G.useState([]), L = G.useMemo(() => Array.from(new Set([t].concat($.filter((N) => N.position).map((N) => N.position)))), [$, t]), [J, D] = G.useState([]), [K, j] = G.useState(!1), [rr, Y] = G.useState(!1), [or, Q] = G.useState(u !== "system" ? u : typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light"), P = G.useRef(null), v = n.join("+").replace(/Key/g, "").replace(/Digit/g, ""), w = G.useRef(null), g = G.useRef(!1), y = G.useCallback((N) => {
3873
+ let { invert: a, position: t = "bottom-right", hotkey: n = ["altKey", "KeyT"], expand: i, closeButton: o, className: A, offset: f, mobileOffset: s, theme: u = "light", richColors: c, duration: h, style: d, visibleToasts: p = hw, toastOptions: b, dir: m = Md(), gap: _ = pw, loadingIcon: E, icons: B, containerAriaLabel: x = "Notifications", pauseWhenPageIsHidden: k } = r, [$, O] = G.useState([]), L = G.useMemo(() => Array.from(new Set([t].concat($.filter((N) => N.position).map((N) => N.position)))), [$, t]), [z, V] = G.useState([]), [K, j] = G.useState(!1), [rr, Y] = G.useState(!1), [or, Q] = G.useState(u !== "system" ? u : typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light"), P = G.useRef(null), v = n.join("+").replace(/Key/g, "").replace(/Digit/g, ""), w = G.useRef(null), g = G.useRef(!1), y = G.useCallback((N) => {
3874
3874
  O((R) => {
3875
3875
  var I;
3876
3876
  return (I = R.find((F) => F.id === N.id)) != null && I.delete || xe.dismiss(N.id), R.filter(({ id: F }) => F !== N.id);
@@ -3914,7 +3914,7 @@ var Cw = d2(function(r, e) {
3914
3914
  }, [$]), G.useEffect(() => {
3915
3915
  let N = (R) => {
3916
3916
  var I, F;
3917
- n.every((V) => R[V] || R.code === V) && (j(!0), (I = P.current) == null || I.focus()), R.code === "Escape" && (document.activeElement === P.current || (F = P.current) != null && F.contains(document.activeElement)) && j(!1);
3917
+ n.every((D) => R[D] || R.code === D) && (j(!0), (I = P.current) == null || I.focus()), R.code === "Escape" && (document.activeElement === P.current || (F = P.current) != null && F.contains(document.activeElement)) && j(!1);
3918
3918
  };
3919
3919
  return document.addEventListener("keydown", N), () => document.removeEventListener("keydown", N);
3920
3920
  }, [n]), G.useEffect(() => {
@@ -3923,8 +3923,8 @@ var Cw = d2(function(r, e) {
3923
3923
  };
3924
3924
  }, [P.current]), G.createElement("section", { ref: e, "aria-label": `${x} ${v}`, tabIndex: -1, "aria-live": "polite", "aria-relevant": "additions text", "aria-atomic": "false", suppressHydrationWarning: !0 }, L.map((N, R) => {
3925
3925
  var I;
3926
- let [F, V] = N.split("-");
3927
- return $.length ? G.createElement("ol", { key: N, dir: m === "auto" ? Md() : m, tabIndex: -1, ref: P, className: A, "data-sonner-toaster": !0, "data-theme": or, "data-y-position": F, "data-lifted": K && $.length > 1 && !i, "data-x-position": V, style: { "--front-toast-height": `${((I = J[0]) == null ? void 0 : I.height) || 0}px`, "--width": `${vw}px`, "--gap": `${_}px`, ...d, ...Ew(f, s) }, onBlur: (S) => {
3926
+ let [F, D] = N.split("-");
3927
+ return $.length ? G.createElement("ol", { key: N, dir: m === "auto" ? Md() : m, tabIndex: -1, ref: P, className: A, "data-sonner-toaster": !0, "data-theme": or, "data-y-position": F, "data-lifted": K && $.length > 1 && !i, "data-x-position": D, style: { "--front-toast-height": `${((I = z[0]) == null ? void 0 : I.height) || 0}px`, "--width": `${vw}px`, "--gap": `${_}px`, ...d, ...Ew(f, s) }, onBlur: (S) => {
3928
3928
  g.current && !S.currentTarget.contains(S.relatedTarget) && (g.current = !1, w.current && (w.current.focus({ preventScroll: !0 }), w.current = null));
3929
3929
  }, onFocus: (S) => {
3930
3930
  S.target instanceof HTMLElement && S.target.dataset.dismissible === "false" || g.current || (g.current = !0, w.current = S.relatedTarget);
@@ -3932,9 +3932,9 @@ var Cw = d2(function(r, e) {
3932
3932
  rr || j(!1);
3933
3933
  }, onDragEnd: () => j(!1), onPointerDown: (S) => {
3934
3934
  S.target instanceof HTMLElement && S.target.dataset.dismissible === "false" || Y(!0);
3935
- }, onPointerUp: () => Y(!1) }, $.filter((S) => !S.position && R === 0 || S.position === N).map((S, z) => {
3935
+ }, onPointerUp: () => Y(!1) }, $.filter((S) => !S.position && R === 0 || S.position === N).map((S, J) => {
3936
3936
  var ar, q;
3937
- return G.createElement(kw, { key: S.id, icons: B, index: z, toast: S, defaultRichColors: c, duration: (ar = b == null ? void 0 : b.duration) != null ? ar : h, className: b == null ? void 0 : b.className, descriptionClassName: b == null ? void 0 : b.descriptionClassName, invert: a, visibleToasts: p, closeButton: (q = b == null ? void 0 : b.closeButton) != null ? q : o, interacting: rr, position: N, style: b == null ? void 0 : b.style, unstyled: b == null ? void 0 : b.unstyled, classNames: b == null ? void 0 : b.classNames, cancelButtonStyle: b == null ? void 0 : b.cancelButtonStyle, actionButtonStyle: b == null ? void 0 : b.actionButtonStyle, removeToast: y, toasts: $.filter((er) => er.position == S.position), heights: J.filter((er) => er.position == S.position), setHeights: D, expandByDefault: i, gap: _, loadingIcon: E, expanded: K, pauseWhenPageIsHidden: k, swipeDirections: r.swipeDirections });
3937
+ return G.createElement(kw, { key: S.id, icons: B, index: J, toast: S, defaultRichColors: c, duration: (ar = b == null ? void 0 : b.duration) != null ? ar : h, className: b == null ? void 0 : b.className, descriptionClassName: b == null ? void 0 : b.descriptionClassName, invert: a, visibleToasts: p, closeButton: (q = b == null ? void 0 : b.closeButton) != null ? q : o, interacting: rr, position: N, style: b == null ? void 0 : b.style, unstyled: b == null ? void 0 : b.unstyled, classNames: b == null ? void 0 : b.classNames, cancelButtonStyle: b == null ? void 0 : b.cancelButtonStyle, actionButtonStyle: b == null ? void 0 : b.actionButtonStyle, removeToast: y, toasts: $.filter((er) => er.position == S.position), heights: z.filter((er) => er.position == S.position), setHeights: V, expandByDefault: i, gap: _, loadingIcon: E, expanded: K, pauseWhenPageIsHidden: k, swipeDirections: r.swipeDirections });
3938
3938
  })) : null;
3939
3939
  }));
3940
3940
  });
@@ -4249,7 +4249,7 @@ const Dw = (r) => ({
4249
4249
  }, d = vl(n), p = ml(d), b = await o.getDimensions(s), m = d === "y", _ = m ? "top" : "left", E = m ? "bottom" : "right", B = m ? "clientHeight" : "clientWidth", x = i.reference[p] + i.reference[d] - h[d] - i.floating[p], k = h[d] - i.reference[d], $ = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(s));
4250
4250
  let O = $ ? $[B] : 0;
4251
4251
  (!O || !await (o.isElement == null ? void 0 : o.isElement($))) && (O = A.floating[B] || i.floating[p]);
4252
- const L = x / 2 - k / 2, J = O / 2 - b[p] / 2 - 1, D = on(c[_], J), K = on(c[E], J), j = D, rr = O - b[p] - K, Y = O / 2 - b[p] / 2 + L, or = F1(j, Y, rr), Q = !f.arrow && b2(n) != null && Y !== or && i.reference[p] / 2 - (Y < j ? D : K) - b[p] / 2 < 0, P = Q ? Y < j ? Y - j : Y - rr : 0;
4252
+ const L = x / 2 - k / 2, z = O / 2 - b[p] / 2 - 1, V = on(c[_], z), K = on(c[E], z), j = V, rr = O - b[p] - K, Y = O / 2 - b[p] / 2 + L, or = F1(j, Y, rr), Q = !f.arrow && b2(n) != null && Y !== or && i.reference[p] / 2 - (Y < j ? V : K) - b[p] / 2 < 0, P = Q ? Y < j ? Y - j : Y - rr : 0;
4253
4253
  return {
4254
4254
  [d]: h[d] + P,
4255
4255
  data: {
@@ -4288,36 +4288,36 @@ const Dw = (r) => ({
4288
4288
  return {};
4289
4289
  const _ = _t(n), E = Ya(A), B = _t(A) === A, x = await (f.isRTL == null ? void 0 : f.isRTL(s.floating)), k = h || (B || !b ? [OA(A)] : Sw(A)), $ = p !== "none";
4290
4290
  !h && $ && k.push(...Pw(A, b, p, x));
4291
- const O = [A, ...k], L = await K2(e, m), J = [];
4292
- let D = ((t = i.flip) == null ? void 0 : t.overflows) || [];
4293
- if (u && J.push(L[_]), c) {
4291
+ const O = [A, ...k], L = await K2(e, m), z = [];
4292
+ let V = ((t = i.flip) == null ? void 0 : t.overflows) || [];
4293
+ if (u && z.push(L[_]), c) {
4294
4294
  const Y = Fw(n, o, x);
4295
- J.push(L[Y[0]], L[Y[1]]);
4295
+ z.push(L[Y[0]], L[Y[1]]);
4296
4296
  }
4297
- if (D = [...D, {
4297
+ if (V = [...V, {
4298
4298
  placement: n,
4299
- overflows: J
4300
- }], !J.every((Y) => Y <= 0)) {
4299
+ overflows: z
4300
+ }], !z.every((Y) => Y <= 0)) {
4301
4301
  var K, j;
4302
4302
  const Y = (((K = i.flip) == null ? void 0 : K.index) || 0) + 1, or = O[Y];
4303
4303
  if (or && (!(c === "alignment" ? E !== Ya(or) : !1) || // We leave the current main axis only if every placement on that axis
4304
4304
  // overflows the main axis.
4305
- D.every((v) => Ya(v.placement) === E ? v.overflows[0] > 0 : !0)))
4305
+ V.every((v) => Ya(v.placement) === E ? v.overflows[0] > 0 : !0)))
4306
4306
  return {
4307
4307
  data: {
4308
4308
  index: Y,
4309
- overflows: D
4309
+ overflows: V
4310
4310
  },
4311
4311
  reset: {
4312
4312
  placement: or
4313
4313
  }
4314
4314
  };
4315
- let Q = (j = D.filter((P) => P.overflows[0] <= 0).sort((P, v) => P.overflows[1] - v.overflows[1])[0]) == null ? void 0 : j.placement;
4315
+ let Q = (j = V.filter((P) => P.overflows[0] <= 0).sort((P, v) => P.overflows[1] - v.overflows[1])[0]) == null ? void 0 : j.placement;
4316
4316
  if (!Q)
4317
4317
  switch (d) {
4318
4318
  case "bestFit": {
4319
4319
  var rr;
4320
- const P = (rr = D.filter((v) => {
4320
+ const P = (rr = V.filter((v) => {
4321
4321
  if ($) {
4322
4322
  const w = Ya(v.placement);
4323
4323
  return w === E || // Create a bias to the `y` side axis due to horizontal
@@ -4568,16 +4568,16 @@ const jw = function(r) {
4568
4568
  const E = b - u.top - u.bottom, B = p - u.left - u.right, x = on(b - u[m], E), k = on(p - u[_], B), $ = !e.middlewareData.shift;
4569
4569
  let O = x, L = k;
4570
4570
  if ((a = e.middlewareData.shift) != null && a.enabled.x && (L = B), (t = e.middlewareData.shift) != null && t.enabled.y && (O = E), $ && !h) {
4571
- const D = Le(u.left, 0), K = Le(u.right, 0), j = Le(u.top, 0), rr = Le(u.bottom, 0);
4572
- d ? L = p - 2 * (D !== 0 || K !== 0 ? D + K : Le(u.left, u.right)) : O = b - 2 * (j !== 0 || rr !== 0 ? j + rr : Le(u.top, u.bottom));
4571
+ const V = Le(u.left, 0), K = Le(u.right, 0), j = Le(u.top, 0), rr = Le(u.bottom, 0);
4572
+ d ? L = p - 2 * (V !== 0 || K !== 0 ? V + K : Le(u.left, u.right)) : O = b - 2 * (j !== 0 || rr !== 0 ? j + rr : Le(u.top, u.bottom));
4573
4573
  }
4574
4574
  await f({
4575
4575
  ...e,
4576
4576
  availableWidth: L,
4577
4577
  availableHeight: O
4578
4578
  });
4579
- const J = await o.getDimensions(A.floating);
4580
- return p !== J.width || b !== J.height ? {
4579
+ const z = await o.getDimensions(A.floating);
4580
+ return p !== z.width || b !== z.height ? {
4581
4581
  reset: {
4582
4582
  rects: !0
4583
4583
  }
@@ -5157,7 +5157,7 @@ function xk(r) {
5157
5157
  v !== $.current && ($.current = v, b(v));
5158
5158
  }, []), B = C.useCallback((v) => {
5159
5159
  v !== O.current && (O.current = v, _(v));
5160
- }, []), x = i || p, k = o || m, $ = C.useRef(null), O = C.useRef(null), L = C.useRef(u), J = f != null, D = Fs(f), K = Fs(n), j = Fs(s), rr = C.useCallback(() => {
5160
+ }, []), x = i || p, k = o || m, $ = C.useRef(null), O = C.useRef(null), L = C.useRef(u), z = f != null, V = Fs(f), K = Fs(n), j = Fs(s), rr = C.useCallback(() => {
5161
5161
  if (!$.current || !O.current)
5162
5162
  return;
5163
5163
  const v = {
@@ -5190,11 +5190,11 @@ function xk(r) {
5190
5190
  Y.current = !1;
5191
5191
  }), []), pA(() => {
5192
5192
  if (x && ($.current = x), k && (O.current = k), x && k) {
5193
- if (D.current)
5194
- return D.current(x, k, rr);
5193
+ if (V.current)
5194
+ return V.current(x, k, rr);
5195
5195
  rr();
5196
5196
  }
5197
- }, [x, k, rr, D, J]);
5197
+ }, [x, k, rr, V, z]);
5198
5198
  const or = C.useMemo(() => ({
5199
5199
  reference: $,
5200
5200
  floating: O,
@@ -5331,7 +5331,7 @@ var u8 = "PopperAnchor", l8 = C.forwardRef(
5331
5331
  l8.displayName = u8;
5332
5332
  var kl = "PopperContent", [Gk, Xk] = A8(kl), c8 = C.forwardRef(
5333
5333
  (r, e) => {
5334
- var S, z, ar, q, er, T;
5334
+ var S, J, ar, q, er, T;
5335
5335
  const {
5336
5336
  __scopePopper: a,
5337
5337
  side: t = "bottom",
@@ -5347,15 +5347,15 @@ var kl = "PopperContent", [Gk, Xk] = A8(kl), c8 = C.forwardRef(
5347
5347
  updatePositionStrategy: d = "optimized",
5348
5348
  onPlaced: p,
5349
5349
  ...b
5350
- } = r, m = f8(kl, a), [_, E] = C.useState(null), B = R0(e, (fr) => E(fr)), [x, k] = C.useState(null), $ = Dk(x), O = ($ == null ? void 0 : $.width) ?? 0, L = ($ == null ? void 0 : $.height) ?? 0, J = t + (i !== "center" ? "-" + i : ""), D = typeof u == "number" ? u : { top: 0, right: 0, bottom: 0, left: 0, ...u }, K = Array.isArray(s) ? s : [s], j = K.length > 0, rr = {
5351
- padding: D,
5350
+ } = r, m = f8(kl, a), [_, E] = C.useState(null), B = R0(e, (fr) => E(fr)), [x, k] = C.useState(null), $ = Dk(x), O = ($ == null ? void 0 : $.width) ?? 0, L = ($ == null ? void 0 : $.height) ?? 0, z = t + (i !== "center" ? "-" + i : ""), V = typeof u == "number" ? u : { top: 0, right: 0, bottom: 0, left: 0, ...u }, K = Array.isArray(s) ? s : [s], j = K.length > 0, rr = {
5351
+ padding: V,
5352
5352
  boundary: K.filter(Lk),
5353
5353
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
5354
5354
  altBoundary: j
5355
5355
  }, { refs: Y, floatingStyles: or, placement: Q, isPositioned: P, middlewareData: v } = xk({
5356
5356
  // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
5357
5357
  strategy: "fixed",
5358
- placement: J,
5358
+ placement: z,
5359
5359
  whileElementsMounted: (...fr) => gk(...fr, {
5360
5360
  animationFrame: d === "always"
5361
5361
  }),
@@ -5386,9 +5386,9 @@ var kl = "PopperContent", [Gk, Xk] = A8(kl), c8 = C.forwardRef(
5386
5386
  oe(() => {
5387
5387
  P && (y == null || y());
5388
5388
  }, [P, y]);
5389
- const N = (S = v.arrow) == null ? void 0 : S.x, R = (z = v.arrow) == null ? void 0 : z.y, I = ((ar = v.arrow) == null ? void 0 : ar.centerOffset) !== 0, [F, V] = C.useState();
5389
+ const N = (S = v.arrow) == null ? void 0 : S.x, R = (J = v.arrow) == null ? void 0 : J.y, I = ((ar = v.arrow) == null ? void 0 : ar.centerOffset) !== 0, [F, D] = C.useState();
5390
5390
  return oe(() => {
5391
- _ && V(window.getComputedStyle(_).zIndex);
5391
+ _ && D(window.getComputedStyle(_).zIndex);
5392
5392
  }, [_]), /* @__PURE__ */ l(
5393
5393
  "div",
5394
5394
  {
@@ -5773,7 +5773,7 @@ const u7 = s7, l7 = C.forwardRef(({ className: r, sideOffset: e = 4, ...a }, t)
5773
5773
  {
5774
5774
  ref: t,
5775
5775
  sideOffset: e,
5776
- className: Or(
5776
+ className: Vr(
5777
5777
  "z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
5778
5778
  r
5779
5779
  ),
@@ -6660,11 +6660,11 @@ var Ie, Kr, Io, be, $n, Ti, ht, Ht, No, $i, Pi, Pn, On, Qt, Oi, m0, D2, X1, j1,
6660
6660
  }).then(() => (this.updateResult(), W(this, be)));
6661
6661
  }
6662
6662
  createResult(e, a) {
6663
- var J;
6663
+ var z;
6664
6664
  const t = W(this, Kr), n = this.options, i = W(this, be), o = W(this, $n), A = W(this, Ti), s = e !== t ? e.state : W(this, Io), { state: u } = e;
6665
6665
  let c = { ...u }, h = !1, d;
6666
6666
  if (a._optimisticResults) {
6667
- const D = this.hasListeners(), K = !D && i4(e, a), j = D && o4(e, t, a, n);
6667
+ const V = this.hasListeners(), K = !V && i4(e, a), j = V && o4(e, t, a, n);
6668
6668
  (K || j) && (c = {
6669
6669
  ...c,
6670
6670
  ...R8(u.data, e.options)
@@ -6674,13 +6674,13 @@ var Ie, Kr, Io, be, $n, Ti, ht, Ht, No, $i, Pi, Pn, On, Qt, Oi, m0, D2, X1, j1,
6674
6674
  d = c.data;
6675
6675
  let _ = !1;
6676
6676
  if (a.placeholderData !== void 0 && d === void 0 && m === "pending") {
6677
- let D;
6678
- i != null && i.isPlaceholderData && a.placeholderData === (A == null ? void 0 : A.placeholderData) ? (D = i.data, _ = !0) : D = typeof a.placeholderData == "function" ? a.placeholderData(
6679
- (J = W(this, Pi)) == null ? void 0 : J.state.data,
6677
+ let V;
6678
+ i != null && i.isPlaceholderData && a.placeholderData === (A == null ? void 0 : A.placeholderData) ? (V = i.data, _ = !0) : V = typeof a.placeholderData == "function" ? a.placeholderData(
6679
+ (z = W(this, Pi)) == null ? void 0 : z.state.data,
6680
6680
  W(this, Pi)
6681
- ) : a.placeholderData, D !== void 0 && (m = "success", d = D1(
6681
+ ) : a.placeholderData, V !== void 0 && (m = "success", d = D1(
6682
6682
  i == null ? void 0 : i.data,
6683
- D,
6683
+ V,
6684
6684
  a
6685
6685
  ), h = !0);
6686
6686
  }
@@ -6690,8 +6690,8 @@ var Ie, Kr, Io, be, $n, Ti, ht, Ht, No, $i, Pi, Pn, On, Qt, Oi, m0, D2, X1, j1,
6690
6690
  else
6691
6691
  try {
6692
6692
  br(this, No, a.select), d = a.select(d), d = D1(i == null ? void 0 : i.data, d, a), br(this, $i, d), br(this, Ht, null);
6693
- } catch (D) {
6694
- br(this, Ht, D);
6693
+ } catch (V) {
6694
+ br(this, Ht, V);
6695
6695
  }
6696
6696
  W(this, Ht) && (p = W(this, Ht), d = W(this, $i), b = Date.now(), m = "error");
6697
6697
  const E = c.fetchStatus === "fetching", B = m === "pending", x = m === "error", k = B && E, $ = d !== void 0, L = {
@@ -6723,15 +6723,15 @@ var Ie, Kr, Io, be, $n, Ti, ht, Ht, No, $i, Pi, Pn, On, Qt, Oi, m0, D2, X1, j1,
6723
6723
  isEnabled: Aa(a.enabled, e) !== !1
6724
6724
  };
6725
6725
  if (this.options.experimental_prefetchInRender) {
6726
- const D = (rr) => {
6726
+ const V = (rr) => {
6727
6727
  L.status === "error" ? rr.reject(L.error) : L.data !== void 0 && rr.resolve(L.data);
6728
6728
  }, K = () => {
6729
6729
  const rr = br(this, ht, L.promise = M1());
6730
- D(rr);
6730
+ V(rr);
6731
6731
  }, j = W(this, ht);
6732
6732
  switch (j.status) {
6733
6733
  case "pending":
6734
- e.queryHash === t.queryHash && D(j);
6734
+ e.queryHash === t.queryHash && V(j);
6735
6735
  break;
6736
6736
  case "fulfilled":
6737
6737
  (L.status === "error" || L.data !== j.value) && K();
@@ -6865,10 +6865,10 @@ function A4(r) {
6865
6865
  meta: e.options.meta
6866
6866
  };
6867
6867
  return m(K), K;
6868
- })(), L = await _(O), { maxPages: J } = e.options, D = k ? g7 : p7;
6868
+ })(), L = await _(O), { maxPages: z } = e.options, V = k ? g7 : p7;
6869
6869
  return {
6870
- pages: D(B.pages, L, J),
6871
- pageParams: D(B.pageParams, x, J)
6870
+ pages: V(B.pages, L, z),
6871
+ pageParams: V(B.pageParams, x, z)
6872
6872
  };
6873
6873
  };
6874
6874
  if (n && i.length) {
@@ -6957,7 +6957,7 @@ var xo, Ga, me, Vn, Xa, Ot, zb, Z7 = (zb = class extends x8 {
6957
6957
  this.execute(this.state.variables);
6958
6958
  }
6959
6959
  async execute(e) {
6960
- var o, A, f, s, u, c, h, d, p, b, m, _, E, B, x, k, $, O, L, J;
6960
+ var o, A, f, s, u, c, h, d, p, b, m, _, E, B, x, k, $, O, L, z;
6961
6961
  const a = () => {
6962
6962
  zr(this, Xa, Ot).call(this, { type: "continue" });
6963
6963
  }, t = {
@@ -6967,8 +6967,8 @@ var xo, Ga, me, Vn, Xa, Ot, zb, Z7 = (zb = class extends x8 {
6967
6967
  };
6968
6968
  br(this, Vn, N8({
6969
6969
  fn: () => this.options.mutationFn ? this.options.mutationFn(e, t) : Promise.reject(new Error("No mutationFn found")),
6970
- onFail: (D, K) => {
6971
- zr(this, Xa, Ot).call(this, { type: "failed", failureCount: D, error: K });
6970
+ onFail: (V, K) => {
6971
+ zr(this, Xa, Ot).call(this, { type: "failed", failureCount: V, error: K });
6972
6972
  },
6973
6973
  onPause: () => {
6974
6974
  zr(this, Xa, Ot).call(this, { type: "pause" });
@@ -7002,23 +7002,23 @@ var xo, Ga, me, Vn, Xa, Ot, zb, Z7 = (zb = class extends x8 {
7002
7002
  isPaused: i
7003
7003
  });
7004
7004
  }
7005
- const D = await W(this, Vn).start();
7005
+ const V = await W(this, Vn).start();
7006
7006
  return await ((c = (u = W(this, me).config).onSuccess) == null ? void 0 : c.call(
7007
7007
  u,
7008
- D,
7008
+ V,
7009
7009
  e,
7010
7010
  this.state.context,
7011
7011
  this,
7012
7012
  t
7013
7013
  )), await ((d = (h = this.options).onSuccess) == null ? void 0 : d.call(
7014
7014
  h,
7015
- D,
7015
+ V,
7016
7016
  e,
7017
7017
  this.state.context,
7018
7018
  t
7019
7019
  )), await ((b = (p = W(this, me).config).onSettled) == null ? void 0 : b.call(
7020
7020
  p,
7021
- D,
7021
+ V,
7022
7022
  null,
7023
7023
  this.state.variables,
7024
7024
  this.state.context,
@@ -7026,45 +7026,45 @@ var xo, Ga, me, Vn, Xa, Ot, zb, Z7 = (zb = class extends x8 {
7026
7026
  t
7027
7027
  )), await ((_ = (m = this.options).onSettled) == null ? void 0 : _.call(
7028
7028
  m,
7029
- D,
7029
+ V,
7030
7030
  null,
7031
7031
  e,
7032
7032
  this.state.context,
7033
7033
  t
7034
- )), zr(this, Xa, Ot).call(this, { type: "success", data: D }), D;
7035
- } catch (D) {
7034
+ )), zr(this, Xa, Ot).call(this, { type: "success", data: V }), V;
7035
+ } catch (V) {
7036
7036
  try {
7037
7037
  throw await ((B = (E = W(this, me).config).onError) == null ? void 0 : B.call(
7038
7038
  E,
7039
- D,
7039
+ V,
7040
7040
  e,
7041
7041
  this.state.context,
7042
7042
  this,
7043
7043
  t
7044
7044
  )), await ((k = (x = this.options).onError) == null ? void 0 : k.call(
7045
7045
  x,
7046
- D,
7046
+ V,
7047
7047
  e,
7048
7048
  this.state.context,
7049
7049
  t
7050
7050
  )), await ((O = ($ = W(this, me).config).onSettled) == null ? void 0 : O.call(
7051
7051
  $,
7052
7052
  void 0,
7053
- D,
7053
+ V,
7054
7054
  this.state.variables,
7055
7055
  this.state.context,
7056
7056
  this,
7057
7057
  t
7058
- )), await ((J = (L = this.options).onSettled) == null ? void 0 : J.call(
7058
+ )), await ((z = (L = this.options).onSettled) == null ? void 0 : z.call(
7059
7059
  L,
7060
7060
  void 0,
7061
- D,
7061
+ V,
7062
7062
  e,
7063
7063
  this.state.context,
7064
7064
  t
7065
- )), D;
7065
+ )), V;
7066
7066
  } finally {
7067
- zr(this, Xa, Ot).call(this, { type: "error", error: D });
7067
+ zr(this, Xa, Ot).call(this, { type: "error", error: V });
7068
7068
  }
7069
7069
  } finally {
7070
7070
  W(this, me).runNext(this);
@@ -7873,10 +7873,10 @@ const RE = (r) => {
7873
7873
  asap: SE,
7874
7874
  isIterable: WE
7875
7875
  };
7876
- function Vr(r, e, a, t, n) {
7876
+ function Or(r, e, a, t, n) {
7877
7877
  Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = r, this.name = "AxiosError", e && (this.code = e), a && (this.config = a), t && (this.request = t), n && (this.response = n, this.status = n.status ? n.status : null);
7878
7878
  }
7879
- H.inherits(Vr, Error, {
7879
+ H.inherits(Or, Error, {
7880
7880
  toJSON: function() {
7881
7881
  return {
7882
7882
  // Standard
@@ -7897,7 +7897,7 @@ H.inherits(Vr, Error, {
7897
7897
  };
7898
7898
  }
7899
7899
  });
7900
- const G8 = Vr.prototype, X8 = {};
7900
+ const G8 = Or.prototype, X8 = {};
7901
7901
  [
7902
7902
  "ERR_BAD_OPTION_VALUE",
7903
7903
  "ERR_BAD_OPTION",
@@ -7915,15 +7915,15 @@ const G8 = Vr.prototype, X8 = {};
7915
7915
  ].forEach((r) => {
7916
7916
  X8[r] = { value: r };
7917
7917
  });
7918
- Object.defineProperties(Vr, X8);
7918
+ Object.defineProperties(Or, X8);
7919
7919
  Object.defineProperty(G8, "isAxiosError", { value: !0 });
7920
- Vr.from = (r, e, a, t, n, i) => {
7920
+ Or.from = (r, e, a, t, n, i) => {
7921
7921
  const o = Object.create(G8);
7922
7922
  H.toFlatObject(r, o, function(u) {
7923
7923
  return u !== Error.prototype;
7924
7924
  }, (s) => s !== "isAxiosError");
7925
7925
  const A = r && r.message ? r.message : "Error", f = e == null && r ? r.code : e;
7926
- return Vr.call(o, A, f, a, t, n), r && o.cause == null && Object.defineProperty(o, "cause", { value: r, configurable: !0 }), o.name = r && r.name || "Error", i && Object.assign(o, i), o;
7926
+ return Or.call(o, A, f, a, t, n), r && o.cause == null && Object.defineProperty(o, "cause", { value: r, configurable: !0 }), o.name = r && r.name || "Error", i && Object.assign(o, i), o;
7927
7927
  };
7928
7928
  const TE = null;
7929
7929
  function K1(r) {
@@ -7963,7 +7963,7 @@ function Ff(r, e, a) {
7963
7963
  if (H.isBoolean(p))
7964
7964
  return p.toString();
7965
7965
  if (!f && H.isBlob(p))
7966
- throw new Vr("Blob is not supported. Use a Buffer instead.");
7966
+ throw new Or("Blob is not supported. Use a Buffer instead.");
7967
7967
  return H.isArrayBuffer(p) || H.isTypedArray(p) ? f && typeof Blob == "function" ? new Blob([p]) : Buffer.from(p) : p;
7968
7968
  }
7969
7969
  function u(p, b, m) {
@@ -8214,7 +8214,7 @@ const Mo = {
8214
8214
  return JSON.parse(e, this.parseReviver);
8215
8215
  } catch (A) {
8216
8216
  if (o)
8217
- throw A.name === "SyntaxError" ? Vr.from(A, Vr.ERR_BAD_RESPONSE, this, null, this.response) : A;
8217
+ throw A.name === "SyntaxError" ? Or.from(A, Or.ERR_BAD_RESPONSE, this, null, this.response) : A;
8218
8218
  }
8219
8219
  }
8220
8220
  return e;
@@ -8457,16 +8457,16 @@ function Q8(r) {
8457
8457
  return !!(r && r.__CANCEL__);
8458
8458
  }
8459
8459
  function g2(r, e, a) {
8460
- Vr.call(this, r ?? "canceled", Vr.ERR_CANCELED, e, a), this.name = "CanceledError";
8460
+ Or.call(this, r ?? "canceled", Or.ERR_CANCELED, e, a), this.name = "CanceledError";
8461
8461
  }
8462
- H.inherits(g2, Vr, {
8462
+ H.inherits(g2, Or, {
8463
8463
  __CANCEL__: !0
8464
8464
  });
8465
8465
  function J8(r, e, a) {
8466
8466
  const t = a.config.validateStatus;
8467
- !a.status || !t || t(a.status) ? r(a) : e(new Vr(
8467
+ !a.status || !t || t(a.status) ? r(a) : e(new Or(
8468
8468
  "Request failed with status code " + a.status,
8469
- [Vr.ERR_BAD_REQUEST, Vr.ERR_BAD_RESPONSE][Math.floor(a.status / 100) - 4],
8469
+ [Or.ERR_BAD_REQUEST, Or.ERR_BAD_RESPONSE][Math.floor(a.status / 100) - 4],
8470
8470
  a.config,
8471
8471
  a.request,
8472
8472
  a
@@ -8691,16 +8691,16 @@ const K8 = (r) => {
8691
8691
  "onloadend" in m ? m.onloadend = _ : m.onreadystatechange = function() {
8692
8692
  !m || m.readyState !== 4 || m.status === 0 && !(m.responseURL && m.responseURL.indexOf("file:") === 0) || setTimeout(_);
8693
8693
  }, m.onabort = function() {
8694
- m && (t(new Vr("Request aborted", Vr.ECONNABORTED, r, m)), m = null);
8694
+ m && (t(new Or("Request aborted", Or.ECONNABORTED, r, m)), m = null);
8695
8695
  }, m.onerror = function(x) {
8696
- const k = x && x.message ? x.message : "Network Error", $ = new Vr(k, Vr.ERR_NETWORK, r, m);
8696
+ const k = x && x.message ? x.message : "Network Error", $ = new Or(k, Or.ERR_NETWORK, r, m);
8697
8697
  $.event = x || null, t($), m = null;
8698
8698
  }, m.ontimeout = function() {
8699
8699
  let x = n.timeout ? "timeout of " + n.timeout + "ms exceeded" : "timeout exceeded";
8700
8700
  const k = n.transitional || Y8;
8701
- n.timeoutErrorMessage && (x = n.timeoutErrorMessage), t(new Vr(
8701
+ n.timeoutErrorMessage && (x = n.timeoutErrorMessage), t(new Or(
8702
8702
  x,
8703
- k.clarifyTimeoutError ? Vr.ETIMEDOUT : Vr.ECONNABORTED,
8703
+ k.clarifyTimeoutError ? Or.ETIMEDOUT : Or.ECONNABORTED,
8704
8704
  r,
8705
8705
  m
8706
8706
  )), m = null;
@@ -8711,7 +8711,7 @@ const K8 = (r) => {
8711
8711
  }, n.cancelToken && n.cancelToken.subscribe(u), n.signal && (n.signal.aborted ? u() : n.signal.addEventListener("abort", u)));
8712
8712
  const E = tC(n.url);
8713
8713
  if (E && ce.protocols.indexOf(E) === -1) {
8714
- t(new Vr("Unsupported protocol " + E + ":", Vr.ERR_BAD_REQUEST, r));
8714
+ t(new Or("Unsupported protocol " + E + ":", Or.ERR_BAD_REQUEST, r));
8715
8715
  return;
8716
8716
  }
8717
8717
  m.send(i || null);
@@ -8724,11 +8724,11 @@ const K8 = (r) => {
8724
8724
  if (!n) {
8725
8725
  n = !0, A();
8726
8726
  const u = s instanceof Error ? s : this.reason;
8727
- t.abort(u instanceof Vr ? u : new g2(u instanceof Error ? u.message : u));
8727
+ t.abort(u instanceof Or ? u : new g2(u instanceof Error ? u.message : u));
8728
8728
  }
8729
8729
  };
8730
8730
  let o = e && setTimeout(() => {
8731
- o = null, i(new Vr(`timeout ${e} of ms exceeded`, Vr.ETIMEDOUT));
8731
+ o = null, i(new Or(`timeout ${e} of ms exceeded`, Or.ETIMEDOUT));
8732
8732
  }, e);
8733
8733
  const A = () => {
8734
8734
  r && (o && clearTimeout(o), o = null, r.forEach((s) => {
@@ -8833,7 +8833,7 @@ const K8 = (r) => {
8833
8833
  let _ = b && b[p];
8834
8834
  if (_)
8835
8835
  return _.call(b);
8836
- throw new Vr(`Response type '${p}' is not supported`, Vr.ERR_NOT_SUPPORT, m);
8836
+ throw new Or(`Response type '${p}' is not supported`, Or.ERR_NOT_SUPPORT, m);
8837
8837
  });
8838
8838
  });
8839
8839
  const h = async (p) => {
@@ -8866,8 +8866,8 @@ const K8 = (r) => {
8866
8866
  onUploadProgress: $,
8867
8867
  responseType: O,
8868
8868
  headers: L,
8869
- withCredentials: J = "same-origin",
8870
- fetchOptions: D
8869
+ withCredentials: z = "same-origin",
8870
+ fetchOptions: V
8871
8871
  } = K8(p), K = e || fetch;
8872
8872
  O = O ? (O + "").toLowerCase() : "text";
8873
8873
  let j = cC([E, B && B.toAbortSignal()], x), rr = null;
@@ -8890,18 +8890,18 @@ const K8 = (r) => {
8890
8890
  _ = p4(y.body, g4, R, I);
8891
8891
  }
8892
8892
  }
8893
- H.isString(J) || (J = J ? "include" : "omit");
8893
+ H.isString(z) || (z = z ? "include" : "omit");
8894
8894
  const Q = i && "credentials" in a.prototype, P = {
8895
- ...D,
8895
+ ...V,
8896
8896
  signal: j,
8897
8897
  method: m.toUpperCase(),
8898
8898
  headers: L.normalize().toJSON(),
8899
8899
  body: _,
8900
8900
  duplex: "half",
8901
- credentials: Q ? J : void 0
8901
+ credentials: Q ? z : void 0
8902
8902
  };
8903
8903
  rr = i && new a(b, P);
8904
- let v = await (i ? K(rr, D) : K(b, P));
8904
+ let v = await (i ? K(rr, V) : K(b, P));
8905
8905
  const w = u && (O === "stream" || O === "response");
8906
8906
  if (u && (k || w && Y)) {
8907
8907
  const y = {};
@@ -8933,11 +8933,11 @@ const K8 = (r) => {
8933
8933
  });
8934
8934
  } catch (Q) {
8935
8935
  throw Y && Y(), Q && Q.name === "TypeError" && /Load failed|fetch/i.test(Q.message) ? Object.assign(
8936
- new Vr("Network Error", Vr.ERR_NETWORK, p, rr),
8936
+ new Or("Network Error", Or.ERR_NETWORK, p, rr),
8937
8937
  {
8938
8938
  cause: Q.cause || Q
8939
8939
  }
8940
- ) : Vr.from(Q, Q && Q.code, p, rr);
8940
+ ) : Or.from(Q, Q && Q.code, p, rr);
8941
8941
  }
8942
8942
  };
8943
8943
  }, pC = /* @__PURE__ */ new Map(), q8 = (r) => {
@@ -8979,7 +8979,7 @@ function yC(r, e) {
8979
8979
  t = r[o];
8980
8980
  let A;
8981
8981
  if (n = t, !gC(t) && (n = Fl[(A = String(t)).toLowerCase()], n === void 0))
8982
- throw new Vr(`Unknown adapter '${A}'`);
8982
+ throw new Or(`Unknown adapter '${A}'`);
8983
8983
  if (n && (H.isFunction(n) || (n = n.get(e))))
8984
8984
  break;
8985
8985
  i[A || "#" + o] = n;
@@ -8991,7 +8991,7 @@ function yC(r, e) {
8991
8991
  let A = a ? o.length > 1 ? `since :
8992
8992
  ` + o.map(E4).join(`
8993
8993
  `) : " " + E4(o[0]) : "as no adapter specified";
8994
- throw new Vr(
8994
+ throw new Or(
8995
8995
  "There is no suitable adapter to dispatch the request " + A,
8996
8996
  "ERR_NOT_SUPPORT"
8997
8997
  );
@@ -9045,9 +9045,9 @@ Sf.transitional = function(e, a, t) {
9045
9045
  }
9046
9046
  return (i, o, A) => {
9047
9047
  if (e === !1)
9048
- throw new Vr(
9048
+ throw new Or(
9049
9049
  n(o, " has been removed" + (a ? " in " + a : "")),
9050
- Vr.ERR_DEPRECATED
9050
+ Or.ERR_DEPRECATED
9051
9051
  );
9052
9052
  return a && !_4[o] && (_4[o] = !0, console.warn(
9053
9053
  n(
@@ -9062,7 +9062,7 @@ Sf.spelling = function(e) {
9062
9062
  };
9063
9063
  function wC(r, e, a) {
9064
9064
  if (typeof r != "object")
9065
- throw new Vr("options must be an object", Vr.ERR_BAD_OPTION_VALUE);
9065
+ throw new Or("options must be an object", Or.ERR_BAD_OPTION_VALUE);
9066
9066
  const t = Object.keys(r);
9067
9067
  let n = t.length;
9068
9068
  for (; n-- > 0; ) {
@@ -9070,11 +9070,11 @@ function wC(r, e, a) {
9070
9070
  if (o) {
9071
9071
  const A = r[i], f = A === void 0 || o(A, i, r);
9072
9072
  if (f !== !0)
9073
- throw new Vr("option " + i + " must be " + f, Vr.ERR_BAD_OPTION_VALUE);
9073
+ throw new Or("option " + i + " must be " + f, Or.ERR_BAD_OPTION_VALUE);
9074
9074
  continue;
9075
9075
  }
9076
9076
  if (a !== !0)
9077
- throw new Vr("Unknown option " + i, Vr.ERR_BAD_OPTION);
9077
+ throw new Or("Unknown option " + i, Or.ERR_BAD_OPTION);
9078
9078
  }
9079
9079
  }
9080
9080
  const wA = {
@@ -9373,7 +9373,7 @@ y0.CancelToken = kC;
9373
9373
  y0.isCancel = Q8;
9374
9374
  y0.VERSION = e5;
9375
9375
  y0.toFormData = Ff;
9376
- y0.AxiosError = Vr;
9376
+ y0.AxiosError = Or;
9377
9377
  y0.Cancel = y0.CanceledError;
9378
9378
  y0.all = function(e) {
9379
9379
  return Promise.all(e);
@@ -9448,7 +9448,7 @@ const {
9448
9448
  ({ className: r, variant: e, size: a, asChild: t = !1, ...n }, i) => /* @__PURE__ */ l(
9449
9449
  t ? n6 : "button",
9450
9450
  {
9451
- className: Or(kA({ variant: e, size: a, className: r })),
9451
+ className: Vr(kA({ variant: e, size: a, className: r })),
9452
9452
  ref: i,
9453
9453
  ...n
9454
9454
  }
@@ -9459,7 +9459,7 @@ const Ae = C.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ l(
9459
9459
  "div",
9460
9460
  {
9461
9461
  ref: a,
9462
- className: Or(
9462
+ className: Vr(
9463
9463
  "rounded-lg border bg-card text-card-foreground shadow-sm",
9464
9464
  r
9465
9465
  ),
@@ -9471,7 +9471,7 @@ const Rt = C.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ l(
9471
9471
  "div",
9472
9472
  {
9473
9473
  ref: a,
9474
- className: Or("flex flex-col space-y-1.5 p-6", r),
9474
+ className: Vr("flex flex-col space-y-1.5 p-6", r),
9475
9475
  ...e
9476
9476
  }
9477
9477
  ));
@@ -9480,7 +9480,7 @@ const Sl = C.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ l(
9480
9480
  "h3",
9481
9481
  {
9482
9482
  ref: a,
9483
- className: Or(
9483
+ className: Vr(
9484
9484
  "text-2xl font-semibold leading-none tracking-tight",
9485
9485
  r
9486
9486
  ),
@@ -9492,18 +9492,18 @@ const BC = C.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ l(
9492
9492
  "p",
9493
9493
  {
9494
9494
  ref: a,
9495
- className: Or("text-sm text-muted-foreground", r),
9495
+ className: Vr("text-sm text-muted-foreground", r),
9496
9496
  ...e
9497
9497
  }
9498
9498
  ));
9499
9499
  BC.displayName = "CardDescription";
9500
- const fe = C.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ l("div", { ref: a, className: Or("p-6 pt-0", r), ...e }));
9500
+ const fe = C.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ l("div", { ref: a, className: Vr("p-6 pt-0", r), ...e }));
9501
9501
  fe.displayName = "CardContent";
9502
9502
  const IC = C.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ l(
9503
9503
  "div",
9504
9504
  {
9505
9505
  ref: a,
9506
- className: Or("flex items-center p-6 pt-0", r),
9506
+ className: Vr("flex items-center p-6 pt-0", r),
9507
9507
  ...e
9508
9508
  }
9509
9509
  ));
@@ -9974,26 +9974,26 @@ var fi = (r) => Y0(r) && !UA(r) ? r : {
9974
9974
  return {};
9975
9975
  const B = A ? A[0] : o, x = (j) => {
9976
9976
  n && B.reportValidity && (B.setCustomValidity(je(j) ? "" : j || ""), B.reportValidity());
9977
- }, k = {}, $ = Dl(o), O = Go(o), L = $ || O, J = (m || Vl(o)) && V0(o.value) && V0(E) || LA(o) && o.value === "" || E === "" || Array.isArray(E) && !E.length, D = c5.bind(null, b, t, k), K = (j, rr, Y, or = ot.maxLength, Q = ot.minLength) => {
9977
+ }, k = {}, $ = Dl(o), O = Go(o), L = $ || O, z = (m || Vl(o)) && V0(o.value) && V0(E) || LA(o) && o.value === "" || E === "" || Array.isArray(E) && !E.length, V = c5.bind(null, b, t, k), K = (j, rr, Y, or = ot.maxLength, Q = ot.minLength) => {
9978
9978
  const P = j ? rr : Y;
9979
9979
  k[b] = {
9980
9980
  type: j ? or : Q,
9981
9981
  message: P,
9982
9982
  ref: o,
9983
- ...D(j ? or : Q, P)
9983
+ ...V(j ? or : Q, P)
9984
9984
  };
9985
9985
  };
9986
- if (i ? !Array.isArray(E) || !E.length : f && (!L && (J || ve(E)) || je(E) && !E || O && !m5(A).isValid || $ && !p5(A).isValid)) {
9986
+ if (i ? !Array.isArray(E) || !E.length : f && (!L && (z || ve(E)) || je(E) && !E || O && !m5(A).isValid || $ && !p5(A).isValid)) {
9987
9987
  const { value: j, message: rr } = Ue(f) ? { value: !!f, message: f } : fi(f);
9988
9988
  if (j && (k[b] = {
9989
9989
  type: ot.required,
9990
9990
  message: rr,
9991
9991
  ref: B,
9992
- ...D(ot.required, rr)
9992
+ ...V(ot.required, rr)
9993
9993
  }, !t))
9994
9994
  return x(rr), k;
9995
9995
  }
9996
- if (!J && (!ve(c) || !ve(h))) {
9996
+ if (!z && (!ve(c) || !ve(h))) {
9997
9997
  let j, rr;
9998
9998
  const Y = fi(h), or = fi(c);
9999
9999
  if (!ve(E) && !isNaN(E)) {
@@ -10006,18 +10006,18 @@ var fi = (r) => Y0(r) && !UA(r) ? r : {
10006
10006
  if ((j || rr) && (K(!!j, Y.message, or.message, ot.max, ot.min), !t))
10007
10007
  return x(k[b].message), k;
10008
10008
  }
10009
- if ((s || u) && !J && (Ue(E) || i && Array.isArray(E))) {
10009
+ if ((s || u) && !z && (Ue(E) || i && Array.isArray(E))) {
10010
10010
  const j = fi(s), rr = fi(u), Y = !ve(j.value) && E.length > +j.value, or = !ve(rr.value) && E.length < +rr.value;
10011
10011
  if ((Y || or) && (K(Y, j.message, rr.message), !t))
10012
10012
  return x(k[b].message), k;
10013
10013
  }
10014
- if (d && !J && Ue(E)) {
10014
+ if (d && !z && Ue(E)) {
10015
10015
  const { value: j, message: rr } = fi(d);
10016
10016
  if (UA(j) && !E.match(j) && (k[b] = {
10017
10017
  type: ot.pattern,
10018
10018
  message: rr,
10019
10019
  ref: o,
10020
- ...D(ot.pattern, rr)
10020
+ ...V(ot.pattern, rr)
10021
10021
  }, !t))
10022
10022
  return x(rr), k;
10023
10023
  }
@@ -10026,7 +10026,7 @@ var fi = (r) => Y0(r) && !UA(r) ? r : {
10026
10026
  const j = await p(E, a), rr = T4(j, B);
10027
10027
  if (rr && (k[b] = {
10028
10028
  ...rr,
10029
- ...D(ot.validate, rr.message)
10029
+ ...V(ot.validate, rr.message)
10030
10030
  }, !t))
10031
10031
  return x(rr.message), k;
10032
10032
  } else if (Y0(p)) {
@@ -10037,7 +10037,7 @@ var fi = (r) => Y0(r) && !UA(r) ? r : {
10037
10037
  const Y = T4(await p[rr](E, a), B, rr);
10038
10038
  Y && (j = {
10039
10039
  ...Y,
10040
- ...D(rr, Y.message)
10040
+ ...V(rr, Y.message)
10041
10041
  }, x(Y.message), t && (k[b] = j));
10042
10042
  }
10043
10043
  if (!Ne(j) && (k[b] = {
@@ -10103,7 +10103,7 @@ function YC(r = {}) {
10103
10103
  clearTimeout(s), s = setTimeout(Z, M);
10104
10104
  }, b = async (Z) => {
10105
10105
  if (!e.disabled && (u.isValid || c.isValid || Z)) {
10106
- const M = e.resolver ? Ne((await O()).errors) : await J(t, !0);
10106
+ const M = e.resolver ? Ne((await O()).errors) : await z(t, !0);
10107
10107
  M !== a.isValid && h.state.next({
10108
10108
  isValid: M
10109
10109
  });
@@ -10161,12 +10161,12 @@ function YC(r = {}) {
10161
10161
  if (!e.disabled) {
10162
10162
  if (!U || nr) {
10163
10163
  (u.isDirty || c.isDirty) && (lr = a.isDirty, a.isDirty = Wr.isDirty = K(), tr = lr !== Wr.isDirty);
10164
- const Xr = mt(hr(n, Z), M);
10165
- lr = !!hr(a.dirtyFields, Z), Xr ? G0(a.dirtyFields, Z) : v0(a.dirtyFields, Z, !0), Wr.dirtyFields = a.dirtyFields, tr = tr || (u.dirtyFields || c.dirtyFields) && lr !== !Xr;
10164
+ const Ur = mt(hr(n, Z), M);
10165
+ lr = !!hr(a.dirtyFields, Z), Ur ? G0(a.dirtyFields, Z) : v0(a.dirtyFields, Z, !0), Wr.dirtyFields = a.dirtyFields, tr = tr || (u.dirtyFields || c.dirtyFields) && lr !== !Ur;
10166
10166
  }
10167
10167
  if (U) {
10168
- const Xr = hr(a.touchedFields, Z);
10169
- Xr || (v0(a.touchedFields, Z, U), Wr.touchedFields = a.touchedFields, tr = tr || (u.touchedFields || c.touchedFields) && Xr !== U);
10168
+ const Ur = hr(a.touchedFields, Z);
10169
+ Ur || (v0(a.touchedFields, Z, U), Wr.touchedFields = a.touchedFields, tr = tr || (u.touchedFields || c.touchedFields) && Ur !== U);
10170
10170
  }
10171
10171
  tr && ir && h.state.next(Wr);
10172
10172
  }
@@ -10199,7 +10199,7 @@ function YC(r = {}) {
10199
10199
  else
10200
10200
  a.errors = M;
10201
10201
  return M;
10202
- }, J = async (Z, M, U = {
10202
+ }, z = async (Z, M, U = {
10203
10203
  valid: !0
10204
10204
  }) => {
10205
10205
  for (const nr in Z) {
@@ -10207,18 +10207,18 @@ function YC(r = {}) {
10207
10207
  if (ir) {
10208
10208
  const { _f: tr, ...lr } = ir;
10209
10209
  if (tr) {
10210
- const Wr = A.array.has(tr.name), Xr = ir._f && VC(ir._f);
10211
- Xr && u.validatingFields && m([tr.name], !0);
10210
+ const Wr = A.array.has(tr.name), Ur = ir._f && VC(ir._f);
10211
+ Ur && u.validatingFields && m([tr.name], !0);
10212
10212
  const F0 = await $4(ir, A.disabled, i, d, e.shouldUseNativeValidation && !M, Wr);
10213
- if (Xr && u.validatingFields && m([tr.name]), F0[tr.name] && (U.valid = !1, M))
10213
+ if (Ur && u.validatingFields && m([tr.name]), F0[tr.name] && (U.valid = !1, M))
10214
10214
  break;
10215
10215
  !M && (hr(F0, tr.name) ? Wr ? LC(a.errors, F0, tr.name) : v0(a.errors, tr.name, F0[tr.name]) : G0(a.errors, tr.name));
10216
10216
  }
10217
- !Ne(lr) && await J(lr, M, U);
10217
+ !Ne(lr) && await z(lr, M, U);
10218
10218
  }
10219
10219
  }
10220
10220
  return U.valid;
10221
- }, D = () => {
10221
+ }, V = () => {
10222
10222
  for (const Z of A.unMount) {
10223
10223
  const M = hr(t, Z);
10224
10224
  M && (M._f.refs ? M._f.refs.every((U) => !$s(U)) : !$s(M._f.ref)) && S(Z);
@@ -10263,11 +10263,11 @@ function YC(r = {}) {
10263
10263
  o.mount = !0;
10264
10264
  const M = Z.target;
10265
10265
  let U = M.name, nr = !0;
10266
- const ir = hr(t, U), tr = (Xr) => {
10267
- nr = Number.isNaN(Xr) || In(Xr) && isNaN(Xr.getTime()) || mt(Xr, hr(i, U, Xr));
10266
+ const ir = hr(t, U), tr = (Ur) => {
10267
+ nr = Number.isNaN(Ur) || In(Ur) && isNaN(Ur.getTime()) || mt(Ur, hr(i, U, Ur));
10268
10268
  }, lr = Z4(e.mode), Wr = Z4(e.reValidateMode);
10269
10269
  if (ir) {
10270
- let Xr, F0;
10270
+ let Ur, F0;
10271
10271
  const ne = M.type ? R4(ir._f) : A5(Z), B0 = Z.type === jA.BLUR || Z.type === jA.FOCUS_OUT, aa = !DC(ir._f) && !e.resolver && !hr(a.errors, U) && !ir._f.deps || XC(B0, hr(a.touchedFields, U), a.isSubmitted, Wr, lr), Oe = S4(U, A, B0);
10272
10272
  v0(i, U, ne), B0 ? (!M || !M.readOnly) && (ir._f.onBlur && ir._f.onBlur(Z), f && f(0)) : ir._f.onChange && ir._f.onChange(Z);
10273
10273
  const de = k(U, ne, B0), tt = !Ne(de) || Oe;
@@ -10281,11 +10281,11 @@ function YC(r = {}) {
10281
10281
  const { errors: Ce } = await O([U]);
10282
10282
  if (tr(ne), nr) {
10283
10283
  const yn = W4(a.errors, t, U), he = W4(Ce, t, yn.name || U);
10284
- Xr = he.error, U = he.name, F0 = Ne(Ce);
10284
+ Ur = he.error, U = he.name, F0 = Ne(Ce);
10285
10285
  }
10286
10286
  } else
10287
- m([U], !0), Xr = (await $4(ir, A.disabled, i, d, e.shouldUseNativeValidation))[U], m([U]), tr(ne), nr && (Xr ? F0 = !1 : (u.isValid || c.isValid) && (F0 = await J(t, !0)));
10288
- nr && (ir._f.deps && (!Array.isArray(ir._f.deps) || ir._f.deps.length > 0) && w(ir._f.deps), $(U, F0, Xr, de));
10287
+ m([U], !0), Ur = (await $4(ir, A.disabled, i, d, e.shouldUseNativeValidation))[U], m([U]), tr(ne), nr && (Ur ? F0 = !1 : (u.isValid || c.isValid) && (F0 = await z(t, !0)));
10288
+ nr && (ir._f.deps && (!Array.isArray(ir._f.deps) || ir._f.deps.length > 0) && w(ir._f.deps), $(U, F0, Ur, de));
10289
10289
  }
10290
10290
  }, v = (Z, M) => {
10291
10291
  if (hr(a.errors, M) && Z.focus)
@@ -10298,8 +10298,8 @@ function YC(r = {}) {
10298
10298
  U = Ne(tr), nr = Z ? !ir.some((lr) => hr(tr, lr)) : U;
10299
10299
  } else Z ? (nr = (await Promise.all(ir.map(async (tr) => {
10300
10300
  const lr = hr(t, tr);
10301
- return await J(lr && lr._f ? { [tr]: lr } : lr);
10302
- }))).every(Boolean), !(!nr && !a.isValid) && b()) : nr = U = await J(t);
10301
+ return await z(lr && lr._f ? { [tr]: lr } : lr);
10302
+ }))).every(Boolean), !(!nr && !a.isValid) && b()) : nr = U = await z(t);
10303
10303
  return h.state.next({
10304
10304
  ...!Ue(Z) || (u.isValid || c.isValid) && U !== a.isValid ? {} : { name: Z },
10305
10305
  ...e.resolver || !Z ? { isValid: U } : {},
@@ -10321,9 +10321,9 @@ function YC(r = {}) {
10321
10321
  errors: Z ? a.errors : {}
10322
10322
  });
10323
10323
  }, R = (Z, M, U) => {
10324
- const nr = (hr(t, Z, { _f: {} })._f || {}).ref, ir = hr(a.errors, Z) || {}, { ref: tr, message: lr, type: Wr, ...Xr } = ir;
10324
+ const nr = (hr(t, Z, { _f: {} })._f || {}).ref, ir = hr(a.errors, Z) || {}, { ref: tr, message: lr, type: Wr, ...Ur } = ir;
10325
10325
  v0(a.errors, Z, {
10326
- ...Xr,
10326
+ ...Ur,
10327
10327
  ...M,
10328
10328
  ref: nr
10329
10329
  }), h.state.next({
@@ -10342,7 +10342,7 @@ function YC(r = {}) {
10342
10342
  defaultValues: n
10343
10343
  });
10344
10344
  }
10345
- }).unsubscribe, V = (Z) => (o.mount = !0, c = {
10345
+ }).unsubscribe, D = (Z) => (o.mount = !0, c = {
10346
10346
  ...c,
10347
10347
  ...Z.formState
10348
10348
  }, F({
@@ -10357,7 +10357,7 @@ function YC(r = {}) {
10357
10357
  ...a,
10358
10358
  ...M.keepDirty ? { isDirty: K() } : {}
10359
10359
  }), !M.keepIsValid && b();
10360
- }, z = ({ disabled: Z, name: M }) => {
10360
+ }, J = ({ disabled: Z, name: M }) => {
10361
10361
  (je(Z) && o.mount || Z || A.disabled.has(M)) && (Z ? A.disabled.add(M) : A.disabled.delete(M));
10362
10362
  }, ar = (Z, M = {}) => {
10363
10363
  let U = hr(t, Z);
@@ -10370,7 +10370,7 @@ function YC(r = {}) {
10370
10370
  mount: !0,
10371
10371
  ...M
10372
10372
  }
10373
- }), A.mount.add(Z), U ? z({
10373
+ }), A.mount.add(Z), U ? J({
10374
10374
  disabled: je(M.disabled) ? M.disabled : e.disabled,
10375
10375
  name: Z
10376
10376
  }) : x(Z, !0, M.value), {
@@ -10390,7 +10390,7 @@ function YC(r = {}) {
10390
10390
  if (ir) {
10391
10391
  ar(Z, M), U = hr(t, Z);
10392
10392
  const tr = V0(ir.value) && ir.querySelectorAll && ir.querySelectorAll("input,select,textarea")[0] || ir, lr = WC(tr), Wr = U._f.refs || [];
10393
- if (lr ? Wr.find((Xr) => Xr === tr) : tr === U._f.ref)
10393
+ if (lr ? Wr.find((Ur) => Ur === tr) : tr === U._f.ref)
10394
10394
  return;
10395
10395
  v0(t, Z, {
10396
10396
  _f: {
@@ -10426,7 +10426,7 @@ function YC(r = {}) {
10426
10426
  const { errors: tr, values: lr } = await O();
10427
10427
  a.errors = tr, ir = J0(lr);
10428
10428
  } else
10429
- await J(t);
10429
+ await z(t);
10430
10430
  if (A.disabled.size)
10431
10431
  for (const tr of A.disabled)
10432
10432
  G0(ir, tr);
@@ -10466,9 +10466,9 @@ function YC(r = {}) {
10466
10466
  for (const lr of A.mount) {
10467
10467
  const Wr = hr(t, lr);
10468
10468
  if (Wr && Wr._f) {
10469
- const Xr = Array.isArray(Wr._f.refs) ? Wr._f.refs[0] : Wr._f.ref;
10470
- if (LA(Xr)) {
10471
- const F0 = Xr.closest("form");
10469
+ const Ur = Array.isArray(Wr._f.refs) ? Wr._f.refs[0] : Wr._f.ref;
10470
+ if (LA(Ur)) {
10471
+ const F0 = Ur.closest("form");
10472
10472
  if (F0) {
10473
10473
  F0.reset();
10474
10474
  break;
@@ -10532,7 +10532,7 @@ function YC(r = {}) {
10532
10532
  _getDirty: K,
10533
10533
  _setValid: b,
10534
10534
  _setFieldArray: _,
10535
- _setDisabledField: z,
10535
+ _setDisabledField: J,
10536
10536
  _setErrors: B,
10537
10537
  _getFieldArray: rr,
10538
10538
  _reset: Zr,
@@ -10541,7 +10541,7 @@ function YC(r = {}) {
10541
10541
  isLoading: !1
10542
10542
  });
10543
10543
  }),
10544
- _removeUnmounted: D,
10544
+ _removeUnmounted: V,
10545
10545
  _disableForm: er,
10546
10546
  _subjects: h,
10547
10547
  _proxyFormState: u,
@@ -10579,7 +10579,7 @@ function YC(r = {}) {
10579
10579
  };
10580
10580
  }
10581
10581
  },
10582
- subscribe: V,
10582
+ subscribe: D,
10583
10583
  trigger: w,
10584
10584
  register: ar,
10585
10585
  handleSubmit: T,
@@ -11066,7 +11066,7 @@ const M4 = (r, e) => {
11066
11066
  }
11067
11067
  };
11068
11068
  };
11069
- function Yr(r) {
11069
+ function Hr(r) {
11070
11070
  if (!r)
11071
11071
  return {};
11072
11072
  const { errorMap: e, invalid_type_error: a, required_error: t, description: n } = r;
@@ -11245,7 +11245,7 @@ class i0 {
11245
11245
  }
11246
11246
  transform(e) {
11247
11247
  return new Ji({
11248
- ...Yr(this._def),
11248
+ ...Hr(this._def),
11249
11249
  schema: this,
11250
11250
  typeName: Pr.ZodEffects,
11251
11251
  effect: { type: "transform", transform: e }
@@ -11254,7 +11254,7 @@ class i0 {
11254
11254
  default(e) {
11255
11255
  const a = typeof e == "function" ? e : () => e;
11256
11256
  return new ou({
11257
- ...Yr(this._def),
11257
+ ...Hr(this._def),
11258
11258
  innerType: this,
11259
11259
  defaultValue: a,
11260
11260
  typeName: Pr.ZodDefault
@@ -11264,13 +11264,13 @@ class i0 {
11264
11264
  return new k_({
11265
11265
  typeName: Pr.ZodBranded,
11266
11266
  type: this,
11267
- ...Yr(this._def)
11267
+ ...Hr(this._def)
11268
11268
  });
11269
11269
  }
11270
11270
  catch(e) {
11271
11271
  const a = typeof e == "function" ? e : () => e;
11272
11272
  return new Au({
11273
- ...Yr(this._def),
11273
+ ...Hr(this._def),
11274
11274
  innerType: this,
11275
11275
  catchValue: a,
11276
11276
  typeName: Pr.ZodCatch
@@ -11713,7 +11713,7 @@ pt.create = (r) => new pt({
11713
11713
  checks: [],
11714
11714
  typeName: Pr.ZodString,
11715
11715
  coerce: (r == null ? void 0 : r.coerce) ?? !1,
11716
- ...Yr(r)
11716
+ ...Hr(r)
11717
11717
  });
11718
11718
  function w_(r, e) {
11719
11719
  const a = (r.toString().split(".")[1] || "").length, t = (e.toString().split(".")[1] || "").length, n = a > t ? a : t, i = Number.parseInt(r.toFixed(n).replace(".", "")), o = Number.parseInt(e.toFixed(n).replace(".", ""));
@@ -11889,7 +11889,7 @@ Un.create = (r) => new Un({
11889
11889
  checks: [],
11890
11890
  typeName: Pr.ZodNumber,
11891
11891
  coerce: (r == null ? void 0 : r.coerce) || !1,
11892
- ...Yr(r)
11892
+ ...Hr(r)
11893
11893
  });
11894
11894
  class Yn extends i0 {
11895
11895
  constructor() {
@@ -12022,7 +12022,7 @@ Yn.create = (r) => new Yn({
12022
12022
  checks: [],
12023
12023
  typeName: Pr.ZodBigInt,
12024
12024
  coerce: (r == null ? void 0 : r.coerce) ?? !1,
12025
- ...Yr(r)
12025
+ ...Hr(r)
12026
12026
  });
12027
12027
  class HA extends i0 {
12028
12028
  _parse(e) {
@@ -12040,7 +12040,7 @@ class HA extends i0 {
12040
12040
  HA.create = (r) => new HA({
12041
12041
  typeName: Pr.ZodBoolean,
12042
12042
  coerce: (r == null ? void 0 : r.coerce) || !1,
12043
- ...Yr(r)
12043
+ ...Hr(r)
12044
12044
  });
12045
12045
  class Hi extends i0 {
12046
12046
  _parse(e) {
@@ -12118,7 +12118,7 @@ Hi.create = (r) => new Hi({
12118
12118
  checks: [],
12119
12119
  coerce: (r == null ? void 0 : r.coerce) || !1,
12120
12120
  typeName: Pr.ZodDate,
12121
- ...Yr(r)
12121
+ ...Hr(r)
12122
12122
  });
12123
12123
  class G4 extends i0 {
12124
12124
  _parse(e) {
@@ -12135,7 +12135,7 @@ class G4 extends i0 {
12135
12135
  }
12136
12136
  G4.create = (r) => new G4({
12137
12137
  typeName: Pr.ZodSymbol,
12138
- ...Yr(r)
12138
+ ...Hr(r)
12139
12139
  });
12140
12140
  class X4 extends i0 {
12141
12141
  _parse(e) {
@@ -12152,7 +12152,7 @@ class X4 extends i0 {
12152
12152
  }
12153
12153
  X4.create = (r) => new X4({
12154
12154
  typeName: Pr.ZodUndefined,
12155
- ...Yr(r)
12155
+ ...Hr(r)
12156
12156
  });
12157
12157
  class j4 extends i0 {
12158
12158
  _parse(e) {
@@ -12169,7 +12169,7 @@ class j4 extends i0 {
12169
12169
  }
12170
12170
  j4.create = (r) => new j4({
12171
12171
  typeName: Pr.ZodNull,
12172
- ...Yr(r)
12172
+ ...Hr(r)
12173
12173
  });
12174
12174
  class ao extends i0 {
12175
12175
  constructor() {
@@ -12181,7 +12181,7 @@ class ao extends i0 {
12181
12181
  }
12182
12182
  ao.create = (r) => new ao({
12183
12183
  typeName: Pr.ZodAny,
12184
- ...Yr(r)
12184
+ ...Hr(r)
12185
12185
  });
12186
12186
  class L4 extends i0 {
12187
12187
  constructor() {
@@ -12193,7 +12193,7 @@ class L4 extends i0 {
12193
12193
  }
12194
12194
  L4.create = (r) => new L4({
12195
12195
  typeName: Pr.ZodUnknown,
12196
- ...Yr(r)
12196
+ ...Hr(r)
12197
12197
  });
12198
12198
  class sn extends i0 {
12199
12199
  _parse(e) {
@@ -12207,7 +12207,7 @@ class sn extends i0 {
12207
12207
  }
12208
12208
  sn.create = (r) => new sn({
12209
12209
  typeName: Pr.ZodNever,
12210
- ...Yr(r)
12210
+ ...Hr(r)
12211
12211
  });
12212
12212
  class U4 extends i0 {
12213
12213
  _parse(e) {
@@ -12224,7 +12224,7 @@ class U4 extends i0 {
12224
12224
  }
12225
12225
  U4.create = (r) => new U4({
12226
12226
  typeName: Pr.ZodVoid,
12227
- ...Yr(r)
12227
+ ...Hr(r)
12228
12228
  });
12229
12229
  class Ja extends i0 {
12230
12230
  _parse(e) {
@@ -12297,7 +12297,7 @@ Ja.create = (r, e) => new Ja({
12297
12297
  maxLength: null,
12298
12298
  exactLength: null,
12299
12299
  typeName: Pr.ZodArray,
12300
- ...Yr(e)
12300
+ ...Hr(e)
12301
12301
  });
12302
12302
  function pi(r) {
12303
12303
  if (r instanceof X0) {
@@ -12587,21 +12587,21 @@ X0.create = (r, e) => new X0({
12587
12587
  unknownKeys: "strip",
12588
12588
  catchall: sn.create(),
12589
12589
  typeName: Pr.ZodObject,
12590
- ...Yr(e)
12590
+ ...Hr(e)
12591
12591
  });
12592
12592
  X0.strictCreate = (r, e) => new X0({
12593
12593
  shape: () => r,
12594
12594
  unknownKeys: "strict",
12595
12595
  catchall: sn.create(),
12596
12596
  typeName: Pr.ZodObject,
12597
- ...Yr(e)
12597
+ ...Hr(e)
12598
12598
  });
12599
12599
  X0.lazycreate = (r, e) => new X0({
12600
12600
  shape: r,
12601
12601
  unknownKeys: "strip",
12602
12602
  catchall: sn.create(),
12603
12603
  typeName: Pr.ZodObject,
12604
- ...Yr(e)
12604
+ ...Hr(e)
12605
12605
  });
12606
12606
  class QA extends i0 {
12607
12607
  _parse(e) {
@@ -12674,7 +12674,7 @@ class QA extends i0 {
12674
12674
  QA.create = (r, e) => new QA({
12675
12675
  options: r,
12676
12676
  typeName: Pr.ZodUnion,
12677
- ...Yr(e)
12677
+ ...Hr(e)
12678
12678
  });
12679
12679
  function nu(r, e) {
12680
12680
  const a = Gt(r), t = Gt(e);
@@ -12738,7 +12738,7 @@ JA.create = (r, e, a) => new JA({
12738
12738
  left: r,
12739
12739
  right: e,
12740
12740
  typeName: Pr.ZodIntersection,
12741
- ...Yr(a)
12741
+ ...Hr(a)
12742
12742
  });
12743
12743
  class Hn extends i0 {
12744
12744
  _parse(e) {
@@ -12787,7 +12787,7 @@ Hn.create = (r, e) => {
12787
12787
  items: r,
12788
12788
  typeName: Pr.ZodTuple,
12789
12789
  rest: null,
12790
- ...Yr(e)
12790
+ ...Hr(e)
12791
12791
  });
12792
12792
  };
12793
12793
  class Y4 extends i0 {
@@ -12836,7 +12836,7 @@ Y4.create = (r, e, a) => new Y4({
12836
12836
  valueType: e,
12837
12837
  keyType: r,
12838
12838
  typeName: Pr.ZodMap,
12839
- ...Yr(a)
12839
+ ...Hr(a)
12840
12840
  });
12841
12841
  class to extends i0 {
12842
12842
  _parse(e) {
@@ -12900,7 +12900,7 @@ to.create = (r, e) => new to({
12900
12900
  minSize: null,
12901
12901
  maxSize: null,
12902
12902
  typeName: Pr.ZodSet,
12903
- ...Yr(e)
12903
+ ...Hr(e)
12904
12904
  });
12905
12905
  class H4 extends i0 {
12906
12906
  get schema() {
@@ -12914,7 +12914,7 @@ class H4 extends i0 {
12914
12914
  H4.create = (r, e) => new H4({
12915
12915
  getter: r,
12916
12916
  typeName: Pr.ZodLazy,
12917
- ...Yr(e)
12917
+ ...Hr(e)
12918
12918
  });
12919
12919
  class iu extends i0 {
12920
12920
  _parse(e) {
@@ -12935,13 +12935,13 @@ class iu extends i0 {
12935
12935
  iu.create = (r, e) => new iu({
12936
12936
  value: r,
12937
12937
  typeName: Pr.ZodLiteral,
12938
- ...Yr(e)
12938
+ ...Hr(e)
12939
12939
  });
12940
12940
  function k5(r, e) {
12941
12941
  return new Qi({
12942
12942
  values: r,
12943
12943
  typeName: Pr.ZodEnum,
12944
- ...Yr(e)
12944
+ ...Hr(e)
12945
12945
  });
12946
12946
  }
12947
12947
  class Qi extends i0 {
@@ -13027,7 +13027,7 @@ class Q4 extends i0 {
13027
13027
  Q4.create = (r, e) => new Q4({
13028
13028
  values: r,
13029
13029
  typeName: Pr.ZodNativeEnum,
13030
- ...Yr(e)
13030
+ ...Hr(e)
13031
13031
  });
13032
13032
  class zA extends i0 {
13033
13033
  unwrap() {
@@ -13051,7 +13051,7 @@ class zA extends i0 {
13051
13051
  zA.create = (r, e) => new zA({
13052
13052
  type: r,
13053
13053
  typeName: Pr.ZodPromise,
13054
- ...Yr(e)
13054
+ ...Hr(e)
13055
13055
  });
13056
13056
  class Ji extends i0 {
13057
13057
  innerType() {
@@ -13137,13 +13137,13 @@ Ji.create = (r, e, a) => new Ji({
13137
13137
  schema: r,
13138
13138
  typeName: Pr.ZodEffects,
13139
13139
  effect: e,
13140
- ...Yr(a)
13140
+ ...Hr(a)
13141
13141
  });
13142
13142
  Ji.createWithPreprocess = (r, e, a) => new Ji({
13143
13143
  schema: e,
13144
13144
  effect: { type: "preprocess", transform: r },
13145
13145
  typeName: Pr.ZodEffects,
13146
- ...Yr(a)
13146
+ ...Hr(a)
13147
13147
  });
13148
13148
  class rn extends i0 {
13149
13149
  _parse(e) {
@@ -13156,7 +13156,7 @@ class rn extends i0 {
13156
13156
  rn.create = (r, e) => new rn({
13157
13157
  innerType: r,
13158
13158
  typeName: Pr.ZodOptional,
13159
- ...Yr(e)
13159
+ ...Hr(e)
13160
13160
  });
13161
13161
  class zi extends i0 {
13162
13162
  _parse(e) {
@@ -13169,7 +13169,7 @@ class zi extends i0 {
13169
13169
  zi.create = (r, e) => new zi({
13170
13170
  innerType: r,
13171
13171
  typeName: Pr.ZodNullable,
13172
- ...Yr(e)
13172
+ ...Hr(e)
13173
13173
  });
13174
13174
  class ou extends i0 {
13175
13175
  _parse(e) {
@@ -13189,7 +13189,7 @@ ou.create = (r, e) => new ou({
13189
13189
  innerType: r,
13190
13190
  typeName: Pr.ZodDefault,
13191
13191
  defaultValue: typeof e.default == "function" ? e.default : () => e.default,
13192
- ...Yr(e)
13192
+ ...Hr(e)
13193
13193
  });
13194
13194
  class Au extends i0 {
13195
13195
  _parse(e) {
@@ -13232,7 +13232,7 @@ Au.create = (r, e) => new Au({
13232
13232
  innerType: r,
13233
13233
  typeName: Pr.ZodCatch,
13234
13234
  catchValue: typeof e.catch == "function" ? e.catch : () => e.catch,
13235
- ...Yr(e)
13235
+ ...Hr(e)
13236
13236
  });
13237
13237
  class J4 extends i0 {
13238
13238
  _parse(e) {
@@ -13249,7 +13249,7 @@ class J4 extends i0 {
13249
13249
  }
13250
13250
  J4.create = (r) => new J4({
13251
13251
  typeName: Pr.ZodNaN,
13252
- ...Yr(r)
13252
+ ...Hr(r)
13253
13253
  });
13254
13254
  class k_ extends i0 {
13255
13255
  _parse(e) {
@@ -13316,7 +13316,7 @@ class fu extends i0 {
13316
13316
  fu.create = (r, e) => new fu({
13317
13317
  innerType: r,
13318
13318
  typeName: Pr.ZodReadonly,
13319
- ...Yr(e)
13319
+ ...Hr(e)
13320
13320
  });
13321
13321
  function z4(r, e) {
13322
13322
  const a = typeof r == "function" ? r(e) : typeof r == "string" ? { message: r } : r;
@@ -13374,7 +13374,7 @@ const I_ = {
13374
13374
  "input",
13375
13375
  {
13376
13376
  type: e,
13377
- className: Or(
13377
+ className: Vr(
13378
13378
  "flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
13379
13379
  r
13380
13380
  ),
@@ -13403,14 +13403,12 @@ const x_ = dl(
13403
13403
  E5,
13404
13404
  {
13405
13405
  ref: a,
13406
- className: Or(x_(), r),
13406
+ className: Vr(x_(), r),
13407
13407
  ...e
13408
13408
  }
13409
13409
  ));
13410
13410
  Xt.displayName = E5.displayName;
13411
- const oi = RC, C5 = C.createContext(
13412
- {}
13413
- ), Qr = ({
13411
+ const oi = RC, C5 = C.createContext({}), Yr = ({
13414
13412
  ...r
13415
13413
  }) => /* @__PURE__ */ l(C5.Provider, { value: { name: r.name }, children: /* @__PURE__ */ l(SC, { ...r }) }), $f = () => {
13416
13414
  const r = C.useContext(C5), e = C.useContext(_5), { getFieldState: a, formState: t } = Tf(), n = a(r.name, t);
@@ -13425,67 +13423,48 @@ const oi = RC, C5 = C.createContext(
13425
13423
  formMessageId: `${i}-form-item-message`,
13426
13424
  ...n
13427
13425
  };
13428
- }, _5 = C.createContext(
13429
- {}
13430
- ), jr = C.forwardRef(({ className: r, ...e }, a) => {
13431
- const t = C.useId();
13432
- return /* @__PURE__ */ l(_5.Provider, { value: { id: t }, children: /* @__PURE__ */ l("div", { ref: a, className: Or("space-y-2", r), ...e }) });
13433
- });
13434
- jr.displayName = "FormItem";
13426
+ }, _5 = C.createContext({}), Xr = C.forwardRef(
13427
+ ({ className: r, ...e }, a) => {
13428
+ const t = C.useId();
13429
+ return /* @__PURE__ */ l(_5.Provider, { value: { id: t }, children: /* @__PURE__ */ l("div", { ref: a, className: Vr("space-y-2", r), ...e }) });
13430
+ }
13431
+ );
13432
+ Xr.displayName = "FormItem";
13435
13433
  const qr = C.forwardRef(({ className: r, ...e }, a) => {
13436
- const { error: t, formItemId: n } = $f();
13437
- return /* @__PURE__ */ l(
13438
- Xt,
13439
- {
13440
- ref: a,
13441
- className: Or(t && "text-destructive", r),
13442
- htmlFor: n,
13443
- ...e
13444
- }
13445
- );
13434
+ const { formItemId: t } = $f();
13435
+ return /* @__PURE__ */ l(Xt, { ref: a, className: r, htmlFor: t, ...e });
13446
13436
  });
13447
13437
  qr.displayName = "FormLabel";
13448
- const Lr = C.forwardRef(({ ...r }, e) => {
13449
- const { error: a, formItemId: t, formDescriptionId: n, formMessageId: i } = $f();
13450
- return /* @__PURE__ */ l(
13451
- n6,
13452
- {
13453
- ref: e,
13454
- id: t,
13455
- "aria-describedby": a ? `${n} ${i}` : `${n}`,
13456
- "aria-invalid": !!a,
13457
- ...r
13458
- }
13459
- );
13460
- });
13461
- Lr.displayName = "FormControl";
13462
- const R_ = C.forwardRef(({ className: r, ...e }, a) => {
13463
- const { formDescriptionId: t } = $f();
13464
- return /* @__PURE__ */ l(
13465
- "p",
13466
- {
13467
- ref: a,
13468
- id: t,
13469
- className: Or("text-sm text-muted-foreground", r),
13470
- ...e
13471
- }
13472
- );
13473
- });
13438
+ const jr = C.forwardRef(
13439
+ ({ ...r }, e) => {
13440
+ const { error: a, formItemId: t, formDescriptionId: n, formMessageId: i } = $f();
13441
+ return /* @__PURE__ */ l(
13442
+ n6,
13443
+ {
13444
+ ref: e,
13445
+ id: t,
13446
+ "aria-describedby": a ? `${n} ${i}` : `${n}`,
13447
+ "aria-invalid": !!a,
13448
+ ...r
13449
+ }
13450
+ );
13451
+ }
13452
+ );
13453
+ jr.displayName = "FormControl";
13454
+ const R_ = C.forwardRef(
13455
+ ({ className: r, ...e }, a) => {
13456
+ const { formDescriptionId: t } = $f();
13457
+ return /* @__PURE__ */ l("p", { ref: a, id: t, className: Vr("text-sm text-muted-foreground", r), ...e });
13458
+ }
13459
+ );
13474
13460
  R_.displayName = "FormDescription";
13475
- const Ur = C.forwardRef(({ className: r, children: e, ...a }, t) => {
13476
- const { error: n, formMessageId: i } = $f(), o = n ? String(n == null ? void 0 : n.message) : e;
13477
- return o ? /* @__PURE__ */ l(
13478
- "p",
13479
- {
13480
- ref: t,
13481
- id: i,
13482
- className: Or("text-sm font-medium text-destructive", r),
13483
- ...a,
13484
- children: o
13485
- }
13486
- ) : null;
13487
- });
13488
- Ur.displayName = "FormMessage";
13461
+ const Lr = C.forwardRef(
13462
+ ({ className: r, children: e, ...a }, t) => {
13463
+ const { error: n, formMessageId: i } = $f(), o = n ? String(n == null ? void 0 : n.message) : e;
13464
+ return o ? /* @__PURE__ */ l("p", { ref: t, id: i, className: Vr("text-sm font-medium text-destructive", r), ...a, children: o }) : null;
13465
+ }
13466
+ );
13467
+ Lr.displayName = "FormMessage";
13489
13468
  const B5 = { version: 4, country_calling_codes: { 1: ["US", "AG", "AI", "AS", "BB", "BM", "BS", "CA", "DM", "DO", "GD", "GU", "JM", "KN", "KY", "LC", "MP", "MS", "PR", "SX", "TC", "TT", "VC", "VG", "VI"], 7: ["RU", "KZ"], 20: ["EG"], 27: ["ZA"], 30: ["GR"], 31: ["NL"], 32: ["BE"], 33: ["FR"], 34: ["ES"], 36: ["HU"], 39: ["IT", "VA"], 40: ["RO"], 41: ["CH"], 43: ["AT"], 44: ["GB", "GG", "IM", "JE"], 45: ["DK"], 46: ["SE"], 47: ["NO", "SJ"], 48: ["PL"], 49: ["DE"], 51: ["PE"], 52: ["MX"], 53: ["CU"], 54: ["AR"], 55: ["BR"], 56: ["CL"], 57: ["CO"], 58: ["VE"], 60: ["MY"], 61: ["AU", "CC", "CX"], 62: ["ID"], 63: ["PH"], 64: ["NZ"], 65: ["SG"], 66: ["TH"], 81: ["JP"], 82: ["KR"], 84: ["VN"], 86: ["CN"], 90: ["TR"], 91: ["IN"], 92: ["PK"], 93: ["AF"], 94: ["LK"], 95: ["MM"], 98: ["IR"], 211: ["SS"], 212: ["MA", "EH"], 213: ["DZ"], 216: ["TN"], 218: ["LY"], 220: ["GM"], 221: ["SN"], 222: ["MR"], 223: ["ML"], 224: ["GN"], 225: ["CI"], 226: ["BF"], 227: ["NE"], 228: ["TG"], 229: ["BJ"], 230: ["MU"], 231: ["LR"], 232: ["SL"], 233: ["GH"], 234: ["NG"], 235: ["TD"], 236: ["CF"], 237: ["CM"], 238: ["CV"], 239: ["ST"], 240: ["GQ"], 241: ["GA"], 242: ["CG"], 243: ["CD"], 244: ["AO"], 245: ["GW"], 246: ["IO"], 247: ["AC"], 248: ["SC"], 249: ["SD"], 250: ["RW"], 251: ["ET"], 252: ["SO"], 253: ["DJ"], 254: ["KE"], 255: ["TZ"], 256: ["UG"], 257: ["BI"], 258: ["MZ"], 260: ["ZM"], 261: ["MG"], 262: ["RE", "YT"], 263: ["ZW"], 264: ["NA"], 265: ["MW"], 266: ["LS"], 267: ["BW"], 268: ["SZ"], 269: ["KM"], 290: ["SH", "TA"], 291: ["ER"], 297: ["AW"], 298: ["FO"], 299: ["GL"], 350: ["GI"], 351: ["PT"], 352: ["LU"], 353: ["IE"], 354: ["IS"], 355: ["AL"], 356: ["MT"], 357: ["CY"], 358: ["FI", "AX"], 359: ["BG"], 370: ["LT"], 371: ["LV"], 372: ["EE"], 373: ["MD"], 374: ["AM"], 375: ["BY"], 376: ["AD"], 377: ["MC"], 378: ["SM"], 380: ["UA"], 381: ["RS"], 382: ["ME"], 383: ["XK"], 385: ["HR"], 386: ["SI"], 387: ["BA"], 389: ["MK"], 420: ["CZ"], 421: ["SK"], 423: ["LI"], 500: ["FK"], 501: ["BZ"], 502: ["GT"], 503: ["SV"], 504: ["HN"], 505: ["NI"], 506: ["CR"], 507: ["PA"], 508: ["PM"], 509: ["HT"], 590: ["GP", "BL", "MF"], 591: ["BO"], 592: ["GY"], 593: ["EC"], 594: ["GF"], 595: ["PY"], 596: ["MQ"], 597: ["SR"], 598: ["UY"], 599: ["CW", "BQ"], 670: ["TL"], 672: ["NF"], 673: ["BN"], 674: ["NR"], 675: ["PG"], 676: ["TO"], 677: ["SB"], 678: ["VU"], 679: ["FJ"], 680: ["PW"], 681: ["WF"], 682: ["CK"], 683: ["NU"], 685: ["WS"], 686: ["KI"], 687: ["NC"], 688: ["TV"], 689: ["PF"], 690: ["TK"], 691: ["FM"], 692: ["MH"], 850: ["KP"], 852: ["HK"], 853: ["MO"], 855: ["KH"], 856: ["LA"], 880: ["BD"], 886: ["TW"], 960: ["MV"], 961: ["LB"], 962: ["JO"], 963: ["SY"], 964: ["IQ"], 965: ["KW"], 966: ["SA"], 967: ["YE"], 968: ["OM"], 970: ["PS"], 971: ["AE"], 972: ["IL"], 973: ["BH"], 974: ["QA"], 975: ["BT"], 976: ["MN"], 977: ["NP"], 992: ["TJ"], 993: ["TM"], 994: ["AZ"], 995: ["GE"], 996: ["KG"], 998: ["UZ"] }, countries: { AC: ["247", "00", "(?:[01589]\\d|[46])\\d{4}", [5, 6]], AD: ["376", "00", "(?:1|6\\d)\\d{7}|[135-9]\\d{5}", [6, 8, 9], [["(\\d{3})(\\d{3})", "$1 $2", ["[135-9]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["1"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]]], AE: ["971", "00", "(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\d{3})(\\d{2,9})", "$1 $2", ["60|8"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[236]|[479][2-8]"], "0$1"], ["(\\d{3})(\\d)(\\d{5})", "$1 $2 $3", ["[479]"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"]], "0"], AF: ["93", "00", "[2-7]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"]], "0"], AG: ["1", "011", "(?:268|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([457]\\d{6})$|1", "268$1", 0, "268"], AI: ["1", "011", "(?:264|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2457]\\d{6})$|1", "264$1", 0, "264"], AL: ["355", "00", "(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}", [6, 7, 8, 9], [["(\\d{3})(\\d{3,4})", "$1 $2", ["80|9"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["4[2-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2358][2-5]|4"], "0$1"], ["(\\d{3})(\\d{5})", "$1 $2", ["[23578]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["6"], "0$1"]], "0"], AM: ["374", "00", "(?:[1-489]\\d|55|60|77)\\d{6}", [8], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[89]0"], "0 $1"], ["(\\d{3})(\\d{5})", "$1 $2", ["2|3[12]"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["1|47"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[3-9]"], "0$1"]], "0"], AO: ["244", "00", "[29]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[29]"]]]], AR: ["54", "00", "(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}", [10, 11], [["(\\d{4})(\\d{2})(\\d{4})", "$1 $2-$3", ["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])", "2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)", "2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]", "2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"], "0$1", 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["1"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[68]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2-$3", ["[23]"], "0$1", 1], ["(\\d)(\\d{4})(\\d{2})(\\d{4})", "$2 15-$3-$4", ["9(?:2[2-469]|3[3-578])", "9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))", "9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)", "9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]", "9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"], "0$1", 0, "$1 $2 $3-$4"], ["(\\d)(\\d{2})(\\d{4})(\\d{4})", "$2 15-$3-$4", ["91"], "0$1", 0, "$1 $2 $3-$4"], ["(\\d{3})(\\d{3})(\\d{5})", "$1-$2-$3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{4})", "$2 15-$3-$4", ["9"], "0$1", 0, "$1 $2 $3-$4"]], "0", 0, "0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?", "9$1"], AS: ["1", "011", "(?:[58]\\d\\d|684|900)\\d{7}", [10], 0, "1", 0, "([267]\\d{6})$|1", "684$1", 0, "684"], AT: ["43", "00", "1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13], [["(\\d)(\\d{3,12})", "$1 $2", ["1(?:11|[2-9])"], "0$1"], ["(\\d{3})(\\d{2})", "$1 $2", ["517"], "0$1"], ["(\\d{2})(\\d{3,5})", "$1 $2", ["5[079]"], "0$1"], ["(\\d{3})(\\d{3,10})", "$1 $2", ["(?:31|4)6|51|6(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]", "(?:31|4)6|51|6(?:485|5[0-3579]|[6-9])|7(?:20|32|8)|[89]"], "0$1"], ["(\\d{4})(\\d{3,9})", "$1 $2", ["[2-467]|5[2-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,7})", "$1 $2 $3", ["5"], "0$1"]], "0"], AU: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}", [5, 6, 7, 8, 9, 10, 12], [["(\\d{2})(\\d{3,4})", "$1 $2", ["16"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["16"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["14|4"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[2378]"], "(0$1)"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:30|[89])"]]], "0", 0, "(183[12])|0", 0, 0, 0, [["(?:(?:2(?:(?:[0-26-9]\\d|3[0-8]|5[0135-9])\\d|4(?:[02-9]\\d|10))|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90))|7(?:[013-57-9]\\d|2[0-8])\\d)\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|[34]\\d\\d)|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}", [9]], ["4(?:79[01]|83[0-389]|94[0-478])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-37-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, ["163\\d{2,6}", [5, 6, 7, 8, 9]], ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], AW: ["297", "00", "(?:[25-79]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[25-9]"]]]], AX: ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}", [5, 6, 7, 8, 9, 10, 11, 12], 0, "0", 0, 0, 0, 0, "18", 0, "00"], AZ: ["994", "00", "365\\d{6}|(?:[124579]\\d|60|88)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[28]|2|365|46", "1[28]|2|365[45]|46", "1[28]|2|365(?:4|5[02])|46"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[13-9]"], "0$1"]], "0"], BA: ["387", "00", "6\\d{8}|(?:[35689]\\d|49|70)\\d{6}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[1-3]|[7-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2-$3", ["[3-5]|6[56]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["6"], "0$1"]], "0"], BB: ["1", "011", "(?:246|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "246$1", 0, "246"], BD: ["880", "00", "[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{2})(\\d{4,6})", "$1-$2", ["31[5-8]|[459]1"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1-$2", ["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"], "0$1"], ["(\\d{4})(\\d{3,6})", "$1-$2", ["[13-9]|2[23]"], "0$1"], ["(\\d)(\\d{7,8})", "$1-$2", ["2"], "0$1"]], "0"], BE: ["32", "00", "4\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:80|9)0"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[239]|4[23]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[15-8]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4"], "0$1"]], "0"], BF: ["226", "00", "(?:[025-7]\\d|44)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[024-7]"]]]], BG: ["359", "00", "00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}", [6, 7, 8, 9, 12], [["(\\d)(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["2"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["43[1-6]|70[1-9]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:70|8)0"], "0$1"], ["(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3", ["43[1-7]|7"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[48]|9[08]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"]], "0"], BH: ["973", "00", "[136-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[13679]|8[02-4679]"]]]], BI: ["257", "00", "(?:[267]\\d|31)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2367]"]]]], BJ: ["229", "00", "(?:01\\d|[24-689])\\d{7}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-689]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["0"]]]], BL: ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], BM: ["1", "011", "(?:441|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "441$1", 0, "441"], BN: ["673", "00", "[2-578]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-578]"]]]], BO: ["591", "00(?:1\\d)?", "8001\\d{5}|(?:[2-467]\\d|50)\\d{6}", [8, 9], [["(\\d)(\\d{7})", "$1 $2", ["[235]|4[46]"]], ["(\\d{8})", "$1", ["[67]"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["8"]]], "0", 0, "0(1\\d)?"], BQ: ["599", "00", "(?:[34]1|7\\d)\\d{5}", [7], 0, 0, 0, 0, 0, 0, "[347]"], BR: ["55", "00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)", "[1-467]\\d{9,10}|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}", [8, 9, 10, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["300|4(?:0[02]|37|86)", "300|4(?:0(?:0|20)|370|864)"]], ["(\\d{3})(\\d{2,3})(\\d{4})", "$1 $2 $3", ["(?:[358]|90)0"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"], "($1)"], ["(\\d{2})(\\d{5})(\\d{4})", "$1 $2-$3", ["[16][1-9]|[2-57-9]"], "($1)"]], "0", 0, "(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?", "$2"], BS: ["1", "011", "(?:242|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([3-8]\\d{6})$|1", "242$1", 0, "242"], BT: ["975", "00", "[178]\\d{7}|[2-8]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-6]|7[246]|8[2-4]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[67]|[78]"]]]], BW: ["267", "00", "(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["90"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[24-6]|3[15-9]"]], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37]"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["8"]]]], BY: ["375", "810", "(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3})", "$1 $2", ["800"], "8 $1"], ["(\\d{3})(\\d{2})(\\d{2,4})", "$1 $2 $3", ["800"], "8 $1"], ["(\\d{4})(\\d{2})(\\d{3})", "$1 $2-$3", ["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])", "1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"], "8 0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["1(?:[56]|7[467])|2[1-3]"], "8 0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-4]"], "8 0$1"], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[89]"], "8 $1"]], "8", 0, "0|80?", 0, 0, 0, 0, "8~10"], BZ: ["501", "00", "(?:0800\\d|[2-8])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-8]"]], ["(\\d)(\\d{3})(\\d{4})(\\d{3})", "$1-$2-$3-$4", ["0"]]]], CA: ["1", "011", "[2-9]\\d{9}|3\\d{6}", [7, 10], 0, "1", 0, 0, 0, 0, 0, [["(?:2(?:04|[23]6|[48]9|5[07]|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}", [10]], ["", [10]], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", [10]], ["900[2-9]\\d{6}", [10]], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|33|44|66|77|88)|6(?:22|33))[2-9]\\d{6}", [10]], 0, ["310\\d{4}", [7]], 0, ["600[2-9]\\d{6}", [10]]]], CC: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}", [9]], ["4(?:79[01]|83[0-389]|94[0-478])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-37-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], CD: ["243", "00", "(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{5})", "$1 $2", ["[1-6]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["5"], "0$1"]], "0"], CF: ["236", "00", "(?:[27]\\d{3}|8776)\\d{4}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[278]"]]]], CG: ["242", "00", "222\\d{6}|(?:0\\d|80)\\d{7}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[02]"]]]], CH: ["41", "00", "8\\d{11}|[2-9]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8[047]|90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]|81"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["8"], "0$1"]], "0"], CI: ["225", "00", "[02]\\d{9}", [10], [["(\\d{2})(\\d{2})(\\d)(\\d{5})", "$1 $2 $3 $4", ["2"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3 $4", ["0"]]]], CK: ["682", "00", "[2-578]\\d{4}", [5], [["(\\d{2})(\\d{3})", "$1 $2", ["[2-578]"]]]], CL: ["56", "(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0", "12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}", [9, 10, 11], [["(\\d{5})(\\d{4})", "$1 $2", ["219", "2196"], "($1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["60|809"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["44"]], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2[1-36]"], "($1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["9(?:10|[2-9])"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[1-9])"], "($1)"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["60|8"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{3})(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["60"]]]], CM: ["237", "00", "[26]\\d{8}|88\\d{6,7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["88"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[26]|88"]]]], CN: ["86", "00|1(?:[12]\\d|79)\\d\\d00", "(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5,6})", "$1 $2", ["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]", "(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"], "0$1"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]", "(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]", "85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])", "85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["(?:4|80)0"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|2(?:[02-57-9]|1[1-9])", "10|2(?:[02-57-9]|1[1-9])", "10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"], "0$1", 1], ["(\\d{3})(\\d{7,8})", "$1 $2", ["9"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["80"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[3-578]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["1[3-9]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["[12]"], "0$1", 1]], "0", 0, "(1(?:[12]\\d|79)\\d\\d)|0", 0, 0, 0, 0, "00"], CO: ["57", "00(?:4(?:[14]4|56)|[579])", "(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}", [8, 10, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["46"]], ["(\\d{3})(\\d{7})", "$1 $2", ["6|90"], "($1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3[0-357]|9[14]"]], ["(\\d)(\\d{3})(\\d{7})", "$1-$2-$3", ["1"], "0$1", 0, "$1 $2 $3"]], "0", 0, "0([3579]|4(?:[14]4|56))?"], CR: ["506", "00", "(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}", [8, 10], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[3-9]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[89]"]]], 0, 0, "(19(?:0[0-2468]|1[09]|20|66|77|99))"], CU: ["53", "119", "(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}", [6, 7, 8, 10], [["(\\d{2})(\\d{4,6})", "$1 $2", ["2[1-4]|[34]"], "(0$1)"], ["(\\d)(\\d{6,7})", "$1 $2", ["7"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["[56]"], "0$1"], ["(\\d{3})(\\d{7})", "$1 $2", ["8"], "0$1"]], "0"], CV: ["238", "0", "(?:[2-59]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2-589]"]]]], CW: ["599", "00", "(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[3467]"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["9[4-8]"]]], 0, 0, 0, 0, 0, "[69]"], CX: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}", [9]], ["4(?:79[01]|83[0-389]|94[0-478])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-37-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], CY: ["357", "00", "(?:[279]\\d|[58]0)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[257-9]"]]]], CZ: ["420", "00", "(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}", [9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]|9[015-7]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["96"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]]], DE: ["49", "00", "[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], [["(\\d{2})(\\d{3,13})", "$1 $2", ["3[02]|40|[68]9"], "0$1"], ["(\\d{3})(\\d{3,12})", "$1 $2", ["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1", "2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"], "0$1"], ["(\\d{4})(\\d{2,11})", "$1 $2", ["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]", "[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["138"], "0$1"], ["(\\d{5})(\\d{2,10})", "$1 $2", ["3"], "0$1"], ["(\\d{3})(\\d{5,11})", "$1 $2", ["181"], "0$1"], ["(\\d{3})(\\d)(\\d{4,10})", "$1 $2 $3", ["1(?:3|80)|9"], "0$1"], ["(\\d{3})(\\d{7,8})", "$1 $2", ["1[67]"], "0$1"], ["(\\d{3})(\\d{7,12})", "$1 $2", ["8"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["185", "1850", "18500"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["18[68]"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["15[1279]"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["15[03568]", "15(?:[0568]|3[13])"], "0$1"], ["(\\d{3})(\\d{8})", "$1 $2", ["18"], "0$1"], ["(\\d{3})(\\d{2})(\\d{7,8})", "$1 $2 $3", ["1(?:6[023]|7)"], "0$1"], ["(\\d{4})(\\d{2})(\\d{7})", "$1 $2 $3", ["15[279]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{8})", "$1 $2 $3", ["15"], "0$1"]], "0"], DJ: ["253", "00", "(?:2\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[27]"]]]], DK: ["45", "00", "[2-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-9]"]]]], DM: ["1", "011", "(?:[58]\\d\\d|767|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "767$1", 0, "767"], DO: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "8001|8[024]9"], DZ: ["213", "00", "(?:[1-4]|[5-79]\\d|80)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["9"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-8]"], "0$1"]], "0"], EC: ["593", "00", "1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}", [8, 9, 10, 11], [["(\\d)(\\d{3})(\\d{4})", "$1 $2-$3", ["[2-7]"], "(0$1)", 0, "$1-$2-$3"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1"]]], "0"], EE: ["372", "00", "8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88", "[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]], ["(\\d{4})(\\d{3,4})", "$1 $2", ["[45]|8(?:00|[1-49])", "[45]|8(?:00[1-9]|[1-49])"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], EG: ["20", "00", "[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}", [8, 9, 10], [["(\\d)(\\d{7,8})", "$1 $2", ["[23]"], "0$1"], ["(\\d{2})(\\d{6,7})", "$1 $2", ["1[35]|[4-6]|8[2468]|9[235-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{8})", "$1 $2", ["1"], "0$1"]], "0"], EH: ["212", "00", "[5-8]\\d{8}", [9], 0, "0", 0, 0, 0, 0, "528[89]"], ER: ["291", "00", "[178]\\d{6}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[178]"], "0$1"]], "0"], ES: ["34", "00", "[5-9]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]00"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-9]"]]]], ET: ["251", "00", "(?:11|[2-579]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-579]"], "0$1"]], "0"], FI: ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\d{5})", "$1", ["20[2-59]"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1 $2", ["(?:[1-3]0|[68])0|70[07-9]"], "0$1"], ["(\\d{2})(\\d{4,8})", "$1 $2", ["[14]|2[09]|50|7[135]"], "0$1"], ["(\\d{2})(\\d{6,10})", "$1 $2", ["7"], "0$1"], ["(\\d)(\\d{4,9})", "$1 $2", ["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"], "0$1"]], "0", 0, 0, 0, 0, "1[03-79]|[2-9]", 0, "00"], FJ: ["679", "0(?:0|52)", "45\\d{5}|(?:0800\\d|[235-9])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[235-9]|45"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]]], 0, 0, 0, 0, 0, 0, 0, "00"], FK: ["500", "00", "[2-7]\\d{4}", [5]], FM: ["691", "00", "(?:[39]\\d\\d|820)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[389]"]]]], FO: ["298", "00", "[2-9]\\d{5}", [6], [["(\\d{6})", "$1", ["[2-9]"]]], 0, 0, "(10(?:01|[12]0|88))"], FR: ["33", "00", "[1-9]\\d{8}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0 $1"], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[1-79]"], "0$1"]], "0"], GA: ["241", "00", "(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}", [7, 8], [["(\\d)(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-7]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["11|[67]"], "0$1"]], 0, 0, "0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})", "$1"], GB: ["44", "00", "[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}", [7, 9, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["800", "8001", "80011", "800111", "8001111"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["845", "8454", "84546", "845464"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["800"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["1(?:38|5[23]|69|76|94)", "1(?:(?:38|69)7|5(?:24|39)|768|946)", "1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["1(?:[2-69][02-9]|[78])"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[25]|7(?:0|6[02-9])", "[25]|7(?:0|6(?:[03-9]|2[356]))"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1389]"], "0$1"]], "0", 0, "0|180020", 0, 0, 0, [["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}", [9, 10]], ["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]], 0, " x"], GD: ["1", "011", "(?:473|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "473$1", 0, "473"], GE: ["995", "00", "(?:[3-57]\\d\\d|800)\\d{6}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["32"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[57]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[348]"], "0$1"]], "0"], GF: ["594", "00", "(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]|9[47]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[89]"], "0$1"]], "0"], GG: ["44", "00", "(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?", [7, 9, 10], 0, "0", 0, "([25-9]\\d{5})$|0|180020", "1481$1", 0, 0, [["1481[25-9]\\d{5}", [10]], ["7(?:(?:781|839)\\d|911[17])\\d{5}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]]], GH: ["233", "00", "(?:[235]\\d{3}|800)\\d{5}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[235]"], "0$1"]], "0"], GI: ["350", "00", "(?:[25]\\d|60)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["2"]]]], GL: ["299", "00", "(?:19|[2-689]\\d|70)\\d{4}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["19|[2-9]"]]]], GM: ["220", "00", "[2-9]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], GN: ["224", "00", "722\\d{6}|(?:3|6\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["3"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[67]"]]]], GP: ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0", 0, 0, 0, 0, 0, [["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], GQ: ["240", "00", "222\\d{6}|(?:3\\d|55|[89]0)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235]"]], ["(\\d{3})(\\d{6})", "$1 $2", ["[89]"]]]], GR: ["30", "00", "5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}", [10, 11, 12], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["21|7"]], ["(\\d{4})(\\d{6})", "$1 $2", ["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2689]"]], ["(\\d{3})(\\d{3,4})(\\d{5})", "$1 $2 $3", ["8"]]]], GT: ["502", "00", "80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-8]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], GU: ["1", "011", "(?:[58]\\d\\d|671|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "671$1", 0, "671"], GW: ["245", "00", "[49]\\d{8}|4\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["40"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"]]]], GY: ["592", "001", "(?:[2-8]\\d{3}|9008)\\d{3}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], HK: ["852", "00(?:30|5[09]|[126-9]?)", "8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}", [5, 6, 7, 8, 9, 11], [["(\\d{3})(\\d{2,5})", "$1 $2", ["900", "9003"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{3})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]], 0, 0, 0, 0, 0, 0, 0, "00"], HN: ["504", "00", "8\\d{10}|[237-9]\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["[237-9]"]]]], HR: ["385", "00", "[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}", [7, 8, 9], [["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["6[01]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{4})(\\d{3})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6|7[245]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-57]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"]], "0"], HT: ["509", "00", "[2-589]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[2-589]"]]]], HU: ["36", "00", "[235-7]\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "06 $1"]], "06"], ID: ["62", "00[89]", "00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}", [7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["15"]], ["(\\d{2})(\\d{5,9})", "$1 $2", ["2[124]|[36]1"], "(0$1)"], ["(\\d{3})(\\d{5,7})", "$1 $2", ["800"], "0$1"], ["(\\d{3})(\\d{5,8})", "$1 $2", ["[2-79]"], "(0$1)"], ["(\\d{3})(\\d{3,4})(\\d{3})", "$1-$2-$3", ["8[1-35-9]"], "0$1"], ["(\\d{3})(\\d{6,8})", "$1 $2", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["804"], "0$1"], ["(\\d{3})(\\d)(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["80"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1-$2-$3", ["8"], "0$1"]], "0"], IE: ["353", "00", "(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["2[24-9]|47|58|6[237-9]|9[35-9]"], "(0$1)"], ["(\\d{3})(\\d{5})", "$1 $2", ["[45]0"], "(0$1)"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2569]|4[1-69]|7[14]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["81"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["4"], "(0$1)"], ["(\\d{2})(\\d)(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], IL: ["972", "0(?:0|1[2-9])", "1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}", [7, 8, 9, 10, 11, 12], [["(\\d{4})(\\d{3})", "$1-$2", ["125"]], ["(\\d{4})(\\d{2})(\\d{2})", "$1-$2-$3", ["121"]], ["(\\d)(\\d{3})(\\d{4})", "$1-$2-$3", ["[2-489]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1-$2-$3", ["12"]], ["(\\d{4})(\\d{6})", "$1-$2", ["159"]], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3-$4", ["1[7-9]"]], ["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})", "$1-$2 $3-$4", ["15"]]], "0"], IM: ["44", "00", "1624\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([25-8]\\d{5})$|0|180020", "1624$1", 0, "74576|(?:16|7[56])24"], IN: ["91", "00", "(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}", [8, 9, 10, 11, 12, 13], [["(\\d{8})", "$1", ["5(?:0|2[23]|3[03]|[67]1|88)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"], 0, 1], ["(\\d{4})(\\d{4,5})", "$1 $2", ["180", "1800"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["140"], 0, 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["11|2[02]|33|4[04]|79[1-7]|80[2-46]", "11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])", "11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]", "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]", "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"], "0$1", 1], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807", "1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]", "1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"], "0$1", 1], ["(\\d{5})(\\d{5})", "$1 $2", ["[6-9]"], "0$1", 1], ["(\\d{4})(\\d{2,4})(\\d{4})", "$1 $2 $3", ["1(?:6|8[06])", "1(?:6|8[06]0)"], 0, 1], ["(\\d{4})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["18"], 0, 1]], "0"], IO: ["246", "00", "3\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["3"]]]], IQ: ["964", "00", "(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-6]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"]], "0"], IR: ["98", "00", "[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}", [4, 5, 6, 7, 10], [["(\\d{4,5})", "$1", ["96"], "0$1"], ["(\\d{2})(\\d{4,5})", "$1 $2", ["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[1-8]"], "0$1"]], "0"], IS: ["354", "00|1(?:0(?:01|[12]0)|100)", "(?:38\\d|[4-9])\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["[4-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["3"]]], 0, 0, 0, 0, 0, 0, 0, "00"], IT: ["39", "00", "0\\d{5,11}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?", [6, 7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{4,6})", "$1 $2", ["0[26]"]], ["(\\d{3})(\\d{3,6})", "$1 $2", ["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])", "0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]], ["(\\d{4})(\\d{2,6})", "$1 $2", ["0(?:[13-579][2-46-8]|8[236-8])"]], ["(\\d{4})(\\d{4})", "$1 $2", ["894"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[26]|5"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1(?:44|[679])|[378]|43"]], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[13-57-9][0159]|14"]], ["(\\d{2})(\\d{4})(\\d{5})", "$1 $2 $3", ["0[26]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["[03]"]]], 0, 0, 0, 0, 0, 0, [["0(?:669[0-79]\\d{1,6}|831\\d{2,8})|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"], ["3[2-9]\\d{7,8}|(?:31|43)\\d{8}", [9, 10]], ["80(?:0\\d{3}|3)\\d{3}", [6, 9]], ["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}", [6, 8, 9, 10]], ["1(?:78\\d|99)\\d{6}", [9, 10]], ["3[2-8]\\d{9,10}", [11, 12]], 0, 0, ["55\\d{8}", [10]], ["84(?:[08]\\d{3}|[17])\\d{3}", [6, 9]]]], JE: ["44", "00", "1534\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([0-24-8]\\d{5})$|0|180020", "1534$1", 0, 0, [["1534[0-24-8]\\d{5}"], ["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"], ["80(?:07(?:35|81)|8901)\\d{4}"], ["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"], ["701511\\d{4}"], 0, ["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"], ["56\\d{8}"]]], JM: ["1", "011", "(?:[58]\\d\\d|658|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "658|876"], JO: ["962", "00", "(?:(?:[2689]|7\\d)\\d|32|427|53)\\d{6}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2356]|87"], "(0$1)"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["70"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[47]"], "0$1"]], "0"], JP: ["81", "010", "00[1-9]\\d{6,14}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}", [8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3", ["(?:12|57|99)0"], "0$1"], ["(\\d{4})(\\d)(\\d{4})", "$1-$2-$3", ["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["60"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2-$3", ["3|4(?:2[09]|7[01])|6[1-9]", "3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3", ["[14]|[289][2-9]|5[3-9]|7[2-4679]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["800"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[25-9]"], "0$1"]], "0", 0, "(000[2569]\\d{4,6})$|(?:(?:003768)0?)|0", "$1"], KE: ["254", "000", "(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}", [7, 8, 9, 10], [["(\\d{2})(\\d{5,7})", "$1 $2", ["[24-6]"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[17]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0"], KG: ["996", "00", "8\\d{9}|[235-9]\\d{8}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["3(?:1[346]|[24-79])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-79]|88"], "0$1"], ["(\\d{3})(\\d{3})(\\d)(\\d{2,3})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], KH: ["855", "00[14-9]", "1\\d{9}|[1-9]\\d{7,8}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], KI: ["686", "00", "(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}", [5, 8], 0, "0"], KM: ["269", "00", "[3478]\\d{6}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[3478]"]]]], KN: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "869$1", 0, "869"], KP: ["850", "00|99", "85\\d{6}|(?:19\\d|[2-7])\\d{7}", [8, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"]], "0"], KR: ["82", "00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))", "00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}", [5, 6, 8, 9, 10, 11, 12, 13, 14], [["(\\d{2})(\\d{3,4})", "$1-$2", ["(?:3[1-3]|[46][1-4]|5[1-5])1"], "0$1"], ["(\\d{4})(\\d{4})", "$1-$2", ["1"]], ["(\\d)(\\d{3,4})(\\d{4})", "$1-$2-$3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[36]0|8"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1-$2-$3", ["[1346]|5[1-5]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{2})(\\d{5})(\\d{4})", "$1-$2-$3", ["5"], "0$1"]], "0", 0, "0(8(?:[1-46-8]|5\\d\\d))?"], KW: ["965", "00", "18\\d{5}|(?:[2569]\\d|41)\\d{6}", [7, 8], [["(\\d{4})(\\d{3,4})", "$1 $2", ["[169]|2(?:[235]|4[1-35-9])|52"]], ["(\\d{3})(\\d{5})", "$1 $2", ["[245]"]]]], KY: ["1", "011", "(?:345|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "345$1", 0, "345"], KZ: ["7", "810", "(?:33622|8\\d{8})\\d{5}|[78]\\d{9}", [10, 14], 0, "8", 0, 0, 0, 0, "33622|7", 0, "8~10"], LA: ["856", "00", "[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2[13]|3[14]|[4-8]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["3"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0"], LB: ["961", "00", "[27-9]\\d{7}|[13-9]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[13-69]|7(?:[2-57]|62|8[0-6]|9[04-9])|8[02-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27-9]"]]], "0"], LC: ["1", "011", "(?:[58]\\d\\d|758|900)\\d{7}", [10], 0, "1", 0, "([2-8]\\d{6})$|1", "758$1", 0, "758"], LI: ["423", "00", "[68]\\d{8}|(?:[2378]\\d|90)\\d{5}", [7, 9], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2379]|8(?:0[09]|7)", "[2379]|8(?:0(?:02|9)|7)"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["69"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]], "0", 0, "(1001)|0"], LK: ["94", "00", "[1-9]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[1-689]"], "0$1"]], "0"], LR: ["231", "00", "(?:[2457]\\d|33|88)\\d{7}|(?:2\\d|[4-6])\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["4[67]|[56]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-578]"], "0$1"]], "0"], LS: ["266", "00", "(?:[256]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2568]"]]]], LT: ["370", "00", "(?:[3469]\\d|52|[78]0)\\d{6}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["52[0-7]"], "(0-$1)", 1], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0 $1", 1], ["(\\d{2})(\\d{6})", "$1 $2", ["37|4(?:[15]|6[1-8])"], "(0-$1)", 1], ["(\\d{3})(\\d{5})", "$1 $2", ["[3-6]"], "(0-$1)", 1]], "0", 0, "[08]"], LU: ["352", "00", "35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}", [4, 5, 6, 7, 8, 9, 10, 11], [["(\\d{2})(\\d{3})", "$1 $2", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["20[2-689]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4", ["2(?:[0367]|4[3-8])"]], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["80[01]|90[015]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["20"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4 $5", ["2(?:[0367]|4[3-8])"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})", "$1 $2 $3 $4", ["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]], 0, 0, "(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"], LV: ["371", "00", "(?:[268]\\d|78|90)\\d{6}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2679]|8[01]"]]]], LY: ["218", "00", "[2-9]\\d{8}", [9], [["(\\d{2})(\\d{7})", "$1-$2", ["[2-9]"], "0$1"]], "0"], MA: ["212", "00", "[5-8]\\d{8}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5[45]"], "0$1"], ["(\\d{4})(\\d{5})", "$1-$2", ["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"], "0$1"], ["(\\d{2})(\\d{7})", "$1-$2", ["8"], "0$1"], ["(\\d{3})(\\d{6})", "$1-$2", ["[5-7]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"], ["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-8]|5[0-5]|8[0-7]))\\d{6}"], ["80[0-7]\\d{6}"], ["89\\d{7}"], 0, 0, 0, 0, ["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]], MC: ["377", "00", "(?:[3489]|6\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["4"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[389]"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["6"], "0$1"]], "0"], MD: ["373", "00", "(?:[235-7]\\d|[89]0)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["22|3"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[25-7]"], "0$1"]], "0"], ME: ["382", "00", "(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "0$1"]], "0"], MF: ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], MG: ["261", "00", "[23]\\d{8}", [9], [["(\\d{2})(\\d{2})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0", 0, "([24-9]\\d{6})$|0", "20$1"], MH: ["692", "011", "329\\d{4}|(?:[256]\\d|45)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-6]"]]], "1"], MK: ["389", "00", "[2-578]\\d{7}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2|34[47]|4(?:[37]7|5[47]|64)"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[347]"], "0$1"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[58]"], "0$1"]], "0"], ML: ["223", "00", "[24-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-9]"]]]], MM: ["95", "00", "1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}", [6, 7, 8, 9, 10], [["(\\d)(\\d{2})(\\d{3})", "$1 $2 $3", ["16|2"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[12]|452|678|86", "[12]|452|6788|86"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[4-7]|8[1-35]"], "0$1"], ["(\\d)(\\d{3})(\\d{4,6})", "$1 $2 $3", ["9(?:2[0-4]|[35-9]|4[137-9])"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["92"], "0$1"], ["(\\d)(\\d{5})(\\d{4})", "$1 $2 $3", ["9"], "0$1"]], "0"], MN: ["976", "001", "[12]\\d{7,9}|[5-9]\\d{7}", [8, 9, 10], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[12]1"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[5-9]"]], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[12]2[1-3]"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["[12](?:27|3[2-8]|4[2-68]|5[1-4689])", "[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["[12]"], "0$1"]], "0"], MO: ["853", "00", "0800\\d{3}|(?:28|[68]\\d)\\d{6}", [7, 8], [["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[268]"]]]], MP: ["1", "011", "[58]\\d{9}|(?:67|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "670$1", 0, "670"], MQ: ["596", "00", "(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]|8(?:0[6-9]|[36])"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], MR: ["222", "00", "(?:[2-4]\\d\\d|800)\\d{5}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-48]"]]]], MS: ["1", "011", "(?:[58]\\d\\d|664|900)\\d{7}", [10], 0, "1", 0, "([34]\\d{6})$|1", "664$1", 0, "664"], MT: ["356", "00", "3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2357-9]"]]]], MU: ["230", "0(?:0|[24-7]0|3[03])", "(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-46]|8[013]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[57]"]], ["(\\d{5})(\\d{5})", "$1 $2", ["8"]]], 0, 0, 0, 0, 0, 0, 0, "020"], MV: ["960", "0(?:0|19)", "(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}", [7, 10], [["(\\d{3})(\\d{4})", "$1-$2", ["[34679]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], MW: ["265", "00", "(?:[1289]\\d|31|77)\\d{7}|1\\d{6}", [7, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["1[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[137-9]"], "0$1"]], "0"], MX: ["52", "0[09]", "[2-9]\\d{9}", [10], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["33|5[56]|81"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], MY: ["60", "00", "1\\d{8,9}|(?:3\\d|[4-9])\\d{7}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1-$2 $3", ["[4-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1-$2 $3", ["1(?:[02469]|[378][1-9]|53)|8", "1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2 $3", ["3"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3-$4", ["1(?:[367]|80)"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2 $3", ["15"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2 $3", ["1"], "0$1"]], "0"], MZ: ["258", "00", "(?:2|8\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2|8[2-79]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], NA: ["264", "00", "[68]\\d{7,8}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["87"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], NC: ["687", "00", "(?:050|[2-57-9]\\d\\d)\\d{3}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1.$2.$3", ["[02-57-9]"]]]], NE: ["227", "00", "[027-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["08"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[089]|2[013]|7[0467]"]]]], NF: ["672", "00", "[13]\\d{5}", [6], [["(\\d{2})(\\d{4})", "$1 $2", ["1[0-3]"]], ["(\\d)(\\d{5})", "$1 $2", ["[13]"]]], 0, 0, "([0-258]\\d{4})$", "3$1"], NG: ["234", "009", "(?:20|9\\d)\\d{8}|[78]\\d{9,13}", [10, 11, 12, 13, 14], [["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[7-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["20[129]"], "0$1"], ["(\\d{4})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{3})(\\d{5})(\\d{5,6})", "$1 $2 $3", ["[78]"], "0$1"]], "0"], NI: ["505", "00", "(?:1800|[25-8]\\d{3})\\d{4}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[125-8]"]]]], NL: ["31", "00", "(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}", [5, 6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{4,7})", "$1 $2", ["[89]0"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["66"], "0$1"], ["(\\d)(\\d{8})", "$1 $2", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-578]|91"], "0$1"], ["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3", ["9"], "0$1"]], "0"], NO: ["47", "00", "(?:0|[2-9]\\d{3})\\d{4}", [5, 8], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]"]]], 0, 0, 0, 0, 0, "[02-689]|7[0-8]"], NP: ["977", "00", "(?:1\\d|9)\\d{9}|[1-9]\\d{7}", [8, 10, 11], [["(\\d)(\\d{7})", "$1-$2", ["1[2-6]"], "0$1"], ["(\\d{2})(\\d{6})", "$1-$2", ["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"], "0$1"], ["(\\d{3})(\\d{7})", "$1-$2", ["9"]]], "0"], NR: ["674", "00", "(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[24-9]"]]]], NU: ["683", "00", "(?:[4-7]|888\\d)\\d{3}", [4, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["8"]]]], NZ: ["64", "0(?:0|161)", "[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,8})", "$1 $2", ["8[1-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["50[036-8]|8|90", "50(?:[0367]|88)|8|90"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["24|[346]|7[2-57-9]|9[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:10|74)|[589]"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1|2[028]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,5})", "$1 $2 $3", ["2(?:[169]|7[0-35-9])|7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "00"], OM: ["968", "00", "(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}", [7, 8, 9], [["(\\d{3})(\\d{4,6})", "$1 $2", ["[58]"]], ["(\\d{2})(\\d{6})", "$1 $2", ["2"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[179]"]]]], PA: ["507", "00", "(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}", [7, 8, 10, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[1-57-9]"]], ["(\\d{4})(\\d{4})", "$1-$2", ["[68]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]]], PE: ["51", "00|19(?:1[124]|77|90)00", "(?:[14-8]|9\\d)\\d{7}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["80"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["1"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[4-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"]]], "0", 0, 0, 0, 0, 0, 0, "00", " Anexo "], PF: ["689", "00", "4\\d{5}(?:\\d{2})?|8\\d{7,8}", [6, 8, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["44"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4|8[7-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], PG: ["675", "00|140[1-3]", "(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["18|[2-69]|85"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[78]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], PH: ["63", "00", "(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}", [6, 8, 9, 10, 11, 12, 13], [["(\\d)(\\d{5})", "$1 $2", ["2"], "(0$1)"], ["(\\d{4})(\\d{4,6})", "$1 $2", ["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2", "3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"], "(0$1)"], ["(\\d{5})(\\d{4})", "$1 $2", ["346|4(?:27|9[35])|883", "3469|4(?:279|9(?:30|56))|8834"], "(0$1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|8[2-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["1"]]], "0"], PK: ["92", "00", "122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,7})", "$1 $2 $3", ["[89]0"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["1"]], ["(\\d{3})(\\d{6,7})", "$1 $2", ["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])", "9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"], "(0$1)"], ["(\\d{2})(\\d{7,8})", "$1 $2", ["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"], "(0$1)"], ["(\\d{5})(\\d{5})", "$1 $2", ["58"], "(0$1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[24-9]"], "(0$1)"]], "0"], PL: ["48", "00", "(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{5})", "$1", ["19"]], ["(\\d{3})(\\d{3})", "$1 $2", ["11|20|64"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1", "(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["64"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[2-8]|[2-7]|8[1-79]|9[145]"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["8"]]]], PM: ["508", "00", "[45]\\d{5}|(?:708|8\\d\\d)\\d{6}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[45]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], PR: ["1", "011", "(?:[589]\\d\\d|787)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "787|939"], PS: ["970", "00", "[2489]2\\d{6}|(?:1\\d|5)\\d{8}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2489]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], PT: ["351", "00", "1693\\d{5}|(?:[26-9]\\d|30)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["2[12]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["16|[236-9]"]]]], PW: ["680", "01[12]", "(?:[24-8]\\d\\d|345|900)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], PY: ["595", "00", "59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3,6})", "$1 $2", ["[2-9]0"], "0$1"], ["(\\d{2})(\\d{5})", "$1 $2", ["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"], "(0$1)"], ["(\\d{3})(\\d{4,5})", "$1 $2", ["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["87"]], ["(\\d{3})(\\d{6})", "$1 $2", ["9(?:[5-79]|8[1-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"]]], "0"], QA: ["974", "00", "800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}", [7, 8, 9, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["2[136]|8"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[3-7]"]]]], RE: ["262", "00", "709\\d{6}|(?:26|[689]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[26-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"], ["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"], ["80\\d{7}"], ["89[1-37-9]\\d{6}"], 0, 0, 0, 0, ["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"], ["8(?:1[019]|2[0156]|84|90)\\d{6}"]]], RO: ["40", "00", "(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}", [6, 9], [["(\\d{3})(\\d{3})", "$1 $2", ["2[3-6]", "2[3-6]\\d9"], "0$1"], ["(\\d{2})(\\d{4})", "$1 $2", ["219|31"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[23]1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[236-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, " int "], RS: ["381", "00", "38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}", [6, 7, 8, 9, 10, 11, 12], [["(\\d{3})(\\d{3,9})", "$1 $2", ["(?:2[389]|39)0|[7-9]"], "0$1"], ["(\\d{2})(\\d{5,10})", "$1 $2", ["[1-36]"], "0$1"]], "0"], RU: ["7", "810", "8\\d{13}|[347-9]\\d{9}", [10, 14], [["(\\d{4})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-8]|2[1-9])", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"], "8 ($1)", 1], ["(\\d{5})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-68]|2[1-9])", "7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))", "7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[349]|8(?:[02-7]|1[1-8])"], "8 ($1)", 1], ["(\\d{4})(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["8"], "8 ($1)"]], "8", 0, 0, 0, 0, 0, [["336(?:[013-9]\\d|2[013-9])\\d{5}|(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15-7]|6[0-35-79]|7[1-37-9]))\\d{7}", [10]], ["9\\d{9}", [10]], ["8(?:0[04]|108\\d{3})\\d{7}"], ["80[39]\\d{7}", [10]], ["808\\d{7}", [10]]], "8~10"], RW: ["250", "00", "(?:06|[27]\\d\\d|[89]00)\\d{6}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0$1"]], "0"], SA: ["966", "00", "(?:[15]\\d|800|92)\\d{7}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["9"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]], "0"], SB: ["677", "0[01]", "[6-9]\\d{6}|[1-6]\\d{4}", [5, 7], [["(\\d{2})(\\d{5})", "$1 $2", ["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]], SC: ["248", "010|0[0-2]", "(?:[2489]\\d|64)\\d{5}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[246]|9[57]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], SD: ["249", "00", "[19]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], SE: ["46", "00", "(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}", [6, 7, 8, 9, 10, 12], [["(\\d{2})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["20"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{4})", "$1-$2", ["9(?:00|39|44|9)"], "0$1", 0, "$1 $2"], ["(\\d{2})(\\d{3})(\\d{2})", "$1-$2 $3", ["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3"], ["(\\d)(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{2,3})(\\d{3})", "$1-$2 $3", ["9(?:00|39|44)"], "0$1", 0, "$1 $2 $3"], ["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["10|7"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{3})", "$1-$2 $3 $4", ["9"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4 $5", ["[26]"], "0$1", 0, "$1 $2 $3 $4 $5"]], "0"], SG: ["65", "0[0-3]\\d", "(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}", [8, 10, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[369]|8(?:0[1-9]|[1-9])"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{4})(\\d{4})(\\d{3})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], SH: ["290", "00", "(?:[256]\\d|8)\\d{3}", [4, 5], 0, 0, 0, 0, 0, 0, "[256]"], SI: ["386", "00|10(?:22|66|88|99)", "[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}", [5, 6, 7, 8], [["(\\d{2})(\\d{3,6})", "$1 $2", ["8[09]|9"], "0$1"], ["(\\d{3})(\\d{5})", "$1 $2", ["59|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37][01]|4[0139]|51|6"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-57]"], "(0$1)"]], "0", 0, 0, 0, 0, 0, 0, "00"], SJ: ["47", "00", "0\\d{4}|(?:[489]\\d|79)\\d{6}", [5, 8], 0, 0, 0, 0, 0, 0, "79"], SK: ["421", "00", "[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}", [6, 7, 9], [["(\\d)(\\d{2})(\\d{3,4})", "$1 $2 $3", ["21"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["[3-5][1-8]1", "[3-5][1-8]1[67]"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1/$2 $3 $4", ["2"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[689]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1/$2 $3 $4", ["[3-5]"], "0$1"]], "0"], SL: ["232", "00", "(?:[237-9]\\d|66)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[236-9]"], "(0$1)"]], "0"], SM: ["378", "00", "(?:0549|[5-7]\\d)\\d{6}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]"]], ["(\\d{4})(\\d{6})", "$1 $2", ["0"]]], 0, 0, "([89]\\d{5})$", "0549$1"], SN: ["221", "00", "(?:[378]\\d|93)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[379]"]]]], SO: ["252", "00", "[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}", [6, 7, 8, 9], [["(\\d{2})(\\d{4})", "$1 $2", ["8[125]"]], ["(\\d{6})", "$1", ["[134]"]], ["(\\d)(\\d{6})", "$1 $2", ["[15]|2[0-79]|3[0-46-8]|4[0-7]"]], ["(\\d)(\\d{7})", "$1 $2", ["(?:2|90)4|[67]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[348]|64|79|90"]], ["(\\d{2})(\\d{5,7})", "$1 $2", ["1|28|6[0-35-9]|7[67]|9[2-9]"]]], "0"], SR: ["597", "00", "(?:[2-5]|[6-8]\\d|90)\\d{5}", [6, 7], [["(\\d{2})(\\d{2})(\\d{2})", "$1-$2-$3", ["56"]], ["(\\d{3})(\\d{3})", "$1-$2", ["[2-5]"]], ["(\\d{3})(\\d{4})", "$1-$2", ["[6-9]"]]]], SS: ["211", "00", "[19]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], ST: ["239", "00", "(?:22|9\\d)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[29]"]]]], SV: ["503", "00", "[267]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?", [7, 8, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[89]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[267]"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[89]"]]]], SX: ["1", "011", "7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "(5\\d{6})$|1", "721$1", 0, "721"], SY: ["963", "00", "[1-359]\\d{8}|[1-5]\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-4]|5[1-3]"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[59]"], "0$1", 1]], "0"], SZ: ["268", "00", "0800\\d{4}|(?:[237]\\d|900)\\d{6}", [8, 9], [["(\\d{4})(\\d{4})", "$1 $2", ["[0237]"]], ["(\\d{5})(\\d{4})", "$1 $2", ["9"]]]], TA: ["290", "00", "8\\d{3}", [4], 0, 0, 0, 0, 0, 0, "8"], TC: ["1", "011", "(?:[58]\\d\\d|649|900)\\d{7}", [10], 0, "1", 0, "([2-479]\\d{6})$|1", "649$1", 0, "649"], TD: ["235", "00|16", "(?:22|30|[689]\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[236-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], TG: ["228", "00", "[279]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[279]"]]]], TH: ["66", "00[1-9]", "(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}", [8, 9, 10, 13], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[13-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], TJ: ["992", "810", "[0-57-9]\\d{8}", [9], [["(\\d{6})(\\d)(\\d{2})", "$1 $2 $3", ["331", "3317"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["44[02-479]|[34]7"]], ["(\\d{4})(\\d)(\\d{4})", "$1 $2 $3", ["3(?:[1245]|3[12])"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[0-57-9]"]]], 0, 0, 0, 0, 0, 0, 0, "8~10"], TK: ["690", "00", "[2-47]\\d{3,6}", [4, 5, 6, 7]], TL: ["670", "00", "7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-489]|70"]], ["(\\d{4})(\\d{4})", "$1 $2", ["7"]]]], TM: ["993", "810", "(?:[1-6]\\d|71)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["12"], "(8 $1)"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-5]"], "(8 $1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[67]"], "8 $1"]], "8", 0, 0, 0, 0, 0, 0, "8~10"], TN: ["216", "00", "[2-57-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-57-9]"]]]], TO: ["676", "00", "(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}", [5, 7], [["(\\d{2})(\\d{3})", "$1-$2", ["[2-4]|50|6[09]|7[0-24-69]|8[05]"]], ["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[5-9]"]]]], TR: ["90", "00", "4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}", [7, 10, 12, 13], [["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["512|8[01589]|90"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5(?:[0-59]|61)", "5(?:[0-59]|61[06])", "5(?:[0-59]|61[06]1)"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24][1-8]|3[1-9]"], "(0$1)", 1], ["(\\d{3})(\\d{3})(\\d{6,7})", "$1 $2 $3", ["80"], "0$1", 1]], "0"], TT: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-46-8]\\d{6})$|1", "868$1", 0, "868"], TV: ["688", "00", "(?:2|7\\d\\d|90)\\d{4}", [5, 6, 7], [["(\\d{2})(\\d{3})", "$1 $2", ["2"]], ["(\\d{2})(\\d{4})", "$1 $2", ["90"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], TW: ["886", "0(?:0[25-79]|19)", "[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}", [7, 8, 9, 10, 11], [["(\\d{2})(\\d)(\\d{4})", "$1 $2 $3", ["202"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[258]0"], "0$1"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]", "[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, "#"], TZ: ["255", "00[056]", "(?:[25-8]\\d|41|90)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[24]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["5"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[67]"], "0$1"]], "0"], UA: ["380", "00", "[89]\\d{9}|[3-9]\\d{8}", [9, 10], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]", "6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])", "3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|89|9[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "0~0"], UG: ["256", "00[057]", "800\\d{6}|(?:[29]0|[347]\\d)\\d{7}", [9], [["(\\d{4})(\\d{5})", "$1 $2", ["202", "2024"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[27-9]|4(?:6[45]|[7-9])"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[34]"], "0$1"]], "0"], US: ["1", "011", "[2-9]\\d{9}|3\\d{6}", [10], [["(\\d{3})(\\d{4})", "$1-$2", ["310"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "($1) $2-$3", ["[2-9]"], 0, 1, "$1-$2-$3"]], "1", 0, 0, 0, 0, 0, [["3052(?:0[0-8]|[1-9]\\d)\\d{4}|(?:2742|305[3-9])\\d{6}|(?:472|983)[2-47-9]\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}"], [""], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"], ["900[2-9]\\d{6}"], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"], 0, 0, 0, ["305209\\d{4}"]]], UY: ["598", "0(?:0|1[3-9]\\d)", "0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13], [["(\\d{4,5})", "$1", ["21"]], ["(\\d{3})(\\d{3,4})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[49]0|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[124]"]], ["(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3 $4", ["0"]]], "0", 0, 0, 0, 0, 0, 0, "00", " int. "], UZ: ["998", "00", "(?:20|33|[5-9]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[235-9]"]]]], VA: ["39", "00", "0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}", [6, 7, 8, 9, 10, 11, 12], 0, 0, 0, 0, 0, 0, "06698"], VC: ["1", "011", "(?:[58]\\d\\d|784|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "784$1", 0, "784"], VE: ["58", "00", "[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}", [10], [["(\\d{3})(\\d{7})", "$1-$2", ["[24-689]"], "0$1"]], "0"], VG: ["1", "011", "(?:284|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-578]\\d{6})$|1", "284$1", 0, "284"], VI: ["1", "011", "[58]\\d{9}|(?:34|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "340$1", 0, "340"], VN: ["84", "00", "[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["80"], "0$1", 1], ["(\\d{4})(\\d{4,6})", "$1 $2", ["1"], 0, 1], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["6"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[357-9]"], "0$1", 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["2[48]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["2"], "0$1", 1]], "0"], VU: ["678", "00", "[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}", [5, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["[57-9]"]]]], WF: ["681", "00", "(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[47-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], WS: ["685", "0", "(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}", [5, 6, 7, 10], [["(\\d{5})", "$1", ["[2-5]|6[1-9]"]], ["(\\d{3})(\\d{3,7})", "$1 $2", ["[68]"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], XK: ["383", "00", "2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2|39"], "0$1"], ["(\\d{2})(\\d{7,10})", "$1 $2", ["3"], "0$1"]], "0"], YE: ["967", "00", "(?:1|7\\d)\\d{7}|[1-7]\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-6]|7(?:[24-6]|8[0-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"], "0$1"]], "0"], YT: ["262", "00", "7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}", [9], 0, "0", 0, 0, 0, 0, 0, [["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"], ["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"], ["80\\d{7}"], 0, 0, 0, 0, 0, ["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]], ZA: ["27", "00", "[1-79]\\d{8}|8\\d{4,9}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,4})", "$1 $2", ["8[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["8[1-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["860"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], ZM: ["260", "00", "800\\d{6}|(?:21|[579]\\d|63)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[28]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[579]"], "0$1"]], "0"], ZW: ["263", "00", "2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}", [5, 6, 7, 8, 9, 10], [["(\\d{3})(\\d{3,5})", "$1 $2", ["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"], "0$1"], ["(\\d)(\\d{3})(\\d{2,4})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["80"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2", "2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)", "2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3,5})", "$1 $2", ["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["29[013-9]|39|54"], "0$1"], ["(\\d{4})(\\d{3,5})", "$1 $2", ["(?:25|54)8", "258|5483"], "0$1"]], "0"] }, nonGeographic: { 800: ["800", 0, "(?:00|[1-9]\\d)\\d{6}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["\\d"]]], 0, 0, 0, 0, 0, 0, [0, 0, ["(?:00|[1-9]\\d)\\d{6}"]]], 808: ["808", 0, "[1-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[1-9]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, 0, ["[1-9]\\d{7}"]]], 870: ["870", 0, "7\\d{11}|[235-7]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-7]"]]], 0, 0, 0, 0, 0, 0, [0, ["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"], 0, 0, 0, 0, 0, 0, ["2\\d{8}", [9]]]], 878: ["878", 0, "10\\d{10}", [12], [["(\\d{2})(\\d{5})(\\d{5})", "$1 $2 $3", ["1"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["10\\d{10}"]]], 881: ["881", 0, "6\\d{9}|[0-36-9]\\d{8}", [9, 10], [["(\\d)(\\d{3})(\\d{5})", "$1 $2 $3", ["[0-37-9]"]], ["(\\d)(\\d{3})(\\d{5,6})", "$1 $2 $3", ["6"]]], 0, 0, 0, 0, 0, 0, [0, ["6\\d{9}|[0-36-9]\\d{8}"]]], 882: ["882", 0, "[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5})", "$1 $2", ["16|342"]], ["(\\d{2})(\\d{6})", "$1 $2", ["49"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["1[36]|9"]], ["(\\d{2})(\\d{4})(\\d{3})", "$1 $2 $3", ["3[23]"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["16"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|23|3(?:[15]|4[57])|4|51"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["34"]], ["(\\d{2})(\\d{4,5})(\\d{5})", "$1 $2 $3", ["[1-35]"]]], 0, 0, 0, 0, 0, 0, [0, ["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}", [7, 8, 9, 10, 12]], 0, 0, 0, ["348[57]\\d{7}", [11]], 0, 0, ["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]], 883: ["883", 0, "(?:[1-4]\\d|51)\\d{6,10}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,8})", "$1 $2 $3", ["[14]|2[24-689]|3[02-689]|51[24-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["510"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["21"]], ["(\\d{4})(\\d{4})(\\d{4})", "$1 $2 $3", ["51[13]"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[235]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]], 888: ["888", 0, "\\d{11}", [11], [["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3"]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, ["\\d{11}"]]], 979: ["979", 0, "[1359]\\d{8}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[1359]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, ["[1359]\\d{8}"]]] } };
13490
13469
  var Z_ = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
13491
13470
  function Xl(r) {
@@ -13615,7 +13594,7 @@ function S_() {
13615
13594
  }
13616
13595
  }
13617
13596
  }
13618
- var k = f, $ = s, O = A, L = o, J = e, D = u, K = t, j = p, rr = d, Y = a, or = i, Q = n, P = c, v = !1;
13597
+ var k = f, $ = s, O = A, L = o, z = e, V = u, K = t, j = p, rr = d, Y = a, or = i, Q = n, P = c, v = !1;
13619
13598
  function w(T) {
13620
13599
  return v || (v = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), g(T) || x(T) === f;
13621
13600
  }
@@ -13637,13 +13616,13 @@ function S_() {
13637
13616
  function F(T) {
13638
13617
  return x(T) === t;
13639
13618
  }
13640
- function V(T) {
13619
+ function D(T) {
13641
13620
  return x(T) === p;
13642
13621
  }
13643
13622
  function S(T) {
13644
13623
  return x(T) === d;
13645
13624
  }
13646
- function z(T) {
13625
+ function J(T) {
13647
13626
  return x(T) === a;
13648
13627
  }
13649
13628
  function ar(T) {
@@ -13655,7 +13634,7 @@ function S_() {
13655
13634
  function er(T) {
13656
13635
  return x(T) === c;
13657
13636
  }
13658
- d0.AsyncMode = k, d0.ConcurrentMode = $, d0.ContextConsumer = O, d0.ContextProvider = L, d0.Element = J, d0.ForwardRef = D, d0.Fragment = K, d0.Lazy = j, d0.Memo = rr, d0.Portal = Y, d0.Profiler = or, d0.StrictMode = Q, d0.Suspense = P, d0.isAsyncMode = w, d0.isConcurrentMode = g, d0.isContextConsumer = y, d0.isContextProvider = N, d0.isElement = R, d0.isForwardRef = I, d0.isFragment = F, d0.isLazy = V, d0.isMemo = S, d0.isPortal = z, d0.isProfiler = ar, d0.isStrictMode = q, d0.isSuspense = er, d0.isValidElementType = B, d0.typeOf = x;
13637
+ d0.AsyncMode = k, d0.ConcurrentMode = $, d0.ContextConsumer = O, d0.ContextProvider = L, d0.Element = z, d0.ForwardRef = V, d0.Fragment = K, d0.Lazy = j, d0.Memo = rr, d0.Portal = Y, d0.Profiler = or, d0.StrictMode = Q, d0.Suspense = P, d0.isAsyncMode = w, d0.isConcurrentMode = g, d0.isContextConsumer = y, d0.isContextProvider = N, d0.isElement = R, d0.isForwardRef = I, d0.isFragment = F, d0.isLazy = D, d0.isMemo = S, d0.isPortal = J, d0.isProfiler = ar, d0.isStrictMode = q, d0.isSuspense = er, d0.isValidElementType = B, d0.typeOf = x;
13659
13638
  }()), d0;
13660
13639
  }
13661
13640
  var rh;
@@ -13811,10 +13790,10 @@ function $_() {
13811
13790
  element: x(),
13812
13791
  elementType: k(),
13813
13792
  instanceOf: $,
13814
- node: D(),
13793
+ node: V(),
13815
13794
  objectOf: L,
13816
13795
  oneOf: O,
13817
- oneOfType: J,
13796
+ oneOfType: z,
13818
13797
  shape: j,
13819
13798
  exact: rr
13820
13799
  };
@@ -13828,33 +13807,33 @@ function $_() {
13828
13807
  function m(g) {
13829
13808
  if (process.env.NODE_ENV !== "production")
13830
13809
  var y = {}, N = 0;
13831
- function R(F, V, S, z, ar, q, er) {
13832
- if (z = z || h, q = q || S, er !== a) {
13810
+ function R(F, D, S, J, ar, q, er) {
13811
+ if (J = J || h, q = q || S, er !== a) {
13833
13812
  if (f) {
13834
13813
  var T = new Error(
13835
13814
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
13836
13815
  );
13837
13816
  throw T.name = "Invariant Violation", T;
13838
13817
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
13839
- var fr = z + ":" + S;
13818
+ var fr = J + ":" + S;
13840
13819
  !y[fr] && // Avoid spamming the console because they are often not actionable except for lib authors
13841
13820
  N < 3 && (i(
13842
- "You are manually calling a React.PropTypes validation function for the `" + q + "` prop on `" + z + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
13821
+ "You are manually calling a React.PropTypes validation function for the `" + q + "` prop on `" + J + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
13843
13822
  ), y[fr] = !0, N++);
13844
13823
  }
13845
13824
  }
13846
- return V[S] == null ? F ? V[S] === null ? new b("The " + ar + " `" + q + "` is marked as required " + ("in `" + z + "`, but its value is `null`.")) : new b("The " + ar + " `" + q + "` is marked as required in " + ("`" + z + "`, but its value is `undefined`.")) : null : g(V, S, z, ar, q);
13825
+ return D[S] == null ? F ? D[S] === null ? new b("The " + ar + " `" + q + "` is marked as required " + ("in `" + J + "`, but its value is `null`.")) : new b("The " + ar + " `" + q + "` is marked as required in " + ("`" + J + "`, but its value is `undefined`.")) : null : g(D, S, J, ar, q);
13847
13826
  }
13848
13827
  var I = R.bind(null, !1);
13849
13828
  return I.isRequired = R.bind(null, !0), I;
13850
13829
  }
13851
13830
  function _(g) {
13852
- function y(N, R, I, F, V, S) {
13853
- var z = N[R], ar = Q(z);
13831
+ function y(N, R, I, F, D, S) {
13832
+ var J = N[R], ar = Q(J);
13854
13833
  if (ar !== g) {
13855
- var q = P(z);
13834
+ var q = P(J);
13856
13835
  return new b(
13857
- "Invalid " + F + " `" + V + "` of type " + ("`" + q + "` supplied to `" + I + "`, expected ") + ("`" + g + "`."),
13836
+ "Invalid " + F + " `" + D + "` of type " + ("`" + q + "` supplied to `" + I + "`, expected ") + ("`" + g + "`."),
13858
13837
  { expectedType: g }
13859
13838
  );
13860
13839
  }
@@ -13866,16 +13845,16 @@ function $_() {
13866
13845
  return m(o);
13867
13846
  }
13868
13847
  function B(g) {
13869
- function y(N, R, I, F, V) {
13848
+ function y(N, R, I, F, D) {
13870
13849
  if (typeof g != "function")
13871
- return new b("Property `" + V + "` of component `" + I + "` has invalid PropType notation inside arrayOf.");
13850
+ return new b("Property `" + D + "` of component `" + I + "` has invalid PropType notation inside arrayOf.");
13872
13851
  var S = N[R];
13873
13852
  if (!Array.isArray(S)) {
13874
- var z = Q(S);
13875
- return new b("Invalid " + F + " `" + V + "` of type " + ("`" + z + "` supplied to `" + I + "`, expected an array."));
13853
+ var J = Q(S);
13854
+ return new b("Invalid " + F + " `" + D + "` of type " + ("`" + J + "` supplied to `" + I + "`, expected an array."));
13876
13855
  }
13877
13856
  for (var ar = 0; ar < S.length; ar++) {
13878
- var q = g(S, ar, I, F, V + "[" + ar + "]", a);
13857
+ var q = g(S, ar, I, F, D + "[" + ar + "]", a);
13879
13858
  if (q instanceof Error)
13880
13859
  return q;
13881
13860
  }
@@ -13885,9 +13864,9 @@ function $_() {
13885
13864
  }
13886
13865
  function x() {
13887
13866
  function g(y, N, R, I, F) {
13888
- var V = y[N];
13889
- if (!A(V)) {
13890
- var S = Q(V);
13867
+ var D = y[N];
13868
+ if (!A(D)) {
13869
+ var S = Q(D);
13891
13870
  return new b("Invalid " + I + " `" + F + "` of type " + ("`" + S + "` supplied to `" + R + "`, expected a single ReactElement."));
13892
13871
  }
13893
13872
  return null;
@@ -13896,9 +13875,9 @@ function $_() {
13896
13875
  }
13897
13876
  function k() {
13898
13877
  function g(y, N, R, I, F) {
13899
- var V = y[N];
13900
- if (!r.isValidElementType(V)) {
13901
- var S = Q(V);
13878
+ var D = y[N];
13879
+ if (!r.isValidElementType(D)) {
13880
+ var S = Q(D);
13902
13881
  return new b("Invalid " + I + " `" + F + "` of type " + ("`" + S + "` supplied to `" + R + "`, expected a single ReactElement type."));
13903
13882
  }
13904
13883
  return null;
@@ -13906,10 +13885,10 @@ function $_() {
13906
13885
  return m(g);
13907
13886
  }
13908
13887
  function $(g) {
13909
- function y(N, R, I, F, V) {
13888
+ function y(N, R, I, F, D) {
13910
13889
  if (!(N[R] instanceof g)) {
13911
- var S = g.name || h, z = w(N[R]);
13912
- return new b("Invalid " + F + " `" + V + "` of type " + ("`" + z + "` supplied to `" + I + "`, expected ") + ("instance of `" + S + "`."));
13890
+ var S = g.name || h, J = w(N[R]);
13891
+ return new b("Invalid " + F + " `" + D + "` of type " + ("`" + J + "` supplied to `" + I + "`, expected ") + ("instance of `" + S + "`."));
13913
13892
  }
13914
13893
  return null;
13915
13894
  }
@@ -13920,28 +13899,28 @@ function $_() {
13920
13899
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
13921
13900
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
13922
13901
  ) : i("Invalid argument supplied to oneOf, expected an array.")), o;
13923
- function y(N, R, I, F, V) {
13924
- for (var S = N[R], z = 0; z < g.length; z++)
13925
- if (p(S, g[z]))
13902
+ function y(N, R, I, F, D) {
13903
+ for (var S = N[R], J = 0; J < g.length; J++)
13904
+ if (p(S, g[J]))
13926
13905
  return null;
13927
13906
  var ar = JSON.stringify(g, function(er, T) {
13928
13907
  var fr = P(T);
13929
13908
  return fr === "symbol" ? String(T) : T;
13930
13909
  });
13931
- return new b("Invalid " + F + " `" + V + "` of value `" + String(S) + "` " + ("supplied to `" + I + "`, expected one of " + ar + "."));
13910
+ return new b("Invalid " + F + " `" + D + "` of value `" + String(S) + "` " + ("supplied to `" + I + "`, expected one of " + ar + "."));
13932
13911
  }
13933
13912
  return m(y);
13934
13913
  }
13935
13914
  function L(g) {
13936
- function y(N, R, I, F, V) {
13915
+ function y(N, R, I, F, D) {
13937
13916
  if (typeof g != "function")
13938
- return new b("Property `" + V + "` of component `" + I + "` has invalid PropType notation inside objectOf.");
13939
- var S = N[R], z = Q(S);
13940
- if (z !== "object")
13941
- return new b("Invalid " + F + " `" + V + "` of type " + ("`" + z + "` supplied to `" + I + "`, expected an object."));
13917
+ return new b("Property `" + D + "` of component `" + I + "` has invalid PropType notation inside objectOf.");
13918
+ var S = N[R], J = Q(S);
13919
+ if (J !== "object")
13920
+ return new b("Invalid " + F + " `" + D + "` of type " + ("`" + J + "` supplied to `" + I + "`, expected an object."));
13942
13921
  for (var ar in S)
13943
13922
  if (t(S, ar)) {
13944
- var q = g(S, ar, I, F, V + "." + ar, a);
13923
+ var q = g(S, ar, I, F, D + "." + ar, a);
13945
13924
  if (q instanceof Error)
13946
13925
  return q;
13947
13926
  }
@@ -13949,7 +13928,7 @@ function $_() {
13949
13928
  }
13950
13929
  return m(y);
13951
13930
  }
13952
- function J(g) {
13931
+ function z(g) {
13953
13932
  if (!Array.isArray(g))
13954
13933
  return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), o;
13955
13934
  for (var y = 0; y < g.length; y++) {
@@ -13959,19 +13938,19 @@ function $_() {
13959
13938
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + v(N) + " at index " + y + "."
13960
13939
  ), o;
13961
13940
  }
13962
- function R(I, F, V, S, z) {
13941
+ function R(I, F, D, S, J) {
13963
13942
  for (var ar = [], q = 0; q < g.length; q++) {
13964
- var er = g[q], T = er(I, F, V, S, z, a);
13943
+ var er = g[q], T = er(I, F, D, S, J, a);
13965
13944
  if (T == null)
13966
13945
  return null;
13967
13946
  T.data && t(T.data, "expectedType") && ar.push(T.data.expectedType);
13968
13947
  }
13969
13948
  var fr = ar.length > 0 ? ", expected one of type [" + ar.join(", ") + "]" : "";
13970
- return new b("Invalid " + S + " `" + z + "` supplied to " + ("`" + V + "`" + fr + "."));
13949
+ return new b("Invalid " + S + " `" + J + "` supplied to " + ("`" + D + "`" + fr + "."));
13971
13950
  }
13972
13951
  return m(R);
13973
13952
  }
13974
- function D() {
13953
+ function V() {
13975
13954
  function g(y, N, R, I, F) {
13976
13955
  return Y(y[N]) ? null : new b("Invalid " + I + " `" + F + "` supplied to " + ("`" + R + "`, expected a ReactNode."));
13977
13956
  }
@@ -13983,15 +13962,15 @@ function $_() {
13983
13962
  );
13984
13963
  }
13985
13964
  function j(g) {
13986
- function y(N, R, I, F, V) {
13987
- var S = N[R], z = Q(S);
13988
- if (z !== "object")
13989
- return new b("Invalid " + F + " `" + V + "` of type `" + z + "` " + ("supplied to `" + I + "`, expected `object`."));
13965
+ function y(N, R, I, F, D) {
13966
+ var S = N[R], J = Q(S);
13967
+ if (J !== "object")
13968
+ return new b("Invalid " + F + " `" + D + "` of type `" + J + "` " + ("supplied to `" + I + "`, expected `object`."));
13990
13969
  for (var ar in g) {
13991
13970
  var q = g[ar];
13992
13971
  if (typeof q != "function")
13993
- return K(I, F, V, ar, P(q));
13994
- var er = q(S, ar, I, F, V + "." + ar, a);
13972
+ return K(I, F, D, ar, P(q));
13973
+ var er = q(S, ar, I, F, D + "." + ar, a);
13995
13974
  if (er)
13996
13975
  return er;
13997
13976
  }
@@ -14000,21 +13979,21 @@ function $_() {
14000
13979
  return m(y);
14001
13980
  }
14002
13981
  function rr(g) {
14003
- function y(N, R, I, F, V) {
14004
- var S = N[R], z = Q(S);
14005
- if (z !== "object")
14006
- return new b("Invalid " + F + " `" + V + "` of type `" + z + "` " + ("supplied to `" + I + "`, expected `object`."));
13982
+ function y(N, R, I, F, D) {
13983
+ var S = N[R], J = Q(S);
13984
+ if (J !== "object")
13985
+ return new b("Invalid " + F + " `" + D + "` of type `" + J + "` " + ("supplied to `" + I + "`, expected `object`."));
14007
13986
  var ar = e({}, N[R], g);
14008
13987
  for (var q in ar) {
14009
13988
  var er = g[q];
14010
13989
  if (t(g, q) && typeof er != "function")
14011
- return K(I, F, V, q, P(er));
13990
+ return K(I, F, D, q, P(er));
14012
13991
  if (!er)
14013
13992
  return new b(
14014
- "Invalid " + F + " `" + V + "` key `" + q + "` supplied to `" + I + "`.\nBad object: " + JSON.stringify(N[R], null, " ") + `
13993
+ "Invalid " + F + " `" + D + "` key `" + q + "` supplied to `" + I + "`.\nBad object: " + JSON.stringify(N[R], null, " ") + `
14015
13994
  Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
14016
13995
  );
14017
- var T = er(S, q, I, F, V + "." + q, a);
13996
+ var T = er(S, q, I, F, D + "." + q, a);
14018
13997
  if (T)
14019
13998
  return T;
14020
13999
  }
@@ -18709,8 +18688,8 @@ function OR(r, e, a) {
18709
18688
  var L;
18710
18689
  if (o) {
18711
18690
  if (m) {
18712
- var J = $ ? m === $ : Ei(o, m, t);
18713
- J ? $ || ($ = m) : L = {
18691
+ var z = $ ? m === $ : Ei(o, m, t);
18692
+ z ? $ || ($ = m) : L = {
18714
18693
  latestCountrySelectedByUser: void 0
18715
18694
  };
18716
18695
  }
@@ -18869,25 +18848,25 @@ var QR = /* @__PURE__ */ function(r) {
18869
18848
  var _ = t.props.metadata;
18870
18849
  return Gf(m, _);
18871
18850
  }), va(t, "onCountryChange", function(m) {
18872
- var _ = t.props, E = _.international, B = _.metadata, x = _.onChange, k = _.focusInputOnCountrySelection, $ = t.state, O = $.phoneDigits, L = $.country, J = NR(O, {
18851
+ var _ = t.props, E = _.international, B = _.metadata, x = _.onChange, k = _.focusInputOnCountrySelection, $ = t.state, O = $.phoneDigits, L = $.country, z = NR(O, {
18873
18852
  prevCountry: L,
18874
18853
  newCountry: m,
18875
18854
  metadata: B,
18876
18855
  // Convert the phone number to "national" format
18877
18856
  // when the user changes the selected country by hand.
18878
18857
  useNationalFormat: !E
18879
- }), D = gi(J, m, B);
18858
+ }), V = gi(z, m, B);
18880
18859
  k && t.inputRef.current.focus(), t.setState({
18881
18860
  country: m,
18882
18861
  latestCountrySelectedByUser: m,
18883
18862
  hasUserSelectedACountry: !0,
18884
- phoneDigits: J,
18885
- value: D
18863
+ phoneDigits: z,
18864
+ value: V
18886
18865
  }, function() {
18887
- x(D);
18866
+ x(V);
18888
18867
  });
18889
18868
  }), va(t, "onChange", function(m) {
18890
- var _ = t.props, E = _.defaultCountry, B = _.onChange, x = _.addInternationalOption, k = _.international, $ = _.limitMaxLength, O = _.countryCallingCodeEditable, L = _.metadata, J = t.state, D = J.countries, K = J.phoneDigits, j = J.country, rr = J.latestCountrySelectedByUser, Y = ZR(m, {
18869
+ var _ = t.props, E = _.defaultCountry, B = _.onChange, x = _.addInternationalOption, k = _.international, $ = _.limitMaxLength, O = _.countryCallingCodeEditable, L = _.metadata, z = t.state, V = z.countries, K = z.phoneDigits, j = z.country, rr = z.latestCountrySelectedByUser, Y = ZR(m, {
18891
18870
  prevPhoneDigits: K,
18892
18871
  country: j,
18893
18872
  countryRequired: !x,
@@ -18895,10 +18874,10 @@ var QR = /* @__PURE__ */ function(r) {
18895
18874
  latestCountrySelectedByUser: rr,
18896
18875
  getAnyCountry: function() {
18897
18876
  return t.getFirstSupportedCountry({
18898
- countries: D
18877
+ countries: V
18899
18878
  });
18900
18879
  },
18901
- countries: D,
18880
+ countries: V,
18902
18881
  international: k,
18903
18882
  limitMaxLength: $,
18904
18883
  countryCallingCodeEditable: O,
@@ -19057,13 +19036,13 @@ var QR = /* @__PURE__ */ function(r) {
19057
19036
  t.flags, t.flagComponent, t.flagUrl, t.addInternationalOption, t.internationalIcon, t.displayInitialValueAsLocalNumber, t.initialValueFormat, t.onCountryChange, t.limitMaxLength, t.countryCallingCodeEditable, t.focusInputOnCountrySelection, t.reset;
19058
19037
  var E = t.metadata, B = t.international;
19059
19038
  t.locales;
19060
- var x = DR(t, VR), k = this.state, $ = k.country, O = k.countries, L = k.phoneDigits, J = k.isFocused, D = h ? Lx : Jx, K = this.getCountrySelectOptions({
19039
+ var x = DR(t, VR), k = this.state, $ = k.country, O = k.countries, L = k.phoneDigits, z = k.isFocused, V = h ? Lx : Jx, K = this.getCountrySelectOptions({
19061
19040
  countries: O
19062
19041
  });
19063
19042
  return /* @__PURE__ */ G.createElement(b, Ci({
19064
19043
  style: f,
19065
19044
  className: KA(s, "PhoneInput", {
19066
- "PhoneInput--focus": J,
19045
+ "PhoneInput--focus": z,
19067
19046
  "PhoneInput--disabled": i,
19068
19047
  "PhoneInput--readOnly": o
19069
19048
  })
@@ -19079,7 +19058,7 @@ var QR = /* @__PURE__ */ function(r) {
19079
19058
  disabled: i || p && p.disabled,
19080
19059
  readOnly: o || p && p.readOnly,
19081
19060
  iconComponent: this.CountryIcon
19082
- })), /* @__PURE__ */ G.createElement(D, Ci({
19061
+ })), /* @__PURE__ */ G.createElement(V, Ci({
19083
19062
  ref: this.setInputRef,
19084
19063
  type: "tel",
19085
19064
  autoComplete: A
@@ -19871,10 +19850,10 @@ const gm = ({
19871
19850
  defaultCountry: e,
19872
19851
  international: !0,
19873
19852
  countryCallingCodeEditable: !1,
19874
- className: Or("flex h-10 w-full space-x-1", a),
19853
+ className: Vr("flex h-10 w-full space-x-1", a),
19875
19854
  inputComponent: pm,
19876
19855
  countrySelectProps: {
19877
- className: Or(
19856
+ className: Vr(
19878
19857
  "h-10 rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm"
19879
19858
  )
19880
19859
  }
@@ -19918,37 +19897,37 @@ const nZ = ii({
19918
19897
  /* @__PURE__ */ X(fe, { children: [
19919
19898
  /* @__PURE__ */ l(oi, { ...i, children: /* @__PURE__ */ X("form", { onSubmit: i.handleSubmit(o), className: "space-y-4", children: [
19920
19899
  /* @__PURE__ */ l(
19921
- Qr,
19900
+ Yr,
19922
19901
  {
19923
19902
  control: i.control,
19924
19903
  name: "fullName",
19925
- render: ({ field: f }) => /* @__PURE__ */ X(jr, { children: [
19904
+ render: ({ field: f }) => /* @__PURE__ */ X(Xr, { children: [
19926
19905
  /* @__PURE__ */ l(qr, { children: "Full Name" }),
19927
- /* @__PURE__ */ l(Lr, { children: /* @__PURE__ */ l(j0, { placeholder: "Enter your full name", ...f }) }),
19928
- /* @__PURE__ */ l(Ur, {})
19906
+ /* @__PURE__ */ l(jr, { children: /* @__PURE__ */ l(j0, { placeholder: "Enter your full name", ...f }) }),
19907
+ /* @__PURE__ */ l(Lr, {})
19929
19908
  ] })
19930
19909
  }
19931
19910
  ),
19932
19911
  /* @__PURE__ */ l(
19933
- Qr,
19912
+ Yr,
19934
19913
  {
19935
19914
  control: i.control,
19936
19915
  name: "email",
19937
- render: ({ field: f }) => /* @__PURE__ */ X(jr, { children: [
19916
+ render: ({ field: f }) => /* @__PURE__ */ X(Xr, { children: [
19938
19917
  /* @__PURE__ */ l(qr, { children: "Email" }),
19939
- /* @__PURE__ */ l(Lr, { children: /* @__PURE__ */ l(j0, { placeholder: "example@email.com", ...f }) }),
19940
- /* @__PURE__ */ l(Ur, {})
19918
+ /* @__PURE__ */ l(jr, { children: /* @__PURE__ */ l(j0, { placeholder: "example@email.com", ...f }) }),
19919
+ /* @__PURE__ */ l(Lr, {})
19941
19920
  ] })
19942
19921
  }
19943
19922
  ),
19944
19923
  /* @__PURE__ */ l(
19945
- Qr,
19924
+ Yr,
19946
19925
  {
19947
19926
  control: i.control,
19948
19927
  name: "phone",
19949
- render: ({ field: f }) => /* @__PURE__ */ X(jr, { children: [
19928
+ render: ({ field: f }) => /* @__PURE__ */ X(Xr, { children: [
19950
19929
  /* @__PURE__ */ l(qr, { children: "Phone Number" }),
19951
- /* @__PURE__ */ l(Lr, { children: /* @__PURE__ */ l(
19930
+ /* @__PURE__ */ l(jr, { children: /* @__PURE__ */ l(
19952
19931
  gm,
19953
19932
  {
19954
19933
  control: i.control,
@@ -19957,7 +19936,7 @@ const nZ = ii({
19957
19936
  defaultCountry: "US"
19958
19937
  }
19959
19938
  ) }),
19960
- /* @__PURE__ */ l(Ur, {})
19939
+ /* @__PURE__ */ l(Lr, {})
19961
19940
  ] })
19962
19941
  }
19963
19942
  ),
@@ -20079,8 +20058,8 @@ var oZ = { exports: {} };
20079
20058
  });
20080
20059
  var O = Object.getPrototypeOf, L = O && O(O(P([])));
20081
20060
  L && L !== t && n.call(L, f) && ($ = L);
20082
- var J = k.prototype = B.prototype = Object.create($);
20083
- x.prototype = k, i(J, "constructor", { value: k, configurable: !0 }), i(
20061
+ var z = k.prototype = B.prototype = Object.create($);
20062
+ x.prototype = k, i(z, "constructor", { value: k, configurable: !0 }), i(
20084
20063
  k,
20085
20064
  "constructor",
20086
20065
  { value: x, configurable: !0 }
@@ -20089,7 +20068,7 @@ var oZ = { exports: {} };
20089
20068
  u,
20090
20069
  "GeneratorFunction"
20091
20070
  );
20092
- function D(w) {
20071
+ function V(w) {
20093
20072
  ["next", "throw", "return"].forEach(function(g) {
20094
20073
  c(w, g, function(y) {
20095
20074
  return this._invoke(g, y);
@@ -20102,33 +20081,33 @@ var oZ = { exports: {} };
20102
20081
  // do is to check its .name property.
20103
20082
  (g.displayName || g.name) === "GeneratorFunction" : !1;
20104
20083
  }, a.mark = function(w) {
20105
- return Object.setPrototypeOf ? Object.setPrototypeOf(w, k) : (w.__proto__ = k, c(w, u, "GeneratorFunction")), w.prototype = Object.create(J), w;
20084
+ return Object.setPrototypeOf ? Object.setPrototypeOf(w, k) : (w.__proto__ = k, c(w, u, "GeneratorFunction")), w.prototype = Object.create(z), w;
20106
20085
  }, a.awrap = function(w) {
20107
20086
  return { __await: w };
20108
20087
  };
20109
20088
  function K(w, g) {
20110
- function y(I, F, V, S) {
20111
- var z = d(w[I], w, F);
20112
- if (z.type === "throw")
20113
- S(z.arg);
20089
+ function y(I, F, D, S) {
20090
+ var J = d(w[I], w, F);
20091
+ if (J.type === "throw")
20092
+ S(J.arg);
20114
20093
  else {
20115
- var ar = z.arg, q = ar.value;
20094
+ var ar = J.arg, q = ar.value;
20116
20095
  return q && typeof q == "object" && n.call(q, "__await") ? g.resolve(q.__await).then(function(er) {
20117
- y("next", er, V, S);
20096
+ y("next", er, D, S);
20118
20097
  }, function(er) {
20119
- y("throw", er, V, S);
20098
+ y("throw", er, D, S);
20120
20099
  }) : g.resolve(q).then(function(er) {
20121
- ar.value = er, V(ar);
20100
+ ar.value = er, D(ar);
20122
20101
  }, function(er) {
20123
- return y("throw", er, V, S);
20102
+ return y("throw", er, D, S);
20124
20103
  });
20125
20104
  }
20126
20105
  }
20127
20106
  var N;
20128
20107
  function R(I, F) {
20129
- function V() {
20130
- return new g(function(S, z) {
20131
- y(I, F, S, z);
20108
+ function D() {
20109
+ return new g(function(S, J) {
20110
+ y(I, F, S, J);
20132
20111
  });
20133
20112
  }
20134
20113
  return N = // If enqueue has been called before, then we want to wait until
@@ -20144,15 +20123,15 @@ var oZ = { exports: {} };
20144
20123
  // async functions in terms of async generators, it is especially
20145
20124
  // important to get this right, even though it requires care.
20146
20125
  N ? N.then(
20147
- V,
20126
+ D,
20148
20127
  // Avoid propagating failures to Promises returned by later
20149
20128
  // invocations of the iterator.
20150
- V
20151
- ) : V();
20129
+ D
20130
+ ) : D();
20152
20131
  }
20153
20132
  i(this, "_invoke", { value: R });
20154
20133
  }
20155
- D(K.prototype), c(K.prototype, s, function() {
20134
+ V(K.prototype), c(K.prototype, s, function() {
20156
20135
  return this;
20157
20136
  }), a.AsyncIterator = K, a.async = function(w, g, y, N, R) {
20158
20137
  R === void 0 && (R = Promise);
@@ -20175,9 +20154,9 @@ var oZ = { exports: {} };
20175
20154
  return v();
20176
20155
  }
20177
20156
  for (y.method = I, y.arg = F; ; ) {
20178
- var V = y.delegate;
20179
- if (V) {
20180
- var S = rr(V, y);
20157
+ var D = y.delegate;
20158
+ if (D) {
20159
+ var S = rr(D, y);
20181
20160
  if (S) {
20182
20161
  if (S === E) continue;
20183
20162
  return S;
@@ -20191,15 +20170,15 @@ var oZ = { exports: {} };
20191
20170
  y.dispatchException(y.arg);
20192
20171
  } else y.method === "return" && y.abrupt("return", y.arg);
20193
20172
  N = m;
20194
- var z = d(w, g, y);
20195
- if (z.type === "normal") {
20196
- if (N = y.done ? _ : b, z.arg === E)
20173
+ var J = d(w, g, y);
20174
+ if (J.type === "normal") {
20175
+ if (N = y.done ? _ : b, J.arg === E)
20197
20176
  continue;
20198
20177
  return {
20199
- value: z.arg,
20178
+ value: J.arg,
20200
20179
  done: y.done
20201
20180
  };
20202
- } else z.type === "throw" && (N = _, y.method = "throw", y.arg = z.arg);
20181
+ } else J.type === "throw" && (N = _, y.method = "throw", y.arg = J.arg);
20203
20182
  }
20204
20183
  };
20205
20184
  }
@@ -20221,9 +20200,9 @@ var oZ = { exports: {} };
20221
20200
  return I;
20222
20201
  return g.delegate = null, E;
20223
20202
  }
20224
- D(J), c(J, u, "Generator"), c(J, f, function() {
20203
+ V(z), c(z, u, "Generator"), c(z, f, function() {
20225
20204
  return this;
20226
- }), c(J, "toString", function() {
20205
+ }), c(z, "toString", function() {
20227
20206
  return "[object Generator]";
20228
20207
  });
20229
20208
  function Y(w) {
@@ -20291,16 +20270,16 @@ var oZ = { exports: {} };
20291
20270
  if (this.done)
20292
20271
  throw w;
20293
20272
  var g = this;
20294
- function y(S, z) {
20295
- return I.type = "throw", I.arg = w, g.next = S, z && (g.method = "next", g.arg = o), !!z;
20273
+ function y(S, J) {
20274
+ return I.type = "throw", I.arg = w, g.next = S, J && (g.method = "next", g.arg = o), !!J;
20296
20275
  }
20297
20276
  for (var N = this.tryEntries.length - 1; N >= 0; --N) {
20298
20277
  var R = this.tryEntries[N], I = R.completion;
20299
20278
  if (R.tryLoc === "root")
20300
20279
  return y("end");
20301
20280
  if (R.tryLoc <= this.prev) {
20302
- var F = n.call(R, "catchLoc"), V = n.call(R, "finallyLoc");
20303
- if (F && V) {
20281
+ var F = n.call(R, "catchLoc"), D = n.call(R, "finallyLoc");
20282
+ if (F && D) {
20304
20283
  if (this.prev < R.catchLoc)
20305
20284
  return y(R.catchLoc, !0);
20306
20285
  if (this.prev < R.finallyLoc)
@@ -20308,7 +20287,7 @@ var oZ = { exports: {} };
20308
20287
  } else if (F) {
20309
20288
  if (this.prev < R.catchLoc)
20310
20289
  return y(R.catchLoc, !0);
20311
- } else if (V) {
20290
+ } else if (D) {
20312
20291
  if (this.prev < R.finallyLoc)
20313
20292
  return y(R.finallyLoc);
20314
20293
  } else
@@ -20587,7 +20566,7 @@ var Cm = async (r = "eng", e = wn.LSTM_ONLY, a = {}, t = {}) => {
20587
20566
  id: w,
20588
20567
  action: "FS",
20589
20568
  payload: { method: P, args: v }
20590
- })), J = (P, v) => E(Pa({
20569
+ })), z = (P, v) => E(Pa({
20591
20570
  id: v,
20592
20571
  action: "loadLanguage",
20593
20572
  payload: {
@@ -20601,7 +20580,7 @@ var Cm = async (r = "eng", e = wn.LSTM_ONLY, a = {}, t = {}) => {
20601
20580
  lstmOnly: [wn.DEFAULT, wn.LSTM_ONLY].includes(u) && !A.legacyLang
20602
20581
  }
20603
20582
  }
20604
- })), D = (P, v, w, g) => E(Pa({
20583
+ })), V = (P, v, w, g) => E(Pa({
20605
20584
  id: g,
20606
20585
  action: "initialize",
20607
20586
  payload: { langs: P, oem: v, config: w }
@@ -20612,7 +20591,7 @@ var Cm = async (r = "eng", e = wn.LSTM_ONLY, a = {}, t = {}) => {
20612
20591
  const N = w || c;
20613
20592
  c = N;
20614
20593
  const I = (typeof P == "string" ? P.split("+") : P).filter((F) => !s.includes(F));
20615
- return s.push(...I), I.length > 0 ? J(I, g).then(() => D(P, y, N, g)) : D(P, y, N, g);
20594
+ return s.push(...I), I.length > 0 ? z(I, g).then(() => V(P, y, N, g)) : V(P, y, N, g);
20616
20595
  }, j = (P = {}, v) => E(Pa({
20617
20596
  id: v,
20618
20597
  action: "setParameters",
@@ -20662,7 +20641,7 @@ var Cm = async (r = "eng", e = wn.LSTM_ONLY, a = {}, t = {}) => {
20662
20641
  detect: Y,
20663
20642
  terminate: or
20664
20643
  };
20665
- return x().then(() => J(r)).then(() => D(r, e, t)).then(() => p(Q)).catch(() => {
20644
+ return x().then(() => z(r)).then(() => V(r, e, t)).then(() => p(Q)).catch(() => {
20666
20645
  }), b;
20667
20646
  };
20668
20647
  const _m = Cm, MZ = async (r, e, a) => {
@@ -24570,15 +24549,15 @@ const vb = new BS(), IS = (r, e, a, t, n, i, o) => {
24570
24549
  if (!(!a.current || b.current)) {
24571
24550
  b.current = !0;
24572
24551
  try {
24573
- const L = a.current, J = L.videoWidth, D = L.videoHeight;
24574
- if (!J || !D) return;
24575
- const K = L.getBoundingClientRect(), j = J / K.width, rr = D / K.height;
24552
+ const L = a.current, z = L.videoWidth, V = L.videoHeight;
24553
+ if (!z || !V) return;
24554
+ const K = L.getBoundingClientRect(), j = z / K.width, rr = V / K.height;
24576
24555
  let Y = c.x * j, or = c.y * rr, Q = c.w * j, P = c.h * rr;
24577
24556
  const v = 800, w = Q > v ? v / Q : 1, g = Q * w, y = P * w, N = document.createElement("canvas");
24578
24557
  N.width = g, N.height = y, N.getContext("2d").drawImage(L, Y, or, Q, P, 0, 0, g, y);
24579
24558
  const I = await new Promise((S) => N.toBlob(S, "image/jpeg")), F = new File([I], "frame.jpg", { type: "image/jpeg" });
24580
- let V;
24581
- r === "selfie" ? V = await vb.validateFace(F) : V = await vb.validateIdCard(F, o), p(V.passed), V.passed && (E.current = 1500);
24559
+ let D;
24560
+ r === "selfie" ? D = await vb.validateFace(F) : D = await vb.validateIdCard(F, o), p(D.passed), D.passed && (E.current = 1500);
24582
24561
  } catch {
24583
24562
  p(!1);
24584
24563
  } finally {
@@ -24589,12 +24568,12 @@ const vb = new BS(), IS = (r, e, a, t, n, i, o) => {
24589
24568
  ge(() => {
24590
24569
  if (!A || !a.current) return;
24591
24570
  let L;
24592
- const J = 500;
24593
- let D = 0;
24571
+ const z = 500;
24572
+ let V = 0;
24594
24573
  const K = (j) => {
24595
- if (L = requestAnimationFrame(K), !(j - D < J)) {
24596
- if (D = j, E.current > 0) {
24597
- E.current -= J;
24574
+ if (L = requestAnimationFrame(K), !(j - V < z)) {
24575
+ if (V = j, E.current > 0) {
24576
+ E.current -= z;
24598
24577
  return;
24599
24578
  }
24600
24579
  x();
@@ -24639,28 +24618,28 @@ const vb = new BS(), IS = (r, e, a, t, n, i, o) => {
24639
24618
  A && (A.getTracks().forEach((L) => L.stop()), f(null));
24640
24619
  }, [A]), O = z0(async () => {
24641
24620
  if (!a.current || !t.current) return;
24642
- const L = a.current, J = t.current, D = J.getContext("2d");
24643
- if (!D) return;
24621
+ const L = a.current, z = t.current, V = z.getContext("2d");
24622
+ if (!V) return;
24644
24623
  const K = L.videoWidth, j = L.videoHeight;
24645
- J.width = K, J.height = j, D.drawImage(L, 0, 0, K, j);
24646
- const rr = await new Promise((or, Q) => J.toBlob((P) => P ? or(P) : Q(), "image/jpeg")), Y = new File([rr], `${r}-${Date.now()}.jpg`, { type: "image/jpeg" });
24624
+ z.width = K, z.height = j, V.drawImage(L, 0, 0, K, j);
24625
+ const rr = await new Promise((or, Q) => z.toBlob((P) => P ? or(P) : Q(), "image/jpeg")), Y = new File([rr], `${r}-${Date.now()}.jpg`, { type: "image/jpeg" });
24647
24626
  u(Y), $();
24648
24627
  }, [r, $]);
24649
24628
  return ge(() => (!s && !A && k(), () => $()), [s, A, k, $]), ge(() => {
24650
24629
  if (!n.current || !i.current) return;
24651
24630
  const L = () => {
24652
- const D = n.current.getBoundingClientRect(), K = i.current.getBoundingClientRect();
24631
+ const V = n.current.getBoundingClientRect(), K = i.current.getBoundingClientRect();
24653
24632
  h({
24654
- x: Math.round(K.left - D.left),
24655
- y: Math.round(K.top - D.top),
24633
+ x: Math.round(K.left - V.left),
24634
+ y: Math.round(K.top - V.top),
24656
24635
  w: Math.round(K.width),
24657
24636
  h: Math.round(K.height)
24658
24637
  });
24659
24638
  };
24660
24639
  L();
24661
- const J = new ResizeObserver(L);
24662
- return J.observe(i.current), J.observe(n.current), window.addEventListener("resize", L), window.addEventListener("scroll", L, !0), () => {
24663
- J.disconnect(), window.removeEventListener("resize", L), window.removeEventListener("scroll", L, !0);
24640
+ const z = new ResizeObserver(L);
24641
+ return z.observe(i.current), z.observe(n.current), window.addEventListener("resize", L), window.addEventListener("scroll", L, !0), () => {
24642
+ z.disconnect(), window.removeEventListener("resize", L), window.removeEventListener("scroll", L, !0);
24664
24643
  };
24665
24644
  }, [e, A]), {
24666
24645
  stream: A,
@@ -24704,7 +24683,7 @@ const xS = {
24704
24683
  u,
24705
24684
  c,
24706
24685
  A
24707
- ), [k, $] = e0(!1), [O, L] = e0(!1), J = !!d, D = () => {
24686
+ ), [k, $] = e0(!1), [O, L] = e0(!1), z = !!d, V = () => {
24708
24687
  b(null), t();
24709
24688
  }, K = () => {
24710
24689
  b(null), e();
@@ -24727,7 +24706,7 @@ const xS = {
24727
24706
  {
24728
24707
  title: `Review ${v}`,
24729
24708
  subTitle: "Make sure the information is seen clearly, with no blur or glare.",
24730
- onBack: D
24709
+ onBack: V
24731
24710
  }
24732
24711
  ),
24733
24712
  /* @__PURE__ */ l("div", { className: "mb-8", children: /* @__PURE__ */ l("div", { className: "relative", children: E && /* @__PURE__ */ l(
@@ -24748,7 +24727,7 @@ const xS = {
24748
24727
  ] }) });
24749
24728
  };
24750
24729
  return p ? P() : /* @__PURE__ */ X(Ae, { className: "relative w-full max-w-md mx-auto bg-gray-900 border-gray-900 overflow-hidden", children: [
24751
- J && /* @__PURE__ */ l(
24730
+ z && /* @__PURE__ */ l(
24752
24731
  "video",
24753
24732
  {
24754
24733
  ref: f,
@@ -24769,13 +24748,13 @@ const xS = {
24769
24748
  /* @__PURE__ */ l("canvas", { ref: s, className: "hidden" }),
24770
24749
  /* @__PURE__ */ X(fe, { className: "relative z-10 text-white flex flex-col h-full", children: [
24771
24750
  /* @__PURE__ */ X("div", { className: "flex items-center p-6", children: [
24772
- /* @__PURE__ */ l(x0, { variant: "ghost", size: "sm", onClick: D, className: "text-white hover:bg-gray-600", children: /* @__PURE__ */ l(S6, { className: "h-6 w-6" }) }),
24751
+ /* @__PURE__ */ l(x0, { variant: "ghost", size: "sm", onClick: V, className: "text-white hover:bg-gray-600", children: /* @__PURE__ */ l(S6, { className: "h-6 w-6" }) }),
24773
24752
  /* @__PURE__ */ l("h1", { className: "text-xl font-semibold ml-4", children: n })
24774
24753
  ] }),
24775
24754
  /* @__PURE__ */ l("div", { className: "px-6 mb-8", children: /* @__PURE__ */ l("p", { className: "text-gray-300 text-center", children: i }) }),
24776
24755
  /* @__PURE__ */ X("div", { className: "flex-1 flex flex-col items-center justify-center px-6", children: [
24777
24756
  /* @__PURE__ */ X("div", { className: "relative mb-16", children: [
24778
- J ? /* @__PURE__ */ l(
24757
+ z ? /* @__PURE__ */ l(
24779
24758
  "div",
24780
24759
  {
24781
24760
  ref: c,
@@ -24808,7 +24787,7 @@ const xS = {
24808
24787
  onClick: rr,
24809
24788
  size: "lg",
24810
24789
  className: "w-16 h-16 rounded-full bg-white hover:bg-gray-100 border-4 border-gray-600 p-0",
24811
- disabled: !J || k || !x,
24790
+ disabled: !z || k || !x,
24812
24791
  children: /* @__PURE__ */ l("div", { className: "w-8 h-8 rounded-full bg-white" })
24813
24792
  }
24814
24793
  )
@@ -25452,8 +25431,8 @@ function kW(r) {
25452
25431
  return !1;
25453
25432
  if (!t.current && "changedTouches" in b && (B || x) && (t.current = k), !k)
25454
25433
  return !0;
25455
- var J = t.current || k;
25456
- return pW(J, m, b, J === "h" ? B : x);
25434
+ var z = t.current || k;
25435
+ return pW(z, m, b, z === "h" ? B : x);
25457
25436
  }, []), f = C.useCallback(function(b) {
25458
25437
  var m = b;
25459
25438
  if (!(!bi.length || bi[bi.length - 1] !== i)) {
@@ -25538,7 +25517,7 @@ var _W = [" ", "Enter", "ArrowUp", "ArrowDown"], BW = [" ", "Enter"], Kn = "Sele
25538
25517
  defaultProp: n ?? !1,
25539
25518
  onChange: i,
25540
25519
  caller: Kn
25541
- }), [J, D] = WA({
25520
+ }), [z, V] = WA({
25542
25521
  prop: o,
25543
25522
  defaultProp: A,
25544
25523
  onChange: f,
@@ -25556,8 +25535,8 @@ var _W = [" ", "Enter", "ArrowUp", "ArrowDown"], BW = [" ", "Enter"], Kn = "Sele
25556
25535
  valueNodeHasChildren: x,
25557
25536
  onValueNodeHasChildrenChange: k,
25558
25537
  contentId: wf(),
25559
- value: J,
25560
- onValueChange: D,
25538
+ value: z,
25539
+ onValueChange: V,
25561
25540
  open: O,
25562
25541
  onOpenChange: L,
25563
25542
  dir: $,
@@ -25588,12 +25567,12 @@ var _W = [" ", "Enter", "ArrowUp", "ArrowDown"], BW = [" ", "Enter"], Kn = "Sele
25588
25567
  tabIndex: -1,
25589
25568
  name: u,
25590
25569
  autoComplete: c,
25591
- value: J,
25592
- onChange: (Q) => D(Q.target.value),
25570
+ value: z,
25571
+ onChange: (Q) => V(Q.target.value),
25593
25572
  disabled: h,
25594
25573
  form: p,
25595
25574
  children: [
25596
- J === void 0 ? /* @__PURE__ */ l("option", { value: "" }) : null,
25575
+ z === void 0 ? /* @__PURE__ */ l("option", { value: "" }) : null,
25597
25576
  Array.from(rr)
25598
25577
  ]
25599
25578
  },
@@ -25712,7 +25691,7 @@ var ga = 10, [Mp, pn] = Z2(qn), SW = "SelectContentImpl", WW = /* @__PURE__ */ X
25712
25691
  avoidCollisions: m,
25713
25692
  //
25714
25693
  ..._
25715
- } = r, E = vn(qn, a), [B, x] = C.useState(null), [k, $] = C.useState(null), O = R0(e, (S) => x(S)), [L, J] = C.useState(null), [D, K] = C.useState(
25694
+ } = r, E = vn(qn, a), [B, x] = C.useState(null), [k, $] = C.useState(null), O = R0(e, (S) => x(S)), [L, z] = C.useState(null), [V, K] = C.useState(
25716
25695
  null
25717
25696
  ), j = ws(a), [rr, Y] = C.useState(!1), or = C.useRef(!1);
25718
25697
  C.useEffect(() => {
@@ -25720,9 +25699,9 @@ var ga = 10, [Mp, pn] = Z2(qn), SW = "SelectContentImpl", WW = /* @__PURE__ */ X
25720
25699
  }, [B]), kp();
25721
25700
  const Q = C.useCallback(
25722
25701
  (S) => {
25723
- const [z, ...ar] = j().map((T) => T.ref.current), [q] = ar.slice(-1), er = document.activeElement;
25702
+ const [J, ...ar] = j().map((T) => T.ref.current), [q] = ar.slice(-1), er = document.activeElement;
25724
25703
  for (const T of S)
25725
- if (T === er || (T == null || T.scrollIntoView({ block: "nearest" }), T === z && k && (k.scrollTop = 0), T === q && k && (k.scrollTop = k.scrollHeight), T == null || T.focus(), document.activeElement !== er)) return;
25704
+ if (T === er || (T == null || T.scrollIntoView({ block: "nearest" }), T === J && k && (k.scrollTop = 0), T === q && k && (k.scrollTop = k.scrollHeight), T == null || T.focus(), document.activeElement !== er)) return;
25726
25705
  },
25727
25706
  [j, k]
25728
25707
  ), P = C.useCallback(
@@ -25736,17 +25715,17 @@ var ga = 10, [Mp, pn] = Z2(qn), SW = "SelectContentImpl", WW = /* @__PURE__ */ X
25736
25715
  C.useEffect(() => {
25737
25716
  if (B) {
25738
25717
  let S = { x: 0, y: 0 };
25739
- const z = (q) => {
25718
+ const J = (q) => {
25740
25719
  var er, T;
25741
25720
  S = {
25742
25721
  x: Math.abs(Math.round(q.pageX) - (((er = w.current) == null ? void 0 : er.x) ?? 0)),
25743
25722
  y: Math.abs(Math.round(q.pageY) - (((T = w.current) == null ? void 0 : T.y) ?? 0))
25744
25723
  };
25745
25724
  }, ar = (q) => {
25746
- S.x <= 10 && S.y <= 10 ? q.preventDefault() : B.contains(q.target) || v(!1), document.removeEventListener("pointermove", z), w.current = null;
25725
+ S.x <= 10 && S.y <= 10 ? q.preventDefault() : B.contains(q.target) || v(!1), document.removeEventListener("pointermove", J), w.current = null;
25747
25726
  };
25748
- return w.current !== null && (document.addEventListener("pointermove", z), document.addEventListener("pointerup", ar, { capture: !0, once: !0 })), () => {
25749
- document.removeEventListener("pointermove", z), document.removeEventListener("pointerup", ar, { capture: !0 });
25727
+ return w.current !== null && (document.addEventListener("pointermove", J), document.addEventListener("pointerup", ar, { capture: !0, once: !0 })), () => {
25728
+ document.removeEventListener("pointermove", J), document.removeEventListener("pointerup", ar, { capture: !0 });
25750
25729
  };
25751
25730
  }
25752
25731
  }, [B, v, w]), C.useEffect(() => {
@@ -25756,21 +25735,21 @@ var ga = 10, [Mp, pn] = Z2(qn), SW = "SelectContentImpl", WW = /* @__PURE__ */ X
25756
25735
  };
25757
25736
  }, [v]);
25758
25737
  const [g, y] = ig((S) => {
25759
- const z = j().filter((er) => !er.disabled), ar = z.find((er) => er.ref.current === document.activeElement), q = og(z, S, ar);
25738
+ const J = j().filter((er) => !er.disabled), ar = J.find((er) => er.ref.current === document.activeElement), q = og(J, S, ar);
25760
25739
  q && setTimeout(() => q.ref.current.focus());
25761
25740
  }), N = C.useCallback(
25762
- (S, z, ar) => {
25741
+ (S, J, ar) => {
25763
25742
  const q = !or.current && !ar;
25764
- (E.value !== void 0 && E.value === z || q) && (J(S), q && (or.current = !0));
25743
+ (E.value !== void 0 && E.value === J || q) && (z(S), q && (or.current = !0));
25765
25744
  },
25766
25745
  [E.value]
25767
25746
  ), R = C.useCallback(() => B == null ? void 0 : B.focus(), [B]), I = C.useCallback(
25768
- (S, z, ar) => {
25747
+ (S, J, ar) => {
25769
25748
  const q = !or.current && !ar;
25770
- (E.value !== void 0 && E.value === z || q) && K(S);
25749
+ (E.value !== void 0 && E.value === J || q) && K(S);
25771
25750
  },
25772
25751
  [E.value]
25773
- ), F = t === "popper" ? Ku : Xp, V = F === Ku ? {
25752
+ ), F = t === "popper" ? Ku : Xp, D = F === Ku ? {
25774
25753
  side: A,
25775
25754
  sideOffset: f,
25776
25755
  align: s,
@@ -25794,7 +25773,7 @@ var ga = 10, [Mp, pn] = Z2(qn), SW = "SelectContentImpl", WW = /* @__PURE__ */ X
25794
25773
  onItemLeave: R,
25795
25774
  itemTextRefCallback: I,
25796
25775
  focusSelectedItem: P,
25797
- selectedItemText: D,
25776
+ selectedItemText: V,
25798
25777
  position: t,
25799
25778
  isPositioned: rr,
25800
25779
  searchRef: g,
@@ -25807,8 +25786,8 @@ var ga = 10, [Mp, pn] = Z2(qn), SW = "SelectContentImpl", WW = /* @__PURE__ */ X
25807
25786
  S.preventDefault();
25808
25787
  },
25809
25788
  onUnmountAutoFocus: Mr(n, (S) => {
25810
- var z;
25811
- (z = E.trigger) == null || z.focus({ preventScroll: !0 }), S.preventDefault();
25789
+ var J;
25790
+ (J = E.trigger) == null || J.focus({ preventScroll: !0 }), S.preventDefault();
25812
25791
  }),
25813
25792
  children: /* @__PURE__ */ l(
25814
25793
  So,
@@ -25828,7 +25807,7 @@ var ga = 10, [Mp, pn] = Z2(qn), SW = "SelectContentImpl", WW = /* @__PURE__ */ X
25828
25807
  dir: E.dir,
25829
25808
  onContextMenu: (S) => S.preventDefault(),
25830
25809
  ..._,
25831
- ...V,
25810
+ ...D,
25832
25811
  onPlaced: () => Y(!0),
25833
25812
  ref: O,
25834
25813
  style: {
@@ -25840,8 +25819,8 @@ var ga = 10, [Mp, pn] = Z2(qn), SW = "SelectContentImpl", WW = /* @__PURE__ */ X
25840
25819
  ..._.style
25841
25820
  },
25842
25821
  onKeyDown: Mr(_.onKeyDown, (S) => {
25843
- const z = S.ctrlKey || S.altKey || S.metaKey;
25844
- if (S.key === "Tab" && S.preventDefault(), !z && S.key.length === 1 && y(S.key), ["ArrowUp", "ArrowDown", "Home", "End"].includes(S.key)) {
25822
+ const J = S.ctrlKey || S.altKey || S.metaKey;
25823
+ if (S.key === "Tab" && S.preventDefault(), !J && S.key.length === 1 && y(S.key), ["ArrowUp", "ArrowDown", "Home", "End"].includes(S.key)) {
25845
25824
  let q = j().filter((er) => !er.disabled).map((er) => er.ref.current);
25846
25825
  if (["ArrowUp", "End"].includes(S.key) && (q = q.slice().reverse()), ["ArrowUp", "ArrowDown"].includes(S.key)) {
25847
25826
  const er = S.target, T = q.indexOf(er);
@@ -25864,9 +25843,9 @@ Gp.displayName = SW;
25864
25843
  var TW = "SelectItemAlignedPosition", Xp = C.forwardRef((r, e) => {
25865
25844
  const { __scopeSelect: a, onPlaced: t, ...n } = r, i = vn(qn, a), o = pn(qn, a), [A, f] = C.useState(null), [s, u] = C.useState(null), c = R0(e, (O) => u(O)), h = ws(a), d = C.useRef(!1), p = C.useRef(!0), { viewport: b, selectedItem: m, selectedItemText: _, focusSelectedItem: E } = o, B = C.useCallback(() => {
25866
25845
  if (i.trigger && i.valueNode && A && s && b && m && _) {
25867
- const O = i.trigger.getBoundingClientRect(), L = s.getBoundingClientRect(), J = i.valueNode.getBoundingClientRect(), D = _.getBoundingClientRect();
25846
+ const O = i.trigger.getBoundingClientRect(), L = s.getBoundingClientRect(), z = i.valueNode.getBoundingClientRect(), V = _.getBoundingClientRect();
25868
25847
  if (i.dir !== "rtl") {
25869
- const er = D.left - L.left, T = J.left - er, fr = O.left - T, Zr = O.width + fr, Tr = Math.max(Zr, L.width), Fr = window.innerWidth - ga, Ir = pb(T, [
25848
+ const er = V.left - L.left, T = z.left - er, fr = O.left - T, Zr = O.width + fr, Tr = Math.max(Zr, L.width), Fr = window.innerWidth - ga, Ir = pb(T, [
25870
25849
  ga,
25871
25850
  // Prevents the content from going off the starting edge of the
25872
25851
  // viewport. It may still go off the ending edge, but this can be
@@ -25877,21 +25856,21 @@ var TW = "SelectItemAlignedPosition", Xp = C.forwardRef((r, e) => {
25877
25856
  ]);
25878
25857
  A.style.minWidth = Zr + "px", A.style.left = Ir + "px";
25879
25858
  } else {
25880
- const er = L.right - D.right, T = window.innerWidth - J.right - er, fr = window.innerWidth - O.right - T, Zr = O.width + fr, Tr = Math.max(Zr, L.width), Fr = window.innerWidth - ga, Ir = pb(T, [
25859
+ const er = L.right - V.right, T = window.innerWidth - z.right - er, fr = window.innerWidth - O.right - T, Zr = O.width + fr, Tr = Math.max(Zr, L.width), Fr = window.innerWidth - ga, Ir = pb(T, [
25881
25860
  ga,
25882
25861
  Math.max(ga, Fr - Tr)
25883
25862
  ]);
25884
25863
  A.style.minWidth = Zr + "px", A.style.right = Ir + "px";
25885
25864
  }
25886
- const K = h(), j = window.innerHeight - ga * 2, rr = b.scrollHeight, Y = window.getComputedStyle(s), or = parseInt(Y.borderTopWidth, 10), Q = parseInt(Y.paddingTop, 10), P = parseInt(Y.borderBottomWidth, 10), v = parseInt(Y.paddingBottom, 10), w = or + Q + rr + v + P, g = Math.min(m.offsetHeight * 5, w), y = window.getComputedStyle(b), N = parseInt(y.paddingTop, 10), R = parseInt(y.paddingBottom, 10), I = O.top + O.height / 2 - ga, F = j - I, V = m.offsetHeight / 2, S = m.offsetTop + V, z = or + Q + S, ar = w - z;
25887
- if (z <= I) {
25865
+ const K = h(), j = window.innerHeight - ga * 2, rr = b.scrollHeight, Y = window.getComputedStyle(s), or = parseInt(Y.borderTopWidth, 10), Q = parseInt(Y.paddingTop, 10), P = parseInt(Y.borderBottomWidth, 10), v = parseInt(Y.paddingBottom, 10), w = or + Q + rr + v + P, g = Math.min(m.offsetHeight * 5, w), y = window.getComputedStyle(b), N = parseInt(y.paddingTop, 10), R = parseInt(y.paddingBottom, 10), I = O.top + O.height / 2 - ga, F = j - I, D = m.offsetHeight / 2, S = m.offsetTop + D, J = or + Q + S, ar = w - J;
25866
+ if (J <= I) {
25888
25867
  const er = K.length > 0 && m === K[K.length - 1].ref.current;
25889
25868
  A.style.bottom = "0px";
25890
25869
  const T = s.clientHeight - b.offsetTop - b.offsetHeight, fr = Math.max(
25891
25870
  F,
25892
- V + // viewport might have padding bottom, include it to avoid a scrollable viewport
25871
+ D + // viewport might have padding bottom, include it to avoid a scrollable viewport
25893
25872
  (er ? R : 0) + T + P
25894
- ), Zr = z + fr;
25873
+ ), Zr = J + fr;
25895
25874
  A.style.height = Zr + "px";
25896
25875
  } else {
25897
25876
  const er = K.length > 0 && m === K[0].ref.current;
@@ -25899,9 +25878,9 @@ var TW = "SelectItemAlignedPosition", Xp = C.forwardRef((r, e) => {
25899
25878
  const fr = Math.max(
25900
25879
  I,
25901
25880
  or + b.offsetTop + // viewport might have padding top, include it to avoid a scrollable viewport
25902
- (er ? N : 0) + V
25881
+ (er ? N : 0) + D
25903
25882
  ) + ar;
25904
- A.style.height = fr + "px", b.scrollTop = z - I + b.offsetTop;
25883
+ A.style.height = fr + "px", b.scrollTop = J - I + b.offsetTop;
25905
25884
  }
25906
25885
  A.style.margin = `${ga}px 0`, A.style.minHeight = g + "px", A.style.maxHeight = j + "px", t == null || t(), requestAnimationFrame(() => d.current = !0);
25907
25886
  }
@@ -26365,7 +26344,7 @@ const Ri = ({ value: r, onValueChange: e, options: a, placeholder: t, name: n })
26365
26344
  /* @__PURE__ */ X(
26366
26345
  nd,
26367
26346
  {
26368
- className: Or(
26347
+ className: Vr(
26369
26348
  "flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1"
26370
26349
  ),
26371
26350
  children: [
@@ -26377,7 +26356,7 @@ const Ri = ({ value: r, onValueChange: e, options: a, placeholder: t, name: n })
26377
26356
  /* @__PURE__ */ l(ug, { children: /* @__PURE__ */ X(
26378
26357
  id,
26379
26358
  {
26380
- className: Or(
26359
+ className: Vr(
26381
26360
  "relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
26382
26361
  "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1"
26383
26362
  ),
@@ -26389,7 +26368,7 @@ const Ri = ({ value: r, onValueChange: e, options: a, placeholder: t, name: n })
26389
26368
  df,
26390
26369
  {
26391
26370
  value: b.value,
26392
- className: Or(
26371
+ className: Vr(
26393
26372
  "relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50"
26394
26373
  ),
26395
26374
  children: [
@@ -26403,7 +26382,7 @@ const Ri = ({ value: r, onValueChange: e, options: a, placeholder: t, name: n })
26403
26382
  df,
26404
26383
  {
26405
26384
  value: "other",
26406
- className: Or(
26385
+ className: Vr(
26407
26386
  "relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50"
26408
26387
  ),
26409
26388
  children: [
@@ -26466,65 +26445,65 @@ const Ri = ({ value: r, onValueChange: e, options: a, placeholder: t, name: n })
26466
26445
  /* @__PURE__ */ l(oi, { ...o, children: /* @__PURE__ */ X("form", { onSubmit: o.handleSubmit(A), className: "space-y-6", children: [
26467
26446
  /* @__PURE__ */ X("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: [
26468
26447
  /* @__PURE__ */ l(
26469
- Qr,
26448
+ Yr,
26470
26449
  {
26471
26450
  control: o.control,
26472
26451
  name: "street",
26473
- render: ({ field: f }) => /* @__PURE__ */ X(jr, { children: [
26452
+ render: ({ field: f }) => /* @__PURE__ */ X(Xr, { children: [
26474
26453
  /* @__PURE__ */ l(qr, { children: "Street" }),
26475
- /* @__PURE__ */ l(Lr, { children: /* @__PURE__ */ l(j0, { placeholder: "Enter street name", ...f }) }),
26476
- /* @__PURE__ */ l(Ur, {})
26454
+ /* @__PURE__ */ l(jr, { children: /* @__PURE__ */ l(j0, { placeholder: "Enter street name", ...f }) }),
26455
+ /* @__PURE__ */ l(Lr, {})
26477
26456
  ] })
26478
26457
  }
26479
26458
  ),
26480
26459
  /* @__PURE__ */ l(
26481
- Qr,
26460
+ Yr,
26482
26461
  {
26483
26462
  control: o.control,
26484
26463
  name: "number",
26485
- render: ({ field: f }) => /* @__PURE__ */ X(jr, { children: [
26464
+ render: ({ field: f }) => /* @__PURE__ */ X(Xr, { children: [
26486
26465
  /* @__PURE__ */ l(qr, { children: "Suite / Unit Number" }),
26487
- /* @__PURE__ */ l(Lr, { children: /* @__PURE__ */ l(j0, { placeholder: "Enter suite / unit", ...f }) }),
26488
- /* @__PURE__ */ l(Ur, {})
26466
+ /* @__PURE__ */ l(jr, { children: /* @__PURE__ */ l(j0, { placeholder: "Enter suite / unit", ...f }) }),
26467
+ /* @__PURE__ */ l(Lr, {})
26489
26468
  ] })
26490
26469
  }
26491
26470
  )
26492
26471
  ] }),
26493
26472
  /* @__PURE__ */ X("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: [
26494
26473
  /* @__PURE__ */ l(
26495
- Qr,
26474
+ Yr,
26496
26475
  {
26497
26476
  control: o.control,
26498
26477
  name: "city",
26499
- render: ({ field: f }) => /* @__PURE__ */ X(jr, { children: [
26478
+ render: ({ field: f }) => /* @__PURE__ */ X(Xr, { children: [
26500
26479
  /* @__PURE__ */ l(qr, { children: "City" }),
26501
- /* @__PURE__ */ l(Lr, { children: /* @__PURE__ */ l(j0, { placeholder: "Enter city", ...f }) }),
26502
- /* @__PURE__ */ l(Ur, {})
26480
+ /* @__PURE__ */ l(jr, { children: /* @__PURE__ */ l(j0, { placeholder: "Enter city", ...f }) }),
26481
+ /* @__PURE__ */ l(Lr, {})
26503
26482
  ] })
26504
26483
  }
26505
26484
  ),
26506
26485
  /* @__PURE__ */ l(
26507
- Qr,
26486
+ Yr,
26508
26487
  {
26509
26488
  control: o.control,
26510
26489
  name: "state",
26511
- render: ({ field: f }) => /* @__PURE__ */ X(jr, { children: [
26490
+ render: ({ field: f }) => /* @__PURE__ */ X(Xr, { children: [
26512
26491
  /* @__PURE__ */ l(qr, { children: "State / Province" }),
26513
- /* @__PURE__ */ l(Lr, { children: /* @__PURE__ */ l(j0, { placeholder: "Enter state / province", ...f }) }),
26514
- /* @__PURE__ */ l(Ur, {})
26492
+ /* @__PURE__ */ l(jr, { children: /* @__PURE__ */ l(j0, { placeholder: "Enter state / province", ...f }) }),
26493
+ /* @__PURE__ */ l(Lr, {})
26515
26494
  ] })
26516
26495
  }
26517
26496
  )
26518
26497
  ] }),
26519
26498
  /* @__PURE__ */ X("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: [
26520
26499
  /* @__PURE__ */ l(
26521
- Qr,
26500
+ Yr,
26522
26501
  {
26523
26502
  control: o.control,
26524
26503
  name: "address_country",
26525
- render: ({ field: f }) => /* @__PURE__ */ X(jr, { children: [
26504
+ render: ({ field: f }) => /* @__PURE__ */ X(Xr, { children: [
26526
26505
  /* @__PURE__ */ l(qr, { children: "Country" }),
26527
- /* @__PURE__ */ l(Lr, { children: /* @__PURE__ */ l(
26506
+ /* @__PURE__ */ l(jr, { children: /* @__PURE__ */ l(
26528
26507
  Ri,
26529
26508
  {
26530
26509
  value: f.value,
@@ -26534,19 +26513,19 @@ const Ri = ({ value: r, onValueChange: e, options: a, placeholder: t, name: n })
26534
26513
  name: "address_country"
26535
26514
  }
26536
26515
  ) }),
26537
- /* @__PURE__ */ l(Ur, {})
26516
+ /* @__PURE__ */ l(Lr, {})
26538
26517
  ] })
26539
26518
  }
26540
26519
  ),
26541
26520
  /* @__PURE__ */ l(
26542
- Qr,
26521
+ Yr,
26543
26522
  {
26544
26523
  control: o.control,
26545
26524
  name: "postal_code",
26546
- render: ({ field: f }) => /* @__PURE__ */ X(jr, { children: [
26525
+ render: ({ field: f }) => /* @__PURE__ */ X(Xr, { children: [
26547
26526
  /* @__PURE__ */ l(qr, { children: "Zip Code / Postal Code" }),
26548
- /* @__PURE__ */ l(Lr, { children: /* @__PURE__ */ l(j0, { placeholder: "Enter zip/postal code", ...f }) }),
26549
- /* @__PURE__ */ l(Ur, {})
26527
+ /* @__PURE__ */ l(jr, { children: /* @__PURE__ */ l(j0, { placeholder: "Enter zip/postal code", ...f }) }),
26528
+ /* @__PURE__ */ l(Lr, {})
26550
26529
  ] })
26551
26530
  }
26552
26531
  )
@@ -26678,14 +26657,14 @@ const Ri = ({ value: r, onValueChange: e, options: a, placeholder: t, name: n })
26678
26657
  address_country: "",
26679
26658
  state: ""
26680
26659
  }), $ = vf(() => {
26681
- const D = [];
26682
- return f != null && f.hide_name_step || D.push("name"), f != null && f.hide_document_selection_step || D.push("document-selection"), D.push("id-front", "id-back", "pre-selfie", "selfie", "address"), D;
26683
- }, [f]), O = () => /* @__PURE__ */ l("div", { className: "flex justify-center space-x-2", children: $.map((D, K) => /* @__PURE__ */ l(
26660
+ const V = [];
26661
+ return f != null && f.hide_name_step || V.push("name"), f != null && f.hide_document_selection_step || V.push("document-selection"), V.push("id-front", "id-back", "pre-selfie", "selfie", "address"), V;
26662
+ }, [f]), O = () => /* @__PURE__ */ l("div", { className: "flex justify-center space-x-2", children: $.map((V, K) => /* @__PURE__ */ l(
26684
26663
  "div",
26685
26664
  {
26686
26665
  className: `w-3 h-3 rounded-full ${$.indexOf(h) >= K ? "bg-primary" : "bg-muted"}`
26687
26666
  },
26688
- D
26667
+ V
26689
26668
  )) });
26690
26669
  if (ge(() => {
26691
26670
  (async () => {
@@ -26723,9 +26702,9 @@ const Ri = ({ value: r, onValueChange: e, options: a, placeholder: t, name: n })
26723
26702
  address_country: ((or = N.personal_address) == null ? void 0 : or.address_country) || "",
26724
26703
  state: ((Q = N.personal_address) == null ? void 0 : Q.state) || ""
26725
26704
  });
26726
- const I = !!((P = N.full_name) != null && P.trim()), F = !!((v = N.phone) != null && v.trim()), V = !!((w = N.email) != null && w.trim()), S = !!N.document_type, z = !!N.id_photo, ar = N.document_type === "passport" ? !0 : !!N.id_photo_back, q = !!N.selfie_photo, er = !!((g = N.personal_address) != null && g.street);
26705
+ const I = !!((P = N.full_name) != null && P.trim()), F = !!((v = N.phone) != null && v.trim()), D = !!((w = N.email) != null && w.trim()), S = !!N.document_type, J = !!N.id_photo, ar = N.document_type === "passport" ? !0 : !!N.id_photo_back, q = !!N.selfie_photo, er = !!((g = N.personal_address) != null && g.street);
26727
26706
  let T = "landing";
26728
- !I || !F || !V ? T = "name" : S ? z ? ar ? q ? er ? T = "verify" : T = "address" : T = "pre-selfie" : T = "id-back" : T = "id-front" : T = "document-selection", d(T);
26707
+ !I || !F || !D ? T = "name" : S ? J ? ar ? q ? er ? T = "verify" : T = "address" : T = "pre-selfie" : T = "id-back" : T = "id-front" : T = "document-selection", d(T);
26729
26708
  } catch (y) {
26730
26709
  console.error("Resume failed", y);
26731
26710
  } finally {
@@ -26751,7 +26730,7 @@ const Ri = ({ value: r, onValueChange: e, options: a, placeholder: t, name: n })
26751
26730
  email: m.email,
26752
26731
  phone: m.phone,
26753
26732
  renderProgress: O,
26754
- onContinue: async ({ fullName: D, email: K, phone: j }) => {
26733
+ onContinue: async ({ fullName: V, email: K, phone: j }) => {
26755
26734
  let rr = p;
26756
26735
  rr || (rr = (await y0.post(
26757
26736
  `${r}/api/kyc`,
@@ -26759,10 +26738,10 @@ const Ri = ({ value: r, onValueChange: e, options: a, placeholder: t, name: n })
26759
26738
  { headers: { "X-API-Key": e } }
26760
26739
  )).data.id, b(rr)), await ue(
26761
26740
  "personal_details",
26762
- { full_name: D, email: K, phone: j },
26741
+ { full_name: V, email: K, phone: j },
26763
26742
  {},
26764
26743
  { ...L, id: rr }
26765
- ) && (_((or) => ({ ...or, full_name: D, email: K, phone: j })), d("document-selection"));
26744
+ ) && (_((or) => ({ ...or, full_name: V, email: K, phone: j })), d("document-selection"));
26766
26745
  }
26767
26746
  }
26768
26747
  );
@@ -26771,9 +26750,9 @@ const Ri = ({ value: r, onValueChange: e, options: a, placeholder: t, name: n })
26771
26750
  wm,
26772
26751
  {
26773
26752
  selectedDocumentType: E,
26774
- onDocumentTypeChange: async (D) => {
26775
- B(D);
26776
- const K = xb[D];
26753
+ onDocumentTypeChange: async (V) => {
26754
+ B(V);
26755
+ const K = xb[V];
26777
26756
  await ue(
26778
26757
  "personal_details",
26779
26758
  { document_type: K, id_photo: null, id_photo_back: null },
@@ -26795,13 +26774,13 @@ const Ri = ({ value: r, onValueChange: e, options: a, placeholder: t, name: n })
26795
26774
  frameType: "rectangular",
26796
26775
  documentTypeId: E,
26797
26776
  currentStep: h,
26798
- onRetake: () => _((D) => ({ ...D, id_photo: null })),
26799
- onConfirm: async (D) => {
26777
+ onRetake: () => _((V) => ({ ...V, id_photo: null })),
26778
+ onConfirm: async (V) => {
26800
26779
  const K = xb[E];
26801
- _((rr) => ({ ...rr, id_photo: D, document_type: K })), await ue(
26780
+ _((rr) => ({ ...rr, id_photo: V, document_type: K })), await ue(
26802
26781
  "personal_details",
26803
26782
  { document_type: K },
26804
- { id_photo: D },
26783
+ { id_photo: V },
26805
26784
  L
26806
26785
  ) ? d(E === "passport" ? "pre-selfie" : "id-back") : A({
26807
26786
  title: "Upload Failed",
@@ -26821,9 +26800,9 @@ const Ri = ({ value: r, onValueChange: e, options: a, placeholder: t, name: n })
26821
26800
  frameType: "rectangular",
26822
26801
  documentTypeId: E,
26823
26802
  currentStep: h,
26824
- onRetake: () => _((D) => ({ ...D, id_photo_back: null })),
26825
- onConfirm: async (D) => {
26826
- _((j) => ({ ...j, id_photo_back: D })), await ue("personal_details", {}, { id_photo_back: D }, L) ? d("pre-selfie") : A({
26803
+ onRetake: () => _((V) => ({ ...V, id_photo_back: null })),
26804
+ onConfirm: async (V) => {
26805
+ _((j) => ({ ...j, id_photo_back: V })), await ue("personal_details", {}, { id_photo_back: V }, L) ? d("pre-selfie") : A({
26827
26806
  title: "Upload Failed",
26828
26807
  description: "Please check your internet connection",
26829
26808
  variant: "destructive"
@@ -26848,9 +26827,9 @@ const Ri = ({ value: r, onValueChange: e, options: a, placeholder: t, name: n })
26848
26827
  description: "Place your face inside the frame.",
26849
26828
  frameType: "circular",
26850
26829
  currentStep: h,
26851
- onRetake: () => _((D) => ({ ...D, selfie_photo: null })),
26852
- onConfirm: async (D) => {
26853
- _((j) => ({ ...j, selfie_photo: D })), await ue("personal_details", {}, { selfie_photo: D }, L) ? d("address") : A({
26830
+ onRetake: () => _((V) => ({ ...V, selfie_photo: null })),
26831
+ onConfirm: async (V) => {
26832
+ _((j) => ({ ...j, selfie_photo: V })), await ue("personal_details", {}, { selfie_photo: V }, L) ? d("address") : A({
26854
26833
  title: "Upload Failed",
26855
26834
  description: "Please check your internet connection",
26856
26835
  variant: "destructive"
@@ -26866,9 +26845,9 @@ const Ri = ({ value: r, onValueChange: e, options: a, placeholder: t, name: n })
26866
26845
  data: x,
26867
26846
  isBusinessAddress: !1,
26868
26847
  renderProgress: O,
26869
- onDataChange: (D) => k((K) => ({ ...K, ...D })),
26870
- onContinue: async (D) => {
26871
- await ue("personal_address", D, {}, L) && d("verify");
26848
+ onDataChange: (V) => k((K) => ({ ...K, ...V })),
26849
+ onContinue: async (V) => {
26850
+ await ue("personal_address", V, {}, L) && d("verify");
26872
26851
  },
26873
26852
  onBack: () => d("selfie")
26874
26853
  }
@@ -26895,7 +26874,7 @@ const Ri = ({ value: r, onValueChange: e, options: a, placeholder: t, name: n })
26895
26874
  { status: "pending" },
26896
26875
  { headers: { "X-API-Key": e } }
26897
26876
  );
26898
- const D = {
26877
+ const V = {
26899
26878
  full_name: m.full_name || "",
26900
26879
  email: m.email || "",
26901
26880
  selfie_photo: m.selfie_photo,
@@ -26903,7 +26882,7 @@ const Ri = ({ value: r, onValueChange: e, options: a, placeholder: t, name: n })
26903
26882
  id_photo_back: m.id_photo_back ?? void 0,
26904
26883
  personal_address: x
26905
26884
  };
26906
- a(p, D), d("done");
26885
+ a(p, V), d("done");
26907
26886
  }
26908
26887
  }
26909
26888
  );
@@ -26998,18 +26977,18 @@ var pg = { exports: {} };
26998
26977
  ta[Ar] = u0;
26999
26978
  }
27000
26979
  function y() {
27001
- var xr, Ar, Cr, cr, wr, dr, vr, Gr, Hr, l0, ba, S0, _e, Bd;
27002
- for (o0 > q && (er = 1), z = 30 + (er - 1) / 3, S0 = ar, _e = 0, Bd = q, ba = q / (3 * er), l0 = ba / M | 0, Gr = de, dr = B0, vr = dr >> F0, 1 >= vr && (vr = 0), xr = 0; vr > xr; xr++)
26980
+ var xr, Ar, Cr, cr, wr, dr, vr, Gr, Qr, l0, ba, S0, _e, Bd;
26981
+ for (o0 > q && (er = 1), J = 30 + (er - 1) / 3, S0 = ar, _e = 0, Bd = q, ba = q / (3 * er), l0 = ba / M | 0, Gr = de, dr = B0, vr = dr >> F0, 1 >= vr && (vr = 0), xr = 0; vr > xr; xr++)
27003
26982
  nt[xr] = Gr * ((vr * vr - xr * xr) * Ce / (vr * vr));
27004
- for (Hr = o0 > q ? 3 : q % Zr !== 0 ? 3 * Zr : q % Tr !== 0 ? 3 * Tr : q % Fr !== 0 ? 3 * Fr : 3 * Ir, xr = 0; ba > xr; )
27005
- if (Cr = (255 & S0[_e + 0]) << Z, cr = (255 & S0[_e + 1]) << Z, wr = (255 & S0[_e + 2]) << Z, Ar = S(Cr, cr, wr), V(Gr, Ar, Cr, cr, wr), vr !== 0 && F(vr, Ar, Cr, cr, wr), _e += Hr, _e >= Bd && (_e -= q), xr++, l0 === 0 && (l0 = 1), xr % l0 === 0)
27006
- for (Gr -= Gr / z, dr -= dr / aa, vr = dr >> F0, 1 >= vr && (vr = 0), Ar = 0; vr > Ar; Ar++)
26983
+ for (Qr = o0 > q ? 3 : q % Zr !== 0 ? 3 * Zr : q % Tr !== 0 ? 3 * Tr : q % Fr !== 0 ? 3 * Fr : 3 * Ir, xr = 0; ba > xr; )
26984
+ if (Cr = (255 & S0[_e + 0]) << Z, cr = (255 & S0[_e + 1]) << Z, wr = (255 & S0[_e + 2]) << Z, Ar = S(Cr, cr, wr), D(Gr, Ar, Cr, cr, wr), vr !== 0 && F(vr, Ar, Cr, cr, wr), _e += Qr, _e >= Bd && (_e -= q), xr++, l0 === 0 && (l0 = 1), xr % l0 === 0)
26985
+ for (Gr -= Gr / J, dr -= dr / aa, vr = dr >> F0, 1 >= vr && (vr = 0), Ar = 0; vr > Ar; Ar++)
27007
26986
  nt[Ar] = Gr * ((vr * vr - Ar * Ar) * Ce / (vr * vr));
27008
26987
  }
27009
26988
  function N(xr, Ar, Cr) {
27010
- var cr, wr, dr, vr, Gr, Hr, l0;
26989
+ var cr, wr, dr, vr, Gr, Qr, l0;
27011
26990
  for (Gr = 1e3, l0 = -1, cr = ta[Ar], wr = cr - 1; fr > cr || wr >= 0; )
27012
- fr > cr && (Hr = T[cr], dr = Hr[1] - Ar, dr >= Gr ? cr = fr : (cr++, 0 > dr && (dr = -dr), vr = Hr[0] - xr, 0 > vr && (vr = -vr), dr += vr, Gr > dr && (vr = Hr[2] - Cr, 0 > vr && (vr = -vr), dr += vr, Gr > dr && (Gr = dr, l0 = Hr[3])))), wr >= 0 && (Hr = T[wr], dr = Ar - Hr[1], dr >= Gr ? wr = -1 : (wr--, 0 > dr && (dr = -dr), vr = Hr[0] - xr, 0 > vr && (vr = -vr), dr += vr, Gr > dr && (vr = Hr[2] - Cr, 0 > vr && (vr = -vr), dr += vr, Gr > dr && (Gr = dr, l0 = Hr[3]))));
26991
+ fr > cr && (Qr = T[cr], dr = Qr[1] - Ar, dr >= Gr ? cr = fr : (cr++, 0 > dr && (dr = -dr), vr = Qr[0] - xr, 0 > vr && (vr = -vr), dr += vr, Gr > dr && (vr = Qr[2] - Cr, 0 > vr && (vr = -vr), dr += vr, Gr > dr && (Gr = dr, l0 = Qr[3])))), wr >= 0 && (Qr = T[wr], dr = Ar - Qr[1], dr >= Gr ? wr = -1 : (wr--, 0 > dr && (dr = -dr), vr = Qr[0] - xr, 0 > vr && (vr = -vr), dr += vr, Gr > dr && (vr = Qr[2] - Cr, 0 > vr && (vr = -vr), dr += vr, Gr > dr && (Gr = dr, l0 = Qr[3]))));
27013
26992
  return l0;
27014
26993
  }
27015
26994
  function R() {
@@ -27021,9 +27000,9 @@ var pg = { exports: {} };
27021
27000
  T[xr][0] >>= Z, T[xr][1] >>= Z, T[xr][2] >>= Z, T[xr][3] = xr;
27022
27001
  }
27023
27002
  function F(xr, Ar, Cr, cr, wr) {
27024
- var dr, vr, Gr, Hr, l0, ba, S0;
27025
- for (Gr = Ar - xr, -1 > Gr && (Gr = -1), Hr = Ar + xr, Hr > fr && (Hr = fr), dr = Ar + 1, vr = Ar - 1, ba = 1; Hr > dr || vr > Gr; ) {
27026
- if (l0 = nt[ba++], Hr > dr) {
27003
+ var dr, vr, Gr, Qr, l0, ba, S0;
27004
+ for (Gr = Ar - xr, -1 > Gr && (Gr = -1), Qr = Ar + xr, Qr > fr && (Qr = fr), dr = Ar + 1, vr = Ar - 1, ba = 1; Qr > dr || vr > Gr; ) {
27005
+ if (l0 = nt[ba++], Qr > dr) {
27027
27006
  S0 = T[dr++];
27028
27007
  try {
27029
27008
  S0[0] -= l0 * (S0[0] - Cr) / he | 0, S0[1] -= l0 * (S0[1] - cr) / he | 0, S0[2] -= l0 * (S0[2] - wr) / he | 0;
@@ -27039,17 +27018,17 @@ var pg = { exports: {} };
27039
27018
  }
27040
27019
  }
27041
27020
  }
27042
- function V(xr, Ar, Cr, cr, wr) {
27021
+ function D(xr, Ar, Cr, cr, wr) {
27043
27022
  var dr = T[Ar], vr = xr / de;
27044
27023
  dr[0] -= vr * (dr[0] - Cr) | 0, dr[1] -= vr * (dr[1] - cr) | 0, dr[2] -= vr * (dr[2] - wr) | 0;
27045
27024
  }
27046
27025
  function S(xr, Ar, Cr) {
27047
- var cr, wr, dr, vr, Gr, Hr, l0, ba, S0, _e;
27048
- for (ba = 2147483647, S0 = ba, Hr = -1, l0 = Hr, cr = 0; fr > cr; cr++)
27049
- _e = T[cr], wr = _e[0] - xr, 0 > wr && (wr = -wr), dr = _e[1] - Ar, 0 > dr && (dr = -dr), wr += dr, dr = _e[2] - Cr, 0 > dr && (dr = -dr), wr += dr, ba > wr && (ba = wr, Hr = cr), vr = wr - (ha[cr] >> U - Z), S0 > vr && (S0 = vr, l0 = cr), Gr = Ta[cr] >> tr, Ta[cr] -= Gr, ha[cr] += Gr << ir;
27050
- return Ta[Hr] += lr, ha[Hr] -= Wr, l0;
27026
+ var cr, wr, dr, vr, Gr, Qr, l0, ba, S0, _e;
27027
+ for (ba = 2147483647, S0 = ba, Qr = -1, l0 = Qr, cr = 0; fr > cr; cr++)
27028
+ _e = T[cr], wr = _e[0] - xr, 0 > wr && (wr = -wr), dr = _e[1] - Ar, 0 > dr && (dr = -dr), wr += dr, dr = _e[2] - Cr, 0 > dr && (dr = -dr), wr += dr, ba > wr && (ba = wr, Qr = cr), vr = wr - (ha[cr] >> U - Z), S0 > vr && (S0 = vr, l0 = cr), Gr = Ta[cr] >> tr, Ta[cr] -= Gr, ha[cr] += Gr << ir;
27029
+ return Ta[Qr] += lr, ha[Qr] -= Wr, l0;
27051
27030
  }
27052
- var z, ar, q, er, T, fr = 256, Zr = 499, Tr = 491, Fr = 487, Ir = 503, o0 = 3 * Ir, u0 = fr - 1, Z = 4, M = 100, U = 16, nr = 1 << U, ir = 10, tr = 10, lr = nr >> tr, Wr = nr << ir - tr, Xr = fr >> 3, F0 = 6, ne = 1 << F0, B0 = Xr * ne, aa = 30, Oe = 10, de = 1 << Oe, tt = 8, Ce = 1 << tt, yn = Oe + tt, he = 1 << yn, ta = [], ha = [], Ta = [], nt = [];
27031
+ var J, ar, q, er, T, fr = 256, Zr = 499, Tr = 491, Fr = 487, Ir = 503, o0 = 3 * Ir, u0 = fr - 1, Z = 4, M = 100, U = 16, nr = 1 << U, ir = 10, tr = 10, lr = nr >> tr, Wr = nr << ir - tr, Ur = fr >> 3, F0 = 6, ne = 1 << F0, B0 = Ur * ne, aa = 30, Oe = 10, de = 1 << Oe, tt = 8, Ce = 1 << tt, yn = Oe + tt, he = 1 << yn, ta = [], ha = [], Ta = [], nt = [];
27053
27032
  v.apply(this, arguments);
27054
27033
  var se = {};
27055
27034
  return se.map = N, se.process = R, se;
@@ -27075,7 +27054,7 @@ var pg = { exports: {} };
27075
27054
  }
27076
27055
  return y;
27077
27056
  }, processFrameWithQuantizer: function(g, y, N, R) {
27078
- for (var I = this.dataToRGB(g, y, N), F = new u(I, I.length, R), V = F.process(), S = new Uint32Array(this.componentizedPaletteToArray(V)), z = y * N, ar = new Uint8Array(z), q = 0, er = 0; z > er; er++) {
27057
+ for (var I = this.dataToRGB(g, y, N), F = new u(I, I.length, R), D = F.process(), S = new Uint32Array(this.componentizedPaletteToArray(D)), J = y * N, ar = new Uint8Array(J), q = 0, er = 0; J > er; er++) {
27079
27058
  var T = I[q++], fr = I[q++], Zr = I[q++];
27080
27059
  ar[er] = F.map(T, fr, Zr);
27081
27060
  }
@@ -27106,11 +27085,11 @@ var pg = { exports: {} };
27106
27085
  var Fr = er++, Ir = 1 << T, o0 = Ir - 1, u0 = Ir + 1, Z = u0 + 1, M = T + 1, U = 0, nr = 0, ir = fr[0] & o0, tr = {};
27107
27086
  Tr(Ir);
27108
27087
  for (var lr = 1, Wr = fr.length; Wr > lr; ++lr) {
27109
- var Xr = fr[lr] & o0, F0 = ir << 8 | Xr, ne = tr[F0];
27088
+ var Ur = fr[lr] & o0, F0 = ir << 8 | Ur, ne = tr[F0];
27110
27089
  if (ne === i) {
27111
27090
  for (nr |= ir << U, U += M; U >= 8; )
27112
27091
  q[er++] = 255 & nr, nr >>= 8, U -= 8, er === Fr + 256 && (q[Fr] = 255, Fr = er++);
27113
- Z === 4096 ? (Tr(Ir), Z = u0 + 1, M = T + 1, tr = {}) : (Z >= 1 << M && ++M, tr[F0] = Z++), ir = Xr;
27092
+ Z === 4096 ? (Tr(Ir), Z = u0 + 1, M = T + 1, tr = {}) : (Z >= 1 << M && ++M, tr[F0] = Z++), ir = Ur;
27114
27093
  } else
27115
27094
  ir = ne;
27116
27095
  }
@@ -27118,12 +27097,12 @@ var pg = { exports: {} };
27118
27097
  }
27119
27098
  var I = 0;
27120
27099
  y = y === i ? {} : y;
27121
- var F = y.loop === i ? null : y.loop, V = y.palette === i ? null : y.palette;
27100
+ var F = y.loop === i ? null : y.loop, D = y.palette === i ? null : y.palette;
27122
27101
  if (0 >= w || 0 >= g || w > 65535 || g > 65535)
27123
27102
  throw "Width/Height invalid.";
27124
27103
  v[I++] = 71, v[I++] = 73, v[I++] = 70, v[I++] = 56, v[I++] = 57, v[I++] = 97;
27125
- var S = 0, z = 0;
27126
- if (v[I++] = 255 & w, v[I++] = w >> 8 & 255, v[I++] = 255 & g, v[I++] = g >> 8 & 255, v[I++] = (V !== null ? 128 : 0) | S, v[I++] = z, v[I++] = 0, F !== null) {
27104
+ var S = 0, J = 0;
27105
+ if (v[I++] = 255 & w, v[I++] = w >> 8 & 255, v[I++] = 255 & g, v[I++] = g >> 8 & 255, v[I++] = (D !== null ? 128 : 0) | S, v[I++] = J, v[I++] = 0, F !== null) {
27127
27106
  if (0 > F || F > 65535)
27128
27107
  throw "Loop count invalid.";
27129
27108
  v[I++] = 33, v[I++] = 255, v[I++] = 11, v[I++] = 78, v[I++] = 69, v[I++] = 84, v[I++] = 83, v[I++] = 67, v[I++] = 65, v[I++] = 80, v[I++] = 69, v[I++] = 50, v[I++] = 46, v[I++] = 48, v[I++] = 3, v[I++] = 1, v[I++] = 255 & F, v[I++] = F >> 8 & 255, v[I++] = 0;
@@ -27137,7 +27116,7 @@ var pg = { exports: {} };
27137
27116
  if (Zr.length < T * fr)
27138
27117
  throw "Not enough pixels for the frame size.";
27139
27118
  var Fr = !0, Ir = Tr.palette;
27140
- if ((Ir === i || Ir === null) && (Fr = !1, Ir = V), Ir === i || Ir === null)
27119
+ if ((Ir === i || Ir === null) && (Fr = !1, Ir = D), Ir === i || Ir === null)
27141
27120
  throw "Must supply either a local or global palette.";
27142
27121
  for (var o0 = N(Ir), u0 = 0; o0 >>= 1; )
27143
27122
  ++u0;
@@ -27165,29 +27144,29 @@ var pg = { exports: {} };
27165
27144
  }
27166
27145
  function p() {
27167
27146
  function v() {
27168
- k.each(V, function(q, er) {
27147
+ k.each(D, function(q, er) {
27169
27148
  er && (er.text ? ar.addFrame(er.img, N, er.text) : ar.addFrame(er, N));
27170
27149
  }), d(ar, g);
27171
27150
  }
27172
- var w = arguments.length > 0 && arguments[0] !== i ? arguments[0] : {}, g = w.callback, y = w.images, N = w.options, R = w.imagesLength, I = { getUserMedia: !0, "window.URL": !0 }, F = O.validate(I), V = [], S = 0, z = void 0, ar = void 0;
27151
+ var w = arguments.length > 0 && arguments[0] !== i ? arguments[0] : {}, g = w.callback, y = w.images, N = w.options, R = w.imagesLength, I = { getUserMedia: !0, "window.URL": !0 }, F = O.validate(I), D = [], S = 0, J = void 0, ar = void 0;
27173
27152
  return F.error ? g(F) : (ar = new rr(N), k.each(y, function(q, er) {
27174
27153
  var T = er;
27175
- er.src && (T = T.src), k.isElement(T) ? (N.crossOrigin && (T.crossOrigin = N.crossOrigin), V[q] = T, S += 1, S === R && v()) : k.isString(T) && (z = new Image(), N.crossOrigin && (z.crossOrigin = N.crossOrigin), function(fr) {
27154
+ er.src && (T = T.src), k.isElement(T) ? (N.crossOrigin && (T.crossOrigin = N.crossOrigin), D[q] = T, S += 1, S === R && v()) : k.isString(T) && (J = new Image(), N.crossOrigin && (J.crossOrigin = N.crossOrigin), function(fr) {
27176
27155
  er.text && (fr.text = er.text), fr.onerror = function() {
27177
27156
  var Zr = void 0;
27178
27157
  return --R, R === 0 ? (Zr = {}, Zr.error = "None of the requested images was capable of being retrieved", g(Zr)) : void 0;
27179
27158
  }, fr.onload = function() {
27180
- V[q] = er.text ? { img: fr, text: fr.text } : fr, S += 1, S === R && v(), k.removeElement(fr);
27159
+ D[q] = er.text ? { img: fr, text: fr.text } : fr, S += 1, S === R && v(), k.removeElement(fr);
27181
27160
  }, fr.src = T;
27182
- }(z), k.setCSSAttr(z, { position: "fixed", opacity: "0" }), t.body.appendChild(z));
27161
+ }(J), k.setCSSAttr(J, { position: "fixed", opacity: "0" }), t.body.appendChild(J));
27183
27162
  }), void 0);
27184
27163
  }
27185
27164
  function b(v) {
27186
27165
  v = k.isObject(v) ? v : {}, Q.stopVideoStreaming(v);
27187
27166
  }
27188
27167
  function m(v, w) {
27189
- var g = v.options || {}, y = g.images, N = g.video, R = Number(g.gifWidth), I = Number(g.gifHeight), F = (Number(g.numFrames), v.cameraStream), V = v.videoElement, S = v.videoWidth, z = v.videoHeight, ar = or.getCropDimensions({ videoWidth: S, videoHeight: z, gifHeight: I, gifWidth: R }), q = w;
27190
- g.crop = ar, g.videoElement = V, g.videoWidth = S, g.videoHeight = z, g.cameraStream = F, k.isElement(V) && (V.width = R + ar.width, V.height = I + ar.height, g.webcamVideoElement || (k.setCSSAttr(V, { position: "fixed", opacity: "0" }), t.body.appendChild(V)), V.play(), or.getGIF(g, function(er) {
27168
+ var g = v.options || {}, y = g.images, N = g.video, R = Number(g.gifWidth), I = Number(g.gifHeight), F = (Number(g.numFrames), v.cameraStream), D = v.videoElement, S = v.videoWidth, J = v.videoHeight, ar = or.getCropDimensions({ videoWidth: S, videoHeight: J, gifHeight: I, gifWidth: R }), q = w;
27169
+ g.crop = ar, g.videoElement = D, g.videoWidth = S, g.videoHeight = J, g.cameraStream = F, k.isElement(D) && (D.width = R + ar.width, D.height = I + ar.height, g.webcamVideoElement || (k.setCSSAttr(D, { position: "fixed", opacity: "0" }), t.body.appendChild(D)), D.play(), or.getGIF(g, function(er) {
27191
27170
  y && y.length || N && N.length || b(er), q(er);
27192
27171
  }));
27193
27172
  }
@@ -27199,11 +27178,11 @@ var pg = { exports: {} };
27199
27178
  if (F = g.src, I = k.getExtension(F), !k.isSupported.videoCodecs[I])
27200
27179
  return w(O.messages.videoCodecs);
27201
27180
  } else
27202
- k.isArray(g) && k.each(g, function(V, S) {
27181
+ k.isArray(g) && k.each(g, function(D, S) {
27203
27182
  return I = S instanceof Blob ? S.type.substr(S.type.lastIndexOf("/") + 1, S.length) : S.substr(S.lastIndexOf(".") + 1, S.length), k.isSupported.videoCodecs[I] ? (g = S, !1) : void 0;
27204
27183
  });
27205
- Q.startStreaming({ completed: function(V) {
27206
- V.options = y || {}, m(V, w);
27184
+ Q.startStreaming({ completed: function(D) {
27185
+ D.options = y || {}, m(D, w);
27207
27186
  }, existingVideo: g, crossOrigin: y.crossOrigin, options: y });
27208
27187
  }
27209
27188
  function E() {
@@ -27217,13 +27196,13 @@ var pg = { exports: {} };
27217
27196
  }
27218
27197
  function B(v, w) {
27219
27198
  if (w = k.isFunction(v) ? v : w, v = k.isObject(v) ? v : {}, k.isFunction(w)) {
27220
- var g = k.mergeOptions(D, v) || {}, y = v.cameraStream, N = g.images, R = N ? N.length : 0, I = g.video, F = g.webcamVideoElement;
27199
+ var g = k.mergeOptions(V, v) || {}, y = v.cameraStream, N = g.images, R = N ? N.length : 0, I = g.video, F = g.webcamVideoElement;
27221
27200
  g = k.mergeOptions(g, { gifWidth: Math.floor(g.gifWidth), gifHeight: Math.floor(g.gifHeight) }), R ? p({ images: N, imagesLength: R, callback: w, options: g }) : I ? _({ existingVideo: I, callback: w, options: g }) : E({ lastCameraStream: y, callback: w, webcamVideoElement: F, options: g });
27222
27201
  }
27223
27202
  }
27224
27203
  function x(v, w) {
27225
27204
  if (w = k.isFunction(v) ? v : w, v = k.isObject(v) ? v : {}, k.isFunction(w)) {
27226
- var g = k.mergeOptions(D, v), y = k.mergeOptions(g, { interval: 0.1, numFrames: 1, gifWidth: Math.floor(g.gifWidth), gifHeight: Math.floor(g.gifHeight) });
27205
+ var g = k.mergeOptions(V, v), y = k.mergeOptions(g, { interval: 0.1, numFrames: 1, gifWidth: Math.floor(g.gifWidth), gifHeight: Math.floor(g.gifHeight) });
27227
27206
  B(y, w);
27228
27207
  }
27229
27208
  }
@@ -27234,14 +27213,14 @@ var pg = { exports: {} };
27234
27213
  if (v = v || k.noop, w = w || 0, !k.requestAnimFrame)
27235
27214
  return setTimeout(v, w);
27236
27215
  var g = (/* @__PURE__ */ new Date()).getTime(), y = new Object(), N = k.requestAnimFrame, R = function I() {
27237
- var F = (/* @__PURE__ */ new Date()).getTime(), V = F - g;
27238
- V >= w ? v.call() : y.value = N(I);
27216
+ var F = (/* @__PURE__ */ new Date()).getTime(), D = F - g;
27217
+ D >= w ? v.call() : y.value = N(I);
27239
27218
  };
27240
27219
  return y.value = N(R), y;
27241
27220
  }, Blob: a.Blob || a.BlobBuilder || a.WebKitBlobBuilder || a.MozBlobBuilder || a.MSBlobBuilder, btoa: function() {
27242
27221
  var v = a.btoa || function(w) {
27243
- for (var g = "", y = 0, N = w.length, R = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", I = void 0, F = void 0, V = void 0, S = void 0, z = void 0, ar = void 0, q = void 0; N > y; )
27244
- I = w.charCodeAt(y++), F = w.charCodeAt(y++), V = w.charCodeAt(y++), S = I >> 2, z = (3 & I) << 4 | F >> 4, ar = (15 & F) << 2 | V >> 6, q = 63 & V, isNaN(F) ? ar = q = 64 : isNaN(V) && (q = 64), g = g + R.charAt(S) + R.charAt(z) + R.charAt(ar) + R.charAt(q);
27222
+ for (var g = "", y = 0, N = w.length, R = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", I = void 0, F = void 0, D = void 0, S = void 0, J = void 0, ar = void 0, q = void 0; N > y; )
27223
+ I = w.charCodeAt(y++), F = w.charCodeAt(y++), D = w.charCodeAt(y++), S = I >> 2, J = (3 & I) << 4 | F >> 4, ar = (15 & F) << 2 | D >> 6, q = 63 & D, isNaN(F) ? ar = q = 64 : isNaN(D) && (q = 64), g = g + R.charAt(S) + R.charAt(J) + R.charAt(ar) + R.charAt(q);
27245
27224
  return g;
27246
27225
  };
27247
27226
  return v ? v.bind(a) : k.noop;
@@ -27331,16 +27310,16 @@ var pg = { exports: {} };
27331
27310
  }, isValid: function(w) {
27332
27311
  var g = O.validate(w), y = g.error !== !0;
27333
27312
  return y;
27334
- }, validators: [{ condition: k.isFunction(k.getUserMedia), errorCode: "getUserMedia", errorMsg: "The getUserMedia API is not supported in your browser" }, { condition: k.isSupported.canvas(), errorCode: "canvas", errorMsg: "Canvas elements are not supported in your browser" }, { condition: k.isSupported.webworkers(), errorCode: "webworkers", errorMsg: "The Web Workers API is not supported in your browser" }, { condition: k.isFunction(k.URL), errorCode: "window.URL", errorMsg: "The window.URL API is not supported in your browser" }, { condition: k.isSupported.blob(), errorCode: "window.Blob", errorMsg: "The window.Blob File API is not supported in your browser" }, { condition: k.isSupported.Uint8Array(), errorCode: "window.Uint8Array", errorMsg: "The window.Uint8Array function constructor is not supported in your browser" }, { condition: k.isSupported.Uint32Array(), errorCode: "window.Uint32Array", errorMsg: "The window.Uint32Array function constructor is not supported in your browser" }], messages: { videoCodecs: { errorCode: "videocodec", errorMsg: "The video codec you are trying to use is not supported in your browser" } } }, L = Object.freeze({ default: O }), J = function() {
27335
- }, D = { sampleInterval: 10, numWorkers: 2, filter: "", gifWidth: 200, gifHeight: 200, interval: 0.1, numFrames: 10, frameDuration: 1, keepCameraOn: !1, images: [], video: null, webcamVideoElement: null, cameraStream: null, text: "", fontWeight: "normal", fontSize: "16px", minFontSize: "10px", resizeFont: !1, fontFamily: "sans-serif", fontColor: "#ffffff", textAlign: "center", textBaseline: "bottom", textXCoordinate: null, textYCoordinate: null, progressCallback: J, completeCallback: J, saveRenderingContexts: !1, savedRenderingContexts: [], showFrameText: !0, crossOrigin: "Anonymous", waterMark: null, waterMarkHeight: null, waterMarkWidth: null, waterMarkXCoordinate: 1, waterMarkYCoordinate: 1 }, K = Object.freeze({ default: D }), j = function() {
27313
+ }, validators: [{ condition: k.isFunction(k.getUserMedia), errorCode: "getUserMedia", errorMsg: "The getUserMedia API is not supported in your browser" }, { condition: k.isSupported.canvas(), errorCode: "canvas", errorMsg: "Canvas elements are not supported in your browser" }, { condition: k.isSupported.webworkers(), errorCode: "webworkers", errorMsg: "The Web Workers API is not supported in your browser" }, { condition: k.isFunction(k.URL), errorCode: "window.URL", errorMsg: "The window.URL API is not supported in your browser" }, { condition: k.isSupported.blob(), errorCode: "window.Blob", errorMsg: "The window.Blob File API is not supported in your browser" }, { condition: k.isSupported.Uint8Array(), errorCode: "window.Uint8Array", errorMsg: "The window.Uint8Array function constructor is not supported in your browser" }, { condition: k.isSupported.Uint32Array(), errorCode: "window.Uint32Array", errorMsg: "The window.Uint32Array function constructor is not supported in your browser" }], messages: { videoCodecs: { errorCode: "videocodec", errorMsg: "The video codec you are trying to use is not supported in your browser" } } }, L = Object.freeze({ default: O }), z = function() {
27314
+ }, V = { sampleInterval: 10, numWorkers: 2, filter: "", gifWidth: 200, gifHeight: 200, interval: 0.1, numFrames: 10, frameDuration: 1, keepCameraOn: !1, images: [], video: null, webcamVideoElement: null, cameraStream: null, text: "", fontWeight: "normal", fontSize: "16px", minFontSize: "10px", resizeFont: !1, fontFamily: "sans-serif", fontColor: "#ffffff", textAlign: "center", textBaseline: "bottom", textXCoordinate: null, textYCoordinate: null, progressCallback: z, completeCallback: z, saveRenderingContexts: !1, savedRenderingContexts: [], showFrameText: !0, crossOrigin: "Anonymous", waterMark: null, waterMarkHeight: null, waterMarkWidth: null, waterMarkXCoordinate: 1, waterMarkYCoordinate: 1 }, K = Object.freeze({ default: V }), j = function() {
27336
27315
  }, rr = function(v) {
27337
27316
  this.canvas = null, this.ctx = null, this.repeat = 0, this.frames = [], this.numRenderedFrames = 0, this.onRenderCompleteCallback = j, this.onRenderProgressCallback = j, this.workers = [], this.availableWorkers = [], this.generatingGIF = !1, this.options = v, this.initializeWebWorkers(v);
27338
27317
  };
27339
27318
  rr.prototype = { workerMethods: c(), initializeWebWorkers: function(v) {
27340
- var w = this, g = u.toString() + "(" + c.toString() + "());", y = void 0, N = void 0, R = void 0, I = void 0, F = -1, V = "";
27319
+ var w = this, g = u.toString() + "(" + c.toString() + "());", y = void 0, N = void 0, R = void 0, I = void 0, F = -1, D = "";
27341
27320
  for (I = v.numWorkers; ++F < I; )
27342
- y = k.createWebWorker(g), k.isObject(y) ? (N = y.objectUrl, R = y.worker, w.workers.push({ worker: R, objectUrl: N }), w.availableWorkers.push(R)) : (V = y, k.webWorkerError = !!y);
27343
- this.workerError = V, this.canvas = t.createElement("canvas"), this.canvas.width = v.gifWidth, this.canvas.height = v.gifHeight, this.ctx = this.canvas.getContext("2d"), this.frames = [];
27321
+ y = k.createWebWorker(g), k.isObject(y) ? (N = y.objectUrl, R = y.worker, w.workers.push({ worker: R, objectUrl: N }), w.availableWorkers.push(R)) : (D = y, k.webWorkerError = !!y);
27322
+ this.workerError = D, this.canvas = t.createElement("canvas"), this.canvas.width = v.gifWidth, this.canvas.height = v.gifHeight, this.ctx = this.canvas.getContext("2d"), this.frames = [];
27344
27323
  }, getWorker: function() {
27345
27324
  return this.availableWorkers.pop();
27346
27325
  }, freeWorker: function(v) {
@@ -27361,11 +27340,11 @@ var pg = { exports: {} };
27361
27340
  w.processNextFrame();
27362
27341
  }, 1);
27363
27342
  }, processFrame: function(v) {
27364
- var w = this, g = (this.options, this.options), y = g.progressCallback, N = g.sampleInterval, R = this.frames, I = void 0, F = void 0, V = function() {
27365
- var S = arguments.length > 0 && arguments[0] !== i ? arguments[0] : {}, z = S.data;
27366
- delete I.data, I.pixels = Array.prototype.slice.call(z.pixels), I.palette = Array.prototype.slice.call(z.palette), I.done = !0, I.beingProcessed = !1, w.freeWorker(F), w.onFrameFinished(y);
27343
+ var w = this, g = (this.options, this.options), y = g.progressCallback, N = g.sampleInterval, R = this.frames, I = void 0, F = void 0, D = function() {
27344
+ var S = arguments.length > 0 && arguments[0] !== i ? arguments[0] : {}, J = S.data;
27345
+ delete I.data, I.pixels = Array.prototype.slice.call(J.pixels), I.palette = Array.prototype.slice.call(J.palette), I.done = !0, I.beingProcessed = !1, w.freeWorker(F), w.onFrameFinished(y);
27367
27346
  };
27368
- return I = R[v], I.beingProcessed || I.done ? (this.onFrameFinished(), void 0) : (I.sampleInterval = N, I.beingProcessed = !0, I.gifshot = !0, F = this.getWorker(), F ? (F.onmessage = V, F.postMessage(I)) : V({ data: w.workerMethods.run(I) }), void 0);
27347
+ return I = R[v], I.beingProcessed || I.done ? (this.onFrameFinished(), void 0) : (I.sampleInterval = N, I.beingProcessed = !0, I.gifshot = !0, F = this.getWorker(), F ? (F.onmessage = D, F.postMessage(I)) : D({ data: w.workerMethods.run(I) }), void 0);
27369
27348
  }, startRendering: function(v) {
27370
27349
  this.onRenderCompleteCallback = v;
27371
27350
  for (var w = 0; w < this.options.numWorkers && w < this.frames.length; w++)
@@ -27380,20 +27359,20 @@ var pg = { exports: {} };
27380
27359
  }
27381
27360
  v >= 0 && this.processFrame(v);
27382
27361
  }, generateGIF: function(v, w) {
27383
- var g = [], y = { loop: this.repeat }, N = this.options, R = N.interval, I = N.frameDuration, F = N.images, V = !!F.length, S = N.gifHeight, z = N.gifWidth, ar = new h(g, z, S, y), q = this.onRenderProgressCallback, er = V ? 100 * R : 0, T = void 0, fr = void 0;
27362
+ var g = [], y = { loop: this.repeat }, N = this.options, R = N.interval, I = N.frameDuration, F = N.images, D = !!F.length, S = N.gifHeight, J = N.gifWidth, ar = new h(g, J, S, y), q = this.onRenderProgressCallback, er = D ? 100 * R : 0, T = void 0, fr = void 0;
27384
27363
  this.generatingGIF = !0, k.each(v, function(Zr, Tr) {
27385
27364
  var Fr = Tr.palette;
27386
27365
  q(0.75 + 0.25 * Tr.position * 1 / v.length);
27387
27366
  for (var Ir = 0; I > Ir; Ir++)
27388
- ar.addFrame(0, 0, z, S, Tr.pixels, { palette: Fr, delay: er });
27367
+ ar.addFrame(0, 0, J, S, Tr.pixels, { palette: Fr, delay: er });
27389
27368
  }), ar.end(), q(1), this.frames = [], this.generatingGIF = !1, k.isFunction(w) && (T = this.bufferToString(g), fr = "data:image/gif;base64," + k.btoa(T), w(fr));
27390
27369
  }, setRepeat: function(v) {
27391
27370
  this.repeat = v;
27392
27371
  }, addFrame: function(v, w, g) {
27393
27372
  w = k.isObject(w) ? w : {};
27394
- var y = this, N = y.ctx, R = y.options, I = R.gifWidth, F = R.gifHeight, V = k.getFontSize(w), S = w, z = S.filter, ar = S.fontColor, q = S.fontFamily, er = S.fontWeight, T = (S.gifHeight, S.gifWidth, S.text), fr = S.textAlign, Zr = S.textBaseline, Tr = S.waterMark, Fr = S.waterMarkHeight, Ir = S.waterMarkWidth, o0 = S.waterMarkXCoordinate, u0 = S.waterMarkYCoordinate, Z = w.textXCoordinate ? w.textXCoordinate : fr === "left" ? 1 : fr === "right" ? I : I / 2, M = w.textYCoordinate ? w.textYCoordinate : Zr === "top" ? 1 : Zr === "center" ? F / 2 : F, U = er + " " + V + " " + q, nr = g && w.showFrameText ? g : T, ir = void 0;
27373
+ var y = this, N = y.ctx, R = y.options, I = R.gifWidth, F = R.gifHeight, D = k.getFontSize(w), S = w, J = S.filter, ar = S.fontColor, q = S.fontFamily, er = S.fontWeight, T = (S.gifHeight, S.gifWidth, S.text), fr = S.textAlign, Zr = S.textBaseline, Tr = S.waterMark, Fr = S.waterMarkHeight, Ir = S.waterMarkWidth, o0 = S.waterMarkXCoordinate, u0 = S.waterMarkYCoordinate, Z = w.textXCoordinate ? w.textXCoordinate : fr === "left" ? 1 : fr === "right" ? I : I / 2, M = w.textYCoordinate ? w.textYCoordinate : Zr === "top" ? 1 : Zr === "center" ? F / 2 : F, U = er + " " + D + " " + q, nr = g && w.showFrameText ? g : T, ir = void 0;
27395
27374
  try {
27396
- N.filter = z, N.drawImage(v, 0, 0, I, F), nr && (N.font = U, N.fillStyle = ar, N.textAlign = fr, N.textBaseline = Zr, N.fillText(nr, Z, M)), Tr && N.drawImage(Tr, o0, u0, Ir, Fr), ir = N.getImageData(0, 0, I, F), y.addFrameImageData(ir);
27375
+ N.filter = J, N.drawImage(v, 0, 0, I, F), nr && (N.font = U, N.fillStyle = ar, N.textAlign = fr, N.textBaseline = Zr, N.fillText(nr, Z, M)), Tr && N.drawImage(Tr, o0, u0, Ir, Fr), ir = N.getImageData(0, 0, I, F), y.addFrameImageData(ir);
27397
27376
  } catch (tr) {
27398
27377
  return "" + tr;
27399
27378
  }
@@ -27424,10 +27403,10 @@ var pg = { exports: {} };
27424
27403
  }, or = { getGIF: function() {
27425
27404
  var v = arguments.length > 0 && arguments[0] !== i ? arguments[0] : {}, w = arguments[1];
27426
27405
  w = k.isFunction(w) ? w : Y;
27427
- var g = t.createElement("canvas"), y = void 0, N = v.images, R = !!N.length, I = v.cameraStream, F = v.crop, V = v.filter, S = v.fontColor, z = v.fontFamily, ar = v.fontWeight, q = v.keepCameraOn, er = (v.numWorkers, v.progressCallback), T = v.saveRenderingContexts, fr = v.savedRenderingContexts, Zr = v.text, Tr = v.textAlign, Fr = v.textBaseline, Ir = v.videoElement, o0 = v.videoHeight, u0 = v.videoWidth, Z = v.webcamVideoElement, M = v.waterMark, U = v.waterMarkHeight, nr = v.waterMarkWidth, ir = v.waterMarkXCoordinate, tr = v.waterMarkYCoordinate, lr = Number(v.gifWidth), Wr = Number(v.gifHeight), Xr = Number(v.interval), F0 = (Number(v.sampleInterval), R ? 0 : 1e3 * Xr), ne = [], B0 = fr.length ? fr.length : v.numFrames, aa = B0, Oe = new rr(v), de = k.getFontSize(v), tt = v.textXCoordinate ? v.textXCoordinate : Tr === "left" ? 1 : Tr === "right" ? lr : lr / 2, Ce = v.textYCoordinate ? v.textYCoordinate : Fr === "top" ? 1 : Fr === "center" ? Wr / 2 : Wr, yn = ar + " " + de + " " + z, he = F ? Math.floor(F.scaledWidth / 2) : 0, ta = F ? u0 - F.scaledWidth : 0, ha = F ? Math.floor(F.scaledHeight / 2) : 0, Ta = F ? o0 - F.scaledHeight : 0, nt = function se() {
27406
+ var g = t.createElement("canvas"), y = void 0, N = v.images, R = !!N.length, I = v.cameraStream, F = v.crop, D = v.filter, S = v.fontColor, J = v.fontFamily, ar = v.fontWeight, q = v.keepCameraOn, er = (v.numWorkers, v.progressCallback), T = v.saveRenderingContexts, fr = v.savedRenderingContexts, Zr = v.text, Tr = v.textAlign, Fr = v.textBaseline, Ir = v.videoElement, o0 = v.videoHeight, u0 = v.videoWidth, Z = v.webcamVideoElement, M = v.waterMark, U = v.waterMarkHeight, nr = v.waterMarkWidth, ir = v.waterMarkXCoordinate, tr = v.waterMarkYCoordinate, lr = Number(v.gifWidth), Wr = Number(v.gifHeight), Ur = Number(v.interval), F0 = (Number(v.sampleInterval), R ? 0 : 1e3 * Ur), ne = [], B0 = fr.length ? fr.length : v.numFrames, aa = B0, Oe = new rr(v), de = k.getFontSize(v), tt = v.textXCoordinate ? v.textXCoordinate : Tr === "left" ? 1 : Tr === "right" ? lr : lr / 2, Ce = v.textYCoordinate ? v.textYCoordinate : Fr === "top" ? 1 : Fr === "center" ? Wr / 2 : Wr, yn = ar + " " + de + " " + J, he = F ? Math.floor(F.scaledWidth / 2) : 0, ta = F ? u0 - F.scaledWidth : 0, ha = F ? Math.floor(F.scaledHeight / 2) : 0, Ta = F ? o0 - F.scaledHeight : 0, nt = function se() {
27428
27407
  function xr() {
27429
27408
  try {
27430
- ta > u0 && (ta = u0), Ta > o0 && (Ta = o0), 0 > he && (he = 0), 0 > ha && (ha = 0), y.filter = V, y.drawImage(Ir, he, ha, ta, Ta, 0, 0, lr, Wr), Ar();
27409
+ ta > u0 && (ta = u0), Ta > o0 && (Ta = o0), 0 > he && (he = 0), 0 > ha && (ha = 0), y.filter = D, y.drawImage(Ir, he, ha, ta, Ta, 0, 0, lr, Wr), Ar();
27431
27410
  } catch (cr) {
27432
27411
  if (cr.name !== "NS_ERROR_NOT_AVAILABLE")
27433
27412
  throw cr;
@@ -27443,7 +27422,7 @@ var pg = { exports: {} };
27443
27422
  var Cr = aa - 1;
27444
27423
  fr.length ? (y.putImageData(fr[B0 - aa], 0, 0), Ar()) : xr();
27445
27424
  };
27446
- B0 = B0 !== i ? B0 : 10, Xr = Xr !== i ? Xr : 0.1, g.width = lr, g.height = Wr, y = g.getContext("2d"), function se() {
27425
+ B0 = B0 !== i ? B0 : 10, Ur = Ur !== i ? Ur : 0.1, g.width = lr, g.height = Wr, y = g.getContext("2d"), function se() {
27447
27426
  return fr.length || Ir.currentTime !== 0 ? (nt(), void 0) : (k.requestTimeout(se, 100), void 0);
27448
27427
  }();
27449
27428
  }, getCropDimensions: function() {
@@ -27481,11 +27460,11 @@ var pg = { exports: {} };
27481
27460
  I.count = I.count || 0, Q.loadedData === !0 ? (Q.findVideoSize({ videoElement: R, cameraStream: g, completedCallback: y }), Q.loadedData = !1) : (I.count += 1, I.count > 10 ? Q.findVideoSize({ videoElement: R, cameraStream: g, completedCallback: y }) : I());
27482
27461
  }, 0);
27483
27462
  }, startStreaming: function(v) {
27484
- var w = k.isFunction(v.error) ? v.error : k.noop, g = k.isFunction(v.streamed) ? v.streamed : k.noop, y = k.isFunction(v.completed) ? v.completed : k.noop, N = v.crossOrigin, R = v.existingVideo, I = v.lastCameraStream, F = v.options, V = v.webcamVideoElement, S = k.isElement(R) ? R : V || t.createElement("video");
27463
+ var w = k.isFunction(v.error) ? v.error : k.noop, g = k.isFunction(v.streamed) ? v.streamed : k.noop, y = k.isFunction(v.completed) ? v.completed : k.noop, N = v.crossOrigin, R = v.existingVideo, I = v.lastCameraStream, F = v.options, D = v.webcamVideoElement, S = k.isElement(R) ? R : D || t.createElement("video");
27485
27464
  N && (S.crossOrigin = F.crossOrigin), S.autoplay = !0, S.loop = !0, S.muted = !0, S.addEventListener("loadeddata", function() {
27486
27465
  Q.loadedData = !0, F.offset && (S.currentTime = F.offset);
27487
- }), R ? Q.stream({ videoElement: S, existingVideo: R, completedCallback: y }) : I ? Q.stream({ videoElement: S, cameraStream: I, streamedCallback: g, completedCallback: y }) : k.getUserMedia({ video: !0 }, function(z) {
27488
- Q.stream({ videoElement: S, cameraStream: z, streamedCallback: g, completedCallback: y });
27466
+ }), R ? Q.stream({ videoElement: S, existingVideo: R, completedCallback: y }) : I ? Q.stream({ videoElement: S, cameraStream: I, streamedCallback: g, completedCallback: y }) : k.getUserMedia({ video: !0 }, function(J) {
27467
+ Q.stream({ videoElement: S, cameraStream: J, streamedCallback: g, completedCallback: y });
27489
27468
  }, w);
27490
27469
  }, startVideoStreaming: function(v) {
27491
27470
  var w = arguments.length > 1 && arguments[1] !== i ? arguments[1] : {}, g = w.timeout !== i ? w.timeout : 0, y = w.callback, N = w.webcamVideoElement, R = void 0;
@@ -27496,13 +27475,13 @@ var pg = { exports: {} };
27496
27475
  }, streamed: function() {
27497
27476
  clearTimeout(R);
27498
27477
  }, completed: function() {
27499
- var I = arguments.length > 0 && arguments[0] !== i ? arguments[0] : {}, F = I.cameraStream, V = I.videoElement, S = I.videoHeight, z = I.videoWidth;
27500
- v({ cameraStream: F, videoElement: V, videoHeight: S, videoWidth: z });
27478
+ var I = arguments.length > 0 && arguments[0] !== i ? arguments[0] : {}, F = I.cameraStream, D = I.videoElement, S = I.videoHeight, J = I.videoWidth;
27479
+ v({ cameraStream: F, videoElement: D, videoHeight: S, videoWidth: J });
27501
27480
  }, lastCameraStream: w.lastCameraStream, webcamVideoElement: N, crossOrigin: w.crossOrigin, options: w });
27502
27481
  }, stopVideoStreaming: function(v) {
27503
27482
  v = k.isObject(v) ? v : {};
27504
- var w = v, g = w.keepCameraOn, y = w.videoElement, N = w.webcamVideoElement, R = v.cameraStream || {}, I = R.getTracks ? R.getTracks() || [] : [], F = !!I.length, V = I[0];
27505
- !g && F && k.isFunction(V.stop) && V.stop(), k.isElement(y) && !N && (y.pause(), k.isFunction(k.URL.revokeObjectURL) && !k.webWorkerError && y.src && k.URL.revokeObjectURL(y.src), k.removeElement(y));
27483
+ var w = v, g = w.keepCameraOn, y = w.videoElement, N = w.webcamVideoElement, R = v.cameraStream || {}, I = R.getTracks ? R.getTracks() || [] : [], F = !!I.length, D = I[0];
27484
+ !g && F && k.isFunction(D.stop) && D.stop(), k.isElement(y) && !N && (y.pause(), k.isFunction(k.URL.revokeObjectURL) && !k.webWorkerError && y.src && k.URL.revokeObjectURL(y.src), k.removeElement(y));
27506
27485
  } }, P = { utils: $, error: L, defaultOptions: K, createGIF: B, takeSnapShot: x, stopVideoStreaming: b, isSupported: o, isWebCamGIFSupported: A, isExistingVideoGIFSupported: s, isExistingImagesGIFSupported: f, VERSION: "0.4.5" };
27507
27486
  r.exports = P;
27508
27487
  })(typeof window < "u" ? window : {}, typeof document < "u" ? document : { createElement: function() {
@@ -27770,14 +27749,14 @@ const z2 = d2(
27770
27749
  placeholder: m = i ? "Select files" : "Select file",
27771
27750
  ..._
27772
27751
  }, E) => {
27773
- const [B, x] = e0([]), [k, $] = e0(!1), { toast: O } = Fo(), L = Ye(0), J = Ye(null), D = c || `file-field-${r.toLowerCase().replace(/\s+/g, "-")}`, K = async (y) => {
27752
+ const [B, x] = e0([]), [k, $] = e0(!1), { toast: O } = Fo(), L = Ye(0), z = Ye(null), V = c || `file-field-${r.toLowerCase().replace(/\s+/g, "-")}`, K = async (y) => {
27774
27753
  try {
27775
27754
  const N = await rT(y), R = N;
27776
27755
  R.preview = URL.createObjectURL(N), x((I) => {
27777
27756
  if (!I.includes(y))
27778
27757
  return URL.revokeObjectURL(R.preview), I;
27779
- const V = [...I.filter((z) => z !== y), R], S = new DataTransfer();
27780
- return V.forEach((z) => S.items.add(z)), h == null || h(S.files), V;
27758
+ const D = [...I.filter((J) => J !== y), R], S = new DataTransfer();
27759
+ return D.forEach((J) => S.items.add(J)), h == null || h(S.files), D;
27781
27760
  });
27782
27761
  } catch (N) {
27783
27762
  console.error("HEIC convert failed:", N), x([...B]);
@@ -27785,10 +27764,10 @@ const z2 = d2(
27785
27764
  }, j = async (y) => {
27786
27765
  const N = [], R = [];
27787
27766
  for (const I of y) {
27788
- const F = I.name.toLowerCase().endsWith(".heic") || I.name.toLowerCase().endsWith(".heif"), V = I;
27789
- if (I.type.startsWith("image/") ? V.preview = URL.createObjectURL(I) : V.preview = null, N.push(V), F) {
27790
- const S = K(V);
27791
- R.push(S);
27767
+ const F = I.name.toLowerCase().endsWith(".heic") || I.name.toLowerCase().endsWith(".heif"), D = I.type.startsWith("image/"), S = I;
27768
+ if (D ? S.preview = URL.createObjectURL(I) : S.preview = void 0, N.push(S), F) {
27769
+ const J = K(S);
27770
+ R.push(J);
27792
27771
  }
27793
27772
  }
27794
27773
  return R.forEach((I) => d == null ? void 0 : d(I)), N;
@@ -27811,15 +27790,15 @@ const z2 = d2(
27811
27790
  });
27812
27791
  return;
27813
27792
  }
27814
- const V = await j(I), S = N ? [...B, ...V] : V;
27793
+ const D = await j(I), S = N ? [...B, ...D] : D;
27815
27794
  x(S);
27816
27795
  try {
27817
- const z = new DataTransfer();
27818
- S.forEach((ar) => z.items.add(ar)), h == null || h(z.files);
27796
+ const J = new DataTransfer();
27797
+ S.forEach((ar) => J.items.add(ar)), h == null || h(J.files);
27819
27798
  } catch {
27820
27799
  h == null || h(S);
27821
27800
  }
27822
- J.current && (J.current.value = "");
27801
+ z.current && (z.current.value = "");
27823
27802
  },
27824
27803
  [B, o, n, A, h, i]
27825
27804
  ), Y = z0((y) => {
@@ -27837,15 +27816,15 @@ const z2 = d2(
27837
27816
  [f, rr, i, B.length]
27838
27817
  ), v = z0(() => {
27839
27818
  var y;
27840
- f || (y = J.current) == null || y.click();
27819
+ f || (y = z.current) == null || y.click();
27841
27820
  }, [f]), w = z0(() => {
27842
27821
  var y;
27843
- f || (y = J.current) == null || y.click();
27822
+ f || (y = z.current) == null || y.click();
27844
27823
  }, [f]), g = z0(
27845
27824
  (y) => {
27846
27825
  const N = B.filter((R, I) => I !== y);
27847
27826
  if (x(N), N.length === 0)
27848
- h == null || h(null), J.current && (J.current.value = "");
27827
+ h == null || h(null), z.current && (z.current.value = "");
27849
27828
  else {
27850
27829
  const R = new DataTransfer();
27851
27830
  N.forEach((I) => R.items.add(I)), h == null || h(R.files);
@@ -27858,15 +27837,15 @@ const z2 = d2(
27858
27837
  y.preview && URL.revokeObjectURL(y.preview);
27859
27838
  });
27860
27839
  }, [B]), /* @__PURE__ */ X("div", { className: Rb("space-y-2", s), children: [
27861
- /* @__PURE__ */ X(Gl, { htmlFor: D, className: "font-medium text-gray-700", children: [
27840
+ /* @__PURE__ */ X(Gl, { htmlFor: V, className: "font-medium text-gray-700", children: [
27862
27841
  r,
27863
27842
  t && /* @__PURE__ */ l("span", { className: "ml-1 text-red-500", children: "*" })
27864
27843
  ] }),
27865
27844
  /* @__PURE__ */ l(
27866
27845
  "input",
27867
27846
  {
27868
- ref: J,
27869
- id: D,
27847
+ ref: z,
27848
+ id: V,
27870
27849
  type: "file",
27871
27850
  accept: n,
27872
27851
  multiple: i,
@@ -27876,7 +27855,7 @@ const z2 = d2(
27876
27855
  const N = i && B.length > 0;
27877
27856
  rr(y.target.files, N);
27878
27857
  },
27879
- "aria-describedby": e ? `${D}-error` : a ? `${D}-hint` : void 0,
27858
+ "aria-describedby": e ? `${V}-error` : a ? `${V}-hint` : void 0,
27880
27859
  ..._
27881
27860
  }
27882
27861
  ),
@@ -27956,8 +27935,7 @@ const z2 = d2(
27956
27935
  ) })
27957
27936
  ] })
27958
27937
  }
27959
- ),
27960
- e && /* @__PURE__ */ l("p", { id: `${D}-error`, role: "alert", className: "text-sm text-red-500", children: e })
27938
+ )
27961
27939
  ] });
27962
27940
  }
27963
27941
  );
@@ -28038,23 +28016,31 @@ const ol = 5, tT = 10, FA = {
28038
28016
  /* @__PURE__ */ X(fe, { children: [
28039
28017
  /* @__PURE__ */ l(oi, { ...f, children: /* @__PURE__ */ X("form", { onSubmit: f.handleSubmit(c), className: "space-y-8", children: [
28040
28018
  o.map((h) => {
28041
- var b;
28042
- const d = FA[h], p = (b = f.formState.errors[h]) == null ? void 0 : b.message;
28019
+ const d = FA[h];
28043
28020
  return /* @__PURE__ */ l(
28044
- z2,
28021
+ Yr,
28045
28022
  {
28046
- label: d.label,
28047
- required: d.required,
28048
- multiple: !0,
28049
- maxFiles: ol,
28050
- maxSize: tT * 1024 * 1024,
28051
- accept: ".pdf,.jpg,.jpeg,.png,.doc,.docx",
28052
- placeholder: "Drop files here or click to upload",
28053
- hint: d.description,
28054
- error: p,
28055
- onFileSelect: u(h),
28056
- isSubmitting: s,
28057
- disabled: s
28023
+ control: f.control,
28024
+ name: h,
28025
+ render: () => /* @__PURE__ */ X(Xr, { children: [
28026
+ /* @__PURE__ */ l(jr, { children: /* @__PURE__ */ l(
28027
+ z2,
28028
+ {
28029
+ label: d.label,
28030
+ required: d.required,
28031
+ multiple: !0,
28032
+ maxFiles: ol,
28033
+ maxSize: tT * 1024 * 1024,
28034
+ accept: "image/*,application/pdf,.pdf",
28035
+ placeholder: "Drop files here or click to upload",
28036
+ hint: d.description,
28037
+ onFileSelect: u(h),
28038
+ isSubmitting: s,
28039
+ disabled: s
28040
+ }
28041
+ ) }),
28042
+ /* @__PURE__ */ l(Lr, {})
28043
+ ] })
28058
28044
  },
28059
28045
  h
28060
28046
  );
@@ -28118,13 +28104,13 @@ const ol = 5, tT = 10, FA = {
28118
28104
  /* @__PURE__ */ X(fe, { children: [
28119
28105
  /* @__PURE__ */ l(oi, { ...i, children: /* @__PURE__ */ X("form", { onSubmit: i.handleSubmit(o), className: "space-y-6", children: [
28120
28106
  /* @__PURE__ */ l(
28121
- Qr,
28107
+ Yr,
28122
28108
  {
28123
28109
  control: i.control,
28124
28110
  name: "industry",
28125
- render: ({ field: A }) => /* @__PURE__ */ X(jr, { children: [
28111
+ render: ({ field: A }) => /* @__PURE__ */ X(Xr, { children: [
28126
28112
  /* @__PURE__ */ l(qr, { children: "Industry" }),
28127
- /* @__PURE__ */ l(Lr, { children: /* @__PURE__ */ l(
28113
+ /* @__PURE__ */ l(jr, { children: /* @__PURE__ */ l(
28128
28114
  Ri,
28129
28115
  {
28130
28116
  value: A.value,
@@ -28134,18 +28120,18 @@ const ol = 5, tT = 10, FA = {
28134
28120
  name: "industry"
28135
28121
  }
28136
28122
  ) }),
28137
- /* @__PURE__ */ l(Ur, {})
28123
+ /* @__PURE__ */ l(Lr, {})
28138
28124
  ] })
28139
28125
  }
28140
28126
  ),
28141
28127
  /* @__PURE__ */ l(
28142
- Qr,
28128
+ Yr,
28143
28129
  {
28144
28130
  control: i.control,
28145
28131
  name: "business_model",
28146
- render: ({ field: A }) => /* @__PURE__ */ X(jr, { children: [
28132
+ render: ({ field: A }) => /* @__PURE__ */ X(Xr, { children: [
28147
28133
  /* @__PURE__ */ l(qr, { children: "Business Model" }),
28148
- /* @__PURE__ */ l(Lr, { children: /* @__PURE__ */ l(
28134
+ /* @__PURE__ */ l(jr, { children: /* @__PURE__ */ l(
28149
28135
  Ri,
28150
28136
  {
28151
28137
  value: A.value,
@@ -28155,18 +28141,18 @@ const ol = 5, tT = 10, FA = {
28155
28141
  name: "business_model"
28156
28142
  }
28157
28143
  ) }),
28158
- /* @__PURE__ */ l(Ur, {})
28144
+ /* @__PURE__ */ l(Lr, {})
28159
28145
  ] })
28160
28146
  }
28161
28147
  ),
28162
28148
  /* @__PURE__ */ l(
28163
- Qr,
28149
+ Yr,
28164
28150
  {
28165
28151
  control: i.control,
28166
28152
  name: "annual_sales_volume",
28167
- render: ({ field: A }) => /* @__PURE__ */ X(jr, { children: [
28153
+ render: ({ field: A }) => /* @__PURE__ */ X(Xr, { children: [
28168
28154
  /* @__PURE__ */ l(qr, { children: "Annual Sales Volume (USD)" }),
28169
- /* @__PURE__ */ l(Lr, { children: /* @__PURE__ */ l(
28155
+ /* @__PURE__ */ l(jr, { children: /* @__PURE__ */ l(
28170
28156
  Ri,
28171
28157
  {
28172
28158
  value: A.value,
@@ -28176,19 +28162,19 @@ const ol = 5, tT = 10, FA = {
28176
28162
  name: "annual_sales_volume"
28177
28163
  }
28178
28164
  ) }),
28179
- /* @__PURE__ */ l(Ur, {})
28165
+ /* @__PURE__ */ l(Lr, {})
28180
28166
  ] })
28181
28167
  }
28182
28168
  ),
28183
28169
  /* @__PURE__ */ l(
28184
- Qr,
28170
+ Yr,
28185
28171
  {
28186
28172
  control: i.control,
28187
28173
  name: "website_url",
28188
- render: ({ field: A }) => /* @__PURE__ */ X(jr, { children: [
28174
+ render: ({ field: A }) => /* @__PURE__ */ X(Xr, { children: [
28189
28175
  /* @__PURE__ */ l(qr, { children: "Website URL (Optional)" }),
28190
- /* @__PURE__ */ l(Lr, { children: /* @__PURE__ */ l(j0, { placeholder: "https://www.yourcompany.com", ...A }) }),
28191
- /* @__PURE__ */ l(Ur, {})
28176
+ /* @__PURE__ */ l(jr, { children: /* @__PURE__ */ l(j0, { placeholder: "https://www.yourcompany.com", ...A }) }),
28177
+ /* @__PURE__ */ l(Lr, {})
28192
28178
  ] })
28193
28179
  }
28194
28180
  ),
@@ -29729,7 +29715,7 @@ const Vg = x$, Dg = R$, bd = C.forwardRef(({ className: r, align: e = "center",
29729
29715
  ref: n,
29730
29716
  align: e,
29731
29717
  sideOffset: a,
29732
- className: Or(
29718
+ className: Vr(
29733
29719
  "z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
29734
29720
  r
29735
29721
  ),
@@ -30461,10 +30447,10 @@ function jP(r, e) {
30461
30447
  }, L = function(P) {
30462
30448
  var v;
30463
30449
  (v = a.onDayPointerEnter) === null || v === void 0 || v.call(a, r, e, P);
30464
- }, J = function(P) {
30450
+ }, z = function(P) {
30465
30451
  var v;
30466
30452
  (v = a.onDayPointerLeave) === null || v === void 0 || v.call(a, r, e, P);
30467
- }, D = function(P) {
30453
+ }, V = function(P) {
30468
30454
  var v;
30469
30455
  (v = a.onDayTouchCancel) === null || v === void 0 || v.call(a, r, e, P);
30470
30456
  }, K = function(P) {
@@ -30517,8 +30503,8 @@ function jP(r, e) {
30517
30503
  onMouseEnter: $,
30518
30504
  onMouseLeave: O,
30519
30505
  onPointerEnter: L,
30520
- onPointerLeave: J,
30521
- onTouchCancel: D,
30506
+ onPointerLeave: z,
30507
+ onTouchCancel: V,
30522
30508
  onTouchEnd: K,
30523
30509
  onTouchMove: j,
30524
30510
  onTouchStart: rr
@@ -30693,7 +30679,7 @@ const Dt = Ag, Mt = fg, st = C.forwardRef(({ className: r, children: e, ...a },
30693
30679
  nd,
30694
30680
  {
30695
30681
  ref: t,
30696
- className: Or(
30682
+ className: Vr(
30697
30683
  "flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",
30698
30684
  r
30699
30685
  ),
@@ -30709,7 +30695,7 @@ const zg = C.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ l(
30709
30695
  od,
30710
30696
  {
30711
30697
  ref: a,
30712
- className: Or("flex cursor-default items-center justify-center py-1", r),
30698
+ className: Vr("flex cursor-default items-center justify-center py-1", r),
30713
30699
  ...e,
30714
30700
  children: /* @__PURE__ */ l(T6, { className: "h-4 w-4" })
30715
30701
  }
@@ -30719,7 +30705,7 @@ const Kg = C.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ l(
30719
30705
  Ad,
30720
30706
  {
30721
30707
  ref: a,
30722
- className: Or("flex cursor-default items-center justify-center py-1", r),
30708
+ className: Vr("flex cursor-default items-center justify-center py-1", r),
30723
30709
  ...e,
30724
30710
  children: /* @__PURE__ */ l($A, { className: "h-4 w-4" })
30725
30711
  }
@@ -30729,7 +30715,7 @@ const ut = C.forwardRef(({ className: r, children: e, position: a = "popper", ..
30729
30715
  id,
30730
30716
  {
30731
30717
  ref: n,
30732
- className: Or(
30718
+ className: Vr(
30733
30719
  "relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
30734
30720
  a === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
30735
30721
  r
@@ -30741,7 +30727,7 @@ const ut = C.forwardRef(({ className: r, children: e, position: a = "popper", ..
30741
30727
  /* @__PURE__ */ l(
30742
30728
  lg,
30743
30729
  {
30744
- className: Or(
30730
+ className: Vr(
30745
30731
  "p-1",
30746
30732
  a === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
30747
30733
  ),
@@ -30753,13 +30739,13 @@ const ut = C.forwardRef(({ className: r, children: e, position: a = "popper", ..
30753
30739
  }
30754
30740
  ) }));
30755
30741
  ut.displayName = id.displayName;
30756
- const uO = C.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ l(cg, { ref: a, className: Or("py-1.5 pl-8 pr-2 text-sm font-semibold", r), ...e }));
30742
+ const uO = C.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ l(cg, { ref: a, className: Vr("py-1.5 pl-8 pr-2 text-sm font-semibold", r), ...e }));
30757
30743
  uO.displayName = cg.displayName;
30758
30744
  const lt = C.forwardRef(({ className: r, children: e, ...a }, t) => /* @__PURE__ */ X(
30759
30745
  df,
30760
30746
  {
30761
30747
  ref: t,
30762
- className: Or(
30748
+ className: Vr(
30763
30749
  "relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
30764
30750
  r
30765
30751
  ),
@@ -30771,7 +30757,7 @@ const lt = C.forwardRef(({ className: r, children: e, ...a }, t) => /* @__PURE__
30771
30757
  }
30772
30758
  ));
30773
30759
  lt.displayName = df.displayName;
30774
- const lO = C.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ l(dg, { ref: a, className: Or("-mx-1 my-1 h-px bg-muted", r), ...e }));
30760
+ const lO = C.forwardRef(({ className: r, ...e }, a) => /* @__PURE__ */ l(dg, { ref: a, className: Vr("-mx-1 my-1 h-px bg-muted", r), ...e }));
30775
30761
  lO.displayName = dg.displayName;
30776
30762
  function Ed({
30777
30763
  className: r,
@@ -30791,7 +30777,7 @@ function Ed({
30791
30777
  sO,
30792
30778
  {
30793
30779
  showOutsideDays: a,
30794
- className: Or("p-3", r),
30780
+ className: Vr("p-3", r),
30795
30781
  classNames: {
30796
30782
  months: "flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",
30797
30783
  month: "space-y-4",
@@ -30804,18 +30790,18 @@ function Ed({
30804
30790
  multiple_months: "is-multiple",
30805
30791
  vhidden: "hidden [.is-between_&]:flex [.is-end_&]:flex [.is-start.is-end_&]:hidden",
30806
30792
  nav: "flex items-center [&:has([name='previous-month'])]:order-first [&:has([name='next-month'])]:order-last gap-1",
30807
- nav_button: Or(kA({ variant: "outline" }), "h-7 w-7 bg-transparent p-0 text-muted-foreground"),
30793
+ nav_button: Vr(kA({ variant: "outline" }), "h-7 w-7 bg-transparent p-0 text-muted-foreground"),
30808
30794
  nav_button_previous: "absolute left-1",
30809
30795
  nav_button_next: "absolute right-1",
30810
30796
  table: "w-full border-collapse space-y-1",
30811
30797
  head_row: "flex",
30812
30798
  head_cell: "text-muted-foreground rounded-md w-9 font-normal text-[0.8rem]",
30813
30799
  row: "flex w-full mt-2",
30814
- cell: Or(
30800
+ cell: Vr(
30815
30801
  "relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([aria-selected])]:bg-accent",
30816
30802
  t.mode === "range" ? "[&:has(>.day-range-end)]:rounded-r-md [&:has(>.day-range-start)]:rounded-l-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md" : "[&:has([aria-selected])]:rounded-md"
30817
30803
  ),
30818
- day: Or(kA({ variant: "ghost" }), "h-9 w-9 p-0 font-normal aria-selected:opacity-100"),
30804
+ day: Vr(kA({ variant: "ghost" }), "h-9 w-9 p-0 font-normal aria-selected:opacity-100"),
30819
30805
  day_range_start: "day-range-start",
30820
30806
  day_range_end: "day-range-end",
30821
30807
  day_selected: "bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",
@@ -30840,7 +30826,7 @@ function Ed({
30840
30826
  /* @__PURE__ */ l(
30841
30827
  st,
30842
30828
  {
30843
- className: Or(
30829
+ className: Vr(
30844
30830
  kA({ variant: "ghost" }),
30845
30831
  "pl-2 pr-1 py-2 h-7 w-fit font-medium [.is-between_&]:hidden [.is-end_&]:hidden [.is-start.is-end_&]:flex"
30846
30832
  ),
@@ -30920,25 +30906,25 @@ const cO = ii({
30920
30906
  /* @__PURE__ */ X(fe, { children: [
30921
30907
  /* @__PURE__ */ l(oi, { ...i, children: /* @__PURE__ */ X("form", { onSubmit: i.handleSubmit(o), className: "space-y-6", children: [
30922
30908
  /* @__PURE__ */ l(
30923
- Qr,
30909
+ Yr,
30924
30910
  {
30925
30911
  control: i.control,
30926
30912
  name: "registration_number",
30927
- render: ({ field: A }) => /* @__PURE__ */ X(jr, { children: [
30913
+ render: ({ field: A }) => /* @__PURE__ */ X(Xr, { children: [
30928
30914
  /* @__PURE__ */ l(qr, { children: "Registration Number" }),
30929
- /* @__PURE__ */ l(Lr, { children: /* @__PURE__ */ l(j0, { placeholder: "Enter registration number", ...A }) }),
30930
- /* @__PURE__ */ l(Ur, {})
30915
+ /* @__PURE__ */ l(jr, { children: /* @__PURE__ */ l(j0, { placeholder: "Enter registration number", ...A }) }),
30916
+ /* @__PURE__ */ l(Lr, {})
30931
30917
  ] })
30932
30918
  }
30933
30919
  ),
30934
30920
  /* @__PURE__ */ l(
30935
- Qr,
30921
+ Yr,
30936
30922
  {
30937
30923
  control: i.control,
30938
30924
  name: "country",
30939
- render: ({ field: A }) => /* @__PURE__ */ X(jr, { children: [
30925
+ render: ({ field: A }) => /* @__PURE__ */ X(Xr, { children: [
30940
30926
  /* @__PURE__ */ l(qr, { children: "Country" }),
30941
- /* @__PURE__ */ l(Lr, { children: /* @__PURE__ */ l(
30927
+ /* @__PURE__ */ l(jr, { children: /* @__PURE__ */ l(
30942
30928
  Ri,
30943
30929
  {
30944
30930
  value: A.value,
@@ -30948,42 +30934,42 @@ const cO = ii({
30948
30934
  name: "country"
30949
30935
  }
30950
30936
  ) }),
30951
- /* @__PURE__ */ l(Ur, {})
30937
+ /* @__PURE__ */ l(Lr, {})
30952
30938
  ] })
30953
30939
  }
30954
30940
  ),
30955
30941
  /* @__PURE__ */ l(
30956
- Qr,
30942
+ Yr,
30957
30943
  {
30958
30944
  control: i.control,
30959
30945
  name: "company_name",
30960
- render: ({ field: A }) => /* @__PURE__ */ X(jr, { children: [
30946
+ render: ({ field: A }) => /* @__PURE__ */ X(Xr, { children: [
30961
30947
  /* @__PURE__ */ l(qr, { children: "Company Name" }),
30962
- /* @__PURE__ */ l(Lr, { children: /* @__PURE__ */ l(j0, { placeholder: "Enter company name", ...A }) }),
30963
- /* @__PURE__ */ l(Ur, {})
30948
+ /* @__PURE__ */ l(jr, { children: /* @__PURE__ */ l(j0, { placeholder: "Enter company name", ...A }) }),
30949
+ /* @__PURE__ */ l(Lr, {})
30964
30950
  ] })
30965
30951
  }
30966
30952
  ),
30967
30953
  /* @__PURE__ */ l(
30968
- Qr,
30954
+ Yr,
30969
30955
  {
30970
30956
  control: i.control,
30971
30957
  name: "tax_identity_number",
30972
- render: ({ field: A }) => /* @__PURE__ */ X(jr, { children: [
30958
+ render: ({ field: A }) => /* @__PURE__ */ X(Xr, { children: [
30973
30959
  /* @__PURE__ */ l(qr, { children: "Tax Identity Number" }),
30974
- /* @__PURE__ */ l(Lr, { children: /* @__PURE__ */ l(j0, { placeholder: "Enter tax identity number", ...A }) }),
30975
- /* @__PURE__ */ l(Ur, {})
30960
+ /* @__PURE__ */ l(jr, { children: /* @__PURE__ */ l(j0, { placeholder: "Enter tax identity number", ...A }) }),
30961
+ /* @__PURE__ */ l(Lr, {})
30976
30962
  ] })
30977
30963
  }
30978
30964
  ),
30979
30965
  /* @__PURE__ */ l(
30980
- Qr,
30966
+ Yr,
30981
30967
  {
30982
30968
  control: i.control,
30983
30969
  name: "corporate_type",
30984
- render: ({ field: A }) => /* @__PURE__ */ X(jr, { children: [
30970
+ render: ({ field: A }) => /* @__PURE__ */ X(Xr, { children: [
30985
30971
  /* @__PURE__ */ l(qr, { children: "Corporate Type" }),
30986
- /* @__PURE__ */ l(Lr, { children: /* @__PURE__ */ l(
30972
+ /* @__PURE__ */ l(jr, { children: /* @__PURE__ */ l(
30987
30973
  Ri,
30988
30974
  {
30989
30975
  value: A.value,
@@ -30993,23 +30979,23 @@ const cO = ii({
30993
30979
  name: "corporate_type"
30994
30980
  }
30995
30981
  ) }),
30996
- /* @__PURE__ */ l(Ur, {})
30982
+ /* @__PURE__ */ l(Lr, {})
30997
30983
  ] })
30998
30984
  }
30999
30985
  ),
31000
30986
  /* @__PURE__ */ l(
31001
- Qr,
30987
+ Yr,
31002
30988
  {
31003
30989
  control: i.control,
31004
30990
  name: "date_of_establishment",
31005
- render: ({ field: A }) => /* @__PURE__ */ X(jr, { className: "flex flex-col", children: [
30991
+ render: ({ field: A }) => /* @__PURE__ */ X(Xr, { className: "flex flex-col", children: [
31006
30992
  /* @__PURE__ */ l(qr, { children: "Date of Establishment" }),
31007
30993
  /* @__PURE__ */ X(Vg, { modal: !0, children: [
31008
- /* @__PURE__ */ l(Dg, { asChild: !0, children: /* @__PURE__ */ l(Lr, { children: /* @__PURE__ */ X(
30994
+ /* @__PURE__ */ l(Dg, { asChild: !0, children: /* @__PURE__ */ l(jr, { children: /* @__PURE__ */ X(
31009
30995
  x0,
31010
30996
  {
31011
30997
  variant: "outline",
31012
- className: Or("w-full pl-3 text-left font-normal", !A.value && "text-muted-foreground"),
30998
+ className: Vr("w-full pl-3 text-left font-normal", !A.value && "text-muted-foreground"),
31013
30999
  children: [
31014
31000
  A.value ? St(A.value, "PPP") : /* @__PURE__ */ l("span", { children: "Pick a date" }),
31015
31001
  /* @__PURE__ */ l(W6, { className: "ml-auto h-4 w-4 opacity-50" })
@@ -31031,7 +31017,7 @@ const cO = ii({
31031
31017
  }
31032
31018
  ) })
31033
31019
  ] }),
31034
- /* @__PURE__ */ l(Ur, {})
31020
+ /* @__PURE__ */ l(Lr, {})
31035
31021
  ] })
31036
31022
  }
31037
31023
  ),
@@ -31085,54 +31071,54 @@ const cO = ii({
31085
31071
  /* @__PURE__ */ X(fe, { children: [
31086
31072
  /* @__PURE__ */ l(oi, { ...i, children: /* @__PURE__ */ X("form", { onSubmit: i.handleSubmit(o), className: "space-y-6", children: [
31087
31073
  /* @__PURE__ */ l(
31088
- Qr,
31074
+ Yr,
31089
31075
  {
31090
31076
  control: i.control,
31091
31077
  name: "full_name",
31092
- render: ({ field: A }) => /* @__PURE__ */ X(jr, { children: [
31078
+ render: ({ field: A }) => /* @__PURE__ */ X(Xr, { children: [
31093
31079
  /* @__PURE__ */ l(qr, { children: "Full Name" }),
31094
- /* @__PURE__ */ l(Lr, { children: /* @__PURE__ */ l(j0, { placeholder: "Enter your full name", ...A }) }),
31095
- /* @__PURE__ */ l(Ur, {})
31080
+ /* @__PURE__ */ l(jr, { children: /* @__PURE__ */ l(j0, { placeholder: "Enter your full name", ...A }) }),
31081
+ /* @__PURE__ */ l(Lr, {})
31096
31082
  ] })
31097
31083
  }
31098
31084
  ),
31099
31085
  /* @__PURE__ */ l(
31100
- Qr,
31086
+ Yr,
31101
31087
  {
31102
31088
  control: i.control,
31103
31089
  name: "title",
31104
- render: ({ field: A }) => /* @__PURE__ */ X(jr, { children: [
31090
+ render: ({ field: A }) => /* @__PURE__ */ X(Xr, { children: [
31105
31091
  /* @__PURE__ */ l(qr, { children: "Title" }),
31106
- /* @__PURE__ */ l(Lr, { children: /* @__PURE__ */ l(j0, { placeholder: "e.g., CEO, Director, Manager", ...A }) }),
31107
- /* @__PURE__ */ l(Ur, {})
31092
+ /* @__PURE__ */ l(jr, { children: /* @__PURE__ */ l(j0, { placeholder: "e.g., CEO, Director, Manager", ...A }) }),
31093
+ /* @__PURE__ */ l(Lr, {})
31108
31094
  ] })
31109
31095
  }
31110
31096
  ),
31111
31097
  /* @__PURE__ */ l(
31112
- Qr,
31098
+ Yr,
31113
31099
  {
31114
31100
  control: i.control,
31115
31101
  name: "email",
31116
- render: ({ field: A }) => /* @__PURE__ */ X(jr, { children: [
31102
+ render: ({ field: A }) => /* @__PURE__ */ X(Xr, { children: [
31117
31103
  /* @__PURE__ */ l(qr, { children: "Email" }),
31118
- /* @__PURE__ */ l(Lr, { children: /* @__PURE__ */ l(j0, { placeholder: "example@gmail.com", ...A }) }),
31119
- /* @__PURE__ */ l(Ur, {})
31104
+ /* @__PURE__ */ l(jr, { children: /* @__PURE__ */ l(j0, { placeholder: "example@gmail.com", ...A }) }),
31105
+ /* @__PURE__ */ l(Lr, {})
31120
31106
  ] })
31121
31107
  }
31122
31108
  ),
31123
31109
  /* @__PURE__ */ l(
31124
- Qr,
31110
+ Yr,
31125
31111
  {
31126
31112
  control: i.control,
31127
31113
  name: "birth",
31128
- render: ({ field: A }) => /* @__PURE__ */ X(jr, { className: "flex flex-col", children: [
31114
+ render: ({ field: A }) => /* @__PURE__ */ X(Xr, { className: "flex flex-col", children: [
31129
31115
  /* @__PURE__ */ l(qr, { children: "Date of Birth" }),
31130
31116
  /* @__PURE__ */ X(Vg, { modal: !0, children: [
31131
- /* @__PURE__ */ l(Dg, { asChild: !0, children: /* @__PURE__ */ l(Lr, { children: /* @__PURE__ */ X(
31117
+ /* @__PURE__ */ l(Dg, { asChild: !0, children: /* @__PURE__ */ l(jr, { children: /* @__PURE__ */ X(
31132
31118
  x0,
31133
31119
  {
31134
31120
  variant: "outline",
31135
- className: Or("w-full pl-3 text-left font-normal", !A.value && "text-muted-foreground"),
31121
+ className: Vr("w-full pl-3 text-left font-normal", !A.value && "text-muted-foreground"),
31136
31122
  children: [
31137
31123
  A.value ? St(A.value, "PPP") : /* @__PURE__ */ l("span", { children: "Pick a date" }),
31138
31124
  /* @__PURE__ */ l(W6, { className: "ml-auto h-4 w-4 opacity-50" })
@@ -31154,18 +31140,18 @@ const cO = ii({
31154
31140
  }
31155
31141
  ) })
31156
31142
  ] }),
31157
- /* @__PURE__ */ l(Ur, {})
31143
+ /* @__PURE__ */ l(Lr, {})
31158
31144
  ] })
31159
31145
  }
31160
31146
  ),
31161
31147
  /* @__PURE__ */ l(
31162
- Qr,
31148
+ Yr,
31163
31149
  {
31164
31150
  control: i.control,
31165
31151
  name: "phone_number",
31166
- render: ({ field: A }) => /* @__PURE__ */ X(jr, { children: [
31152
+ render: ({ field: A }) => /* @__PURE__ */ X(Xr, { children: [
31167
31153
  /* @__PURE__ */ l(qr, { children: "Phone Number" }),
31168
- /* @__PURE__ */ l(Lr, { children: /* @__PURE__ */ l(
31154
+ /* @__PURE__ */ l(jr, { children: /* @__PURE__ */ l(
31169
31155
  gm,
31170
31156
  {
31171
31157
  control: i.control,
@@ -31174,7 +31160,7 @@ const cO = ii({
31174
31160
  defaultCountry: "US"
31175
31161
  }
31176
31162
  ) }),
31177
- /* @__PURE__ */ l(Ur, {})
31163
+ /* @__PURE__ */ l(Lr, {})
31178
31164
  ] })
31179
31165
  }
31180
31166
  ),
@@ -31286,122 +31272,122 @@ const cO = ii({
31286
31272
  /* @__PURE__ */ X(fe, { children: [
31287
31273
  /* @__PURE__ */ l(oi, { ...i, children: /* @__PURE__ */ X("form", { onSubmit: i.handleSubmit(A), className: "space-y-6", children: [
31288
31274
  /* @__PURE__ */ l(
31289
- Qr,
31275
+ Yr,
31290
31276
  {
31291
31277
  control: i.control,
31292
31278
  name: "inventory_maintained",
31293
- render: ({ field: d }) => /* @__PURE__ */ X(jr, { children: [
31279
+ render: ({ field: d }) => /* @__PURE__ */ X(Xr, { children: [
31294
31280
  /* @__PURE__ */ l(qr, { children: "Inventory Maintained" }),
31295
31281
  /* @__PURE__ */ X(Dt, { onValueChange: d.onChange, value: d.value, disabled: o, children: [
31296
- /* @__PURE__ */ l(Lr, { children: /* @__PURE__ */ l(st, { children: /* @__PURE__ */ l(Mt, { placeholder: "Select inventory option" }) }) }),
31282
+ /* @__PURE__ */ l(jr, { children: /* @__PURE__ */ l(st, { children: /* @__PURE__ */ l(Mt, { placeholder: "Select inventory option" }) }) }),
31297
31283
  /* @__PURE__ */ l(ut, { children: yO.map((p) => /* @__PURE__ */ l(lt, { value: p.value, children: p.label }, p.value)) })
31298
31284
  ] }),
31299
- /* @__PURE__ */ l(Ur, {})
31285
+ /* @__PURE__ */ l(Lr, {})
31300
31286
  ] })
31301
31287
  }
31302
31288
  ),
31303
31289
  f === "off-site" && /* @__PURE__ */ l(
31304
- Qr,
31290
+ Yr,
31305
31291
  {
31306
31292
  control: i.control,
31307
31293
  name: "offsite_address",
31308
- render: ({ field: d }) => /* @__PURE__ */ X(jr, { children: [
31294
+ render: ({ field: d }) => /* @__PURE__ */ X(Xr, { children: [
31309
31295
  /* @__PURE__ */ l(qr, { children: "Warehouse Address" }),
31310
- /* @__PURE__ */ l(Lr, { children: /* @__PURE__ */ l(j0, { placeholder: "Enter warehouse address", ...d, disabled: o }) }),
31311
- /* @__PURE__ */ l(Ur, {})
31296
+ /* @__PURE__ */ l(jr, { children: /* @__PURE__ */ l(j0, { placeholder: "Enter warehouse address", ...d, disabled: o }) }),
31297
+ /* @__PURE__ */ l(Lr, {})
31312
31298
  ] })
31313
31299
  }
31314
31300
  ),
31315
31301
  f === "third-party" && /* @__PURE__ */ l(
31316
- Qr,
31302
+ Yr,
31317
31303
  {
31318
31304
  control: i.control,
31319
31305
  name: "fulfillment_agreement",
31320
31306
  render: () => {
31321
31307
  var d;
31322
- return /* @__PURE__ */ X(jr, { children: [
31323
- /* @__PURE__ */ l(Lr, { children: /* @__PURE__ */ l(
31308
+ return /* @__PURE__ */ X(Xr, { children: [
31309
+ /* @__PURE__ */ l(jr, { children: /* @__PURE__ */ l(
31324
31310
  z2,
31325
31311
  {
31326
31312
  label: "Fulfillment Agreement",
31327
31313
  placeholder: "Upload fulfillment agreement",
31328
31314
  hint: "Upload fully executed fulfillment agreement with 3rd party",
31329
- accept: ".pdf,application/pdf,.jpg,.jpeg,.png,.doc,.docx",
31315
+ accept: "image/*,application/pdf,.pdf",
31330
31316
  onFileSelect: (p) => h("fulfillment_agreement", p),
31331
31317
  error: (d = i.formState.errors.fulfillment_agreement) == null ? void 0 : d.message,
31332
31318
  isSubmitting: o,
31333
31319
  disabled: o
31334
31320
  }
31335
31321
  ) }),
31336
- /* @__PURE__ */ l(Ur, {})
31322
+ /* @__PURE__ */ l(Lr, {})
31337
31323
  ] });
31338
31324
  }
31339
31325
  }
31340
31326
  ),
31341
31327
  /* @__PURE__ */ l(
31342
- Qr,
31328
+ Yr,
31343
31329
  {
31344
31330
  control: i.control,
31345
31331
  name: "other_companies_involved",
31346
- render: ({ field: d }) => /* @__PURE__ */ X(jr, { children: [
31332
+ render: ({ field: d }) => /* @__PURE__ */ X(Xr, { children: [
31347
31333
  /* @__PURE__ */ l(qr, { children: "Are there any other companies involved in shipping or fulfilling product/service?" }),
31348
31334
  /* @__PURE__ */ X(Dt, { onValueChange: d.onChange, value: d.value, disabled: o, children: [
31349
- /* @__PURE__ */ l(Lr, { children: /* @__PURE__ */ l(st, { children: /* @__PURE__ */ l(Mt, { placeholder: "Select an option" }) }) }),
31335
+ /* @__PURE__ */ l(jr, { children: /* @__PURE__ */ l(st, { children: /* @__PURE__ */ l(Mt, { placeholder: "Select an option" }) }) }),
31350
31336
  /* @__PURE__ */ l(ut, { children: E1.map((p) => /* @__PURE__ */ l(lt, { value: p.value, children: p.label }, p.value)) })
31351
31337
  ] }),
31352
- /* @__PURE__ */ l(Ur, {})
31338
+ /* @__PURE__ */ l(Lr, {})
31353
31339
  ] })
31354
31340
  }
31355
31341
  ),
31356
31342
  s === "yes" && /* @__PURE__ */ l(
31357
- Qr,
31343
+ Yr,
31358
31344
  {
31359
31345
  control: i.control,
31360
31346
  name: "other_fulfillment_agreement",
31361
31347
  render: () => {
31362
31348
  var d;
31363
- return /* @__PURE__ */ X(jr, { children: [
31364
- /* @__PURE__ */ l(Lr, { children: /* @__PURE__ */ l(
31349
+ return /* @__PURE__ */ X(Xr, { children: [
31350
+ /* @__PURE__ */ l(jr, { children: /* @__PURE__ */ l(
31365
31351
  z2,
31366
31352
  {
31367
31353
  label: "Fulfillment Agreement for Other Companies",
31368
31354
  placeholder: "Upload fulfillment agreement",
31369
31355
  hint: "Upload fully executed fulfillment agreement",
31370
- accept: ".pdf,application/pdf,.jpg,.jpeg,.png,.doc,.docx",
31356
+ accept: "image/*,application/pdf,.pdf",
31371
31357
  onFileSelect: (p) => h("other_fulfillment_agreement", p),
31372
31358
  error: (d = i.formState.errors.other_fulfillment_agreement) == null ? void 0 : d.message,
31373
31359
  isSubmitting: o,
31374
31360
  disabled: o
31375
31361
  }
31376
31362
  ) }),
31377
- /* @__PURE__ */ l(Ur, {})
31363
+ /* @__PURE__ */ l(Lr, {})
31378
31364
  ] });
31379
31365
  }
31380
31366
  }
31381
31367
  ),
31382
31368
  /* @__PURE__ */ l(
31383
- Qr,
31369
+ Yr,
31384
31370
  {
31385
31371
  control: i.control,
31386
31372
  name: "recurring_services",
31387
- render: ({ field: d }) => /* @__PURE__ */ X(jr, { children: [
31373
+ render: ({ field: d }) => /* @__PURE__ */ X(Xr, { children: [
31388
31374
  /* @__PURE__ */ l(qr, { children: "Do you offer recurring or time-extended services?" }),
31389
31375
  /* @__PURE__ */ X(Dt, { onValueChange: d.onChange, value: d.value, disabled: o, children: [
31390
- /* @__PURE__ */ l(Lr, { children: /* @__PURE__ */ l(st, { children: /* @__PURE__ */ l(Mt, { placeholder: "Select an option" }) }) }),
31376
+ /* @__PURE__ */ l(jr, { children: /* @__PURE__ */ l(st, { children: /* @__PURE__ */ l(Mt, { placeholder: "Select an option" }) }) }),
31391
31377
  /* @__PURE__ */ l(ut, { children: E1.map((p) => /* @__PURE__ */ l(lt, { value: p.value, children: p.label }, p.value)) })
31392
31378
  ] }),
31393
- /* @__PURE__ */ l(Ur, {})
31379
+ /* @__PURE__ */ l(Lr, {})
31394
31380
  ] })
31395
31381
  }
31396
31382
  ),
31397
31383
  u === "yes" && /* @__PURE__ */ l(
31398
- Qr,
31384
+ Yr,
31399
31385
  {
31400
31386
  control: i.control,
31401
31387
  name: "recurring_services_description",
31402
- render: ({ field: d }) => /* @__PURE__ */ X(jr, { children: [
31388
+ render: ({ field: d }) => /* @__PURE__ */ X(Xr, { children: [
31403
31389
  /* @__PURE__ */ l(qr, { children: "Recurring Services Description and Duration" }),
31404
- /* @__PURE__ */ l(Lr, { children: /* @__PURE__ */ l(
31390
+ /* @__PURE__ */ l(jr, { children: /* @__PURE__ */ l(
31405
31391
  j0,
31406
31392
  {
31407
31393
  placeholder: "e.g., Monthly subscription, 12-month plan",
@@ -31409,105 +31395,105 @@ const cO = ii({
31409
31395
  disabled: o
31410
31396
  }
31411
31397
  ) }),
31412
- /* @__PURE__ */ l(Ur, {})
31398
+ /* @__PURE__ */ l(Lr, {})
31413
31399
  ] })
31414
31400
  }
31415
31401
  ),
31416
31402
  /* @__PURE__ */ l(
31417
- Qr,
31403
+ Yr,
31418
31404
  {
31419
31405
  control: i.control,
31420
31406
  name: "has_coa",
31421
- render: ({ field: d }) => /* @__PURE__ */ X(jr, { children: [
31407
+ render: ({ field: d }) => /* @__PURE__ */ X(Xr, { children: [
31422
31408
  /* @__PURE__ */ l(qr, { children: "Do you have a Certificate of Analysis (COA) for your product(s)?" }),
31423
31409
  /* @__PURE__ */ X(Dt, { onValueChange: d.onChange, value: d.value, disabled: o, children: [
31424
- /* @__PURE__ */ l(Lr, { children: /* @__PURE__ */ l(st, { children: /* @__PURE__ */ l(Mt, { placeholder: "Select an option" }) }) }),
31410
+ /* @__PURE__ */ l(jr, { children: /* @__PURE__ */ l(st, { children: /* @__PURE__ */ l(Mt, { placeholder: "Select an option" }) }) }),
31425
31411
  /* @__PURE__ */ l(ut, { children: E1.map((p) => /* @__PURE__ */ l(lt, { value: p.value, children: p.label }, p.value)) })
31426
31412
  ] }),
31427
- /* @__PURE__ */ l(Ur, {})
31413
+ /* @__PURE__ */ l(Lr, {})
31428
31414
  ] })
31429
31415
  }
31430
31416
  ),
31431
31417
  c === "yes" && /* @__PURE__ */ l(
31432
- Qr,
31418
+ Yr,
31433
31419
  {
31434
31420
  control: i.control,
31435
31421
  name: "coa_document",
31436
31422
  render: () => {
31437
31423
  var d;
31438
- return /* @__PURE__ */ X(jr, { children: [
31439
- /* @__PURE__ */ l(Lr, { children: /* @__PURE__ */ l(
31424
+ return /* @__PURE__ */ X(Xr, { children: [
31425
+ /* @__PURE__ */ l(jr, { children: /* @__PURE__ */ l(
31440
31426
  z2,
31441
31427
  {
31442
31428
  label: "Certificate of Analysis",
31443
31429
  placeholder: "Upload COA document",
31444
31430
  hint: "Upload the Certificate of Analysis document",
31445
- accept: ".pdf,application/pdf,.jpg,.jpeg,.png,.doc,.docx",
31431
+ accept: "image/*,application/pdf,.pdf",
31446
31432
  onFileSelect: (p) => h("coa_document", p),
31447
31433
  error: (d = i.formState.errors.coa_document) == null ? void 0 : d.message,
31448
31434
  isSubmitting: o,
31449
31435
  disabled: o
31450
31436
  }
31451
31437
  ) }),
31452
- /* @__PURE__ */ l(Ur, {})
31438
+ /* @__PURE__ */ l(Lr, {})
31453
31439
  ] });
31454
31440
  }
31455
31441
  }
31456
31442
  ),
31457
31443
  /* @__PURE__ */ l(
31458
- Qr,
31444
+ Yr,
31459
31445
  {
31460
31446
  control: i.control,
31461
31447
  name: "fulfillment_time",
31462
- render: ({ field: d }) => /* @__PURE__ */ X(jr, { children: [
31448
+ render: ({ field: d }) => /* @__PURE__ */ X(Xr, { children: [
31463
31449
  /* @__PURE__ */ l(qr, { children: "How long after charging the customer is the product fulfilled or service begun?" }),
31464
31450
  /* @__PURE__ */ X(Dt, { onValueChange: d.onChange, value: d.value, disabled: o, children: [
31465
- /* @__PURE__ */ l(Lr, { children: /* @__PURE__ */ l(st, { children: /* @__PURE__ */ l(Mt, { placeholder: "Select fulfillment time" }) }) }),
31451
+ /* @__PURE__ */ l(jr, { children: /* @__PURE__ */ l(st, { children: /* @__PURE__ */ l(Mt, { placeholder: "Select fulfillment time" }) }) }),
31466
31452
  /* @__PURE__ */ l(ut, { children: wO.map((p) => /* @__PURE__ */ l(lt, { value: p.value, children: p.label }, p.value)) })
31467
31453
  ] }),
31468
- /* @__PURE__ */ l(Ur, {})
31454
+ /* @__PURE__ */ l(Lr, {})
31469
31455
  ] })
31470
31456
  }
31471
31457
  ),
31472
31458
  /* @__PURE__ */ l(
31473
- Qr,
31459
+ Yr,
31474
31460
  {
31475
31461
  control: i.control,
31476
31462
  name: "delivery_time",
31477
- render: ({ field: d }) => /* @__PURE__ */ X(jr, { children: [
31463
+ render: ({ field: d }) => /* @__PURE__ */ X(Xr, { children: [
31478
31464
  /* @__PURE__ */ l(qr, { children: "How long after order does the cardholder receive the product/service?" }),
31479
31465
  /* @__PURE__ */ X(Dt, { onValueChange: d.onChange, value: d.value, disabled: o, children: [
31480
- /* @__PURE__ */ l(Lr, { children: /* @__PURE__ */ l(st, { children: /* @__PURE__ */ l(Mt, { placeholder: "Select delivery time" }) }) }),
31466
+ /* @__PURE__ */ l(jr, { children: /* @__PURE__ */ l(st, { children: /* @__PURE__ */ l(Mt, { placeholder: "Select delivery time" }) }) }),
31481
31467
  /* @__PURE__ */ l(ut, { children: kO.map((p) => /* @__PURE__ */ l(lt, { value: p.value, children: p.label }, p.value)) })
31482
31468
  ] }),
31483
- /* @__PURE__ */ l(Ur, {})
31469
+ /* @__PURE__ */ l(Lr, {})
31484
31470
  ] })
31485
31471
  }
31486
31472
  ),
31487
31473
  /* @__PURE__ */ l(
31488
- Qr,
31474
+ Yr,
31489
31475
  {
31490
31476
  control: i.control,
31491
31477
  name: "charge_time",
31492
- render: ({ field: d }) => /* @__PURE__ */ X(jr, { children: [
31478
+ render: ({ field: d }) => /* @__PURE__ */ X(Xr, { children: [
31493
31479
  /* @__PURE__ */ l(qr, { children: "When is the cardholder charged?" }),
31494
31480
  /* @__PURE__ */ X(Dt, { onValueChange: d.onChange, value: d.value, disabled: o, children: [
31495
- /* @__PURE__ */ l(Lr, { children: /* @__PURE__ */ l(st, { children: /* @__PURE__ */ l(Mt, { placeholder: "Select charge time" }) }) }),
31481
+ /* @__PURE__ */ l(jr, { children: /* @__PURE__ */ l(st, { children: /* @__PURE__ */ l(Mt, { placeholder: "Select charge time" }) }) }),
31496
31482
  /* @__PURE__ */ l(ut, { children: EO.map((p) => /* @__PURE__ */ l(lt, { value: p.value, children: p.label }, p.value)) })
31497
31483
  ] }),
31498
- /* @__PURE__ */ l(Ur, {})
31484
+ /* @__PURE__ */ l(Lr, {})
31499
31485
  ] })
31500
31486
  }
31501
31487
  ),
31502
31488
  /* @__PURE__ */ l(
31503
- Qr,
31489
+ Yr,
31504
31490
  {
31505
31491
  control: i.control,
31506
31492
  name: "return_policy",
31507
- render: ({ field: d }) => /* @__PURE__ */ X(jr, { children: [
31493
+ render: ({ field: d }) => /* @__PURE__ */ X(Xr, { children: [
31508
31494
  /* @__PURE__ */ l(qr, { children: "Return Policy" }),
31509
- /* @__PURE__ */ l(Lr, { children: /* @__PURE__ */ l(j0, { placeholder: "Describe your return policy", ...d, disabled: o }) }),
31510
- /* @__PURE__ */ l(Ur, {})
31495
+ /* @__PURE__ */ l(jr, { children: /* @__PURE__ */ l(j0, { placeholder: "Describe your return policy", ...d, disabled: o }) }),
31496
+ /* @__PURE__ */ l(Lr, {})
31511
31497
  ] })
31512
31498
  }
31513
31499
  ),
@@ -31595,7 +31581,7 @@ const ny = C.forwardRef(({ className: r, value: e, ...a }, t) => /* @__PURE__ */
31595
31581
  ty,
31596
31582
  {
31597
31583
  ref: t,
31598
- className: Or(
31584
+ className: Vr(
31599
31585
  "relative h-4 w-full overflow-hidden rounded-full bg-secondary",
31600
31586
  r
31601
31587
  ),
@@ -31625,12 +31611,12 @@ const FO = async ({
31625
31611
  setCurrentStep: c,
31626
31612
  toast: h
31627
31613
  }) => {
31628
- var k, $, O, L, J;
31614
+ var k, $, O, L, z;
31629
31615
  if (!r)
31630
31616
  return h({ title: "Error", description: "KYB ID missing.", variant: "destructive" }), !1;
31631
- const d = (D) => {
31632
- if (!D) return !1;
31633
- const K = Object.entries(D);
31617
+ const d = (V) => {
31618
+ if (!V) return !1;
31619
+ const K = Object.entries(V);
31634
31620
  return K.length === 0 || K.length === 1 && K[0][0] === "document_type" ? !1 : K.some(([j, rr]) => !(rr == null || typeof rr == "string" && rr.trim() === ""));
31635
31621
  }, p = !!((k = t.full_name) != null && k.trim()), b = !!(($ = t.title) != null && $.trim()), m = !!t.birth, _ = !!((O = t.phone_number) != null && O.trim()), E = !!t.id_photo, B = n === "passport" ? !0 : !!t.id_photo_back, x = !!t.selfie_photo;
31636
31622
  if (!p || !b || !m || !_)
@@ -31655,10 +31641,10 @@ const FO = async ({
31655
31641
  { status: "pending" },
31656
31642
  { headers: { "X-API-Key": a } }
31657
31643
  ), !0;
31658
- } catch (D) {
31659
- return console.error("Failed to update KYB status:", D), h({
31644
+ } catch (V) {
31645
+ return console.error("Failed to update KYB status:", V), h({
31660
31646
  title: "Submission Failed",
31661
- description: ((J = (L = D.response) == null ? void 0 : L.data) == null ? void 0 : J.message) || "Could not submit KYB.",
31647
+ description: ((z = (L = V.response) == null ? void 0 : L.data) == null ? void 0 : z.message) || "Could not submit KYB.",
31662
31648
  variant: "destructive"
31663
31649
  }), !1;
31664
31650
  }
@@ -31700,14 +31686,14 @@ const FO = async ({
31700
31686
  tax_identity_number: "",
31701
31687
  corporate_type: "",
31702
31688
  date_of_establishment: null
31703
- }), [L, J] = e0({
31689
+ }), [L, z] = e0({
31704
31690
  street: "",
31705
31691
  number: "",
31706
31692
  postal_code: "",
31707
31693
  city: "",
31708
31694
  address_country: "",
31709
31695
  state: ""
31710
- }), [D, K] = e0({
31696
+ }), [V, K] = e0({
31711
31697
  industry: "",
31712
31698
  business_model: "",
31713
31699
  annual_sales_volume: "",
@@ -31747,7 +31733,7 @@ const FO = async ({
31747
31733
  }, [o, A, h == null ? void 0 : h.enable_business_questionnaire]);
31748
31734
  ge(() => {
31749
31735
  (async () => {
31750
- var F, V, S, z, ar, q;
31736
+ var F, D, S, J, ar, q;
31751
31737
  if (!i || !r || !e || !h) {
31752
31738
  b(!1);
31753
31739
  return;
@@ -31773,14 +31759,14 @@ const FO = async ({
31773
31759
  if ((F = T.personal_details) != null && F.document_type) {
31774
31760
  const Ir = T.personal_details.document_type;
31775
31761
  Zr = jb[Ir] || "", k(Zr);
31776
- } else if ((V = T.personal_details) != null && V.id_photo) {
31762
+ } else if ((D = T.personal_details) != null && D.id_photo) {
31777
31763
  const Ir = Nu.find((o0) => T.personal_details.id_photo.includes(o0.id));
31778
31764
  Ir && (Zr = Ir.id, k(Zr));
31779
31765
  }
31780
31766
  const Tr = !fr(T.personal_details) || !fr(T.business_information) || !fr(T.business_address) || !fr(T.company_activity) || !fr(T.questionary) || !fr(T.company_documents);
31781
31767
  let Fr = "landing";
31782
31768
  if (Tr) {
31783
- const Ir = T.personal_details || {}, o0 = Ir.document_type ? jb[Ir.document_type] : Zr, u0 = !!((S = Ir.full_name) != null && S.trim()), Z = !!((z = Ir.email) != null && z.trim()), M = !!((ar = Ir.title) != null && ar.trim()), U = !!Ir.birth, nr = !!((q = Ir.phone_number) != null && q.trim()), ir = !!Ir.id_photo, tr = o0 === "passport" ? !0 : !!Ir.id_photo_back, lr = !!Ir.selfie_photo;
31769
+ const Ir = T.personal_details || {}, o0 = Ir.document_type ? jb[Ir.document_type] : Zr, u0 = !!((S = Ir.full_name) != null && S.trim()), Z = !!((J = Ir.email) != null && J.trim()), M = !!((ar = Ir.title) != null && ar.trim()), U = !!Ir.birth, nr = !!((q = Ir.phone_number) != null && q.trim()), ir = !!Ir.id_photo, tr = o0 === "passport" ? !0 : !!Ir.id_photo_back, lr = !!Ir.selfie_photo;
31784
31770
  !u0 || !Z || !M || !U || !nr ? Fr = "personal-details" : o0 ? ir ? tr ? lr ? fr(T.business_information) ? Fr = "business-information" : fr(T.business_address) ? Fr = "business-address" : fr(T.company_activity) ? Fr = "company-activity" : h.enable_business_questionnaire && fr(T.questionary) ? Fr = "questionary" : fr(T.company_documents) ? Fr = "company-documents" : Fr = "processing" : Fr = "pre-selfie" : Fr = "id-back" : Fr = "id-front" : Fr = "document-selection";
31785
31771
  }
31786
31772
  u(Fr), T.personal_details && B({
@@ -31793,7 +31779,7 @@ const FO = async ({
31793
31779
  id_photo: T.personal_details.id_photo || null,
31794
31780
  id_photo_back: T.personal_details.id_photo_back || null,
31795
31781
  document_type: T.personal_details.document_type || ""
31796
- }), T.business_information && O({ ...T.business_information }), T.business_address && J({ ...T.business_address }), T.company_activity && K({ ...T.company_activity }), T.company_documents && rr({ ...T.company_documents }), T.questionary && or({ ...T.questionary });
31782
+ }), T.business_information && O({ ...T.business_information }), T.business_address && z({ ...T.business_address }), T.company_activity && K({ ...T.company_activity }), T.company_documents && rr({ ...T.company_documents }), T.questionary && or({ ...T.questionary });
31797
31783
  } catch (er) {
31798
31784
  console.error("Failed to resume KYB:", er), c({ title: "Resume Failed", description: "Starting fresh.", variant: "destructive" });
31799
31785
  } finally {
@@ -31843,10 +31829,10 @@ const FO = async ({
31843
31829
  pO,
31844
31830
  {
31845
31831
  data: E,
31846
- onDataChange: (F) => B((V) => ({ ...V, ...F })),
31832
+ onDataChange: (F) => B((D) => ({ ...D, ...F })),
31847
31833
  onContinue: async (F) => {
31848
- let V = m;
31849
- if (!V)
31834
+ let D = m;
31835
+ if (!D)
31850
31836
  try {
31851
31837
  const ar = await y0.post(
31852
31838
  `${r}/api/kyb/`,
@@ -31861,7 +31847,7 @@ const FO = async ({
31861
31847
  });
31862
31848
  return;
31863
31849
  }
31864
- V = ar.data.id, _(V);
31850
+ D = ar.data.id, _(D);
31865
31851
  } catch {
31866
31852
  c({ title: "KYB Creation Failed", description: "Server error.", variant: "destructive" });
31867
31853
  return;
@@ -31871,7 +31857,7 @@ const FO = async ({
31871
31857
  "personal_details",
31872
31858
  S,
31873
31859
  {},
31874
- { apiEndpoint: r, apiKey: e, id: V, flow: "kyb" }
31860
+ { apiEndpoint: r, apiKey: e, id: D, flow: "kyb" }
31875
31861
  ) ? u("document-selection") : c({ title: "Save Failed", description: "Personal details not saved.", variant: "destructive" });
31876
31862
  },
31877
31863
  onBack: () => u("landing"),
@@ -31885,9 +31871,9 @@ const FO = async ({
31885
31871
  selectedDocumentType: x,
31886
31872
  onDocumentTypeChange: async (F) => {
31887
31873
  k(F);
31888
- const V = Xb[F], S = {
31874
+ const D = Xb[F], S = {
31889
31875
  ...E,
31890
- document_type: V,
31876
+ document_type: D,
31891
31877
  id_photo: null,
31892
31878
  id_photo_back: null
31893
31879
  };
@@ -31909,9 +31895,9 @@ const FO = async ({
31909
31895
  currentStep: s,
31910
31896
  onRetake: () => B((F) => ({ ...F, id_photo: null })),
31911
31897
  onConfirm: async (F) => {
31912
- const V = x ? Xb[x] : "", S = { ...E, id_photo: F, document_type: V };
31898
+ const D = x ? Xb[x] : "", S = { ...E, id_photo: F, document_type: D };
31913
31899
  B(S), await ue("personal_details", {
31914
- document_type: V
31900
+ document_type: D
31915
31901
  }, { id_photo: F }, g) ? u(x === "passport" ? "pre-selfie" : "id-back") : c({ title: "Upload Failed", description: "ID front not saved.", variant: "destructive" });
31916
31902
  },
31917
31903
  onBack: () => u("document-selection")
@@ -31928,8 +31914,8 @@ const FO = async ({
31928
31914
  currentStep: s,
31929
31915
  onRetake: () => B((F) => ({ ...F, id_photo_back: null })),
31930
31916
  onConfirm: async (F) => {
31931
- const V = { ...E, id_photo_back: F };
31932
- B(V), await ue("personal_details", {}, { id_photo_back: F }, g) ? u("pre-selfie") : c({ title: "Upload Failed", description: "ID back not saved.", variant: "destructive" });
31917
+ const D = { ...E, id_photo_back: F };
31918
+ B(D), await ue("personal_details", {}, { id_photo_back: F }, g) ? u("pre-selfie") : c({ title: "Upload Failed", description: "ID back not saved.", variant: "destructive" });
31933
31919
  },
31934
31920
  onBack: () => u("id-front")
31935
31921
  }
@@ -31952,8 +31938,8 @@ const FO = async ({
31952
31938
  currentStep: s,
31953
31939
  onRetake: () => B((F) => ({ ...F, selfie_photo: null })),
31954
31940
  onConfirm: async (F) => {
31955
- const V = { ...E, selfie_photo: F };
31956
- B(V), await ue("personal_details", {}, { selfie_photo: F }, g) ? u("business-information") : c({ title: "Upload Failed", description: "Selfie not saved.", variant: "destructive" });
31941
+ const D = { ...E, selfie_photo: F };
31942
+ B(D), await ue("personal_details", {}, { selfie_photo: F }, g) ? u("business-information") : c({ title: "Upload Failed", description: "Selfie not saved.", variant: "destructive" });
31957
31943
  },
31958
31944
  onBack: () => u("pre-selfie")
31959
31945
  }
@@ -31963,7 +31949,7 @@ const FO = async ({
31963
31949
  bO,
31964
31950
  {
31965
31951
  data: $,
31966
- onDataChange: (F) => O((V) => ({ ...V, ...F })),
31952
+ onDataChange: (F) => O((D) => ({ ...D, ...F })),
31967
31953
  onContinue: async (F) => {
31968
31954
  await ue("business_information", F, {}, g) ? u("business-address") : c({ title: "Save Failed", description: "Business info not saved.", variant: "destructive" });
31969
31955
  },
@@ -31977,7 +31963,7 @@ const FO = async ({
31977
31963
  {
31978
31964
  data: L,
31979
31965
  isBusinessAddress: !0,
31980
- onDataChange: (F) => J((V) => ({ ...V, ...F })),
31966
+ onDataChange: (F) => z((D) => ({ ...D, ...F })),
31981
31967
  onContinue: async (F) => {
31982
31968
  if (!await ue("business_address", F, {}, g)) {
31983
31969
  c({
@@ -31997,16 +31983,16 @@ const FO = async ({
31997
31983
  return y ? /* @__PURE__ */ l(
31998
31984
  uT,
31999
31985
  {
32000
- data: D,
32001
- onDataChange: (F) => K((V) => ({ ...V, ...F })),
31986
+ data: V,
31987
+ onDataChange: (F) => K((D) => ({ ...D, ...F })),
32002
31988
  onContinue: async (F) => {
32003
- const V = {
31989
+ const D = {
32004
31990
  industry: F.industry || "",
32005
31991
  business_model: F.business_model || "",
32006
31992
  annual_sales_volume: F.annual_sales_volume || "",
32007
31993
  website_url: F.website_url || ""
32008
31994
  };
32009
- if (!await ue("company_activity", V, {}, g)) {
31995
+ if (!await ue("company_activity", D, {}, g)) {
32010
31996
  c({
32011
31997
  title: "Save Failed",
32012
31998
  description: "Activity not saved.",
@@ -32025,12 +32011,12 @@ const FO = async ({
32025
32011
  CO,
32026
32012
  {
32027
32013
  data: Y,
32028
- onDataChange: (F) => or((V) => ({ ...V, ...F })),
32014
+ onDataChange: (F) => or((D) => ({ ...D, ...F })),
32029
32015
  onContinue: async (F) => {
32030
- const V = {};
32031
- F.fulfillment_agreement instanceof File && (V.fulfillment_agreement = F.fulfillment_agreement), F.other_fulfillment_agreement instanceof File && (V.other_fulfillment_agreement = F.other_fulfillment_agreement), F.coa_document instanceof File && (V.coa_document = F.coa_document);
32032
- const { fulfillment_agreement: S, other_fulfillment_agreement: z, coa_document: ar, ...q } = F;
32033
- if (!await ue("questionary", q, V, g)) {
32016
+ const D = {};
32017
+ F.fulfillment_agreement instanceof File && (D.fulfillment_agreement = F.fulfillment_agreement), F.other_fulfillment_agreement instanceof File && (D.other_fulfillment_agreement = F.other_fulfillment_agreement), F.coa_document instanceof File && (D.coa_document = F.coa_document);
32018
+ const { fulfillment_agreement: S, other_fulfillment_agreement: J, coa_document: ar, ...q } = F;
32019
+ if (!await ue("questionary", q, D, g)) {
32034
32020
  c({
32035
32021
  title: "Save Failed",
32036
32022
  description: "Questionnaire not saved.",
@@ -32051,19 +32037,19 @@ const FO = async ({
32051
32037
  iT,
32052
32038
  {
32053
32039
  data: j,
32054
- onDataChange: (F) => rr((V) => ({ ...V, ...F })),
32040
+ onDataChange: (F) => rr((D) => ({ ...D, ...F })),
32055
32041
  onContinue: async (F) => {
32056
- const V = {};
32042
+ const D = {};
32057
32043
  [
32058
32044
  "bank_statement",
32059
32045
  "company_structure",
32060
32046
  "certificate_of_registration",
32061
32047
  "void_cheque",
32062
32048
  "business_license"
32063
- ].forEach((z) => {
32064
- const ar = F[z];
32065
- ar != null && ar.length && (V[z] = ar.filter((q) => q instanceof File));
32066
- }), await ue("company_documents", {}, V, g) ? u("processing") : c({
32049
+ ].forEach((J) => {
32050
+ const ar = F[J];
32051
+ ar != null && ar.length && (D[J] = ar.filter((q) => q instanceof File));
32052
+ }), await ue("company_documents", {}, D, g) ? u("processing") : c({
32067
32053
  title: "Save Failed",
32068
32054
  description: "Documents not saved.",
32069
32055
  variant: "destructive"
@@ -32095,7 +32081,7 @@ const FO = async ({
32095
32081
  selectedDocumentType: x,
32096
32082
  businessInformation: $,
32097
32083
  businessAddress: L,
32098
- companyActivity: D,
32084
+ companyActivity: V,
32099
32085
  questionary: Y,
32100
32086
  companyDocuments: j,
32101
32087
  settingsData: h,
@@ -32105,7 +32091,7 @@ const FO = async ({
32105
32091
  personal_details: E,
32106
32092
  business_information: $,
32107
32093
  business_address: L,
32108
- company_activity: D,
32094
+ company_activity: V,
32109
32095
  company_documents: j,
32110
32096
  questionary: Y
32111
32097
  }), u("done"));