xertica-ui 2.8.0 → 2.9.7

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 (286) hide show
  1. package/CHANGELOG.md +108 -0
  2. package/README.md +1 -1
  3. package/bin/cli.ts +327 -87
  4. package/bin/language-config.ts +58 -18
  5. package/components/blocks/auth/AuthPageShell.tsx +63 -18
  6. package/components/blocks/auth/SocialLoginButtons.tsx +3 -3
  7. package/components/blocks/index.ts +1 -0
  8. package/components/blocks/marketing/CTASection.tsx +73 -0
  9. package/components/blocks/marketing/ComplianceBadgeRow.tsx +49 -0
  10. package/components/blocks/marketing/EvidenceTimeline.tsx +91 -0
  11. package/components/blocks/marketing/FeatureRow.tsx +78 -0
  12. package/components/blocks/marketing/Hero.tsx +125 -0
  13. package/components/blocks/marketing/HowItWorksSteps.tsx +90 -0
  14. package/components/blocks/marketing/LogoCloud.tsx +47 -0
  15. package/components/blocks/marketing/MarketingFooter.tsx +109 -0
  16. package/components/blocks/marketing/MarketingNavbar.tsx +192 -0
  17. package/components/blocks/marketing/PillBadge.tsx +96 -0
  18. package/components/blocks/marketing/SectionHeading.tsx +82 -0
  19. package/components/blocks/marketing/ServiceCardGrid.tsx +238 -0
  20. package/components/blocks/marketing/StatBand.tsx +99 -0
  21. package/components/blocks/marketing/TopAccentCards.tsx +91 -0
  22. package/components/blocks/marketing/index.ts +41 -0
  23. package/components/brand/index.ts +1 -0
  24. package/components/brand/isotype/Isotype.tsx +64 -0
  25. package/components/brand/isotype/IsotypeDiagonal.tsx +51 -0
  26. package/components/brand/isotype/IsotypeFrames.tsx +82 -0
  27. package/components/brand/isotype/IsotypeMini.tsx +65 -0
  28. package/components/brand/isotype/IsotypeTwist.tsx +68 -0
  29. package/components/brand/isotype/frame-variants.ts +20 -0
  30. package/components/brand/isotype/index.ts +9 -0
  31. package/components/brand/isotype/isotype-diagonal.mdx +52 -0
  32. package/components/brand/isotype/isotype-diagonal.stories.tsx +44 -0
  33. package/components/brand/isotype/isotype-diagonal.test.tsx +180 -0
  34. package/components/brand/isotype/isotype-frames.mdx +50 -0
  35. package/components/brand/isotype/isotype-frames.stories.tsx +63 -0
  36. package/components/brand/isotype/isotype-frames.test.tsx +92 -0
  37. package/components/brand/isotype/isotype-mini.mdx +61 -0
  38. package/components/brand/isotype/isotype-mini.stories.tsx +75 -0
  39. package/components/brand/isotype/isotype-mini.test.tsx +45 -0
  40. package/components/brand/isotype/isotype-twist.test.tsx +71 -0
  41. package/components/brand/isotype/isotype.mdx +61 -0
  42. package/components/brand/isotype/isotype.stories.tsx +74 -0
  43. package/components/brand/isotype/isotype.test.tsx +41 -0
  44. package/components/brand/isotype/mini-patterns.ts +50 -0
  45. package/components/brand/isotype/patterns.ts +83 -0
  46. package/components/brand/isotype/twist-variants.ts +20 -0
  47. package/components/pages/forgot-password-page/ForgotPasswordPage.tsx +3 -6
  48. package/components/pages/index.ts +1 -0
  49. package/components/pages/landing-page/LandingPage.tsx +360 -0
  50. package/components/pages/landing-page/index.ts +1 -0
  51. package/components/pages/login-page/LoginPage.tsx +3 -6
  52. package/components/pages/reset-password-page/ResetPasswordPage.tsx +1 -4
  53. package/components/pages/verify-email-page/VerifyEmailPage.tsx +2 -5
  54. package/components/ui/button/button.test.tsx +1 -1
  55. package/components/ui/button/button.tsx +7 -6
  56. package/components/ui/card/card.test.tsx +12 -0
  57. package/components/ui/card/card.tsx +5 -3
  58. package/components/ui/input-otp/input-otp.test.tsx +14 -1
  59. package/contexts/BrandColorsContext.tsx +9 -5
  60. package/contexts/theme-data.ts +32 -5
  61. package/dist/AssistantChart-BU48lxL2.js +3383 -0
  62. package/dist/AssistantChart-CoN6ga6Z.js +3383 -0
  63. package/dist/AssistantChart-DIRYJ7WY.js +3383 -0
  64. package/dist/AssistantChart-DOnY1ZlD.cjs +3551 -0
  65. package/dist/AssistantChart-DjM3qnp5.cjs +3551 -0
  66. package/dist/AssistantChart-hxPyE1S9.cjs +3551 -0
  67. package/dist/AudioPlayer-CpihsbaD.js +1278 -0
  68. package/dist/AudioPlayer-CvGajzMC.cjs +1282 -0
  69. package/dist/AudioPlayer-CvHpFqDG.cjs +1282 -0
  70. package/dist/AudioPlayer-D4S7GQou.js +1278 -0
  71. package/dist/BrandColorsContext-BNKLUVcU.js +829 -0
  72. package/dist/BrandColorsContext-DNZGHItQ.cjs +836 -0
  73. package/dist/BrandColorsContext-Ug_TZ8yn.cjs +846 -0
  74. package/dist/BrandColorsContext-z0O2LlZz.js +839 -0
  75. package/dist/CodeBlock-BkaZf-R8.cjs +223 -0
  76. package/dist/CodeBlock-CKu8LgbP.cjs +223 -0
  77. package/dist/CodeBlock-DiLS5LLI.js +221 -0
  78. package/dist/CodeBlock-zdylBGdZ.js +221 -0
  79. package/dist/CustomTooltipContent-BAR5qCQg.js +33 -0
  80. package/dist/CustomTooltipContent-CBLHBxX8.cjs +54 -0
  81. package/dist/CustomTooltipContent-CjWm3jjV.js +33 -0
  82. package/dist/CustomTooltipContent-DTV9MN9E.cjs +54 -0
  83. package/dist/EvidenceTimeline-DrRk4yqb.cjs +560 -0
  84. package/dist/EvidenceTimeline-l4MaV4C7.js +546 -0
  85. package/dist/FeatureCard-CIbBHqeY.cjs +497 -0
  86. package/dist/FeatureCard-DtoKPSfW.cjs +497 -0
  87. package/dist/FeatureCard-P4iEpBmB.js +485 -0
  88. package/dist/FeatureCard-e3f8bnF0.js +485 -0
  89. package/dist/ImageWithFallback-C1ww9Hg3.cjs +122 -0
  90. package/dist/ImageWithFallback-CBrkAEo3.cjs +122 -0
  91. package/dist/ImageWithFallback-CGk5zPH-.js +98 -0
  92. package/dist/ImageWithFallback-CfnoFFSP.js +98 -0
  93. package/dist/Isotype--fRZWwS6.js +85 -0
  94. package/dist/Isotype-0dpLqetB.js +85 -0
  95. package/dist/Isotype-B8XLEXSB.cjs +92 -0
  96. package/dist/Isotype-ChKwN7e-.cjs +91 -0
  97. package/dist/IsotypeDiagonal-CuPYPP4f.js +84 -0
  98. package/dist/IsotypeDiagonal-eNcOXRAc.cjs +91 -0
  99. package/dist/IsotypeDiagonal-oiwpXZhE.js +104 -0
  100. package/dist/IsotypeDiagonal-xMFoFXkb.cjs +109 -0
  101. package/dist/IsotypeFrames-BcWtyAWp.cjs +83 -0
  102. package/dist/IsotypeFrames-BnvSJKiH.cjs +73 -0
  103. package/dist/IsotypeFrames-iDRTRuIu.js +79 -0
  104. package/dist/IsotypeFrames-qoXOvOJt.js +69 -0
  105. package/dist/IsotypeMini-CQtWVo3h.js +126 -0
  106. package/dist/IsotypeMini-Cu_sW5yN.cjs +134 -0
  107. package/dist/IsotypeTwist-BTdNL4iV.js +106 -0
  108. package/dist/IsotypeTwist-DvsUgZs_.cjs +115 -0
  109. package/dist/LanguageContext-B1aOXO-K.js +1987 -0
  110. package/dist/LanguageContext-BP0k7AzI.js +1993 -0
  111. package/dist/LanguageContext-CChcIHIG.cjs +1998 -0
  112. package/dist/LanguageContext-ubC7TSs_.cjs +1992 -0
  113. package/dist/LanguageSelector-BLFPXGo8.cjs +48 -0
  114. package/dist/LanguageSelector-CYRzWkRZ.cjs +48 -0
  115. package/dist/LanguageSelector-CyHjZgC4.cjs +48 -0
  116. package/dist/LanguageSelector-DE8lIySO.js +46 -0
  117. package/dist/LanguageSelector-DUr1hjBW.js +46 -0
  118. package/dist/LanguageSelector-DjbWIKWC.js +46 -0
  119. package/dist/LogoCloud-C_uMKVNg.cjs +513 -0
  120. package/dist/LogoCloud-DJsMPNPh.js +500 -0
  121. package/dist/MarketingFooter-B_ycEdTJ.cjs +727 -0
  122. package/dist/MarketingFooter-Bhx-2Vlr.cjs +727 -0
  123. package/dist/MarketingFooter-Br1MGK9e.js +699 -0
  124. package/dist/MarketingFooter-BwE1vmeX.cjs +700 -0
  125. package/dist/MarketingFooter-CsZ1_xL9.js +709 -0
  126. package/dist/MarketingFooter-DCwf78Q4.cjs +716 -0
  127. package/dist/MarketingFooter-KH2r-OOL.js +709 -0
  128. package/dist/MarketingFooter-nB7G7gQ5.js +682 -0
  129. package/dist/SectionHeading-DEeOKcAd.cjs +857 -0
  130. package/dist/SectionHeading-DMNObcwm.js +838 -0
  131. package/dist/ThemeToggle--CGJjQJv.cjs +219 -0
  132. package/dist/ThemeToggle-Bn_7Pmfe.js +215 -0
  133. package/dist/ThemeToggle-CoL8Ady7.js +215 -0
  134. package/dist/ThemeToggle-D2Wzm5bn.cjs +219 -0
  135. package/dist/VerifyEmailPage-90lK6pP4.js +3258 -0
  136. package/dist/VerifyEmailPage-BJX1Rter.cjs +3320 -0
  137. package/dist/VerifyEmailPage-BSWvOgry.js +3310 -0
  138. package/dist/VerifyEmailPage-CDqIkhx-.js +3224 -0
  139. package/dist/VerifyEmailPage-Crxje3ZB.js +3323 -0
  140. package/dist/VerifyEmailPage-D2ShbuEN.cjs +3333 -0
  141. package/dist/VerifyEmailPage-DEBZXQ7c.cjs +3310 -0
  142. package/dist/VerifyEmailPage-DGaX-jZv.cjs +3268 -0
  143. package/dist/VerifyEmailPage-ZtOPkgOA.cjs +3234 -0
  144. package/dist/VerifyEmailPage-s927GSiR.js +3300 -0
  145. package/dist/XerticaOrbe-BHex09xs.js +1925 -0
  146. package/dist/XerticaOrbe-BKW3LJEz.js +1925 -0
  147. package/dist/XerticaOrbe-Br2i99U_.cjs +1927 -0
  148. package/dist/XerticaOrbe-kjFmuyx-.cjs +1927 -0
  149. package/dist/XerticaProvider-Bi5lKC9N.js +44 -0
  150. package/dist/XerticaProvider-BrPMVhiv.js +44 -0
  151. package/dist/XerticaProvider-CnX5kt5W.cjs +46 -0
  152. package/dist/XerticaProvider-DEKNJTlN.js +44 -0
  153. package/dist/XerticaProvider-X_wavDYA.cjs +46 -0
  154. package/dist/XerticaProvider-b3n_oL8w.cjs +46 -0
  155. package/dist/alert-dialog--qdlmB5i.cjs +872 -0
  156. package/dist/alert-dialog-C48TOdYU.cjs +872 -0
  157. package/dist/alert-dialog-CEPpnpXt.js +819 -0
  158. package/dist/alert-dialog-NjflitDa.js +819 -0
  159. package/dist/assistant.cjs.js +2 -2
  160. package/dist/assistant.es.js +2 -2
  161. package/dist/avatar-CtEKgg7s.cjs +77 -0
  162. package/dist/avatar-D03MNQxs.js +54 -0
  163. package/dist/avatar-Df7KgSvs.js +54 -0
  164. package/dist/avatar-Gy0_Xu9i.cjs +77 -0
  165. package/dist/blocks.cjs.js +33 -18
  166. package/dist/blocks.es.js +2 -2
  167. package/dist/brand.cjs.js +110 -4
  168. package/dist/brand.es.js +98 -4
  169. package/dist/breadcrumb-BGO5PZPG.js +90 -0
  170. package/dist/breadcrumb-BvGAY4ne.cjs +98 -0
  171. package/dist/breadcrumb-CU-punra.js +90 -0
  172. package/dist/breadcrumb-DjV9wfX1.cjs +98 -0
  173. package/dist/button-B05czY_8.js +62 -0
  174. package/dist/button-B3SE1liJ.js +62 -0
  175. package/dist/button-BMDlWZR8.cjs +85 -0
  176. package/dist/button-DVhloDtr.cjs +85 -0
  177. package/dist/cli.js +280 -62
  178. package/dist/components/blocks/auth/AuthPageShell.d.ts +21 -5
  179. package/dist/components/blocks/index.d.ts +1 -0
  180. package/dist/components/blocks/marketing/CTASection.d.ts +28 -0
  181. package/dist/components/blocks/marketing/ComplianceBadgeRow.d.ts +23 -0
  182. package/dist/components/blocks/marketing/EvidenceTimeline.d.ts +26 -0
  183. package/dist/components/blocks/marketing/FeatureRow.d.ts +25 -0
  184. package/dist/components/blocks/marketing/Hero.d.ts +35 -0
  185. package/dist/components/blocks/marketing/HowItWorksSteps.d.ts +29 -0
  186. package/dist/components/blocks/marketing/LogoCloud.d.ts +22 -0
  187. package/dist/components/blocks/marketing/MarketingFooter.d.ts +42 -0
  188. package/dist/components/blocks/marketing/MarketingNavbar.d.ts +47 -0
  189. package/dist/components/blocks/marketing/PillBadge.d.ts +21 -0
  190. package/dist/components/blocks/marketing/SectionHeading.d.ts +23 -0
  191. package/dist/components/blocks/marketing/ServiceCardGrid.d.ts +65 -0
  192. package/dist/components/blocks/marketing/StatBand.d.ts +25 -0
  193. package/dist/components/blocks/marketing/TopAccentCards.d.ts +29 -0
  194. package/dist/components/blocks/marketing/index.d.ts +28 -0
  195. package/dist/components/brand/index.d.ts +1 -0
  196. package/dist/components/brand/isotype/Isotype.d.ts +27 -0
  197. package/dist/components/brand/isotype/IsotypeDiagonal.d.ts +19 -0
  198. package/dist/components/brand/isotype/IsotypeFrames.d.ts +21 -0
  199. package/dist/components/brand/isotype/IsotypeMini.d.ts +26 -0
  200. package/dist/components/brand/isotype/IsotypeTwist.d.ts +22 -0
  201. package/dist/components/brand/isotype/frame-variants.d.ts +11 -0
  202. package/dist/components/brand/isotype/index.d.ts +9 -0
  203. package/dist/components/brand/isotype/mini-patterns.d.ts +25 -0
  204. package/dist/components/brand/isotype/patterns.d.ts +42 -0
  205. package/dist/components/brand/isotype/twist-variants.d.ts +11 -0
  206. package/dist/components/pages/forgot-password-page/ForgotPasswordPage.d.ts +2 -2
  207. package/dist/components/pages/index.d.ts +1 -0
  208. package/dist/components/pages/landing-page/LandingPage.d.ts +18 -0
  209. package/dist/components/pages/landing-page/index.d.ts +1 -0
  210. package/dist/components/pages/login-page/LoginPage.d.ts +2 -2
  211. package/dist/components/pages/verify-email-page/VerifyEmailPage.d.ts +1 -1
  212. package/dist/components/ui/card/card.d.ts +3 -1
  213. package/dist/contexts/theme-data.d.ts +6 -0
  214. package/dist/dropdown-menu-ChQa9zW3.cjs +225 -0
  215. package/dist/dropdown-menu-DRvnsQAt.cjs +225 -0
  216. package/dist/dropdown-menu-DUk81i5Y.js +190 -0
  217. package/dist/dropdown-menu-NlUHhVmK.js +190 -0
  218. package/dist/hooks.cjs.js +2 -2
  219. package/dist/hooks.es.js +2 -2
  220. package/dist/index.cjs.js +57 -41
  221. package/dist/index.es.js +25 -25
  222. package/dist/input-Csp_Metb.cjs +91 -0
  223. package/dist/input-DVRwGVLx.js +65 -0
  224. package/dist/input-Dqyj7Hdw.cjs +91 -0
  225. package/dist/input-dOgrFQ-3.js +65 -0
  226. package/dist/layout.cjs.js +1 -1
  227. package/dist/layout.es.js +1 -1
  228. package/dist/media.cjs.js +1 -1
  229. package/dist/media.es.js +1 -1
  230. package/dist/pages.cjs.js +2 -1
  231. package/dist/pages.es.js +1 -1
  232. package/dist/rich-text-editor-7K7UjLJN.cjs +2968 -0
  233. package/dist/rich-text-editor-B3jLP2bm.cjs +2968 -0
  234. package/dist/rich-text-editor-BntMVQsB.js +2894 -0
  235. package/dist/rich-text-editor-Diz_onyB.js +2894 -0
  236. package/dist/rich-text-editor-RWvK4hd3.cjs +2968 -0
  237. package/dist/rich-text-editor-gauEkzPM.js +2894 -0
  238. package/dist/select-B6PygS38.cjs +161 -0
  239. package/dist/select-BD763J5Y.cjs +161 -0
  240. package/dist/select-QJDKZITN.js +130 -0
  241. package/dist/select-q7aDfuPn.js +130 -0
  242. package/dist/sidebar-Bkk1YAsD.cjs +1154 -0
  243. package/dist/sidebar-CuzYeOSz.cjs +1154 -0
  244. package/dist/sidebar-CwlW3LXE.js +1151 -0
  245. package/dist/sidebar-DNkf-Ug6.js +1151 -0
  246. package/dist/sidebar-DaS3fplw.cjs +1154 -0
  247. package/dist/sidebar-FDCY42oP.js +1151 -0
  248. package/dist/skeleton-BtBwJ39W.js +79 -0
  249. package/dist/skeleton-CJyg0eJ1.cjs +88 -0
  250. package/dist/skeleton-D8WaauK0.cjs +88 -0
  251. package/dist/skeleton-DBYtjaZW.cjs +88 -0
  252. package/dist/skeleton-DY_lSFWf.js +79 -0
  253. package/dist/skeleton-Df65Ox10.js +79 -0
  254. package/dist/slider-BKV_vvsh.cjs +78 -0
  255. package/dist/slider-B_lUjFNa.cjs +78 -0
  256. package/dist/slider-CtBpIaU4.js +56 -0
  257. package/dist/slider-KgWmSJbx.js +56 -0
  258. package/dist/tooltip-BPttuPxU.js +48 -0
  259. package/dist/tooltip-CIKRzQqE.cjs +72 -0
  260. package/dist/tooltip-CoDByjE_.cjs +72 -0
  261. package/dist/tooltip-_MAwsiOL.js +48 -0
  262. package/dist/ui.cjs.js +13 -13
  263. package/dist/ui.es.js +13 -13
  264. package/dist/xertica-assistant-B1xAl2Vn.js +2173 -0
  265. package/dist/xertica-assistant-BBUMaUXw.js +2173 -0
  266. package/dist/xertica-assistant-CWuBwfzt.cjs +2180 -0
  267. package/dist/xertica-assistant-D2hlwiEP.js +2173 -0
  268. package/dist/xertica-assistant-DN2J_sQQ.cjs +2180 -0
  269. package/dist/xertica-assistant-DdYS6WXT.cjs +2180 -0
  270. package/dist/xertica-ui.css +1 -1
  271. package/llms-compact.txt +1 -1
  272. package/llms.txt +1 -1
  273. package/package.json +4 -2
  274. package/styles/xertica/base.css +8 -0
  275. package/styles/xertica/tokens.css +1 -0
  276. package/templates/package.json +1 -1
  277. package/templates/src/app/components/AuthGuard.tsx +6 -0
  278. package/templates/src/features/auth/ui/ForgotPasswordContent.tsx +1 -4
  279. package/templates/src/features/auth/ui/LoginContent.tsx +1 -4
  280. package/templates/src/features/auth/ui/ResetPasswordContent.tsx +1 -4
  281. package/templates/src/features/auth/ui/VerifyEmailContent.tsx +1 -4
  282. package/templates/src/locales/en/pages/landing.json +175 -0
  283. package/templates/src/locales/es/pages/landing.json +175 -0
  284. package/templates/src/locales/pt-BR/pages/landing.json +175 -0
  285. package/templates/src/pages/LandingPage.tsx +349 -0
  286. package/templates/src/styles/xertica/tokens.css +1 -0
@@ -0,0 +1,709 @@
1
+ import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
2
+ import { C as Card, e as CardHeader, S as Skeleton, b as CardContent, d as CardFooter, f as CardTitle, c as CardDescription } from './skeleton-Df65Ox10.js';
3
+ import { c as cn, B as Button } from './button-DFa-rtPy.js';
4
+ import { I as ImageWithFallback } from './ImageWithFallback-BOh1FM3I.js';
5
+ import { L as LanguageSelector } from './LanguageSelector-Cj6zl0CM.js';
6
+ import { c as Isotype } from './Isotype-0dpLqetB.js';
7
+ import { useTranslation } from 'react-i18next';
8
+ import { Lock, X, Menu, CheckCircle2, Check } from 'lucide-react';
9
+ import { useMemo, useState } from 'react';
10
+
11
+ function FeatureCardSkeleton({
12
+ showAction = true,
13
+ className,
14
+ ...props
15
+ }) {
16
+ return /* @__PURE__ */ jsxs(Card, { className: cn("flex flex-col h-full", className), ...props, children: [
17
+ /* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
18
+ /* @__PURE__ */ jsx(Skeleton, { className: "size-10 rounded-[var(--radius)] shrink-0" }),
19
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-center gap-2 min-w-0", children: [
20
+ /* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-28" }),
21
+ /* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-12 rounded-full" })
22
+ ] })
23
+ ] }) }),
24
+ /* @__PURE__ */ jsxs(CardContent, { className: "flex-1 space-y-2", children: [
25
+ /* @__PURE__ */ jsx(Skeleton, { className: "h-3.5 w-full" }),
26
+ /* @__PURE__ */ jsx(Skeleton, { className: "h-3.5 w-5/6" }),
27
+ /* @__PURE__ */ jsx(Skeleton, { className: "h-3.5 w-4/6" })
28
+ ] }),
29
+ showAction && /* @__PURE__ */ jsx(CardFooter, { children: /* @__PURE__ */ jsx(Skeleton, { className: "h-9 w-full rounded-md" }) })
30
+ ] });
31
+ }
32
+
33
+ function AuthPageShell(props) {
34
+ const { children } = props;
35
+ return /* @__PURE__ */ jsxs("div", { className: "h-screen w-full flex overflow-y-auto", children: [
36
+ props.leftPanel === "isotype" ? /* @__PURE__ */ jsx("div", { className: "hidden lg:flex lg:flex-1 items-center justify-center bg-sidebar", children: /* @__PURE__ */ jsx(Isotype, { className: "w-full max-w-sm" }) }) : /* @__PURE__ */ jsxs("div", { className: "hidden lg:flex lg:flex-1 relative overflow-hidden", children: [
37
+ /* @__PURE__ */ jsx(
38
+ ImageWithFallback,
39
+ {
40
+ src: props.imageSrc,
41
+ alt: props.imageAlt,
42
+ className: "absolute inset-0 w-full h-full object-cover"
43
+ }
44
+ ),
45
+ /* @__PURE__ */ jsx(
46
+ "div",
47
+ {
48
+ className: cn(
49
+ "absolute inset-0 opacity-80",
50
+ props.gradientClassName ?? "bg-[image:var(--gradient-diagonal)]"
51
+ )
52
+ }
53
+ )
54
+ ] }),
55
+ /* @__PURE__ */ jsxs("div", { className: "flex-1 flex items-center justify-center px-4 sm:px-6 lg:px-8 lg:flex-none lg:w-1/2 relative bg-muted", children: [
56
+ /* @__PURE__ */ jsx("div", { className: "absolute top-4 right-4 z-20", children: /* @__PURE__ */ jsx(LanguageSelector, { variant: "minimal", showIcon: false }) }),
57
+ props.leftPanel !== "isotype" && /* @__PURE__ */ jsx(
58
+ "div",
59
+ {
60
+ className: cn(
61
+ "absolute inset-0 lg:hidden opacity-10 dark:opacity-5",
62
+ props.gradientClassName ?? "bg-[image:var(--gradient-diagonal)]"
63
+ )
64
+ }
65
+ ),
66
+ /* @__PURE__ */ jsx("div", { className: "w-full max-w-sm space-y-6 relative z-10", children })
67
+ ] })
68
+ ] });
69
+ }
70
+
71
+ const DEFAULT_PROVIDERS = ["google", "mtLogin", "govBr"];
72
+ function SocialLoginButtons({
73
+ onSocialLogin,
74
+ providers = DEFAULT_PROVIDERS
75
+ }) {
76
+ const { t } = useTranslation();
77
+ if (providers.length === 0) return null;
78
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
79
+ /* @__PURE__ */ jsxs("div", { className: "relative", children: [
80
+ /* @__PURE__ */ jsx("div", { className: "absolute inset-0 flex items-center", children: /* @__PURE__ */ jsx("div", { className: "w-full border-t border-border" }) }),
81
+ /* @__PURE__ */ jsx("div", { className: "relative flex justify-center text-sm", children: /* @__PURE__ */ jsx("span", { className: "bg-muted px-2 text-muted-foreground", children: t("login.orContinueWith") }) })
82
+ ] }),
83
+ /* @__PURE__ */ jsxs("div", { className: "space-y-3", children: [
84
+ providers.includes("google") && /* @__PURE__ */ jsxs(
85
+ Button,
86
+ {
87
+ type: "button",
88
+ variant: "outline",
89
+ className: "w-full justify-center",
90
+ onClick: () => onSocialLogin("Google"),
91
+ children: [
92
+ /* @__PURE__ */ jsxs("svg", { className: "w-5 h-5 mr-2", viewBox: "0 0 48 48", xmlns: "http://www.w3.org/2000/svg", children: [
93
+ /* @__PURE__ */ jsx(
94
+ "path",
95
+ {
96
+ fill: "#EA4335",
97
+ d: "M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z"
98
+ }
99
+ ),
100
+ /* @__PURE__ */ jsx(
101
+ "path",
102
+ {
103
+ fill: "#4285F4",
104
+ d: "M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z"
105
+ }
106
+ ),
107
+ /* @__PURE__ */ jsx(
108
+ "path",
109
+ {
110
+ fill: "#FBBC05",
111
+ d: "M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z"
112
+ }
113
+ ),
114
+ /* @__PURE__ */ jsx(
115
+ "path",
116
+ {
117
+ fill: "#34A853",
118
+ d: "M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z"
119
+ }
120
+ ),
121
+ /* @__PURE__ */ jsx("path", { fill: "none", d: "M0 0h48v48H0z" })
122
+ ] }),
123
+ /* @__PURE__ */ jsx("span", { children: t("login.signInWithGoogle") })
124
+ ]
125
+ }
126
+ ),
127
+ providers.includes("mtLogin") && /* @__PURE__ */ jsxs(
128
+ Button,
129
+ {
130
+ type: "button",
131
+ variant: "outline",
132
+ className: "w-full justify-center",
133
+ onClick: () => onSocialLogin("MT Login"),
134
+ children: [
135
+ /* @__PURE__ */ jsx(Lock, { className: "w-5 h-5 mr-2 text-[var(--chart-4)]" }),
136
+ /* @__PURE__ */ jsx("span", { children: t("login.signInWithMTLogin") })
137
+ ]
138
+ }
139
+ ),
140
+ providers.includes("govBr") && /* @__PURE__ */ jsx(
141
+ Button,
142
+ {
143
+ type: "button",
144
+ variant: "outline",
145
+ className: "w-full justify-center font-normal",
146
+ onClick: () => onSocialLogin("gov.br"),
147
+ children: /* @__PURE__ */ jsxs("span", { children: [
148
+ t("login.signInWithGovBr").split("gov.br")[0],
149
+ /* @__PURE__ */ jsx("strong", { className: "font-semibold", children: "gov.br" }),
150
+ t("login.signInWithGovBr").split("gov.br")[1] || ""
151
+ ] })
152
+ }
153
+ )
154
+ ] })
155
+ ] });
156
+ }
157
+
158
+ function usePasswordStrength(password) {
159
+ return useMemo(() => {
160
+ if (password.length === 0) return null;
161
+ if (password.length < 6) return "weak";
162
+ if (password.length < 10) return "medium";
163
+ return "strong";
164
+ }, [password]);
165
+ }
166
+
167
+ const BAR_WIDTH = {
168
+ weak: "w-1/3 bg-destructive",
169
+ medium: "w-2/3 bg-[var(--chart-3)]",
170
+ strong: "w-full bg-[var(--chart-2)]"
171
+ };
172
+ const TEXT_COLOR = {
173
+ weak: "text-destructive",
174
+ medium: "text-[var(--chart-3)]",
175
+ strong: "text-[var(--chart-2)]"
176
+ };
177
+ const LABEL_KEY = {
178
+ weak: "resetPassword.strengthWeak",
179
+ medium: "resetPassword.strengthMedium",
180
+ strong: "resetPassword.strengthStrong"
181
+ };
182
+ function PasswordStrengthMeter({ strength }) {
183
+ const { t } = useTranslation();
184
+ if (!strength) return null;
185
+ return /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
186
+ /* @__PURE__ */ jsx("div", { className: "flex-1 h-1 bg-muted rounded-full overflow-hidden", children: /* @__PURE__ */ jsx("div", { className: `h-full transition-all duration-300 ${BAR_WIDTH[strength]}` }) }),
187
+ /* @__PURE__ */ jsx("span", { className: `text-small ${TEXT_COLOR[strength]}`, children: t(LABEL_KEY[strength]) })
188
+ ] });
189
+ }
190
+
191
+ const colorTokens$3 = {
192
+ primary: { bg: "bg-primary/10", icon: "text-primary" },
193
+ "chart-1": { bg: "bg-[var(--chart-1)]/15", icon: "text-[var(--chart-1)]" },
194
+ "chart-2": { bg: "bg-[var(--chart-2)]/15", icon: "text-[var(--chart-2)]" },
195
+ "chart-3": { bg: "bg-[var(--chart-3)]/15", icon: "text-[var(--chart-3)]" },
196
+ "chart-4": { bg: "bg-[var(--chart-4)]/15", icon: "text-[var(--chart-4)]" },
197
+ "chart-5": { bg: "bg-[var(--chart-5)]/15", icon: "text-[var(--chart-5)]" },
198
+ success: { bg: "bg-success/10", icon: "text-success" },
199
+ info: { bg: "bg-info/10", icon: "text-info" },
200
+ warning: { bg: "bg-warning/10", icon: "text-warning" },
201
+ destructive: { bg: "bg-destructive/10", icon: "text-destructive" }
202
+ };
203
+ function PillBadge({
204
+ children,
205
+ icon,
206
+ color = "primary",
207
+ className,
208
+ ...props
209
+ }) {
210
+ const { bg, icon: textColor } = colorTokens$3[color];
211
+ return /* @__PURE__ */ jsxs(
212
+ "span",
213
+ {
214
+ className: cn(
215
+ "inline-flex items-center gap-1.5 rounded-full px-3 py-1 text-xs font-semibold uppercase tracking-wide",
216
+ bg,
217
+ textColor,
218
+ className
219
+ ),
220
+ ...props,
221
+ children: [
222
+ icon && /* @__PURE__ */ jsx("span", { className: "flex items-center [&>svg]:size-3.5", "aria-hidden": "true", children: icon }),
223
+ children
224
+ ]
225
+ }
226
+ );
227
+ }
228
+
229
+ function MarketingNavbar({
230
+ logo,
231
+ links,
232
+ cta,
233
+ secondaryCta,
234
+ className
235
+ }) {
236
+ const [isOpen, setIsOpen] = useState(false);
237
+ const closeMenu = () => setIsOpen(false);
238
+ return /* @__PURE__ */ jsxs(
239
+ "header",
240
+ {
241
+ className: cn(
242
+ "sticky top-0 z-50 w-full border-b border-border bg-card/80 backdrop-blur",
243
+ className
244
+ ),
245
+ children: [
246
+ /* @__PURE__ */ jsxs("nav", { className: "mx-auto flex h-16 max-w-7xl items-center justify-between gap-4 px-4 sm:px-6 lg:px-8", children: [
247
+ /* @__PURE__ */ jsx("div", { className: "flex shrink-0 items-center", children: logo }),
248
+ /* @__PURE__ */ jsx("div", { className: "hidden flex-1 items-center justify-center gap-8 md:flex", children: links.map((link) => /* @__PURE__ */ jsx(
249
+ "a",
250
+ {
251
+ href: link.href,
252
+ className: "text-sm font-medium text-muted-foreground transition-colors hover:text-foreground",
253
+ children: link.label
254
+ },
255
+ link.href
256
+ )) }),
257
+ /* @__PURE__ */ jsxs("div", { className: "hidden shrink-0 items-center gap-3 md:flex", children: [
258
+ secondaryCta && /* @__PURE__ */ jsx(
259
+ Button,
260
+ {
261
+ variant: "outline",
262
+ asChild: !!secondaryCta.href,
263
+ onClick: secondaryCta.onClick,
264
+ children: secondaryCta.href ? /* @__PURE__ */ jsx("a", { href: secondaryCta.href, children: secondaryCta.label }) : secondaryCta.label
265
+ }
266
+ ),
267
+ cta && /* @__PURE__ */ jsx(Button, { variant: "default", asChild: !!cta.href, onClick: cta.onClick, children: cta.href ? /* @__PURE__ */ jsx("a", { href: cta.href, children: cta.label }) : cta.label })
268
+ ] }),
269
+ /* @__PURE__ */ jsx(
270
+ Button,
271
+ {
272
+ variant: "ghost",
273
+ size: "icon",
274
+ className: "md:hidden",
275
+ onClick: () => setIsOpen((prev) => !prev),
276
+ "aria-label": isOpen ? "Close menu" : "Open menu",
277
+ "aria-expanded": isOpen,
278
+ children: isOpen ? /* @__PURE__ */ jsx(X, { className: "size-5" }) : /* @__PURE__ */ jsx(Menu, { className: "size-5" })
279
+ }
280
+ )
281
+ ] }),
282
+ isOpen && /* @__PURE__ */ jsx("div", { className: "border-t border-border bg-card/95 backdrop-blur md:hidden", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-1 px-4 py-4 sm:px-6", children: [
283
+ links.map((link) => /* @__PURE__ */ jsx(
284
+ "a",
285
+ {
286
+ href: link.href,
287
+ onClick: closeMenu,
288
+ className: "rounded-[var(--radius)] px-3 py-2 text-sm font-medium text-muted-foreground transition-colors hover:bg-accent hover:text-foreground",
289
+ children: link.label
290
+ },
291
+ link.href
292
+ )),
293
+ (secondaryCta || cta) && /* @__PURE__ */ jsxs("div", { className: "mt-2 flex flex-col gap-2 border-t border-border pt-4", children: [
294
+ secondaryCta && /* @__PURE__ */ jsx(
295
+ Button,
296
+ {
297
+ variant: "outline",
298
+ className: "w-full",
299
+ asChild: !!secondaryCta.href,
300
+ onClick: () => {
301
+ closeMenu();
302
+ secondaryCta.onClick?.();
303
+ },
304
+ children: secondaryCta.href ? /* @__PURE__ */ jsx("a", { href: secondaryCta.href, children: secondaryCta.label }) : secondaryCta.label
305
+ }
306
+ ),
307
+ cta && /* @__PURE__ */ jsx(
308
+ Button,
309
+ {
310
+ variant: "default",
311
+ className: "w-full",
312
+ asChild: !!cta.href,
313
+ onClick: () => {
314
+ closeMenu();
315
+ cta.onClick?.();
316
+ },
317
+ children: cta.href ? /* @__PURE__ */ jsx("a", { href: cta.href, children: cta.label }) : cta.label
318
+ }
319
+ )
320
+ ] })
321
+ ] }) })
322
+ ]
323
+ }
324
+ );
325
+ }
326
+
327
+ function HeroCtaButton({
328
+ cta,
329
+ variant
330
+ }) {
331
+ if (cta.href) {
332
+ return /* @__PURE__ */ jsx(Button, { asChild: true, variant, size: "lg", children: /* @__PURE__ */ jsx("a", { href: cta.href, onClick: cta.onClick, children: cta.label }) });
333
+ }
334
+ return /* @__PURE__ */ jsx(Button, { variant, size: "lg", onClick: cta.onClick, children: cta.label });
335
+ }
336
+ function Hero({
337
+ eyebrow,
338
+ title,
339
+ description,
340
+ primaryCta,
341
+ secondaryCta,
342
+ visual,
343
+ align = "left",
344
+ decorative = false,
345
+ className,
346
+ ...props
347
+ }) {
348
+ const isCentered = align === "center";
349
+ return /* @__PURE__ */ jsxs("section", { className: cn("relative overflow-hidden py-16 md:py-24", className), ...props, children: [
350
+ decorative && /* @__PURE__ */ jsx(
351
+ "div",
352
+ {
353
+ className: "pointer-events-none absolute inset-0 z-0 overflow-hidden",
354
+ "aria-hidden": "true",
355
+ children: /* @__PURE__ */ jsx("div", { className: "absolute left-1/2 top-1/2 h-72 w-72 -translate-x-1/2 -translate-y-1/2 rounded-full bg-[linear-gradient(135deg,var(--gradient-start),var(--gradient-end))] opacity-20 blur-3xl md:h-[28rem] md:w-[28rem] lg:h-[36rem] lg:w-[36rem]" })
356
+ }
357
+ ),
358
+ /* @__PURE__ */ jsx("div", { className: "relative z-10 mx-auto max-w-7xl px-4 sm:px-6 lg:px-8", children: /* @__PURE__ */ jsxs(
359
+ "div",
360
+ {
361
+ className: cn("grid items-center gap-12", visual ? "lg:grid-cols-2" : "mx-auto max-w-3xl"),
362
+ children: [
363
+ /* @__PURE__ */ jsxs(
364
+ "div",
365
+ {
366
+ className: cn(
367
+ "flex flex-col gap-6",
368
+ isCentered ? "items-center text-center" : "items-start text-left"
369
+ ),
370
+ children: [
371
+ eyebrow && /* @__PURE__ */ jsx(PillBadge, { icon: eyebrow.icon, children: eyebrow.label }),
372
+ /* @__PURE__ */ jsx("h1", { className: "text-4xl font-bold tracking-tight text-foreground md:text-5xl lg:text-6xl", children: title }),
373
+ description && /* @__PURE__ */ jsx("p", { className: "max-w-2xl text-lg text-muted-foreground", children: description }),
374
+ (primaryCta || secondaryCta) && /* @__PURE__ */ jsxs(
375
+ "div",
376
+ {
377
+ className: cn(
378
+ "flex flex-col gap-3 pt-2 sm:flex-row",
379
+ isCentered && "sm:justify-center"
380
+ ),
381
+ children: [
382
+ primaryCta && /* @__PURE__ */ jsx(HeroCtaButton, { cta: primaryCta, variant: "default" }),
383
+ secondaryCta && /* @__PURE__ */ jsx(HeroCtaButton, { cta: secondaryCta, variant: "outline" })
384
+ ]
385
+ }
386
+ )
387
+ ]
388
+ }
389
+ ),
390
+ visual && /* @__PURE__ */ jsx("div", { className: "relative", children: visual })
391
+ ]
392
+ }
393
+ ) })
394
+ ] });
395
+ }
396
+
397
+ function LogoCloud({ title, logos, className, ...props }) {
398
+ return /* @__PURE__ */ jsxs("div", { className: cn("w-full text-center", className), ...props, children: [
399
+ title && /* @__PURE__ */ jsx("p", { className: "mb-6 text-xs font-medium uppercase tracking-wider text-muted-foreground sm:mb-8", children: title }),
400
+ /* @__PURE__ */ jsx("div", { className: "flex flex-wrap items-center justify-center gap-8 md:gap-12", children: logos.map((logo, index) => /* @__PURE__ */ jsx(
401
+ ImageWithFallback,
402
+ {
403
+ src: logo.src,
404
+ alt: logo.alt,
405
+ className: "h-6 w-auto object-contain grayscale opacity-60 transition-all hover:opacity-100 hover:grayscale-0 md:h-8"
406
+ },
407
+ `${logo.alt}-${index}`
408
+ )) })
409
+ ] });
410
+ }
411
+
412
+ const colorTokens$2 = {
413
+ primary: { bg: "bg-primary/10", icon: "text-primary" },
414
+ "chart-1": { bg: "bg-[var(--chart-1)]/15", icon: "text-[var(--chart-1)]" },
415
+ "chart-2": { bg: "bg-[var(--chart-2)]/15", icon: "text-[var(--chart-2)]" },
416
+ "chart-3": { bg: "bg-[var(--chart-3)]/15", icon: "text-[var(--chart-3)]" },
417
+ "chart-4": { bg: "bg-[var(--chart-4)]/15", icon: "text-[var(--chart-4)]" },
418
+ "chart-5": { bg: "bg-[var(--chart-5)]/15", icon: "text-[var(--chart-5)]" },
419
+ success: { bg: "bg-success/10", icon: "text-success" },
420
+ info: { bg: "bg-info/10", icon: "text-info" },
421
+ warning: { bg: "bg-warning/10", icon: "text-warning" },
422
+ destructive: { bg: "bg-destructive/10", icon: "text-destructive" }
423
+ };
424
+ const columnClasses$1 = {
425
+ 2: "md:grid-cols-2",
426
+ 3: "md:grid-cols-3",
427
+ 4: "md:grid-cols-4"
428
+ };
429
+ function StatBand({ stats, columns, className, ...props }) {
430
+ const resolvedColumns = columns ?? Math.min(stats.length, 4);
431
+ return /* @__PURE__ */ jsx(
432
+ "div",
433
+ {
434
+ className: cn("grid grid-cols-2 gap-8", columnClasses$1[resolvedColumns] ?? columnClasses$1[4], className),
435
+ ...props,
436
+ children: stats.map((stat, index) => {
437
+ const { icon: valueColor } = colorTokens$2[stat.color ?? "primary"];
438
+ return /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center text-center sm:items-start sm:text-left", children: [
439
+ /* @__PURE__ */ jsx("span", { className: cn("text-3xl md:text-5xl font-bold tracking-tight", valueColor), children: stat.value }),
440
+ /* @__PURE__ */ jsx("span", { className: "text-sm text-muted-foreground mt-1", children: stat.label })
441
+ ] }, index);
442
+ })
443
+ }
444
+ );
445
+ }
446
+
447
+ function FeatureRow({
448
+ eyebrow,
449
+ title,
450
+ description,
451
+ bullets,
452
+ visual,
453
+ reverse = false,
454
+ tone = "default",
455
+ className,
456
+ ...props
457
+ }) {
458
+ return /* @__PURE__ */ jsx(
459
+ "section",
460
+ {
461
+ className: cn("py-16 md:py-24", tone === "muted" ? "bg-muted" : "bg-background", className),
462
+ ...props,
463
+ children: /* @__PURE__ */ jsxs("div", { className: "mx-auto grid max-w-6xl gap-12 px-4 sm:px-6 lg:grid-cols-2 lg:items-center lg:px-8", children: [
464
+ /* @__PURE__ */ jsxs("div", { className: cn(reverse ? "lg:order-last" : "lg:order-first"), children: [
465
+ eyebrow && /* @__PURE__ */ jsx("p", { className: "text-sm font-semibold uppercase tracking-wide text-primary", children: eyebrow }),
466
+ /* @__PURE__ */ jsx("h2", { className: cn("text-2xl font-bold text-foreground md:text-3xl", eyebrow && "mt-2"), children: title }),
467
+ description && /* @__PURE__ */ jsx("p", { className: "mt-4 text-muted-foreground leading-relaxed", children: description }),
468
+ bullets && bullets.length > 0 && /* @__PURE__ */ jsx("ul", { className: "mt-4 space-y-2", children: bullets.map((bullet) => /* @__PURE__ */ jsxs("li", { className: "flex items-start gap-2", children: [
469
+ /* @__PURE__ */ jsx(CheckCircle2, { className: "size-5 shrink-0 text-primary" }),
470
+ /* @__PURE__ */ jsx("span", { className: "text-foreground", children: bullet })
471
+ ] }, bullet)) })
472
+ ] }),
473
+ /* @__PURE__ */ jsx("div", { className: cn(reverse ? "lg:order-first" : "lg:order-last"), children: visual })
474
+ ] })
475
+ }
476
+ );
477
+ }
478
+
479
+ const colorTokens$1 = {
480
+ primary: { bg: "bg-primary/10", icon: "text-primary" },
481
+ "chart-1": { bg: "bg-[var(--chart-1)]/15", icon: "text-[var(--chart-1)]" },
482
+ "chart-2": { bg: "bg-[var(--chart-2)]/15", icon: "text-[var(--chart-2)]" },
483
+ "chart-3": { bg: "bg-[var(--chart-3)]/15", icon: "text-[var(--chart-3)]" },
484
+ "chart-4": { bg: "bg-[var(--chart-4)]/15", icon: "text-[var(--chart-4)]" },
485
+ "chart-5": { bg: "bg-[var(--chart-5)]/15", icon: "text-[var(--chart-5)]" },
486
+ success: { bg: "bg-success/10", icon: "text-success" },
487
+ info: { bg: "bg-info/10", icon: "text-info" },
488
+ warning: { bg: "bg-warning/10", icon: "text-warning" },
489
+ destructive: { bg: "bg-destructive/10", icon: "text-destructive" }
490
+ };
491
+ const columnClasses = {
492
+ 2: "md:grid-cols-2",
493
+ 3: "md:grid-cols-3",
494
+ 4: "md:grid-cols-4"
495
+ };
496
+ function ServiceCardGrid({
497
+ items,
498
+ variant = "card",
499
+ columns = 3,
500
+ className
501
+ }) {
502
+ return /* @__PURE__ */ jsx("div", { className: cn("grid grid-cols-1 gap-6 md:gap-8", columnClasses[columns], className), children: items.map((item, index) => /* @__PURE__ */ jsx(ServiceCard, { variant, ...item }, `${item.title}-${index}`)) });
503
+ }
504
+ function ServiceCard({
505
+ icon,
506
+ color = "primary",
507
+ category,
508
+ title,
509
+ description,
510
+ checklist,
511
+ bullets,
512
+ cta,
513
+ variant = "card",
514
+ background = "default",
515
+ className
516
+ }) {
517
+ const { bg, icon: iconColor } = colorTokens$1[color];
518
+ const iconChip = /* @__PURE__ */ jsx("div", { className: cn("w-fit rounded-[var(--radius)] p-3", bg), children: /* @__PURE__ */ jsx("div", { className: cn("[&>svg]:size-6", iconColor), children: icon }) });
519
+ if (variant === "plain") {
520
+ return /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col gap-3", className), children: [
521
+ iconChip,
522
+ /* @__PURE__ */ jsxs("div", { children: [
523
+ category && /* @__PURE__ */ jsx("p", { className: "text-xs font-semibold uppercase tracking-wide text-muted-foreground", children: category }),
524
+ /* @__PURE__ */ jsx("h3", { className: cn("text-base font-semibold text-foreground", category && "mt-1"), children: title })
525
+ ] }),
526
+ /* @__PURE__ */ jsx("p", { className: "text-sm leading-relaxed text-muted-foreground", children: description })
527
+ ] });
528
+ }
529
+ return /* @__PURE__ */ jsxs(Card, { variant: background, className: cn("flex h-full flex-col", className), children: [
530
+ /* @__PURE__ */ jsxs(CardHeader, { children: [
531
+ iconChip,
532
+ /* @__PURE__ */ jsxs("div", { children: [
533
+ category && /* @__PURE__ */ jsx("p", { className: "text-xs font-semibold uppercase tracking-wide text-muted-foreground", children: category }),
534
+ /* @__PURE__ */ jsx(CardTitle, { className: category ? "mt-1" : void 0, children: title })
535
+ ] })
536
+ ] }),
537
+ /* @__PURE__ */ jsxs(CardContent, { className: "flex-1 space-y-4", children: [
538
+ /* @__PURE__ */ jsx(CardDescription, { className: "leading-relaxed", children: description }),
539
+ checklist && checklist.length > 0 && /* @__PURE__ */ jsx("div", { className: "space-y-2", children: checklist.map((item) => /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2.5 rounded-[var(--radius)] bg-muted p-3", children: [
540
+ /* @__PURE__ */ jsx(
541
+ "span",
542
+ {
543
+ className: cn(
544
+ "flex size-5 shrink-0 items-center justify-center rounded-[var(--radius)]",
545
+ bg,
546
+ iconColor
547
+ ),
548
+ children: /* @__PURE__ */ jsx(Check, { className: "size-3.5" })
549
+ }
550
+ ),
551
+ /* @__PURE__ */ jsx("span", { className: "text-sm text-foreground", children: item })
552
+ ] }, item)) }),
553
+ bullets && bullets.length > 0 && /* @__PURE__ */ jsx("ul", { className: "space-y-1.5", children: bullets.map((bullet) => /* @__PURE__ */ jsxs("li", { className: "flex items-start gap-2 text-sm text-muted-foreground", children: [
554
+ /* @__PURE__ */ jsx("span", { className: "mt-2 size-1.5 shrink-0 rounded-full bg-muted-foreground" }),
555
+ /* @__PURE__ */ jsx("span", { children: bullet })
556
+ ] }, bullet)) })
557
+ ] }),
558
+ cta && /* @__PURE__ */ jsx(CardFooter, { children: /* @__PURE__ */ jsx(Button, { variant: "outline", className: "w-full", onClick: cta.onClick, asChild: !!cta.href, children: cta.href ? /* @__PURE__ */ jsx("a", { href: cta.href, children: cta.label }) : cta.label }) })
559
+ ] });
560
+ }
561
+
562
+ const colorTokens = {
563
+ primary: { bg: "bg-primary/10", icon: "text-primary" },
564
+ "chart-1": { bg: "bg-[var(--chart-1)]/15", icon: "text-[var(--chart-1)]" },
565
+ "chart-2": { bg: "bg-[var(--chart-2)]/15", icon: "text-[var(--chart-2)]" },
566
+ "chart-3": { bg: "bg-[var(--chart-3)]/15", icon: "text-[var(--chart-3)]" },
567
+ "chart-4": { bg: "bg-[var(--chart-4)]/15", icon: "text-[var(--chart-4)]" },
568
+ "chart-5": { bg: "bg-[var(--chart-5)]/15", icon: "text-[var(--chart-5)]" },
569
+ success: { bg: "bg-success/10", icon: "text-success" },
570
+ info: { bg: "bg-info/10", icon: "text-info" },
571
+ warning: { bg: "bg-warning/10", icon: "text-warning" },
572
+ destructive: { bg: "bg-destructive/10", icon: "text-destructive" }
573
+ };
574
+ function EvidenceTimeline({ items, className, ...props }) {
575
+ return /* @__PURE__ */ jsxs("div", { className: cn("relative pl-12", className), ...props, children: [
576
+ /* @__PURE__ */ jsx("div", { "aria-hidden": "true", className: "absolute left-4 top-4 bottom-4 w-px bg-border" }),
577
+ /* @__PURE__ */ jsx("ol", { className: "relative", children: items.map((item, index) => {
578
+ const { bg, icon: iconColor } = colorTokens[item.color ?? "primary"];
579
+ return /* @__PURE__ */ jsxs("li", { className: "relative flex items-start gap-4 pb-10 last:pb-0", children: [
580
+ /* @__PURE__ */ jsx(
581
+ "div",
582
+ {
583
+ className: cn(
584
+ "absolute -left-12 top-0 flex size-8 shrink-0 items-center justify-center rounded-full z-10 ring-1 ring-current/15",
585
+ bg
586
+ ),
587
+ children: /* @__PURE__ */ jsx(
588
+ "span",
589
+ {
590
+ className: cn(
591
+ "flex items-center justify-center text-sm font-semibold [&>svg]:size-4",
592
+ iconColor
593
+ ),
594
+ children: item.icon ?? (item.number ?? index + 1)
595
+ }
596
+ )
597
+ }
598
+ ),
599
+ /* @__PURE__ */ jsxs("div", { className: "min-w-0", children: [
600
+ /* @__PURE__ */ jsx("p", { className: "font-semibold", children: item.title }),
601
+ /* @__PURE__ */ jsx("p", { className: "mt-1 text-sm opacity-70", children: item.description })
602
+ ] })
603
+ ] }, index);
604
+ }) })
605
+ ] });
606
+ }
607
+
608
+ function ComplianceBadgeRow({ badges, className, ...props }) {
609
+ return /* @__PURE__ */ jsx(
610
+ "div",
611
+ {
612
+ className: cn("flex flex-wrap items-start justify-center gap-8 md:gap-12", className),
613
+ ...props,
614
+ children: badges.map((badge, index) => /* @__PURE__ */ jsxs(
615
+ "div",
616
+ {
617
+ className: "flex max-w-[10rem] flex-col items-center gap-2 text-center",
618
+ children: [
619
+ /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center rounded-full border border-border bg-card p-3 [&>svg]:size-6", children: badge.icon }),
620
+ /* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-foreground", children: badge.label }),
621
+ badge.description && /* @__PURE__ */ jsx("p", { className: "text-xs text-muted-foreground", children: badge.description })
622
+ ]
623
+ },
624
+ `${badge.label}-${index}`
625
+ ))
626
+ }
627
+ );
628
+ }
629
+
630
+ function CTASection({
631
+ title,
632
+ description,
633
+ cta,
634
+ secondaryCta,
635
+ className,
636
+ ...props
637
+ }) {
638
+ return /* @__PURE__ */ jsxs(
639
+ "section",
640
+ {
641
+ className: cn(
642
+ "w-full rounded-[var(--radius-card)] bg-[image:var(--gradient-diagonal)] px-6 py-16 text-center md:py-20",
643
+ className
644
+ ),
645
+ ...props,
646
+ children: [
647
+ /* @__PURE__ */ jsx("h2", { className: "text-2xl font-bold text-white md:text-4xl", children: title }),
648
+ description && /* @__PURE__ */ jsx("p", { className: "mx-auto mt-3 max-w-xl text-white/80", children: description }),
649
+ /* @__PURE__ */ jsxs("div", { className: "mt-8 flex flex-col items-center justify-center gap-3 sm:flex-row", children: [
650
+ /* @__PURE__ */ jsx(
651
+ Button,
652
+ {
653
+ asChild: !!cta.href,
654
+ onClick: cta.onClick,
655
+ className: "border-0 bg-white text-neutral-900 hover:bg-white/90",
656
+ children: cta.href ? /* @__PURE__ */ jsx("a", { href: cta.href, children: cta.label }) : cta.label
657
+ }
658
+ ),
659
+ secondaryCta && /* @__PURE__ */ jsx(
660
+ Button,
661
+ {
662
+ variant: "outline",
663
+ asChild: !!secondaryCta.href,
664
+ onClick: secondaryCta.onClick,
665
+ className: "border-white/40 bg-transparent text-white hover:bg-white/10",
666
+ children: secondaryCta.href ? /* @__PURE__ */ jsx("a", { href: secondaryCta.href, children: secondaryCta.label }) : secondaryCta.label
667
+ }
668
+ )
669
+ ] })
670
+ ]
671
+ }
672
+ );
673
+ }
674
+
675
+ const gridColsClasses = {
676
+ 2: "md:grid-cols-2",
677
+ 3: "md:grid-cols-3",
678
+ 4: "md:grid-cols-4",
679
+ 5: "md:grid-cols-5",
680
+ 6: "md:grid-cols-6"
681
+ };
682
+ function MarketingFooter({
683
+ logo,
684
+ tagline,
685
+ columns,
686
+ legalLinks,
687
+ copyright,
688
+ className
689
+ }) {
690
+ const resolvedCols = Math.min(Math.max(columns.length + 1, 2), 6);
691
+ return /* @__PURE__ */ jsx("footer", { className: cn("border-t border-border bg-card", className), children: /* @__PURE__ */ jsxs("div", { className: "mx-auto max-w-7xl px-4 sm:px-6 lg:px-8", children: [
692
+ /* @__PURE__ */ jsxs("div", { className: cn("grid grid-cols-2 gap-8 py-12", gridColsClasses[resolvedCols]), children: [
693
+ /* @__PURE__ */ jsxs("div", { className: "col-span-2 md:col-span-1", children: [
694
+ /* @__PURE__ */ jsx("div", { className: "flex items-center", children: logo }),
695
+ tagline && /* @__PURE__ */ jsx("p", { className: "mt-3 max-w-xs text-sm text-muted-foreground", children: tagline })
696
+ ] }),
697
+ columns.map((column) => /* @__PURE__ */ jsxs("div", { children: [
698
+ /* @__PURE__ */ jsx("h3", { className: "mb-3 text-sm font-semibold text-foreground", children: column.heading }),
699
+ /* @__PURE__ */ jsx("ul", { className: "space-y-2 text-sm text-muted-foreground", children: column.links.map((link) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx("a", { href: link.href, className: "transition-colors hover:text-foreground", children: link.label }) }, link.href)) })
700
+ ] }, column.heading))
701
+ ] }),
702
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center justify-between gap-4 border-t border-border pt-6 pb-8 text-xs text-muted-foreground md:flex-row", children: [
703
+ copyright && /* @__PURE__ */ jsx("p", { children: copyright }),
704
+ legalLinks && legalLinks.length > 0 && /* @__PURE__ */ jsx("ul", { className: "flex flex-wrap items-center gap-4", children: legalLinks.map((link) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx("a", { href: link.href, className: "transition-colors hover:text-foreground", children: link.label }) }, link.href)) })
705
+ ] })
706
+ ] }) });
707
+ }
708
+
709
+ export { AuthPageShell as A, CTASection as C, EvidenceTimeline as E, FeatureCardSkeleton as F, Hero as H, LogoCloud as L, MarketingFooter as M, PasswordStrengthMeter as P, ServiceCard as S, ComplianceBadgeRow as a, FeatureRow as b, MarketingNavbar as c, PillBadge as d, ServiceCardGrid as e, SocialLoginButtons as f, StatBand as g, usePasswordStrength as u };