"use client";
import { jsx as d, jsxs as P, Fragment as Be } from "react/jsx-runtime";
import { DoctButton as j, DoctTypography as A, DoctOtpInput as ot, DoctCircularProgress as ge, DoctPhoneInput as rt, DoctLabeledInput as st } from "docthub-core-components";
import { MdArrowBack as at, MdChevronRight as ct } from "react-icons/md";
import K, { createContext as ut, useContext as dt, useState as Y, useEffect as J, useRef as ne } from "react";
import { useFormContext as le, Controller as de, useForm as xe, FormProvider as Ce } from "react-hook-form";
import { z as B } from "zod";
var ae = { exports: {} }, be = {};
var ke;
function ft() {
  if (ke) return be;
  ke = 1;
  var n = K.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
  return be.c = function(e) {
    return n.H.useMemoCache(e);
  }, be;
}
var ye = {};
var Re;
function mt() {
  return Re || (Re = 1, process.env.NODE_ENV !== "production" && (function() {
    var n = K.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
    ye.c = function(e) {
      var t = n.H;
      return t === null && console.error(
        `Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`
      ), t.useMemoCache(e);
    };
  })()), ye;
}
var Ie;
function ht() {
  return Ie || (Ie = 1, process.env.NODE_ENV === "production" ? ae.exports = ft() : ae.exports = mt()), ae.exports;
}
var _ = ht();
const ze = "/main-logo.svg", Ve = "/docthub.svg", Ge = ["/slider/slide-1.svg", "/slider/slide-2.svg", "/slider/slide-3.svg", "/slider/slide-4.svg", "/slider/slide-5.svg"], gt = 5e3, Se = "[&_main]:!justify-start [&_main]:!pt-5 md:[&_main]:!pt-[104px]";
function pe(n) {
  const e = _.c(4), {
    onClick: t,
    ariaLabel: l
  } = n, r = l === void 0 ? "Go back" : l;
  let o;
  e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ d(at, { className: "h-5 w-5 text-neutral-black" }), e[0] = o) : o = e[0];
  let i;
  return e[1] !== r || e[2] !== t ? (i = /* @__PURE__ */ d(j, { icon: o, iconOnly: !0, onClick: t, size: "medium", variant: "outline", "aria-label": r, className: "mb-4 md:mb-6 h-10 w-10" }), e[1] = r, e[2] = t, e[3] = i) : i = e[3], i;
}
function pt() {
  const n = typeof window < "u" ? window.location.hostname : "";
  return n.endsWith(".com") || n.includes(".com:") ? "https://www.dochub.com" : "https://dev.dochub.in/";
}
function He() {
  const n = _.c(4);
  let e;
  n[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = pt(), n[0] = e) : e = n[0];
  const t = e;
  let l, r;
  n[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = /* @__PURE__ */ d("br", {}), r = /* @__PURE__ */ d("a", { href: `${t}/terms-conditions`, className: "font-semibold text-neutral-black underline", children: "Terms of Use" }), n[1] = l, n[2] = r) : (l = n[1], r = n[2]);
  let o;
  return n[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ P(A, { variant: "body3", align: "center", className: "opacity-60 text-neutral-black", children: [
    "by continuing you agree to Docthub's",
    l,
    r,
    " ",
    "and",
    " ",
    /* @__PURE__ */ d("a", { href: `${t}/privacy-policy`, className: "font-semibold text-neutral-black underline", children: "Privacy Policy." })
  ] }), n[3] = o) : o = n[3], o;
}
const bt = "https://docthub.com/";
function yt(n) {
  const e = _.c(8);
  let t;
  e[0] !== n ? (t = n === void 0 ? {} : n, e[0] = n, e[1] = t) : t = e[1];
  const {
    onClick: l,
    href: r
  } = t, o = r === void 0 ? bt : r;
  let i;
  e[2] !== o || e[3] !== l ? (i = () => {
    if (l) {
      l();
      return;
    }
    typeof window < "u" && window.location.assign(o);
  }, e[2] = o, e[3] = l, e[4] = i) : i = e[4];
  const s = i;
  let a;
  e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ d("div", { className: "flex items-center justify-center p-2 bg-primary rounded-[10px]", children: /* @__PURE__ */ d(ct, { color: "white", className: "h-5 w-5" }) }), e[5] = a) : a = e[5];
  let c;
  return e[6] !== s ? (c = /* @__PURE__ */ d(j, { icon: a, iconPosition: "right", size: "large", variant: "outline", "aria-label": "Go to Enterprise Login", className: "hidden sm:flex items-center gap-4 border border-neutral-12 px-[22px] py-[14px]", onClick: s, children: "Enterprise Login" }), e[6] = s, e[7] = c) : c = e[7], c;
}
function qe(n) {
  var e, t, l = "";
  if (typeof n == "string" || typeof n == "number") l += n;
  else if (typeof n == "object") if (Array.isArray(n)) {
    var r = n.length;
    for (e = 0; e < r; e++) n[e] && (t = qe(n[e])) && (l && (l += " "), l += t);
  } else for (t in n) n[t] && (l && (l += " "), l += t);
  return l;
}
function D() {
  for (var n, e, t = 0, l = "", r = arguments.length; t < r; t++) (n = arguments[t]) && (e = qe(n)) && (l && (l += " "), l += e);
  return l;
}
const Ke = ut(null);
function Ne() {
  const n = dt(Ke);
  if (!n)
    throw new Error("AuthLayout compound components must be used within AuthLayout.Root");
  return n;
}
function vt(n, e) {
  return e === "md" ? "max-w-md" : e === "lg" ? "max-w-lg" : n === "desktop" ? "max-w-[320px]" : "max-w-[360px]";
}
function we(n = "center") {
  switch (n) {
    case "left":
      return {
        flex: "justify-start",
        text: "text-left"
      };
    case "right":
      return {
        flex: "justify-end",
        text: "text-right"
      };
    default:
      return {
        flex: "justify-center",
        text: "text-center"
      };
  }
}
const _e = "flex w-full mb-4 md:mb-4";
function xt(n) {
  const e = _.c(15), {
    children: t,
    variant: l,
    maxWidth: r,
    className: o
  } = n, i = l === void 0 ? "mobile" : l, s = r === void 0 ? "sm" : r;
  let a;
  e[0] !== s || e[1] !== i ? (a = vt(i, s), e[0] = s, e[1] = i, e[2] = a) : a = e[2];
  const c = a;
  let u;
  e[3] !== s || e[4] !== c || e[5] !== i ? (u = {
    variant: i,
    maxWidth: s,
    maxWidthClass: c
  }, e[3] = s, e[4] = c, e[5] = i, e[6] = u) : u = e[6];
  const h = u;
  let f;
  e[7] !== o ? (f = D("min-h-svh w-full bg-neutral-white flex flex-col", o), e[7] = o, e[8] = f) : f = e[8];
  let m;
  e[9] !== t || e[10] !== f ? (m = /* @__PURE__ */ d("div", { className: f, children: t }), e[9] = t, e[10] = f, e[11] = m) : m = e[11];
  let p;
  return e[12] !== h || e[13] !== m ? (p = /* @__PURE__ */ d(Ke.Provider, { value: h, children: m }), e[12] = h, e[13] = m, e[14] = p) : p = e[14], p;
}
function Ct(n) {
  const e = _.c(12), {
    children: t,
    className: l
  } = n, {
    variant: r
  } = Ne();
  if (r === "desktop") {
    let s;
    e[0] !== l ? (s = D("flex justify-end px-5 pt-5", l), e[0] = l, e[1] = s) : s = e[1];
    let a;
    e[2] !== t ? (a = /* @__PURE__ */ d("div", { className: "w-auto", children: t }), e[2] = t, e[3] = a) : a = e[3];
    let c;
    return e[4] !== s || e[5] !== a ? (c = /* @__PURE__ */ d("div", { className: s, children: a }), e[4] = s, e[5] = a, e[6] = c) : c = e[6], c;
  }
  let o;
  e[7] !== l ? (o = D("mb-4 w-full md:mb-6", l), e[7] = l, e[8] = o) : o = e[8];
  let i;
  return e[9] !== t || e[10] !== o ? (i = /* @__PURE__ */ d("div", { className: o, children: t }), e[9] = t, e[10] = o, e[11] = i) : i = e[11], i;
}
function St(n) {
  const e = _.c(6), {
    children: t,
    align: l,
    className: r
  } = n, o = l === void 0 ? "center" : l;
  let i;
  if (e[0] !== o || e[1] !== r) {
    const {
      flex: a
    } = we(o);
    i = D(_e, a, r), e[0] = o, e[1] = r, e[2] = i;
  } else
    i = e[2];
  let s;
  return e[3] !== t || e[4] !== i ? (s = /* @__PURE__ */ d("div", { className: i, children: t }), e[3] = t, e[4] = i, e[5] = s) : s = e[5], s;
}
function Nt(n) {
  const e = _.c(6), {
    children: t,
    align: l,
    className: r
  } = n, o = l === void 0 ? "center" : l;
  let i;
  if (e[0] !== o || e[1] !== r) {
    const {
      flex: a,
      text: c
    } = we(o);
    i = D(_e, a, c, r), e[0] = o, e[1] = r, e[2] = i;
  } else
    i = e[2];
  let s;
  return e[3] !== t || e[4] !== i ? (s = /* @__PURE__ */ d("div", { className: i, children: t }), e[3] = t, e[4] = i, e[5] = s) : s = e[5], s;
}
function wt(n) {
  const e = _.c(6), {
    children: t,
    align: l,
    className: r
  } = n, o = l === void 0 ? "center" : l;
  let i;
  if (e[0] !== o || e[1] !== r) {
    const {
      flex: a,
      text: c
    } = we(o);
    i = D(_e, a, c, r), e[0] = o, e[1] = r, e[2] = i;
  } else
    i = e[2];
  let s;
  return e[3] !== t || e[4] !== i ? (s = /* @__PURE__ */ d("div", { className: i, children: t }), e[3] = t, e[4] = i, e[5] = s) : s = e[5], s;
}
function _t(n) {
  const e = _.c(5), {
    children: t,
    className: l
  } = n;
  let r;
  e[0] !== l ? (r = D("w-full flex flex-col space-y-4 mb-4 md:mb-6", l), e[0] = l, e[1] = r) : r = e[1];
  let o;
  return e[2] !== t || e[3] !== r ? (o = /* @__PURE__ */ d("div", { className: r, children: t }), e[2] = t, e[3] = r, e[4] = o) : o = e[4], o;
}
function Et(n) {
  const e = _.c(10), {
    children: t,
    sm: l,
    className: r
  } = n, {
    maxWidthClass: o
  } = Ne();
  let i;
  e[0] !== r ? (i = D("flex-1 flex flex-col items-center justify-center", "px-5 py-8 md:py-12", "w-full", r), e[0] = r, e[1] = i) : i = e[1];
  const s = l ? "max-w-[320px]" : o;
  let a;
  e[2] !== s ? (a = D("w-full flex flex-col items-center", s), e[2] = s, e[3] = a) : a = e[3];
  let c;
  e[4] !== t || e[5] !== a ? (c = /* @__PURE__ */ d("div", { className: a, children: t }), e[4] = t, e[5] = a, e[6] = c) : c = e[6];
  let u;
  return e[7] !== i || e[8] !== c ? (u = /* @__PURE__ */ d("main", { className: i, children: c }), e[7] = i, e[8] = c, e[9] = u) : u = e[9], u;
}
function Pt(n) {
  const e = _.c(10), {
    children: t,
    className: l
  } = n, {
    maxWidthClass: r
  } = Ne();
  let o;
  e[0] !== l ? (o = D("px-5 py-6 md:py-8 w-full flex justify-center", l), e[0] = l, e[1] = o) : o = e[1];
  let i;
  e[2] !== r ? (i = D("w-full text-center", r), e[2] = r, e[3] = i) : i = e[3];
  let s;
  e[4] !== t || e[5] !== i ? (s = /* @__PURE__ */ d("div", { className: i, children: t }), e[4] = t, e[5] = i, e[6] = s) : s = e[6];
  let a;
  return e[7] !== o || e[8] !== s ? (a = /* @__PURE__ */ d("footer", { className: o, children: s }), e[7] = o, e[8] = s, e[9] = a) : a = e[9], a;
}
const q = {
  Root: xt,
  Header: Ct,
  Main: Et,
  Logo: St,
  Title: Nt,
  Description: wt,
  Body: _t,
  Footer: Pt
};
function Ot(n) {
  const e = _.c(38), {
    images: t,
    autoPlayInterval: l,
    className: r,
    hideIndicators: o,
    onSlideChange: i,
    activeIndex: s,
    onNavigate: a
  } = n, c = l === void 0 ? 5e3 : l, [u, h] = Y(0), f = s !== void 0, m = f ? s : u;
  let p, b;
  e[0] !== c || e[1] !== m || e[2] !== t.length || e[3] !== f || e[4] !== i ? (p = () => {
    if (c > 0 && t.length > 1) {
      const T = setInterval(() => {
        const k = (m + 1) % t.length;
        f || h(k), i?.(k);
      }, c);
      return () => clearInterval(T);
    }
  }, b = [c, t.length, m, f, i], e[0] = c, e[1] = m, e[2] = t.length, e[3] = f, e[4] = i, e[5] = p, e[6] = b) : (p = e[5], b = e[6]), J(p, b);
  let g, y;
  e[7] !== t.length || e[8] !== f || e[9] !== i ? (g = () => {
    !f && t.length > 0 && i?.(0);
  }, y = [t.length, f, i], e[7] = t.length, e[8] = f, e[9] = i, e[10] = g, e[11] = y) : (g = e[10], y = e[11]), J(g, y);
  let v;
  e[12] !== f || e[13] !== a || e[14] !== i ? (v = (T) => {
    f ? (a?.(T), i?.(T)) : (h(T), i?.(T));
  }, e[12] = f, e[13] = a, e[14] = i, e[15] = v) : v = e[15];
  const x = v;
  if (t.length === 0)
    return null;
  const N = t.length;
  let C;
  e[16] !== r ? (C = D("relative w-full h-full min-h-0", r), e[16] = r, e[17] = C) : C = e[17];
  const S = `${N * 100}%`, E = `translateX(-${m * 100 / N}%)`;
  let w;
  e[18] !== S || e[19] !== E ? (w = {
    width: S,
    transform: E
  }, e[18] = S, e[19] = E, e[20] = w) : w = e[20];
  let O;
  if (e[21] !== t || e[22] !== N) {
    let T;
    e[24] !== N ? (T = (k, I) => /* @__PURE__ */ d("div", { className: "relative flex-shrink-0 h-full", style: {
      width: `${100 / N}%`
    }, children: /* @__PURE__ */ d("img", { src: k, alt: `Slide ${I + 1}`, className: "h-full w-full object-cover object-center" }) }, `${k}-${I}`), e[24] = N, e[25] = T) : T = e[25], O = t.map(T), e[21] = t, e[22] = N, e[23] = O;
  } else
    O = e[23];
  let L;
  e[26] !== w || e[27] !== O ? (L = /* @__PURE__ */ d("div", { className: "relative w-full h-full overflow-hidden", children: /* @__PURE__ */ d("div", { className: "flex h-full transition-transform duration-500 ease-in-out", style: w, children: O }) }), e[26] = w, e[27] = O, e[28] = L) : L = e[28];
  let F;
  e[29] !== m || e[30] !== x || e[31] !== o || e[32] !== t ? (F = t.length > 1 && !o && /* @__PURE__ */ d("div", { className: "absolute -top-10 left-1/2 flex -translate-x-1/2 gap-2 z-20", children: t.map((T, k) => /* @__PURE__ */ d("button", { type: "button", onClick: () => x(k), className: D("h-1 rounded-[3px] transition-all duration-300", k === m ? "w-8 bg-neutral-white" : "w-2 bg-neutral-white/40"), "aria-label": `Go to slide ${k + 1}` }, `indicator-${T}-${k}`)) }), e[29] = m, e[30] = x, e[31] = o, e[32] = t, e[33] = F) : F = e[33];
  let W;
  return e[34] !== L || e[35] !== F || e[36] !== C ? (W = /* @__PURE__ */ P("div", { className: C, children: [
    L,
    F
  ] }), e[34] = L, e[35] = F, e[36] = C, e[37] = W) : W = e[37], W;
}
function Tt(n) {
  const e = _.c(15), {
    sliderImages: t,
    sliderAutoPlayInterval: l,
    activeSlideIndex: r,
    onSlideChange: o,
    ctaText: i,
    sliderTitles: s,
    className: a
  } = n, c = s?.[r];
  let u = i ?? null;
  if (c != null) {
    let b;
    e[0] !== c ? (b = typeof c == "string" ? /* @__PURE__ */ d(A, { variant: "h6", weight: "medium", align: "center", className: "whitespace-pre-line text-primary-170", children: c }) : c, e[0] = c, e[1] = b) : b = e[1], u = b;
  }
  let h;
  e[2] !== a ? (h = D("relative w-full h-[100dvh] transition-colors duration-500", a), e[2] = a, e[3] = h) : h = e[3];
  let f;
  e[4] !== u ? (f = u != null && /* @__PURE__ */ d("div", { className: D("absolute left-1/2 top-[152.5px] z-10 flex w-[328px] -translate-x-1/2 items-center justify-center text-center transition-opacity duration-300"), children: u }), e[4] = u, e[5] = f) : f = e[5];
  let m;
  e[6] !== r || e[7] !== o || e[8] !== l || e[9] !== t ? (m = /* @__PURE__ */ d("div", { className: "absolute inset-0", children: t.length > 0 ? /* @__PURE__ */ d(Ot, { images: t, autoPlayInterval: l, className: "h-full w-full", hideIndicators: !0, activeIndex: r, onSlideChange: o, onNavigate: o }) : /* @__PURE__ */ d("div", { className: "flex h-full w-full items-center justify-center bg-neutral-white/50 p-8", children: /* @__PURE__ */ d(A, { variant: "h6", weight: "medium", align: "center", className: "opacity-40 text-primary-170", children: "No slides configured" }) }) }), e[6] = r, e[7] = o, e[8] = l, e[9] = t, e[10] = m) : m = e[10];
  let p;
  return e[11] !== h || e[12] !== f || e[13] !== m ? (p = /* @__PURE__ */ P("div", { className: h, children: [
    f,
    m
  ] }), e[11] = h, e[12] = f, e[13] = m, e[14] = p) : p = e[14], p;
}
function At(n) {
  const e = _.c(23), {
    sliderImages: t,
    sliderAutoPlayInterval: l,
    ctaText: r,
    sliderTitles: o,
    className: i,
    marketingClassName: s,
    contentClassName: a,
    children: c
  } = n, u = l === void 0 ? 5e3 : l, [h, f] = Y(0), m = t ?? Ge;
  let p;
  e[0] !== i ? (p = D("min-h-svh w-full flex flex-1 flex-col bg-neutral-white transition-colors duration-500", i), e[0] = i, e[1] = p) : p = e[1];
  let b;
  e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b = {
    width: "calc(100dvh * 432 / 731)"
  }, e[2] = b) : b = e[2];
  let g;
  e[3] !== s ? (g = s && {
    className: s
  }, e[3] = s, e[4] = g) : g = e[4];
  let y;
  e[5] !== h || e[6] !== r || e[7] !== m || e[8] !== u || e[9] !== o || e[10] !== g ? (y = /* @__PURE__ */ d("div", { className: "hidden lg:block lg:h-[100dvh] lg:flex-shrink-0 lg:flex-grow-0", style: b, children: /* @__PURE__ */ d(Tt, { sliderImages: m, sliderAutoPlayInterval: u, activeSlideIndex: h, onSlideChange: f, ctaText: r, sliderTitles: o, ...g }) }), e[5] = h, e[6] = r, e[7] = m, e[8] = u, e[9] = o, e[10] = g, e[11] = y) : y = e[11];
  let v;
  e[12] !== a ? (v = D("flex-1 min-w-0 flex flex-col overflow-x-hidden", a), e[12] = a, e[13] = v) : v = e[13];
  let x;
  e[14] !== c || e[15] !== v ? (x = /* @__PURE__ */ d("div", { className: v, children: c }), e[14] = c, e[15] = v, e[16] = x) : x = e[16];
  let N;
  e[17] !== y || e[18] !== x ? (N = /* @__PURE__ */ P("div", { className: "flex w-full h-full min-h-svh flex-col lg:flex-row", children: [
    y,
    x
  ] }), e[17] = y, e[18] = x, e[19] = N) : N = e[19];
  let C;
  return e[20] !== p || e[21] !== N ? (C = /* @__PURE__ */ d("div", { className: p, children: N }), e[20] = p, e[21] = N, e[22] = C) : C = e[22], C;
}
function ie(n) {
  const e = _.c(58), {
    children: t,
    layoutType: l,
    logo: r,
    title: o,
    description: i,
    footer: s,
    header: a,
    onBack: c,
    backButton: u,
    sliderImages: h,
    sliderAutoPlayInterval: f,
    sliderTitles: m,
    variant: p,
    maxWidth: b,
    contentWidth: g,
    align: y,
    className: v
  } = n, x = l === void 0 ? "withSlider" : l, N = h === void 0 ? Ge : h, C = f === void 0 ? gt : f, S = b === void 0 ? "sm" : b, E = g === void 0 ? "default" : g, w = y === void 0 ? "center" : y, O = E === "sm", L = p ?? (x === "withSlider" ? "desktop" : "mobile");
  let F;
  e[0] !== u || e[1] !== r || e[2] !== c ? (F = () => u ?? (c != null ? /* @__PURE__ */ d(pe, { onClick: c }) : r ? typeof r == "string" ? /* @__PURE__ */ d("div", { className: "h-[30px] w-[140px]", children: /* @__PURE__ */ d("img", { src: r, alt: "Docthub", className: "block h-full w-full object-cover" }) }) : r : null), e[0] = u, e[1] = r, e[2] = c, e[3] = F) : F = e[3];
  const W = F;
  let T;
  e[4] !== w || e[5] !== o ? (T = () => o ? typeof o == "string" ? /* @__PURE__ */ d(A, { variant: "h5", weight: "extraBold", align: w, className: "text-neutral-black", children: o }) : o : null, e[4] = w, e[5] = o, e[6] = T) : T = e[6];
  const k = T;
  let I;
  e[7] !== w || e[8] !== i ? (I = () => i ? typeof i == "string" ? /* @__PURE__ */ d(A, { variant: "body1", align: w, className: "text-neutral-black", children: i }) : i : null, e[7] = w, e[8] = i, e[9] = I) : I = e[9];
  const M = I;
  let R;
  e[10] !== a ? (R = a && /* @__PURE__ */ d(q.Header, { children: a }), e[10] = a, e[11] = R) : R = e[11];
  let U;
  e[12] !== W ? (U = W(), e[12] = W, e[13] = U) : U = e[13];
  let V;
  e[14] !== w || e[15] !== U ? (V = /* @__PURE__ */ d(q.Logo, { align: w, children: U }), e[14] = w, e[15] = U, e[16] = V) : V = e[16];
  let G;
  e[17] !== w || e[18] !== k || e[19] !== o ? (G = o && /* @__PURE__ */ d(q.Title, { align: w, children: k() }), e[17] = w, e[18] = k, e[19] = o, e[20] = G) : G = e[20];
  let H;
  e[21] !== w || e[22] !== i || e[23] !== M ? (H = i && /* @__PURE__ */ d(q.Description, { align: w, children: M() }), e[21] = w, e[22] = i, e[23] = M, e[24] = H) : H = e[24];
  let $;
  e[25] !== t ? ($ = /* @__PURE__ */ d(q.Body, { children: t }), e[25] = t, e[26] = $) : $ = e[26];
  let z;
  e[27] !== V || e[28] !== G || e[29] !== H || e[30] !== $ || e[31] !== O ? (z = /* @__PURE__ */ P(q.Main, { sm: O, children: [
    V,
    G,
    H,
    $
  ] }), e[27] = V, e[28] = G, e[29] = H, e[30] = $, e[31] = O, e[32] = z) : z = e[32];
  let X;
  e[33] !== s ? (X = s && /* @__PURE__ */ d(q.Footer, { children: s }), e[33] = s, e[34] = X) : X = e[34];
  let oe;
  e[35] !== R || e[36] !== z || e[37] !== X ? (oe = /* @__PURE__ */ P(Be, { children: [
    R,
    z,
    X
  ] }), e[35] = R, e[36] = z, e[37] = X, e[38] = oe) : oe = e[38];
  const Z = oe;
  if (x === "withSlider") {
    let ee;
    e[39] !== v ? (ee = v && {
      className: v
    }, e[39] = v, e[40] = ee) : ee = e[40];
    let te;
    e[41] !== Z || e[42] !== S || e[43] !== L ? (te = /* @__PURE__ */ d(q.Root, { variant: L, maxWidth: S, className: "bg-transparent", children: Z }), e[41] = Z, e[42] = S, e[43] = L, e[44] = te) : te = e[44];
    let se;
    return e[45] !== C || e[46] !== N || e[47] !== m || e[48] !== ee || e[49] !== te ? (se = /* @__PURE__ */ d(At, { sliderImages: N, sliderAutoPlayInterval: C, sliderTitles: m, ...ee, children: te }), e[45] = C, e[46] = N, e[47] = m, e[48] = ee, e[49] = te, e[50] = se) : se = e[50], se;
  }
  let Q;
  e[51] !== v ? (Q = v && {
    className: v
  }, e[51] = v, e[52] = Q) : Q = e[52];
  let re;
  return e[53] !== Z || e[54] !== S || e[55] !== L || e[56] !== Q ? (re = /* @__PURE__ */ d(q.Root, { variant: L, maxWidth: S, ...Q, children: Z }), e[53] = Z, e[54] = S, e[55] = L, e[56] = Q, e[57] = re) : re = e[57], re;
}
function Lt(n) {
  return {
    triggerSignIn() {
    }
  };
}
const Fe = "https://accounts.google.com/gsi/client";
function kt() {
  return typeof window > "u" ? Promise.reject(new Error("GSI requires browser")) : window.google?.accounts?.id ? Promise.resolve() : new Promise((n, e) => {
    if (document.querySelector(`script[src="${Fe}"]`)) {
      const r = () => window.google?.accounts?.id ? n() : setTimeout(r, 50);
      r();
      return;
    }
    const l = document.createElement("script");
    l.src = Fe, l.async = !0, l.defer = !0, l.onload = () => n(), l.onerror = () => e(new Error("Failed to load Google Identity Services script")), document.body.appendChild(l);
  });
}
const Rt = "openid email profile", De = 2e3;
function It(n) {
  const e = _.c(18), {
    clientId: t,
    onCredential: l,
    enableOneTap: r
  } = n, o = r === void 0 ? !1 : r, i = ne(!1), s = ne(null), a = ne(l), c = ne(0), u = ne(!1);
  let h, f;
  e[0] !== l ? (h = () => {
    a.current = l;
  }, f = [l], e[0] = l, e[1] = h, e[2] = f) : (h = e[1], f = e[2]), J(h, f);
  let m;
  e[3] !== t ? (m = async () => {
    t && (await kt(), !(!window.google?.accounts?.id || !window.google?.accounts?.oauth2) && (i.current || (window.google.accounts.id.initialize({
      client_id: t,
      callback: (S) => {
        a.current(S.credential);
      },
      auto_select: !1
    }), s.current = window.google.accounts.oauth2.initCodeClient({
      client_id: t,
      scope: Rt,
      ux_mode: "popup",
      callback: (S) => {
        a.current(S.code);
      },
      error_callback: Ft
    }), i.current = !0)));
  }, e[3] = t, e[4] = m) : m = e[4];
  const p = m;
  let b;
  e[5] !== t ? (b = async () => {
    if (!t)
      return;
    const S = Date.now();
    S - c.current < De || (c.current = S, s.current?.requestCode());
  }, e[5] = t, e[6] = b) : b = e[6];
  const g = b;
  let y, v;
  e[7] !== t || e[8] !== p ? (y = () => {
    t && p();
  }, v = [t, p], e[7] = t, e[8] = p, e[9] = y, e[10] = v) : (y = e[9], v = e[10]), J(y, v);
  let x, N;
  e[11] !== t || e[12] !== o || e[13] !== p ? (x = () => {
    !o || !t || u.current || (u.current = !0, p().then(() => {
      if (!window.google?.accounts?.id)
        return;
      const S = Date.now();
      S - c.current < De || (c.current = S, window.google.accounts.id.prompt());
    }));
  }, N = [o, t, p], e[11] = t, e[12] = o, e[13] = p, e[14] = x, e[15] = N) : (x = e[14], N = e[15]), J(x, N);
  let C;
  return e[16] !== g ? (C = {
    loginWithGoogle: g
  }, e[16] = g, e[17] = C) : C = e[17], C;
}
function Ft() {
}
function Dt(n) {
  const e = _.c(10), {
    name: t,
    label: l,
    className: r,
    control: o,
    length: i,
    inputClassName: s,
    autoFocus: a
  } = n, c = i === void 0 ? 6 : i, u = le(), h = o || u.control;
  let f;
  e[0] !== a || e[1] !== r || e[2] !== s || e[3] !== l || e[4] !== c ? (f = (p) => {
    const {
      field: b,
      fieldState: g
    } = p;
    return /* @__PURE__ */ P("div", { children: [
      l && /* @__PURE__ */ d("label", { className: "block mb-1", children: l }),
      /* @__PURE__ */ d(ot, { length: c, value: b.value || [], onChange: b.onChange, ...a !== void 0 && {
        autoFocus: a
      }, ...r && {
        className: r
      }, ...s && {
        inputClassName: s
      }, ...g.error?.message !== void 0 && g.error?.message !== "" && {
        error: g.error.message
      } })
    ] });
  }, e[0] = a, e[1] = r, e[2] = s, e[3] = l, e[4] = c, e[5] = f) : f = e[5];
  let m;
  return e[6] !== t || e[7] !== h || e[8] !== f ? (m = /* @__PURE__ */ d(de, { name: t, control: h, render: f }), e[6] = t, e[7] = h, e[8] = f, e[9] = m) : m = e[9], m;
}
function $t(n) {
  return n.trim().replace(/\b\w/g, (e) => e.toUpperCase());
}
const Ee = B.string().trim().min(1, "Full name is required").refine((n) => n == null || n.length === 0 ? !0 : n.length >= 3, "Full name must be at least 3 characters").transform($t), Pe = B.string().trim().min(1, "Phone number is required").refine((n) => {
  if (n == null || n.length === 0) return !0;
  const [, e] = n.split("-"), l = (e ?? n).replaceAll(/\D/g, "");
  return l.length >= 7 && l.length <= 15;
}, "Phone number must be between 7 and 15 digits"), Oe = B.string().trim().transform((n) => n.replaceAll(/\D/g, "")).optional(), Te = B.string().trim().min(1, "Email is required").refine((n) => n == null || n.length === 0 ? !0 : B.string().email().safeParse(n).success, "Enter a valid email address").transform((n) => n.toLowerCase()), Wt = B.object({
  fullName: Ee,
  phone: Pe,
  countryCode: Oe
}), Mt = B.object({
  fullName: Ee,
  email: Te
}), Ut = B.object({
  fullName: Ee,
  email: Te,
  phone: Pe,
  countryCode: Oe
}), $e = {
  phone: Wt,
  email: Mt,
  foreign: Ut
}, jt = B.object({
  phone: Pe,
  countryCode: Oe
}), Bt = B.object({
  email: Te
}), We = {
  phone: jt,
  email: Bt
}, fe = 6, zt = 60, Vt = 120;
function Gt(n) {
  return n === "phone" ? zt : Vt;
}
const Ye = B.object({
  otp: B.array(B.string()).length(fe, "Enter all 6 digits").refine((n) => n.every((e) => /^\d$/.test(e)) && n.join("").length === fe, "Invalid OTP! Please use correct code and submit again.")
}), Ht = {
  phone: "Kindly check your Mobile.",
  email: "Kindly check your Email Inbox."
}, qt = {
  phone: "6 digit OTP has been sent to your Mobile",
  email: "6 digit OTP has been sent to your Email"
};
function Kt(n) {
  const e = _.c(30), {
    mode: t,
    onSubmit: l,
    onResendCode: r,
    submitApi: o,
    onSuccess: i,
    onError: s,
    validate: a
  } = n, [c, u] = Y(!1);
  let h;
  e[0] !== t ? (h = Gt(t), e[0] = t, e[1] = h) : h = e[1];
  const f = h, [m, p] = Y(f), b = m <= 0;
  let g;
  e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (g = Array.from({
    length: fe
  }, Xt), e[2] = g) : g = e[2];
  const y = g;
  let v;
  e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = {
    defaultValues: {
      otp: y
    },
    mode: "onChange"
  }, e[3] = v) : v = e[3];
  const x = xe(v);
  let N, C;
  e[4] !== m ? (N = () => {
    if (m <= 0)
      return;
    const V = setInterval(() => {
      p(Jt);
    }, 1e3);
    return () => clearInterval(V);
  }, C = [m], e[4] = m, e[5] = N, e[6] = C) : (N = e[5], C = e[6]), J(N, C);
  let S;
  e[7] !== x || e[8] !== s || e[9] !== l || e[10] !== i || e[11] !== o || e[12] !== a ? (S = async (V) => {
    x.clearErrors("otp");
    const G = Ye.safeParse(V);
    if (!G.success) {
      const $ = G.error.issues[0]?.message ?? "Invalid OTP";
      x.setError("otp", {
        message: $
      });
      return;
    }
    const H = G.data.otp.join("");
    if (a) {
      u(!0);
      try {
        const $ = await a(H);
        if ($ !== !0) {
          x.setError("otp", {
            type: "validate",
            message: $
          }), u(!1);
          return;
        }
      } catch ($) {
        s?.($), u(!1);
        return;
      }
      o || u(!1);
    }
    if (o) {
      u(!0), o(H).then(() => {
        i?.();
      }).catch(($) => {
        const z = $?.message;
        x.setError("otp", {
          type: "submit",
          message: typeof z == "string" && z.length > 0 ? z : "OTP verification failed"
        }), s?.($);
      }).finally(() => {
        u(!1);
      });
      return;
    }
    l?.(H);
  }, e[7] = x, e[8] = s, e[9] = l, e[10] = i, e[11] = o, e[12] = a, e[13] = S) : S = e[13];
  const E = S;
  let w;
  e[14] !== b || e[15] !== f || e[16] !== r ? (w = () => {
    b && (r?.(), p(f));
  }, e[14] = b, e[15] = f, e[16] = r, e[17] = w) : w = e[17];
  const O = w, L = Yt, F = Math.floor(m / 60), W = m % 60, T = String(F);
  let k;
  e[18] !== T ? (k = T.padStart(2, "0"), e[18] = T, e[19] = k) : k = e[19];
  const I = String(W);
  let M;
  e[20] !== I ? (M = I.padStart(2, "0"), e[20] = I, e[21] = M) : M = e[21];
  const R = `Resend code in: ${k}:${M}`;
  let U;
  return e[22] !== b || e[23] !== O || e[24] !== E || e[25] !== c || e[26] !== x || e[27] !== m || e[28] !== R ? (U = {
    methods: x,
    handleSubmit: E,
    isFormValid: L,
    handleResend: O,
    resendSecondsLeft: m,
    canResend: b,
    timerText: R,
    isSubmitting: c
  }, e[22] = b, e[23] = O, e[24] = E, e[25] = c, e[26] = x, e[27] = m, e[28] = R, e[29] = U) : U = e[29], U;
}
function Yt(n) {
  return Ye.safeParse(n).success;
}
function Jt(n) {
  return n <= 1 ? 0 : n - 1;
}
function Xt() {
  return "";
}
function Zt(n) {
  const e = _.c(28), {
    mode: t,
    title: l,
    recipientDisplay: r,
    isForeignUser: o,
    handleSubmit: i,
    handleResend: s,
    canResend: a,
    timerText: c,
    isSubmitting: u
  } = n, h = le();
  let f;
  e[0] !== i || e[1] !== h ? (f = h.handleSubmit(i), e[0] = i, e[1] = h, e[2] = f) : f = e[2];
  let m;
  e[3] !== l ? (m = /* @__PURE__ */ d(A, { variant: "h5", weight: "extraBold", align: "left", className: "mb-2 text-neutral-black", children: l }), e[3] = l, e[4] = m) : m = e[4];
  const p = o ? "mb-2 text-neutral-black" : "mb-6 text-neutral-black";
  let b;
  e[5] !== r || e[6] !== p ? (b = /* @__PURE__ */ d(A, { variant: "title2", align: "left", className: p, children: r }), e[5] = r, e[6] = p, e[7] = b) : b = e[7];
  let g;
  e[8] !== o || e[9] !== t ? (g = o && /* @__PURE__ */ d(A, { variant: "textLabel1", weight: "semiBold", align: "left", className: "mb-6 text-neutral-black", children: Ht[t] }), e[8] = o, e[9] = t, e[10] = g) : g = e[10];
  let y;
  e[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (y = /* @__PURE__ */ d("div", { className: "mb-4 flex w-full flex-col gap-[12px]", children: /* @__PURE__ */ d(Dt, { name: "otp", length: fe, autoFocus: !0, inputClassName: "!h-[44px] !w-[44px]" }) }), e[11] = y) : y = e[11];
  let v;
  e[12] !== a || e[13] !== s || e[14] !== c ? (v = /* @__PURE__ */ d("div", { className: "mb-6 font-medium flex items-center gap-2", children: a ? /* @__PURE__ */ d(j, { type: "button", variant: "outline", size: "small", onClick: s, className: "!h-[28px]", children: "Resend Code" }) : /* @__PURE__ */ d(A, { variant: "textLabel3", align: "left", className: "text-neutral-black", children: c }) }), e[12] = a, e[13] = s, e[14] = c, e[15] = v) : v = e[15];
  let x;
  e[16] !== u ? (x = u ? /* @__PURE__ */ d(ge, { size: 32, strokeWidth: 2 }) : "Submit", e[16] = u, e[17] = x) : x = e[17];
  let N;
  e[18] !== u || e[19] !== x ? (N = /* @__PURE__ */ d(j, { type: "submit", variant: "primary", size: "large", fullWidth: !0, disabled: u, children: x }), e[18] = u, e[19] = x, e[20] = N) : N = e[20];
  let C;
  return e[21] !== f || e[22] !== m || e[23] !== b || e[24] !== g || e[25] !== v || e[26] !== N ? (C = /* @__PURE__ */ P("form", { onSubmit: f, className: "flex w-full flex-col", noValidate: !0, children: [
    m,
    b,
    g,
    y,
    v,
    N
  ] }), e[21] = f, e[22] = m, e[23] = b, e[24] = g, e[25] = v, e[26] = N, e[27] = C) : C = e[27], C;
}
function Je(n) {
  const e = _.c(21), {
    mode: t,
    title: l,
    recipientDisplay: r,
    isForeignUser: o,
    onSubmit: i,
    onResendCode: s,
    submitApi: a,
    onSuccess: c,
    onError: u,
    validate: h
  } = n, f = o === void 0 ? !1 : o;
  let m;
  e[0] !== t || e[1] !== u || e[2] !== s || e[3] !== i || e[4] !== c || e[5] !== a || e[6] !== h ? (m = {
    mode: t,
    onSubmit: i,
    onResendCode: s,
    submitApi: a,
    onSuccess: c,
    onError: u,
    validate: h
  }, e[0] = t, e[1] = u, e[2] = s, e[3] = i, e[4] = c, e[5] = a, e[6] = h, e[7] = m) : m = e[7];
  const {
    methods: p,
    handleSubmit: b,
    handleResend: g,
    canResend: y,
    timerText: v,
    isSubmitting: x
  } = Kt(m), N = l ?? qt[t];
  let C;
  e[8] !== y || e[9] !== N || e[10] !== g || e[11] !== b || e[12] !== f || e[13] !== x || e[14] !== t || e[15] !== r || e[16] !== v ? (C = /* @__PURE__ */ d(Zt, { mode: t, title: N, recipientDisplay: r, isForeignUser: f, handleSubmit: b, handleResend: g, canResend: y, timerText: v, isSubmitting: x }), e[8] = y, e[9] = N, e[10] = g, e[11] = b, e[12] = f, e[13] = x, e[14] = t, e[15] = r, e[16] = v, e[17] = C) : C = e[17];
  let S;
  return e[18] !== p || e[19] !== C ? (S = /* @__PURE__ */ d(Ce, { ...p, children: C }), e[18] = p, e[19] = C, e[20] = S) : S = e[20], S;
}
function Bn(n) {
  const e = _.c(24);
  let t, l, r, o;
  e[0] !== n ? ({
    layoutType: r,
    variant: o,
    onBack: l,
    ...t
  } = n, e[0] = n, e[1] = t, e[2] = l, e[3] = r, e[4] = o) : (t = e[1], l = e[2], r = e[3], o = e[4]);
  const i = r === void 0 ? "withSlider" : r;
  let s;
  e[5] !== l ? (s = l != null ? /* @__PURE__ */ d(pe, { onClick: l }) : void 0, e[5] = l, e[6] = s) : s = e[6];
  let a;
  e[7] !== t.isForeignUser || e[8] !== t.mode || e[9] !== t.onError || e[10] !== t.onResendCode || e[11] !== t.onSubmit || e[12] !== t.onSuccess || e[13] !== t.recipientDisplay || e[14] !== t.submitApi || e[15] !== t.title || e[16] !== t.validate || e[17] !== l ? (a = /* @__PURE__ */ d(Je, { mode: t.mode, recipientDisplay: t.recipientDisplay, title: t.title, isForeignUser: t.isForeignUser, onBack: l, onSubmit: t.onSubmit, onResendCode: t.onResendCode, submitApi: t.submitApi, onSuccess: t.onSuccess, onError: t.onError, validate: t.validate }), e[7] = t.isForeignUser, e[8] = t.mode, e[9] = t.onError, e[10] = t.onResendCode, e[11] = t.onSubmit, e[12] = t.onSuccess, e[13] = t.recipientDisplay, e[14] = t.submitApi, e[15] = t.title, e[16] = t.validate, e[17] = l, e[18] = a) : a = e[18];
  let c;
  return e[19] !== i || e[20] !== s || e[21] !== a || e[22] !== o ? (c = /* @__PURE__ */ d(ie, { layoutType: i, variant: o, contentWidth: "sm", align: "left", backButton: s, className: Se, children: a }), e[19] = i, e[20] = s, e[21] = a, e[22] = o, e[23] = c) : c = e[23], c;
}
function Xe(n, e) {
  if (e)
    return `${n ? `+${n} ` : ""}${e}`;
}
function Qt(n) {
  return n.conflictField === "phone" ? n.existingEmail : Xe(n.existingCountryCode, n.existingPhone);
}
function en(n) {
  return n.conflictField === "phone" ? `Login with '${Xe(n.newCountryCode, n.newPhone) ?? ""}'` : `Login with '${n.newEmail}'`;
}
function Me(n) {
  const e = Qt(n);
  return n.conflictField === "phone" ? e ? `This number is already linked to a Docthub account (${e})` : "This number is already linked to a Docthub account" : e ? `This email is already linked to a Docthub account (${e})` : "This email is already linked to a Docthub account";
}
function tn(n) {
  return /* @__PURE__ */ P(A, { variant: "body1", align: "center", className: "mb-4 text-[16px] font-normal leading-6 text-black md:mb-6", children: [
    "Please tell us your ",
    /* @__PURE__ */ d("span", { className: "font-bold", children: "Full Name" }),
    " and",
    " ",
    /* @__PURE__ */ d("span", { className: "font-bold", children: n.conflictField === "phone" ? "Mobile Number" : "Email Address" }),
    " ",
    "for extended security of your account."
  ] });
}
function nn(n) {
  const e = _.c(7), {
    label: t,
    value: l
  } = n;
  let r;
  e[0] !== t ? (r = /* @__PURE__ */ d("span", { className: "text-[8px] leading-[11px] text-black/60", children: t }), e[0] = t, e[1] = r) : r = e[1];
  let o;
  e[2] !== l ? (o = /* @__PURE__ */ d("span", { className: "truncate text-[14px] leading-5 text-black", children: l }), e[2] = l, e[3] = o) : o = e[3];
  let i;
  return e[4] !== r || e[5] !== o ? (i = /* @__PURE__ */ P("div", { className: "flex h-[44px] w-full flex-col justify-center gap-[6px] overflow-hidden rounded-lg border border-black/10 bg-white px-3 pb-3 pt-[9px]", children: [
    r,
    o
  ] }), e[4] = r, e[5] = o, e[6] = i) : i = e[6], i;
}
function ln(n) {
  const e = _.c(13), {
    countryCode: t,
    value: l,
    error: r
  } = n, o = t ?? "";
  let i;
  e[0] !== o ? (i = /* @__PURE__ */ P("span", { className: "w-[42px] shrink-0 text-center text-[14px] leading-5 text-black", children: [
    "+",
    o
  ] }), e[0] = o, e[1] = i) : i = e[1];
  let s;
  e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ d("div", { className: "h-[42px] w-px shrink-0 bg-black/10" }), e[2] = s) : s = e[2];
  let a;
  e[3] !== l ? (a = /* @__PURE__ */ d("span", { className: "truncate text-[14px] leading-5 text-black", children: l }), e[3] = l, e[4] = a) : a = e[4];
  let c;
  e[5] !== i || e[6] !== a ? (c = /* @__PURE__ */ P("div", { className: "flex w-full items-center gap-3 overflow-hidden rounded-lg border border-black/10 bg-white px-3 py-px", children: [
    i,
    s,
    a
  ] }), e[5] = i, e[6] = a, e[7] = c) : c = e[7];
  let u;
  e[8] !== r ? (u = r ? /* @__PURE__ */ d("p", { className: "text-[11px] font-medium leading-4 text-[#EA4335]", children: r }) : null, e[8] = r, e[9] = u) : u = e[9];
  let h;
  return e[10] !== c || e[11] !== u ? (h = /* @__PURE__ */ P("div", { className: "flex w-full flex-col gap-[6px]", children: [
    c,
    u
  ] }), e[10] = c, e[11] = u, e[12] = h) : h = e[12], h;
}
function on(n) {
  const e = _.c(12), {
    label: t,
    value: l,
    error: r
  } = n;
  let o;
  e[0] !== t ? (o = /* @__PURE__ */ d("span", { className: "text-[8px] leading-[11px] text-black/60", children: t }), e[0] = t, e[1] = o) : o = e[1];
  let i;
  e[2] !== l ? (i = /* @__PURE__ */ d("span", { className: "truncate text-[14px] leading-5 text-black", children: l }), e[2] = l, e[3] = i) : i = e[3];
  let s;
  e[4] !== o || e[5] !== i ? (s = /* @__PURE__ */ P("div", { className: "flex h-[44px] w-full flex-col justify-center gap-[6px] overflow-hidden rounded-lg border border-black/10 bg-white px-3 pb-3 pt-[9px]", children: [
    o,
    i
  ] }), e[4] = o, e[5] = i, e[6] = s) : s = e[6];
  let a;
  e[7] !== r ? (a = r ? /* @__PURE__ */ d("p", { className: "text-[11px] font-medium leading-4 text-[#EA4335]", children: r }) : null, e[7] = r, e[8] = a) : a = e[8];
  let c;
  return e[9] !== s || e[10] !== a ? (c = /* @__PURE__ */ P("div", { className: "flex w-full flex-col gap-[6px]", children: [
    s,
    a
  ] }), e[9] = s, e[10] = a, e[11] = c) : c = e[11], c;
}
function rn(n) {
  const e = _.c(10), {
    ctaLabel: t,
    isSubmitting: l,
    onContinue: r
  } = n;
  let o;
  e[0] !== t || e[1] !== l ? (o = l ? /* @__PURE__ */ d(ge, { size: 32, strokeWidth: 2 }) : t, e[0] = t, e[1] = l, e[2] = o) : o = e[2];
  let i;
  e[3] !== l || e[4] !== r || e[5] !== o ? (i = /* @__PURE__ */ d(j, { type: "button", variant: "outline", size: "large", fullWidth: !0, disabled: l, onClick: r, className: "!rounded-[10px] !border-2 !border-black/10 !bg-transparent !px-4 !py-[13px] !text-[14px] !font-semibold !leading-5 !text-black/80 hover:!bg-transparent", children: o }), e[3] = l, e[4] = r, e[5] = o, e[6] = i) : i = e[6];
  let s;
  e[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ d(A, { variant: "textLabel3", align: "center", className: "w-full text-center text-[8px] font-normal leading-[11px] text-black/45", children: "your accounts will be unified on login" }), e[7] = s) : s = e[7];
  let a;
  return e[8] !== i ? (a = /* @__PURE__ */ P("div", { className: "flex w-full flex-col gap-[6px] rounded-xl bg-black/[0.04] p-3", children: [
    i,
    s
  ] }), e[8] = i, e[9] = a) : a = e[9], a;
}
function sn(n) {
  const e = _.c(20), {
    details: t,
    isSubmitting: l,
    errorMessage: r,
    onContinue: o
  } = n;
  let i;
  e[0] !== t.name ? (i = /* @__PURE__ */ d(nn, { label: "Full Name", value: t.name }), e[0] = t.name, e[1] = i) : i = e[1];
  let s;
  e[2] !== t ? (s = t.conflictField === "phone" ? /* @__PURE__ */ d(ln, { countryCode: t.newCountryCode, value: t.newPhone ?? "", error: Me(t) }) : /* @__PURE__ */ d(on, { label: "Email address", value: t.newEmail, error: Me(t) }), e[2] = t, e[3] = s) : s = e[3];
  let a;
  e[4] !== i || e[5] !== s ? (a = /* @__PURE__ */ P("div", { className: "flex w-full flex-col gap-3", children: [
    i,
    s
  ] }), e[4] = i, e[5] = s, e[6] = a) : a = e[6];
  let c;
  e[7] !== t ? (c = en(t), e[7] = t, e[8] = c) : c = e[8];
  let u;
  e[9] !== l || e[10] !== o || e[11] !== c ? (u = /* @__PURE__ */ d(rn, { ctaLabel: c, isSubmitting: l, onContinue: o }), e[9] = l, e[10] = o, e[11] = c, e[12] = u) : u = e[12];
  let h;
  e[13] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ d("div", { "aria-disabled": "true", className: "flex w-full items-center justify-center rounded-xl bg-black/[0.06] px-5 py-4 text-base font-semibold leading-[22px] text-black/20", children: "Continue" }), e[13] = h) : h = e[13];
  let f;
  e[14] !== r ? (f = r ? /* @__PURE__ */ d(A, { variant: "body5", align: "center", className: "mt-4 text-[11px] font-medium leading-4 text-[#EA4335]", children: r }) : null, e[14] = r, e[15] = f) : f = e[15];
  let m;
  return e[16] !== a || e[17] !== u || e[18] !== f ? (m = /* @__PURE__ */ P("div", { className: "flex w-full flex-col gap-4", children: [
    a,
    u,
    h,
    f
  ] }), e[16] = a, e[17] = u, e[18] = f, e[19] = m) : m = e[19], m;
}
function an(n) {
  return n.otpTarget?.type === "email" ? "6 digit OTP has been sent to your old Email" : "6 digit OTP has been sent to your old Mobile";
}
function cn(n) {
  const e = n.otpTarget;
  return e ? e.maskedValue ?? e.value : "";
}
function zn(n) {
  const {
    details: e,
    onBack: t,
    onContinue: l,
    onVerify: r,
    onResendCode: o
  } = n, [i, s] = Y(!1), [a, c] = Y(""), u = e.stage === "otp", h = async () => {
    c(""), s(!0);
    try {
      await l();
    } catch (f) {
      c(f?.message ?? "Unable to continue right now");
    } finally {
      s(!1);
    }
  };
  return /* @__PURE__ */ d(ie, { layoutType: "standalone", variant: "mobile", contentWidth: "sm", backButton: u && t != null ? /* @__PURE__ */ d(pe, { onClick: t }) : void 0, logo: u ? void 0 : /* @__PURE__ */ d("img", { src: Ve, alt: "Docthub Logo", width: 46, height: 46 }), title: u ? void 0 : /* @__PURE__ */ d(A, { variant: "h5", weight: "bold", align: "center", className: "text-[14px] leading-[21px] text-black mt-4 md:mt-6", children: "Welcome to Docthub" }), description: u ? void 0 : tn(e), className: Se, children: u ? /* @__PURE__ */ d(Je, { mode: e.otpTarget?.type ?? e.conflictField, title: an(e), recipientDisplay: cn(e), submitApi: r, onResendCode: o }) : /* @__PURE__ */ d(sn, { details: e, isSubmitting: i, errorMessage: a, onContinue: () => {
    h();
  } }) });
}
function ve(n) {
  const e = _.c(43);
  let t, l, r, o, i, s, a, c, u, h, f, m, p, b, g, y, v, x;
  e[0] !== n ? ({
    name: u,
    label: y,
    countryCode: v,
    countryCodeName: o,
    phoneArrayName: p,
    selectedCountryName: g,
    countries: r,
    defaultCountry: i,
    onValuesChange: m,
    onCountryChange: h,
    onCountryCodeChange: f,
    placeholder: x,
    disabled: s,
    required: b,
    className: t,
    helperText: c,
    control: l,
    ...a
  } = n, e[0] = n, e[1] = t, e[2] = l, e[3] = r, e[4] = o, e[5] = i, e[6] = s, e[7] = a, e[8] = c, e[9] = u, e[10] = h, e[11] = f, e[12] = m, e[13] = p, e[14] = b, e[15] = g, e[16] = y, e[17] = v, e[18] = x) : (t = e[1], l = e[2], r = e[3], o = e[4], i = e[5], s = e[6], a = e[7], c = e[8], u = e[9], h = e[10], f = e[11], m = e[12], p = e[13], b = e[14], g = e[15], y = e[16], v = e[17], x = e[18]);
  const N = y === void 0 ? "Phone Number" : y, C = v === void 0 ? "91" : v, S = x === void 0 ? "Enter phone number" : x, E = le(), w = l || E.control;
  let O;
  e[19] !== t || e[20] !== r || e[21] !== C || e[22] !== o || e[23] !== i || e[24] !== s || e[25] !== a || e[26] !== c || e[27] !== N || e[28] !== E || e[29] !== u || e[30] !== h || e[31] !== f || e[32] !== m || e[33] !== p || e[34] !== S || e[35] !== b || e[36] !== w || e[37] !== g ? (O = (F) => {
    const {
      field: W,
      fieldState: T
    } = F, k = (I, M) => /* @__PURE__ */ d(rt, { ...a, id: u, value: String(W.value ?? ""), ...N !== void 0 && {
      label: N
    }, ...I ? {
      countryCode: I
    } : {}, ...S !== void 0 && {
      placeholder: S
    }, ...s !== void 0 && {
      disabled: s
    }, ...b !== void 0 && {
      required: b
    }, ...r !== void 0 && {
      countries: r
    }, ...i !== void 0 && {
      defaultCountry: i
    }, ...t !== void 0 && {
      className: t
    }, ...T.error?.message !== void 0 && {
      error: T.error?.message
    }, ...T.error === void 0 && c !== void 0 && {
      helperText: c
    }, onPhoneChange: (R) => {
      W.onChange(R.replaceAll(/\D/g, ""));
    }, onCountryCodeChange: (R) => {
      const U = String(R || "").replaceAll(/\D/g, "");
      M?.(U), f?.(R);
    }, onValuesChange: (R) => {
      p && E.setValue(p, R, {
        shouldDirty: !0
      }), m?.(R);
    }, onCountryChange: (R) => {
      g && E.setValue(g, JSON.stringify(R), {
        shouldDirty: !0
      }), h?.(R);
    }, onBlur: W.onBlur });
    if (!o) {
      const I = String(C || "").replaceAll(/\D/g, "");
      return k(I);
    }
    return /* @__PURE__ */ d(de, { name: o, control: w, render: (I) => {
      const {
        field: M
      } = I, R = String(M.value ?? C ?? "").replaceAll(/\D/g, "");
      return k(R, M.onChange);
    } });
  }, e[19] = t, e[20] = r, e[21] = C, e[22] = o, e[23] = i, e[24] = s, e[25] = a, e[26] = c, e[27] = N, e[28] = E, e[29] = u, e[30] = h, e[31] = f, e[32] = m, e[33] = p, e[34] = S, e[35] = b, e[36] = w, e[37] = g, e[38] = O) : O = e[38];
  let L;
  return e[39] !== u || e[40] !== w || e[41] !== O ? (L = /* @__PURE__ */ d(de, { name: u, control: w, render: O }), e[39] = u, e[40] = w, e[41] = O, e[42] = L) : L = e[42], L;
}
function ue(n) {
  const e = _.c(15), {
    name: t,
    label: l,
    placeholder: r,
    className: o,
    control: i,
    required: s,
    type: a,
    disabled: c,
    onKeyDown: u,
    maxLength: h,
    numericOnly: f,
    autoFocus: m
  } = n, p = le(), b = i || p.control;
  let g;
  e[0] !== m || e[1] !== o || e[2] !== c || e[3] !== l || e[4] !== h || e[5] !== f || e[6] !== u || e[7] !== r || e[8] !== s || e[9] !== a ? (g = (v) => {
    const {
      field: x,
      fieldState: N
    } = v;
    return /* @__PURE__ */ d(st, { ...x, value: x.value ?? "", ...m !== void 0 && {
      autoFocus: m
    }, ...l !== void 0 && {
      label: l
    }, ...r !== void 0 && {
      placeholder: r
    }, ...N.error?.message !== void 0 && {
      error: N.error.message
    }, ...o !== void 0 && {
      className: o
    }, ...s !== void 0 && {
      required: s
    }, type: a, ...c !== void 0 && {
      disabled: c
    }, onKeyDown: f ? (C) => {
      !/[0-9]/.test(C.key) && !["Backspace", "Tab", "Delete", "ArrowLeft", "ArrowRight", "Home", "End"].includes(C.key) && C.preventDefault(), u?.(C);
    } : u, ...h !== void 0 && {
      maxLength: h
    }, onChange: (C) => {
      const S = C?.target?.value;
      if (typeof S == "string") {
        let E = S.replace(/^\s+/, "");
        f && (E = E.replace(/\D/g, "")), x.onChange(E);
      } else
        x.onChange(S);
    }, onBlur: () => {
      const C = x.value;
      if (typeof C == "string") {
        const S = C.trim();
        S !== C && x.onChange(S);
      }
      x.onBlur();
    } });
  }, e[0] = m, e[1] = o, e[2] = c, e[3] = l, e[4] = h, e[5] = f, e[6] = u, e[7] = r, e[8] = s, e[9] = a, e[10] = g) : g = e[10];
  let y;
  return e[11] !== t || e[12] !== b || e[13] !== g ? (y = /* @__PURE__ */ d(de, { name: t, control: b, render: g }), e[11] = t, e[12] = b, e[13] = g, e[14] = y) : y = e[14], y;
}
function un(n, e) {
  const t = (n ?? "").trim();
  if (t.length === 0) return "";
  if (t.startsWith("+")) return t;
  const l = (e ?? "").replaceAll(/\D/g, "");
  return l.length > 0 ? `+${l}${t}` : t;
}
const Ae = "doct-auth-kit:form:";
function Le() {
  if (typeof window > "u") return null;
  try {
    return window.sessionStorage;
  } catch {
    return null;
  }
}
function dn(n) {
  const e = Le();
  if (!e) return null;
  try {
    const t = e.getItem(Ae + n);
    return t ? JSON.parse(t) : null;
  } catch {
    return null;
  }
}
function fn(n, e) {
  const t = Le();
  if (t)
    try {
      t.setItem(Ae + n, JSON.stringify(e));
    } catch {
    }
}
function Vn() {
  const n = Le();
  if (n)
    try {
      const e = [];
      for (let t = 0; t < n.length; t++) {
        const l = n.key(t);
        l && l.startsWith(Ae) && e.push(l);
      }
      e.forEach((t) => n.removeItem(t));
    } catch {
    }
}
function Ze(n, e) {
  for (const t of n.issues) {
    const l = t.path[0];
    typeof l == "string" && e(l, {
      message: t.message
    });
  }
}
function Qe(n, e) {
  const t = ne(null);
  J(() => {
    if (t.current === n) return;
    t.current = n;
    const l = dn(n);
    l && e.reset(l);
  }, [n]), J(() => {
    const l = e.watch((r) => {
      fn(n, r);
    });
    return () => l.unsubscribe();
  }, [e, n]);
}
function mn(n) {
  const e = _.c(19), {
    mode: t,
    onSubmit: l,
    submitApi: r,
    onSuccess: o,
    onError: i
  } = n, [s, a] = Y(!1), c = t === "phone";
  let u;
  e[0] !== c ? (u = c ? {
    phone: "",
    countryCode: "91"
  } : {
    email: ""
  }, e[0] = c, e[1] = u) : u = e[1];
  const h = u;
  let f;
  e[2] !== h ? (f = {
    defaultValues: h,
    mode: "onChange"
  }, e[2] = h, e[3] = f) : f = e[3];
  const m = xe(f);
  Qe(`login-entry:${t}`, m);
  let p;
  e[4] !== m || e[5] !== t || e[6] !== i || e[7] !== l || e[8] !== o || e[9] !== r ? (p = (x) => {
    const C = We[t].safeParse(x);
    if (!C.success) {
      Ze(C.error, (E, w) => m.setError(E, w));
      return;
    }
    const S = C.data;
    if (r) {
      a(!0);
      const E = S.phone ? un(S.phone, S.countryCode) : S.email ?? "", w = {
        mode: t,
        recipient: E
      };
      r(S).then(() => {
        o?.(w);
      }).catch((O) => {
        i?.(O);
      }).finally(() => {
        a(!1);
      });
      return;
    }
    l?.(S);
  }, e[4] = m, e[5] = t, e[6] = i, e[7] = l, e[8] = o, e[9] = r, e[10] = p) : p = e[10];
  const b = p;
  let g;
  e[11] !== t ? (g = (x) => We[t].safeParse(x).success, e[11] = t, e[12] = g) : g = e[12];
  const y = g;
  let v;
  return e[13] !== b || e[14] !== y || e[15] !== c || e[16] !== s || e[17] !== m ? (v = {
    methods: m,
    handleSubmit: b,
    isPhone: c,
    isFormValid: y,
    isSubmitting: s
  }, e[13] = b, e[14] = y, e[15] = c, e[16] = s, e[17] = m, e[18] = v) : v = e[18], v;
}
function hn(n) {
  const e = _.c(14), {
    isPhone: t,
    handleSubmit: l,
    isSubmitting: r
  } = n, o = le();
  let i;
  e[0] !== l || e[1] !== o ? (i = o.handleSubmit(l), e[0] = l, e[1] = o, e[2] = i) : i = e[2];
  let s;
  e[3] !== t ? (s = /* @__PURE__ */ d("div", { className: "mb-6 flex w-full flex-col gap-[12px]", children: t ? /* @__PURE__ */ d(ve, { name: "phone", label: "", placeholder: "Phone number", countryCode: "+91", countryCodeName: "countryCode", defaultCountry: "IN", className: "[&_button]:!h-[44px] [&_input]:!h-[44px]", autoFocus: !0 }) : /* @__PURE__ */ d(ue, { name: "email", placeholder: "Enter email address", type: "email", className: "[&_input]:!h-[44px]", autoFocus: !0 }) }), e[3] = t, e[4] = s) : s = e[4];
  let a;
  e[5] !== r ? (a = r ? /* @__PURE__ */ d(ge, { size: 32, strokeWidth: 2 }) : "Continue", e[5] = r, e[6] = a) : a = e[6];
  let c;
  e[7] !== r || e[8] !== a ? (c = /* @__PURE__ */ d(j, { type: "submit", variant: "primary", size: "large", fullWidth: !0, disabled: r, children: a }), e[7] = r, e[8] = a, e[9] = c) : c = e[9];
  let u;
  return e[10] !== i || e[11] !== s || e[12] !== c ? (u = /* @__PURE__ */ P("form", { onSubmit: i, className: "w-full flex flex-col", noValidate: !0, children: [
    s,
    c
  ] }), e[10] = i, e[11] = s, e[12] = c, e[13] = u) : u = e[13], u;
}
function gn(n) {
  const e = _.c(13), {
    mode: t,
    onSubmit: l,
    submitApi: r,
    onSuccess: o,
    onError: i
  } = n;
  let s;
  e[0] !== t || e[1] !== i || e[2] !== l || e[3] !== o || e[4] !== r ? (s = {
    mode: t,
    onSubmit: l,
    submitApi: r,
    onSuccess: o,
    onError: i
  }, e[0] = t, e[1] = i, e[2] = l, e[3] = o, e[4] = r, e[5] = s) : s = e[5];
  const {
    methods: a,
    handleSubmit: c,
    isPhone: u,
    isSubmitting: h
  } = mn(s);
  let f;
  e[6] !== c || e[7] !== u || e[8] !== h ? (f = /* @__PURE__ */ d(hn, { isPhone: u, handleSubmit: c, isSubmitting: h }), e[6] = c, e[7] = u, e[8] = h, e[9] = f) : f = e[9];
  let m;
  return e[10] !== a || e[11] !== f ? (m = /* @__PURE__ */ d(Ce, { ...a, children: f }), e[10] = a, e[11] = f, e[12] = m) : m = e[12], m;
}
const pn = {
  phone: "Enter Phone Number",
  email: "Enter Email Address"
}, bn = {
  phone: "We will send you 6 digit OTP on the given Phone Number.",
  email: "We will send you 6 digit OTP on the given Email Address."
};
function Gn(n) {
  const e = _.c(27), {
    mode: t,
    title: l,
    subtitle: r,
    onBack: o,
    onSubmit: i,
    submitApi: s,
    onSuccess: a,
    onError: c,
    layoutType: u,
    variant: h
  } = n, f = u === void 0 ? "withSlider" : u, m = h === void 0 ? "desktop" : h, p = l ?? pn[t], b = r ?? bn[t];
  let g;
  e[0] !== o ? (g = o != null ? /* @__PURE__ */ d(pe, { onClick: o }) : void 0, e[0] = o, e[1] = g) : g = e[1];
  let y;
  e[2] !== p ? (y = /* @__PURE__ */ d(A, { variant: "h5", weight: "extraBold", align: "left", className: "-mb-1.5", children: p }), e[2] = p, e[3] = y) : y = e[3];
  let v;
  e[4] !== b ? (v = /* @__PURE__ */ d(A, { variant: "body1", align: "left", className: "mb-4 md:mb-4", children: b }), e[4] = b, e[5] = v) : v = e[5];
  let x;
  e[6] !== i ? (x = i && {
    onSubmit: i
  }, e[6] = i, e[7] = x) : x = e[7];
  let N;
  e[8] !== s ? (N = s && {
    submitApi: s
  }, e[8] = s, e[9] = N) : N = e[9];
  let C;
  e[10] !== a ? (C = a && {
    onSuccess: a
  }, e[10] = a, e[11] = C) : C = e[11];
  let S;
  e[12] !== c ? (S = c && {
    onError: c
  }, e[12] = c, e[13] = S) : S = e[13];
  let E;
  e[14] !== t || e[15] !== x || e[16] !== N || e[17] !== C || e[18] !== S ? (E = /* @__PURE__ */ d(gn, { mode: t, ...x, ...N, ...C, ...S }), e[14] = t, e[15] = x, e[16] = N, e[17] = C, e[18] = S, e[19] = E) : E = e[19];
  let w;
  return e[20] !== f || e[21] !== g || e[22] !== y || e[23] !== v || e[24] !== E || e[25] !== m ? (w = /* @__PURE__ */ d(ie, { layoutType: f, variant: m, contentWidth: "sm", align: "left", backButton: g, title: y, description: v, className: Se, children: E }), e[20] = f, e[21] = g, e[22] = y, e[23] = v, e[24] = E, e[25] = m, e[26] = w) : w = e[26], w;
}
var et = {
  color: void 0,
  size: void 0,
  className: void 0,
  style: void 0,
  attr: void 0
}, Ue = K.createContext && /* @__PURE__ */ K.createContext(et), yn = ["attr", "size", "title"];
function vn(n, e) {
  if (n == null) return {};
  var t = xn(n, e), l, r;
  if (Object.getOwnPropertySymbols) {
    var o = Object.getOwnPropertySymbols(n);
    for (r = 0; r < o.length; r++)
      l = o[r], !(e.indexOf(l) >= 0) && Object.prototype.propertyIsEnumerable.call(n, l) && (t[l] = n[l]);
  }
  return t;
}
function xn(n, e) {
  if (n == null) return {};
  var t = {};
  for (var l in n)
    if (Object.prototype.hasOwnProperty.call(n, l)) {
      if (e.indexOf(l) >= 0) continue;
      t[l] = n[l];
    }
  return t;
}
function me() {
  return me = Object.assign ? Object.assign.bind() : function(n) {
    for (var e = 1; e < arguments.length; e++) {
      var t = arguments[e];
      for (var l in t)
        Object.prototype.hasOwnProperty.call(t, l) && (n[l] = t[l]);
    }
    return n;
  }, me.apply(this, arguments);
}
function je(n, e) {
  var t = Object.keys(n);
  if (Object.getOwnPropertySymbols) {
    var l = Object.getOwnPropertySymbols(n);
    e && (l = l.filter(function(r) {
      return Object.getOwnPropertyDescriptor(n, r).enumerable;
    })), t.push.apply(t, l);
  }
  return t;
}
function he(n) {
  for (var e = 1; e < arguments.length; e++) {
    var t = arguments[e] != null ? arguments[e] : {};
    e % 2 ? je(Object(t), !0).forEach(function(l) {
      Cn(n, l, t[l]);
    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(t)) : je(Object(t)).forEach(function(l) {
      Object.defineProperty(n, l, Object.getOwnPropertyDescriptor(t, l));
    });
  }
  return n;
}
function Cn(n, e, t) {
  return e = Sn(e), e in n ? Object.defineProperty(n, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : n[e] = t, n;
}
function Sn(n) {
  var e = Nn(n, "string");
  return typeof e == "symbol" ? e : e + "";
}
function Nn(n, e) {
  if (typeof n != "object" || !n) return n;
  var t = n[Symbol.toPrimitive];
  if (t !== void 0) {
    var l = t.call(n, e);
    if (typeof l != "object") return l;
    throw new TypeError("@@toPrimitive must return a primitive value.");
  }
  return (e === "string" ? String : Number)(n);
}
function tt(n) {
  return n && n.map((e, t) => /* @__PURE__ */ K.createElement(e.tag, he({
    key: t
  }, e.attr), tt(e.child)));
}
function nt(n) {
  return (e) => /* @__PURE__ */ K.createElement(wn, me({
    attr: he({}, n.attr)
  }, e), tt(n.child));
}
function wn(n) {
  var e = (t) => {
    var {
      attr: l,
      size: r,
      title: o
    } = n, i = vn(n, yn), s = r || t.size || "1em", a;
    return t.className && (a = t.className), n.className && (a = (a ? a + " " : "") + n.className), /* @__PURE__ */ K.createElement("svg", me({
      stroke: "currentColor",
      fill: "currentColor",
      strokeWidth: "0"
    }, t.attr, l, i, {
      className: a,
      style: he(he({
        color: n.color || t.color
      }, t.style), n.style),
      height: s,
      width: s,
      xmlns: "http://www.w3.org/2000/svg"
    }), o && /* @__PURE__ */ K.createElement("title", null, o), n.children);
  };
  return Ue !== void 0 ? /* @__PURE__ */ K.createElement(Ue.Consumer, null, (t) => e(t)) : e(et);
}
function _n(n) {
  return nt({ attr: { viewBox: "0 0 384 512" }, child: [{ tag: "path", attr: { d: "M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z" }, child: [] }] })(n);
}
function En(n) {
  return nt({ attr: { version: "1.1", x: "0px", y: "0px", viewBox: "0 0 48 48", enableBackground: "new 0 0 48 48" }, child: [{ tag: "path", attr: { fill: "#FFC107", d: `M43.611,20.083H42V20H24v8h11.303c-1.649,4.657-6.08,8-11.303,8c-6.627,0-12-5.373-12-12\r
	c0-6.627,5.373-12,12-12c3.059,0,5.842,1.154,7.961,3.039l5.657-5.657C34.046,6.053,29.268,4,24,4C12.955,4,4,12.955,4,24\r
	c0,11.045,8.955,20,20,20c11.045,0,20-8.955,20-20C44,22.659,43.862,21.35,43.611,20.083z` }, child: [] }, { tag: "path", attr: { fill: "#FF3D00", d: `M6.306,14.691l6.571,4.819C14.655,15.108,18.961,12,24,12c3.059,0,5.842,1.154,7.961,3.039l5.657-5.657\r
	C34.046,6.053,29.268,4,24,4C16.318,4,9.656,8.337,6.306,14.691z` }, child: [] }, { tag: "path", attr: { fill: "#4CAF50", d: `M24,44c5.166,0,9.86-1.977,13.409-5.192l-6.19-5.238C29.211,35.091,26.715,36,24,36\r
	c-5.202,0-9.619-3.317-11.283-7.946l-6.522,5.025C9.505,39.556,16.227,44,24,44z` }, child: [] }, { tag: "path", attr: { fill: "#1976D2", d: `M43.611,20.083H42V20H24v8h11.303c-0.792,2.237-2.231,4.166-4.087,5.571\r
	c0.001-0.001,0.002-0.001,0.003-0.002l6.19,5.238C36.971,39.205,44,34,44,24C44,22.659,43.862,21.35,43.611,20.083z` }, child: [] }] })(n);
}
function lt(n) {
  const e = _.c(23);
  let t;
  e[0] !== n ? (t = n === void 0 ? {} : n, e[0] = n, e[1] = t) : t = e[1];
  const l = t, r = Tn, o = l.providers?.google?.clientId ?? "";
  let i;
  e[2] !== l.providers?.google?.onCredential ? (i = l.providers?.google?.onCredential ?? On, e[2] = l.providers?.google?.onCredential, e[3] = i) : i = e[3];
  const s = l.providers?.google?.enableOneTap ?? !1;
  let a;
  e[4] !== o || e[5] !== i || e[6] !== s ? (a = {
    clientId: o,
    onCredential: i,
    enableOneTap: s
  }, e[4] = o, e[5] = i, e[6] = s, e[7] = a) : a = e[7];
  const {
    loginWithGoogle: c
  } = It(a), u = l.providers?.apple?.clientId ?? "", h = l.providers?.apple?.redirectUri ?? "";
  let f;
  e[8] !== l.providers?.apple?.onCredential ? (f = l.providers?.apple?.onCredential ?? Pn, e[8] = l.providers?.apple?.onCredential, e[9] = f) : f = e[9];
  let m;
  e[10] !== u || e[11] !== h || e[12] !== f ? (m = {
    clientId: u,
    redirectUri: h,
    onCredential: f
  }, e[10] = u, e[11] = h, e[12] = f, e[13] = m) : m = e[13];
  const {
    triggerSignIn: p
  } = Lt(), b = l.onContinueWithMobile ?? r, g = l.onContinueWithEmail ?? r;
  let y;
  e[14] !== c || e[15] !== l.onContinueWithGoogle || e[16] !== l.providers?.google?.clientId ? (y = l.onContinueWithGoogle ?? (l.providers?.google?.clientId ? () => {
    c();
  } : r), e[14] = c, e[15] = l.onContinueWithGoogle, e[16] = l.providers?.google?.clientId, e[17] = y) : y = e[17];
  const v = l.onContinueWithApple ?? (l.providers?.apple?.clientId ? p : r);
  let x;
  return e[18] !== b || e[19] !== g || e[20] !== y || e[21] !== v ? (x = {
    onContinueWithMobile: b,
    onContinueWithEmail: g,
    onContinueWithGoogle: y,
    onContinueWithApple: v
  }, e[18] = b, e[19] = g, e[20] = y, e[21] = v, e[22] = x) : x = e[22], x;
}
function Pn() {
}
function On() {
}
function Tn() {
}
const An = "Mobile";
function Ln(n) {
  const e = _.c(11);
  let t;
  e[0] !== n ? (t = n === void 0 ? {} : n, e[0] = n, e[1] = t) : t = e[1];
  const l = t, [r, o] = Y(!1), {
    lastUsedMethod: i,
    onContinueWithLastMethod: s,
    continueApi: a,
    onSuccess: c,
    onError: u
  } = l, h = i === void 0 ? An : i;
  let f;
  e[2] !== a || e[3] !== s || e[4] !== u || e[5] !== c ? (f = () => {
    if (a) {
      o(!0), a().then(() => {
        c?.();
      }).catch((b) => {
        u?.(b);
      }).finally(() => {
        o(!1);
      });
      return;
    }
    s?.();
  }, e[2] = a, e[3] = s, e[4] = u, e[5] = c, e[6] = f) : f = e[6];
  const m = f;
  let p;
  return e[7] !== m || e[8] !== r || e[9] !== h ? (p = {
    handleContinue: m,
    isSubmitting: r,
    lastUsedMethod: h
  }, e[7] = m, e[8] = r, e[9] = h, e[10] = p) : p = e[10], p;
}
function kn(n) {
  const e = _.c(22), {
    mode: t,
    defaultPhone: l,
    onSubmit: r,
    submitApi: o,
    onSuccess: i,
    onError: s
  } = n, a = l === void 0 ? "" : l, [c, u] = Y(!1), h = t === "phone", f = t === "foreign";
  let m;
  e[0] !== a || e[1] !== f || e[2] !== h ? (m = f ? {
    fullName: "",
    email: "",
    phone: a,
    countryCode: "91"
  } : h ? {
    fullName: "",
    phone: "",
    countryCode: "91"
  } : {
    fullName: "",
    email: ""
  }, e[0] = a, e[1] = f, e[2] = h, e[3] = m) : m = e[3];
  const p = m;
  let b;
  e[4] !== p ? (b = {
    defaultValues: p,
    mode: "onChange"
  }, e[4] = p, e[5] = b) : b = e[5];
  const g = xe(b);
  Qe(`signup:${t}`, g);
  let y;
  e[6] !== g || e[7] !== t || e[8] !== s || e[9] !== r || e[10] !== i || e[11] !== o ? (y = (S) => {
    const w = $e[t].safeParse(S);
    if (!w.success) {
      Ze(w.error, (L, F) => g.setError(L, F));
      return;
    }
    const O = {
      fullName: w.data.fullName,
      ..."phone" in w.data && w.data.phone && {
        phone: w.data.phone
      },
      ..."countryCode" in w.data && w.data.countryCode && {
        countryCode: w.data.countryCode
      },
      ..."email" in w.data && w.data.email && {
        email: w.data.email
      }
    };
    if (o) {
      u(!0), o(O).then(() => {
        i?.();
      }).catch((L) => {
        s?.(L);
      }).finally(() => {
        u(!1);
      });
      return;
    }
    r?.(O);
  }, e[6] = g, e[7] = t, e[8] = s, e[9] = r, e[10] = i, e[11] = o, e[12] = y) : y = e[12];
  const v = y;
  let x;
  e[13] !== t ? (x = (S) => $e[t].safeParse(S).success, e[13] = t, e[14] = x) : x = e[14];
  const N = x;
  let C;
  return e[15] !== v || e[16] !== f || e[17] !== N || e[18] !== h || e[19] !== c || e[20] !== g ? (C = {
    methods: g,
    handleSubmit: v,
    isPhone: h,
    isForeign: f,
    isFormValid: N,
    isSubmitting: c
  }, e[15] = v, e[16] = f, e[17] = N, e[18] = h, e[19] = c, e[20] = g, e[21] = C) : C = e[21], C;
}
const it = (n) => {
  const e = _.c(19), {
    handlers: t
  } = n, {
    onContinueWithMobile: l,
    onContinueWithEmail: r,
    onContinueWithGoogle: o,
    onContinueWithApple: i
  } = t;
  let s;
  e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ d(ce, { children: "Continue with Mobile" }), e[0] = s) : s = e[0];
  let a;
  e[1] !== l ? (a = /* @__PURE__ */ d(j, { variant: "outline", size: "large", fullWidth: !0, onClick: l, children: s }), e[1] = l, e[2] = a) : a = e[2];
  let c;
  e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = /* @__PURE__ */ d(ce, { children: "Continue with Email" }), e[3] = c) : c = e[3];
  let u;
  e[4] !== r ? (u = /* @__PURE__ */ d(j, { variant: "outline", size: "large", fullWidth: !0, onClick: r, children: c }), e[4] = r, e[5] = u) : u = e[5];
  let h;
  e[6] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ d(En, { "aria-hidden": !0 }), e[6] = h) : h = e[6];
  let f;
  e[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (f = /* @__PURE__ */ d(ce, { children: "Continue with Google" }), e[7] = f) : f = e[7];
  let m;
  e[8] !== o ? (m = /* @__PURE__ */ d(j, { variant: "outline", size: "large", fullWidth: !0, icon: h, iconPosition: "left", onClick: o, children: f }), e[8] = o, e[9] = m) : m = e[9];
  let p;
  e[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (p = /* @__PURE__ */ d(_n, { "aria-hidden": !0 }), e[10] = p) : p = e[10];
  let b;
  e[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b = /* @__PURE__ */ d(ce, { children: "Continue with Apple" }), e[11] = b) : b = e[11];
  let g;
  e[12] !== i ? (g = /* @__PURE__ */ d(j, { variant: "outline", size: "large", fullWidth: !0, icon: p, iconPosition: "left", onClick: i, children: b }), e[12] = i, e[13] = g) : g = e[13];
  let y;
  return e[14] !== g || e[15] !== a || e[16] !== u || e[17] !== m ? (y = /* @__PURE__ */ P("div", { className: "w-full flex flex-col gap-2", children: [
    a,
    u,
    m,
    g
  ] }), e[14] = g, e[15] = a, e[16] = u, e[17] = m, e[18] = y) : y = e[18], y;
}, ce = (n) => {
  const e = _.c(2), {
    children: t
  } = n;
  let l;
  return e[0] !== t ? (l = /* @__PURE__ */ d(A, { variant: "textLabel1", weight: "semiBold", align: "center", className: "opacity-80", children: t }), e[0] = t, e[1] = l) : l = e[1], l;
};
function Hn(n) {
  const e = _.c(2), t = lt(n);
  let l;
  return e[0] !== t ? (l = /* @__PURE__ */ d(it, { handlers: t }), e[0] = t, e[1] = l) : l = e[1], l;
}
const qn = (n) => {
  const e = _.c(17), t = lt(n);
  let l;
  e[0] !== n.onEnterpriseLogin ? (l = n.onEnterpriseLogin != null && {
    onClick: n.onEnterpriseLogin
  }, e[0] = n.onEnterpriseLogin, e[1] = l) : l = e[1];
  let r;
  e[2] !== n.enterpriseLoginUrl ? (r = n.enterpriseLoginUrl != null && {
    href: n.enterpriseLoginUrl
  }, e[2] = n.enterpriseLoginUrl, e[3] = r) : r = e[3];
  let o;
  e[4] !== l || e[5] !== r ? (o = {
    ...l,
    ...r
  }, e[4] = l, e[5] = r, e[6] = o) : o = e[6];
  const i = o;
  let s;
  e[7] !== i ? (s = /* @__PURE__ */ d(yt, { ...i }), e[7] = i, e[8] = s) : s = e[8];
  let a, c, u;
  e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ d(A, { variant: "title1", weight: "bold", align: "center", className: "max-w-[250px] mx-auto mb-0 md:mb-2", children: "The Healthcare Career App" }), c = /* @__PURE__ */ d(A, { variant: "body1", align: "center", className: "mb-0 md:mb-2", children: "Continue to Signup, If you already have an account we'll log you in." }), u = /* @__PURE__ */ d(He, {}), e[9] = a, e[10] = c, e[11] = u) : (a = e[9], c = e[10], u = e[11]);
  let h;
  e[12] !== t ? (h = /* @__PURE__ */ d(it, { handlers: t }), e[12] = t, e[13] = h) : h = e[13];
  let f;
  return e[14] !== s || e[15] !== h ? (f = /* @__PURE__ */ d(ie, { layoutType: "withSlider", variant: "desktop", header: s, logo: ze, align: "center", title: a, description: c, footer: u, children: h }), e[14] = s, e[15] = h, e[16] = f) : f = e[16], f;
};
function Rn(n) {
  const e = _.c(21);
  let t, l;
  e[0] !== n ? ({
    onUseAnotherMethod: l,
    ...t
  } = n, e[0] = n, e[1] = t, e[2] = l) : (t = e[1], l = e[2]);
  let r;
  e[3] !== t.continueApi || e[4] !== t.lastUsedMethod || e[5] !== t.onContinueWithLastMethod || e[6] !== t.onError || e[7] !== t.onSuccess ? (r = {
    lastUsedMethod: t.lastUsedMethod,
    onContinueWithLastMethod: t.onContinueWithLastMethod,
    continueApi: t.continueApi,
    onSuccess: t.onSuccess,
    onError: t.onError
  }, e[3] = t.continueApi, e[4] = t.lastUsedMethod, e[5] = t.onContinueWithLastMethod, e[6] = t.onError, e[7] = t.onSuccess, e[8] = r) : r = e[8];
  const {
    handleContinue: o,
    isSubmitting: i,
    lastUsedMethod: s
  } = Ln(r), a = i ? "Continuing…" : `Continue with ${s}`;
  let c;
  e[9] !== a ? (c = /* @__PURE__ */ d(A, { variant: "textLabel1", weight: "semiBold", align: "center", className: "text-neutral-white", children: a }), e[9] = a, e[10] = c) : c = e[10];
  let u;
  e[11] !== o || e[12] !== i || e[13] !== c ? (u = /* @__PURE__ */ d(j, { variant: "primary", size: "large", fullWidth: !0, onClick: o, disabled: i, children: c }), e[11] = o, e[12] = i, e[13] = c, e[14] = u) : u = e[14];
  let h;
  e[15] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ d(A, { variant: "textLabel1", weight: "semiBold", align: "center", className: "opacity-80", children: "Use another method" }), e[15] = h) : h = e[15];
  let f;
  e[16] !== l ? (f = /* @__PURE__ */ d(j, { variant: "outline", size: "large", fullWidth: !0, onClick: l, children: h }), e[16] = l, e[17] = f) : f = e[17];
  let m;
  return e[18] !== u || e[19] !== f ? (m = /* @__PURE__ */ P("div", { className: "w-full flex flex-col gap-[12px]", children: [
    u,
    f
  ] }), e[18] = u, e[19] = f, e[20] = m) : m = e[20], m;
}
function Kn(n) {
  const e = _.c(18), {
    lastUsedMethod: t,
    onContinueWithLastMethod: l,
    onUseAnotherMethod: r,
    continueApi: o,
    onSuccess: i,
    onError: s,
    layoutType: a,
    variant: c
  } = n, u = t === void 0 ? "Mobile" : t, h = a === void 0 ? "withSlider" : a, f = c === "mobile" || h === "standalone";
  let m;
  e[0] !== f ? (m = f ? /* @__PURE__ */ d(A, { variant: "h5", weight: "bold", align: "center", className: "text-primary -mb-2 mt-4", children: "Welcome Back!" }) : /* @__PURE__ */ P(A, { variant: "h6", weight: "extraBold", align: "left", className: "text-neutral-black -mb-2 mt-4", children: [
    " ",
    "Welcome Back!",
    " "
  ] }), e[0] = f, e[1] = m) : m = e[1];
  let p;
  e[2] !== u ? (p = /* @__PURE__ */ P(A, { variant: "body1", align: "center", className: "text-neutral-black mb-4 md:mb-4", children: [
    "Last time you used ",
    u,
    " to log in."
  ] }), e[2] = u, e[3] = p) : p = e[3];
  let b;
  e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b = /* @__PURE__ */ d(He, {}), e[4] = b) : b = e[4];
  let g;
  e[5] !== o || e[6] !== u || e[7] !== l || e[8] !== s || e[9] !== i || e[10] !== r ? (g = /* @__PURE__ */ d(Rn, { lastUsedMethod: u, onContinueWithLastMethod: l, onUseAnotherMethod: r, continueApi: o, onSuccess: i, onError: s }), e[5] = o, e[6] = u, e[7] = l, e[8] = s, e[9] = i, e[10] = r, e[11] = g) : g = e[11];
  let y;
  return e[12] !== h || e[13] !== m || e[14] !== p || e[15] !== g || e[16] !== c ? (y = /* @__PURE__ */ d(ie, { layoutType: h, variant: c, logo: ze, title: m, description: p, footer: b, children: g }), e[12] = h, e[13] = m, e[14] = p, e[15] = g, e[16] = c, e[17] = y) : y = e[17], y;
}
function In(n) {
  const e = _.c(16), {
    isPhone: t,
    isForeign: l,
    handleSubmit: r,
    isSubmitting: o
  } = n, i = le();
  let s;
  e[0] !== r || e[1] !== i ? (s = i.handleSubmit(r), e[0] = r, e[1] = i, e[2] = s) : s = e[2];
  let a;
  e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ d(ue, { name: "fullName", placeholder: "Full name", type: "text", className: "w-full", autoFocus: !0 }), e[3] = a) : a = e[3];
  let c;
  e[4] !== l || e[5] !== t ? (c = /* @__PURE__ */ P("div", { className: "mb-6 flex w-full flex-col gap-[12px]", children: [
    a,
    l ? /* @__PURE__ */ P(Be, { children: [
      /* @__PURE__ */ d(ue, { name: "email", placeholder: "Email address", type: "email", className: "w-full" }),
      /* @__PURE__ */ d(ve, { name: "phone", label: "", placeholder: "Phone number", countryCode: "+91", countryCodeName: "countryCode", defaultCountry: "IN" })
    ] }) : t ? /* @__PURE__ */ d(ve, { name: "phone", label: "", placeholder: "Phone number", countryCode: "+91", countryCodeName: "countryCode", defaultCountry: "IN" }) : /* @__PURE__ */ d(ue, { name: "email", placeholder: "Email address", type: "email", className: "w-full" })
  ] }), e[4] = l, e[5] = t, e[6] = c) : c = e[6];
  let u;
  e[7] !== o ? (u = o ? /* @__PURE__ */ d(ge, { size: 32, strokeWidth: 2 }) : "Continue", e[7] = o, e[8] = u) : u = e[8];
  let h;
  e[9] !== o || e[10] !== u ? (h = /* @__PURE__ */ d(j, { type: "submit", variant: "primary", size: "large", fullWidth: !0, disabled: o, children: u }), e[9] = o, e[10] = u, e[11] = h) : h = e[11];
  let f;
  return e[12] !== s || e[13] !== c || e[14] !== h ? (f = /* @__PURE__ */ P("form", { onSubmit: s, className: "w-full flex flex-col items-center", noValidate: !0, children: [
    c,
    h
  ] }), e[12] = s, e[13] = c, e[14] = h, e[15] = f) : f = e[15], f;
}
function Fn(n) {
  const e = _.c(15), {
    userType: t,
    signupCollectField: l,
    pendingPhone: r,
    onSubmit: o,
    submitApi: i,
    onSuccess: s,
    onError: a
  } = n, c = r === void 0 ? "" : r, u = t === "FOREIGN" ? "foreign" : l === "phone" ? "phone" : "email";
  let h;
  e[0] !== u || e[1] !== a || e[2] !== o || e[3] !== s || e[4] !== c || e[5] !== i ? (h = {
    mode: u,
    defaultPhone: c,
    onSubmit: o,
    submitApi: i,
    onSuccess: s,
    onError: a
  }, e[0] = u, e[1] = a, e[2] = o, e[3] = s, e[4] = c, e[5] = i, e[6] = h) : h = e[6];
  const {
    methods: f,
    handleSubmit: m,
    isPhone: p,
    isForeign: b,
    isSubmitting: g
  } = kn(h);
  let y;
  e[7] !== m || e[8] !== b || e[9] !== p || e[10] !== g ? (y = /* @__PURE__ */ d(In, { isPhone: p, isForeign: b, handleSubmit: m, isSubmitting: g }), e[7] = m, e[8] = b, e[9] = p, e[10] = g, e[11] = y) : y = e[11];
  let v;
  return e[12] !== f || e[13] !== y ? (v = /* @__PURE__ */ d(Ce, { ...f, children: y }), e[12] = f, e[13] = y, e[14] = v) : v = e[14], v;
}
function Yn(n) {
  const e = _.c(21), {
    layoutType: t,
    variant: l
  } = n, r = t === void 0 ? "standalone" : t, o = l === void 0 ? "mobile" : l;
  let i;
  e[0] !== n.loginMethod || e[1] !== n.onError || e[2] !== n.onSubmit || e[3] !== n.onSuccess || e[4] !== n.pendingPhone || e[5] !== n.signupCollectField || e[6] !== n.submitApi || e[7] !== n.userType ? (i = {
    userType: n.userType,
    loginMethod: n.loginMethod,
    signupCollectField: n.signupCollectField,
    pendingPhone: n.pendingPhone,
    onSubmit: n.onSubmit,
    submitApi: n.submitApi,
    onSuccess: n.onSuccess,
    onError: n.onError
  }, e[0] = n.loginMethod, e[1] = n.onError, e[2] = n.onSubmit, e[3] = n.onSuccess, e[4] = n.pendingPhone, e[5] = n.signupCollectField, e[6] = n.submitApi, e[7] = n.userType, e[8] = i) : i = e[8];
  const s = i;
  let a;
  e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ d("img", { src: Ve, alt: "Docthub Logo", width: 46, height: 46 }), e[9] = a) : a = e[9];
  const c = a;
  let u;
  e[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (u = /* @__PURE__ */ d(A, { variant: "h5", weight: "extraBold", align: "center", className: "text-neutral-black mt-4 md:mt-6 -mb-1", children: "Welcome to Docthub" }), e[10] = u) : u = e[10];
  const h = u, f = n.userType === "FOREIGN" ? "email" : n.signupCollectField;
  let m;
  e[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (m = /* @__PURE__ */ d("span", { className: "font-bold", children: "Full Name" }), e[11] = m) : m = e[11];
  const p = f === "phone" ? "Phone Number" : "Email Address";
  let b;
  e[12] !== p ? (b = /* @__PURE__ */ P(A, { variant: "title2", align: "center", className: "mb-4 md:mb-6", children: [
    "Please tell us your ",
    m,
    " and",
    " ",
    /* @__PURE__ */ d("span", { className: "font-bold", children: p }),
    " ",
    "for extended security of your account."
  ] }), e[12] = p, e[13] = b) : b = e[13];
  const g = b;
  let y;
  e[14] !== s ? (y = /* @__PURE__ */ d(Fn, { ...s }), e[14] = s, e[15] = y) : y = e[15];
  let v;
  return e[16] !== g || e[17] !== r || e[18] !== y || e[19] !== o ? (v = /* @__PURE__ */ d(ie, { layoutType: r, variant: o, contentWidth: "sm", logo: c, title: h, description: g, children: y }), e[16] = g, e[17] = r, e[18] = y, e[19] = o, e[20] = v) : v = e[20], v;
}
export {
  ie as A,
  pe as B,
  qt as D,
  yt as E,
  Ot as I,
  zn as L,
  Hn as M,
  Je as O,
  Rn as R,
  Fn as S,
  gn as a,
  Gn as b,
  qn as c,
  Bn as d,
  Kn as e,
  Yn as f,
  _ as g,
  q as h,
  Lt as i,
  Vn as j,
  un as k,
  He as l,
  At as m,
  fe as n,
  Vt as o,
  zt as p,
  Qe as q,
  mn as r,
  lt as s,
  Kt as t,
  It as u,
  Ln as v,
  kn as w
};
