@burdenoff/microfe-auth 2026.1030.1 → 2026.1101.1

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.
Files changed (135) hide show
  1. package/dist/auth/AuthRoot.js +14 -11
  2. package/dist/auth/AuthRoot.js.map +1 -1
  3. package/dist/auth/AuthRoutes.js +1 -2
  4. package/dist/auth/AuthRoutes.js.map +1 -1
  5. package/dist/auth/components/AuthIcons.js +1 -2
  6. package/dist/auth/components/AuthIcons.js.map +1 -1
  7. package/dist/auth/components/AuthLayout.js +1 -2
  8. package/dist/auth/components/AuthLayout.js.map +1 -1
  9. package/dist/auth/components/CaptchaV2.js +9 -10
  10. package/dist/auth/components/CaptchaV2.js.map +1 -1
  11. package/dist/auth/components/ConfirmActionDialog.js +1 -2
  12. package/dist/auth/components/ConfirmActionDialog.js.map +1 -1
  13. package/dist/auth/components/profile/UserProfileMenu.js +7 -6
  14. package/dist/auth/components/profile/UserProfileMenu.js.map +1 -1
  15. package/dist/auth/components/workspace/WorkspaceSelector.js +1 -2
  16. package/dist/auth/components/workspace/WorkspaceSelector.js.map +1 -1
  17. package/dist/auth/constants/permissions.js +1 -2
  18. package/dist/auth/constants/permissions.js.map +1 -1
  19. package/dist/auth/constants/sessionKeys.js +1 -2
  20. package/dist/auth/constants/sessionKeys.js.map +1 -1
  21. package/dist/auth/hooks/contextDeepLink.js +1 -2
  22. package/dist/auth/hooks/contextDeepLink.js.map +1 -1
  23. package/dist/auth/hooks/index.js +12 -11
  24. package/dist/auth/hooks/useAccountOperations.js +1 -2
  25. package/dist/auth/hooks/useAccountOperations.js.map +1 -1
  26. package/dist/auth/hooks/useActiveContextBootstrapMirror.js +1 -2
  27. package/dist/auth/hooks/useActiveContextBootstrapMirror.js.map +1 -1
  28. package/dist/auth/hooks/useAuthOperations.js +37 -37
  29. package/dist/auth/hooks/useAuthOperations.js.map +1 -1
  30. package/dist/auth/hooks/useAuthPermissions.js +1 -2
  31. package/dist/auth/hooks/useAuthPermissions.js.map +1 -1
  32. package/dist/auth/hooks/useCaptchaV3.js +1 -2
  33. package/dist/auth/hooks/useCaptchaV3.js.map +1 -1
  34. package/dist/auth/hooks/useContextSwitcherData.js +81 -78
  35. package/dist/auth/hooks/useContextSwitcherData.js.map +1 -1
  36. package/dist/auth/hooks/useMfaOperations.js +4 -5
  37. package/dist/auth/hooks/useMfaOperations.js.map +1 -1
  38. package/dist/auth/hooks/useMyWorkspaces.js +4 -5
  39. package/dist/auth/hooks/useMyWorkspaces.js.map +1 -1
  40. package/dist/auth/hooks/useOAuthOperations.js +11 -12
  41. package/dist/auth/hooks/useOAuthOperations.js.map +1 -1
  42. package/dist/auth/hooks/usePasswordOperations.js +1 -2
  43. package/dist/auth/hooks/usePasswordOperations.js.map +1 -1
  44. package/dist/auth/hooks/useSessionOperations.js +3 -4
  45. package/dist/auth/hooks/useSessionOperations.js.map +1 -1
  46. package/dist/auth/hooks/useSignupCaptcha.js +1 -2
  47. package/dist/auth/hooks/useSignupCaptcha.js.map +1 -1
  48. package/dist/auth/hooks/useSsoOperations.js +80 -81
  49. package/dist/auth/hooks/useSsoOperations.js.map +1 -1
  50. package/dist/auth/hooks/useTokenRefresh.js +8 -12
  51. package/dist/auth/hooks/useTokenRefresh.js.map +1 -1
  52. package/dist/auth/hooks/useUserOperations.js +1 -2
  53. package/dist/auth/hooks/useUserOperations.js.map +1 -1
  54. package/dist/auth/hooks/useWorkspaceOperations.js +1 -2
  55. package/dist/auth/hooks/useWorkspaceOperations.js.map +1 -1
  56. package/dist/auth/hooks/useWorkspaceToken.js +1 -2
  57. package/dist/auth/hooks/useWorkspaceToken.js.map +1 -1
  58. package/dist/auth/index.js +19 -18
  59. package/dist/auth/pages/AuditLogPage.js +21 -22
  60. package/dist/auth/pages/AuditLogPage.js.map +1 -1
  61. package/dist/auth/pages/EmailVerifyPage.js +70 -64
  62. package/dist/auth/pages/EmailVerifyPage.js.map +1 -1
  63. package/dist/auth/pages/LoginPage.js +89 -105
  64. package/dist/auth/pages/LoginPage.js.map +1 -1
  65. package/dist/auth/pages/MagicLinkPage.js +30 -31
  66. package/dist/auth/pages/MagicLinkPage.js.map +1 -1
  67. package/dist/auth/pages/MfaSetupPage.js +18 -20
  68. package/dist/auth/pages/MfaSetupPage.js.map +1 -1
  69. package/dist/auth/pages/MfaVerifyPage.js +31 -35
  70. package/dist/auth/pages/MfaVerifyPage.js.map +1 -1
  71. package/dist/auth/pages/OAuthCallbackPage.js +4 -11
  72. package/dist/auth/pages/OAuthCallbackPage.js.map +1 -1
  73. package/dist/auth/pages/PasswordResetPage.js +20 -23
  74. package/dist/auth/pages/PasswordResetPage.js.map +1 -1
  75. package/dist/auth/pages/ReactivatePage.js +14 -18
  76. package/dist/auth/pages/ReactivatePage.js.map +1 -1
  77. package/dist/auth/pages/RegisterPage.js +180 -181
  78. package/dist/auth/pages/RegisterPage.js.map +1 -1
  79. package/dist/auth/pages/SSOClearPage.js +9 -10
  80. package/dist/auth/pages/SSOClearPage.js.map +1 -1
  81. package/dist/auth/pages/SSODepositPage.js +9 -13
  82. package/dist/auth/pages/SSODepositPage.js.map +1 -1
  83. package/dist/auth/pages/SSORelayCallbackPage.js +3 -7
  84. package/dist/auth/pages/SSORelayCallbackPage.js.map +1 -1
  85. package/dist/auth/pages/SSORelayPage.js +11 -10
  86. package/dist/auth/pages/SSORelayPage.js.map +1 -1
  87. package/dist/auth/pages/SecurityPage.js +19 -21
  88. package/dist/auth/pages/SecurityPage.js.map +1 -1
  89. package/dist/auth/pages/SessionBridgePage.js +9 -16
  90. package/dist/auth/pages/SessionBridgePage.js.map +1 -1
  91. package/dist/auth/pages/SessionsPage.js +17 -18
  92. package/dist/auth/pages/SessionsPage.js.map +1 -1
  93. package/dist/auth/pages/SsoCallbackPage.js +17 -22
  94. package/dist/auth/pages/SsoCallbackPage.js.map +1 -1
  95. package/dist/auth/pages/SsoConfigPage.js +69 -69
  96. package/dist/auth/pages/SsoConfigPage.js.map +1 -1
  97. package/dist/auth/pages/SsoLoginPage.js +9 -10
  98. package/dist/auth/pages/SsoLoginPage.js.map +1 -1
  99. package/dist/auth/pages/UserDetailsPage.js +16 -23
  100. package/dist/auth/pages/UserDetailsPage.js.map +1 -1
  101. package/dist/auth/pages/UserProfilePage.js +140 -141
  102. package/dist/auth/pages/UserProfilePage.js.map +1 -1
  103. package/dist/auth/pages/UsersPage.js +446 -453
  104. package/dist/auth/pages/UsersPage.js.map +1 -1
  105. package/dist/auth/providers/AuthProvider.js +1 -2
  106. package/dist/auth/providers/AuthProvider.js.map +1 -1
  107. package/dist/auth/providers/CaptchaProvider.js +1 -2
  108. package/dist/auth/providers/CaptchaProvider.js.map +1 -1
  109. package/dist/auth/store/authStore.js +5 -12
  110. package/dist/auth/store/authStore.js.map +1 -1
  111. package/dist/auth/utils/captchaConfig.js +5 -8
  112. package/dist/auth/utils/captchaConfig.js.map +1 -1
  113. package/dist/auth/utils/formatters.js +1 -2
  114. package/dist/auth/utils/formatters.js.map +1 -1
  115. package/dist/auth/utils/gatewayBaseUrls.js +1 -2
  116. package/dist/auth/utils/gatewayBaseUrls.js.map +1 -1
  117. package/dist/auth/utils/legalUrls.js +2 -3
  118. package/dist/auth/utils/legalUrls.js.map +1 -1
  119. package/dist/auth/utils/redirect.js +1 -2
  120. package/dist/auth/utils/redirect.js.map +1 -1
  121. package/dist/auth/utils/ssoOrigins.js +2 -3
  122. package/dist/auth/utils/ssoOrigins.js.map +1 -1
  123. package/dist/auth/utils/validation.js +34 -36
  124. package/dist/auth/utils/validation.js.map +1 -1
  125. package/dist/generated/global-operations.js +2 -3
  126. package/dist/generated/global-operations.js.map +1 -1
  127. package/dist/generated/wspace-operations.js +2 -3
  128. package/dist/generated/wspace-operations.js.map +1 -1
  129. package/dist/microfe-auth.css +1 -1
  130. package/dist/shared/hooks/useTr.js +1 -2
  131. package/dist/shared/hooks/useTr.js.map +1 -1
  132. package/dist/translations/en.js +1 -2
  133. package/dist/translations/en.js.map +1 -1
  134. package/dist/utils/nativeBridge.js +1 -2
  135. package/package.json +7 -3
@@ -1,21 +1,21 @@
1
- import { useAuth as e } from "../providers/AuthProvider.js";
2
- import { useTr as t } from "../../shared/hooks/useTr.js";
3
- import { useAuthOperations as n } from "../hooks/useAuthOperations.js";
4
- import { useOAuthOperations as r } from "../hooks/useOAuthOperations.js";
5
- import { AuthLayout as i } from "../components/AuthLayout.js";
6
- import { AlertIcon as a, CheckIcon as ee, EmailIcon as o, EyeIcon as s, EyeOffIcon as c, GitHubIcon as te, GoogleIcon as ne, LockIcon as l, MicrosoftIcon as u, SpinnerIcon as d, UserIcon as f, XIcon as p } from "../components/AuthIcons.js";
7
- import { validateEmail as m, validatePassword as re, validateUserFields as ie } from "../utils/validation.js";
8
- import { resolveLegalUrl as h } from "../utils/legalUrls.js";
1
+ import { useTr as e } from "../../shared/hooks/useTr.js";
2
+ import { validateEmail as t, validatePassword as ee, validateUserFields as te } from "../utils/validation.js";
3
+ import { resolveLegalUrl as n } from "../utils/legalUrls.js";
4
+ import { useAuthOperations as r } from "../hooks/useAuthOperations.js";
5
+ import { useOAuthOperations as i } from "../hooks/useOAuthOperations.js";
6
+ import { AuthLayout as a } from "../components/AuthLayout.js";
7
+ import { AlertIcon as o, CheckIcon as s, EmailIcon as c, EyeIcon as l, EyeOffIcon as u, GitHubIcon as ne, GoogleIcon as d, LockIcon as re, MicrosoftIcon as f, SpinnerIcon as p, UserIcon as m, XIcon as h } from "../components/AuthIcons.js";
8
+ import { useAuth as ie } from "../providers/AuthProvider.js";
9
9
  import { CaptchaV2 as ae } from "../components/CaptchaV2.js";
10
10
  import { useSignupCaptcha as oe } from "../hooks/useSignupCaptcha.js";
11
11
  import { useState as g } from "react";
12
- import { useNavigate as _ } from "react-router";
13
- import { Fragment as se, jsx as v, jsxs as y } from "react/jsx-runtime";
14
- import { Button as b } from "@burdenoff/fe-libs/button";
15
- import { PagePurpose as ce } from "@burdenoff/fe-libs/ui";
16
- //#region src/auth/pages/RegisterPage.tsx
17
- function x() {
18
- let x = t(), { productName: S } = e(), C = _(), { signUp: w, resendVerification: le, isLoading: T, errorCode: E } = n(), { initiateGoogleOAuth: ue, initiateMicrosoftOAuth: de, isProviderConfigured: D } = r(), [O, fe] = g(!1), [k, A] = g({
12
+ import { useNavigate as se } from "react-router";
13
+ import { Fragment as ce, jsx as _, jsxs as v } from "react/jsx-runtime";
14
+ import { Button as y } from "@burdenoff/fe-libs/button";
15
+ import { PagePurpose as le } from "@burdenoff/fe-libs/ui";
16
+ // src/auth/pages/RegisterPage.tsx
17
+ function b() {
18
+ let b = e(), { productName: x } = ie(), S = se(), { signUp: C, resendVerification: w, isLoading: T, errorCode: E } = r(), { initiateGoogleOAuth: ue, initiateMicrosoftOAuth: de, isProviderConfigured: D } = i(), [O, fe] = g(!1), [k, A] = g({
19
19
  email: "",
20
20
  username: "",
21
21
  password: "",
@@ -25,120 +25,120 @@ function x() {
25
25
  let e = k.password;
26
26
  return [
27
27
  {
28
- label: x("auth.register.pwMin8", "At least 12 characters"),
28
+ label: b("auth.register.pwMin8", "At least 12 characters"),
29
29
  met: e.length >= 12
30
30
  },
31
31
  {
32
- label: x("auth.register.pwUppercase", "One uppercase letter"),
32
+ label: b("auth.register.pwUppercase", "One uppercase letter"),
33
33
  met: /[A-Z]/.test(e)
34
34
  },
35
35
  {
36
- label: x("auth.register.pwLowercase", "One lowercase letter"),
36
+ label: b("auth.register.pwLowercase", "One lowercase letter"),
37
37
  met: /[a-z]/.test(e)
38
38
  },
39
39
  {
40
- label: x("auth.register.pwNumber", "One number"),
40
+ label: b("auth.register.pwNumber", "One number"),
41
41
  met: /\d/.test(e)
42
42
  },
43
43
  {
44
- label: x("auth.register.pwSpecial", "One special character"),
44
+ label: b("auth.register.pwSpecial", "One special character"),
45
45
  met: /[!@#$%^&*(),.?":{}|<>]/.test(e)
46
46
  }
47
47
  ];
48
48
  })(), Z = (() => {
49
49
  let e = X.filter((e) => e.met).length;
50
50
  return e <= 2 ? {
51
- level: x("auth.register.passwordStrengthWeak", "weak"),
51
+ level: b("auth.register.passwordStrengthWeak", "weak"),
52
52
  color: "bg-status-error-bg-subtle0",
53
53
  width: "w-1/4"
54
54
  } : e <= 3 ? {
55
- level: x("auth.register.passwordStrengthFair", "fair"),
55
+ level: b("auth.register.passwordStrengthFair", "fair"),
56
56
  color: "bg-status-warning-text",
57
57
  width: "w-2/4"
58
58
  } : e <= 4 ? {
59
- level: x("auth.register.passwordStrengthGood", "good"),
59
+ level: b("auth.register.passwordStrengthGood", "good"),
60
60
  color: "bg-status-warning-bg-subtle0",
61
61
  width: "w-3/4"
62
62
  } : {
63
- level: x("auth.register.passwordStrengthStrong", "strong"),
63
+ level: b("auth.register.passwordStrengthStrong", "strong"),
64
64
  color: "bg-status-success-text",
65
65
  width: "w-full"
66
66
  };
67
67
  })(), he = async (e) => {
68
68
  e.preventDefault();
69
- let t = [];
70
- m(k.email) || t.push(x("auth.register.invalidEmail", "Please enter a valid email address"));
71
- let n = ie(k);
72
- n.valid || t.push(...n.errors.map((e) => x(`auth.register.${e.field}_${e.code}`, e.message)));
73
- let r = re(k.password);
74
- if (r.valid || t.push(...r.errors), H && !z && t.push(x("auth.register.completeCaptcha", "Please complete the reCAPTCHA verification")), t.length > 0) {
75
- M(t);
76
- return;
77
- }
78
- M([]), I(null);
79
- try {
80
- let e = n.values;
81
- await w({
82
- ...k,
83
- firstName: e.firstName,
84
- lastName: e.lastName,
85
- username: e.username,
86
- ...z ? { recaptchaToken: z } : {}
87
- }), P(!0);
88
- } catch (e) {
89
- I(e instanceof Error ? e.message : x("auth.register.signUpFailed", "Sign up failed")), console.error("Sign up failed:", e), H && (B(null), pe((e) => e + 1));
69
+ let n = [];
70
+ t(k.email) || n.push(b("auth.register.invalidEmail", "Please enter a valid email address"));
71
+ let r = te(k);
72
+ r.valid || n.push(...r.errors.map((e) => b(`auth.register.${e.field}_${e.code}`, e.message)));
73
+ let i = ee(k.password);
74
+ if (i.valid || n.push(...i.errors), H && !z && n.push(b("auth.register.completeCaptcha", "Please complete the reCAPTCHA verification")), n.length > 0) M(n);
75
+ else {
76
+ M([]), I(null);
77
+ try {
78
+ let e = r.values;
79
+ await C({
80
+ ...k,
81
+ firstName: e.firstName,
82
+ lastName: e.lastName,
83
+ username: e.username,
84
+ ...z ? { recaptchaToken: z } : {}
85
+ }), P(!0);
86
+ } catch (e) {
87
+ let t = e instanceof Error ? e.message : b("auth.register.signUpFailed", "Sign up failed");
88
+ I(t), console.error("Sign up failed:", e), H && (B(null), pe((e) => e + 1));
89
+ }
90
90
  }
91
91
  }, ge = () => {
92
92
  R(null);
93
93
  try {
94
94
  ue();
95
95
  } catch (e) {
96
- R(e instanceof Error ? e.message : x("auth.register.googleSignUpFailed", "Failed to initiate Google sign up"));
96
+ R(e instanceof Error ? e.message : b("auth.register.googleSignUpFailed", "Failed to initiate Google sign up"));
97
97
  }
98
98
  }, _e = () => {
99
99
  R(null);
100
100
  try {
101
101
  de();
102
102
  } catch (e) {
103
- R(e instanceof Error ? e.message : x("auth.register.microsoftSignUpFailed", "Failed to initiate Microsoft sign up"));
103
+ R(e instanceof Error ? e.message : b("auth.register.microsoftSignUpFailed", "Failed to initiate Microsoft sign up"));
104
104
  }
105
105
  }, Q = D("google"), $ = D("microsoft"), ve = [
106
106
  {
107
107
  name: "Google",
108
- icon: ne,
108
+ icon: d,
109
109
  onClick: ge,
110
110
  disabled: !Q,
111
- tooltip: Q ? void 0 : x("auth.register.googleNotConfigured", "Google sign up is not configured")
111
+ tooltip: Q ? void 0 : b("auth.register.googleNotConfigured", "Google sign up is not configured")
112
112
  },
113
113
  {
114
114
  name: "GitHub",
115
- icon: te,
115
+ icon: ne,
116
116
  onClick: () => {},
117
117
  disabled: !0,
118
- tooltip: x("auth.register.githubNotConfigured", "GitHub sign up is not configured")
118
+ tooltip: b("auth.register.githubNotConfigured", "GitHub sign up is not configured")
119
119
  },
120
120
  {
121
121
  name: "Microsoft",
122
- icon: u,
122
+ icon: f,
123
123
  onClick: _e,
124
124
  disabled: !$,
125
- tooltip: $ ? void 0 : x("auth.register.microsoftNotConfigured", "Microsoft sign up is not configured")
125
+ tooltip: $ ? void 0 : b("auth.register.microsoftNotConfigured", "Microsoft sign up is not configured")
126
126
  }
127
- ], [ye, be = ""] = x("auth.register.verificationEmailSentTo", "We've sent a verification email to {{email}}. Please check your inbox and click the verification link to activate your account.").split("{{email}}");
128
- return N ? /* @__PURE__ */ v(i, {
129
- title: x("auth.register.checkEmail", "Check your email"),
130
- subtitle: x("auth.register.verificationLinkSent", "We've sent you a verification link"),
131
- children: /* @__PURE__ */ y("div", {
127
+ ], [ye, be = ""] = b("auth.register.verificationEmailSentTo", "We've sent a verification email to {{email}}. Please check your inbox and click the verification link to activate your account.").split("{{email}}");
128
+ return N ? /* @__PURE__ */ _(a, {
129
+ title: b("auth.register.checkEmail", "Check your email"),
130
+ subtitle: b("auth.register.verificationLinkSent", "We've sent you a verification link"),
131
+ children: /* @__PURE__ */ v("div", {
132
132
  className: "flex flex-col items-center justify-center py-6",
133
133
  children: [
134
- /* @__PURE__ */ v("div", {
134
+ /* @__PURE__ */ _("div", {
135
135
  className: "size-20 rounded-full bg-status-success-bg-subtle flex items-center justify-center mb-6",
136
- children: /* @__PURE__ */ v("svg", {
136
+ children: /* @__PURE__ */ _("svg", {
137
137
  className: "size-10 text-status-success-text",
138
138
  fill: "none",
139
139
  viewBox: "0 0 24 24",
140
140
  stroke: "currentColor",
141
- children: /* @__PURE__ */ v("path", {
141
+ children: /* @__PURE__ */ _("path", {
142
142
  strokeLinecap: "round",
143
143
  strokeLinejoin: "round",
144
144
  strokeWidth: 2,
@@ -146,56 +146,56 @@ function x() {
146
146
  })
147
147
  })
148
148
  }),
149
- /* @__PURE__ */ v("h3", {
149
+ /* @__PURE__ */ _("h3", {
150
150
  className: "text-lg font-semibold text-[var(--color-text-primary)] mb-2",
151
- children: x("auth.register.accountCreated", "Account created successfully!")
151
+ children: b("auth.register.accountCreated", "Account created successfully!")
152
152
  }),
153
- /* @__PURE__ */ y("p", {
153
+ /* @__PURE__ */ v("p", {
154
154
  className: "text-center text-[var(--color-text-secondary)] mb-8 max-w-sm",
155
155
  children: [
156
156
  ye,
157
- /* @__PURE__ */ v("span", {
157
+ /* @__PURE__ */ _("span", {
158
158
  className: "font-medium text-[var(--color-text-primary)]",
159
159
  children: k.email
160
160
  }),
161
161
  be
162
162
  ]
163
163
  }),
164
- /* @__PURE__ */ y("div", {
164
+ /* @__PURE__ */ v("div", {
165
165
  className: "space-y-3 w-full",
166
166
  children: [
167
- /* @__PURE__ */ v(b, {
167
+ /* @__PURE__ */ _(y, {
168
168
  type: "button",
169
- onClick: () => C("/auth/login"),
169
+ onClick: () => S("/auth/login"),
170
170
  variant: "default",
171
171
  size: "lg",
172
172
  className: "w-full font-semibold",
173
- children: x("auth.register.continueToSignIn", "Continue to sign in")
173
+ children: b("auth.register.continueToSignIn", "Continue to sign in")
174
174
  }),
175
- G && /* @__PURE__ */ v("p", {
175
+ G && /* @__PURE__ */ _("p", {
176
176
  className: "text-center text-sm text-status-error-text",
177
177
  children: G
178
178
  }),
179
- /* @__PURE__ */ y("p", {
179
+ /* @__PURE__ */ v("p", {
180
180
  className: "text-center text-sm text-[var(--color-text-tertiary)]",
181
181
  children: [
182
- x("auth.register.didntReceiveEmail", "Didn't receive the email? Check your spam folder or"),
182
+ b("auth.register.didntReceiveEmail", "Didn't receive the email? Check your spam folder or"),
183
183
  " ",
184
- /* @__PURE__ */ v("button", {
184
+ /* @__PURE__ */ _("button", {
185
185
  type: "button",
186
186
  disabled: U,
187
187
  onClick: async () => {
188
188
  K(null), W(!0);
189
189
  try {
190
- await le(k.email);
190
+ await w(k.email);
191
191
  } catch (e) {
192
- K(e instanceof Error ? e.message : x("auth.register.resendFailed", "Failed to resend verification email"));
192
+ K(e instanceof Error ? e.message : b("auth.register.resendFailed", "Failed to resend verification email"));
193
193
  } finally {
194
194
  W(!1);
195
195
  }
196
196
  },
197
197
  className: "text-text-link hover:text-text-linkHover font-medium disabled:opacity-50 disabled:cursor-not-allowed",
198
- children: U ? x("auth.register.resending", "resending...") : x("auth.register.tryAgain", "try again")
198
+ children: U ? b("auth.register.resending", "resending...") : b("auth.register.tryAgain", "try again")
199
199
  })
200
200
  ]
201
201
  })
@@ -203,122 +203,122 @@ function x() {
203
203
  })
204
204
  ]
205
205
  })
206
- }) : /* @__PURE__ */ y(i, {
207
- title: x("auth.register.createAccount", "Create your account"),
208
- subtitle: x("auth.register.startJourney", "Start your journey with {{productName}}").replace("{{productName}}", S || "Burdenoff Workspaces"),
209
- productName: S,
206
+ }) : /* @__PURE__ */ v(a, {
207
+ title: b("auth.register.createAccount", "Create your account"),
208
+ subtitle: b("auth.register.startJourney", "Start your journey with {{productName}}").replace("{{productName}}", x || "Burdenoff Workspaces"),
209
+ productName: x,
210
210
  children: [
211
- /* @__PURE__ */ v(ce, {
211
+ /* @__PURE__ */ _(le, {
212
212
  className: "mb-5",
213
- children: x("auth.register.purpose", "Create your account to get a personal workspace and start collaborating. You'll verify your email, then you can sign in and invite your team.")
213
+ children: b("auth.register.purpose", "Create your account to get a personal workspace and start collaborating. You'll verify your email, then you can sign in and invite your team.")
214
214
  }),
215
- /* @__PURE__ */ y("form", {
215
+ /* @__PURE__ */ v("form", {
216
216
  onSubmit: he,
217
217
  className: "space-y-5",
218
218
  children: [
219
- q && /* @__PURE__ */ y("div", {
219
+ q && /* @__PURE__ */ v("div", {
220
220
  className: "flex items-start gap-3 p-4 rounded-xl bg-status-warning-bg-subtle border border-status-warning-border",
221
- children: [/* @__PURE__ */ v(a, { className: "size-5 text-status-warning-text flex-shrink-0 mt-0.5" }), /* @__PURE__ */ y("div", {
221
+ children: [/* @__PURE__ */ _(o, { className: "size-5 text-status-warning-text flex-shrink-0 mt-0.5" }), /* @__PURE__ */ v("div", {
222
222
  className: "space-y-2",
223
223
  children: [
224
- /* @__PURE__ */ v("p", {
224
+ /* @__PURE__ */ _("p", {
225
225
  className: "text-sm font-medium text-status-warning-text",
226
- children: x("auth.register.accountDeactivated", "This email belongs to a deactivated account.")
226
+ children: b("auth.register.accountDeactivated", "This email belongs to a deactivated account.")
227
227
  }),
228
- /* @__PURE__ */ v("p", {
228
+ /* @__PURE__ */ _("p", {
229
229
  className: "text-xs text-status-warning-text/80",
230
- children: x("auth.register.accountDeactivatedHelp", "If this is your account, you can reactivate it instead of creating a new one.")
230
+ children: b("auth.register.accountDeactivatedHelp", "If this is your account, you can reactivate it instead of creating a new one.")
231
231
  }),
232
- /* @__PURE__ */ v("button", {
232
+ /* @__PURE__ */ _("button", {
233
233
  type: "button",
234
- onClick: () => C("/auth/reactivate", { state: { email: k.email } }),
234
+ onClick: () => S("/auth/reactivate", { state: { email: k.email } }),
235
235
  className: "text-sm font-semibold text-status-warning-text underline underline-offset-2",
236
- children: x("auth.register.reactivateCta", "Reactivate my account")
236
+ children: b("auth.register.reactivateCta", "Reactivate my account")
237
237
  })
238
238
  ]
239
239
  })]
240
240
  }),
241
- (J || Y) && /* @__PURE__ */ y("div", {
241
+ (J || Y) && /* @__PURE__ */ v("div", {
242
242
  className: "flex items-start gap-3 p-4 rounded-xl bg-status-warning-bg-subtle border border-status-warning-border",
243
- children: [/* @__PURE__ */ v(a, { className: "size-5 text-status-warning-text flex-shrink-0 mt-0.5" }), /* @__PURE__ */ v("p", {
243
+ children: [/* @__PURE__ */ _(o, { className: "size-5 text-status-warning-text flex-shrink-0 mt-0.5" }), /* @__PURE__ */ _("p", {
244
244
  className: "text-sm text-status-warning-text",
245
245
  children: F
246
246
  })]
247
247
  }),
248
- (F && !q && !J && !Y || j.length > 0) && /* @__PURE__ */ y("div", {
248
+ (F && !q && !J && !Y || j.length > 0) && /* @__PURE__ */ v("div", {
249
249
  className: "flex items-start gap-3 p-4 rounded-xl bg-status-error-bg-subtle border border-status-error-border",
250
- children: [/* @__PURE__ */ v(a, { className: "size-5 text-status-error-text flex-shrink-0 mt-0.5" }), /* @__PURE__ */ y("div", {
250
+ children: [/* @__PURE__ */ _(o, { className: "size-5 text-status-error-text flex-shrink-0 mt-0.5" }), /* @__PURE__ */ v("div", {
251
251
  className: "space-y-1",
252
- children: [F && !q && !J && !Y && /* @__PURE__ */ v("p", {
252
+ children: [F && !q && !J && !Y && /* @__PURE__ */ _("p", {
253
253
  className: "text-sm text-status-error-text",
254
254
  children: F
255
- }), j.map((e) => /* @__PURE__ */ v("p", {
255
+ }), j.map((e) => /* @__PURE__ */ _("p", {
256
256
  className: "text-sm text-status-error-text",
257
257
  children: e
258
258
  }, e))]
259
259
  })]
260
260
  }),
261
- /* @__PURE__ */ y("div", {
261
+ /* @__PURE__ */ v("div", {
262
262
  className: "grid grid-cols-2 gap-4",
263
- children: [/* @__PURE__ */ y("div", {
263
+ children: [/* @__PURE__ */ v("div", {
264
264
  className: "space-y-2",
265
- children: [/* @__PURE__ */ v("label", {
265
+ children: [/* @__PURE__ */ _("label", {
266
266
  htmlFor: "firstName",
267
267
  className: "block text-sm font-medium text-[var(--color-text-primary)]",
268
- children: x("auth.register.firstName", "First Name")
269
- }), /* @__PURE__ */ v("input", {
268
+ children: b("auth.register.firstName", "First Name")
269
+ }), /* @__PURE__ */ _("input", {
270
270
  id: "firstName",
271
271
  type: "text",
272
272
  required: !0,
273
273
  "aria-required": "true",
274
- "aria-label": x("auth.register.firstName", "First Name"),
274
+ "aria-label": b("auth.register.firstName", "First Name"),
275
275
  value: k.firstName,
276
276
  onChange: (e) => A({
277
277
  ...k,
278
278
  firstName: e.target.value
279
279
  }),
280
280
  className: "block w-full px-4 py-3 rounded-xl border border-[var(--color-border-default)] bg-[var(--color-bg-surface)] text-[var(--color-text-primary)] placeholder:text-[var(--color-text-tertiary)] focus:outline-none focus:ring-2 focus:ring-action-primary-bg/20 focus:border-action-primary-bg transition-all",
281
- placeholder: x("auth.register.firstNamePlaceholder", "Enter first name")
281
+ placeholder: b("auth.register.firstNamePlaceholder", "Enter first name")
282
282
  })]
283
- }), /* @__PURE__ */ y("div", {
283
+ }), /* @__PURE__ */ v("div", {
284
284
  className: "space-y-2",
285
- children: [/* @__PURE__ */ v("label", {
285
+ children: [/* @__PURE__ */ _("label", {
286
286
  htmlFor: "lastName",
287
287
  className: "block text-sm font-medium text-[var(--color-text-primary)]",
288
- children: x("auth.register.lastName", "Last Name")
289
- }), /* @__PURE__ */ v("input", {
288
+ children: b("auth.register.lastName", "Last Name")
289
+ }), /* @__PURE__ */ _("input", {
290
290
  id: "lastName",
291
291
  type: "text",
292
292
  required: !0,
293
293
  "aria-required": "true",
294
- "aria-label": x("auth.register.lastName", "Last Name"),
294
+ "aria-label": b("auth.register.lastName", "Last Name"),
295
295
  value: k.lastName,
296
296
  onChange: (e) => A({
297
297
  ...k,
298
298
  lastName: e.target.value
299
299
  }),
300
300
  className: "block w-full px-4 py-3 rounded-xl border border-[var(--color-border-default)] bg-[var(--color-bg-surface)] text-[var(--color-text-primary)] placeholder:text-[var(--color-text-tertiary)] focus:outline-none focus:ring-2 focus:ring-action-primary-bg/20 focus:border-action-primary-bg transition-all",
301
- placeholder: x("auth.register.lastNamePlaceholder", "Enter last name")
301
+ placeholder: b("auth.register.lastNamePlaceholder", "Enter last name")
302
302
  })]
303
303
  })]
304
304
  }),
305
- /* @__PURE__ */ y("div", {
305
+ /* @__PURE__ */ v("div", {
306
306
  className: "space-y-2",
307
- children: [/* @__PURE__ */ v("label", {
307
+ children: [/* @__PURE__ */ _("label", {
308
308
  htmlFor: "username",
309
309
  className: "block text-sm font-medium text-[var(--color-text-primary)]",
310
- children: x("auth.register.username", "Username")
311
- }), /* @__PURE__ */ y("div", {
310
+ children: b("auth.register.username", "Username")
311
+ }), /* @__PURE__ */ v("div", {
312
312
  className: "relative",
313
- children: [/* @__PURE__ */ v("div", {
313
+ children: [/* @__PURE__ */ _("div", {
314
314
  className: "absolute inset-y-0 left-0 pl-3.5 flex items-center pointer-events-none",
315
- children: /* @__PURE__ */ v(f, { className: "size-5 text-[var(--color-text-tertiary)]" })
316
- }), /* @__PURE__ */ v("input", {
315
+ children: /* @__PURE__ */ _(m, { className: "size-5 text-[var(--color-text-tertiary)]" })
316
+ }), /* @__PURE__ */ _("input", {
317
317
  id: "username",
318
318
  type: "text",
319
319
  required: !0,
320
320
  "aria-required": "true",
321
- "aria-label": x("auth.register.username", "Username"),
321
+ "aria-label": b("auth.register.username", "Username"),
322
322
  autoComplete: "username",
323
323
  value: k.username,
324
324
  onChange: (e) => A({
@@ -326,27 +326,27 @@ function x() {
326
326
  username: e.target.value
327
327
  }),
328
328
  className: "block w-full pl-[3.5rem] pr-4 py-3 rounded-xl border border-[var(--color-border-default)] bg-[var(--color-bg-surface)] text-[var(--color-text-primary)] placeholder:text-[var(--color-text-tertiary)] focus:outline-none focus:ring-2 focus:ring-action-primary-bg/20 focus:border-action-primary-bg transition-all",
329
- placeholder: x("auth.register.usernamePlaceholder", "Choose a username")
329
+ placeholder: b("auth.register.usernamePlaceholder", "Choose a username")
330
330
  })]
331
331
  })]
332
332
  }),
333
- /* @__PURE__ */ y("div", {
333
+ /* @__PURE__ */ v("div", {
334
334
  className: "space-y-2",
335
- children: [/* @__PURE__ */ v("label", {
335
+ children: [/* @__PURE__ */ _("label", {
336
336
  htmlFor: "email",
337
337
  className: "block text-sm font-medium text-[var(--color-text-primary)]",
338
- children: x("auth.register.email", "Email")
339
- }), /* @__PURE__ */ y("div", {
338
+ children: b("auth.register.email", "Email")
339
+ }), /* @__PURE__ */ v("div", {
340
340
  className: "relative",
341
- children: [/* @__PURE__ */ v("div", {
341
+ children: [/* @__PURE__ */ _("div", {
342
342
  className: "absolute inset-y-0 left-0 pl-3.5 flex items-center pointer-events-none",
343
- children: /* @__PURE__ */ v(o, { className: "size-5 text-[var(--color-text-tertiary)]" })
344
- }), /* @__PURE__ */ v("input", {
343
+ children: /* @__PURE__ */ _(c, { className: "size-5 text-[var(--color-text-tertiary)]" })
344
+ }), /* @__PURE__ */ _("input", {
345
345
  id: "email",
346
346
  type: "email",
347
347
  required: !0,
348
348
  "aria-required": "true",
349
- "aria-label": x("auth.register.email", "Email"),
349
+ "aria-label": b("auth.register.email", "Email"),
350
350
  autoComplete: "email",
351
351
  value: k.email,
352
352
  onChange: (e) => A({
@@ -354,31 +354,31 @@ function x() {
354
354
  email: e.target.value
355
355
  }),
356
356
  className: "block w-full pl-[3.5rem] pr-4 py-3 rounded-xl border border-[var(--color-border-default)] bg-[var(--color-bg-surface)] text-[var(--color-text-primary)] placeholder:text-[var(--color-text-tertiary)] focus:outline-none focus:ring-2 focus:ring-action-primary-bg/20 focus:border-action-primary-bg transition-all",
357
- placeholder: x("auth.register.emailPlaceholder", "you@example.com")
357
+ placeholder: b("auth.register.emailPlaceholder", "you@example.com")
358
358
  })]
359
359
  })]
360
360
  }),
361
- /* @__PURE__ */ y("div", {
361
+ /* @__PURE__ */ v("div", {
362
362
  className: "space-y-2",
363
363
  children: [
364
- /* @__PURE__ */ v("label", {
364
+ /* @__PURE__ */ _("label", {
365
365
  htmlFor: "password",
366
366
  className: "block text-sm font-medium text-[var(--color-text-primary)]",
367
- children: x("auth.register.password", "Password")
367
+ children: b("auth.register.password", "Password")
368
368
  }),
369
- /* @__PURE__ */ y("div", {
369
+ /* @__PURE__ */ v("div", {
370
370
  className: "relative",
371
371
  children: [
372
- /* @__PURE__ */ v("div", {
372
+ /* @__PURE__ */ _("div", {
373
373
  className: "absolute inset-y-0 left-0 pl-3.5 flex items-center pointer-events-none",
374
- children: /* @__PURE__ */ v(l, { className: "size-5 text-[var(--color-text-tertiary)]" })
374
+ children: /* @__PURE__ */ _(re, { className: "size-5 text-[var(--color-text-tertiary)]" })
375
375
  }),
376
- /* @__PURE__ */ v("input", {
376
+ /* @__PURE__ */ _("input", {
377
377
  id: "password",
378
378
  type: O ? "text" : "password",
379
379
  required: !0,
380
380
  "aria-required": "true",
381
- "aria-label": x("auth.register.password", "Password"),
381
+ "aria-label": b("auth.register.password", "Password"),
382
382
  autoComplete: "new-password",
383
383
  value: k.password,
384
384
  onChange: (e) => A({
@@ -386,40 +386,40 @@ function x() {
386
386
  password: e.target.value
387
387
  }),
388
388
  className: "block w-full pl-[3.5rem] pr-12 py-3 rounded-xl border border-[var(--color-border-default)] bg-[var(--color-bg-surface)] text-[var(--color-text-primary)] placeholder:text-[var(--color-text-tertiary)] focus:outline-none focus:ring-2 focus:ring-action-primary-bg/20 focus:border-action-primary-bg transition-all",
389
- placeholder: x("auth.register.passwordPlaceholder", "Create a strong password")
389
+ placeholder: b("auth.register.passwordPlaceholder", "Create a strong password")
390
390
  }),
391
- /* @__PURE__ */ v("button", {
391
+ /* @__PURE__ */ _("button", {
392
392
  type: "button",
393
393
  onClick: () => fe(!O),
394
- "aria-label": O ? x("auth.register.hidePassword", "Hide password") : x("auth.register.showPassword", "Show password"),
394
+ "aria-label": O ? b("auth.register.hidePassword", "Hide password") : b("auth.register.showPassword", "Show password"),
395
395
  className: "absolute inset-y-0 right-0 pr-3.5 flex items-center text-[var(--color-text-tertiary)] hover:text-[var(--color-text-secondary)] transition-colors",
396
- children: v(O ? c : s, { className: "size-5" })
396
+ children: _(O ? u : l, { className: "size-5" })
397
397
  })
398
398
  ]
399
399
  }),
400
- k.password && /* @__PURE__ */ y("div", {
400
+ k.password && /* @__PURE__ */ v("div", {
401
401
  className: "space-y-3 pt-2",
402
- children: [/* @__PURE__ */ y("div", {
402
+ children: [/* @__PURE__ */ v("div", {
403
403
  className: "space-y-1",
404
- children: [/* @__PURE__ */ v("div", {
404
+ children: [/* @__PURE__ */ _("div", {
405
405
  className: "h-1.5 bg-[var(--color-bg-sunken)] rounded-full overflow-hidden",
406
- children: /* @__PURE__ */ v("div", { className: `h-full ${Z.color} ${Z.width} transition-all duration-300` })
407
- }), /* @__PURE__ */ y("p", {
406
+ children: /* @__PURE__ */ _("div", { className: `h-full ${Z.color} ${Z.width} transition-all duration-300` })
407
+ }), /* @__PURE__ */ v("p", {
408
408
  className: "text-xs text-[var(--color-text-tertiary)] capitalize",
409
409
  children: [
410
- x("auth.register.passwordStrength", "Password strength:"),
410
+ b("auth.register.passwordStrength", "Password strength:"),
411
411
  " ",
412
- /* @__PURE__ */ v("span", {
412
+ /* @__PURE__ */ _("span", {
413
413
  className: "font-medium",
414
414
  children: Z.level
415
415
  })
416
416
  ]
417
417
  })]
418
- }), /* @__PURE__ */ v("div", {
418
+ }), /* @__PURE__ */ _("div", {
419
419
  className: "grid grid-cols-2 gap-2",
420
- children: X.map((e) => /* @__PURE__ */ y("div", {
420
+ children: X.map((e) => /* @__PURE__ */ v("div", {
421
421
  className: "flex items-center gap-2",
422
- children: [e.met ? /* @__PURE__ */ v(ee, { className: "size-4 text-status-success-text" }) : /* @__PURE__ */ v(p, { className: "size-4 text-[var(--color-text-tertiary)]" }), /* @__PURE__ */ v("span", {
422
+ children: [e.met ? /* @__PURE__ */ _(s, { className: "size-4 text-status-success-text" }) : /* @__PURE__ */ _(h, { className: "size-4 text-[var(--color-text-tertiary)]" }), /* @__PURE__ */ _("span", {
423
423
  className: `text-xs ${e.met ? "text-status-success-text" : "text-[var(--color-text-tertiary)]"}`,
424
424
  children: e.label
425
425
  })]
@@ -428,98 +428,97 @@ function x() {
428
428
  })
429
429
  ]
430
430
  }),
431
- /* @__PURE__ */ y("p", {
431
+ /* @__PURE__ */ v("p", {
432
432
  className: "text-xs text-[var(--color-text-tertiary)] leading-relaxed",
433
433
  children: [
434
- x("auth.register.agreeToTerms", "By creating an account, you agree to our"),
434
+ b("auth.register.agreeToTerms", "By creating an account, you agree to our"),
435
435
  " ",
436
- /* @__PURE__ */ v("a", {
437
- href: h("/terms"),
436
+ /* @__PURE__ */ _("a", {
437
+ href: n("/terms"),
438
438
  target: "_blank",
439
439
  rel: "noopener noreferrer",
440
440
  className: "text-text-link underline underline-offset-2",
441
- children: x("auth.register.termsOfService", "Terms of Service")
441
+ children: b("auth.register.termsOfService", "Terms of Service")
442
442
  }),
443
443
  " ",
444
- x("auth.register.and", "and"),
444
+ b("auth.register.and", "and"),
445
445
  " ",
446
- /* @__PURE__ */ v("a", {
447
- href: h("/privacy"),
446
+ /* @__PURE__ */ _("a", {
447
+ href: n("/privacy"),
448
448
  target: "_blank",
449
449
  rel: "noopener noreferrer",
450
450
  className: "text-text-link underline underline-offset-2",
451
- children: x("auth.register.privacyPolicy", "Privacy Policy")
451
+ children: b("auth.register.privacyPolicy", "Privacy Policy")
452
452
  }),
453
453
  "."
454
454
  ]
455
455
  }),
456
- /* @__PURE__ */ v(ae, {
456
+ /* @__PURE__ */ _(ae, {
457
457
  enabled: H,
458
458
  siteKey: me,
459
459
  onVerify: B,
460
460
  onExpired: () => B(null)
461
461
  }, V),
462
- /* @__PURE__ */ v(b, {
462
+ /* @__PURE__ */ _(y, {
463
463
  type: "submit",
464
464
  disabled: T,
465
465
  variant: "default",
466
466
  size: "lg",
467
467
  className: "w-full font-semibold",
468
- children: T ? /* @__PURE__ */ y(se, { children: [/* @__PURE__ */ v(d, { className: "size-5 animate-spin" }), /* @__PURE__ */ v("span", { children: x("auth.register.creatingAccount", "Creating account...") })] }) : x("auth.register.createAccountBtn", "Create account")
468
+ children: T ? /* @__PURE__ */ v(ce, { children: [/* @__PURE__ */ _(p, { className: "size-5 animate-spin" }), /* @__PURE__ */ _("span", { children: b("auth.register.creatingAccount", "Creating account...") })] }) : b("auth.register.createAccountBtn", "Create account")
469
469
  })
470
470
  ]
471
471
  }),
472
- /* @__PURE__ */ y("div", {
472
+ /* @__PURE__ */ v("div", {
473
473
  className: "relative my-8",
474
- children: [/* @__PURE__ */ v("div", {
474
+ children: [/* @__PURE__ */ _("div", {
475
475
  className: "absolute inset-0 flex items-center",
476
- children: /* @__PURE__ */ v("div", { className: "w-full border-t border-[var(--color-border-default)]" })
477
- }), /* @__PURE__ */ v("div", {
476
+ children: /* @__PURE__ */ _("div", { className: "w-full border-t border-[var(--color-border-default)]" })
477
+ }), /* @__PURE__ */ _("div", {
478
478
  className: "relative flex justify-center",
479
- children: /* @__PURE__ */ v("span", {
479
+ children: /* @__PURE__ */ _("span", {
480
480
  className: "px-4 bg-[var(--color-bg-canvas)] text-sm text-[var(--color-text-tertiary)]",
481
- children: x("auth.register.orSignUpWith", "or sign up with")
481
+ children: b("auth.register.orSignUpWith", "or sign up with")
482
482
  })
483
483
  })]
484
484
  }),
485
- L && /* @__PURE__ */ y("div", {
485
+ L && /* @__PURE__ */ v("div", {
486
486
  className: "flex items-start gap-3 p-4 rounded-xl border bg-status-error-bg-subtle border-status-error-border",
487
- children: [/* @__PURE__ */ v(a, { className: "size-5 flex-shrink-0 mt-0.5 text-status-error-text" }), /* @__PURE__ */ v("p", {
487
+ children: [/* @__PURE__ */ _(o, { className: "size-5 flex-shrink-0 mt-0.5 text-status-error-text" }), /* @__PURE__ */ _("p", {
488
488
  className: "text-sm text-status-error-text",
489
489
  children: L
490
490
  })]
491
491
  }),
492
- /* @__PURE__ */ v("div", {
492
+ /* @__PURE__ */ _("div", {
493
493
  className: "grid grid-cols-3 gap-3",
494
- children: ve.map((e) => /* @__PURE__ */ y("button", {
494
+ children: ve.map((e) => /* @__PURE__ */ v("button", {
495
495
  type: "button",
496
496
  onClick: e.onClick,
497
497
  disabled: e.disabled,
498
498
  title: e.tooltip,
499
499
  className: `flex items-center justify-center gap-2 px-4 py-3 rounded-xl border transition-all duration-200 group ${e.disabled ? "border-[var(--color-border-subtle)] bg-[var(--color-bg-disabled)] cursor-not-allowed opacity-50" : "border-[var(--color-border-default)] bg-[var(--color-bg-surface)] hover:bg-[var(--color-bg-sunken)] hover:border-[var(--color-border-strong)]"}`,
500
- children: [/* @__PURE__ */ v(e.icon, { className: `size-5 ${e.disabled ? "opacity-50" : ""}` }), /* @__PURE__ */ v("span", {
500
+ children: [/* @__PURE__ */ _(e.icon, { className: `size-5 ${e.disabled ? "opacity-50" : ""}` }), /* @__PURE__ */ _("span", {
501
501
  className: `sr-only sm:not-sr-only text-sm font-medium transition-colors ${e.disabled ? "text-[var(--color-text-disabled)]" : "text-[var(--color-text-secondary)] group-hover:text-[var(--color-text-primary)]"}`,
502
502
  children: e.name
503
503
  })]
504
504
  }, e.name))
505
505
  }),
506
- /* @__PURE__ */ y("p", {
506
+ /* @__PURE__ */ v("p", {
507
507
  className: "mt-8 text-center text-sm text-[var(--color-text-secondary)]",
508
508
  children: [
509
- x("auth.register.alreadyHaveAccount", "Already have an account?"),
509
+ b("auth.register.alreadyHaveAccount", "Already have an account?"),
510
510
  " ",
511
- /* @__PURE__ */ v("button", {
511
+ /* @__PURE__ */ _("button", {
512
512
  type: "button",
513
- onClick: () => C("/auth/login"),
513
+ onClick: () => S("/auth/login"),
514
514
  className: "font-semibold text-text-link hover:text-text-linkHover transition-colors",
515
- children: x("auth.register.signIn", "Sign in")
515
+ children: b("auth.register.signIn", "Sign in")
516
516
  })
517
517
  ]
518
518
  })
519
519
  ]
520
520
  });
521
521
  }
522
- //#endregion
523
- export { x as RegisterPage };
522
+ export { b as RegisterPage };
524
523
 
525
524
  //# sourceMappingURL=RegisterPage.js.map