@wacht/jsx 0.0.1-alpha.48 → 0.0.1-alpha.49

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
@@ -555,8 +555,8 @@ const In = we.use || // This extra generic is to avoid TypeScript mixing up the
555
555
  dedupe: !0
556
556
  }, Hd = (t, r, o) => {
557
557
  const { cache: n, compare: a, suspense: s, fallbackData: h, revalidateOnMount: g, revalidateIfStale: c, refreshInterval: p, refreshWhenHidden: d, refreshWhenOffline: u, keepPreviousData: v } = o, [m, y, b, k] = Nt.get(n), [C, S] = Di(t), I = ne(!1), E = ne(!1), w = ne(C), x = ne(r), f = ne(o), P = () => f.current, z = () => P().isVisible() && P().isOnline(), [_, M, O, A] = Dc(n, C), R = ne({}).current, L = Me(h) ? Me(o.fallback) ? st : o.fallback[C] : h, B = (ve, V) => {
558
- for (const pe in R) {
559
- const X = pe;
558
+ for (const ue in R) {
559
+ const X = ue;
560
560
  if (X === "data") {
561
561
  if (!a(ve[X], V[X]) && (!Me(ve[X]) || !a(H, V[X])))
562
562
  return !1;
@@ -565,19 +565,19 @@ const In = we.use || // This extra generic is to avoid TypeScript mixing up the
565
565
  }
566
566
  return !0;
567
567
  }, F = dt(() => {
568
- const ve = !C || !r ? !1 : Me(g) ? P().isPaused() || s ? !1 : c !== !1 : g, V = (fe) => {
569
- const re = Ht(fe);
568
+ const ve = !C || !r ? !1 : Me(g) ? P().isPaused() || s ? !1 : c !== !1 : g, V = (ge) => {
569
+ const re = Ht(ge);
570
570
  return delete re._k, ve ? {
571
571
  isValidating: !0,
572
572
  isLoading: !0,
573
573
  ...re
574
574
  } : re;
575
- }, pe = _(), X = A(), Q = V(pe), le = pe === X ? Q : V(X);
575
+ }, ue = _(), X = A(), Q = V(ue), le = ue === X ? Q : V(X);
576
576
  let _e = Q;
577
577
  return [
578
578
  () => {
579
- const fe = V(_());
580
- return B(fe, _e) ? (_e.data = fe.data, _e.isLoading = fe.isLoading, _e.isValidating = fe.isValidating, _e.error = fe.error, _e) : (_e = fe, fe);
579
+ const ge = V(_());
580
+ return B(ge, _e) ? (_e.data = ge.data, _e.isLoading = ge.isLoading, _e.isValidating = ge.isValidating, _e.error = ge.error, _e) : (_e = ge, ge);
581
581
  },
582
582
  () => le
583
583
  ];
@@ -585,8 +585,8 @@ const In = we.use || // This extra generic is to avoid TypeScript mixing up the
585
585
  n,
586
586
  C
587
587
  ]), N = bd.useSyncExternalStore(W(
588
- (ve) => O(C, (V, pe) => {
589
- B(pe, V) || ve();
588
+ (ve) => O(C, (V, ue) => {
589
+ B(ue, V) || ve();
590
590
  }),
591
591
  // eslint-disable-next-line react-hooks/exhaustive-deps
592
592
  [
@@ -598,8 +598,8 @@ const In = we.use || // This extra generic is to avoid TypeScript mixing up the
598
598
  const V = x.current;
599
599
  if (!C || !V || E.current || P().isPaused())
600
600
  return !1;
601
- let pe, X, Q = !0;
602
- const le = ve || {}, _e = !b[C] || !le.dedupe, fe = () => ba ? !E.current && C === w.current && I.current : C === w.current, re = {
601
+ let ue, X, Q = !0;
602
+ const le = ve || {}, _e = !b[C] || !le.dedupe, ge = () => ba ? !E.current && C === w.current && I.current : C === w.current, re = {
603
603
  isValidating: !1,
604
604
  isLoading: !1
605
605
  }, G = () => {
@@ -613,25 +613,25 @@ const In = we.use || // This extra generic is to avoid TypeScript mixing up the
613
613
  Me(_().data) && (de.isLoading = !0);
614
614
  try {
615
615
  if (_e && (M(de), o.loadingTimeout && Me(_().data) && setTimeout(() => {
616
- Q && fe() && P().onLoadingSlow(C, o);
616
+ Q && ge() && P().onLoadingSlow(C, o);
617
617
  }, o.loadingTimeout), b[C] = [
618
618
  V(S),
619
619
  yi()
620
- ]), [pe, X] = b[C], pe = await pe, _e && setTimeout(U, o.dedupingInterval), !b[C] || b[C][1] !== X)
621
- return _e && fe() && P().onDiscarded(C), !1;
620
+ ]), [ue, X] = b[C], ue = await ue, _e && setTimeout(U, o.dedupingInterval), !b[C] || b[C][1] !== X)
621
+ return _e && ge() && P().onDiscarded(C), !1;
622
622
  re.error = st;
623
623
  const Se = y[C];
624
624
  if (!Me(Se) && // case 1
625
625
  (X <= Se[0] || // case 2
626
626
  X <= Se[1] || // case 3
627
627
  Se[1] === 0))
628
- return G(), _e && fe() && P().onDiscarded(C), !1;
628
+ return G(), _e && ge() && P().onDiscarded(C), !1;
629
629
  const Be = _().data;
630
- re.data = a(Be, pe) ? Be : pe, _e && fe() && P().onSuccess(pe, C, o);
630
+ re.data = a(Be, ue) ? Be : ue, _e && ge() && P().onSuccess(ue, C, o);
631
631
  } catch (Se) {
632
632
  U();
633
633
  const Be = P(), { shouldRetryOnError: Ge } = Be;
634
- Be.isPaused() || (re.error = Se, _e && fe() && (Be.onError(Se, C, Be), (Ge === !0 || wt(Ge) && Ge(Se)) && (!P().revalidateOnFocus || !P().revalidateOnReconnect || z()) && Be.onErrorRetry(Se, C, Be, (Re) => {
634
+ Be.isPaused() || (re.error = Se, _e && ge() && (Be.onError(Se, C, Be), (Ge === !0 || wt(Ge) && Ge(Se)) && (!P().revalidateOnFocus || !P().revalidateOnReconnect || z()) && Be.onErrorRetry(Se, C, Be, (Re) => {
635
635
  const Ke = m[C];
636
636
  Ke && Ke[0] && Ke[0](va, Re);
637
637
  }, {
@@ -693,9 +693,9 @@ const In = we.use || // This extra generic is to avoid TypeScript mixing up the
693
693
  let ve;
694
694
  function V() {
695
695
  const X = wt(p) ? p(_().data) : p;
696
- X && ve !== -1 && (ve = setTimeout(pe, X));
696
+ X && ve !== -1 && (ve = setTimeout(ue, X));
697
697
  }
698
- function pe() {
698
+ function ue() {
699
699
  !_().error && (d || P().isVisible()) && (u || P().isOnline()) ? te(Pn).then(V) : V();
700
700
  }
701
701
  return V(), () => {
@@ -1823,7 +1823,7 @@ const Fi = () => {
1823
1823
  [F, k]
1824
1824
  ), Ce = W(async () => {
1825
1825
  F && await s(F);
1826
- }, [F, s]), ve = W(async () => F ? await g(F) : [], [F, g]), V = W(async () => F ? await I(F) : [], [F, I]), pe = W(
1826
+ }, [F, s]), ve = W(async () => F ? await g(F) : [], [F, g]), V = W(async () => F ? await I(F) : [], [F, I]), ue = W(
1827
1827
  async (U) => {
1828
1828
  if (F)
1829
1829
  return await E(F, U);
@@ -1846,7 +1846,7 @@ const Fi = () => {
1846
1846
  ), _e = W(
1847
1847
  async (U) => F ? await P(F, U) : null,
1848
1848
  [F, P]
1849
- ), fe = W(
1849
+ ), ge = W(
1850
1850
  async (U) => {
1851
1851
  if (F)
1852
1852
  return await z(F, U);
@@ -1914,12 +1914,12 @@ const Fi = () => {
1914
1914
  discardInvitation: te,
1915
1915
  resendInvitation: me,
1916
1916
  getEnterpriseConnections: V,
1917
- createEnterpriseConnection: pe,
1917
+ createEnterpriseConnection: ue,
1918
1918
  updateEnterpriseConnection: X,
1919
1919
  deleteEnterpriseConnection: Q,
1920
1920
  testEnterpriseConnectionConfig: le,
1921
1921
  testEnterpriseConnection: _e,
1922
- generateSCIMToken: fe,
1922
+ generateSCIMToken: ge,
1923
1923
  getSCIMToken: re,
1924
1924
  revokeSCIMToken: G,
1925
1925
  error: null
@@ -3259,7 +3259,7 @@ function Tp({
3259
3259
  },
3260
3260
  [p]
3261
3261
  ), O = W((j) => {
3262
- var ae, be, te, me, Ce, ve, V, pe;
3262
+ var ae, be, te, me, Ce, ve, V, ue;
3263
3263
  const { id: Y, message_type: H, content: ee } = j, ce = (X) => g.some((Q) => Q.id === X);
3264
3264
  if (H === "system_decision" || H === "action_execution_result" || H === "assistant_task_breakdown" || H === "assistant_validation" || H === "assistant_action_planning" || H === "context_results") {
3265
3265
  d(null), v(null);
@@ -3361,7 +3361,7 @@ function Tp({
3361
3361
  X = ee.task_execution.approach;
3362
3362
  else if (ee.strategic_synthesis)
3363
3363
  X = ee.strategic_synthesis;
3364
- else if ((pe = ee.task_breakdown) != null && pe.total_tasks)
3364
+ else if ((ue = ee.task_breakdown) != null && ue.total_tasks)
3365
3365
  X = `Breaking down into ${ee.task_breakdown.total_tasks} tasks...`;
3366
3366
  else if (ee.acknowledgment_message)
3367
3367
  X = ee.acknowledgment_message;
@@ -3534,7 +3534,7 @@ function Tp({
3534
3534
  const Ce = ((ve = te.metadata) == null ? void 0 : ve.message_type) || (me == null ? void 0 : me.message_type);
3535
3535
  return Ce === "user_message" || Ce === "agent_response" || Ce === "assistant_acknowledgment" || Ce === "user_input_request" || Ce === "system_decision" || Ce === "action_execution_result" || Ce === "assistant_task_breakdown" || Ce === "assistant_validation" || Ce === "assistant_action_planning" || Ce === "context_results";
3536
3536
  }).map((te) => {
3537
- var X, Q, le, _e, fe, re, G;
3537
+ var X, Q, le, _e, ge, re, G;
3538
3538
  let me = "", Ce, ve, V = te.content;
3539
3539
  if (typeof te.content == "string")
3540
3540
  try {
@@ -3542,8 +3542,8 @@ function Tp({
3542
3542
  } catch {
3543
3543
  V = te.content;
3544
3544
  }
3545
- const pe = ((X = te.metadata) == null ? void 0 : X.message_type) || (V == null ? void 0 : V.message_type);
3546
- if (pe === "user_message" ? (me = (V == null ? void 0 : V.message) || "", Ce = (V == null ? void 0 : V.images) || void 0) : pe === "agent_response" ? me = (V == null ? void 0 : V.response) || "" : pe === "assistant_acknowledgment" ? me = (V == null ? void 0 : V.acknowledgment_message) || "" : pe === "user_input_request" && (me = (V == null ? void 0 : V.question) || "", ve = {
3545
+ const ue = ((X = te.metadata) == null ? void 0 : X.message_type) || (V == null ? void 0 : V.message_type);
3546
+ if (ue === "user_message" ? (me = (V == null ? void 0 : V.message) || "", Ce = (V == null ? void 0 : V.images) || void 0) : ue === "agent_response" ? me = (V == null ? void 0 : V.response) || "" : ue === "assistant_acknowledgment" ? me = (V == null ? void 0 : V.acknowledgment_message) || "" : ue === "user_input_request" && (me = (V == null ? void 0 : V.question) || "", ve = {
3547
3547
  type: "user_input_request",
3548
3548
  userInputRequest: {
3549
3549
  question: (V == null ? void 0 : V.question) || "",
@@ -3553,9 +3553,9 @@ function Tp({
3553
3553
  default_value: (V == null ? void 0 : V.default_value) || "",
3554
3554
  placeholder: (V == null ? void 0 : V.placeholder) || ""
3555
3555
  }
3556
- }), pe === "system_decision" || pe === "action_execution_result" || pe === "assistant_task_breakdown" || pe === "assistant_validation" || pe === "assistant_action_planning" || pe === "context_results") {
3556
+ }), ue === "system_decision" || ue === "action_execution_result" || ue === "assistant_task_breakdown" || ue === "assistant_validation" || ue === "assistant_action_planning" || ue === "context_results") {
3557
3557
  let U = "";
3558
- if (pe === "system_decision") {
3558
+ if (ue === "system_decision") {
3559
3559
  const de = V == null ? void 0 : V.step, Se = V == null ? void 0 : V.reasoning;
3560
3560
  if (de === "gathercontext")
3561
3561
  Se && Se.length > 0 ? U = Se.length > 60 ? `${Se.substring(0, 60)}...` : Se : U = "Gathering context...";
@@ -3585,23 +3585,23 @@ function Tp({
3585
3585
  const Be = (V == null ? void 0 : V.confidence) || 0.5;
3586
3586
  Be > 0.8 ? U = "Analyzing" : Be > 0.6 ? U = "Thinking" : U = "Reasoning";
3587
3587
  }
3588
- } else if (pe === "action_execution_result")
3588
+ } else if (ue === "action_execution_result")
3589
3589
  ((Q = V == null ? void 0 : V.task_execution) == null ? void 0 : Q.status) === "completed" ? U = "Task execution completed" : (le = V == null ? void 0 : V.task_execution) != null && le.approach ? U = V.task_execution.approach : U = "Executing task";
3590
- else if (pe === "assistant_task_breakdown")
3590
+ else if (ue === "assistant_task_breakdown")
3591
3591
  (_e = V == null ? void 0 : V.task_breakdown) != null && _e.total_tasks ? U = `Identified ${V.task_breakdown.total_tasks} tasks` : U = "Planning tasks";
3592
- else if (pe === "assistant_validation")
3592
+ else if (ue === "assistant_validation")
3593
3593
  U = "Validated results";
3594
- else if (pe === "assistant_action_planning")
3595
- (fe = V == null ? void 0 : V.task_execution) != null && fe.total_tasks ? U = `Planned ${V.task_execution.total_tasks} tasks` : (G = (re = V == null ? void 0 : V.task_execution) == null ? void 0 : re.tasks) != null && G.length ? U = `Planned ${V.task_execution.tasks.length} tasks` : U = "Planning actions";
3596
- else if (pe === "context_results") {
3594
+ else if (ue === "assistant_action_planning")
3595
+ (ge = V == null ? void 0 : V.task_execution) != null && ge.total_tasks ? U = `Planned ${V.task_execution.total_tasks} tasks` : (G = (re = V == null ? void 0 : V.task_execution) == null ? void 0 : re.tasks) != null && G.length ? U = `Planned ${V.task_execution.tasks.length} tasks` : U = "Planning actions";
3596
+ else if (ue === "context_results") {
3597
3597
  const de = V == null ? void 0 : V.query, Se = (V == null ? void 0 : V.result_count) || 0;
3598
3598
  de && de !== "General context gathering" ? U = `${de}: Found ${Se} results` : U = `Found ${Se} results`;
3599
3599
  }
3600
- me = U, ve = { type: "log", messageType: pe };
3600
+ me = U, ve = { type: "log", messageType: ue };
3601
3601
  }
3602
3602
  return {
3603
3603
  id: te.id,
3604
- role: pe === "user_message" ? "user" : pe === "user_input_request" ? "system" : "assistant",
3604
+ role: ue === "user_message" ? "user" : ue === "user_input_request" ? "system" : "assistant",
3605
3605
  content: me,
3606
3606
  images: Ce,
3607
3607
  timestamp: new Date(
@@ -6019,7 +6019,7 @@ const ml = (t) => /* @__PURE__ */ i(
6019
6019
  return /* @__PURE__ */ e("a", { href: t, onClick: s, ...n, children: o });
6020
6020
  }, Xh = {
6021
6021
  sm: "36rem"
6022
- }, he = l.input`
6022
+ }, fe = l.input`
6023
6023
  padding: var(--space-sm) var(--space-md);
6024
6024
  width: 100%;
6025
6025
  height: 36px;
@@ -6457,7 +6457,7 @@ const ml = (t) => /* @__PURE__ */ i(
6457
6457
  font-size: 0.8125rem;
6458
6458
  gap: 0.375rem;
6459
6459
  }
6460
- `, cf = l(he)`
6460
+ `, cf = l(fe)`
6461
6461
  flex: 1;
6462
6462
  `, bn = ({
6463
6463
  value: t,
@@ -6767,7 +6767,7 @@ const uf = Kt`
6767
6767
  margin-left: 2px;
6768
6768
  `;
6769
6769
  function Ub() {
6770
- var j, Y, H, ee, ce, ae, be, te, me, Ce, ve, V, pe, X, Q, le, _e;
6770
+ var j, Y, H, ee, ce, ae, be, te, me, Ce, ve, V, ue, X, Q, le, _e;
6771
6771
  const { loading: t, signUp: r, signupAttempt: o, discardSignupAttempt: n } = ap(), { signIn: a } = to("oauth"), { deployment: s } = ze(), { navigate: h } = ct(), {
6772
6772
  session: g,
6773
6773
  refetch: c,
@@ -6781,13 +6781,13 @@ function Ub() {
6781
6781
  phone_number: ""
6782
6782
  }), [v, m] = $({}), [y, b] = $(!1), [k, C] = $(void 0), [S, I] = $(null), [E, w] = $(null), [x, f] = $(!1), P = ((j = s == null ? void 0 : s.restrictions) == null ? void 0 : j.sign_up_mode) === "restricted", z = ((Y = s == null ? void 0 : s.restrictions) == null ? void 0 : Y.sign_up_mode) === "waitlist", _ = ((ee = (H = s == null ? void 0 : s.auth_settings) == null ? void 0 : H.multi_session_support) == null ? void 0 : ee.enabled) ?? !1;
6783
6783
  ie(() => {
6784
- var fe;
6784
+ var ge;
6785
6785
  if (!p && (g != null && g.active_signin) && !_ && !x) {
6786
6786
  f(!0);
6787
6787
  let re = new URLSearchParams(window.location.search).get(
6788
6788
  "redirect_uri"
6789
6789
  );
6790
- re || (re = ((fe = s == null ? void 0 : s.ui_settings) == null ? void 0 : fe.after_signin_redirect_url) || null), !re && (s != null && s.frontend_host) && (re = `https://${s.frontend_host}`), !re && (s != null && s.frontend_host) && (re = `https://${s.frontend_host}`), re && h(re);
6790
+ re || (re = ((ge = s == null ? void 0 : s.ui_settings) == null ? void 0 : ge.after_signin_redirect_url) || null), !re && (s != null && s.frontend_host) && (re = `https://${s.frontend_host}`), !re && (s != null && s.frontend_host) && (re = `https://${s.frontend_host}`), re && h(re);
6791
6791
  }
6792
6792
  }, [
6793
6793
  g,
@@ -6817,8 +6817,8 @@ function Ub() {
6817
6817
  console.error("Failed to validate invitation:", U);
6818
6818
  }));
6819
6819
  }, [s, z, h, S, r]);
6820
- const [M, O] = $(!1), [A, R] = $(""), L = (fe) => {
6821
- let { name: re, value: G } = fe.target;
6820
+ const [M, O] = $(!1), [A, R] = $(""), L = (ge) => {
6821
+ let { name: re, value: G } = ge.target;
6822
6822
  re === "phone_number" ? G = G.replace(/[^0-9-]/g, "") : re === "email" && (G = G.toLowerCase()), u((U) => ({ ...U, [re]: G })), m((U) => ({ ...U, [re]: "" }));
6823
6823
  }, B = () => {
6824
6824
  u({
@@ -6829,8 +6829,8 @@ function Ub() {
6829
6829
  username: "",
6830
6830
  phone_number: ""
6831
6831
  }), m({}), O(!1), R(""), n();
6832
- }, F = async (fe) => {
6833
- if (fe.preventDefault(), console.log("Signup form - handleSubmit called"), console.log("Auth settings:", D), console.log("Form data:", d), t || y) return;
6832
+ }, F = async (ge) => {
6833
+ if (ge.preventDefault(), console.log("Signup form - handleSubmit called"), console.log("Auth settings:", D), console.log("Form data:", d), t || y) return;
6834
6834
  const re = {}, G = /^[a-zA-Z]{3,30}$/, U = /^[a-zA-Z][a-zA-Z0-9_.]{2,29}$/, de = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/, Se = /^\d{7,15}$/, Be = /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,125}$/;
6835
6835
  if (D != null && D.first_name.enabled && (D != null && D.first_name.required && !d.first_name ? re.first_name = "First name is required" : d.first_name && !G.test(d.first_name) && (re.first_name = "Invalid name")), D != null && D.last_name.enabled && (D != null && D.last_name.required && !d.last_name ? re.last_name = "Last name is required" : d.last_name && !G.test(d.last_name) && (re.last_name = "Invalid last name")), D != null && D.username.enabled && (D != null && D.username.required && !d.username ? re.username = "Username is required" : d.username && !U.test(d.username) && (re.username = "Username must be 3-20 characters")), D != null && D.email_address.enabled && (D != null && D.email_address.required && !d.email ? re.email = "Email address is required" : d.email && !de.test(d.email) && (re.email = "Invalid email address")), D != null && D.phone_number.enabled && (D != null && D.phone_number.required && !d.phone_number ? re.phone_number = "Phone number is required" : d.phone_number && !Se.test(d.phone_number) && (re.phone_number = "Phone number must contain 7-15 digits")), D != null && D.password.enabled && (d.password ? Be.test(d.password) || (re.password = "Password must be 8-125 characters and include uppercase, lowercase, number, and special character") : re.password = "Password is required"), m(re), Object.keys(re).length > 0) {
6836
6836
  console.log("Signup validation failed. Errors:", re);
@@ -6845,12 +6845,12 @@ function Ub() {
6845
6845
  } finally {
6846
6846
  b(!1);
6847
6847
  }
6848
- }, N = async (fe) => {
6848
+ }, N = async (ge) => {
6849
6849
  if (!(t || y)) {
6850
6850
  b(!0);
6851
6851
  try {
6852
6852
  const G = new URLSearchParams(window.location.search).get("redirect_uri") || void 0, { data: U } = await a.create({
6853
- provider: fe.provider,
6853
+ provider: ge.provider,
6854
6854
  redirectUri: G
6855
6855
  });
6856
6856
  U && typeof U == "object" && "oauth_url" in U && (window.location.href = U.oauth_url);
@@ -6860,9 +6860,9 @@ function Ub() {
6860
6860
  b(!1);
6861
6861
  }
6862
6862
  }
6863
- }, T = (s == null ? void 0 : s.social_connections.filter((fe) => fe.enabled)) || [], D = s == null ? void 0 : s.auth_settings, Z = !!((ce = D == null ? void 0 : D.first_name) != null && ce.enabled && ((ae = D == null ? void 0 : D.last_name) != null && ae.enabled)), K = async (fe) => {
6863
+ }, T = (s == null ? void 0 : s.social_connections.filter((ge) => ge.enabled)) || [], D = s == null ? void 0 : s.auth_settings, Z = !!((ce = D == null ? void 0 : D.first_name) != null && ce.enabled && ((ae = D == null ? void 0 : D.last_name) != null && ae.enabled)), K = async (ge) => {
6864
6864
  var G;
6865
- if (fe.preventDefault(), t || y) return;
6865
+ if (ge.preventDefault(), t || y) return;
6866
6866
  b(!0);
6867
6867
  const re = {};
6868
6868
  if (!A) {
@@ -6880,13 +6880,13 @@ function Ub() {
6880
6880
  }
6881
6881
  };
6882
6882
  return ie(() => {
6883
- var fe;
6883
+ var ge;
6884
6884
  if (o) {
6885
6885
  if (o.completed) {
6886
6886
  let re = new URLSearchParams(
6887
6887
  window.location.search
6888
6888
  ).get("redirect_uri");
6889
- if (re || (re = ((fe = s == null ? void 0 : s.ui_settings) == null ? void 0 : fe.after_signup_redirect_url) || null), !re && (s != null && s.frontend_host) && (re = `https://${s.frontend_host}`), re) {
6889
+ if (re || (re = ((ge = s == null ? void 0 : s.ui_settings) == null ? void 0 : ge.after_signup_redirect_url) || null), !re && (s != null && s.frontend_host) && (re = `https://${s.frontend_host}`), re) {
6890
6890
  let G;
6891
6891
  try {
6892
6892
  G = new URL(re);
@@ -6952,12 +6952,12 @@ function Ub() {
6952
6952
  /* @__PURE__ */ e(
6953
6953
  kr,
6954
6954
  {
6955
- onComplete: async (fe) => {
6956
- R(fe);
6955
+ onComplete: async (ge) => {
6956
+ R(ge);
6957
6957
  },
6958
6958
  onResend: async () => {
6959
- const fe = (o == null ? void 0 : o.current_step) === "verify_email" ? "email_otp" : "phone_otp";
6960
- await r.prepareVerification({ strategy: fe });
6959
+ const ge = (o == null ? void 0 : o.current_step) === "verify_email" ? "email_otp" : "phone_otp";
6960
+ await r.prepareVerification({ strategy: ge });
6961
6961
  },
6962
6962
  error: v.otp,
6963
6963
  isSubmitting: y
@@ -7007,13 +7007,13 @@ function Ub() {
7007
7007
  ] }),
7008
7008
  /* @__PURE__ */ i(Va, { onSubmit: F, noValidate: !0, children: [
7009
7009
  (((ve = D == null ? void 0 : D.first_name) == null ? void 0 : ve.enabled) || ((V = D == null ? void 0 : D.last_name) == null ? void 0 : V.enabled)) && /* @__PURE__ */ i(gf, { $isBothEnabled: Z, children: [
7010
- ((pe = D == null ? void 0 : D.first_name) == null ? void 0 : pe.enabled) && /* @__PURE__ */ i(Sr, { children: [
7010
+ ((ue = D == null ? void 0 : D.first_name) == null ? void 0 : ue.enabled) && /* @__PURE__ */ i(Sr, { children: [
7011
7011
  /* @__PURE__ */ i(zr, { htmlFor: "first_name", children: [
7012
7012
  "First name",
7013
7013
  ((X = D == null ? void 0 : D.first_name) == null ? void 0 : X.required) && /* @__PURE__ */ e($r, { children: "*" })
7014
7014
  ] }),
7015
7015
  /* @__PURE__ */ e(
7016
- he,
7016
+ fe,
7017
7017
  {
7018
7018
  type: "text",
7019
7019
  id: "first_name",
@@ -7036,7 +7036,7 @@ function Ub() {
7036
7036
  ((le = D == null ? void 0 : D.last_name) == null ? void 0 : le.required) && /* @__PURE__ */ e($r, { children: "*" })
7037
7037
  ] }),
7038
7038
  /* @__PURE__ */ e(
7039
- he,
7039
+ fe,
7040
7040
  {
7041
7041
  type: "text",
7042
7042
  id: "last_name",
@@ -7060,7 +7060,7 @@ function Ub() {
7060
7060
  D.username.required && /* @__PURE__ */ e($r, { children: "*" })
7061
7061
  ] }),
7062
7062
  /* @__PURE__ */ e(
7063
- he,
7063
+ fe,
7064
7064
  {
7065
7065
  type: "text",
7066
7066
  id: "username",
@@ -7083,7 +7083,7 @@ function Ub() {
7083
7083
  D.email_address.required && /* @__PURE__ */ e($r, { children: "*" })
7084
7084
  ] }),
7085
7085
  /* @__PURE__ */ e(
7086
- he,
7086
+ fe,
7087
7087
  {
7088
7088
  type: "email",
7089
7089
  id: "email",
@@ -7123,7 +7123,7 @@ function Ub() {
7123
7123
  D.password.required && /* @__PURE__ */ e($r, { children: "*" })
7124
7124
  ] }),
7125
7125
  /* @__PURE__ */ e(mf, { children: /* @__PURE__ */ e(
7126
- he,
7126
+ fe,
7127
7127
  {
7128
7128
  type: "password",
7129
7129
  id: "password",
@@ -7383,7 +7383,7 @@ const _l = Yt(void 0), kl = () => {
7383
7383
  display: flex;
7384
7384
  flex-direction: column;
7385
7385
  gap: var(--space-xs);
7386
- `, ue = l.label`
7386
+ `, he = l.label`
7387
7387
  font-size: var(--font-xs);
7388
7388
  text-align: left;
7389
7389
  font-weight: 400;
@@ -8145,9 +8145,9 @@ function Yf({ onBack: t }) {
8145
8145
  ] }),
8146
8146
  /* @__PURE__ */ i(Ft, { onSubmit: x, noValidate: !0, children: [
8147
8147
  /* @__PURE__ */ i(ye, { children: [
8148
- /* @__PURE__ */ e(ue, { htmlFor: "email", children: "Email Address" }),
8148
+ /* @__PURE__ */ e(he, { htmlFor: "email", children: "Email Address" }),
8149
8149
  /* @__PURE__ */ e(
8150
- he,
8150
+ fe,
8151
8151
  {
8152
8152
  type: "email",
8153
8153
  id: "email",
@@ -8214,9 +8214,9 @@ function Yf({ onBack: t }) {
8214
8214
  ] }),
8215
8215
  /* @__PURE__ */ i(Ft, { onSubmit: P, noValidate: !0, children: [
8216
8216
  /* @__PURE__ */ i(ye, { children: [
8217
- /* @__PURE__ */ e(ue, { htmlFor: "password", children: "New Password" }),
8217
+ /* @__PURE__ */ e(he, { htmlFor: "password", children: "New Password" }),
8218
8218
  /* @__PURE__ */ e(
8219
- he,
8219
+ fe,
8220
8220
  {
8221
8221
  type: "password",
8222
8222
  id: "password",
@@ -8228,9 +8228,9 @@ function Yf({ onBack: t }) {
8228
8228
  )
8229
8229
  ] }),
8230
8230
  /* @__PURE__ */ i(ye, { children: [
8231
- /* @__PURE__ */ e(ue, { htmlFor: "confirmPassword", children: "Confirm New Password" }),
8231
+ /* @__PURE__ */ e(he, { htmlFor: "confirmPassword", children: "Confirm New Password" }),
8232
8232
  /* @__PURE__ */ e(
8233
- he,
8233
+ fe,
8234
8234
  {
8235
8235
  type: "password",
8236
8236
  id: "confirmPassword",
@@ -8471,7 +8471,7 @@ const hg = l.div`
8471
8471
  &:hover {
8472
8472
  color: var(--color-primary-hover);
8473
8473
  }
8474
- `, wg = l(he)`
8474
+ `, wg = l(fe)`
8475
8475
  padding: var(--space-sm) var(--space-md);
8476
8476
  `;
8477
8477
  function _g({
@@ -8494,7 +8494,7 @@ function _g({
8494
8494
  t(n);
8495
8495
  }, noValidate: !0, children: [
8496
8496
  /* @__PURE__ */ i(ye, { children: [
8497
- /* @__PURE__ */ e(ue, { htmlFor: "lastDigits", children: "Last 4 digits" }),
8497
+ /* @__PURE__ */ e(he, { htmlFor: "lastDigits", children: "Last 4 digits" }),
8498
8498
  /* @__PURE__ */ e(
8499
8499
  wg,
8500
8500
  {
@@ -8622,7 +8622,7 @@ const kg = () => /* @__PURE__ */ e(
8622
8622
  &:hover {
8623
8623
  color: var(--color-primary-hover);
8624
8624
  }
8625
- `, Pg = l(he)`
8625
+ `, Pg = l(fe)`
8626
8626
  padding: var(--space-sm) var(--space-md);
8627
8627
  `;
8628
8628
  function Eg({
@@ -8761,7 +8761,7 @@ function Eg({
8761
8761
  ] }),
8762
8762
  /* @__PURE__ */ i(Ft, { onSubmit: _, noValidate: !0, children: [
8763
8763
  u === "backup_code" ? /* @__PURE__ */ i(ye, { children: [
8764
- /* @__PURE__ */ e(ue, { htmlFor: "code", children: "Backup code" }),
8764
+ /* @__PURE__ */ e(he, { htmlFor: "code", children: "Backup code" }),
8765
8765
  /* @__PURE__ */ e(
8766
8766
  Pg,
8767
8767
  {
@@ -8984,7 +8984,7 @@ function Mg({
8984
8984
  }, L = () => {
8985
8985
  const ce = {};
8986
8986
  return z.forEach((ae) => {
8987
- var me, Ce, ve, V, pe;
8987
+ var me, Ce, ve, V, ue;
8988
8988
  const be = g[ae];
8989
8989
  let te = !1;
8990
8990
  switch (ae) {
@@ -9001,7 +9001,7 @@ function Mg({
9001
9001
  te = ((V = O == null ? void 0 : O.phone_number) == null ? void 0 : V.enabled) || !1;
9002
9002
  break;
9003
9003
  case "email_address":
9004
- te = ((pe = O == null ? void 0 : O.email_address) == null ? void 0 : pe.enabled) || !1;
9004
+ te = ((ue = O == null ? void 0 : O.email_address) == null ? void 0 : ue.enabled) || !1;
9005
9005
  break;
9006
9006
  default:
9007
9007
  te = !0;
@@ -9078,12 +9078,12 @@ function Mg({
9078
9078
  $isBothEnabled: !!((D = O == null ? void 0 : O.first_name) != null && D.enabled && ((Z = O == null ? void 0 : O.last_name) != null && Z.enabled) && z.includes("first_name") && z.includes("last_name")),
9079
9079
  children: [
9080
9080
  z.includes("first_name") && ((K = O == null ? void 0 : O.first_name) == null ? void 0 : K.enabled) && /* @__PURE__ */ i(ye, { children: [
9081
- /* @__PURE__ */ i(ue, { htmlFor: "first_name", children: [
9081
+ /* @__PURE__ */ i(he, { htmlFor: "first_name", children: [
9082
9082
  "First name ",
9083
9083
  O.first_name.required && "*"
9084
9084
  ] }),
9085
9085
  /* @__PURE__ */ e(
9086
- he,
9086
+ fe,
9087
9087
  {
9088
9088
  type: "text",
9089
9089
  id: "first_name",
@@ -9099,12 +9099,12 @@ function Mg({
9099
9099
  p.first_name && /* @__PURE__ */ e(er, { children: p.first_name })
9100
9100
  ] }),
9101
9101
  z.includes("last_name") && ((j = O == null ? void 0 : O.last_name) == null ? void 0 : j.enabled) && /* @__PURE__ */ i(ye, { children: [
9102
- /* @__PURE__ */ i(ue, { htmlFor: "last_name", children: [
9102
+ /* @__PURE__ */ i(he, { htmlFor: "last_name", children: [
9103
9103
  "Last name ",
9104
9104
  O.last_name.required && "*"
9105
9105
  ] }),
9106
9106
  /* @__PURE__ */ e(
9107
- he,
9107
+ fe,
9108
9108
  {
9109
9109
  type: "text",
9110
9110
  id: "last_name",
@@ -9123,12 +9123,12 @@ function Mg({
9123
9123
  }
9124
9124
  ),
9125
9125
  z.includes("username") && ((Y = O == null ? void 0 : O.username) == null ? void 0 : Y.enabled) && /* @__PURE__ */ i(ye, { children: [
9126
- /* @__PURE__ */ i(ue, { htmlFor: "username", children: [
9126
+ /* @__PURE__ */ i(he, { htmlFor: "username", children: [
9127
9127
  "Username ",
9128
9128
  O.username.required && "*"
9129
9129
  ] }),
9130
9130
  /* @__PURE__ */ e(
9131
- he,
9131
+ fe,
9132
9132
  {
9133
9133
  type: "text",
9134
9134
  id: "username",
@@ -9144,7 +9144,7 @@ function Mg({
9144
9144
  p.username && /* @__PURE__ */ e(er, { children: p.username })
9145
9145
  ] }),
9146
9146
  z.includes("phone_number") && ((H = O == null ? void 0 : O.phone_number) == null ? void 0 : H.enabled) && /* @__PURE__ */ i(ye, { children: [
9147
- /* @__PURE__ */ i(ue, { htmlFor: "phone_number", children: [
9147
+ /* @__PURE__ */ i(he, { htmlFor: "phone_number", children: [
9148
9148
  "Phone number ",
9149
9149
  O.phone_number.required && "*"
9150
9150
  ] }),
@@ -9161,12 +9161,12 @@ function Mg({
9161
9161
  p.phone_number && /* @__PURE__ */ e(er, { children: p.phone_number })
9162
9162
  ] }),
9163
9163
  z.includes("email_address") && ((ee = O == null ? void 0 : O.email_address) == null ? void 0 : ee.enabled) && /* @__PURE__ */ i(ye, { children: [
9164
- /* @__PURE__ */ i(ue, { htmlFor: "email", children: [
9164
+ /* @__PURE__ */ i(he, { htmlFor: "email", children: [
9165
9165
  "Email address ",
9166
9166
  O.email_address.required && "*"
9167
9167
  ] }),
9168
9168
  /* @__PURE__ */ e(
9169
- he,
9169
+ fe,
9170
9170
  {
9171
9171
  type: "email",
9172
9172
  id: "email",
@@ -9463,8 +9463,8 @@ function Vb() {
9463
9463
  return /* @__PURE__ */ e(Wf, { children: /* @__PURE__ */ e(em, {}) });
9464
9464
  }
9465
9465
  function em() {
9466
- var pe, X, Q, le, _e, fe, re, G, U, de, Se, Be, Ge, Re, Ke, je;
9467
- const { deployment: t } = ze(), { navigate: r } = ct(), { session: o, loading: n } = ot(), a = ((X = (pe = t == null ? void 0 : t.auth_settings) == null ? void 0 : pe.multi_session_support) == null ? void 0 : X.enabled) ?? !1, {
9466
+ var ue, X, Q, le, _e, ge, re, G, U, de, Se, Be, Ge, Re, Ke, je;
9467
+ const { deployment: t } = ze(), { navigate: r } = ct(), { session: o, loading: n } = ot(), a = ((X = (ue = t == null ? void 0 : t.auth_settings) == null ? void 0 : ue.multi_session_support) == null ? void 0 : X.enabled) ?? !1, {
9468
9468
  setEmail: s,
9469
9469
  otpSent: h,
9470
9470
  setOtpSent: g,
@@ -9880,12 +9880,12 @@ function em() {
9880
9880
  ]
9881
9881
  }
9882
9882
  ),
9883
- (v.length > 0 || ((fe = (_e = t == null ? void 0 : t.auth_settings) == null ? void 0 : _e.passkey) == null ? void 0 : fe.enabled)) && /* @__PURE__ */ e(Hg, { children: /* @__PURE__ */ e(qg, { children: "or" }) }),
9883
+ (v.length > 0 || ((ge = (_e = t == null ? void 0 : t.auth_settings) == null ? void 0 : _e.passkey) == null ? void 0 : ge.enabled)) && /* @__PURE__ */ e(Hg, { children: /* @__PURE__ */ e(qg, { children: "or" }) }),
9884
9884
  /* @__PURE__ */ i(Ft, { onSubmit: ae, noValidate: !0, children: [
9885
9885
  (m === "email_password" || m === "email_otp" || m === "email_magic_link") && ((G = (re = t == null ? void 0 : t.auth_settings) == null ? void 0 : re.email_address) == null ? void 0 : G.enabled) && /* @__PURE__ */ i(ye, { children: [
9886
- /* @__PURE__ */ e(ue, { htmlFor: "email", children: "Email address" }),
9886
+ /* @__PURE__ */ e(he, { htmlFor: "email", children: "Email address" }),
9887
9887
  /* @__PURE__ */ e(
9888
- he,
9888
+ fe,
9889
9889
  {
9890
9890
  type: "email",
9891
9891
  id: "email",
@@ -9899,9 +9899,9 @@ function em() {
9899
9899
  z.email && /* @__PURE__ */ e(Zr, { children: z.email })
9900
9900
  ] }),
9901
9901
  m === "username_password" && ((de = (U = t == null ? void 0 : t.auth_settings) == null ? void 0 : U.username) == null ? void 0 : de.enabled) && /* @__PURE__ */ i(ye, { children: [
9902
- /* @__PURE__ */ e(ue, { htmlFor: "username", children: "Username" }),
9902
+ /* @__PURE__ */ e(he, { htmlFor: "username", children: "Username" }),
9903
9903
  /* @__PURE__ */ e(
9904
- he,
9904
+ fe,
9905
9905
  {
9906
9906
  type: "text",
9907
9907
  id: "username",
@@ -9915,7 +9915,7 @@ function em() {
9915
9915
  z.username && /* @__PURE__ */ e(Zr, { children: z.username })
9916
9916
  ] }),
9917
9917
  m === "phone_otp" && ((Be = (Se = t == null ? void 0 : t.auth_settings) == null ? void 0 : Se.phone_number) == null ? void 0 : Be.enabled) && /* @__PURE__ */ i(ye, { children: [
9918
- /* @__PURE__ */ e(ue, { htmlFor: "phone", children: "Phone number" }),
9918
+ /* @__PURE__ */ e(he, { htmlFor: "phone", children: "Phone number" }),
9919
9919
  /* @__PURE__ */ e(
9920
9920
  bn,
9921
9921
  {
@@ -9937,7 +9937,7 @@ function em() {
9937
9937
  justifyContent: "space-between"
9938
9938
  },
9939
9939
  children: [
9940
- /* @__PURE__ */ e(ue, { htmlFor: "password", children: "Password" }),
9940
+ /* @__PURE__ */ e(he, { htmlFor: "password", children: "Password" }),
9941
9941
  /* @__PURE__ */ e(
9942
9942
  tr,
9943
9943
  {
@@ -9950,7 +9950,7 @@ function em() {
9950
9950
  }
9951
9951
  ),
9952
9952
  /* @__PURE__ */ e(Yg, { children: /* @__PURE__ */ e(
9953
- he,
9953
+ fe,
9954
9954
  {
9955
9955
  type: "password",
9956
9956
  id: "password",
@@ -10145,7 +10145,7 @@ function Gb() {
10145
10145
  ((w = v == null ? void 0 : v.first_name) == null ? void 0 : w.required) && /* @__PURE__ */ e(Kn, { children: "*" })
10146
10146
  ] }),
10147
10147
  /* @__PURE__ */ e(
10148
- he,
10148
+ fe,
10149
10149
  {
10150
10150
  type: "text",
10151
10151
  id: "first_name",
@@ -10167,7 +10167,7 @@ function Gb() {
10167
10167
  ((P = v == null ? void 0 : v.last_name) == null ? void 0 : P.required) && /* @__PURE__ */ e(Kn, { children: "*" })
10168
10168
  ] }),
10169
10169
  /* @__PURE__ */ e(
10170
- he,
10170
+ fe,
10171
10171
  {
10172
10172
  type: "text",
10173
10173
  id: "last_name",
@@ -10190,7 +10190,7 @@ function Gb() {
10190
10190
  ((_ = v == null ? void 0 : v.email_address) == null ? void 0 : _.required) && /* @__PURE__ */ e(Kn, { children: "*" })
10191
10191
  ] }),
10192
10192
  /* @__PURE__ */ e(
10193
- he,
10193
+ fe,
10194
10194
  {
10195
10195
  type: "email",
10196
10196
  id: "email",
@@ -11301,9 +11301,9 @@ const Qi = Yt({
11301
11301
  }, children: "Add the following DNS record to your domain" }) }),
11302
11302
  /* @__PURE__ */ i("div", { style: { display: "flex", flexDirection: "column", gap: "var(--space-sm)" }, children: [
11303
11303
  /* @__PURE__ */ i(ye, { children: [
11304
- /* @__PURE__ */ e(ue, { children: "Record Type" }),
11304
+ /* @__PURE__ */ e(he, { children: "Record Type" }),
11305
11305
  /* @__PURE__ */ e(
11306
- he,
11306
+ fe,
11307
11307
  {
11308
11308
  value: a == null ? void 0 : a.verification_dns_record_type,
11309
11309
  disabled: !0
@@ -11311,9 +11311,9 @@ const Qi = Yt({
11311
11311
  )
11312
11312
  ] }),
11313
11313
  /* @__PURE__ */ i(ye, { children: [
11314
- /* @__PURE__ */ e(ue, { children: "Record Name" }),
11314
+ /* @__PURE__ */ e(he, { children: "Record Name" }),
11315
11315
  /* @__PURE__ */ e(
11316
- he,
11316
+ fe,
11317
11317
  {
11318
11318
  value: a == null ? void 0 : a.verification_dns_record_name,
11319
11319
  disabled: !0
@@ -11321,9 +11321,9 @@ const Qi = Yt({
11321
11321
  )
11322
11322
  ] }),
11323
11323
  /* @__PURE__ */ i(ye, { children: [
11324
- /* @__PURE__ */ e(ue, { children: "Record Data" }),
11324
+ /* @__PURE__ */ e(he, { children: "Record Data" }),
11325
11325
  /* @__PURE__ */ e(
11326
- he,
11326
+ fe,
11327
11327
  {
11328
11328
  type: "text",
11329
11329
  value: a == null ? void 0 : a.verification_dns_record_data,
@@ -11366,9 +11366,9 @@ const Qi = Yt({
11366
11366
  /* @__PURE__ */ e(bs, { onClick: t, "aria-label": "Close add domain dialog", children: /* @__PURE__ */ e(gt, { size: 16 }) })
11367
11367
  ] }),
11368
11368
  /* @__PURE__ */ e(vs, { children: /* @__PURE__ */ e("div", { style: { display: "flex", flexDirection: "column", gap: "var(--space-sm)" }, children: /* @__PURE__ */ i(ye, { children: [
11369
- /* @__PURE__ */ e(ue, { children: "Enter FQDN" }),
11369
+ /* @__PURE__ */ e(he, { children: "Enter FQDN" }),
11370
11370
  /* @__PURE__ */ e(
11371
- he,
11371
+ fe,
11372
11372
  {
11373
11373
  type: "text",
11374
11374
  placeholder: "Enter your domain",
@@ -11531,9 +11531,9 @@ const Qi = Yt({
11531
11531
  ] }),
11532
11532
  /* @__PURE__ */ e(e0, { children: /* @__PURE__ */ i("div", { style: { display: "flex", flexDirection: "column", gap: "var(--space-sm)" }, children: [
11533
11533
  /* @__PURE__ */ i(ye, { children: [
11534
- /* @__PURE__ */ e(ue, { children: "Email Address" }),
11534
+ /* @__PURE__ */ e(he, { children: "Email Address" }),
11535
11535
  /* @__PURE__ */ e(
11536
- he,
11536
+ fe,
11537
11537
  {
11538
11538
  type: "email",
11539
11539
  placeholder: "colleague@company.com",
@@ -11546,7 +11546,7 @@ const Qi = Yt({
11546
11546
  )
11547
11547
  ] }),
11548
11548
  /* @__PURE__ */ i(ye, { children: [
11549
- /* @__PURE__ */ e(ue, { children: "Role" }),
11549
+ /* @__PURE__ */ e(he, { children: "Role" }),
11550
11550
  /* @__PURE__ */ e(
11551
11551
  Ki,
11552
11552
  {
@@ -11749,9 +11749,9 @@ const Qi = Yt({
11749
11749
  ] }),
11750
11750
  /* @__PURE__ */ e(a0, { children: /* @__PURE__ */ i("div", { style: { display: "flex", flexDirection: "column", gap: "var(--space-sm)" }, children: [
11751
11751
  /* @__PURE__ */ i(ye, { children: [
11752
- /* @__PURE__ */ e(ue, { children: "Role Name" }),
11752
+ /* @__PURE__ */ e(he, { children: "Role Name" }),
11753
11753
  /* @__PURE__ */ e(
11754
- he,
11754
+ fe,
11755
11755
  {
11756
11756
  type: "text",
11757
11757
  placeholder: "e.g. Admin, Editor, Viewer",
@@ -11764,7 +11764,7 @@ const Qi = Yt({
11764
11764
  )
11765
11765
  ] }),
11766
11766
  /* @__PURE__ */ i(ye, { children: [
11767
- /* @__PURE__ */ e(ue, { children: "Permissions" }),
11767
+ /* @__PURE__ */ e(he, { children: "Permissions" }),
11768
11768
  /* @__PURE__ */ e(
11769
11769
  Rl,
11770
11770
  {
@@ -12897,7 +12897,7 @@ const Qi = Yt({
12897
12897
  })(),
12898
12898
  /* @__PURE__ */ i("div", { style: { display: "grid", gridTemplateColumns: "1fr 1fr", gap: "16px" }, children: [
12899
12899
  !g && /* @__PURE__ */ i(ye, { children: [
12900
- /* @__PURE__ */ e(ue, { children: "Protocol *" }),
12900
+ /* @__PURE__ */ e(he, { children: "Protocol *" }),
12901
12901
  /* @__PURE__ */ i(
12902
12902
  $s,
12903
12903
  {
@@ -12911,7 +12911,7 @@ const Qi = Yt({
12911
12911
  )
12912
12912
  ] }),
12913
12913
  /* @__PURE__ */ i(ye, { style: { gridColumn: "1 / -1" }, children: [
12914
- /* @__PURE__ */ e(ue, { children: "Domain *" }),
12914
+ /* @__PURE__ */ e(he, { children: "Domain *" }),
12915
12915
  x ? /* @__PURE__ */ e("div", { style: { padding: "10px", color: "var(--color-muted)" }, children: "Loading domains..." }) : w.length === 0 ? /* @__PURE__ */ e(_s, { style: { marginBottom: 0 }, children: "No verified domains found. Please add and verify a domain first." }) : /* @__PURE__ */ i(
12916
12916
  $s,
12917
12917
  {
@@ -12927,9 +12927,9 @@ const Qi = Yt({
12927
12927
  ] }),
12928
12928
  p === "saml" ? /* @__PURE__ */ i(oe, { children: [
12929
12929
  /* @__PURE__ */ i(ye, { children: [
12930
- /* @__PURE__ */ e(ue, { children: "IdP Entity ID *" }),
12930
+ /* @__PURE__ */ e(he, { children: "IdP Entity ID *" }),
12931
12931
  /* @__PURE__ */ e(
12932
- he,
12932
+ fe,
12933
12933
  {
12934
12934
  type: "text",
12935
12935
  value: b.idp_entity_id,
@@ -12940,9 +12940,9 @@ const Qi = Yt({
12940
12940
  )
12941
12941
  ] }),
12942
12942
  /* @__PURE__ */ i(ye, { children: [
12943
- /* @__PURE__ */ e(ue, { children: "IdP SSO URL *" }),
12943
+ /* @__PURE__ */ e(he, { children: "IdP SSO URL *" }),
12944
12944
  /* @__PURE__ */ e(
12945
- he,
12945
+ fe,
12946
12946
  {
12947
12947
  type: "url",
12948
12948
  value: b.idp_sso_url,
@@ -12953,7 +12953,7 @@ const Qi = Yt({
12953
12953
  )
12954
12954
  ] }),
12955
12955
  /* @__PURE__ */ i(ye, { style: { gridColumn: "1 / -1" }, children: [
12956
- /* @__PURE__ */ e(ue, { children: "X.509 Certificate *" }),
12956
+ /* @__PURE__ */ e(he, { children: "X.509 Certificate *" }),
12957
12957
  /* @__PURE__ */ e(
12958
12958
  x0,
12959
12959
  {
@@ -12966,9 +12966,9 @@ const Qi = Yt({
12966
12966
  ] })
12967
12967
  ] }) : /* @__PURE__ */ i(oe, { children: [
12968
12968
  /* @__PURE__ */ i(ye, { children: [
12969
- /* @__PURE__ */ e(ue, { children: "Issuer URL *" }),
12969
+ /* @__PURE__ */ e(he, { children: "Issuer URL *" }),
12970
12970
  /* @__PURE__ */ e(
12971
- he,
12971
+ fe,
12972
12972
  {
12973
12973
  type: "url",
12974
12974
  value: b.oidc_issuer_url,
@@ -12979,9 +12979,9 @@ const Qi = Yt({
12979
12979
  )
12980
12980
  ] }),
12981
12981
  /* @__PURE__ */ i(ye, { children: [
12982
- /* @__PURE__ */ e(ue, { children: "Client ID *" }),
12982
+ /* @__PURE__ */ e(he, { children: "Client ID *" }),
12983
12983
  /* @__PURE__ */ e(
12984
- he,
12984
+ fe,
12985
12985
  {
12986
12986
  type: "text",
12987
12987
  value: b.oidc_client_id,
@@ -12995,9 +12995,9 @@ const Qi = Yt({
12995
12995
  )
12996
12996
  ] }),
12997
12997
  /* @__PURE__ */ i(ye, { children: [
12998
- /* @__PURE__ */ e(ue, { children: "Client Secret *" }),
12998
+ /* @__PURE__ */ e(he, { children: "Client Secret *" }),
12999
12999
  /* @__PURE__ */ e(
13000
- he,
13000
+ fe,
13001
13001
  {
13002
13002
  type: "password",
13003
13003
  value: b.oidc_client_secret,
@@ -13011,9 +13011,9 @@ const Qi = Yt({
13011
13011
  )
13012
13012
  ] }),
13013
13013
  /* @__PURE__ */ i(ye, { children: [
13014
- /* @__PURE__ */ e(ue, { children: "Scopes" }),
13014
+ /* @__PURE__ */ e(he, { children: "Scopes" }),
13015
13015
  /* @__PURE__ */ e(
13016
- he,
13016
+ fe,
13017
13017
  {
13018
13018
  type: "text",
13019
13019
  value: b.oidc_scopes,
@@ -13066,9 +13066,9 @@ const Qi = Yt({
13066
13066
  /* @__PURE__ */ e("div", { style: { fontSize: "12px", color: "var(--color-muted)", marginBottom: "12px" }, children: "Map IdP attribute names to Wacht user fields. Leave empty to use default attribute names." }),
13067
13067
  /* @__PURE__ */ i("div", { style: { display: "grid", gridTemplateColumns: "1fr 1fr 1fr", gap: "12px" }, children: [
13068
13068
  /* @__PURE__ */ i(ye, { children: [
13069
- /* @__PURE__ */ e(ue, { children: "First Name Attribute" }),
13069
+ /* @__PURE__ */ e(he, { children: "First Name Attribute" }),
13070
13070
  /* @__PURE__ */ e(
13071
- he,
13071
+ fe,
13072
13072
  {
13073
13073
  type: "text",
13074
13074
  value: b.attr_first_name,
@@ -13078,9 +13078,9 @@ const Qi = Yt({
13078
13078
  )
13079
13079
  ] }),
13080
13080
  /* @__PURE__ */ i(ye, { children: [
13081
- /* @__PURE__ */ e(ue, { children: "Last Name Attribute" }),
13081
+ /* @__PURE__ */ e(he, { children: "Last Name Attribute" }),
13082
13082
  /* @__PURE__ */ e(
13083
- he,
13083
+ fe,
13084
13084
  {
13085
13085
  type: "text",
13086
13086
  value: b.attr_last_name,
@@ -13090,9 +13090,9 @@ const Qi = Yt({
13090
13090
  )
13091
13091
  ] }),
13092
13092
  /* @__PURE__ */ i(ye, { children: [
13093
- /* @__PURE__ */ e(ue, { children: "Email Attribute" }),
13093
+ /* @__PURE__ */ e(he, { children: "Email Attribute" }),
13094
13094
  /* @__PURE__ */ e(
13095
- he,
13095
+ fe,
13096
13096
  {
13097
13097
  type: "text",
13098
13098
  value: b.attr_email,
@@ -13495,9 +13495,9 @@ const Qi = Yt({
13495
13495
  },
13496
13496
  children: [
13497
13497
  /* @__PURE__ */ i(ye, { children: [
13498
- /* @__PURE__ */ e(ue, { htmlFor: "name", children: "Organization Name" }),
13498
+ /* @__PURE__ */ e(he, { htmlFor: "name", children: "Organization Name" }),
13499
13499
  /* @__PURE__ */ e(
13500
- he,
13500
+ fe,
13501
13501
  {
13502
13502
  id: "name",
13503
13503
  type: "text",
@@ -13510,9 +13510,9 @@ const Qi = Yt({
13510
13510
  )
13511
13511
  ] }),
13512
13512
  /* @__PURE__ */ i(ye, { children: [
13513
- /* @__PURE__ */ e(ue, { htmlFor: "description", children: "Description" }),
13513
+ /* @__PURE__ */ e(he, { htmlFor: "description", children: "Description" }),
13514
13514
  /* @__PURE__ */ e(
13515
- he,
13515
+ fe,
13516
13516
  {
13517
13517
  id: "description",
13518
13518
  as: "textarea",
@@ -13550,7 +13550,7 @@ const Qi = Yt({
13550
13550
  children: [
13551
13551
  /* @__PURE__ */ i("div", { children: [
13552
13552
  /* @__PURE__ */ e(
13553
- ue,
13553
+ he,
13554
13554
  {
13555
13555
  style: {
13556
13556
  fontSize: "var(--font-xs)",
@@ -13600,7 +13600,7 @@ const Qi = Yt({
13600
13600
  children: [
13601
13601
  /* @__PURE__ */ i("div", { children: [
13602
13602
  /* @__PURE__ */ e(
13603
- ue,
13603
+ he,
13604
13604
  {
13605
13605
  style: {
13606
13606
  fontSize: "var(--font-xs)",
@@ -13641,9 +13641,9 @@ const Qi = Yt({
13641
13641
  }
13642
13642
  ),
13643
13643
  S.ip_restrictions && /* @__PURE__ */ i(ye, { children: [
13644
- /* @__PURE__ */ e(ue, { htmlFor: "allowed_ips", children: "Allowed IP Addresses" }),
13644
+ /* @__PURE__ */ e(he, { htmlFor: "allowed_ips", children: "Allowed IP Addresses" }),
13645
13645
  /* @__PURE__ */ e(
13646
- he,
13646
+ fe,
13647
13647
  {
13648
13648
  id: "allowed_ips",
13649
13649
  as: "textarea",
@@ -13676,7 +13676,7 @@ const Qi = Yt({
13676
13676
  ] })
13677
13677
  ] }),
13678
13678
  ((F = s == null ? void 0 : s.b2b_settings) == null ? void 0 : F.workspaces_enabled) && M.length > 0 && /* @__PURE__ */ i(ye, { children: [
13679
- /* @__PURE__ */ e(ue, { htmlFor: "default_workspace", children: "Default Workspace" }),
13679
+ /* @__PURE__ */ e(he, { htmlFor: "default_workspace", children: "Default Workspace" }),
13680
13680
  /* @__PURE__ */ e(
13681
13681
  Ki,
13682
13682
  {
@@ -13813,9 +13813,9 @@ const Qi = Yt({
13813
13813
  ),
13814
13814
  P && /* @__PURE__ */ i("div", { children: [
13815
13815
  /* @__PURE__ */ i(ye, { children: [
13816
- /* @__PURE__ */ e(ue, { htmlFor: "confirm_name", children: "Confirm by typing the organization name" }),
13816
+ /* @__PURE__ */ e(he, { htmlFor: "confirm_name", children: "Confirm by typing the organization name" }),
13817
13817
  /* @__PURE__ */ e(
13818
- he,
13818
+ fe,
13819
13819
  {
13820
13820
  id: "confirm_name",
13821
13821
  type: "text",
@@ -15674,9 +15674,9 @@ const Qi = Yt({
15674
15674
  ] }),
15675
15675
  /* @__PURE__ */ e(uv, { children: /* @__PURE__ */ i("div", { style: { display: "flex", flexDirection: "column", gap: "var(--space-sm)" }, children: [
15676
15676
  /* @__PURE__ */ i(ye, { children: [
15677
- /* @__PURE__ */ e(ue, { children: "Email Address" }),
15677
+ /* @__PURE__ */ e(he, { children: "Email Address" }),
15678
15678
  /* @__PURE__ */ e(
15679
- he,
15679
+ fe,
15680
15680
  {
15681
15681
  type: "email",
15682
15682
  placeholder: "colleague@company.com",
@@ -15689,7 +15689,7 @@ const Qi = Yt({
15689
15689
  )
15690
15690
  ] }),
15691
15691
  /* @__PURE__ */ i(ye, { children: [
15692
- /* @__PURE__ */ e(ue, { children: "Role" }),
15692
+ /* @__PURE__ */ e(he, { children: "Role" }),
15693
15693
  /* @__PURE__ */ e(
15694
15694
  Ki,
15695
15695
  {
@@ -15851,9 +15851,9 @@ const Qi = Yt({
15851
15851
  ] }),
15852
15852
  /* @__PURE__ */ e(bv, { children: /* @__PURE__ */ i("div", { style: { display: "flex", flexDirection: "column", gap: "var(--space-sm)" }, children: [
15853
15853
  /* @__PURE__ */ i(ye, { children: [
15854
- /* @__PURE__ */ e(ue, { children: "Role Name" }),
15854
+ /* @__PURE__ */ e(he, { children: "Role Name" }),
15855
15855
  /* @__PURE__ */ e(
15856
- he,
15856
+ fe,
15857
15857
  {
15858
15858
  type: "text",
15859
15859
  value: s,
@@ -15864,7 +15864,7 @@ const Qi = Yt({
15864
15864
  )
15865
15865
  ] }),
15866
15866
  /* @__PURE__ */ i(ye, { children: [
15867
- /* @__PURE__ */ e(ue, { children: "Permissions" }),
15867
+ /* @__PURE__ */ e(he, { children: "Permissions" }),
15868
15868
  /* @__PURE__ */ e(
15869
15869
  Rl,
15870
15870
  {
@@ -16718,9 +16718,9 @@ const Qi = Yt({
16718
16718
  },
16719
16719
  children: [
16720
16720
  /* @__PURE__ */ i(ye, { children: [
16721
- /* @__PURE__ */ e(ue, { htmlFor: "name", children: "Workspace Name" }),
16721
+ /* @__PURE__ */ e(he, { htmlFor: "name", children: "Workspace Name" }),
16722
16722
  /* @__PURE__ */ e(
16723
- he,
16723
+ fe,
16724
16724
  {
16725
16725
  id: "name",
16726
16726
  type: "text",
@@ -16733,9 +16733,9 @@ const Qi = Yt({
16733
16733
  )
16734
16734
  ] }),
16735
16735
  /* @__PURE__ */ i(ye, { children: [
16736
- /* @__PURE__ */ e(ue, { htmlFor: "description", children: "Description" }),
16736
+ /* @__PURE__ */ e(he, { htmlFor: "description", children: "Description" }),
16737
16737
  /* @__PURE__ */ e(
16738
- he,
16738
+ fe,
16739
16739
  {
16740
16740
  id: "description",
16741
16741
  as: "textarea",
@@ -16773,7 +16773,7 @@ const Qi = Yt({
16773
16773
  children: [
16774
16774
  /* @__PURE__ */ i("div", { children: [
16775
16775
  /* @__PURE__ */ e(
16776
- ue,
16776
+ he,
16777
16777
  {
16778
16778
  style: {
16779
16779
  fontSize: "var(--font-xs)",
@@ -16823,7 +16823,7 @@ const Qi = Yt({
16823
16823
  children: [
16824
16824
  /* @__PURE__ */ i("div", { children: [
16825
16825
  /* @__PURE__ */ e(
16826
- ue,
16826
+ he,
16827
16827
  {
16828
16828
  style: {
16829
16829
  fontSize: "var(--font-xs)",
@@ -16864,9 +16864,9 @@ const Qi = Yt({
16864
16864
  }
16865
16865
  ),
16866
16866
  d.ip_restrictions && /* @__PURE__ */ i(ye, { children: [
16867
- /* @__PURE__ */ e(ue, { htmlFor: "allowed_ips", children: "Allowed IP Addresses" }),
16867
+ /* @__PURE__ */ e(he, { htmlFor: "allowed_ips", children: "Allowed IP Addresses" }),
16868
16868
  /* @__PURE__ */ e(
16869
- he,
16869
+ fe,
16870
16870
  {
16871
16871
  id: "allowed_ips",
16872
16872
  as: "textarea",
@@ -17004,9 +17004,9 @@ const Qi = Yt({
17004
17004
  ),
17005
17005
  P && /* @__PURE__ */ i("div", { children: [
17006
17006
  /* @__PURE__ */ i(ye, { children: [
17007
- /* @__PURE__ */ e(ue, { htmlFor: "confirm_workspace_name", children: "Confirm by typing the workspace name" }),
17007
+ /* @__PURE__ */ e(he, { htmlFor: "confirm_workspace_name", children: "Confirm by typing the workspace name" }),
17008
17008
  /* @__PURE__ */ e(
17009
- he,
17009
+ fe,
17010
17010
  {
17011
17011
  id: "confirm_workspace_name",
17012
17012
  type: "text",
@@ -17830,7 +17830,7 @@ const Ls = l.div`
17830
17830
  `, Qv = ({
17831
17831
  showPersonal: t = !0
17832
17832
  }) => {
17833
- var ve, V, pe, X;
17833
+ var ve, V, ue, X;
17834
17834
  const [r, o] = $(!1), [n, a] = $(!1), [s, h] = $(/* @__PURE__ */ new Set()), g = ne(null), c = ne(null), p = Gl({
17835
17835
  triggerRef: g,
17836
17836
  isOpen: r,
@@ -17869,9 +17869,9 @@ const Ls = l.div`
17869
17869
  if (!r) return;
17870
17870
  let Q = null;
17871
17871
  const le = setTimeout(() => {
17872
- const _e = (fe) => {
17872
+ const _e = (ge) => {
17873
17873
  var G, U;
17874
- const re = fe.target;
17874
+ const re = ge.target;
17875
17875
  (G = g.current) != null && G.contains(re) || (U = c.current) != null && U.contains(re) || (o(!1), I(null));
17876
17876
  };
17877
17877
  document.addEventListener("mousedown", _e), Q = () => {
@@ -17983,7 +17983,7 @@ const Ls = l.div`
17983
17983
  children: [
17984
17984
  Y && /* @__PURE__ */ e(Lo, {}),
17985
17985
  /* @__PURE__ */ i(Ot, { children: [
17986
- /* @__PURE__ */ e(Wv, { children: (X = (pe = L == null ? void 0 : L.active_signin) == null ? void 0 : pe.user) != null && X.profile_picture_url ? /* @__PURE__ */ e(
17986
+ /* @__PURE__ */ e(Wv, { children: (X = (ue = L == null ? void 0 : L.active_signin) == null ? void 0 : ue.user) != null && X.profile_picture_url ? /* @__PURE__ */ e(
17987
17987
  Vv,
17988
17988
  {
17989
17989
  src: L.active_signin.user.profile_picture_url,
@@ -18137,8 +18137,8 @@ const Ls = l.div`
18137
18137
  _e.stopPropagation();
18138
18138
  try {
18139
18139
  O && await O();
18140
- } catch (fe) {
18141
- const re = fe.message || "Failed to leave workspace. Please try again.";
18140
+ } catch (ge) {
18141
+ const re = ge.message || "Failed to leave workspace. Please try again.";
18142
18142
  D(re, "error");
18143
18143
  }
18144
18144
  },
@@ -18197,7 +18197,7 @@ const Ls = l.div`
18197
18197
  ).map((Q) => {
18198
18198
  const le = Q.organization, _e = (A == null ? void 0 : A.filter(
18199
18199
  (re) => re.organization.id === le.id
18200
- )) || [], fe = s.has(le.id);
18200
+ )) || [], ge = s.has(le.id);
18201
18201
  return /* @__PURE__ */ i(we.Fragment, { children: [
18202
18202
  /* @__PURE__ */ i(
18203
18203
  Ko,
@@ -18216,7 +18216,7 @@ const Ls = l.div`
18216
18216
  size: 12,
18217
18217
  style: {
18218
18218
  marginRight: "4px",
18219
- transform: fe ? "rotate(0deg)" : "rotate(-90deg)",
18219
+ transform: ge ? "rotate(0deg)" : "rotate(-90deg)",
18220
18220
  transition: "transform 0.2s ease",
18221
18221
  color: "var(--color-secondary-text)"
18222
18222
  }
@@ -18241,7 +18241,7 @@ const Ls = l.div`
18241
18241
  ]
18242
18242
  }
18243
18243
  ),
18244
- K && fe && /* @__PURE__ */ i(oe, { children: [
18244
+ K && ge && /* @__PURE__ */ i(oe, { children: [
18245
18245
  _e.map(
18246
18246
  (re) => {
18247
18247
  const G = (_ == null ? void 0 : _.id) === re.id;
@@ -19370,7 +19370,7 @@ const id = Yt(
19370
19370
  /* @__PURE__ */ e(ye, { children: /* @__PURE__ */ i(c1, { children: [
19371
19371
  /* @__PURE__ */ e(l1, { children: /* @__PURE__ */ e(mn, { size: 16 }) }),
19372
19372
  /* @__PURE__ */ e(
19373
- he,
19373
+ fe,
19374
19374
  {
19375
19375
  id: "email-input",
19376
19376
  type: "email",
@@ -19845,7 +19845,7 @@ const id = Yt(
19845
19845
  ),
19846
19846
  /* @__PURE__ */ i("div", { style: { display: "flex", gap: "8px", marginBottom: "16px" }, children: [
19847
19847
  /* @__PURE__ */ e(
19848
- he,
19848
+ fe,
19849
19849
  {
19850
19850
  id: "totp-code-1",
19851
19851
  type: "text",
@@ -19861,7 +19861,7 @@ const id = Yt(
19861
19861
  }
19862
19862
  ),
19863
19863
  /* @__PURE__ */ e(
19864
- he,
19864
+ fe,
19865
19865
  {
19866
19866
  id: "totp-code-2",
19867
19867
  type: "text",
@@ -20029,10 +20029,10 @@ const id = Yt(
20029
20029
  }
20030
20030
  ),
20031
20031
  !n && /* @__PURE__ */ i(ai, { children: [
20032
- /* @__PURE__ */ e(ue, { children: "Current Password" }),
20032
+ /* @__PURE__ */ e(he, { children: "Current Password" }),
20033
20033
  /* @__PURE__ */ i(si, { children: [
20034
20034
  /* @__PURE__ */ e(
20035
- he,
20035
+ fe,
20036
20036
  {
20037
20037
  type: b ? "text" : "password",
20038
20038
  placeholder: "Enter your current password",
@@ -20054,10 +20054,10 @@ const id = Yt(
20054
20054
  f.currentPassword && /* @__PURE__ */ e(Uo, { children: f.currentPassword })
20055
20055
  ] }),
20056
20056
  /* @__PURE__ */ i(ai, { children: [
20057
- /* @__PURE__ */ e(ue, { children: n ? "Password" : "New Password" }),
20057
+ /* @__PURE__ */ e(he, { children: n ? "Password" : "New Password" }),
20058
20058
  /* @__PURE__ */ i(si, { children: [
20059
20059
  /* @__PURE__ */ e(
20060
- he,
20060
+ fe,
20061
20061
  {
20062
20062
  type: C ? "text" : "password",
20063
20063
  placeholder: n ? "Enter your password" : "Enter your new password",
@@ -20079,10 +20079,10 @@ const id = Yt(
20079
20079
  f.newPassword && /* @__PURE__ */ e(Uo, { children: f.newPassword })
20080
20080
  ] }),
20081
20081
  /* @__PURE__ */ i(ai, { children: [
20082
- /* @__PURE__ */ e(ue, { children: "Confirm New Password" }),
20082
+ /* @__PURE__ */ e(he, { children: "Confirm New Password" }),
20083
20083
  /* @__PURE__ */ i(si, { children: [
20084
20084
  /* @__PURE__ */ e(
20085
- he,
20085
+ fe,
20086
20086
  {
20087
20087
  type: I ? "text" : "password",
20088
20088
  placeholder: "Confirm your new password",
@@ -20213,9 +20213,9 @@ const id = Yt(
20213
20213
  ] }),
20214
20214
  /* @__PURE__ */ e(b1, { children: /* @__PURE__ */ e(x1, { children: "You're about to remove password authentication from your account. Make sure you have another way to sign in (email, phone, social login, or passkey) before continuing." }) }),
20215
20215
  /* @__PURE__ */ i(ye, { children: [
20216
- /* @__PURE__ */ e(ue, { htmlFor: "current-password", children: "Confirm your current password" }),
20216
+ /* @__PURE__ */ e(he, { htmlFor: "current-password", children: "Confirm your current password" }),
20217
20217
  /* @__PURE__ */ e(
20218
- he,
20218
+ fe,
20219
20219
  {
20220
20220
  id: "current-password",
20221
20221
  type: "password",
@@ -22107,52 +22107,52 @@ const id = Yt(
22107
22107
  deletePasskey: v
22108
22108
  } = _r(), { toast: m } = Qt(), [y, b] = $(
22109
22109
  (r == null ? void 0 : r.second_factor_policy) || "none"
22110
- ), [k, C] = $(!1), S = async (ge) => {
22110
+ ), [k, C] = $(!1), S = async (pe) => {
22111
22111
  try {
22112
- await p({ second_factor_policy: ge }), b(ge), m("2FA requirement updated successfully", "info");
22112
+ await p({ second_factor_policy: pe }), b(pe), m("2FA requirement updated successfully", "info");
22113
22113
  } catch (Ye) {
22114
22114
  m(Ye.message || "Failed to update 2FA requirement", "error");
22115
22115
  }
22116
22116
  }, [I, E] = $(!1), [w, x] = $(!1), [f, P] = $(!1), [z, _] = $(!1), M = ne(null), O = ne(null), A = ne(null), R = ne(null), [L, B] = $([]), [F, N] = $(!1), [T, D] = $(!1), [Z, K] = $(!1), [j, Y] = $("table"), [H, ee] = $(""), [ce, ae] = $(""), [be, te] = $(""), [me, Ce] = $([
22117
22117
  "",
22118
22118
  ""
22119
- ]), [ve, V] = $([]), [pe, X] = $(!1), [Q, le] = $(!1), [_e] = $(!1), [fe, re] = $(!1), G = (wn = t == null ? void 0 : t.auth_settings) == null ? void 0 : wn.auth_factors_enabled, U = (oa = (ra = t == null ? void 0 : t.auth_settings) == null ? void 0 : ra.password) == null ? void 0 : oa.enabled;
22119
+ ]), [ve, V] = $([]), [ue, X] = $(!1), [Q, le] = $(!1), [_e] = $(!1), [ge, re] = $(!1), G = (wn = t == null ? void 0 : t.auth_settings) == null ? void 0 : wn.auth_factors_enabled, U = (oa = (ra = t == null ? void 0 : t.auth_settings) == null ? void 0 : ra.password) == null ? void 0 : oa.enabled;
22120
22120
  if (!(G != null && G.authenticator) && !(G != null && G.backup_code) && !U)
22121
22121
  return null;
22122
- const de = async (ge, Ye) => {
22123
- await o(ge, Ye), await r.refetch(), m("Password updated successfully", "info");
22124
- }, Se = async (ge) => {
22125
- await n(ge), await r.refetch(), m("Password removed successfully", "info");
22122
+ const de = async (pe, Ye) => {
22123
+ await o(pe, Ye), await r.refetch(), m("Password updated successfully", "info");
22124
+ }, Se = async (pe) => {
22125
+ await n(pe), await r.refetch(), m("Password removed successfully", "info");
22126
22126
  }, Be = () => {
22127
22127
  var ca, la, da, pa, ua, ha;
22128
22128
  if (!r) return !1;
22129
- const ge = (ca = r.user_email_addresses) == null ? void 0 : ca.some(
22129
+ const pe = (ca = r.user_email_addresses) == null ? void 0 : ca.some(
22130
22130
  (Wr) => Wr.verified
22131
22131
  ), Ye = (la = r.user_phone_numbers) == null ? void 0 : la.some(
22132
22132
  (Wr) => Wr.verified
22133
22133
  ), He = r.social_connections && r.social_connections.length > 0, it = t == null ? void 0 : t.auth_settings;
22134
- return (it == null ? void 0 : it.first_factor) === "email_otp" && ge || ((da = it == null ? void 0 : it.magic_link) == null ? void 0 : da.enabled) && ge || ((pa = it == null ? void 0 : it.passkey) == null ? void 0 : pa.enabled) || ((ua = it == null ? void 0 : it.auth_factors_enabled) == null ? void 0 : ua.phone_otp) && Ye || He && ((ha = t == null ? void 0 : t.social_connections) == null ? void 0 : ha.some((Wr) => Wr.enabled));
22134
+ return (it == null ? void 0 : it.first_factor) === "email_otp" && pe || ((da = it == null ? void 0 : it.magic_link) == null ? void 0 : da.enabled) && pe || ((pa = it == null ? void 0 : it.passkey) == null ? void 0 : pa.enabled) || ((ua = it == null ? void 0 : it.auth_factors_enabled) == null ? void 0 : ua.phone_otp) && Ye || He && ((ha = t == null ? void 0 : t.social_connections) == null ? void 0 : ha.some((Wr) => Wr.enabled));
22135
22135
  }, Ge = async () => {
22136
- if (me.some((ge) => ge.length !== 6)) {
22136
+ if (me.some((pe) => pe.length !== 6)) {
22137
22137
  m("Please enter both 6-digit verification codes", "error");
22138
22138
  return;
22139
22139
  }
22140
22140
  try {
22141
22141
  if (le(!0), await s(be, me), await r.refetch(), G != null && G.backup_code) {
22142
- const ge = await g();
22143
- V(ge), await r.refetch(), Y("backup");
22142
+ const pe = await g();
22143
+ V(pe), await r.refetch(), Y("backup");
22144
22144
  } else
22145
22145
  Y("success");
22146
- } catch (ge) {
22147
- m(ge.message || "Invalid verification codes", "error");
22146
+ } catch (pe) {
22147
+ m(pe.message || "Invalid verification codes", "error");
22148
22148
  } finally {
22149
22149
  le(!1);
22150
22150
  }
22151
22151
  }, Re = () => {
22152
22152
  Y("table"), ee(""), ae(""), te(""), Ce(["", ""]), V([]), m("Two-factor authentication setup completed successfully!", "info");
22153
22153
  }, Ke = async () => {
22154
- var ge;
22155
- if ((ge = r == null ? void 0 : r.user_authenticator) != null && ge.id)
22154
+ var pe;
22155
+ if ((pe = r == null ? void 0 : r.user_authenticator) != null && pe.id)
22156
22156
  try {
22157
22157
  re(!0), await h(r.user_authenticator.id), await r.refetch(), C(!1), m("Two-factor authentication removed successfully", "info");
22158
22158
  } catch (Ye) {
@@ -22161,31 +22161,31 @@ const id = Yt(
22161
22161
  re(!1);
22162
22162
  }
22163
22163
  }, je = async () => {
22164
- if (!pe)
22164
+ if (!ue)
22165
22165
  try {
22166
22166
  X(!0);
22167
- const ge = await c();
22168
- V(ge), await r.refetch(), _(!0), m("New backup codes generated", "info");
22169
- } catch (ge) {
22170
- m(ge.message || "Failed to generate backup codes", "error");
22167
+ const pe = await c();
22168
+ V(pe), await r.refetch(), _(!0), m("New backup codes generated", "info");
22169
+ } catch (pe) {
22170
+ m(pe.message || "Failed to generate backup codes", "error");
22171
22171
  } finally {
22172
22172
  X(!1);
22173
22173
  }
22174
22174
  }, se = () => {
22175
- const ge = ve.join(`
22175
+ const pe = ve.join(`
22176
22176
  `);
22177
- navigator.clipboard.writeText(ge).then(() => {
22177
+ navigator.clipboard.writeText(pe).then(() => {
22178
22178
  m("Backup codes copied to clipboard", "info");
22179
22179
  }).catch(() => {
22180
22180
  m("Failed to copy backup codes", "error");
22181
22181
  });
22182
22182
  }, ke = () => {
22183
- const ge = ve.join(`
22184
- `), Ye = new Blob([ge], { type: "text/plain" }), He = URL.createObjectURL(Ye), it = document.createElement("a");
22183
+ const pe = ve.join(`
22184
+ `), Ye = new Blob([pe], { type: "text/plain" }), He = URL.createObjectURL(Ye), it = document.createElement("a");
22185
22185
  it.href = He, it.download = "wacht-backup-codes.txt", it.click(), URL.revokeObjectURL(He), m("Backup codes downloaded", "info");
22186
22186
  }, Pe = async () => {
22187
- var ge, Ye;
22188
- if ((Ye = (ge = t == null ? void 0 : t.auth_settings) == null ? void 0 : ge.passkey) != null && Ye.enabled)
22187
+ var pe, Ye;
22188
+ if ((Ye = (pe = t == null ? void 0 : t.auth_settings) == null ? void 0 : pe.passkey) != null && Ye.enabled)
22189
22189
  try {
22190
22190
  N(!0);
22191
22191
  const He = await d();
@@ -22198,14 +22198,14 @@ const id = Yt(
22198
22198
  }, Te = async () => {
22199
22199
  try {
22200
22200
  D(!0), await u(), await Pe(), m("Passkey registered successfully!", "info");
22201
- } catch (ge) {
22202
- m(ge.message || "Failed to register passkey", "error");
22201
+ } catch (pe) {
22202
+ m(pe.message || "Failed to register passkey", "error");
22203
22203
  } finally {
22204
22204
  D(!1);
22205
22205
  }
22206
- }, Ae = async (ge) => {
22206
+ }, Ae = async (pe) => {
22207
22207
  try {
22208
- await v(ge), await Pe(), m("Passkey removed", "info");
22208
+ await v(pe), await Pe(), m("Passkey removed", "info");
22209
22209
  } catch (Ye) {
22210
22210
  m(Ye.message || "Failed to remove passkey", "error");
22211
22211
  }
@@ -22224,7 +22224,7 @@ const id = Yt(
22224
22224
  id: "passkey",
22225
22225
  name: "Passkeys",
22226
22226
  description: "Sign in faster with fingerprint, face, or screen lock",
22227
- status: L.length > 0 ? `${L.length} registered` : "None",
22227
+ status: L.length > 0 ? `${L.length} registered` : "",
22228
22228
  actions: L.length > 0 ? ["manage", "add"] : ["add"]
22229
22229
  }), G != null && G.authenticator && Fe.push({
22230
22230
  id: "authenticator",
@@ -22467,13 +22467,13 @@ const id = Yt(
22467
22467
  },
22468
22468
  children: [
22469
22469
  /* @__PURE__ */ e(
22470
- he,
22470
+ fe,
22471
22471
  {
22472
22472
  type: "text",
22473
22473
  placeholder: "000000",
22474
22474
  value: me[0],
22475
- onChange: (ge) => {
22476
- const Ye = ge.target.value.replace(/[^0-9]/g, "").substring(0, 6);
22475
+ onChange: (pe) => {
22476
+ const Ye = pe.target.value.replace(/[^0-9]/g, "").substring(0, 6);
22477
22477
  Ce([Ye, me[1]]);
22478
22478
  },
22479
22479
  maxLength: 6,
@@ -22485,13 +22485,13 @@ const id = Yt(
22485
22485
  }
22486
22486
  ),
22487
22487
  /* @__PURE__ */ e(
22488
- he,
22488
+ fe,
22489
22489
  {
22490
22490
  type: "text",
22491
22491
  placeholder: "000000",
22492
22492
  value: me[1],
22493
- onChange: (ge) => {
22494
- const Ye = ge.target.value.replace(/[^0-9]/g, "").substring(0, 6);
22493
+ onChange: (pe) => {
22494
+ const Ye = pe.target.value.replace(/[^0-9]/g, "").substring(0, 6);
22495
22495
  Ce([me[0], Ye]);
22496
22496
  },
22497
22497
  maxLength: 6,
@@ -22530,7 +22530,7 @@ const id = Yt(
22530
22530
  J,
22531
22531
  {
22532
22532
  onClick: Ge,
22533
- disabled: Q || me.some((ge) => ge.length !== 6),
22533
+ disabled: Q || me.some((pe) => pe.length !== 6),
22534
22534
  style: {
22535
22535
  padding: "8px 16px",
22536
22536
  background: "var(--color-primary)",
@@ -22594,7 +22594,7 @@ const id = Yt(
22594
22594
  maxWidth: "300px",
22595
22595
  margin: "0 auto 24px auto"
22596
22596
  },
22597
- children: ve.map((ge, Ye) => /* @__PURE__ */ e(
22597
+ children: ve.map((pe, Ye) => /* @__PURE__ */ e(
22598
22598
  "div",
22599
22599
  {
22600
22600
  style: {
@@ -22607,8 +22607,8 @@ const id = Yt(
22607
22607
  textAlign: "center",
22608
22608
  cursor: "pointer"
22609
22609
  },
22610
- onClick: () => navigator.clipboard.writeText(ge),
22611
- children: ge
22610
+ onClick: () => navigator.clipboard.writeText(pe),
22611
+ children: pe
22612
22612
  },
22613
22613
  Ye
22614
22614
  ))
@@ -22734,7 +22734,7 @@ const id = Yt(
22734
22734
  children: "Security Settings"
22735
22735
  }
22736
22736
  ) }) }),
22737
- Fe.length ? /* @__PURE__ */ e("div", { children: Fe.map((ge, Ye) => /* @__PURE__ */ i("div", { children: [
22737
+ Fe.length ? /* @__PURE__ */ e("div", { children: Fe.map((pe, Ye) => /* @__PURE__ */ i("div", { children: [
22738
22738
  /* @__PURE__ */ i(
22739
22739
  "div",
22740
22740
  {
@@ -22753,7 +22753,7 @@ const id = Yt(
22753
22753
  fontWeight: 400,
22754
22754
  color: "var(--color-foreground)"
22755
22755
  },
22756
- children: ge.name
22756
+ children: pe.name
22757
22757
  }
22758
22758
  ),
22759
22759
  /* @__PURE__ */ e(
@@ -22763,7 +22763,7 @@ const id = Yt(
22763
22763
  fontSize: "13px",
22764
22764
  color: "var(--color-secondary-text)"
22765
22765
  },
22766
- children: ge.description
22766
+ children: pe.description
22767
22767
  }
22768
22768
  )
22769
22769
  ] }),
@@ -22772,7 +22772,7 @@ const id = Yt(
22772
22772
  {
22773
22773
  style: { display: "flex", alignItems: "center", gap: "12px" },
22774
22774
  children: [
22775
- /* @__PURE__ */ e(
22775
+ pe.status && pe.id !== "passkey" && /* @__PURE__ */ e(
22776
22776
  "span",
22777
22777
  {
22778
22778
  style: {
@@ -22780,14 +22780,14 @@ const id = Yt(
22780
22780
  borderRadius: "16px",
22781
22781
  fontSize: "12px",
22782
22782
  fontWeight: 400,
22783
- background: ge.status === "Enabled" || ge.status === "Generated" ? "var(--color-success-background)" : "var(--color-background-hover)",
22784
- color: ge.status === "Enabled" || ge.status === "Generated" ? "var(--color-success)" : "var(--color-secondary-text)"
22783
+ background: pe.status === "Enabled" || pe.status === "Generated" ? "var(--color-success-background)" : "var(--color-background-hover)",
22784
+ color: pe.status === "Enabled" || pe.status === "Generated" ? "var(--color-success)" : "var(--color-secondary-text)"
22785
22785
  },
22786
- children: ge.status
22786
+ children: pe.status
22787
22787
  }
22788
22788
  ),
22789
22789
  /* @__PURE__ */ i("div", { style: { position: "relative" }, children: [
22790
- ge.id === "password" && /* @__PURE__ */ e(oe, { children: r != null && r.has_password ? /* @__PURE__ */ i("div", { style: { display: "flex", gap: "8px" }, children: [
22790
+ pe.id === "password" && /* @__PURE__ */ e(oe, { children: r != null && r.has_password ? /* @__PURE__ */ i("div", { style: { display: "flex", gap: "8px" }, children: [
22791
22791
  /* @__PURE__ */ i("div", { style: { position: "relative" }, children: [
22792
22792
  /* @__PURE__ */ e(
22793
22793
  J,
@@ -22870,7 +22870,7 @@ const id = Yt(
22870
22870
  }
22871
22871
  )
22872
22872
  ] }) }),
22873
- ge.id === "authenticator" && !(r != null && r.user_authenticator) && /* @__PURE__ */ e(oe, { children: /* @__PURE__ */ i("div", { style: { position: "relative" }, children: [
22873
+ pe.id === "authenticator" && !(r != null && r.user_authenticator) && /* @__PURE__ */ e(oe, { children: /* @__PURE__ */ i("div", { style: { position: "relative" }, children: [
22874
22874
  /* @__PURE__ */ e(
22875
22875
  J,
22876
22876
  {
@@ -22910,22 +22910,22 @@ const id = Yt(
22910
22910
  }
22911
22911
  )
22912
22912
  ] }) }),
22913
- ge.id === "authenticator" && (r == null ? void 0 : r.user_authenticator) && /* @__PURE__ */ i("div", { style: { position: "relative" }, children: [
22913
+ pe.id === "authenticator" && (r == null ? void 0 : r.user_authenticator) && /* @__PURE__ */ i("div", { style: { position: "relative" }, children: [
22914
22914
  /* @__PURE__ */ e(
22915
22915
  J,
22916
22916
  {
22917
22917
  onClick: () => C(!0),
22918
- disabled: fe,
22918
+ disabled: ge,
22919
22919
  style: {
22920
22920
  padding: "6px 16px",
22921
22921
  fontSize: "13px",
22922
22922
  background: "var(--color-error)",
22923
22923
  border: "1px solid var(--color-error)",
22924
22924
  color: "white",
22925
- cursor: fe ? "not-allowed" : "pointer",
22926
- opacity: fe ? 0.6 : 1
22925
+ cursor: ge ? "not-allowed" : "pointer",
22926
+ opacity: ge ? 0.6 : 1
22927
22927
  },
22928
- children: fe ? "Removing..." : "Remove"
22928
+ children: ge ? "Removing..." : "Remove"
22929
22929
  }
22930
22930
  ),
22931
22931
  k && /* @__PURE__ */ e(
@@ -22937,13 +22937,13 @@ const id = Yt(
22937
22937
  }
22938
22938
  )
22939
22939
  ] }),
22940
- ge.id === "backup_codes" && /* @__PURE__ */ e(oe, { children: /* @__PURE__ */ i("div", { style: { position: "relative" }, children: [
22940
+ pe.id === "backup_codes" && /* @__PURE__ */ e(oe, { children: /* @__PURE__ */ i("div", { style: { position: "relative" }, children: [
22941
22941
  /* @__PURE__ */ e(
22942
22942
  J,
22943
22943
  {
22944
22944
  ref: R,
22945
22945
  onClick: je,
22946
- disabled: pe,
22946
+ disabled: ue,
22947
22947
  style: {
22948
22948
  padding: "6px 12px",
22949
22949
  fontSize: "12px",
@@ -22953,7 +22953,7 @@ const id = Yt(
22953
22953
  borderRadius: "var(--radius-md)",
22954
22954
  fontWeight: "400"
22955
22955
  },
22956
- children: pe ? "Generating..." : r != null && r.backup_codes_generated ? "Regenerate" : "Generate"
22956
+ children: ue ? "Generating..." : r != null && r.backup_codes_generated ? "Regenerate" : "Generate"
22957
22957
  }
22958
22958
  ),
22959
22959
  z && /* @__PURE__ */ e(
@@ -22967,7 +22967,7 @@ const id = Yt(
22967
22967
  }
22968
22968
  )
22969
22969
  ] }) }),
22970
- ge.id === "second_factor_policy" && /* @__PURE__ */ e(
22970
+ pe.id === "second_factor_policy" && /* @__PURE__ */ e(
22971
22971
  Fr,
22972
22972
  {
22973
22973
  checked: y === "enforced",
@@ -22978,7 +22978,7 @@ const id = Yt(
22978
22978
  }
22979
22979
  }
22980
22980
  ),
22981
- ge.id === "passkey" && /* @__PURE__ */ i("div", { style: { display: "flex", gap: "8px", alignItems: "center" }, children: [
22981
+ pe.id === "passkey" && /* @__PURE__ */ i("div", { style: { display: "flex", gap: "8px", alignItems: "center" }, children: [
22982
22982
  /* @__PURE__ */ i(
22983
22983
  J,
22984
22984
  {
@@ -22993,7 +22993,9 @@ const id = Yt(
22993
22993
  cursor: "pointer",
22994
22994
  display: "flex",
22995
22995
  alignItems: "center",
22996
- gap: "6px"
22996
+ gap: "6px",
22997
+ whiteSpace: "nowrap",
22998
+ flexShrink: 0
22997
22999
  },
22998
23000
  children: [
22999
23001
  Z ? "Hide" : "Manage",
@@ -23027,7 +23029,8 @@ const id = Yt(
23027
23029
  borderRadius: "var(--radius-md)",
23028
23030
  fontWeight: "400",
23029
23031
  cursor: T ? "not-allowed" : "pointer",
23030
- opacity: T ? 0.7 : 1
23032
+ opacity: T ? 0.7 : 1,
23033
+ whiteSpace: "nowrap"
23031
23034
  },
23032
23035
  children: T ? "Registering..." : "Add"
23033
23036
  }
@@ -23040,7 +23043,7 @@ const id = Yt(
23040
23043
  ]
23041
23044
  }
23042
23045
  ),
23043
- ge.id === "passkey" && Z && /* @__PURE__ */ e(
23046
+ pe.id === "passkey" && Z && /* @__PURE__ */ e(
23044
23047
  "div",
23045
23048
  {
23046
23049
  style: {
@@ -23132,7 +23135,7 @@ const id = Yt(
23132
23135
  }
23133
23136
  }
23134
23137
  )
23135
- ] }, ge.id)) }) : /* @__PURE__ */ e(
23138
+ ] }, pe.id)) }) : /* @__PURE__ */ e(
23136
23139
  bt,
23137
23140
  {
23138
23141
  title: "No security features available",
@@ -23419,9 +23422,9 @@ const id = Yt(
23419
23422
  children: [
23420
23423
  /* @__PURE__ */ i("div", { style: { display: "flex", gap: "var(--space-md)" }, children: [
23421
23424
  /* @__PURE__ */ i(ye, { style: { flex: 1 }, children: [
23422
- /* @__PURE__ */ e(ue, { htmlFor: "firstName", children: "First Name" }),
23425
+ /* @__PURE__ */ e(he, { htmlFor: "firstName", children: "First Name" }),
23423
23426
  /* @__PURE__ */ e(
23424
- he,
23427
+ fe,
23425
23428
  {
23426
23429
  id: "firstName",
23427
23430
  type: "text",
@@ -23434,9 +23437,9 @@ const id = Yt(
23434
23437
  )
23435
23438
  ] }),
23436
23439
  /* @__PURE__ */ i(ye, { style: { flex: 1 }, children: [
23437
- /* @__PURE__ */ e(ue, { htmlFor: "lastName", children: "Last Name" }),
23440
+ /* @__PURE__ */ e(he, { htmlFor: "lastName", children: "Last Name" }),
23438
23441
  /* @__PURE__ */ e(
23439
- he,
23442
+ fe,
23440
23443
  {
23441
23444
  id: "lastName",
23442
23445
  type: "text",
@@ -23450,9 +23453,9 @@ const id = Yt(
23450
23453
  ] })
23451
23454
  ] }),
23452
23455
  ((N = (F = t == null ? void 0 : t.auth_settings) == null ? void 0 : F.username) == null ? void 0 : N.enabled) && /* @__PURE__ */ i(ye, { children: [
23453
- /* @__PURE__ */ e(ue, { htmlFor: "username", children: "Username" }),
23456
+ /* @__PURE__ */ e(he, { htmlFor: "username", children: "Username" }),
23454
23457
  /* @__PURE__ */ e(
23455
- he,
23458
+ fe,
23456
23459
  {
23457
23460
  id: "username",
23458
23461
  type: "text",
@@ -23570,9 +23573,9 @@ const id = Yt(
23570
23573
  ),
23571
23574
  y && /* @__PURE__ */ i("div", { style: { maxWidth: "400px" }, children: [
23572
23575
  /* @__PURE__ */ i(ye, { children: [
23573
- /* @__PURE__ */ e(ue, { htmlFor: "confirm_username", children: "Confirm by typing your username" }),
23576
+ /* @__PURE__ */ e(he, { htmlFor: "confirm_username", children: "Confirm by typing your username" }),
23574
23577
  /* @__PURE__ */ e(
23575
- he,
23578
+ fe,
23576
23579
  {
23577
23580
  id: "confirm_username",
23578
23581
  type: "text",
@@ -26219,7 +26222,7 @@ function j2({
26219
26222
  const de = U + G;
26220
26223
  return Math.min(Math.max(de, 0.5), 3);
26221
26224
  });
26222
- }, pe = (G) => {
26225
+ }, ue = (G) => {
26223
26226
  G.preventDefault(), G.stopPropagation();
26224
26227
  const U = G.deltaY > 0 ? -0.1 : 0.1;
26225
26228
  V(U);
@@ -26235,7 +26238,7 @@ function j2({
26235
26238
  });
26236
26239
  }, le = () => {
26237
26240
  _(!1);
26238
- }, _e = () => D.status === Dt.CONNECTING ? "Connecting..." : D.status === Dt.ERROR ? "Connection error" : D.status === Dt.DISCONNECTED || !Z ? "Disconnected" : Y ? "Waiting for your input..." : K ? "Working..." : "Ready", fe = () => {
26241
+ }, _e = () => D.status === Dt.CONNECTING ? "Connecting..." : D.status === Dt.ERROR ? "Connection error" : D.status === Dt.DISCONNECTED || !Z ? "Disconnected" : Y ? "Waiting for your input..." : K ? "Working..." : "Ready", ge = () => {
26239
26242
  if (!Y || !b) return "Ask anything";
26240
26243
  switch (b.input_type) {
26241
26244
  case "select":
@@ -26494,7 +26497,7 @@ function j2({
26494
26497
  onKeyDown: (G) => {
26495
26498
  G.key === "Enter" && !G.shiftKey && (G.preventDefault(), ae(G));
26496
26499
  },
26497
- placeholder: fe(),
26500
+ placeholder: ge(),
26498
26501
  disabled: !Z || K && !Y || re(),
26499
26502
  rows: 1
26500
26503
  }
@@ -26555,7 +26558,7 @@ function j2({
26555
26558
  onReset: () => {
26556
26559
  P(1), O({ x: 0, y: 0 });
26557
26560
  },
26558
- onWheel: pe,
26561
+ onWheel: ue,
26559
26562
  onMouseDown: X,
26560
26563
  onMouseMove: Q,
26561
26564
  onMouseUp: le
@@ -27135,8 +27138,8 @@ export {
27135
27138
  It as DropdownTrigger,
27136
27139
  Ft as Form,
27137
27140
  ye as FormGroup,
27138
- he as Input,
27139
- ue as Label,
27141
+ fe as Input,
27142
+ he as Label,
27140
27143
  qb as MagicLinkVerification,
27141
27144
  q1 as ManageAccount,
27142
27145
  K1 as ManageAccountDialog,