@retrivora-ai/rag-engine 2.6.4 → 2.6.6

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.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  LicenseValidator
4
- } from "./chunk-OMQM7AN6.mjs";
4
+ } from "./chunk-2GDW6W5C.mjs";
5
5
  import {
6
6
  AuthenticationException,
7
7
  BatchProcessor,
@@ -23,10 +23,10 @@ import {
23
23
  createDefaultProjectSettings,
24
24
  normalizeProjectSettings,
25
25
  projectSettingsToUiConfig
26
- } from "./chunk-6ZZOZFK6.mjs";
26
+ } from "./chunk-557UWRCG.mjs";
27
27
  import {
28
28
  SDK_VERSION
29
- } from "./chunk-FMQN2K2D.mjs";
29
+ } from "./chunk-Q4MVJ7NW.mjs";
30
30
  import {
31
31
  addSynonyms,
32
32
  resolveMetadataValue
@@ -60,23 +60,23 @@ function styleInject(css, { insertAt } = {}) {
60
60
  }
61
61
 
62
62
  // src/index.css
63
- styleInject('/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n@layer properties;\n@layer theme, base, components, utilities;\n@layer theme {\n :root,\n :host {\n --font-sans:\n -apple-system,\n BlinkMacSystemFont,\n "Segoe UI",\n Roboto,\n "Helvetica Neue",\n "Noto Sans",\n Arial,\n sans-serif,\n "Apple Color Emoji",\n "Segoe UI Emoji",\n "Segoe UI Symbol",\n "Noto Color Emoji";\n --font-mono:\n ui-monospace,\n SFMono-Regular,\n Menlo,\n Monaco,\n Consolas,\n "Liberation Mono",\n "Courier New",\n monospace;\n --color-red-50: oklch(97.1% 0.013 17.38);\n --color-red-200: oklch(88.5% 0.062 18.334);\n --color-red-400: oklch(70.4% 0.191 22.216);\n --color-red-500: oklch(63.7% 0.237 25.331);\n --color-red-600: oklch(57.7% 0.245 27.325);\n --color-orange-100: oklch(95.4% 0.038 75.164);\n --color-orange-700: oklch(55.3% 0.195 38.402);\n --color-orange-950: oklch(26.6% 0.079 36.259);\n --color-amber-50: oklch(98.7% 0.022 95.277);\n --color-amber-100: oklch(96.2% 0.059 95.617);\n --color-amber-200: oklch(92.4% 0.12 95.746);\n --color-amber-300: oklch(87.9% 0.169 91.605);\n --color-amber-400: oklch(82.8% 0.189 84.429);\n --color-amber-500: oklch(76.9% 0.188 70.08);\n --color-amber-600: oklch(66.6% 0.179 58.318);\n --color-amber-700: oklch(55.5% 0.163 48.998);\n --color-amber-800: oklch(47.3% 0.137 46.201);\n --color-amber-900: oklch(41.4% 0.112 45.904);\n --color-amber-950: oklch(27.9% 0.077 45.635);\n --color-emerald-50: oklch(97.9% 0.021 166.113);\n --color-emerald-100: oklch(95% 0.052 163.051);\n --color-emerald-200: oklch(90.5% 0.093 164.15);\n --color-emerald-300: oklch(84.5% 0.143 164.978);\n --color-emerald-400: oklch(76.5% 0.177 163.223);\n --color-emerald-500: oklch(69.6% 0.17 162.48);\n --color-emerald-600: oklch(59.6% 0.145 163.225);\n --color-emerald-700: oklch(50.8% 0.118 165.612);\n --color-emerald-800: oklch(43.2% 0.095 166.913);\n --color-emerald-900: oklch(37.8% 0.077 168.94);\n --color-emerald-950: oklch(26.2% 0.051 172.552);\n --color-teal-400: oklch(77.7% 0.152 181.912);\n --color-cyan-50: oklch(98.4% 0.019 200.873);\n --color-cyan-100: oklch(95.6% 0.045 203.388);\n --color-cyan-200: oklch(91.7% 0.08 205.041);\n --color-cyan-300: oklch(86.5% 0.127 207.078);\n --color-cyan-400: oklch(78.9% 0.154 211.53);\n --color-cyan-700: oklch(52% 0.105 223.128);\n --color-cyan-800: oklch(45% 0.085 224.283);\n --color-cyan-900: oklch(39.8% 0.07 227.392);\n --color-cyan-950: oklch(30.2% 0.056 229.695);\n --color-blue-50: oklch(97% 0.014 254.604);\n --color-blue-100: oklch(93.2% 0.032 255.585);\n --color-blue-200: oklch(88.2% 0.059 254.128);\n --color-blue-300: oklch(80.9% 0.105 251.813);\n --color-blue-400: oklch(70.7% 0.165 254.624);\n --color-blue-500: oklch(62.3% 0.214 259.815);\n --color-blue-600: oklch(54.6% 0.245 262.881);\n --color-blue-700: oklch(48.8% 0.243 264.376);\n --color-blue-800: oklch(42.4% 0.199 265.638);\n --color-blue-900: oklch(37.9% 0.146 265.522);\n --color-blue-950: oklch(28.2% 0.091 267.935);\n --color-indigo-50: oklch(96.2% 0.018 272.314);\n --color-indigo-100: oklch(93% 0.034 272.788);\n --color-indigo-200: oklch(87% 0.065 274.039);\n --color-indigo-300: oklch(78.5% 0.115 274.713);\n --color-indigo-400: oklch(67.3% 0.182 276.935);\n --color-indigo-500: oklch(58.5% 0.233 277.117);\n --color-indigo-600: oklch(51.1% 0.262 276.966);\n --color-indigo-700: oklch(45.7% 0.24 277.023);\n --color-indigo-800: oklch(39.8% 0.195 277.366);\n --color-indigo-900: oklch(35.9% 0.144 278.697);\n --color-indigo-950: oklch(25.7% 0.09 281.288);\n --color-violet-100: oklch(94.3% 0.029 294.588);\n --color-violet-200: oklch(89.4% 0.057 293.283);\n --color-violet-800: oklch(43.2% 0.232 292.759);\n --color-violet-900: oklch(38% 0.189 293.745);\n --color-purple-50: oklch(97.7% 0.014 308.299);\n --color-purple-100: oklch(94.6% 0.033 307.174);\n --color-purple-200: oklch(90.2% 0.063 306.703);\n --color-purple-300: oklch(82.7% 0.119 306.383);\n --color-purple-400: oklch(71.4% 0.203 305.504);\n --color-purple-700: oklch(49.6% 0.265 301.924);\n --color-purple-800: oklch(43.8% 0.218 303.724);\n --color-purple-900: oklch(38.1% 0.176 304.987);\n --color-purple-950: oklch(29.1% 0.149 302.717);\n --color-pink-50: oklch(97.1% 0.014 343.198);\n --color-pink-100: oklch(94.8% 0.028 342.258);\n --color-pink-200: oklch(89.9% 0.061 343.231);\n --color-pink-300: oklch(82.3% 0.12 346.018);\n --color-pink-400: oklch(71.8% 0.202 349.761);\n --color-pink-700: oklch(52.5% 0.223 3.958);\n --color-pink-800: oklch(45.9% 0.187 3.815);\n --color-pink-900: oklch(40.8% 0.153 2.432);\n --color-pink-950: oklch(28.4% 0.109 3.907);\n --color-rose-50: oklch(96.9% 0.015 12.422);\n --color-rose-100: oklch(94.1% 0.03 12.58);\n --color-rose-200: oklch(89.2% 0.058 10.001);\n --color-rose-400: oklch(71.2% 0.194 13.428);\n --color-rose-500: oklch(64.5% 0.246 16.439);\n --color-rose-600: oklch(58.6% 0.253 17.585);\n --color-rose-700: oklch(51.4% 0.222 16.935);\n --color-rose-800: oklch(45.5% 0.188 13.697);\n --color-rose-900: oklch(41% 0.159 10.272);\n --color-rose-950: oklch(27.1% 0.105 12.094);\n --color-slate-50: oklch(98.4% 0.003 247.858);\n --color-slate-100: oklch(96.8% 0.007 247.896);\n --color-slate-200: oklch(92.9% 0.013 255.508);\n --color-slate-300: oklch(86.9% 0.022 252.894);\n --color-slate-400: oklch(70.4% 0.04 256.788);\n --color-slate-500: oklch(55.4% 0.046 257.417);\n --color-slate-600: oklch(44.6% 0.043 257.281);\n --color-slate-700: oklch(37.2% 0.044 257.287);\n --color-slate-800: oklch(27.9% 0.041 260.031);\n --color-slate-900: oklch(20.8% 0.042 265.755);\n --color-slate-950: oklch(12.9% 0.042 264.695);\n --color-gray-500: oklch(55.1% 0.027 264.364);\n --color-zinc-500: oklch(55.2% 0.016 285.938);\n --color-zinc-800: oklch(27.4% 0.006 286.033);\n --color-zinc-900: oklch(21% 0.006 285.885);\n --color-black: #000;\n --color-white: #fff;\n --spacing: 0.25rem;\n --container-xs: 20rem;\n --container-sm: 24rem;\n --container-md: 28rem;\n --container-2xl: 42rem;\n --container-4xl: 56rem;\n --text-xs: 0.75rem;\n --text-xs--line-height: calc(1 / 0.75);\n --text-sm: 0.875rem;\n --text-sm--line-height: calc(1.25 / 0.875);\n --text-base: 1rem;\n --text-base--line-height: calc(1.5 / 1);\n --text-lg: 1.125rem;\n --text-lg--line-height: calc(1.75 / 1.125);\n --text-xl: 1.25rem;\n --text-xl--line-height: calc(1.75 / 1.25);\n --text-3xl: 1.875rem;\n --text-3xl--line-height: calc(2.25 / 1.875);\n --font-weight-medium: 500;\n --font-weight-semibold: 600;\n --font-weight-bold: 700;\n --font-weight-extrabold: 800;\n --font-weight-black: 900;\n --tracking-tight: -0.025em;\n --tracking-wider: 0.05em;\n --tracking-widest: 0.1em;\n --leading-tight: 1.25;\n --leading-snug: 1.375;\n --leading-relaxed: 1.625;\n --radius-sm: 0.25rem;\n --radius-md: 0.375rem;\n --radius-lg: 0.5rem;\n --radius-xl: 0.75rem;\n --radius-2xl: 1rem;\n --radius-3xl: 1.5rem;\n --drop-shadow-2xl: 0 25px 25px rgb(0 0 0 / 0.15);\n --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);\n --animate-spin: spin 1s linear infinite;\n --animate-ping: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;\n --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;\n --animate-bounce: bounce 1s infinite;\n --blur-sm: 8px;\n --blur-md: 12px;\n --blur-xl: 24px;\n --default-transition-duration: 150ms;\n --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n --default-font-family: var(--font-sans);\n --default-mono-font-family: var(--font-mono);\n }\n}\n@layer base {\n *,\n ::after,\n ::before,\n ::backdrop,\n ::file-selector-button {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: 0 solid;\n }\n html,\n :host {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");\n font-feature-settings: var(--default-font-feature-settings, normal);\n font-variation-settings: var(--default-font-variation-settings, normal);\n -webkit-tap-highlight-color: transparent;\n }\n hr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n }\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n a {\n color: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n }\n b,\n strong {\n font-weight: bolder;\n }\n code,\n kbd,\n samp,\n pre {\n font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);\n font-feature-settings: var(--default-mono-font-feature-settings, normal);\n font-variation-settings: var(--default-mono-font-variation-settings, normal);\n font-size: 1em;\n }\n small {\n font-size: 80%;\n }\n sub,\n sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n sub {\n bottom: -0.25em;\n }\n sup {\n top: -0.5em;\n }\n table {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n }\n :-moz-focusring:where(:not(iframe)) {\n outline: auto;\n }\n progress {\n vertical-align: baseline;\n }\n summary {\n display: list-item;\n }\n ol,\n ul,\n menu {\n list-style: none;\n }\n img,\n svg,\n video,\n canvas,\n audio,\n iframe,\n embed,\n object {\n display: block;\n vertical-align: middle;\n }\n img,\n video {\n max-width: 100%;\n height: auto;\n }\n button,\n input,\n select,\n optgroup,\n textarea,\n ::file-selector-button {\n font: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n letter-spacing: inherit;\n color: inherit;\n border-radius: 0;\n background-color: transparent;\n opacity: 1;\n }\n :where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n }\n :where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n }\n ::file-selector-button {\n margin-inline-end: 4px;\n }\n ::placeholder {\n opacity: 1;\n }\n @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {\n ::placeholder {\n color: currentcolor;\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, currentcolor 50%, transparent);\n }\n }\n }\n textarea {\n resize: vertical;\n }\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n ::-webkit-date-and-time-value {\n min-height: 1lh;\n text-align: inherit;\n }\n ::-webkit-datetime-edit {\n display: inline-flex;\n }\n ::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n }\n ::-webkit-datetime-edit,\n ::-webkit-datetime-edit-year-field,\n ::-webkit-datetime-edit-month-field,\n ::-webkit-datetime-edit-day-field,\n ::-webkit-datetime-edit-hour-field,\n ::-webkit-datetime-edit-minute-field,\n ::-webkit-datetime-edit-second-field,\n ::-webkit-datetime-edit-millisecond-field,\n ::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n }\n ::-webkit-calendar-picker-indicator {\n line-height: 1;\n }\n :-moz-ui-invalid {\n box-shadow: none;\n }\n button,\n input:where([type=button], [type=reset], [type=submit]),\n ::file-selector-button {\n appearance: button;\n }\n ::-webkit-inner-spin-button,\n ::-webkit-outer-spin-button {\n height: auto;\n }\n [hidden]:where(:not([hidden=until-found])) {\n display: none !important;\n }\n}\n@layer utilities {\n .pointer-events-auto {\n pointer-events: auto;\n }\n .pointer-events-none {\n pointer-events: none;\n }\n .absolute {\n position: absolute;\n }\n .fixed {\n position: fixed;\n }\n .relative {\n position: relative;\n }\n .static {\n position: static;\n }\n .sticky {\n position: sticky;\n }\n .inset-0 {\n inset: 0px;\n }\n .-top-8 {\n top: calc(var(--spacing) * -8);\n }\n .top-0 {\n top: 0px;\n }\n .top-1\\/2 {\n top: calc(1 / 2 * 100%);\n }\n .top-2 {\n top: calc(var(--spacing) * 2);\n }\n .top-4 {\n top: calc(var(--spacing) * 4);\n }\n .top-6 {\n top: calc(var(--spacing) * 6);\n }\n .top-20 {\n top: calc(var(--spacing) * 20);\n }\n .-right-4 {\n right: calc(var(--spacing) * -4);\n }\n .right-0 {\n right: 0px;\n }\n .right-2 {\n right: calc(var(--spacing) * 2);\n }\n .right-4 {\n right: calc(var(--spacing) * 4);\n }\n .right-5 {\n right: calc(var(--spacing) * 5);\n }\n .right-6 {\n right: calc(var(--spacing) * 6);\n }\n .-bottom-1\\.5 {\n bottom: calc(var(--spacing) * -1.5);\n }\n .bottom-3 {\n bottom: calc(var(--spacing) * 3);\n }\n .bottom-6 {\n bottom: calc(var(--spacing) * 6);\n }\n .bottom-20 {\n bottom: calc(var(--spacing) * 20);\n }\n .-left-4 {\n left: calc(var(--spacing) * -4);\n }\n .left-0 {\n left: 0px;\n }\n .left-1\\/2 {\n left: calc(1 / 2 * 100%);\n }\n .left-2 {\n left: calc(var(--spacing) * 2);\n }\n .left-5 {\n left: calc(var(--spacing) * 5);\n }\n .left-6 {\n left: calc(var(--spacing) * 6);\n }\n .z-0 {\n z-index: 0;\n }\n .z-10 {\n z-index: 10;\n }\n .z-20 {\n z-index: 20;\n }\n .z-50 {\n z-index: 50;\n }\n .z-\\[100\\] {\n z-index: 100;\n }\n .z-\\[9998\\] {\n z-index: 9998;\n }\n .z-\\[9999\\] {\n z-index: 9999;\n }\n .container {\n width: 100%;\n @media (width >= 40rem) {\n max-width: 40rem;\n }\n @media (width >= 48rem) {\n max-width: 48rem;\n }\n @media (width >= 64rem) {\n max-width: 64rem;\n }\n @media (width >= 80rem) {\n max-width: 80rem;\n }\n @media (width >= 96rem) {\n max-width: 96rem;\n }\n }\n .mx-1 {\n margin-inline: var(--spacing);\n }\n .mx-4 {\n margin-inline: calc(var(--spacing) * 4);\n }\n .mx-6 {\n margin-inline: calc(var(--spacing) * 6);\n }\n .mx-auto {\n margin-inline: auto;\n }\n .my-1\\.5 {\n margin-block: calc(var(--spacing) * 1.5);\n }\n .my-2 {\n margin-block: calc(var(--spacing) * 2);\n }\n .my-3 {\n margin-block: calc(var(--spacing) * 3);\n }\n .my-4 {\n margin-block: calc(var(--spacing) * 4);\n }\n .my-5 {\n margin-block: calc(var(--spacing) * 5);\n }\n .my-6 {\n margin-block: calc(var(--spacing) * 6);\n }\n .my-auto {\n margin-block: auto;\n }\n .mt-0\\.5 {\n margin-top: calc(var(--spacing) * 0.5);\n }\n .mt-1 {\n margin-top: var(--spacing);\n }\n .mt-1\\.5 {\n margin-top: calc(var(--spacing) * 1.5);\n }\n .mt-2 {\n margin-top: calc(var(--spacing) * 2);\n }\n .mt-3 {\n margin-top: calc(var(--spacing) * 3);\n }\n .mt-4 {\n margin-top: calc(var(--spacing) * 4);\n }\n .mt-6 {\n margin-top: calc(var(--spacing) * 6);\n }\n .mt-8 {\n margin-top: calc(var(--spacing) * 8);\n }\n .mr-2 {\n margin-right: calc(var(--spacing) * 2);\n }\n .mb-0\\.5 {\n margin-bottom: calc(var(--spacing) * 0.5);\n }\n .mb-1 {\n margin-bottom: var(--spacing);\n }\n .mb-1\\.5 {\n margin-bottom: calc(var(--spacing) * 1.5);\n }\n .mb-2 {\n margin-bottom: calc(var(--spacing) * 2);\n }\n .mb-2\\.5 {\n margin-bottom: calc(var(--spacing) * 2.5);\n }\n .mb-3 {\n margin-bottom: calc(var(--spacing) * 3);\n }\n .mb-4 {\n margin-bottom: calc(var(--spacing) * 4);\n }\n .mb-6 {\n margin-bottom: calc(var(--spacing) * 6);\n }\n .ml-1 {\n margin-left: var(--spacing);\n }\n .ml-1\\.5 {\n margin-left: calc(var(--spacing) * 1.5);\n }\n .ml-2 {\n margin-left: calc(var(--spacing) * 2);\n }\n .ml-auto {\n margin-left: auto;\n }\n .line-clamp-1 {\n overflow: hidden;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n }\n .line-clamp-2 {\n overflow: hidden;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n }\n .\\!table {\n display: table !important;\n }\n .\\!table-cell {\n display: table-cell !important;\n }\n .\\!table-header-group {\n display: table-header-group !important;\n }\n .\\!table-row {\n display: table-row !important;\n }\n .\\!table-row-group {\n display: table-row-group !important;\n }\n .block {\n display: block;\n }\n .contents {\n display: contents;\n }\n .flex {\n display: flex;\n }\n .grid {\n display: grid;\n }\n .hidden {\n display: none;\n }\n .inline {\n display: inline;\n }\n .inline-block {\n display: inline-block;\n }\n .inline-flex {\n display: inline-flex;\n }\n .table {\n display: table;\n }\n .aspect-\\[4\\/3\\] {\n aspect-ratio: 4/3;\n }\n .aspect-square {\n aspect-ratio: 1 / 1;\n }\n .h-1 {\n height: var(--spacing);\n }\n .h-1\\.5 {\n height: calc(var(--spacing) * 1.5);\n }\n .h-2 {\n height: calc(var(--spacing) * 2);\n }\n .h-2\\.5 {\n height: calc(var(--spacing) * 2.5);\n }\n .h-3 {\n height: calc(var(--spacing) * 3);\n }\n .h-3\\.5 {\n height: calc(var(--spacing) * 3.5);\n }\n .h-4 {\n height: calc(var(--spacing) * 4);\n }\n .h-5 {\n height: calc(var(--spacing) * 5);\n }\n .h-6 {\n height: calc(var(--spacing) * 6);\n }\n .h-7 {\n height: calc(var(--spacing) * 7);\n }\n .h-8 {\n height: calc(var(--spacing) * 8);\n }\n .h-9 {\n height: calc(var(--spacing) * 9);\n }\n .h-10 {\n height: calc(var(--spacing) * 10);\n }\n .h-11 {\n height: calc(var(--spacing) * 11);\n }\n .h-12 {\n height: calc(var(--spacing) * 12);\n }\n .h-14 {\n height: calc(var(--spacing) * 14);\n }\n .h-16 {\n height: calc(var(--spacing) * 16);\n }\n .h-28 {\n height: calc(var(--spacing) * 28);\n }\n .h-32 {\n height: calc(var(--spacing) * 32);\n }\n .h-40 {\n height: calc(var(--spacing) * 40);\n }\n .h-\\[400\\%\\] {\n height: 400%;\n }\n .h-\\[600px\\] {\n height: 600px;\n }\n .h-full {\n height: 100%;\n }\n .max-h-24 {\n max-height: calc(var(--spacing) * 24);\n }\n .max-h-32 {\n max-height: calc(var(--spacing) * 32);\n }\n .max-h-40 {\n max-height: calc(var(--spacing) * 40);\n }\n .max-h-56 {\n max-height: calc(var(--spacing) * 56);\n }\n .max-h-60 {\n max-height: calc(var(--spacing) * 60);\n }\n .max-h-64 {\n max-height: calc(var(--spacing) * 64);\n }\n .max-h-\\[320px\\] {\n max-height: 320px;\n }\n .max-h-\\[400px\\] {\n max-height: 400px;\n }\n .min-h-0 {\n min-height: 0px;\n }\n .min-h-\\[300px\\] {\n min-height: 300px;\n }\n .min-h-screen {\n min-height: 100vh;\n }\n .w-1\\.5 {\n width: calc(var(--spacing) * 1.5);\n }\n .w-2 {\n width: calc(var(--spacing) * 2);\n }\n .w-2\\.5 {\n width: calc(var(--spacing) * 2.5);\n }\n .w-3 {\n width: calc(var(--spacing) * 3);\n }\n .w-3\\.5 {\n width: calc(var(--spacing) * 3.5);\n }\n .w-4 {\n width: calc(var(--spacing) * 4);\n }\n .w-5 {\n width: calc(var(--spacing) * 5);\n }\n .w-6 {\n width: calc(var(--spacing) * 6);\n }\n .w-7 {\n width: calc(var(--spacing) * 7);\n }\n .w-8 {\n width: calc(var(--spacing) * 8);\n }\n .w-9 {\n width: calc(var(--spacing) * 9);\n }\n .w-10 {\n width: calc(var(--spacing) * 10);\n }\n .w-11 {\n width: calc(var(--spacing) * 11);\n }\n .w-12 {\n width: calc(var(--spacing) * 12);\n }\n .w-14 {\n width: calc(var(--spacing) * 14);\n }\n .w-16 {\n width: calc(var(--spacing) * 16);\n }\n .w-20 {\n width: calc(var(--spacing) * 20);\n }\n .w-28 {\n width: calc(var(--spacing) * 28);\n }\n .w-36 {\n width: calc(var(--spacing) * 36);\n }\n .w-40 {\n width: calc(var(--spacing) * 40);\n }\n .w-44 {\n width: calc(var(--spacing) * 44);\n }\n .w-64 {\n width: calc(var(--spacing) * 64);\n }\n .w-\\[3px\\] {\n width: 3px;\n }\n .w-\\[400\\%\\] {\n width: 400%;\n }\n .w-\\[500px\\] {\n width: 500px;\n }\n .w-\\[min\\(88\\%\\,18rem\\)\\] {\n width: min(88%, 18rem);\n }\n .w-full {\n width: 100%;\n }\n .w-px {\n width: 1px;\n }\n .max-w-2xl {\n max-width: var(--container-2xl);\n }\n .max-w-4xl {\n max-width: var(--container-4xl);\n }\n .max-w-\\[90\\%\\] {\n max-width: 90%;\n }\n .max-w-\\[92\\%\\] {\n max-width: 92%;\n }\n .max-w-\\[94\\%\\] {\n max-width: 94%;\n }\n .max-w-\\[120px\\] {\n max-width: 120px;\n }\n .max-w-\\[calc\\(100vw-3rem\\)\\] {\n max-width: calc(100vw - 3rem);\n }\n .max-w-full {\n max-width: 100%;\n }\n .max-w-md {\n max-width: var(--container-md);\n }\n .max-w-none {\n max-width: none;\n }\n .max-w-sm {\n max-width: var(--container-sm);\n }\n .max-w-xs {\n max-width: var(--container-xs);\n }\n .min-w-0 {\n min-width: 0px;\n }\n .min-w-\\[11rem\\] {\n min-width: 11rem;\n }\n .min-w-\\[400px\\] {\n min-width: 400px;\n }\n .flex-1 {\n flex: 1;\n }\n .flex-shrink-0 {\n flex-shrink: 0;\n }\n .shrink-0 {\n flex-shrink: 0;\n }\n .flex-grow {\n flex-grow: 1;\n }\n .border-collapse {\n border-collapse: collapse;\n }\n .-translate-x-1\\/2 {\n --tw-translate-x: calc(calc(1 / 2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1\\/2 {\n --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .translate-y-0 {\n --tw-translate-y: 0px;\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .translate-y-4 {\n --tw-translate-y: calc(var(--spacing) * 4);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .scale-90 {\n --tw-scale-x: 90%;\n --tw-scale-y: 90%;\n --tw-scale-z: 90%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .scale-95 {\n --tw-scale-x: 95%;\n --tw-scale-y: 95%;\n --tw-scale-z: 95%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .scale-100 {\n --tw-scale-x: 100%;\n --tw-scale-y: 100%;\n --tw-scale-z: 100%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .scale-105 {\n --tw-scale-x: 105%;\n --tw-scale-y: 105%;\n --tw-scale-z: 105%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .scale-110 {\n --tw-scale-x: 110%;\n --tw-scale-y: 110%;\n --tw-scale-z: 110%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .rotate-0 {\n rotate: 0deg;\n }\n .rotate-45 {\n rotate: 45deg;\n }\n .rotate-90 {\n rotate: 90deg;\n }\n .transform {\n transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);\n }\n .animate-\\[pulse_1\\.2s_infinite\\] {\n animation: pulse 1.2s infinite;\n }\n .animate-bounce {\n animation: var(--animate-bounce);\n }\n .animate-ping {\n animation: var(--animate-ping);\n }\n .animate-pulse {\n animation: var(--animate-pulse);\n }\n .animate-spin {\n animation: var(--animate-spin);\n }\n .cursor-not-allowed {\n cursor: not-allowed;\n }\n .cursor-nw-resize {\n cursor: nw-resize;\n }\n .cursor-pointer {\n cursor: pointer;\n }\n .resize {\n resize: both;\n }\n .resize-none {\n resize: none;\n }\n .snap-x {\n scroll-snap-type: x var(--tw-scroll-snap-strictness);\n }\n .snap-mandatory {\n --tw-scroll-snap-strictness: mandatory;\n }\n .snap-start {\n scroll-snap-align: start;\n }\n .scrollbar-thin {\n scrollbar-width: thin;\n }\n .scrollbar-thumb-slate-200 {\n --tw-scrollbar-thumb: var(--color-slate-200);\n scrollbar-color: var(--tw-scrollbar-thumb) var(--tw-scrollbar-track);\n }\n .scrollbar-track-transparent {\n --tw-scrollbar-track: transparent;\n scrollbar-color: var(--tw-scrollbar-thumb) var(--tw-scrollbar-track);\n }\n .grid-cols-3 {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n .flex-col {\n flex-direction: column;\n }\n .flex-row {\n flex-direction: row;\n }\n .flex-row-reverse {\n flex-direction: row-reverse;\n }\n .flex-wrap {\n flex-wrap: wrap;\n }\n .items-center {\n align-items: center;\n }\n .items-end {\n align-items: flex-end;\n }\n .items-start {\n align-items: flex-start;\n }\n .justify-between {\n justify-content: space-between;\n }\n .justify-center {\n justify-content: center;\n }\n .justify-start {\n justify-content: flex-start;\n }\n .gap-0\\.5 {\n gap: calc(var(--spacing) * 0.5);\n }\n .gap-1 {\n gap: var(--spacing);\n }\n .gap-1\\.5 {\n gap: calc(var(--spacing) * 1.5);\n }\n .gap-2 {\n gap: calc(var(--spacing) * 2);\n }\n .gap-2\\.5 {\n gap: calc(var(--spacing) * 2.5);\n }\n .gap-3 {\n gap: calc(var(--spacing) * 3);\n }\n .gap-4 {\n gap: calc(var(--spacing) * 4);\n }\n .gap-\\[2px\\] {\n gap: 2px;\n }\n :where(.space-y-0\\.5 > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 0.5) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 0.5) * calc(1 - var(--tw-space-y-reverse)));\n }\n :where(.space-y-1 > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(var(--spacing) * var(--tw-space-y-reverse));\n margin-block-end: calc(var(--spacing) * calc(1 - var(--tw-space-y-reverse)));\n }\n :where(.space-y-1\\.5 > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 1.5) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 1.5) * calc(1 - var(--tw-space-y-reverse)));\n }\n :where(.space-y-2 > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));\n }\n :where(.space-y-3 > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)));\n }\n :where(.space-y-4 > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));\n }\n :where(.space-y-5 > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)));\n }\n :where(.space-y-8 > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)));\n }\n :where(.divide-y > :not(:last-child)) {\n --tw-divide-y-reverse: 0;\n border-bottom-style: var(--tw-border-style);\n border-top-style: var(--tw-border-style);\n border-top-width: calc(1px * var(--tw-divide-y-reverse));\n border-bottom-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));\n }\n :where(.divide-slate-100 > :not(:last-child)) {\n border-color: var(--color-slate-100);\n }\n .truncate {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .overflow-auto {\n overflow: auto;\n }\n .overflow-hidden {\n overflow: hidden;\n }\n .overflow-x-auto {\n overflow-x: auto;\n }\n .overflow-y-auto {\n overflow-y: auto;\n }\n .rounded {\n border-radius: 0.25rem;\n }\n .rounded-2xl {\n border-radius: var(--radius-2xl);\n }\n .rounded-3xl {\n border-radius: var(--radius-3xl);\n }\n .rounded-\\[2px\\] {\n border-radius: 2px;\n }\n .rounded-full {\n border-radius: calc(infinity * 1px);\n }\n .rounded-lg {\n border-radius: var(--radius-lg);\n }\n .rounded-md {\n border-radius: var(--radius-md);\n }\n .rounded-none {\n border-radius: 0;\n }\n .rounded-sm {\n border-radius: var(--radius-sm);\n }\n .rounded-xl {\n border-radius: var(--radius-xl);\n }\n .rounded-t-md {\n border-top-left-radius: var(--radius-md);\n border-top-right-radius: var(--radius-md);\n }\n .rounded-tl-\\[2px\\] {\n border-top-left-radius: 2px;\n }\n .rounded-tl-sm {\n border-top-left-radius: var(--radius-sm);\n }\n .rounded-tr-sm {\n border-top-right-radius: var(--radius-sm);\n }\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .border-2 {\n border-style: var(--tw-border-style);\n border-width: 2px;\n }\n .border-t {\n border-top-style: var(--tw-border-style);\n border-top-width: 1px;\n }\n .border-t-2 {\n border-top-style: var(--tw-border-style);\n border-top-width: 2px;\n }\n .border-r {\n border-right-style: var(--tw-border-style);\n border-right-width: 1px;\n }\n .border-b {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 1px;\n }\n .border-b-2 {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 2px;\n }\n .border-l-2 {\n border-left-style: var(--tw-border-style);\n border-left-width: 2px;\n }\n .border-dashed {\n --tw-border-style: dashed;\n border-style: dashed;\n }\n .border-amber-100 {\n border-color: var(--color-amber-100);\n }\n .border-amber-200 {\n border-color: var(--color-amber-200);\n }\n .border-emerald-100 {\n border-color: var(--color-emerald-100);\n }\n .border-emerald-100\\/50 {\n border-color: color-mix(in srgb, oklch(95% 0.052 163.051) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-emerald-100) 50%, transparent);\n }\n }\n .border-emerald-200 {\n border-color: var(--color-emerald-200);\n }\n .border-emerald-200\\/80 {\n border-color: color-mix(in srgb, oklch(90.5% 0.093 164.15) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-emerald-200) 80%, transparent);\n }\n }\n .border-emerald-300\\/40 {\n border-color: color-mix(in srgb, oklch(84.5% 0.143 164.978) 40%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-emerald-300) 40%, transparent);\n }\n }\n .border-emerald-500 {\n border-color: var(--color-emerald-500);\n }\n .border-emerald-500\\/20 {\n border-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-emerald-500) 20%, transparent);\n }\n }\n .border-indigo-200 {\n border-color: var(--color-indigo-200);\n }\n .border-indigo-300 {\n border-color: var(--color-indigo-300);\n }\n .border-indigo-500 {\n border-color: var(--color-indigo-500);\n }\n .border-red-200 {\n border-color: var(--color-red-200);\n }\n .border-rose-100 {\n border-color: var(--color-rose-100);\n }\n .border-rose-200 {\n border-color: var(--color-rose-200);\n }\n .border-rose-200\\/50 {\n border-color: color-mix(in srgb, oklch(89.2% 0.058 10.001) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-rose-200) 50%, transparent);\n }\n }\n .border-rose-200\\/60 {\n border-color: color-mix(in srgb, oklch(89.2% 0.058 10.001) 60%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-rose-200) 60%, transparent);\n }\n }\n .border-rose-200\\/80 {\n border-color: color-mix(in srgb, oklch(89.2% 0.058 10.001) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-rose-200) 80%, transparent);\n }\n }\n .border-slate-100 {\n border-color: var(--color-slate-100);\n }\n .border-slate-200 {\n border-color: var(--color-slate-200);\n }\n .border-slate-200\\/50 {\n border-color: color-mix(in srgb, oklch(92.9% 0.013 255.508) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-slate-200) 50%, transparent);\n }\n }\n .border-slate-200\\/60 {\n border-color: color-mix(in srgb, oklch(92.9% 0.013 255.508) 60%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-slate-200) 60%, transparent);\n }\n }\n .border-slate-200\\/80 {\n border-color: color-mix(in srgb, oklch(92.9% 0.013 255.508) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-slate-200) 80%, transparent);\n }\n }\n .border-slate-300 {\n border-color: var(--color-slate-300);\n }\n .border-slate-800 {\n border-color: var(--color-slate-800);\n }\n .border-transparent {\n border-color: transparent;\n }\n .border-white {\n border-color: var(--color-white);\n }\n .border-white\\/5 {\n border-color: color-mix(in srgb, #fff 5%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-white) 5%, transparent);\n }\n }\n .border-white\\/8 {\n border-color: color-mix(in srgb, #fff 8%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-white) 8%, transparent);\n }\n }\n .border-t-transparent {\n border-top-color: transparent;\n }\n .bg-\\[\\#0d0d1a\\] {\n background-color: #0d0d1a;\n }\n .bg-\\[\\#080818\\] {\n background-color: #080818;\n }\n .bg-\\[var\\(--primary\\)\\] {\n background-color: var(--primary);\n }\n .bg-amber-50 {\n background-color: var(--color-amber-50);\n }\n .bg-amber-100 {\n background-color: var(--color-amber-100);\n }\n .bg-amber-200 {\n background-color: var(--color-amber-200);\n }\n .bg-amber-500 {\n background-color: var(--color-amber-500);\n }\n .bg-amber-500\\/80 {\n background-color: color-mix(in srgb, oklch(76.9% 0.188 70.08) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-amber-500) 80%, transparent);\n }\n }\n .bg-blue-50 {\n background-color: var(--color-blue-50);\n }\n .bg-blue-100 {\n background-color: var(--color-blue-100);\n }\n .bg-blue-200 {\n background-color: var(--color-blue-200);\n }\n .bg-cyan-50 {\n background-color: var(--color-cyan-50);\n }\n .bg-cyan-100 {\n background-color: var(--color-cyan-100);\n }\n .bg-cyan-200 {\n background-color: var(--color-cyan-200);\n }\n .bg-emerald-50 {\n background-color: var(--color-emerald-50);\n }\n .bg-emerald-50\\/50 {\n background-color: color-mix(in srgb, oklch(97.9% 0.021 166.113) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-emerald-50) 50%, transparent);\n }\n }\n .bg-emerald-50\\/60 {\n background-color: color-mix(in srgb, oklch(97.9% 0.021 166.113) 60%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-emerald-50) 60%, transparent);\n }\n }\n .bg-emerald-100 {\n background-color: var(--color-emerald-100);\n }\n .bg-emerald-100\\/70 {\n background-color: color-mix(in srgb, oklch(95% 0.052 163.051) 70%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-emerald-100) 70%, transparent);\n }\n }\n .bg-emerald-200 {\n background-color: var(--color-emerald-200);\n }\n .bg-emerald-500 {\n background-color: var(--color-emerald-500);\n }\n .bg-emerald-500\\/10 {\n background-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-emerald-500) 10%, transparent);\n }\n }\n .bg-emerald-500\\/80 {\n background-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-emerald-500) 80%, transparent);\n }\n }\n .bg-indigo-50 {\n background-color: var(--color-indigo-50);\n }\n .bg-indigo-100 {\n background-color: var(--color-indigo-100);\n }\n .bg-indigo-500 {\n background-color: var(--color-indigo-500);\n }\n .bg-indigo-600 {\n background-color: var(--color-indigo-600);\n }\n .bg-orange-100 {\n background-color: var(--color-orange-100);\n }\n .bg-pink-50 {\n background-color: var(--color-pink-50);\n }\n .bg-pink-100 {\n background-color: var(--color-pink-100);\n }\n .bg-pink-200 {\n background-color: var(--color-pink-200);\n }\n .bg-purple-50 {\n background-color: var(--color-purple-50);\n }\n .bg-purple-100 {\n background-color: var(--color-purple-100);\n }\n .bg-purple-200 {\n background-color: var(--color-purple-200);\n }\n .bg-red-50 {\n background-color: var(--color-red-50);\n }\n .bg-red-500 {\n background-color: var(--color-red-500);\n }\n .bg-rose-50 {\n background-color: var(--color-rose-50);\n }\n .bg-rose-50\\/50 {\n background-color: color-mix(in srgb, oklch(96.9% 0.015 12.422) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-rose-50) 50%, transparent);\n }\n }\n .bg-rose-50\\/60 {\n background-color: color-mix(in srgb, oklch(96.9% 0.015 12.422) 60%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-rose-50) 60%, transparent);\n }\n }\n .bg-rose-100 {\n background-color: var(--color-rose-100);\n }\n .bg-rose-500 {\n background-color: var(--color-rose-500);\n }\n .bg-rose-500\\/10 {\n background-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-rose-500) 10%, transparent);\n }\n }\n .bg-rose-500\\/80 {\n background-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-rose-500) 80%, transparent);\n }\n }\n .bg-slate-50 {\n background-color: var(--color-slate-50);\n }\n .bg-slate-50\\/20 {\n background-color: color-mix(in srgb, oklch(98.4% 0.003 247.858) 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-slate-50) 20%, transparent);\n }\n }\n .bg-slate-50\\/50 {\n background-color: color-mix(in srgb, oklch(98.4% 0.003 247.858) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-slate-50) 50%, transparent);\n }\n }\n .bg-slate-100 {\n background-color: var(--color-slate-100);\n }\n .bg-slate-100\\/50 {\n background-color: color-mix(in srgb, oklch(96.8% 0.007 247.896) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-slate-100) 50%, transparent);\n }\n }\n .bg-slate-200 {\n background-color: var(--color-slate-200);\n }\n .bg-slate-200\\/70 {\n background-color: color-mix(in srgb, oklch(92.9% 0.013 255.508) 70%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-slate-200) 70%, transparent);\n }\n }\n .bg-slate-400 {\n background-color: var(--color-slate-400);\n }\n .bg-slate-800 {\n background-color: var(--color-slate-800);\n }\n .bg-slate-900 {\n background-color: var(--color-slate-900);\n }\n .bg-slate-900\\/50 {\n background-color: color-mix(in srgb, oklch(20.8% 0.042 265.755) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-slate-900) 50%, transparent);\n }\n }\n .bg-slate-900\\/90 {\n background-color: color-mix(in srgb, oklch(20.8% 0.042 265.755) 90%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-slate-900) 90%, transparent);\n }\n }\n .bg-slate-950 {\n background-color: var(--color-slate-950);\n }\n .bg-slate-950\\/70 {\n background-color: color-mix(in srgb, oklch(12.9% 0.042 264.695) 70%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-slate-950) 70%, transparent);\n }\n }\n .bg-transparent {\n background-color: transparent;\n }\n .bg-violet-100 {\n background-color: var(--color-violet-100);\n }\n .bg-white {\n background-color: var(--color-white);\n }\n .bg-white\\/60 {\n background-color: color-mix(in srgb, #fff 60%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-white) 60%, transparent);\n }\n }\n .bg-white\\/90 {\n background-color: color-mix(in srgb, #fff 90%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-white) 90%, transparent);\n }\n }\n .bg-white\\/95 {\n background-color: color-mix(in srgb, #fff 95%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-white) 95%, transparent);\n }\n }\n .bg-gradient-to-br {\n --tw-gradient-position: to bottom right in oklab;\n background-image: linear-gradient(var(--tw-gradient-stops));\n }\n .bg-gradient-to-r {\n --tw-gradient-position: to right in oklab;\n background-image: linear-gradient(var(--tw-gradient-stops));\n }\n .from-emerald-500 {\n --tw-gradient-from: var(--color-emerald-500);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .from-slate-100 {\n --tw-gradient-from: var(--color-slate-100);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .to-slate-200 {\n --tw-gradient-to: var(--color-slate-200);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .to-teal-400 {\n --tw-gradient-to: var(--color-teal-400);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .stroke-\\[2\\.5\\] {\n stroke-width: 2.5;\n }\n .object-cover {\n object-fit: cover;\n }\n .p-0\\.5 {\n padding: calc(var(--spacing) * 0.5);\n }\n .p-1 {\n padding: var(--spacing);\n }\n .p-1\\.5 {\n padding: calc(var(--spacing) * 1.5);\n }\n .p-2 {\n padding: calc(var(--spacing) * 2);\n }\n .p-2\\.5 {\n padding: calc(var(--spacing) * 2.5);\n }\n .p-3 {\n padding: calc(var(--spacing) * 3);\n }\n .p-4 {\n padding: calc(var(--spacing) * 4);\n }\n .p-5 {\n padding: calc(var(--spacing) * 5);\n }\n .p-6 {\n padding: calc(var(--spacing) * 6);\n }\n .p-8 {\n padding: calc(var(--spacing) * 8);\n }\n .p-10 {\n padding: calc(var(--spacing) * 10);\n }\n .px-1 {\n padding-inline: var(--spacing);\n }\n .px-1\\.5 {\n padding-inline: calc(var(--spacing) * 1.5);\n }\n .px-2 {\n padding-inline: calc(var(--spacing) * 2);\n }\n .px-2\\.5 {\n padding-inline: calc(var(--spacing) * 2.5);\n }\n .px-3 {\n padding-inline: calc(var(--spacing) * 3);\n }\n .px-4 {\n padding-inline: calc(var(--spacing) * 4);\n }\n .px-5 {\n padding-inline: calc(var(--spacing) * 5);\n }\n .px-6 {\n padding-inline: calc(var(--spacing) * 6);\n }\n .py-0\\.5 {\n padding-block: calc(var(--spacing) * 0.5);\n }\n .py-1 {\n padding-block: var(--spacing);\n }\n .py-1\\.5 {\n padding-block: calc(var(--spacing) * 1.5);\n }\n .py-2 {\n padding-block: calc(var(--spacing) * 2);\n }\n .py-2\\.5 {\n padding-block: calc(var(--spacing) * 2.5);\n }\n .py-3 {\n padding-block: calc(var(--spacing) * 3);\n }\n .py-4 {\n padding-block: calc(var(--spacing) * 4);\n }\n .py-8 {\n padding-block: calc(var(--spacing) * 8);\n }\n .pt-1 {\n padding-top: var(--spacing);\n }\n .pt-2 {\n padding-top: calc(var(--spacing) * 2);\n }\n .pr-1 {\n padding-right: var(--spacing);\n }\n .pr-6 {\n padding-right: calc(var(--spacing) * 6);\n }\n .pb-3 {\n padding-bottom: calc(var(--spacing) * 3);\n }\n .pb-4 {\n padding-bottom: calc(var(--spacing) * 4);\n }\n .pb-6 {\n padding-bottom: calc(var(--spacing) * 6);\n }\n .text-center {\n text-align: center;\n }\n .text-left {\n text-align: left;\n }\n .align-middle {\n vertical-align: middle;\n }\n .font-mono {\n font-family: var(--font-mono);\n }\n .text-3xl {\n font-size: var(--text-3xl);\n line-height: var(--tw-leading, var(--text-3xl--line-height));\n }\n .text-base {\n font-size: var(--text-base);\n line-height: var(--tw-leading, var(--text-base--line-height));\n }\n .text-lg {\n font-size: var(--text-lg);\n line-height: var(--tw-leading, var(--text-lg--line-height));\n }\n .text-sm {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n .text-xl {\n font-size: var(--text-xl);\n line-height: var(--tw-leading, var(--text-xl--line-height));\n }\n .text-xs {\n font-size: var(--text-xs);\n line-height: var(--tw-leading, var(--text-xs--line-height));\n }\n .text-\\[9px\\] {\n font-size: 9px;\n }\n .text-\\[10px\\] {\n font-size: 10px;\n }\n .text-\\[11px\\] {\n font-size: 11px;\n }\n .text-\\[12px\\] {\n font-size: 12px;\n }\n .text-\\[13px\\] {\n font-size: 13px;\n }\n .leading-relaxed {\n --tw-leading: var(--leading-relaxed);\n line-height: var(--leading-relaxed);\n }\n .leading-snug {\n --tw-leading: var(--leading-snug);\n line-height: var(--leading-snug);\n }\n .leading-tight {\n --tw-leading: var(--leading-tight);\n line-height: var(--leading-tight);\n }\n .font-black {\n --tw-font-weight: var(--font-weight-black);\n font-weight: var(--font-weight-black);\n }\n .font-bold {\n --tw-font-weight: var(--font-weight-bold);\n font-weight: var(--font-weight-bold);\n }\n .font-extrabold {\n --tw-font-weight: var(--font-weight-extrabold);\n font-weight: var(--font-weight-extrabold);\n }\n .font-medium {\n --tw-font-weight: var(--font-weight-medium);\n font-weight: var(--font-weight-medium);\n }\n .font-semibold {\n --tw-font-weight: var(--font-weight-semibold);\n font-weight: var(--font-weight-semibold);\n }\n .tracking-tight {\n --tw-tracking: var(--tracking-tight);\n letter-spacing: var(--tracking-tight);\n }\n .tracking-wider {\n --tw-tracking: var(--tracking-wider);\n letter-spacing: var(--tracking-wider);\n }\n .tracking-widest {\n --tw-tracking: var(--tracking-widest);\n letter-spacing: var(--tracking-widest);\n }\n .break-words {\n overflow-wrap: break-word;\n }\n .whitespace-nowrap {\n white-space: nowrap;\n }\n .whitespace-pre {\n white-space: pre;\n }\n .whitespace-pre-line {\n white-space: pre-line;\n }\n .whitespace-pre-wrap {\n white-space: pre-wrap;\n }\n .text-amber-400 {\n color: var(--color-amber-400);\n }\n .text-amber-500 {\n color: var(--color-amber-500);\n }\n .text-amber-600 {\n color: var(--color-amber-600);\n }\n .text-amber-700 {\n color: var(--color-amber-700);\n }\n .text-amber-800 {\n color: var(--color-amber-800);\n }\n .text-amber-900 {\n color: var(--color-amber-900);\n }\n .text-amber-950 {\n color: var(--color-amber-950);\n }\n .text-black {\n color: var(--color-black);\n }\n .text-blue-600 {\n color: var(--color-blue-600);\n }\n .text-blue-700 {\n color: var(--color-blue-700);\n }\n .text-blue-800 {\n color: var(--color-blue-800);\n }\n .text-blue-950 {\n color: var(--color-blue-950);\n }\n .text-cyan-700 {\n color: var(--color-cyan-700);\n }\n .text-cyan-800 {\n color: var(--color-cyan-800);\n }\n .text-cyan-950 {\n color: var(--color-cyan-950);\n }\n .text-emerald-400 {\n color: var(--color-emerald-400);\n }\n .text-emerald-500 {\n color: var(--color-emerald-500);\n }\n .text-emerald-500\\/70 {\n color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 70%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, var(--color-emerald-500) 70%, transparent);\n }\n }\n .text-emerald-600 {\n color: var(--color-emerald-600);\n }\n .text-emerald-700 {\n color: var(--color-emerald-700);\n }\n .text-emerald-800 {\n color: var(--color-emerald-800);\n }\n .text-emerald-900 {\n color: var(--color-emerald-900);\n }\n .text-emerald-950 {\n color: var(--color-emerald-950);\n }\n .text-gray-500 {\n color: var(--color-gray-500);\n }\n .text-indigo-200\\/85 {\n color: color-mix(in srgb, oklch(87% 0.065 274.039) 85%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, var(--color-indigo-200) 85%, transparent);\n }\n }\n .text-indigo-400 {\n color: var(--color-indigo-400);\n }\n .text-indigo-500 {\n color: var(--color-indigo-500);\n }\n .text-indigo-600 {\n color: var(--color-indigo-600);\n }\n .text-indigo-900 {\n color: var(--color-indigo-900);\n }\n .text-indigo-950 {\n color: var(--color-indigo-950);\n }\n .text-orange-950 {\n color: var(--color-orange-950);\n }\n .text-pink-700 {\n color: var(--color-pink-700);\n }\n .text-pink-800 {\n color: var(--color-pink-800);\n }\n .text-pink-950 {\n color: var(--color-pink-950);\n }\n .text-purple-700 {\n color: var(--color-purple-700);\n }\n .text-purple-800 {\n color: var(--color-purple-800);\n }\n .text-purple-950 {\n color: var(--color-purple-950);\n }\n .text-red-500 {\n color: var(--color-red-500);\n }\n .text-red-600 {\n color: var(--color-red-600);\n }\n .text-rose-400 {\n color: var(--color-rose-400);\n }\n .text-rose-500 {\n color: var(--color-rose-500);\n }\n .text-rose-600 {\n color: var(--color-rose-600);\n }\n .text-rose-700 {\n color: var(--color-rose-700);\n }\n .text-slate-100 {\n color: var(--color-slate-100);\n }\n .text-slate-300 {\n color: var(--color-slate-300);\n }\n .text-slate-400 {\n color: var(--color-slate-400);\n }\n .text-slate-500 {\n color: var(--color-slate-500);\n }\n .text-slate-600 {\n color: var(--color-slate-600);\n }\n .text-slate-700 {\n color: var(--color-slate-700);\n }\n .text-slate-800 {\n color: var(--color-slate-800);\n }\n .text-slate-900 {\n color: var(--color-slate-900);\n }\n .text-violet-900 {\n color: var(--color-violet-900);\n }\n .text-white {\n color: var(--color-white);\n }\n .text-white\\/25 {\n color: color-mix(in srgb, #fff 25%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, var(--color-white) 25%, transparent);\n }\n }\n .text-white\\/35 {\n color: color-mix(in srgb, #fff 35%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, var(--color-white) 35%, transparent);\n }\n }\n .lowercase {\n text-transform: lowercase;\n }\n .uppercase {\n text-transform: uppercase;\n }\n .italic {\n font-style: italic;\n }\n .tabular-nums {\n --tw-numeric-spacing: tabular-nums;\n font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);\n }\n .antialiased {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n .placeholder-slate-400::placeholder {\n color: var(--color-slate-400);\n }\n .opacity-0 {\n opacity: 0%;\n }\n .opacity-20 {\n opacity: 20%;\n }\n .opacity-30 {\n opacity: 30%;\n }\n .opacity-40 {\n opacity: 40%;\n }\n .opacity-60 {\n opacity: 60%;\n }\n .opacity-100 {\n opacity: 100%;\n }\n .shadow-2xl {\n --tw-shadow: 0 25px 50px -12px var(--tw-shadow-color, rgb(0 0 0 / 0.25));\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .shadow-lg {\n --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .shadow-md {\n --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .shadow-sm {\n --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .shadow-xl {\n --tw-shadow: 0 20px 25px -5px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 8px 10px -6px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .ring {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .ring-1 {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .ring-2 {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .shadow-rose-500\\/20 {\n --tw-shadow-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--color-rose-500) 20%, transparent) var(--tw-shadow-alpha), transparent);\n }\n }\n .ring-red-400\\/40 {\n --tw-ring-color: color-mix(in srgb, oklch(70.4% 0.191 22.216) 40%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-ring-color: color-mix(in oklab, var(--color-red-400) 40%, transparent);\n }\n }\n .ring-rose-400\\/50 {\n --tw-ring-color: color-mix(in srgb, oklch(71.2% 0.194 13.428) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-ring-color: color-mix(in oklab, var(--color-rose-400) 50%, transparent);\n }\n }\n .ring-slate-200\\/80 {\n --tw-ring-color: color-mix(in srgb, oklch(92.9% 0.013 255.508) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-ring-color: color-mix(in oklab, var(--color-slate-200) 80%, transparent);\n }\n }\n .ring-offset-1 {\n --tw-ring-offset-width: 1px;\n --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n }\n .ring-offset-transparent {\n --tw-ring-offset-color: transparent;\n }\n .drop-shadow-2xl {\n --tw-drop-shadow-size: drop-shadow(0 25px 25px var(--tw-drop-shadow-color, rgb(0 0 0 / 0.15)));\n --tw-drop-shadow: drop-shadow(var(--drop-shadow-2xl));\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .grayscale {\n --tw-grayscale: grayscale(100%);\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .filter {\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .backdrop-blur-md {\n --tw-backdrop-blur: blur(var(--blur-md));\n -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n }\n .backdrop-blur-sm {\n --tw-backdrop-blur: blur(var(--blur-sm));\n -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n }\n .backdrop-blur-xl {\n --tw-backdrop-blur: blur(var(--blur-xl));\n -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n }\n .transition {\n transition-property:\n color,\n background-color,\n border-color,\n outline-color,\n text-decoration-color,\n fill,\n stroke,\n --tw-gradient-from,\n --tw-gradient-via,\n --tw-gradient-to,\n opacity,\n box-shadow,\n transform,\n translate,\n scale,\n rotate,\n filter,\n -webkit-backdrop-filter,\n backdrop-filter,\n display,\n content-visibility,\n overlay,\n pointer-events;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-all {\n transition-property: all;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-colors {\n transition-property:\n color,\n background-color,\n border-color,\n outline-color,\n text-decoration-color,\n fill,\n stroke,\n --tw-gradient-from,\n --tw-gradient-via,\n --tw-gradient-to;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-opacity {\n transition-property: opacity;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-shadow {\n transition-property: box-shadow;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-transform {\n transition-property:\n transform,\n translate,\n scale,\n rotate;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .duration-200 {\n --tw-duration: 200ms;\n transition-duration: 200ms;\n }\n .duration-300 {\n --tw-duration: 300ms;\n transition-duration: 300ms;\n }\n .duration-500 {\n --tw-duration: 500ms;\n transition-duration: 500ms;\n }\n .duration-700 {\n --tw-duration: 700ms;\n transition-duration: 700ms;\n }\n .ease-in-out {\n --tw-ease: var(--ease-in-out);\n transition-timing-function: var(--ease-in-out);\n }\n .outline-none {\n --tw-outline-style: none;\n outline-style: none;\n }\n .select-none {\n -webkit-user-select: none;\n user-select: none;\n }\n .select-text {\n -webkit-user-select: text;\n user-select: text;\n }\n .\\[animation-delay\\:0ms\\] {\n animation-delay: 0ms;\n }\n .\\[animation-delay\\:150ms\\] {\n animation-delay: 150ms;\n }\n .\\[animation-delay\\:300ms\\] {\n animation-delay: 300ms;\n }\n @media (hover: hover) {\n .group-hover\\:translate-x-0\\.5:is(:where(.group):hover *) {\n --tw-translate-x: calc(var(--spacing) * 0.5);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .group-hover\\:scale-100:is(:where(.group):hover *) {\n --tw-scale-x: 100%;\n --tw-scale-y: 100%;\n --tw-scale-z: 100%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .group-hover\\:scale-105:is(:where(.group):hover *) {\n --tw-scale-x: 105%;\n --tw-scale-y: 105%;\n --tw-scale-z: 105%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .group-hover\\:animate-\\[gradientMove_3\\.5s_ease-in-out_infinite_alternate\\]:is(:where(.group):hover *) {\n animation: gradientMove 3.5s ease-in-out infinite alternate;\n }\n .group-hover\\:animate-\\[shapeshift_5s_ease-in-out_infinite_forwards\\]:is(:where(.group):hover *) {\n animation: shapeshift 5s ease-in-out infinite forwards;\n }\n .group-hover\\:rounded-none:is(:where(.group):hover *) {\n border-radius: 0;\n }\n .group-hover\\:border-slate-500:is(:where(.group):hover *) {\n border-color: var(--color-slate-500);\n }\n .group-hover\\:opacity-100:is(:where(.group):hover *) {\n opacity: 100%;\n }\n }\n .focus-within\\:border-slate-300:focus-within {\n border-color: var(--color-slate-300);\n }\n @media (hover: hover) {\n .hover\\:scale-105:hover {\n --tw-scale-x: 105%;\n --tw-scale-y: 105%;\n --tw-scale-z: 105%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .hover\\:scale-110:hover {\n --tw-scale-x: 110%;\n --tw-scale-y: 110%;\n --tw-scale-z: 110%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .hover\\:scale-\\[1\\.01\\]:hover {\n scale: 1.01;\n }\n .hover\\:border-emerald-200:hover {\n border-color: var(--color-emerald-200);\n }\n .hover\\:border-indigo-200:hover {\n border-color: var(--color-indigo-200);\n }\n .hover\\:border-rose-200:hover {\n border-color: var(--color-rose-200);\n }\n .hover\\:border-slate-300:hover {\n border-color: var(--color-slate-300);\n }\n .hover\\:border-slate-300\\/60:hover {\n border-color: color-mix(in srgb, oklch(86.9% 0.022 252.894) 60%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .hover\\:border-slate-300\\/60:hover {\n border-color: color-mix(in oklab, var(--color-slate-300) 60%, transparent);\n }\n }\n .hover\\:border-slate-800:hover {\n border-color: var(--color-slate-800);\n }\n .hover\\:bg-emerald-50:hover {\n background-color: var(--color-emerald-50);\n }\n .hover\\:bg-indigo-50:hover {\n background-color: var(--color-indigo-50);\n }\n .hover\\:bg-rose-50:hover {\n background-color: var(--color-rose-50);\n }\n .hover\\:bg-rose-100:hover {\n background-color: var(--color-rose-100);\n }\n .hover\\:bg-rose-600:hover {\n background-color: var(--color-rose-600);\n }\n .hover\\:bg-slate-50\\/60:hover {\n background-color: color-mix(in srgb, oklch(98.4% 0.003 247.858) 60%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .hover\\:bg-slate-50\\/60:hover {\n background-color: color-mix(in oklab, var(--color-slate-50) 60%, transparent);\n }\n }\n .hover\\:bg-slate-50\\/70:hover {\n background-color: color-mix(in srgb, oklch(98.4% 0.003 247.858) 70%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .hover\\:bg-slate-50\\/70:hover {\n background-color: color-mix(in oklab, var(--color-slate-50) 70%, transparent);\n }\n }\n .hover\\:bg-slate-100:hover {\n background-color: var(--color-slate-100);\n }\n .hover\\:bg-slate-200:hover {\n background-color: var(--color-slate-200);\n }\n .hover\\:bg-slate-200\\/30:hover {\n background-color: color-mix(in srgb, oklch(92.9% 0.013 255.508) 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .hover\\:bg-slate-200\\/30:hover {\n background-color: color-mix(in oklab, var(--color-slate-200) 30%, transparent);\n }\n }\n .hover\\:bg-slate-800:hover {\n background-color: var(--color-slate-800);\n }\n .hover\\:bg-white:hover {\n background-color: var(--color-white);\n }\n .hover\\:bg-white\\/5:hover {\n background-color: color-mix(in srgb, #fff 5%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .hover\\:bg-white\\/5:hover {\n background-color: color-mix(in oklab, var(--color-white) 5%, transparent);\n }\n }\n .hover\\:text-blue-500:hover {\n color: var(--color-blue-500);\n }\n .hover\\:text-emerald-400:hover {\n color: var(--color-emerald-400);\n }\n .hover\\:text-emerald-500:hover {\n color: var(--color-emerald-500);\n }\n .hover\\:text-indigo-300:hover {\n color: var(--color-indigo-300);\n }\n .hover\\:text-indigo-500:hover {\n color: var(--color-indigo-500);\n }\n .hover\\:text-indigo-600:hover {\n color: var(--color-indigo-600);\n }\n .hover\\:text-rose-500:hover {\n color: var(--color-rose-500);\n }\n .hover\\:text-slate-600:hover {\n color: var(--color-slate-600);\n }\n .hover\\:text-slate-800:hover {\n color: var(--color-slate-800);\n }\n .hover\\:text-slate-900:hover {\n color: var(--color-slate-900);\n }\n .hover\\:text-white\\/80:hover {\n color: color-mix(in srgb, #fff 80%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .hover\\:text-white\\/80:hover {\n color: color-mix(in oklab, var(--color-white) 80%, transparent);\n }\n }\n .hover\\:opacity-90:hover {\n opacity: 90%;\n }\n .hover\\:opacity-95:hover {\n opacity: 95%;\n }\n .hover\\:shadow-lg:hover {\n --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .hover\\:shadow-md:hover {\n --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n }\n .focus\\:border-emerald-500:focus {\n border-color: var(--color-emerald-500);\n }\n .focus\\:ring-1:focus {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .focus\\:ring-blue-500:focus {\n --tw-ring-color: var(--color-blue-500);\n }\n .focus\\:ring-indigo-500:focus {\n --tw-ring-color: var(--color-indigo-500);\n }\n .focus\\:outline-none:focus {\n --tw-outline-style: none;\n outline-style: none;\n }\n .active\\:scale-95:active {\n --tw-scale-x: 95%;\n --tw-scale-y: 95%;\n --tw-scale-z: 95%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .disabled\\:cursor-not-allowed:disabled {\n cursor: not-allowed;\n }\n .disabled\\:opacity-30:disabled {\n opacity: 30%;\n }\n .disabled\\:opacity-40:disabled {\n opacity: 40%;\n }\n .disabled\\:opacity-50:disabled {\n opacity: 50%;\n }\n @media (hover: hover) {\n .disabled\\:hover\\:scale-100:disabled:hover {\n --tw-scale-x: 100%;\n --tw-scale-y: 100%;\n --tw-scale-z: 100%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .disabled\\:hover\\:text-slate-400:disabled:hover {\n color: var(--color-slate-400);\n }\n .disabled\\:hover\\:text-slate-600:disabled:hover {\n color: var(--color-slate-600);\n }\n }\n .disabled\\:active\\:scale-100:disabled:active {\n --tw-scale-x: 100%;\n --tw-scale-y: 100%;\n --tw-scale-z: 100%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n @media (width >= 40rem) {\n .sm\\:inline {\n display: inline;\n }\n .sm\\:inline-flex {\n display: inline-flex;\n }\n .sm\\:grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n }\n @media (width >= 48rem) {\n .md\\:p-12 {\n padding: calc(var(--spacing) * 12);\n }\n .md\\:opacity-0 {\n opacity: 0%;\n }\n @media (hover: hover) {\n .md\\:group-hover\\/carousel\\:opacity-100:is(:where(.group\\/carousel):hover *) {\n opacity: 100%;\n }\n }\n }\n @media (prefers-color-scheme: dark) {\n .dark\\:scrollbar-thumb-white\\/10 {\n --tw-scrollbar-thumb: color-mix(in srgb, #fff 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:scrollbar-thumb-white\\/10 {\n --tw-scrollbar-thumb: color-mix(in oklab, var(--color-white) 10%, transparent);\n }\n }\n .dark\\:scrollbar-thumb-white\\/10 {\n scrollbar-color: var(--tw-scrollbar-thumb) var(--tw-scrollbar-track);\n }\n :where(.dark\\:divide-white\\/5 > :not(:last-child)) {\n border-color: color-mix(in srgb, #fff 5%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-white) 5%, transparent);\n }\n }\n .dark\\:border-amber-400\\/20 {\n border-color: color-mix(in srgb, oklch(82.8% 0.189 84.429) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-amber-400\\/20 {\n border-color: color-mix(in oklab, var(--color-amber-400) 20%, transparent);\n }\n }\n .dark\\:border-amber-500\\/20 {\n border-color: color-mix(in srgb, oklch(76.9% 0.188 70.08) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-amber-500\\/20 {\n border-color: color-mix(in oklab, var(--color-amber-500) 20%, transparent);\n }\n }\n .dark\\:border-emerald-400\\/20 {\n border-color: color-mix(in srgb, oklch(76.5% 0.177 163.223) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-emerald-400\\/20 {\n border-color: color-mix(in oklab, var(--color-emerald-400) 20%, transparent);\n }\n }\n .dark\\:border-emerald-500\\/10 {\n border-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-emerald-500\\/10 {\n border-color: color-mix(in oklab, var(--color-emerald-500) 10%, transparent);\n }\n }\n .dark\\:border-emerald-500\\/20 {\n border-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-emerald-500\\/20 {\n border-color: color-mix(in oklab, var(--color-emerald-500) 20%, transparent);\n }\n }\n .dark\\:border-emerald-500\\/25 {\n border-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 25%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-emerald-500\\/25 {\n border-color: color-mix(in oklab, var(--color-emerald-500) 25%, transparent);\n }\n }\n .dark\\:border-emerald-500\\/30 {\n border-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-emerald-500\\/30 {\n border-color: color-mix(in oklab, var(--color-emerald-500) 30%, transparent);\n }\n }\n .dark\\:border-indigo-500\\/20 {\n border-color: color-mix(in srgb, oklch(58.5% 0.233 277.117) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-indigo-500\\/20 {\n border-color: color-mix(in oklab, var(--color-indigo-500) 20%, transparent);\n }\n }\n .dark\\:border-indigo-500\\/40 {\n border-color: color-mix(in srgb, oklch(58.5% 0.233 277.117) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-indigo-500\\/40 {\n border-color: color-mix(in oklab, var(--color-indigo-500) 40%, transparent);\n }\n }\n .dark\\:border-red-500\\/20 {\n border-color: color-mix(in srgb, oklch(63.7% 0.237 25.331) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-red-500\\/20 {\n border-color: color-mix(in oklab, var(--color-red-500) 20%, transparent);\n }\n }\n .dark\\:border-rose-400\\/20 {\n border-color: color-mix(in srgb, oklch(71.2% 0.194 13.428) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-rose-400\\/20 {\n border-color: color-mix(in oklab, var(--color-rose-400) 20%, transparent);\n }\n }\n .dark\\:border-rose-500\\/20 {\n border-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-rose-500\\/20 {\n border-color: color-mix(in oklab, var(--color-rose-500) 20%, transparent);\n }\n }\n .dark\\:border-rose-500\\/25 {\n border-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 25%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-rose-500\\/25 {\n border-color: color-mix(in oklab, var(--color-rose-500) 25%, transparent);\n }\n }\n .dark\\:border-rose-500\\/30 {\n border-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-rose-500\\/30 {\n border-color: color-mix(in oklab, var(--color-rose-500) 30%, transparent);\n }\n }\n .dark\\:border-rose-800\\/40 {\n border-color: color-mix(in srgb, oklch(45.5% 0.188 13.697) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-rose-800\\/40 {\n border-color: color-mix(in oklab, var(--color-rose-800) 40%, transparent);\n }\n }\n .dark\\:border-slate-700 {\n border-color: var(--color-slate-700);\n }\n .dark\\:border-slate-800 {\n border-color: var(--color-slate-800);\n }\n .dark\\:border-white\\/5 {\n border-color: color-mix(in srgb, #fff 5%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-white\\/5 {\n border-color: color-mix(in oklab, var(--color-white) 5%, transparent);\n }\n }\n .dark\\:border-white\\/8 {\n border-color: color-mix(in srgb, #fff 8%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-white\\/8 {\n border-color: color-mix(in oklab, var(--color-white) 8%, transparent);\n }\n }\n .dark\\:border-white\\/10 {\n border-color: color-mix(in srgb, #fff 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-white\\/10 {\n border-color: color-mix(in oklab, var(--color-white) 10%, transparent);\n }\n }\n .dark\\:border-white\\/20 {\n border-color: color-mix(in srgb, #fff 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-white\\/20 {\n border-color: color-mix(in oklab, var(--color-white) 20%, transparent);\n }\n }\n .dark\\:border-zinc-800 {\n border-color: var(--color-zinc-800);\n }\n .dark\\:bg-\\[\\#0f0f1a\\] {\n background-color: #0f0f1a;\n }\n .dark\\:bg-\\[\\#0f0f1a\\]\\/90 {\n background-color: color-mix(in oklab, #0f0f1a 90%, transparent);\n }\n .dark\\:bg-\\[\\#080811\\] {\n background-color: #080811;\n }\n .dark\\:bg-\\[\\#131322\\] {\n background-color: #131322;\n }\n .dark\\:bg-amber-400\\/10 {\n background-color: color-mix(in srgb, oklch(82.8% 0.189 84.429) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-amber-400\\/10 {\n background-color: color-mix(in oklab, var(--color-amber-400) 10%, transparent);\n }\n }\n .dark\\:bg-amber-500\\/10 {\n background-color: color-mix(in srgb, oklch(76.9% 0.188 70.08) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-amber-500\\/10 {\n background-color: color-mix(in oklab, var(--color-amber-500) 10%, transparent);\n }\n }\n .dark\\:bg-amber-700\\/40 {\n background-color: color-mix(in srgb, oklch(55.5% 0.163 48.998) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-amber-700\\/40 {\n background-color: color-mix(in oklab, var(--color-amber-700) 40%, transparent);\n }\n }\n .dark\\:bg-amber-800\\/30 {\n background-color: color-mix(in srgb, oklch(47.3% 0.137 46.201) 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-amber-800\\/30 {\n background-color: color-mix(in oklab, var(--color-amber-800) 30%, transparent);\n }\n }\n .dark\\:bg-amber-900\\/20 {\n background-color: color-mix(in srgb, oklch(41.4% 0.112 45.904) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-amber-900\\/20 {\n background-color: color-mix(in oklab, var(--color-amber-900) 20%, transparent);\n }\n }\n .dark\\:bg-amber-950\\/40 {\n background-color: color-mix(in srgb, oklch(27.9% 0.077 45.635) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-amber-950\\/40 {\n background-color: color-mix(in oklab, var(--color-amber-950) 40%, transparent);\n }\n }\n .dark\\:bg-black\\/30 {\n background-color: color-mix(in srgb, #000 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-black\\/30 {\n background-color: color-mix(in oklab, var(--color-black) 30%, transparent);\n }\n }\n .dark\\:bg-black\\/60 {\n background-color: color-mix(in srgb, #000 60%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-black\\/60 {\n background-color: color-mix(in oklab, var(--color-black) 60%, transparent);\n }\n }\n .dark\\:bg-blue-700\\/40 {\n background-color: color-mix(in srgb, oklch(48.8% 0.243 264.376) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-blue-700\\/40 {\n background-color: color-mix(in oklab, var(--color-blue-700) 40%, transparent);\n }\n }\n .dark\\:bg-blue-900\\/20 {\n background-color: color-mix(in srgb, oklch(37.9% 0.146 265.522) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-blue-900\\/20 {\n background-color: color-mix(in oklab, var(--color-blue-900) 20%, transparent);\n }\n }\n .dark\\:bg-blue-950\\/40 {\n background-color: color-mix(in srgb, oklch(28.2% 0.091 267.935) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-blue-950\\/40 {\n background-color: color-mix(in oklab, var(--color-blue-950) 40%, transparent);\n }\n }\n .dark\\:bg-cyan-700\\/40 {\n background-color: color-mix(in srgb, oklch(52% 0.105 223.128) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-cyan-700\\/40 {\n background-color: color-mix(in oklab, var(--color-cyan-700) 40%, transparent);\n }\n }\n .dark\\:bg-cyan-900\\/20 {\n background-color: color-mix(in srgb, oklch(39.8% 0.07 227.392) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-cyan-900\\/20 {\n background-color: color-mix(in oklab, var(--color-cyan-900) 20%, transparent);\n }\n }\n .dark\\:bg-cyan-950\\/40 {\n background-color: color-mix(in srgb, oklch(30.2% 0.056 229.695) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-cyan-950\\/40 {\n background-color: color-mix(in oklab, var(--color-cyan-950) 40%, transparent);\n }\n }\n .dark\\:bg-emerald-400 {\n background-color: var(--color-emerald-400);\n }\n .dark\\:bg-emerald-400\\/10 {\n background-color: color-mix(in srgb, oklch(76.5% 0.177 163.223) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-emerald-400\\/10 {\n background-color: color-mix(in oklab, var(--color-emerald-400) 10%, transparent);\n }\n }\n .dark\\:bg-emerald-500\\/5 {\n background-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 5%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-emerald-500\\/5 {\n background-color: color-mix(in oklab, var(--color-emerald-500) 5%, transparent);\n }\n }\n .dark\\:bg-emerald-500\\/10 {\n background-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-emerald-500\\/10 {\n background-color: color-mix(in oklab, var(--color-emerald-500) 10%, transparent);\n }\n }\n .dark\\:bg-emerald-500\\/20 {\n background-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-emerald-500\\/20 {\n background-color: color-mix(in oklab, var(--color-emerald-500) 20%, transparent);\n }\n }\n .dark\\:bg-emerald-700\\/40 {\n background-color: color-mix(in srgb, oklch(50.8% 0.118 165.612) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-emerald-700\\/40 {\n background-color: color-mix(in oklab, var(--color-emerald-700) 40%, transparent);\n }\n }\n .dark\\:bg-emerald-800\\/40 {\n background-color: color-mix(in srgb, oklch(43.2% 0.095 166.913) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-emerald-800\\/40 {\n background-color: color-mix(in oklab, var(--color-emerald-800) 40%, transparent);\n }\n }\n .dark\\:bg-emerald-900\\/20 {\n background-color: color-mix(in srgb, oklch(37.8% 0.077 168.94) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-emerald-900\\/20 {\n background-color: color-mix(in oklab, var(--color-emerald-900) 20%, transparent);\n }\n }\n .dark\\:bg-emerald-950\\/20 {\n background-color: color-mix(in srgb, oklch(26.2% 0.051 172.552) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-emerald-950\\/20 {\n background-color: color-mix(in oklab, var(--color-emerald-950) 20%, transparent);\n }\n }\n .dark\\:bg-emerald-950\\/40 {\n background-color: color-mix(in srgb, oklch(26.2% 0.051 172.552) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-emerald-950\\/40 {\n background-color: color-mix(in oklab, var(--color-emerald-950) 40%, transparent);\n }\n }\n .dark\\:bg-indigo-400 {\n background-color: var(--color-indigo-400);\n }\n .dark\\:bg-indigo-500\\/10 {\n background-color: color-mix(in srgb, oklch(58.5% 0.233 277.117) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-indigo-500\\/10 {\n background-color: color-mix(in oklab, var(--color-indigo-500) 10%, transparent);\n }\n }\n .dark\\:bg-indigo-500\\/20 {\n background-color: color-mix(in srgb, oklch(58.5% 0.233 277.117) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-indigo-500\\/20 {\n background-color: color-mix(in oklab, var(--color-indigo-500) 20%, transparent);\n }\n }\n .dark\\:bg-indigo-700\\/40 {\n background-color: color-mix(in srgb, oklch(45.7% 0.24 277.023) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-indigo-700\\/40 {\n background-color: color-mix(in oklab, var(--color-indigo-700) 40%, transparent);\n }\n }\n .dark\\:bg-indigo-800\\/30 {\n background-color: color-mix(in srgb, oklch(39.8% 0.195 277.366) 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-indigo-800\\/30 {\n background-color: color-mix(in oklab, var(--color-indigo-800) 30%, transparent);\n }\n }\n .dark\\:bg-indigo-900\\/30 {\n background-color: color-mix(in srgb, oklch(35.9% 0.144 278.697) 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-indigo-900\\/30 {\n background-color: color-mix(in oklab, var(--color-indigo-900) 30%, transparent);\n }\n }\n .dark\\:bg-orange-700\\/40 {\n background-color: color-mix(in srgb, oklch(55.3% 0.195 38.402) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-orange-700\\/40 {\n background-color: color-mix(in oklab, var(--color-orange-700) 40%, transparent);\n }\n }\n .dark\\:bg-pink-700\\/40 {\n background-color: color-mix(in srgb, oklch(52.5% 0.223 3.958) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-pink-700\\/40 {\n background-color: color-mix(in oklab, var(--color-pink-700) 40%, transparent);\n }\n }\n .dark\\:bg-pink-800\\/30 {\n background-color: color-mix(in srgb, oklch(45.9% 0.187 3.815) 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-pink-800\\/30 {\n background-color: color-mix(in oklab, var(--color-pink-800) 30%, transparent);\n }\n }\n .dark\\:bg-pink-900\\/20 {\n background-color: color-mix(in srgb, oklch(40.8% 0.153 2.432) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-pink-900\\/20 {\n background-color: color-mix(in oklab, var(--color-pink-900) 20%, transparent);\n }\n }\n .dark\\:bg-pink-950\\/40 {\n background-color: color-mix(in srgb, oklch(28.4% 0.109 3.907) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-pink-950\\/40 {\n background-color: color-mix(in oklab, var(--color-pink-950) 40%, transparent);\n }\n }\n .dark\\:bg-purple-700\\/40 {\n background-color: color-mix(in srgb, oklch(49.6% 0.265 301.924) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-purple-700\\/40 {\n background-color: color-mix(in oklab, var(--color-purple-700) 40%, transparent);\n }\n }\n .dark\\:bg-purple-800\\/40 {\n background-color: color-mix(in srgb, oklch(43.8% 0.218 303.724) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-purple-800\\/40 {\n background-color: color-mix(in oklab, var(--color-purple-800) 40%, transparent);\n }\n }\n .dark\\:bg-purple-900\\/20 {\n background-color: color-mix(in srgb, oklch(38.1% 0.176 304.987) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-purple-900\\/20 {\n background-color: color-mix(in oklab, var(--color-purple-900) 20%, transparent);\n }\n }\n .dark\\:bg-purple-950\\/40 {\n background-color: color-mix(in srgb, oklch(29.1% 0.149 302.717) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-purple-950\\/40 {\n background-color: color-mix(in oklab, var(--color-purple-950) 40%, transparent);\n }\n }\n .dark\\:bg-red-500\\/10 {\n background-color: color-mix(in srgb, oklch(63.7% 0.237 25.331) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-red-500\\/10 {\n background-color: color-mix(in oklab, var(--color-red-500) 10%, transparent);\n }\n }\n .dark\\:bg-rose-400\\/10 {\n background-color: color-mix(in srgb, oklch(71.2% 0.194 13.428) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-rose-400\\/10 {\n background-color: color-mix(in oklab, var(--color-rose-400) 10%, transparent);\n }\n }\n .dark\\:bg-rose-500\\/10 {\n background-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-rose-500\\/10 {\n background-color: color-mix(in oklab, var(--color-rose-500) 10%, transparent);\n }\n }\n .dark\\:bg-rose-900\\/40 {\n background-color: color-mix(in srgb, oklch(41% 0.159 10.272) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-rose-900\\/40 {\n background-color: color-mix(in oklab, var(--color-rose-900) 40%, transparent);\n }\n }\n .dark\\:bg-rose-950\\/20 {\n background-color: color-mix(in srgb, oklch(27.1% 0.105 12.094) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-rose-950\\/20 {\n background-color: color-mix(in oklab, var(--color-rose-950) 20%, transparent);\n }\n }\n .dark\\:bg-rose-950\\/30 {\n background-color: color-mix(in srgb, oklch(27.1% 0.105 12.094) 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-rose-950\\/30 {\n background-color: color-mix(in oklab, var(--color-rose-950) 30%, transparent);\n }\n }\n .dark\\:bg-slate-700 {\n background-color: var(--color-slate-700);\n }\n .dark\\:bg-slate-800 {\n background-color: var(--color-slate-800);\n }\n .dark\\:bg-slate-800\\/95 {\n background-color: color-mix(in srgb, oklch(27.9% 0.041 260.031) 95%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-slate-800\\/95 {\n background-color: color-mix(in oklab, var(--color-slate-800) 95%, transparent);\n }\n }\n .dark\\:bg-slate-900 {\n background-color: var(--color-slate-900);\n }\n .dark\\:bg-slate-900\\/50 {\n background-color: color-mix(in srgb, oklch(20.8% 0.042 265.755) 50%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-slate-900\\/50 {\n background-color: color-mix(in oklab, var(--color-slate-900) 50%, transparent);\n }\n }\n .dark\\:bg-slate-900\\/60 {\n background-color: color-mix(in srgb, oklch(20.8% 0.042 265.755) 60%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-slate-900\\/60 {\n background-color: color-mix(in oklab, var(--color-slate-900) 60%, transparent);\n }\n }\n .dark\\:bg-slate-900\\/80 {\n background-color: color-mix(in srgb, oklch(20.8% 0.042 265.755) 80%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-slate-900\\/80 {\n background-color: color-mix(in oklab, var(--color-slate-900) 80%, transparent);\n }\n }\n .dark\\:bg-slate-950 {\n background-color: var(--color-slate-950);\n }\n .dark\\:bg-transparent {\n background-color: transparent;\n }\n .dark\\:bg-violet-800\\/30 {\n background-color: color-mix(in srgb, oklch(43.2% 0.232 292.759) 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-violet-800\\/30 {\n background-color: color-mix(in oklab, var(--color-violet-800) 30%, transparent);\n }\n }\n .dark\\:bg-white\\/3 {\n background-color: color-mix(in srgb, #fff 3%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-white\\/3 {\n background-color: color-mix(in oklab, var(--color-white) 3%, transparent);\n }\n }\n .dark\\:bg-white\\/5 {\n background-color: color-mix(in srgb, #fff 5%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-white\\/5 {\n background-color: color-mix(in oklab, var(--color-white) 5%, transparent);\n }\n }\n .dark\\:bg-white\\/8 {\n background-color: color-mix(in srgb, #fff 8%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-white\\/8 {\n background-color: color-mix(in oklab, var(--color-white) 8%, transparent);\n }\n }\n .dark\\:bg-white\\/10 {\n background-color: color-mix(in srgb, #fff 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-white\\/10 {\n background-color: color-mix(in oklab, var(--color-white) 10%, transparent);\n }\n }\n .dark\\:bg-white\\/60 {\n background-color: color-mix(in srgb, #fff 60%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-white\\/60 {\n background-color: color-mix(in oklab, var(--color-white) 60%, transparent);\n }\n }\n .dark\\:bg-zinc-900 {\n background-color: var(--color-zinc-900);\n }\n .dark\\:from-white\\/10 {\n --tw-gradient-from: color-mix(in srgb, #fff 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:from-white\\/10 {\n --tw-gradient-from: color-mix(in oklab, var(--color-white) 10%, transparent);\n }\n }\n .dark\\:from-white\\/10 {\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .dark\\:to-white\\/5 {\n --tw-gradient-to: color-mix(in srgb, #fff 5%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:to-white\\/5 {\n --tw-gradient-to: color-mix(in oklab, var(--color-white) 5%, transparent);\n }\n }\n .dark\\:to-white\\/5 {\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .dark\\:text-amber-100 {\n color: var(--color-amber-100);\n }\n .dark\\:text-amber-200 {\n color: var(--color-amber-200);\n }\n .dark\\:text-amber-300 {\n color: var(--color-amber-300);\n }\n .dark\\:text-amber-400 {\n color: var(--color-amber-400);\n }\n .dark\\:text-blue-100 {\n color: var(--color-blue-100);\n }\n .dark\\:text-blue-300 {\n color: var(--color-blue-300);\n }\n .dark\\:text-blue-400 {\n color: var(--color-blue-400);\n }\n .dark\\:text-cyan-100 {\n color: var(--color-cyan-100);\n }\n .dark\\:text-cyan-300 {\n color: var(--color-cyan-300);\n }\n .dark\\:text-cyan-400 {\n color: var(--color-cyan-400);\n }\n .dark\\:text-emerald-100 {\n color: var(--color-emerald-100);\n }\n .dark\\:text-emerald-300 {\n color: var(--color-emerald-300);\n }\n .dark\\:text-emerald-400 {\n color: var(--color-emerald-400);\n }\n .dark\\:text-emerald-500\\/50 {\n color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 50%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-emerald-500\\/50 {\n color: color-mix(in oklab, var(--color-emerald-500) 50%, transparent);\n }\n }\n .dark\\:text-indigo-100 {\n color: var(--color-indigo-100);\n }\n .dark\\:text-indigo-200 {\n color: var(--color-indigo-200);\n }\n .dark\\:text-indigo-400 {\n color: var(--color-indigo-400);\n }\n .dark\\:text-indigo-400\\/70 {\n color: color-mix(in srgb, oklch(67.3% 0.182 276.935) 70%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-indigo-400\\/70 {\n color: color-mix(in oklab, var(--color-indigo-400) 70%, transparent);\n }\n }\n .dark\\:text-orange-100 {\n color: var(--color-orange-100);\n }\n .dark\\:text-pink-100 {\n color: var(--color-pink-100);\n }\n .dark\\:text-pink-300 {\n color: var(--color-pink-300);\n }\n .dark\\:text-pink-400 {\n color: var(--color-pink-400);\n }\n .dark\\:text-purple-100 {\n color: var(--color-purple-100);\n }\n .dark\\:text-purple-300 {\n color: var(--color-purple-300);\n }\n .dark\\:text-purple-400 {\n color: var(--color-purple-400);\n }\n .dark\\:text-red-400 {\n color: var(--color-red-400);\n }\n .dark\\:text-rose-400 {\n color: var(--color-rose-400);\n }\n .dark\\:text-slate-100 {\n color: var(--color-slate-100);\n }\n .dark\\:text-slate-300 {\n color: var(--color-slate-300);\n }\n .dark\\:text-slate-400 {\n color: var(--color-slate-400);\n }\n .dark\\:text-violet-200 {\n color: var(--color-violet-200);\n }\n .dark\\:text-white {\n color: var(--color-white);\n }\n .dark\\:text-white\\/20 {\n color: color-mix(in srgb, #fff 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-white\\/20 {\n color: color-mix(in oklab, var(--color-white) 20%, transparent);\n }\n }\n .dark\\:text-white\\/30 {\n color: color-mix(in srgb, #fff 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-white\\/30 {\n color: color-mix(in oklab, var(--color-white) 30%, transparent);\n }\n }\n .dark\\:text-white\\/40 {\n color: color-mix(in srgb, #fff 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-white\\/40 {\n color: color-mix(in oklab, var(--color-white) 40%, transparent);\n }\n }\n .dark\\:text-white\\/50 {\n color: color-mix(in srgb, #fff 50%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-white\\/50 {\n color: color-mix(in oklab, var(--color-white) 50%, transparent);\n }\n }\n .dark\\:text-white\\/60 {\n color: color-mix(in srgb, #fff 60%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-white\\/60 {\n color: color-mix(in oklab, var(--color-white) 60%, transparent);\n }\n }\n .dark\\:text-white\\/70 {\n color: color-mix(in srgb, #fff 70%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-white\\/70 {\n color: color-mix(in oklab, var(--color-white) 70%, transparent);\n }\n }\n .dark\\:text-white\\/75 {\n color: color-mix(in srgb, #fff 75%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-white\\/75 {\n color: color-mix(in oklab, var(--color-white) 75%, transparent);\n }\n }\n .dark\\:text-white\\/80 {\n color: color-mix(in srgb, #fff 80%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-white\\/80 {\n color: color-mix(in oklab, var(--color-white) 80%, transparent);\n }\n }\n .dark\\:text-white\\/90 {\n color: color-mix(in srgb, #fff 90%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-white\\/90 {\n color: color-mix(in oklab, var(--color-white) 90%, transparent);\n }\n }\n .dark\\:text-zinc-500 {\n color: var(--color-zinc-500);\n }\n .dark\\:ring-white\\/10 {\n --tw-ring-color: color-mix(in srgb, #fff 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:ring-white\\/10 {\n --tw-ring-color: color-mix(in oklab, var(--color-white) 10%, transparent);\n }\n }\n @media (hover: hover) {\n .dark\\:group-hover\\:border-white\\/50:is(:where(.group):hover *) {\n border-color: color-mix(in srgb, #fff 50%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:group-hover\\:border-white\\/50:is(:where(.group):hover *) {\n border-color: color-mix(in oklab, var(--color-white) 50%, transparent);\n }\n }\n .dark\\:hover\\:border-emerald-500\\/20:hover {\n border-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:border-emerald-500\\/20:hover {\n border-color: color-mix(in oklab, var(--color-emerald-500) 20%, transparent);\n }\n }\n .dark\\:hover\\:border-indigo-500\\/20:hover {\n border-color: color-mix(in srgb, oklch(58.5% 0.233 277.117) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:border-indigo-500\\/20:hover {\n border-color: color-mix(in oklab, var(--color-indigo-500) 20%, transparent);\n }\n }\n .dark\\:hover\\:border-rose-500\\/20:hover {\n border-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:border-rose-500\\/20:hover {\n border-color: color-mix(in oklab, var(--color-rose-500) 20%, transparent);\n }\n }\n .dark\\:hover\\:border-white\\/15:hover {\n border-color: color-mix(in srgb, #fff 15%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:border-white\\/15:hover {\n border-color: color-mix(in oklab, var(--color-white) 15%, transparent);\n }\n }\n .dark\\:hover\\:border-white\\/20:hover {\n border-color: color-mix(in srgb, #fff 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:border-white\\/20:hover {\n border-color: color-mix(in oklab, var(--color-white) 20%, transparent);\n }\n }\n .dark\\:hover\\:bg-emerald-500\\/10:hover {\n background-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:bg-emerald-500\\/10:hover {\n background-color: color-mix(in oklab, var(--color-emerald-500) 10%, transparent);\n }\n }\n .dark\\:hover\\:bg-indigo-500\\/10:hover {\n background-color: color-mix(in srgb, oklch(58.5% 0.233 277.117) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:bg-indigo-500\\/10:hover {\n background-color: color-mix(in oklab, var(--color-indigo-500) 10%, transparent);\n }\n }\n .dark\\:hover\\:bg-rose-500\\/10:hover {\n background-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:bg-rose-500\\/10:hover {\n background-color: color-mix(in oklab, var(--color-rose-500) 10%, transparent);\n }\n }\n .dark\\:hover\\:bg-rose-900\\/40:hover {\n background-color: color-mix(in srgb, oklch(41% 0.159 10.272) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:bg-rose-900\\/40:hover {\n background-color: color-mix(in oklab, var(--color-rose-900) 40%, transparent);\n }\n }\n .dark\\:hover\\:bg-slate-800:hover {\n background-color: var(--color-slate-800);\n }\n .dark\\:hover\\:bg-white\\/5:hover {\n background-color: color-mix(in srgb, #fff 5%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:bg-white\\/5:hover {\n background-color: color-mix(in oklab, var(--color-white) 5%, transparent);\n }\n }\n .dark\\:hover\\:bg-white\\/10:hover {\n background-color: color-mix(in srgb, #fff 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:bg-white\\/10:hover {\n background-color: color-mix(in oklab, var(--color-white) 10%, transparent);\n }\n }\n .dark\\:hover\\:bg-white\\/20:hover {\n background-color: color-mix(in srgb, #fff 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:bg-white\\/20:hover {\n background-color: color-mix(in oklab, var(--color-white) 20%, transparent);\n }\n }\n .dark\\:hover\\:text-blue-400:hover {\n color: var(--color-blue-400);\n }\n .dark\\:hover\\:text-emerald-400:hover {\n color: var(--color-emerald-400);\n }\n .dark\\:hover\\:text-indigo-300:hover {\n color: var(--color-indigo-300);\n }\n .dark\\:hover\\:text-indigo-400:hover {\n color: var(--color-indigo-400);\n }\n .dark\\:hover\\:text-rose-400:hover {\n color: var(--color-rose-400);\n }\n .dark\\:hover\\:text-slate-200:hover {\n color: var(--color-slate-200);\n }\n .dark\\:hover\\:text-white:hover {\n color: var(--color-white);\n }\n .dark\\:hover\\:text-white\\/60:hover {\n color: color-mix(in srgb, #fff 60%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:text-white\\/60:hover {\n color: color-mix(in oklab, var(--color-white) 60%, transparent);\n }\n }\n .dark\\:hover\\:text-white\\/70:hover {\n color: color-mix(in srgb, #fff 70%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:text-white\\/70:hover {\n color: color-mix(in oklab, var(--color-white) 70%, transparent);\n }\n }\n .dark\\:hover\\:text-white\\/80:hover {\n color: color-mix(in srgb, #fff 80%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:text-white\\/80:hover {\n color: color-mix(in oklab, var(--color-white) 80%, transparent);\n }\n }\n .dark\\:hover\\:text-white\\/90:hover {\n color: color-mix(in srgb, #fff 90%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:text-white\\/90:hover {\n color: color-mix(in oklab, var(--color-white) 90%, transparent);\n }\n }\n .dark\\:disabled\\:hover\\:text-white\\/40:disabled:hover {\n color: color-mix(in srgb, #fff 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:disabled\\:hover\\:text-white\\/40:disabled:hover {\n color: color-mix(in oklab, var(--color-white) 40%, transparent);\n }\n }\n .dark\\:disabled\\:hover\\:text-white\\/60:disabled:hover {\n color: color-mix(in srgb, #fff 60%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:disabled\\:hover\\:text-white\\/60:disabled:hover {\n color: color-mix(in oklab, var(--color-white) 60%, transparent);\n }\n }\n }\n }\n}\n@layer base {\n :root {\n --star: shape(evenodd from 50% 24.787%, curve by 7.143% 18.016% with 0% 0% / 2.9725% 13.814%, curve by 17.882% 7.197% with 4.171% 4.2025% / 17.882% 7.197%, curve by -17.882% 8.6765% with 0% 0% / -13.711% 4.474%, curve by -7.143% 16.5365% with -4.1705% 4.202% / -7.143% 16.5365%, curve by -8.6115% -16.5365% with 0% 0% / -4.441% -12.3345%, curve by -16.4135% -8.6765% with -4.171% -4.2025% / -16.4135% -8.6765%, curve by 16.4135% -7.197% with 0% 0% / 12.2425% -2.9945%, curve by 8.6115% -18.016% with 4.1705% -4.202% / 8.6115% -18.016%, close);\n --flower: shape(evenodd from 17.9665% 82.0335%, curve by -12.349% -32.0335% with -13.239% -5.129% / -18.021% -15.402%, curve by -0.0275% -22.203% with -3.1825% -9.331% / -3.074% -16.6605%, curve by 12.3765% -9.8305% with 2.3835% -4.3365% / 6.565% -7.579%, curve by 32.0335% -12.349% with 5.129% -13.239% / 15.402% -18.021%, curve by 20.4535% -0.8665% with 8.3805% -2.858% / 15.1465% -3.062%, curve by 11.58% 13.2155% with 5.225% 2.161% / 9.0355% 6.6475%, curve by 12.349% 32.0335% with 13.239% 5.129% / 18.021% 15.402%, curve by 0.5715% 21.1275% with 2.9805% 8.7395% / 3.0745% 15.723%, curve by -12.9205% 10.906% with -2.26% 4.88% / -6.638% 8.472%, curve by -32.0335% 12.349% with -5.129% 13.239% / -15.402% 18.021%, curve by -21.1215% 0.5745% with -8.736% 2.9795% / -15.718% 3.0745%, curve by -10.912% -12.9235% with -4.883% -2.2595% / -8.477% -6.6385%, close);\n --hexagon: shape(evenodd from 6.47% 67.001%, curve by 0% -34.002% with -1.1735% -7.7% / -1.1735% -26.302%, curve by 7.0415% -12.1965% with 0.7075% -4.641% / 3.3765% -9.2635%, curve by 29.447% -17.001% with 6.0815% -4.8665% / 22.192% -14.1675%, curve by 14.083% 0% with 4.3725% -1.708% / 9.7105% -1.708%, curve by 29.447% 17.001% with 7.255% 2.8335% / 23.3655% 12.1345%, curve by 7.0415% 12.1965% with 3.665% 2.933% / 6.334% 7.5555%, curve by 0% 34.002% with 1.1735% 7.7% / 1.1735% 26.302%, curve by -7.0415% 12.1965% with -0.7075% 4.641% / -3.3765% 9.2635%, curve by -29.447% 17.001% with -6.0815% 4.8665% / -22.192% 14.1675%, curve by -14.083% 0% with -4.3725% 1.708% / -9.7105% 1.708%, curve by -29.447% -17.001% with -7.255% -2.8335% / -23.3655% -12.1345%, curve by -7.0415% -12.1965% with -3.665% -2.933% / -6.334% -7.5555%, close);\n --cylinder: shape(evenodd from 10.5845% 59.7305%, curve by 0% -19.461% with -0.113% -1.7525% / -0.11% -18.14%, curve by 10.098% -26.213% with 0.837% -10.0375% / 3.821% -19.2625%, curve by 29.3175% -13.0215% with 7.2175% -7.992% / 17.682% -13.0215%, curve by 19.5845% 5.185% with 7.1265% 0% / 13.8135% 1.887%, curve by 9.8595% 7.9775% with 3.7065% 2.1185% / 7.035% 4.8195%, curve by 9.9715% 26.072% with 6.2015% 6.933% / 9.4345% 16.082%, curve by 0% 19.461% with 0.074% 1.384% / 0.0745% 17.7715%, curve by -13.0065% 29.1155% with -0.511% 11.5345% / -5.021% 21.933%, curve by -26.409% 10.119% with -6.991% 6.288% / -16.254% 10.119%, curve by -20.945% -5.9995% with -7.6935% 0% / -14.8755% -2.199%, curve by -8.713% -7.404% with -3.255% -2.0385% / -6.1905% -4.537%, curve by -9.7575% -25.831% with -6.074% -6.9035% / -9.1205% -15.963%, close);\n --circle: shape(evenodd from 13.482% 79.505%, curve by -7.1945% -12.47% with -1.4985% -1.8575% / -6.328% -10.225%, curve by 0.0985% -33.8965% with -4.1645% -10.7945% / -4.1685% -23.0235%, curve by 6.9955% -12.101% with 1.72% -4.3825% / 4.0845% -8.458%, curve by 30.125% -17.119% with 7.339% -9.1825% / 18.4775% -15.5135%, curve by 13.4165% 0.095% with 4.432% -0.6105% / 8.9505% -0.5855%, curve by 29.364% 16.9% with 11.6215% 1.77% / 22.102% 7.9015%, curve by 7.176% 12.4145% with 3.002% 3.7195% / 5.453% 7.968%, curve by -0.0475% 33.8925% with 4.168% 10.756% / 4.2305% 22.942%, curve by -7.1135% 12.2825% with -1.74% 4.4535% / -4.1455% 8.592%, curve by -29.404% 16.9075% with -7.202% 8.954% / -18.019% 15.137%, curve by -14.19% -0.018% with -4.6635% 0.7255% / -9.4575% 0.7205%, curve by -29.226% -16.8875% with -11.573% -1.8065% / -21.9955% -7.9235%, close);\n --heart: shape(evenodd from 51.311% 83.603%, curve by -8.333% -20.508% with -14.104% -4.287% / -16.406% -16.185%, curve by -4.271% -37.41% with -5.419% -9.658% / -6.815% -22.733%, curve by 13.589% -33.586% with 3.982% -7.448% / 8.411% -15.994%, curve by 28.187% -21.985% with 4.029% -4.29% / 4.029% -4.29%, curve by 33.835% 0.721% with 9.618% 4.647% / 22.541% 9.618%, curve by 37.596% 21.304% with 3.306% 13.266% / 7.589% 24.251%, curve by 21.985% 43.613% with -4.208% 3.982% / -15.994% 8.411%, curve by 0.721% 37.596% with -7.448% 4.029% / -15.994% 8.411%, curve by -16.185% 28.187% with -9.658% 5.419% / -22.733% 6.815%, curve by -37.41% 4.271% with -4.29% 4.029% / -4.29% 4.029%, curve by -33.586% -13.589% with -7.448% 3.982% / -15.994% 8.411%, curve by -28.187% -32.094% with -4.029% 4.029% / -4.029% 4.029%, close);\n --spiral: shape(evenodd from 13.347% 30.885%, curve by 5.502% 18.447% with 11.052% 5.562% / 19.995% 9.169%, curve by -20.309% 16.907% with -7.146% -1.332% / -9.016% -2.812%, curve by -25.848% -13.087% with -7.017% -7.46% / -9.941% -15.041%, curve by 10.154% -25.731% with 2.473% -6.063% / 7.163% -10.656%, curve by 31.473% -7.963% with 8.814% 2.403% / 13.84% 8.748%, curve by 16.526% 20.487% with -4.058% 1.502% / -9.51% 3.304%, curve by 5.502% 18.447% with 11.052% 5.562% / 19.995% 9.169%, close);\n --sun: shape(evenodd from 12.758% 22.039%, curve by 2.2585% 27.561% with 4.517% 18.961% / 2.2585% 27.561%, curve by 3.187% -11.541% with 2.2585% -8.483% / 4.7615% -12.541%, curve by 31.034% 31.034% with 31.034% 31.034% / 31.034% 31.034%, curve by 33.825% -14.163% with 8.961% -7.455% / 13.585% -11.059%, curve by 19.814% -34.731% with 4.7615% -12.541% / 2.2585% -27.561%, curve by 33.825% -14.163% with 2.2585% -8.483% / 4.517% -18.961%, curve by 19.814% -34.731% with 0% 0% / -3.187% 11.541%, curve by 33.825% -14.163% with 8.961% -7.455% / 13.585% -11.059%, curve by 31.034% 31.034% with 31.034% 31.034% / 31.034% 31.034%, curve by 19.814% -34.731% with 4.7615% -12.541% / 2.2585% -27.561%, curve by 33.825% -14.163% with 2.2585% -8.483% / 4.517% -18.961%, close);\n --star2: shape(open from 28.947% 47.744%, curve by 24.042% -2.139% with 0% 0% / -24.042% 2.139%, curve by 4.208% -25.165% with 4.208% -25.165% / 4.208% -25.165%, curve by 2.341% -18.447% with 0% 0% / 1.888% -1.438%, curve by 32.355% 1.085% with 0% 0% / 25.984% 1.085%, curve by -4.655% 25.165% with 0% 0% / -4.655% 25.165%, curve by -4.208% -25.165% with -4.208% -25.165% / -4.208% -25.165%, curve by 2.566% -4.208% with 0% 0% / 2.072% -1.639%, curve by 30.069% 1.085% with 0% 0% / 24.156% 1.085%, curve by -2.791% 25.165% with 0% 0% / -2.791% 25.165%, curve by -4.208% -25.165% with -4.208% -25.165% / -4.208% -25.165%, curve by 2.116% -4.208% with 0% 0% / 1.659% -1.557%, close);\n --tri-star: shape(open from 25% 25%, curve by 25% 25% with 0% 0% / 25% 25%, close);\n }\n}\n@property --tw-translate-x { syntax: "*"; inherits: false; initial-value: 0; }\n@property --tw-translate-y { syntax: "*"; inherits: false; initial-value: 0; }\n@property --tw-translate-z { syntax: "*"; inherits: false; initial-value: 0; }\n@property --tw-scale-x { syntax: "*"; inherits: false; initial-value: 1; }\n@property --tw-scale-y { syntax: "*"; inherits: false; initial-value: 1; }\n@property --tw-scale-z { syntax: "*"; inherits: false; initial-value: 1; }\n@property --tw-rotate-x { syntax: "*"; inherits: false; }\n@property --tw-rotate-y { syntax: "*"; inherits: false; }\n@property --tw-rotate-z { syntax: "*"; inherits: false; }\n@property --tw-skew-x { syntax: "*"; inherits: false; }\n@property --tw-skew-y { syntax: "*"; inherits: false; }\n@property --tw-scroll-snap-strictness { syntax: "*"; inherits: false; initial-value: proximity; }\n@property --tw-scrollbar-thumb { syntax: "<color>"; inherits: false; initial-value: #0000; }\n@property --tw-scrollbar-track { syntax: "<color>"; inherits: false; initial-value: #0000; }\n@property --tw-space-y-reverse { syntax: "*"; inherits: false; initial-value: 0; }\n@property --tw-divide-y-reverse { syntax: "*"; inherits: false; initial-value: 0; }\n@property --tw-border-style { syntax: "*"; inherits: false; initial-value: solid; }\n@property --tw-gradient-position { syntax: "*"; inherits: false; }\n@property --tw-gradient-from { syntax: "<color>"; inherits: false; initial-value: #0000; }\n@property --tw-gradient-via { syntax: "<color>"; inherits: false; initial-value: #0000; }\n@property --tw-gradient-to { syntax: "<color>"; inherits: false; initial-value: #0000; }\n@property --tw-gradient-stops { syntax: "*"; inherits: false; }\n@property --tw-gradient-via-stops { syntax: "*"; inherits: false; }\n@property --tw-gradient-from-position { syntax: "<length-percentage>"; inherits: false; initial-value: 0%; }\n@property --tw-gradient-via-position { syntax: "<length-percentage>"; inherits: false; initial-value: 50%; }\n@property --tw-gradient-to-position { syntax: "<length-percentage>"; inherits: false; initial-value: 100%; }\n@property --tw-leading { syntax: "*"; inherits: false; }\n@property --tw-font-weight { syntax: "*"; inherits: false; }\n@property --tw-tracking { syntax: "*"; inherits: false; }\n@property --tw-ordinal { syntax: "*"; inherits: false; }\n@property --tw-slashed-zero { syntax: "*"; inherits: false; }\n@property --tw-numeric-figure { syntax: "*"; inherits: false; }\n@property --tw-numeric-spacing { syntax: "*"; inherits: false; }\n@property --tw-numeric-fraction { syntax: "*"; inherits: false; }\n@property --tw-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }\n@property --tw-shadow-color { syntax: "*"; inherits: false; }\n@property --tw-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }\n@property --tw-inset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }\n@property --tw-inset-shadow-color { syntax: "*"; inherits: false; }\n@property --tw-inset-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }\n@property --tw-ring-color { syntax: "*"; inherits: false; }\n@property --tw-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }\n@property --tw-inset-ring-color { syntax: "*"; inherits: false; }\n@property --tw-inset-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }\n@property --tw-ring-inset { syntax: "*"; inherits: false; }\n@property --tw-ring-offset-width { syntax: "<length>"; inherits: false; initial-value: 0px; }\n@property --tw-ring-offset-color { syntax: "*"; inherits: false; initial-value: #fff; }\n@property --tw-ring-offset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }\n@property --tw-blur { syntax: "*"; inherits: false; }\n@property --tw-brightness { syntax: "*"; inherits: false; }\n@property --tw-contrast { syntax: "*"; inherits: false; }\n@property --tw-grayscale { syntax: "*"; inherits: false; }\n@property --tw-hue-rotate { syntax: "*"; inherits: false; }\n@property --tw-invert { syntax: "*"; inherits: false; }\n@property --tw-opacity { syntax: "*"; inherits: false; }\n@property --tw-saturate { syntax: "*"; inherits: false; }\n@property --tw-sepia { syntax: "*"; inherits: false; }\n@property --tw-drop-shadow { syntax: "*"; inherits: false; }\n@property --tw-drop-shadow-color { syntax: "*"; inherits: false; }\n@property --tw-drop-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }\n@property --tw-drop-shadow-size { syntax: "*"; inherits: false; }\n@property --tw-backdrop-blur { syntax: "*"; inherits: false; }\n@property --tw-backdrop-brightness { syntax: "*"; inherits: false; }\n@property --tw-backdrop-contrast { syntax: "*"; inherits: false; }\n@property --tw-backdrop-grayscale { syntax: "*"; inherits: false; }\n@property --tw-backdrop-hue-rotate { syntax: "*"; inherits: false; }\n@property --tw-backdrop-invert { syntax: "*"; inherits: false; }\n@property --tw-backdrop-opacity { syntax: "*"; inherits: false; }\n@property --tw-backdrop-saturate { syntax: "*"; inherits: false; }\n@property --tw-backdrop-sepia { syntax: "*"; inherits: false; }\n@property --tw-duration { syntax: "*"; inherits: false; }\n@property --tw-ease { syntax: "*"; inherits: false; }\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n@keyframes ping {\n 75%, 100% {\n transform: scale(2);\n opacity: 0;\n }\n}\n@keyframes pulse {\n 50% {\n opacity: 0.5;\n }\n}\n@keyframes bounce {\n 0%, 100% {\n transform: translateY(-25%);\n animation-timing-function: cubic-bezier(0.8, 0, 1, 1);\n }\n 50% {\n transform: none;\n animation-timing-function: cubic-bezier(0, 0, 0.2, 1);\n }\n}\n@keyframes shapeshift {\n 0% {\n clip-path: var(--circle);\n rotate: 0turn;\n }\n 25% {\n clip-path: var(--flower);\n }\n 50% {\n clip-path: var(--cylinder);\n }\n 75% {\n clip-path: var(--hexagon);\n }\n 100% {\n clip-path: var(--circle);\n rotate: 1turn;\n }\n 120% {\n clip-path: var(--flower);\n }\n 140% {\n clip-path: var(--cylinder);\n }\n 160% {\n clip-path: var(--hexagon);\n }\n 180% {\n clip-path: var(--circle);\n rotate: 1turn;\n }\n}\n@keyframes gradientMove {\n 0% {\n translate: 0 0;\n }\n 100% {\n translate: -75% -75%;\n }\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *,\n ::before,\n ::after,\n ::backdrop {\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-scale-z: 1;\n --tw-rotate-x: initial;\n --tw-rotate-y: initial;\n --tw-rotate-z: initial;\n --tw-skew-x: initial;\n --tw-skew-y: initial;\n --tw-scroll-snap-strictness: proximity;\n --tw-scrollbar-thumb: #0000;\n --tw-scrollbar-track: #0000;\n --tw-space-y-reverse: 0;\n --tw-divide-y-reverse: 0;\n --tw-border-style: solid;\n --tw-gradient-position: initial;\n --tw-gradient-from: #0000;\n --tw-gradient-via: #0000;\n --tw-gradient-to: #0000;\n --tw-gradient-stops: initial;\n --tw-gradient-via-stops: initial;\n --tw-gradient-from-position: 0%;\n --tw-gradient-via-position: 50%;\n --tw-gradient-to-position: 100%;\n --tw-leading: initial;\n --tw-font-weight: initial;\n --tw-tracking: initial;\n --tw-ordinal: initial;\n --tw-slashed-zero: initial;\n --tw-numeric-figure: initial;\n --tw-numeric-spacing: initial;\n --tw-numeric-fraction: initial;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-blur: initial;\n --tw-brightness: initial;\n --tw-contrast: initial;\n --tw-grayscale: initial;\n --tw-hue-rotate: initial;\n --tw-invert: initial;\n --tw-opacity: initial;\n --tw-saturate: initial;\n --tw-sepia: initial;\n --tw-drop-shadow: initial;\n --tw-drop-shadow-color: initial;\n --tw-drop-shadow-alpha: 100%;\n --tw-drop-shadow-size: initial;\n --tw-backdrop-blur: initial;\n --tw-backdrop-brightness: initial;\n --tw-backdrop-contrast: initial;\n --tw-backdrop-grayscale: initial;\n --tw-backdrop-hue-rotate: initial;\n --tw-backdrop-invert: initial;\n --tw-backdrop-opacity: initial;\n --tw-backdrop-saturate: initial;\n --tw-backdrop-sepia: initial;\n --tw-duration: initial;\n --tw-ease: initial;\n }\n }\n}\n');
63
+ styleInject('/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n@layer properties;\n@layer theme, base, components, utilities;\n@layer theme {\n :root,\n :host {\n --font-sans:\n -apple-system,\n BlinkMacSystemFont,\n "Segoe UI",\n Roboto,\n "Helvetica Neue",\n "Noto Sans",\n Arial,\n sans-serif,\n "Apple Color Emoji",\n "Segoe UI Emoji",\n "Segoe UI Symbol",\n "Noto Color Emoji";\n --font-mono:\n ui-monospace,\n SFMono-Regular,\n Menlo,\n Monaco,\n Consolas,\n "Liberation Mono",\n "Courier New",\n monospace;\n --color-red-50: oklch(97.1% 0.013 17.38);\n --color-red-200: oklch(88.5% 0.062 18.334);\n --color-red-400: oklch(70.4% 0.191 22.216);\n --color-red-500: oklch(63.7% 0.237 25.331);\n --color-red-600: oklch(57.7% 0.245 27.325);\n --color-orange-100: oklch(95.4% 0.038 75.164);\n --color-orange-700: oklch(55.3% 0.195 38.402);\n --color-orange-950: oklch(26.6% 0.079 36.259);\n --color-amber-50: oklch(98.7% 0.022 95.277);\n --color-amber-100: oklch(96.2% 0.059 95.617);\n --color-amber-200: oklch(92.4% 0.12 95.746);\n --color-amber-300: oklch(87.9% 0.169 91.605);\n --color-amber-400: oklch(82.8% 0.189 84.429);\n --color-amber-500: oklch(76.9% 0.188 70.08);\n --color-amber-600: oklch(66.6% 0.179 58.318);\n --color-amber-700: oklch(55.5% 0.163 48.998);\n --color-amber-800: oklch(47.3% 0.137 46.201);\n --color-amber-900: oklch(41.4% 0.112 45.904);\n --color-amber-950: oklch(27.9% 0.077 45.635);\n --color-emerald-50: oklch(97.9% 0.021 166.113);\n --color-emerald-100: oklch(95% 0.052 163.051);\n --color-emerald-200: oklch(90.5% 0.093 164.15);\n --color-emerald-300: oklch(84.5% 0.143 164.978);\n --color-emerald-400: oklch(76.5% 0.177 163.223);\n --color-emerald-500: oklch(69.6% 0.17 162.48);\n --color-emerald-600: oklch(59.6% 0.145 163.225);\n --color-emerald-700: oklch(50.8% 0.118 165.612);\n --color-emerald-800: oklch(43.2% 0.095 166.913);\n --color-emerald-900: oklch(37.8% 0.077 168.94);\n --color-emerald-950: oklch(26.2% 0.051 172.552);\n --color-teal-400: oklch(77.7% 0.152 181.912);\n --color-cyan-50: oklch(98.4% 0.019 200.873);\n --color-cyan-100: oklch(95.6% 0.045 203.388);\n --color-cyan-200: oklch(91.7% 0.08 205.041);\n --color-cyan-300: oklch(86.5% 0.127 207.078);\n --color-cyan-400: oklch(78.9% 0.154 211.53);\n --color-cyan-700: oklch(52% 0.105 223.128);\n --color-cyan-800: oklch(45% 0.085 224.283);\n --color-cyan-900: oklch(39.8% 0.07 227.392);\n --color-cyan-950: oklch(30.2% 0.056 229.695);\n --color-blue-50: oklch(97% 0.014 254.604);\n --color-blue-100: oklch(93.2% 0.032 255.585);\n --color-blue-200: oklch(88.2% 0.059 254.128);\n --color-blue-300: oklch(80.9% 0.105 251.813);\n --color-blue-400: oklch(70.7% 0.165 254.624);\n --color-blue-500: oklch(62.3% 0.214 259.815);\n --color-blue-600: oklch(54.6% 0.245 262.881);\n --color-blue-700: oklch(48.8% 0.243 264.376);\n --color-blue-800: oklch(42.4% 0.199 265.638);\n --color-blue-900: oklch(37.9% 0.146 265.522);\n --color-blue-950: oklch(28.2% 0.091 267.935);\n --color-indigo-50: oklch(96.2% 0.018 272.314);\n --color-indigo-100: oklch(93% 0.034 272.788);\n --color-indigo-200: oklch(87% 0.065 274.039);\n --color-indigo-300: oklch(78.5% 0.115 274.713);\n --color-indigo-400: oklch(67.3% 0.182 276.935);\n --color-indigo-500: oklch(58.5% 0.233 277.117);\n --color-indigo-600: oklch(51.1% 0.262 276.966);\n --color-indigo-700: oklch(45.7% 0.24 277.023);\n --color-indigo-800: oklch(39.8% 0.195 277.366);\n --color-indigo-900: oklch(35.9% 0.144 278.697);\n --color-indigo-950: oklch(25.7% 0.09 281.288);\n --color-violet-100: oklch(94.3% 0.029 294.588);\n --color-violet-200: oklch(89.4% 0.057 293.283);\n --color-violet-800: oklch(43.2% 0.232 292.759);\n --color-violet-900: oklch(38% 0.189 293.745);\n --color-purple-50: oklch(97.7% 0.014 308.299);\n --color-purple-100: oklch(94.6% 0.033 307.174);\n --color-purple-200: oklch(90.2% 0.063 306.703);\n --color-purple-300: oklch(82.7% 0.119 306.383);\n --color-purple-400: oklch(71.4% 0.203 305.504);\n --color-purple-700: oklch(49.6% 0.265 301.924);\n --color-purple-800: oklch(43.8% 0.218 303.724);\n --color-purple-900: oklch(38.1% 0.176 304.987);\n --color-purple-950: oklch(29.1% 0.149 302.717);\n --color-pink-50: oklch(97.1% 0.014 343.198);\n --color-pink-100: oklch(94.8% 0.028 342.258);\n --color-pink-200: oklch(89.9% 0.061 343.231);\n --color-pink-300: oklch(82.3% 0.12 346.018);\n --color-pink-400: oklch(71.8% 0.202 349.761);\n --color-pink-700: oklch(52.5% 0.223 3.958);\n --color-pink-800: oklch(45.9% 0.187 3.815);\n --color-pink-900: oklch(40.8% 0.153 2.432);\n --color-pink-950: oklch(28.4% 0.109 3.907);\n --color-rose-50: oklch(96.9% 0.015 12.422);\n --color-rose-100: oklch(94.1% 0.03 12.58);\n --color-rose-200: oklch(89.2% 0.058 10.001);\n --color-rose-400: oklch(71.2% 0.194 13.428);\n --color-rose-500: oklch(64.5% 0.246 16.439);\n --color-rose-600: oklch(58.6% 0.253 17.585);\n --color-rose-700: oklch(51.4% 0.222 16.935);\n --color-rose-800: oklch(45.5% 0.188 13.697);\n --color-rose-900: oklch(41% 0.159 10.272);\n --color-rose-950: oklch(27.1% 0.105 12.094);\n --color-slate-50: oklch(98.4% 0.003 247.858);\n --color-slate-100: oklch(96.8% 0.007 247.896);\n --color-slate-200: oklch(92.9% 0.013 255.508);\n --color-slate-300: oklch(86.9% 0.022 252.894);\n --color-slate-400: oklch(70.4% 0.04 256.788);\n --color-slate-500: oklch(55.4% 0.046 257.417);\n --color-slate-600: oklch(44.6% 0.043 257.281);\n --color-slate-700: oklch(37.2% 0.044 257.287);\n --color-slate-800: oklch(27.9% 0.041 260.031);\n --color-slate-900: oklch(20.8% 0.042 265.755);\n --color-slate-950: oklch(12.9% 0.042 264.695);\n --color-gray-500: oklch(55.1% 0.027 264.364);\n --color-zinc-500: oklch(55.2% 0.016 285.938);\n --color-zinc-800: oklch(27.4% 0.006 286.033);\n --color-zinc-900: oklch(21% 0.006 285.885);\n --color-black: #000;\n --color-white: #fff;\n --spacing: 0.25rem;\n --container-xs: 20rem;\n --container-sm: 24rem;\n --container-md: 28rem;\n --container-2xl: 42rem;\n --container-4xl: 56rem;\n --text-xs: 0.75rem;\n --text-xs--line-height: calc(1 / 0.75);\n --text-sm: 0.875rem;\n --text-sm--line-height: calc(1.25 / 0.875);\n --text-base: 1rem;\n --text-base--line-height: calc(1.5 / 1);\n --text-lg: 1.125rem;\n --text-lg--line-height: calc(1.75 / 1.125);\n --text-xl: 1.25rem;\n --text-xl--line-height: calc(1.75 / 1.25);\n --text-3xl: 1.875rem;\n --text-3xl--line-height: calc(2.25 / 1.875);\n --font-weight-medium: 500;\n --font-weight-semibold: 600;\n --font-weight-bold: 700;\n --font-weight-extrabold: 800;\n --font-weight-black: 900;\n --tracking-tight: -0.025em;\n --tracking-wider: 0.05em;\n --tracking-widest: 0.1em;\n --leading-tight: 1.25;\n --leading-snug: 1.375;\n --leading-relaxed: 1.625;\n --radius-sm: 0.25rem;\n --radius-md: 0.375rem;\n --radius-lg: 0.5rem;\n --radius-xl: 0.75rem;\n --radius-2xl: 1rem;\n --radius-3xl: 1.5rem;\n --drop-shadow-2xl: 0 25px 25px rgb(0 0 0 / 0.15);\n --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);\n --animate-spin: spin 1s linear infinite;\n --animate-ping: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;\n --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;\n --animate-bounce: bounce 1s infinite;\n --blur-sm: 8px;\n --blur-md: 12px;\n --blur-xl: 24px;\n --default-transition-duration: 150ms;\n --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n --default-font-family: var(--font-sans);\n --default-mono-font-family: var(--font-mono);\n }\n}\n@layer base {\n *,\n ::after,\n ::before,\n ::backdrop,\n ::file-selector-button {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: 0 solid;\n }\n html,\n :host {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");\n font-feature-settings: var(--default-font-feature-settings, normal);\n font-variation-settings: var(--default-font-variation-settings, normal);\n -webkit-tap-highlight-color: transparent;\n }\n hr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n }\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n a {\n color: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n }\n b,\n strong {\n font-weight: bolder;\n }\n code,\n kbd,\n samp,\n pre {\n font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);\n font-feature-settings: var(--default-mono-font-feature-settings, normal);\n font-variation-settings: var(--default-mono-font-variation-settings, normal);\n font-size: 1em;\n }\n small {\n font-size: 80%;\n }\n sub,\n sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n sub {\n bottom: -0.25em;\n }\n sup {\n top: -0.5em;\n }\n table {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n }\n :-moz-focusring:where(:not(iframe)) {\n outline: auto;\n }\n progress {\n vertical-align: baseline;\n }\n summary {\n display: list-item;\n }\n ol,\n ul,\n menu {\n list-style: none;\n }\n img,\n svg,\n video,\n canvas,\n audio,\n iframe,\n embed,\n object {\n display: block;\n vertical-align: middle;\n }\n img,\n video {\n max-width: 100%;\n height: auto;\n }\n button,\n input,\n select,\n optgroup,\n textarea,\n ::file-selector-button {\n font: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n letter-spacing: inherit;\n color: inherit;\n border-radius: 0;\n background-color: transparent;\n opacity: 1;\n }\n :where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n }\n :where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n }\n ::file-selector-button {\n margin-inline-end: 4px;\n }\n ::placeholder {\n opacity: 1;\n }\n @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {\n ::placeholder {\n color: currentcolor;\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, currentcolor 50%, transparent);\n }\n }\n }\n textarea {\n resize: vertical;\n }\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n ::-webkit-date-and-time-value {\n min-height: 1lh;\n text-align: inherit;\n }\n ::-webkit-datetime-edit {\n display: inline-flex;\n }\n ::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n }\n ::-webkit-datetime-edit,\n ::-webkit-datetime-edit-year-field,\n ::-webkit-datetime-edit-month-field,\n ::-webkit-datetime-edit-day-field,\n ::-webkit-datetime-edit-hour-field,\n ::-webkit-datetime-edit-minute-field,\n ::-webkit-datetime-edit-second-field,\n ::-webkit-datetime-edit-millisecond-field,\n ::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n }\n ::-webkit-calendar-picker-indicator {\n line-height: 1;\n }\n :-moz-ui-invalid {\n box-shadow: none;\n }\n button,\n input:where([type=button], [type=reset], [type=submit]),\n ::file-selector-button {\n appearance: button;\n }\n ::-webkit-inner-spin-button,\n ::-webkit-outer-spin-button {\n height: auto;\n }\n [hidden]:where(:not([hidden=until-found])) {\n display: none !important;\n }\n}\n@layer utilities {\n .pointer-events-auto {\n pointer-events: auto;\n }\n .pointer-events-none {\n pointer-events: none;\n }\n .absolute {\n position: absolute;\n }\n .fixed {\n position: fixed;\n }\n .relative {\n position: relative;\n }\n .static {\n position: static;\n }\n .sticky {\n position: sticky;\n }\n .inset-0 {\n inset: 0px;\n }\n .-top-8 {\n top: calc(var(--spacing) * -8);\n }\n .top-0 {\n top: 0px;\n }\n .top-1\\/2 {\n top: calc(1 / 2 * 100%);\n }\n .top-2 {\n top: calc(var(--spacing) * 2);\n }\n .top-4 {\n top: calc(var(--spacing) * 4);\n }\n .top-6 {\n top: calc(var(--spacing) * 6);\n }\n .top-20 {\n top: calc(var(--spacing) * 20);\n }\n .-right-4 {\n right: calc(var(--spacing) * -4);\n }\n .right-0 {\n right: 0px;\n }\n .right-2 {\n right: calc(var(--spacing) * 2);\n }\n .right-4 {\n right: calc(var(--spacing) * 4);\n }\n .right-5 {\n right: calc(var(--spacing) * 5);\n }\n .right-6 {\n right: calc(var(--spacing) * 6);\n }\n .-bottom-1\\.5 {\n bottom: calc(var(--spacing) * -1.5);\n }\n .bottom-3 {\n bottom: calc(var(--spacing) * 3);\n }\n .bottom-6 {\n bottom: calc(var(--spacing) * 6);\n }\n .bottom-20 {\n bottom: calc(var(--spacing) * 20);\n }\n .bottom-full {\n bottom: 100%;\n }\n .-left-4 {\n left: calc(var(--spacing) * -4);\n }\n .left-0 {\n left: 0px;\n }\n .left-1\\/2 {\n left: calc(1 / 2 * 100%);\n }\n .left-2 {\n left: calc(var(--spacing) * 2);\n }\n .left-2\\.5 {\n left: calc(var(--spacing) * 2.5);\n }\n .left-5 {\n left: calc(var(--spacing) * 5);\n }\n .left-6 {\n left: calc(var(--spacing) * 6);\n }\n .z-0 {\n z-index: 0;\n }\n .z-10 {\n z-index: 10;\n }\n .z-20 {\n z-index: 20;\n }\n .z-40 {\n z-index: 40;\n }\n .z-50 {\n z-index: 50;\n }\n .z-\\[100\\] {\n z-index: 100;\n }\n .z-\\[9998\\] {\n z-index: 9998;\n }\n .z-\\[9999\\] {\n z-index: 9999;\n }\n .container {\n width: 100%;\n @media (width >= 40rem) {\n max-width: 40rem;\n }\n @media (width >= 48rem) {\n max-width: 48rem;\n }\n @media (width >= 64rem) {\n max-width: 64rem;\n }\n @media (width >= 80rem) {\n max-width: 80rem;\n }\n @media (width >= 96rem) {\n max-width: 96rem;\n }\n }\n .mx-0\\.5 {\n margin-inline: calc(var(--spacing) * 0.5);\n }\n .mx-1 {\n margin-inline: var(--spacing);\n }\n .mx-4 {\n margin-inline: calc(var(--spacing) * 4);\n }\n .mx-6 {\n margin-inline: calc(var(--spacing) * 6);\n }\n .mx-auto {\n margin-inline: auto;\n }\n .my-1\\.5 {\n margin-block: calc(var(--spacing) * 1.5);\n }\n .my-2 {\n margin-block: calc(var(--spacing) * 2);\n }\n .my-3 {\n margin-block: calc(var(--spacing) * 3);\n }\n .my-4 {\n margin-block: calc(var(--spacing) * 4);\n }\n .my-5 {\n margin-block: calc(var(--spacing) * 5);\n }\n .my-6 {\n margin-block: calc(var(--spacing) * 6);\n }\n .my-auto {\n margin-block: auto;\n }\n .mt-0\\.5 {\n margin-top: calc(var(--spacing) * 0.5);\n }\n .mt-1 {\n margin-top: var(--spacing);\n }\n .mt-1\\.5 {\n margin-top: calc(var(--spacing) * 1.5);\n }\n .mt-2 {\n margin-top: calc(var(--spacing) * 2);\n }\n .mt-3 {\n margin-top: calc(var(--spacing) * 3);\n }\n .mt-4 {\n margin-top: calc(var(--spacing) * 4);\n }\n .mt-6 {\n margin-top: calc(var(--spacing) * 6);\n }\n .mt-8 {\n margin-top: calc(var(--spacing) * 8);\n }\n .mr-2 {\n margin-right: calc(var(--spacing) * 2);\n }\n .mb-0\\.5 {\n margin-bottom: calc(var(--spacing) * 0.5);\n }\n .mb-1 {\n margin-bottom: var(--spacing);\n }\n .mb-1\\.5 {\n margin-bottom: calc(var(--spacing) * 1.5);\n }\n .mb-2 {\n margin-bottom: calc(var(--spacing) * 2);\n }\n .mb-2\\.5 {\n margin-bottom: calc(var(--spacing) * 2.5);\n }\n .mb-3 {\n margin-bottom: calc(var(--spacing) * 3);\n }\n .mb-4 {\n margin-bottom: calc(var(--spacing) * 4);\n }\n .mb-6 {\n margin-bottom: calc(var(--spacing) * 6);\n }\n .ml-1 {\n margin-left: var(--spacing);\n }\n .ml-1\\.5 {\n margin-left: calc(var(--spacing) * 1.5);\n }\n .ml-2 {\n margin-left: calc(var(--spacing) * 2);\n }\n .ml-auto {\n margin-left: auto;\n }\n .line-clamp-1 {\n overflow: hidden;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n }\n .line-clamp-2 {\n overflow: hidden;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n }\n .line-clamp-3 {\n overflow: hidden;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 3;\n }\n .\\!table {\n display: table !important;\n }\n .\\!table-cell {\n display: table-cell !important;\n }\n .\\!table-header-group {\n display: table-header-group !important;\n }\n .\\!table-row {\n display: table-row !important;\n }\n .\\!table-row-group {\n display: table-row-group !important;\n }\n .block {\n display: block;\n }\n .contents {\n display: contents;\n }\n .flex {\n display: flex;\n }\n .grid {\n display: grid;\n }\n .hidden {\n display: none;\n }\n .inline {\n display: inline;\n }\n .inline-block {\n display: inline-block;\n }\n .inline-flex {\n display: inline-flex;\n }\n .table {\n display: table;\n }\n .aspect-\\[4\\/3\\] {\n aspect-ratio: 4/3;\n }\n .aspect-square {\n aspect-ratio: 1 / 1;\n }\n .h-1 {\n height: var(--spacing);\n }\n .h-1\\.5 {\n height: calc(var(--spacing) * 1.5);\n }\n .h-2 {\n height: calc(var(--spacing) * 2);\n }\n .h-2\\.5 {\n height: calc(var(--spacing) * 2.5);\n }\n .h-3 {\n height: calc(var(--spacing) * 3);\n }\n .h-3\\.5 {\n height: calc(var(--spacing) * 3.5);\n }\n .h-4 {\n height: calc(var(--spacing) * 4);\n }\n .h-5 {\n height: calc(var(--spacing) * 5);\n }\n .h-6 {\n height: calc(var(--spacing) * 6);\n }\n .h-7 {\n height: calc(var(--spacing) * 7);\n }\n .h-8 {\n height: calc(var(--spacing) * 8);\n }\n .h-9 {\n height: calc(var(--spacing) * 9);\n }\n .h-10 {\n height: calc(var(--spacing) * 10);\n }\n .h-11 {\n height: calc(var(--spacing) * 11);\n }\n .h-12 {\n height: calc(var(--spacing) * 12);\n }\n .h-14 {\n height: calc(var(--spacing) * 14);\n }\n .h-16 {\n height: calc(var(--spacing) * 16);\n }\n .h-28 {\n height: calc(var(--spacing) * 28);\n }\n .h-32 {\n height: calc(var(--spacing) * 32);\n }\n .h-40 {\n height: calc(var(--spacing) * 40);\n }\n .h-\\[400\\%\\] {\n height: 400%;\n }\n .h-\\[600px\\] {\n height: 600px;\n }\n .h-full {\n height: 100%;\n }\n .max-h-24 {\n max-height: calc(var(--spacing) * 24);\n }\n .max-h-32 {\n max-height: calc(var(--spacing) * 32);\n }\n .max-h-40 {\n max-height: calc(var(--spacing) * 40);\n }\n .max-h-56 {\n max-height: calc(var(--spacing) * 56);\n }\n .max-h-60 {\n max-height: calc(var(--spacing) * 60);\n }\n .max-h-64 {\n max-height: calc(var(--spacing) * 64);\n }\n .max-h-\\[320px\\] {\n max-height: 320px;\n }\n .max-h-\\[400px\\] {\n max-height: 400px;\n }\n .min-h-0 {\n min-height: 0px;\n }\n .min-h-\\[300px\\] {\n min-height: 300px;\n }\n .min-h-screen {\n min-height: 100vh;\n }\n .w-1\\.5 {\n width: calc(var(--spacing) * 1.5);\n }\n .w-2 {\n width: calc(var(--spacing) * 2);\n }\n .w-2\\.5 {\n width: calc(var(--spacing) * 2.5);\n }\n .w-3 {\n width: calc(var(--spacing) * 3);\n }\n .w-3\\.5 {\n width: calc(var(--spacing) * 3.5);\n }\n .w-4 {\n width: calc(var(--spacing) * 4);\n }\n .w-5 {\n width: calc(var(--spacing) * 5);\n }\n .w-6 {\n width: calc(var(--spacing) * 6);\n }\n .w-7 {\n width: calc(var(--spacing) * 7);\n }\n .w-8 {\n width: calc(var(--spacing) * 8);\n }\n .w-9 {\n width: calc(var(--spacing) * 9);\n }\n .w-10 {\n width: calc(var(--spacing) * 10);\n }\n .w-11 {\n width: calc(var(--spacing) * 11);\n }\n .w-12 {\n width: calc(var(--spacing) * 12);\n }\n .w-14 {\n width: calc(var(--spacing) * 14);\n }\n .w-16 {\n width: calc(var(--spacing) * 16);\n }\n .w-20 {\n width: calc(var(--spacing) * 20);\n }\n .w-28 {\n width: calc(var(--spacing) * 28);\n }\n .w-36 {\n width: calc(var(--spacing) * 36);\n }\n .w-40 {\n width: calc(var(--spacing) * 40);\n }\n .w-44 {\n width: calc(var(--spacing) * 44);\n }\n .w-64 {\n width: calc(var(--spacing) * 64);\n }\n .w-\\[3px\\] {\n width: 3px;\n }\n .w-\\[400\\%\\] {\n width: 400%;\n }\n .w-\\[500px\\] {\n width: 500px;\n }\n .w-\\[min\\(88\\%\\,18rem\\)\\] {\n width: min(88%, 18rem);\n }\n .w-full {\n width: 100%;\n }\n .w-px {\n width: 1px;\n }\n .max-w-2xl {\n max-width: var(--container-2xl);\n }\n .max-w-4xl {\n max-width: var(--container-4xl);\n }\n .max-w-\\[90\\%\\] {\n max-width: 90%;\n }\n .max-w-\\[92\\%\\] {\n max-width: 92%;\n }\n .max-w-\\[94\\%\\] {\n max-width: 94%;\n }\n .max-w-\\[120px\\] {\n max-width: 120px;\n }\n .max-w-\\[calc\\(100vw-3rem\\)\\] {\n max-width: calc(100vw - 3rem);\n }\n .max-w-full {\n max-width: 100%;\n }\n .max-w-md {\n max-width: var(--container-md);\n }\n .max-w-none {\n max-width: none;\n }\n .max-w-sm {\n max-width: var(--container-sm);\n }\n .max-w-xs {\n max-width: var(--container-xs);\n }\n .min-w-0 {\n min-width: 0px;\n }\n .min-w-\\[1\\.25rem\\] {\n min-width: 1.25rem;\n }\n .min-w-\\[11rem\\] {\n min-width: 11rem;\n }\n .min-w-\\[140px\\] {\n min-width: 140px;\n }\n .min-w-\\[220px\\] {\n min-width: 220px;\n }\n .min-w-\\[400px\\] {\n min-width: 400px;\n }\n .flex-1 {\n flex: 1;\n }\n .flex-shrink-0 {\n flex-shrink: 0;\n }\n .shrink-0 {\n flex-shrink: 0;\n }\n .flex-grow {\n flex-grow: 1;\n }\n .border-collapse {\n border-collapse: collapse;\n }\n .-translate-x-1\\/2 {\n --tw-translate-x: calc(calc(1 / 2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1\\/2 {\n --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .translate-y-0 {\n --tw-translate-y: 0px;\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .translate-y-4 {\n --tw-translate-y: calc(var(--spacing) * 4);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .scale-90 {\n --tw-scale-x: 90%;\n --tw-scale-y: 90%;\n --tw-scale-z: 90%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .scale-95 {\n --tw-scale-x: 95%;\n --tw-scale-y: 95%;\n --tw-scale-z: 95%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .scale-100 {\n --tw-scale-x: 100%;\n --tw-scale-y: 100%;\n --tw-scale-z: 100%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .scale-105 {\n --tw-scale-x: 105%;\n --tw-scale-y: 105%;\n --tw-scale-z: 105%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .scale-110 {\n --tw-scale-x: 110%;\n --tw-scale-y: 110%;\n --tw-scale-z: 110%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .rotate-0 {\n rotate: 0deg;\n }\n .rotate-45 {\n rotate: 45deg;\n }\n .rotate-90 {\n rotate: 90deg;\n }\n .transform {\n transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);\n }\n .animate-\\[pulse_1\\.2s_infinite\\] {\n animation: pulse 1.2s infinite;\n }\n .animate-bounce {\n animation: var(--animate-bounce);\n }\n .animate-ping {\n animation: var(--animate-ping);\n }\n .animate-pulse {\n animation: var(--animate-pulse);\n }\n .animate-spin {\n animation: var(--animate-spin);\n }\n .cursor-not-allowed {\n cursor: not-allowed;\n }\n .cursor-nw-resize {\n cursor: nw-resize;\n }\n .cursor-pointer {\n cursor: pointer;\n }\n .resize {\n resize: both;\n }\n .resize-none {\n resize: none;\n }\n .snap-x {\n scroll-snap-type: x var(--tw-scroll-snap-strictness);\n }\n .snap-mandatory {\n --tw-scroll-snap-strictness: mandatory;\n }\n .snap-start {\n scroll-snap-align: start;\n }\n .scrollbar-thin {\n scrollbar-width: thin;\n }\n .scrollbar-thumb-slate-200 {\n --tw-scrollbar-thumb: var(--color-slate-200);\n scrollbar-color: var(--tw-scrollbar-thumb) var(--tw-scrollbar-track);\n }\n .scrollbar-track-transparent {\n --tw-scrollbar-track: transparent;\n scrollbar-color: var(--tw-scrollbar-thumb) var(--tw-scrollbar-track);\n }\n .grid-cols-3 {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n .flex-col {\n flex-direction: column;\n }\n .flex-row {\n flex-direction: row;\n }\n .flex-row-reverse {\n flex-direction: row-reverse;\n }\n .flex-wrap {\n flex-wrap: wrap;\n }\n .items-center {\n align-items: center;\n }\n .items-end {\n align-items: flex-end;\n }\n .items-start {\n align-items: flex-start;\n }\n .justify-between {\n justify-content: space-between;\n }\n .justify-center {\n justify-content: center;\n }\n .justify-end {\n justify-content: flex-end;\n }\n .justify-start {\n justify-content: flex-start;\n }\n .gap-0\\.5 {\n gap: calc(var(--spacing) * 0.5);\n }\n .gap-1 {\n gap: var(--spacing);\n }\n .gap-1\\.5 {\n gap: calc(var(--spacing) * 1.5);\n }\n .gap-2 {\n gap: calc(var(--spacing) * 2);\n }\n .gap-2\\.5 {\n gap: calc(var(--spacing) * 2.5);\n }\n .gap-3 {\n gap: calc(var(--spacing) * 3);\n }\n .gap-4 {\n gap: calc(var(--spacing) * 4);\n }\n .gap-\\[2px\\] {\n gap: 2px;\n }\n :where(.space-y-0\\.5 > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 0.5) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 0.5) * calc(1 - var(--tw-space-y-reverse)));\n }\n :where(.space-y-1 > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(var(--spacing) * var(--tw-space-y-reverse));\n margin-block-end: calc(var(--spacing) * calc(1 - var(--tw-space-y-reverse)));\n }\n :where(.space-y-1\\.5 > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 1.5) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 1.5) * calc(1 - var(--tw-space-y-reverse)));\n }\n :where(.space-y-2 > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));\n }\n :where(.space-y-3 > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)));\n }\n :where(.space-y-4 > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));\n }\n :where(.space-y-5 > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)));\n }\n :where(.space-y-8 > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)));\n }\n :where(.divide-y > :not(:last-child)) {\n --tw-divide-y-reverse: 0;\n border-bottom-style: var(--tw-border-style);\n border-top-style: var(--tw-border-style);\n border-top-width: calc(1px * var(--tw-divide-y-reverse));\n border-bottom-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));\n }\n :where(.divide-slate-100 > :not(:last-child)) {\n border-color: var(--color-slate-100);\n }\n .truncate {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .overflow-auto {\n overflow: auto;\n }\n .overflow-hidden {\n overflow: hidden;\n }\n .overflow-x-auto {\n overflow-x: auto;\n }\n .overflow-y-auto {\n overflow-y: auto;\n }\n .rounded {\n border-radius: 0.25rem;\n }\n .rounded-2xl {\n border-radius: var(--radius-2xl);\n }\n .rounded-3xl {\n border-radius: var(--radius-3xl);\n }\n .rounded-\\[2px\\] {\n border-radius: 2px;\n }\n .rounded-full {\n border-radius: calc(infinity * 1px);\n }\n .rounded-lg {\n border-radius: var(--radius-lg);\n }\n .rounded-md {\n border-radius: var(--radius-md);\n }\n .rounded-none {\n border-radius: 0;\n }\n .rounded-sm {\n border-radius: var(--radius-sm);\n }\n .rounded-xl {\n border-radius: var(--radius-xl);\n }\n .rounded-t-md {\n border-top-left-radius: var(--radius-md);\n border-top-right-radius: var(--radius-md);\n }\n .rounded-tl-\\[2px\\] {\n border-top-left-radius: 2px;\n }\n .rounded-tl-sm {\n border-top-left-radius: var(--radius-sm);\n }\n .rounded-tr-sm {\n border-top-right-radius: var(--radius-sm);\n }\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .border-2 {\n border-style: var(--tw-border-style);\n border-width: 2px;\n }\n .border-t {\n border-top-style: var(--tw-border-style);\n border-top-width: 1px;\n }\n .border-t-2 {\n border-top-style: var(--tw-border-style);\n border-top-width: 2px;\n }\n .border-r {\n border-right-style: var(--tw-border-style);\n border-right-width: 1px;\n }\n .border-b {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 1px;\n }\n .border-b-2 {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 2px;\n }\n .border-l-2 {\n border-left-style: var(--tw-border-style);\n border-left-width: 2px;\n }\n .border-dashed {\n --tw-border-style: dashed;\n border-style: dashed;\n }\n .border-amber-100 {\n border-color: var(--color-amber-100);\n }\n .border-amber-200 {\n border-color: var(--color-amber-200);\n }\n .border-emerald-100 {\n border-color: var(--color-emerald-100);\n }\n .border-emerald-100\\/50 {\n border-color: color-mix(in srgb, oklch(95% 0.052 163.051) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-emerald-100) 50%, transparent);\n }\n }\n .border-emerald-200 {\n border-color: var(--color-emerald-200);\n }\n .border-emerald-200\\/80 {\n border-color: color-mix(in srgb, oklch(90.5% 0.093 164.15) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-emerald-200) 80%, transparent);\n }\n }\n .border-emerald-300\\/40 {\n border-color: color-mix(in srgb, oklch(84.5% 0.143 164.978) 40%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-emerald-300) 40%, transparent);\n }\n }\n .border-emerald-500 {\n border-color: var(--color-emerald-500);\n }\n .border-emerald-500\\/20 {\n border-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-emerald-500) 20%, transparent);\n }\n }\n .border-indigo-200 {\n border-color: var(--color-indigo-200);\n }\n .border-indigo-300 {\n border-color: var(--color-indigo-300);\n }\n .border-indigo-500 {\n border-color: var(--color-indigo-500);\n }\n .border-red-200 {\n border-color: var(--color-red-200);\n }\n .border-rose-100 {\n border-color: var(--color-rose-100);\n }\n .border-rose-200 {\n border-color: var(--color-rose-200);\n }\n .border-rose-200\\/50 {\n border-color: color-mix(in srgb, oklch(89.2% 0.058 10.001) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-rose-200) 50%, transparent);\n }\n }\n .border-rose-200\\/60 {\n border-color: color-mix(in srgb, oklch(89.2% 0.058 10.001) 60%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-rose-200) 60%, transparent);\n }\n }\n .border-rose-200\\/80 {\n border-color: color-mix(in srgb, oklch(89.2% 0.058 10.001) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-rose-200) 80%, transparent);\n }\n }\n .border-slate-100 {\n border-color: var(--color-slate-100);\n }\n .border-slate-200 {\n border-color: var(--color-slate-200);\n }\n .border-slate-200\\/50 {\n border-color: color-mix(in srgb, oklch(92.9% 0.013 255.508) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-slate-200) 50%, transparent);\n }\n }\n .border-slate-200\\/60 {\n border-color: color-mix(in srgb, oklch(92.9% 0.013 255.508) 60%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-slate-200) 60%, transparent);\n }\n }\n .border-slate-200\\/80 {\n border-color: color-mix(in srgb, oklch(92.9% 0.013 255.508) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-slate-200) 80%, transparent);\n }\n }\n .border-slate-300 {\n border-color: var(--color-slate-300);\n }\n .border-slate-800 {\n border-color: var(--color-slate-800);\n }\n .border-transparent {\n border-color: transparent;\n }\n .border-white {\n border-color: var(--color-white);\n }\n .border-white\\/5 {\n border-color: color-mix(in srgb, #fff 5%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-white) 5%, transparent);\n }\n }\n .border-white\\/8 {\n border-color: color-mix(in srgb, #fff 8%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-white) 8%, transparent);\n }\n }\n .border-white\\/25 {\n border-color: color-mix(in srgb, #fff 25%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-white) 25%, transparent);\n }\n }\n .border-t-transparent {\n border-top-color: transparent;\n }\n .bg-\\[\\#0d0d1a\\] {\n background-color: #0d0d1a;\n }\n .bg-\\[\\#080818\\] {\n background-color: #080818;\n }\n .bg-\\[var\\(--primary\\)\\] {\n background-color: var(--primary);\n }\n .bg-amber-50 {\n background-color: var(--color-amber-50);\n }\n .bg-amber-50\\/70 {\n background-color: color-mix(in srgb, oklch(98.7% 0.022 95.277) 70%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-amber-50) 70%, transparent);\n }\n }\n .bg-amber-100 {\n background-color: var(--color-amber-100);\n }\n .bg-amber-200 {\n background-color: var(--color-amber-200);\n }\n .bg-amber-500 {\n background-color: var(--color-amber-500);\n }\n .bg-amber-500\\/80 {\n background-color: color-mix(in srgb, oklch(76.9% 0.188 70.08) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-amber-500) 80%, transparent);\n }\n }\n .bg-blue-50 {\n background-color: var(--color-blue-50);\n }\n .bg-blue-100 {\n background-color: var(--color-blue-100);\n }\n .bg-blue-200 {\n background-color: var(--color-blue-200);\n }\n .bg-cyan-50 {\n background-color: var(--color-cyan-50);\n }\n .bg-cyan-100 {\n background-color: var(--color-cyan-100);\n }\n .bg-cyan-200 {\n background-color: var(--color-cyan-200);\n }\n .bg-emerald-50 {\n background-color: var(--color-emerald-50);\n }\n .bg-emerald-50\\/50 {\n background-color: color-mix(in srgb, oklch(97.9% 0.021 166.113) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-emerald-50) 50%, transparent);\n }\n }\n .bg-emerald-50\\/60 {\n background-color: color-mix(in srgb, oklch(97.9% 0.021 166.113) 60%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-emerald-50) 60%, transparent);\n }\n }\n .bg-emerald-100 {\n background-color: var(--color-emerald-100);\n }\n .bg-emerald-100\\/70 {\n background-color: color-mix(in srgb, oklch(95% 0.052 163.051) 70%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-emerald-100) 70%, transparent);\n }\n }\n .bg-emerald-200 {\n background-color: var(--color-emerald-200);\n }\n .bg-emerald-500 {\n background-color: var(--color-emerald-500);\n }\n .bg-emerald-500\\/10 {\n background-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-emerald-500) 10%, transparent);\n }\n }\n .bg-emerald-500\\/80 {\n background-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-emerald-500) 80%, transparent);\n }\n }\n .bg-indigo-50 {\n background-color: var(--color-indigo-50);\n }\n .bg-indigo-100 {\n background-color: var(--color-indigo-100);\n }\n .bg-indigo-500 {\n background-color: var(--color-indigo-500);\n }\n .bg-indigo-600 {\n background-color: var(--color-indigo-600);\n }\n .bg-orange-100 {\n background-color: var(--color-orange-100);\n }\n .bg-pink-50 {\n background-color: var(--color-pink-50);\n }\n .bg-pink-100 {\n background-color: var(--color-pink-100);\n }\n .bg-pink-200 {\n background-color: var(--color-pink-200);\n }\n .bg-purple-50 {\n background-color: var(--color-purple-50);\n }\n .bg-purple-100 {\n background-color: var(--color-purple-100);\n }\n .bg-purple-200 {\n background-color: var(--color-purple-200);\n }\n .bg-red-50 {\n background-color: var(--color-red-50);\n }\n .bg-red-500 {\n background-color: var(--color-red-500);\n }\n .bg-rose-50 {\n background-color: var(--color-rose-50);\n }\n .bg-rose-50\\/50 {\n background-color: color-mix(in srgb, oklch(96.9% 0.015 12.422) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-rose-50) 50%, transparent);\n }\n }\n .bg-rose-50\\/60 {\n background-color: color-mix(in srgb, oklch(96.9% 0.015 12.422) 60%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-rose-50) 60%, transparent);\n }\n }\n .bg-rose-100 {\n background-color: var(--color-rose-100);\n }\n .bg-rose-500 {\n background-color: var(--color-rose-500);\n }\n .bg-rose-500\\/10 {\n background-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-rose-500) 10%, transparent);\n }\n }\n .bg-rose-500\\/80 {\n background-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-rose-500) 80%, transparent);\n }\n }\n .bg-slate-50 {\n background-color: var(--color-slate-50);\n }\n .bg-slate-50\\/20 {\n background-color: color-mix(in srgb, oklch(98.4% 0.003 247.858) 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-slate-50) 20%, transparent);\n }\n }\n .bg-slate-50\\/50 {\n background-color: color-mix(in srgb, oklch(98.4% 0.003 247.858) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-slate-50) 50%, transparent);\n }\n }\n .bg-slate-50\\/80 {\n background-color: color-mix(in srgb, oklch(98.4% 0.003 247.858) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-slate-50) 80%, transparent);\n }\n }\n .bg-slate-100 {\n background-color: var(--color-slate-100);\n }\n .bg-slate-100\\/50 {\n background-color: color-mix(in srgb, oklch(96.8% 0.007 247.896) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-slate-100) 50%, transparent);\n }\n }\n .bg-slate-200 {\n background-color: var(--color-slate-200);\n }\n .bg-slate-200\\/70 {\n background-color: color-mix(in srgb, oklch(92.9% 0.013 255.508) 70%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-slate-200) 70%, transparent);\n }\n }\n .bg-slate-400 {\n background-color: var(--color-slate-400);\n }\n .bg-slate-800 {\n background-color: var(--color-slate-800);\n }\n .bg-slate-900 {\n background-color: var(--color-slate-900);\n }\n .bg-slate-900\\/50 {\n background-color: color-mix(in srgb, oklch(20.8% 0.042 265.755) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-slate-900) 50%, transparent);\n }\n }\n .bg-slate-900\\/90 {\n background-color: color-mix(in srgb, oklch(20.8% 0.042 265.755) 90%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-slate-900) 90%, transparent);\n }\n }\n .bg-slate-950 {\n background-color: var(--color-slate-950);\n }\n .bg-slate-950\\/70 {\n background-color: color-mix(in srgb, oklch(12.9% 0.042 264.695) 70%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-slate-950) 70%, transparent);\n }\n }\n .bg-transparent {\n background-color: transparent;\n }\n .bg-violet-100 {\n background-color: var(--color-violet-100);\n }\n .bg-white {\n background-color: var(--color-white);\n }\n .bg-white\\/15 {\n background-color: color-mix(in srgb, #fff 15%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-white) 15%, transparent);\n }\n }\n .bg-white\\/60 {\n background-color: color-mix(in srgb, #fff 60%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-white) 60%, transparent);\n }\n }\n .bg-white\\/90 {\n background-color: color-mix(in srgb, #fff 90%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-white) 90%, transparent);\n }\n }\n .bg-white\\/95 {\n background-color: color-mix(in srgb, #fff 95%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-white) 95%, transparent);\n }\n }\n .bg-gradient-to-br {\n --tw-gradient-position: to bottom right in oklab;\n background-image: linear-gradient(var(--tw-gradient-stops));\n }\n .bg-gradient-to-r {\n --tw-gradient-position: to right in oklab;\n background-image: linear-gradient(var(--tw-gradient-stops));\n }\n .from-emerald-500 {\n --tw-gradient-from: var(--color-emerald-500);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .from-slate-100 {\n --tw-gradient-from: var(--color-slate-100);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .to-slate-200 {\n --tw-gradient-to: var(--color-slate-200);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .to-teal-400 {\n --tw-gradient-to: var(--color-teal-400);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .stroke-\\[2\\.5\\] {\n stroke-width: 2.5;\n }\n .object-cover {\n object-fit: cover;\n }\n .p-0\\.5 {\n padding: calc(var(--spacing) * 0.5);\n }\n .p-1 {\n padding: var(--spacing);\n }\n .p-1\\.5 {\n padding: calc(var(--spacing) * 1.5);\n }\n .p-2 {\n padding: calc(var(--spacing) * 2);\n }\n .p-2\\.5 {\n padding: calc(var(--spacing) * 2.5);\n }\n .p-3 {\n padding: calc(var(--spacing) * 3);\n }\n .p-4 {\n padding: calc(var(--spacing) * 4);\n }\n .p-5 {\n padding: calc(var(--spacing) * 5);\n }\n .p-6 {\n padding: calc(var(--spacing) * 6);\n }\n .p-8 {\n padding: calc(var(--spacing) * 8);\n }\n .p-10 {\n padding: calc(var(--spacing) * 10);\n }\n .px-1 {\n padding-inline: var(--spacing);\n }\n .px-1\\.5 {\n padding-inline: calc(var(--spacing) * 1.5);\n }\n .px-2 {\n padding-inline: calc(var(--spacing) * 2);\n }\n .px-2\\.5 {\n padding-inline: calc(var(--spacing) * 2.5);\n }\n .px-3 {\n padding-inline: calc(var(--spacing) * 3);\n }\n .px-3\\.5 {\n padding-inline: calc(var(--spacing) * 3.5);\n }\n .px-4 {\n padding-inline: calc(var(--spacing) * 4);\n }\n .px-5 {\n padding-inline: calc(var(--spacing) * 5);\n }\n .px-6 {\n padding-inline: calc(var(--spacing) * 6);\n }\n .py-0\\.5 {\n padding-block: calc(var(--spacing) * 0.5);\n }\n .py-1 {\n padding-block: var(--spacing);\n }\n .py-1\\.5 {\n padding-block: calc(var(--spacing) * 1.5);\n }\n .py-2 {\n padding-block: calc(var(--spacing) * 2);\n }\n .py-2\\.5 {\n padding-block: calc(var(--spacing) * 2.5);\n }\n .py-3 {\n padding-block: calc(var(--spacing) * 3);\n }\n .py-4 {\n padding-block: calc(var(--spacing) * 4);\n }\n .py-6 {\n padding-block: calc(var(--spacing) * 6);\n }\n .py-8 {\n padding-block: calc(var(--spacing) * 8);\n }\n .pt-1 {\n padding-top: var(--spacing);\n }\n .pt-2 {\n padding-top: calc(var(--spacing) * 2);\n }\n .pr-1 {\n padding-right: var(--spacing);\n }\n .pr-2\\.5 {\n padding-right: calc(var(--spacing) * 2.5);\n }\n .pr-6 {\n padding-right: calc(var(--spacing) * 6);\n }\n .pb-3 {\n padding-bottom: calc(var(--spacing) * 3);\n }\n .pb-4 {\n padding-bottom: calc(var(--spacing) * 4);\n }\n .pb-6 {\n padding-bottom: calc(var(--spacing) * 6);\n }\n .pl-8 {\n padding-left: calc(var(--spacing) * 8);\n }\n .text-center {\n text-align: center;\n }\n .text-left {\n text-align: left;\n }\n .align-baseline {\n vertical-align: baseline;\n }\n .align-middle {\n vertical-align: middle;\n }\n .align-super {\n vertical-align: super;\n }\n .font-mono {\n font-family: var(--font-mono);\n }\n .text-3xl {\n font-size: var(--text-3xl);\n line-height: var(--tw-leading, var(--text-3xl--line-height));\n }\n .text-base {\n font-size: var(--text-base);\n line-height: var(--tw-leading, var(--text-base--line-height));\n }\n .text-lg {\n font-size: var(--text-lg);\n line-height: var(--tw-leading, var(--text-lg--line-height));\n }\n .text-sm {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n .text-xl {\n font-size: var(--text-xl);\n line-height: var(--tw-leading, var(--text-xl--line-height));\n }\n .text-xs {\n font-size: var(--text-xs);\n line-height: var(--tw-leading, var(--text-xs--line-height));\n }\n .text-\\[9px\\] {\n font-size: 9px;\n }\n .text-\\[10px\\] {\n font-size: 10px;\n }\n .text-\\[11px\\] {\n font-size: 11px;\n }\n .text-\\[12px\\] {\n font-size: 12px;\n }\n .text-\\[13px\\] {\n font-size: 13px;\n }\n .leading-relaxed {\n --tw-leading: var(--leading-relaxed);\n line-height: var(--leading-relaxed);\n }\n .leading-snug {\n --tw-leading: var(--leading-snug);\n line-height: var(--leading-snug);\n }\n .leading-tight {\n --tw-leading: var(--leading-tight);\n line-height: var(--leading-tight);\n }\n .font-black {\n --tw-font-weight: var(--font-weight-black);\n font-weight: var(--font-weight-black);\n }\n .font-bold {\n --tw-font-weight: var(--font-weight-bold);\n font-weight: var(--font-weight-bold);\n }\n .font-extrabold {\n --tw-font-weight: var(--font-weight-extrabold);\n font-weight: var(--font-weight-extrabold);\n }\n .font-medium {\n --tw-font-weight: var(--font-weight-medium);\n font-weight: var(--font-weight-medium);\n }\n .font-semibold {\n --tw-font-weight: var(--font-weight-semibold);\n font-weight: var(--font-weight-semibold);\n }\n .tracking-tight {\n --tw-tracking: var(--tracking-tight);\n letter-spacing: var(--tracking-tight);\n }\n .tracking-wider {\n --tw-tracking: var(--tracking-wider);\n letter-spacing: var(--tracking-wider);\n }\n .tracking-widest {\n --tw-tracking: var(--tracking-widest);\n letter-spacing: var(--tracking-widest);\n }\n .break-words {\n overflow-wrap: break-word;\n }\n .whitespace-nowrap {\n white-space: nowrap;\n }\n .whitespace-pre {\n white-space: pre;\n }\n .whitespace-pre-line {\n white-space: pre-line;\n }\n .whitespace-pre-wrap {\n white-space: pre-wrap;\n }\n .text-amber-400 {\n color: var(--color-amber-400);\n }\n .text-amber-500 {\n color: var(--color-amber-500);\n }\n .text-amber-600 {\n color: var(--color-amber-600);\n }\n .text-amber-700 {\n color: var(--color-amber-700);\n }\n .text-amber-800 {\n color: var(--color-amber-800);\n }\n .text-amber-900 {\n color: var(--color-amber-900);\n }\n .text-amber-950 {\n color: var(--color-amber-950);\n }\n .text-black {\n color: var(--color-black);\n }\n .text-blue-600 {\n color: var(--color-blue-600);\n }\n .text-blue-700 {\n color: var(--color-blue-700);\n }\n .text-blue-800 {\n color: var(--color-blue-800);\n }\n .text-blue-950 {\n color: var(--color-blue-950);\n }\n .text-cyan-700 {\n color: var(--color-cyan-700);\n }\n .text-cyan-800 {\n color: var(--color-cyan-800);\n }\n .text-cyan-950 {\n color: var(--color-cyan-950);\n }\n .text-emerald-400 {\n color: var(--color-emerald-400);\n }\n .text-emerald-500 {\n color: var(--color-emerald-500);\n }\n .text-emerald-500\\/70 {\n color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 70%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, var(--color-emerald-500) 70%, transparent);\n }\n }\n .text-emerald-600 {\n color: var(--color-emerald-600);\n }\n .text-emerald-700 {\n color: var(--color-emerald-700);\n }\n .text-emerald-800 {\n color: var(--color-emerald-800);\n }\n .text-emerald-900 {\n color: var(--color-emerald-900);\n }\n .text-emerald-950 {\n color: var(--color-emerald-950);\n }\n .text-gray-500 {\n color: var(--color-gray-500);\n }\n .text-indigo-200\\/85 {\n color: color-mix(in srgb, oklch(87% 0.065 274.039) 85%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, var(--color-indigo-200) 85%, transparent);\n }\n }\n .text-indigo-400 {\n color: var(--color-indigo-400);\n }\n .text-indigo-500 {\n color: var(--color-indigo-500);\n }\n .text-indigo-600 {\n color: var(--color-indigo-600);\n }\n .text-indigo-900 {\n color: var(--color-indigo-900);\n }\n .text-indigo-950 {\n color: var(--color-indigo-950);\n }\n .text-orange-950 {\n color: var(--color-orange-950);\n }\n .text-pink-700 {\n color: var(--color-pink-700);\n }\n .text-pink-800 {\n color: var(--color-pink-800);\n }\n .text-pink-950 {\n color: var(--color-pink-950);\n }\n .text-purple-700 {\n color: var(--color-purple-700);\n }\n .text-purple-800 {\n color: var(--color-purple-800);\n }\n .text-purple-950 {\n color: var(--color-purple-950);\n }\n .text-red-500 {\n color: var(--color-red-500);\n }\n .text-red-600 {\n color: var(--color-red-600);\n }\n .text-rose-400 {\n color: var(--color-rose-400);\n }\n .text-rose-500 {\n color: var(--color-rose-500);\n }\n .text-rose-600 {\n color: var(--color-rose-600);\n }\n .text-rose-700 {\n color: var(--color-rose-700);\n }\n .text-slate-100 {\n color: var(--color-slate-100);\n }\n .text-slate-300 {\n color: var(--color-slate-300);\n }\n .text-slate-400 {\n color: var(--color-slate-400);\n }\n .text-slate-500 {\n color: var(--color-slate-500);\n }\n .text-slate-600 {\n color: var(--color-slate-600);\n }\n .text-slate-700 {\n color: var(--color-slate-700);\n }\n .text-slate-800 {\n color: var(--color-slate-800);\n }\n .text-slate-900 {\n color: var(--color-slate-900);\n }\n .text-violet-900 {\n color: var(--color-violet-900);\n }\n .text-white {\n color: var(--color-white);\n }\n .text-white\\/25 {\n color: color-mix(in srgb, #fff 25%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, var(--color-white) 25%, transparent);\n }\n }\n .text-white\\/35 {\n color: color-mix(in srgb, #fff 35%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, var(--color-white) 35%, transparent);\n }\n }\n .lowercase {\n text-transform: lowercase;\n }\n .uppercase {\n text-transform: uppercase;\n }\n .italic {\n font-style: italic;\n }\n .tabular-nums {\n --tw-numeric-spacing: tabular-nums;\n font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);\n }\n .underline {\n text-decoration-line: underline;\n }\n .decoration-dotted {\n text-decoration-style: dotted;\n }\n .underline-offset-2 {\n text-underline-offset: 2px;\n }\n .antialiased {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n .placeholder-slate-400::placeholder {\n color: var(--color-slate-400);\n }\n .placeholder-white\\/60::placeholder {\n color: color-mix(in srgb, #fff 60%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, var(--color-white) 60%, transparent);\n }\n }\n .opacity-0 {\n opacity: 0%;\n }\n .opacity-20 {\n opacity: 20%;\n }\n .opacity-30 {\n opacity: 30%;\n }\n .opacity-40 {\n opacity: 40%;\n }\n .opacity-60 {\n opacity: 60%;\n }\n .opacity-70 {\n opacity: 70%;\n }\n .opacity-100 {\n opacity: 100%;\n }\n .shadow-2xl {\n --tw-shadow: 0 25px 50px -12px var(--tw-shadow-color, rgb(0 0 0 / 0.25));\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .shadow-lg {\n --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .shadow-md {\n --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .shadow-sm {\n --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .shadow-xl {\n --tw-shadow: 0 20px 25px -5px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 8px 10px -6px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .shadow-xs {\n --tw-shadow: 0 1px 2px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .ring {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .ring-1 {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .ring-2 {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .shadow-rose-500\\/20 {\n --tw-shadow-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--color-rose-500) 20%, transparent) var(--tw-shadow-alpha), transparent);\n }\n }\n .ring-red-400\\/40 {\n --tw-ring-color: color-mix(in srgb, oklch(70.4% 0.191 22.216) 40%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-ring-color: color-mix(in oklab, var(--color-red-400) 40%, transparent);\n }\n }\n .ring-rose-400\\/50 {\n --tw-ring-color: color-mix(in srgb, oklch(71.2% 0.194 13.428) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-ring-color: color-mix(in oklab, var(--color-rose-400) 50%, transparent);\n }\n }\n .ring-slate-200\\/80 {\n --tw-ring-color: color-mix(in srgb, oklch(92.9% 0.013 255.508) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-ring-color: color-mix(in oklab, var(--color-slate-200) 80%, transparent);\n }\n }\n .ring-offset-1 {\n --tw-ring-offset-width: 1px;\n --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n }\n .ring-offset-transparent {\n --tw-ring-offset-color: transparent;\n }\n .drop-shadow-2xl {\n --tw-drop-shadow-size: drop-shadow(0 25px 25px var(--tw-drop-shadow-color, rgb(0 0 0 / 0.15)));\n --tw-drop-shadow: drop-shadow(var(--drop-shadow-2xl));\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .grayscale {\n --tw-grayscale: grayscale(100%);\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .filter {\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .backdrop-blur-md {\n --tw-backdrop-blur: blur(var(--blur-md));\n -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n }\n .backdrop-blur-sm {\n --tw-backdrop-blur: blur(var(--blur-sm));\n -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n }\n .backdrop-blur-xl {\n --tw-backdrop-blur: blur(var(--blur-xl));\n -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n }\n .transition {\n transition-property:\n color,\n background-color,\n border-color,\n outline-color,\n text-decoration-color,\n fill,\n stroke,\n --tw-gradient-from,\n --tw-gradient-via,\n --tw-gradient-to,\n opacity,\n box-shadow,\n transform,\n translate,\n scale,\n rotate,\n filter,\n -webkit-backdrop-filter,\n backdrop-filter,\n display,\n content-visibility,\n overlay,\n pointer-events;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-all {\n transition-property: all;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-colors {\n transition-property:\n color,\n background-color,\n border-color,\n outline-color,\n text-decoration-color,\n fill,\n stroke,\n --tw-gradient-from,\n --tw-gradient-via,\n --tw-gradient-to;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-opacity {\n transition-property: opacity;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-shadow {\n transition-property: box-shadow;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-transform {\n transition-property:\n transform,\n translate,\n scale,\n rotate;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .duration-200 {\n --tw-duration: 200ms;\n transition-duration: 200ms;\n }\n .duration-300 {\n --tw-duration: 300ms;\n transition-duration: 300ms;\n }\n .duration-500 {\n --tw-duration: 500ms;\n transition-duration: 500ms;\n }\n .duration-700 {\n --tw-duration: 700ms;\n transition-duration: 700ms;\n }\n .ease-in-out {\n --tw-ease: var(--ease-in-out);\n transition-timing-function: var(--ease-in-out);\n }\n .outline-none {\n --tw-outline-style: none;\n outline-style: none;\n }\n .select-none {\n -webkit-user-select: none;\n user-select: none;\n }\n .select-text {\n -webkit-user-select: text;\n user-select: text;\n }\n .\\[animation-delay\\:0ms\\] {\n animation-delay: 0ms;\n }\n .\\[animation-delay\\:150ms\\] {\n animation-delay: 150ms;\n }\n .\\[animation-delay\\:300ms\\] {\n animation-delay: 300ms;\n }\n @media (hover: hover) {\n .group-hover\\:translate-x-0\\.5:is(:where(.group):hover *) {\n --tw-translate-x: calc(var(--spacing) * 0.5);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .group-hover\\:scale-100:is(:where(.group):hover *) {\n --tw-scale-x: 100%;\n --tw-scale-y: 100%;\n --tw-scale-z: 100%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .group-hover\\:scale-105:is(:where(.group):hover *) {\n --tw-scale-x: 105%;\n --tw-scale-y: 105%;\n --tw-scale-z: 105%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .group-hover\\:animate-\\[gradientMove_3\\.5s_ease-in-out_infinite_alternate\\]:is(:where(.group):hover *) {\n animation: gradientMove 3.5s ease-in-out infinite alternate;\n }\n .group-hover\\:animate-\\[shapeshift_5s_ease-in-out_infinite_forwards\\]:is(:where(.group):hover *) {\n animation: shapeshift 5s ease-in-out infinite forwards;\n }\n .group-hover\\:rounded-none:is(:where(.group):hover *) {\n border-radius: 0;\n }\n .group-hover\\:border-slate-500:is(:where(.group):hover *) {\n border-color: var(--color-slate-500);\n }\n .group-hover\\:opacity-100:is(:where(.group):hover *) {\n opacity: 100%;\n }\n }\n .focus-within\\:border-slate-300:focus-within {\n border-color: var(--color-slate-300);\n }\n @media (hover: hover) {\n .hover\\:scale-105:hover {\n --tw-scale-x: 105%;\n --tw-scale-y: 105%;\n --tw-scale-z: 105%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .hover\\:scale-110:hover {\n --tw-scale-x: 110%;\n --tw-scale-y: 110%;\n --tw-scale-z: 110%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .hover\\:scale-\\[1\\.01\\]:hover {\n scale: 1.01;\n }\n .hover\\:border-emerald-200:hover {\n border-color: var(--color-emerald-200);\n }\n .hover\\:border-indigo-200:hover {\n border-color: var(--color-indigo-200);\n }\n .hover\\:border-rose-200:hover {\n border-color: var(--color-rose-200);\n }\n .hover\\:border-slate-300:hover {\n border-color: var(--color-slate-300);\n }\n .hover\\:border-slate-300\\/60:hover {\n border-color: color-mix(in srgb, oklch(86.9% 0.022 252.894) 60%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .hover\\:border-slate-300\\/60:hover {\n border-color: color-mix(in oklab, var(--color-slate-300) 60%, transparent);\n }\n }\n .hover\\:border-slate-800:hover {\n border-color: var(--color-slate-800);\n }\n .hover\\:bg-amber-200:hover {\n background-color: var(--color-amber-200);\n }\n .hover\\:bg-emerald-50:hover {\n background-color: var(--color-emerald-50);\n }\n .hover\\:bg-indigo-50:hover {\n background-color: var(--color-indigo-50);\n }\n .hover\\:bg-rose-50:hover {\n background-color: var(--color-rose-50);\n }\n .hover\\:bg-rose-100:hover {\n background-color: var(--color-rose-100);\n }\n .hover\\:bg-rose-200:hover {\n background-color: var(--color-rose-200);\n }\n .hover\\:bg-rose-600:hover {\n background-color: var(--color-rose-600);\n }\n .hover\\:bg-slate-50:hover {\n background-color: var(--color-slate-50);\n }\n .hover\\:bg-slate-50\\/60:hover {\n background-color: color-mix(in srgb, oklch(98.4% 0.003 247.858) 60%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .hover\\:bg-slate-50\\/60:hover {\n background-color: color-mix(in oklab, var(--color-slate-50) 60%, transparent);\n }\n }\n .hover\\:bg-slate-50\\/70:hover {\n background-color: color-mix(in srgb, oklch(98.4% 0.003 247.858) 70%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .hover\\:bg-slate-50\\/70:hover {\n background-color: color-mix(in oklab, var(--color-slate-50) 70%, transparent);\n }\n }\n .hover\\:bg-slate-100:hover {\n background-color: var(--color-slate-100);\n }\n .hover\\:bg-slate-100\\/80:hover {\n background-color: color-mix(in srgb, oklch(96.8% 0.007 247.896) 80%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .hover\\:bg-slate-100\\/80:hover {\n background-color: color-mix(in oklab, var(--color-slate-100) 80%, transparent);\n }\n }\n .hover\\:bg-slate-200:hover {\n background-color: var(--color-slate-200);\n }\n .hover\\:bg-slate-200\\/30:hover {\n background-color: color-mix(in srgb, oklch(92.9% 0.013 255.508) 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .hover\\:bg-slate-200\\/30:hover {\n background-color: color-mix(in oklab, var(--color-slate-200) 30%, transparent);\n }\n }\n .hover\\:bg-slate-800:hover {\n background-color: var(--color-slate-800);\n }\n .hover\\:bg-white:hover {\n background-color: var(--color-white);\n }\n .hover\\:bg-white\\/5:hover {\n background-color: color-mix(in srgb, #fff 5%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .hover\\:bg-white\\/5:hover {\n background-color: color-mix(in oklab, var(--color-white) 5%, transparent);\n }\n }\n .hover\\:bg-white\\/25:hover {\n background-color: color-mix(in srgb, #fff 25%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .hover\\:bg-white\\/25:hover {\n background-color: color-mix(in oklab, var(--color-white) 25%, transparent);\n }\n }\n .hover\\:bg-white\\/90:hover {\n background-color: color-mix(in srgb, #fff 90%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .hover\\:bg-white\\/90:hover {\n background-color: color-mix(in oklab, var(--color-white) 90%, transparent);\n }\n }\n .hover\\:text-blue-500:hover {\n color: var(--color-blue-500);\n }\n .hover\\:text-emerald-400:hover {\n color: var(--color-emerald-400);\n }\n .hover\\:text-emerald-500:hover {\n color: var(--color-emerald-500);\n }\n .hover\\:text-indigo-300:hover {\n color: var(--color-indigo-300);\n }\n .hover\\:text-indigo-500:hover {\n color: var(--color-indigo-500);\n }\n .hover\\:text-indigo-600:hover {\n color: var(--color-indigo-600);\n }\n .hover\\:text-rose-500:hover {\n color: var(--color-rose-500);\n }\n .hover\\:text-slate-200:hover {\n color: var(--color-slate-200);\n }\n .hover\\:text-slate-600:hover {\n color: var(--color-slate-600);\n }\n .hover\\:text-slate-800:hover {\n color: var(--color-slate-800);\n }\n .hover\\:text-slate-900:hover {\n color: var(--color-slate-900);\n }\n .hover\\:text-white\\/80:hover {\n color: color-mix(in srgb, #fff 80%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .hover\\:text-white\\/80:hover {\n color: color-mix(in oklab, var(--color-white) 80%, transparent);\n }\n }\n .hover\\:underline:hover {\n text-decoration-line: underline;\n }\n .hover\\:opacity-80:hover {\n opacity: 80%;\n }\n .hover\\:opacity-90:hover {\n opacity: 90%;\n }\n .hover\\:opacity-95:hover {\n opacity: 95%;\n }\n .hover\\:shadow-lg:hover {\n --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .hover\\:shadow-md:hover {\n --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n }\n .focus\\:border-emerald-500:focus {\n border-color: var(--color-emerald-500);\n }\n .focus\\:ring-1:focus {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .focus\\:ring-blue-500:focus {\n --tw-ring-color: var(--color-blue-500);\n }\n .focus\\:ring-indigo-500:focus {\n --tw-ring-color: var(--color-indigo-500);\n }\n .focus\\:ring-white\\/60:focus {\n --tw-ring-color: color-mix(in srgb, #fff 60%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-ring-color: color-mix(in oklab, var(--color-white) 60%, transparent);\n }\n }\n .focus\\:outline-none:focus {\n --tw-outline-style: none;\n outline-style: none;\n }\n .active\\:scale-95:active {\n --tw-scale-x: 95%;\n --tw-scale-y: 95%;\n --tw-scale-z: 95%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .disabled\\:cursor-not-allowed:disabled {\n cursor: not-allowed;\n }\n .disabled\\:opacity-30:disabled {\n opacity: 30%;\n }\n .disabled\\:opacity-40:disabled {\n opacity: 40%;\n }\n .disabled\\:opacity-50:disabled {\n opacity: 50%;\n }\n @media (hover: hover) {\n .disabled\\:hover\\:scale-100:disabled:hover {\n --tw-scale-x: 100%;\n --tw-scale-y: 100%;\n --tw-scale-z: 100%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .disabled\\:hover\\:text-slate-400:disabled:hover {\n color: var(--color-slate-400);\n }\n .disabled\\:hover\\:text-slate-600:disabled:hover {\n color: var(--color-slate-600);\n }\n }\n .disabled\\:active\\:scale-100:disabled:active {\n --tw-scale-x: 100%;\n --tw-scale-y: 100%;\n --tw-scale-z: 100%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n @media (width >= 40rem) {\n .sm\\:inline {\n display: inline;\n }\n .sm\\:inline-flex {\n display: inline-flex;\n }\n .sm\\:grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n }\n @media (width >= 48rem) {\n .md\\:p-12 {\n padding: calc(var(--spacing) * 12);\n }\n .md\\:opacity-0 {\n opacity: 0%;\n }\n @media (hover: hover) {\n .md\\:group-hover\\/carousel\\:opacity-100:is(:where(.group\\/carousel):hover *) {\n opacity: 100%;\n }\n }\n }\n @media (prefers-color-scheme: dark) {\n .dark\\:scrollbar-thumb-white\\/10 {\n --tw-scrollbar-thumb: color-mix(in srgb, #fff 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:scrollbar-thumb-white\\/10 {\n --tw-scrollbar-thumb: color-mix(in oklab, var(--color-white) 10%, transparent);\n }\n }\n .dark\\:scrollbar-thumb-white\\/10 {\n scrollbar-color: var(--tw-scrollbar-thumb) var(--tw-scrollbar-track);\n }\n :where(.dark\\:divide-white\\/5 > :not(:last-child)) {\n border-color: color-mix(in srgb, #fff 5%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-white) 5%, transparent);\n }\n }\n .dark\\:border-amber-400\\/20 {\n border-color: color-mix(in srgb, oklch(82.8% 0.189 84.429) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-amber-400\\/20 {\n border-color: color-mix(in oklab, var(--color-amber-400) 20%, transparent);\n }\n }\n .dark\\:border-amber-500\\/20 {\n border-color: color-mix(in srgb, oklch(76.9% 0.188 70.08) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-amber-500\\/20 {\n border-color: color-mix(in oklab, var(--color-amber-500) 20%, transparent);\n }\n }\n .dark\\:border-amber-500\\/30 {\n border-color: color-mix(in srgb, oklch(76.9% 0.188 70.08) 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-amber-500\\/30 {\n border-color: color-mix(in oklab, var(--color-amber-500) 30%, transparent);\n }\n }\n .dark\\:border-emerald-400\\/20 {\n border-color: color-mix(in srgb, oklch(76.5% 0.177 163.223) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-emerald-400\\/20 {\n border-color: color-mix(in oklab, var(--color-emerald-400) 20%, transparent);\n }\n }\n .dark\\:border-emerald-500\\/10 {\n border-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-emerald-500\\/10 {\n border-color: color-mix(in oklab, var(--color-emerald-500) 10%, transparent);\n }\n }\n .dark\\:border-emerald-500\\/20 {\n border-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-emerald-500\\/20 {\n border-color: color-mix(in oklab, var(--color-emerald-500) 20%, transparent);\n }\n }\n .dark\\:border-emerald-500\\/25 {\n border-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 25%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-emerald-500\\/25 {\n border-color: color-mix(in oklab, var(--color-emerald-500) 25%, transparent);\n }\n }\n .dark\\:border-emerald-500\\/30 {\n border-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-emerald-500\\/30 {\n border-color: color-mix(in oklab, var(--color-emerald-500) 30%, transparent);\n }\n }\n .dark\\:border-indigo-500\\/20 {\n border-color: color-mix(in srgb, oklch(58.5% 0.233 277.117) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-indigo-500\\/20 {\n border-color: color-mix(in oklab, var(--color-indigo-500) 20%, transparent);\n }\n }\n .dark\\:border-indigo-500\\/40 {\n border-color: color-mix(in srgb, oklch(58.5% 0.233 277.117) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-indigo-500\\/40 {\n border-color: color-mix(in oklab, var(--color-indigo-500) 40%, transparent);\n }\n }\n .dark\\:border-red-500\\/20 {\n border-color: color-mix(in srgb, oklch(63.7% 0.237 25.331) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-red-500\\/20 {\n border-color: color-mix(in oklab, var(--color-red-500) 20%, transparent);\n }\n }\n .dark\\:border-rose-400\\/20 {\n border-color: color-mix(in srgb, oklch(71.2% 0.194 13.428) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-rose-400\\/20 {\n border-color: color-mix(in oklab, var(--color-rose-400) 20%, transparent);\n }\n }\n .dark\\:border-rose-500\\/20 {\n border-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-rose-500\\/20 {\n border-color: color-mix(in oklab, var(--color-rose-500) 20%, transparent);\n }\n }\n .dark\\:border-rose-500\\/25 {\n border-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 25%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-rose-500\\/25 {\n border-color: color-mix(in oklab, var(--color-rose-500) 25%, transparent);\n }\n }\n .dark\\:border-rose-500\\/30 {\n border-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-rose-500\\/30 {\n border-color: color-mix(in oklab, var(--color-rose-500) 30%, transparent);\n }\n }\n .dark\\:border-rose-800\\/40 {\n border-color: color-mix(in srgb, oklch(45.5% 0.188 13.697) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-rose-800\\/40 {\n border-color: color-mix(in oklab, var(--color-rose-800) 40%, transparent);\n }\n }\n .dark\\:border-slate-700 {\n border-color: var(--color-slate-700);\n }\n .dark\\:border-slate-800 {\n border-color: var(--color-slate-800);\n }\n .dark\\:border-white\\/5 {\n border-color: color-mix(in srgb, #fff 5%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-white\\/5 {\n border-color: color-mix(in oklab, var(--color-white) 5%, transparent);\n }\n }\n .dark\\:border-white\\/8 {\n border-color: color-mix(in srgb, #fff 8%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-white\\/8 {\n border-color: color-mix(in oklab, var(--color-white) 8%, transparent);\n }\n }\n .dark\\:border-white\\/10 {\n border-color: color-mix(in srgb, #fff 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-white\\/10 {\n border-color: color-mix(in oklab, var(--color-white) 10%, transparent);\n }\n }\n .dark\\:border-white\\/15 {\n border-color: color-mix(in srgb, #fff 15%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-white\\/15 {\n border-color: color-mix(in oklab, var(--color-white) 15%, transparent);\n }\n }\n .dark\\:border-white\\/20 {\n border-color: color-mix(in srgb, #fff 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-white\\/20 {\n border-color: color-mix(in oklab, var(--color-white) 20%, transparent);\n }\n }\n .dark\\:border-zinc-800 {\n border-color: var(--color-zinc-800);\n }\n .dark\\:bg-\\[\\#0f0f1a\\] {\n background-color: #0f0f1a;\n }\n .dark\\:bg-\\[\\#0f0f1a\\]\\/90 {\n background-color: color-mix(in oklab, #0f0f1a 90%, transparent);\n }\n .dark\\:bg-\\[\\#080811\\] {\n background-color: #080811;\n }\n .dark\\:bg-\\[\\#131322\\] {\n background-color: #131322;\n }\n .dark\\:bg-amber-400\\/10 {\n background-color: color-mix(in srgb, oklch(82.8% 0.189 84.429) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-amber-400\\/10 {\n background-color: color-mix(in oklab, var(--color-amber-400) 10%, transparent);\n }\n }\n .dark\\:bg-amber-500\\/10 {\n background-color: color-mix(in srgb, oklch(76.9% 0.188 70.08) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-amber-500\\/10 {\n background-color: color-mix(in oklab, var(--color-amber-500) 10%, transparent);\n }\n }\n .dark\\:bg-amber-700\\/40 {\n background-color: color-mix(in srgb, oklch(55.5% 0.163 48.998) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-amber-700\\/40 {\n background-color: color-mix(in oklab, var(--color-amber-700) 40%, transparent);\n }\n }\n .dark\\:bg-amber-800\\/30 {\n background-color: color-mix(in srgb, oklch(47.3% 0.137 46.201) 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-amber-800\\/30 {\n background-color: color-mix(in oklab, var(--color-amber-800) 30%, transparent);\n }\n }\n .dark\\:bg-amber-900\\/20 {\n background-color: color-mix(in srgb, oklch(41.4% 0.112 45.904) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-amber-900\\/20 {\n background-color: color-mix(in oklab, var(--color-amber-900) 20%, transparent);\n }\n }\n .dark\\:bg-amber-900\\/40 {\n background-color: color-mix(in srgb, oklch(41.4% 0.112 45.904) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-amber-900\\/40 {\n background-color: color-mix(in oklab, var(--color-amber-900) 40%, transparent);\n }\n }\n .dark\\:bg-amber-950\\/20 {\n background-color: color-mix(in srgb, oklch(27.9% 0.077 45.635) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-amber-950\\/20 {\n background-color: color-mix(in oklab, var(--color-amber-950) 20%, transparent);\n }\n }\n .dark\\:bg-amber-950\\/40 {\n background-color: color-mix(in srgb, oklch(27.9% 0.077 45.635) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-amber-950\\/40 {\n background-color: color-mix(in oklab, var(--color-amber-950) 40%, transparent);\n }\n }\n .dark\\:bg-black\\/30 {\n background-color: color-mix(in srgb, #000 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-black\\/30 {\n background-color: color-mix(in oklab, var(--color-black) 30%, transparent);\n }\n }\n .dark\\:bg-black\\/60 {\n background-color: color-mix(in srgb, #000 60%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-black\\/60 {\n background-color: color-mix(in oklab, var(--color-black) 60%, transparent);\n }\n }\n .dark\\:bg-blue-700\\/40 {\n background-color: color-mix(in srgb, oklch(48.8% 0.243 264.376) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-blue-700\\/40 {\n background-color: color-mix(in oklab, var(--color-blue-700) 40%, transparent);\n }\n }\n .dark\\:bg-blue-900\\/20 {\n background-color: color-mix(in srgb, oklch(37.9% 0.146 265.522) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-blue-900\\/20 {\n background-color: color-mix(in oklab, var(--color-blue-900) 20%, transparent);\n }\n }\n .dark\\:bg-blue-950\\/40 {\n background-color: color-mix(in srgb, oklch(28.2% 0.091 267.935) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-blue-950\\/40 {\n background-color: color-mix(in oklab, var(--color-blue-950) 40%, transparent);\n }\n }\n .dark\\:bg-cyan-700\\/40 {\n background-color: color-mix(in srgb, oklch(52% 0.105 223.128) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-cyan-700\\/40 {\n background-color: color-mix(in oklab, var(--color-cyan-700) 40%, transparent);\n }\n }\n .dark\\:bg-cyan-900\\/20 {\n background-color: color-mix(in srgb, oklch(39.8% 0.07 227.392) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-cyan-900\\/20 {\n background-color: color-mix(in oklab, var(--color-cyan-900) 20%, transparent);\n }\n }\n .dark\\:bg-cyan-950\\/40 {\n background-color: color-mix(in srgb, oklch(30.2% 0.056 229.695) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-cyan-950\\/40 {\n background-color: color-mix(in oklab, var(--color-cyan-950) 40%, transparent);\n }\n }\n .dark\\:bg-emerald-400 {\n background-color: var(--color-emerald-400);\n }\n .dark\\:bg-emerald-400\\/10 {\n background-color: color-mix(in srgb, oklch(76.5% 0.177 163.223) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-emerald-400\\/10 {\n background-color: color-mix(in oklab, var(--color-emerald-400) 10%, transparent);\n }\n }\n .dark\\:bg-emerald-500\\/5 {\n background-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 5%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-emerald-500\\/5 {\n background-color: color-mix(in oklab, var(--color-emerald-500) 5%, transparent);\n }\n }\n .dark\\:bg-emerald-500\\/10 {\n background-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-emerald-500\\/10 {\n background-color: color-mix(in oklab, var(--color-emerald-500) 10%, transparent);\n }\n }\n .dark\\:bg-emerald-500\\/20 {\n background-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-emerald-500\\/20 {\n background-color: color-mix(in oklab, var(--color-emerald-500) 20%, transparent);\n }\n }\n .dark\\:bg-emerald-700\\/40 {\n background-color: color-mix(in srgb, oklch(50.8% 0.118 165.612) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-emerald-700\\/40 {\n background-color: color-mix(in oklab, var(--color-emerald-700) 40%, transparent);\n }\n }\n .dark\\:bg-emerald-800\\/40 {\n background-color: color-mix(in srgb, oklch(43.2% 0.095 166.913) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-emerald-800\\/40 {\n background-color: color-mix(in oklab, var(--color-emerald-800) 40%, transparent);\n }\n }\n .dark\\:bg-emerald-900\\/20 {\n background-color: color-mix(in srgb, oklch(37.8% 0.077 168.94) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-emerald-900\\/20 {\n background-color: color-mix(in oklab, var(--color-emerald-900) 20%, transparent);\n }\n }\n .dark\\:bg-emerald-950\\/20 {\n background-color: color-mix(in srgb, oklch(26.2% 0.051 172.552) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-emerald-950\\/20 {\n background-color: color-mix(in oklab, var(--color-emerald-950) 20%, transparent);\n }\n }\n .dark\\:bg-emerald-950\\/40 {\n background-color: color-mix(in srgb, oklch(26.2% 0.051 172.552) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-emerald-950\\/40 {\n background-color: color-mix(in oklab, var(--color-emerald-950) 40%, transparent);\n }\n }\n .dark\\:bg-indigo-400 {\n background-color: var(--color-indigo-400);\n }\n .dark\\:bg-indigo-500\\/10 {\n background-color: color-mix(in srgb, oklch(58.5% 0.233 277.117) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-indigo-500\\/10 {\n background-color: color-mix(in oklab, var(--color-indigo-500) 10%, transparent);\n }\n }\n .dark\\:bg-indigo-500\\/20 {\n background-color: color-mix(in srgb, oklch(58.5% 0.233 277.117) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-indigo-500\\/20 {\n background-color: color-mix(in oklab, var(--color-indigo-500) 20%, transparent);\n }\n }\n .dark\\:bg-indigo-700\\/40 {\n background-color: color-mix(in srgb, oklch(45.7% 0.24 277.023) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-indigo-700\\/40 {\n background-color: color-mix(in oklab, var(--color-indigo-700) 40%, transparent);\n }\n }\n .dark\\:bg-indigo-800\\/30 {\n background-color: color-mix(in srgb, oklch(39.8% 0.195 277.366) 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-indigo-800\\/30 {\n background-color: color-mix(in oklab, var(--color-indigo-800) 30%, transparent);\n }\n }\n .dark\\:bg-indigo-900\\/30 {\n background-color: color-mix(in srgb, oklch(35.9% 0.144 278.697) 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-indigo-900\\/30 {\n background-color: color-mix(in oklab, var(--color-indigo-900) 30%, transparent);\n }\n }\n .dark\\:bg-orange-700\\/40 {\n background-color: color-mix(in srgb, oklch(55.3% 0.195 38.402) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-orange-700\\/40 {\n background-color: color-mix(in oklab, var(--color-orange-700) 40%, transparent);\n }\n }\n .dark\\:bg-pink-700\\/40 {\n background-color: color-mix(in srgb, oklch(52.5% 0.223 3.958) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-pink-700\\/40 {\n background-color: color-mix(in oklab, var(--color-pink-700) 40%, transparent);\n }\n }\n .dark\\:bg-pink-800\\/30 {\n background-color: color-mix(in srgb, oklch(45.9% 0.187 3.815) 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-pink-800\\/30 {\n background-color: color-mix(in oklab, var(--color-pink-800) 30%, transparent);\n }\n }\n .dark\\:bg-pink-900\\/20 {\n background-color: color-mix(in srgb, oklch(40.8% 0.153 2.432) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-pink-900\\/20 {\n background-color: color-mix(in oklab, var(--color-pink-900) 20%, transparent);\n }\n }\n .dark\\:bg-pink-950\\/40 {\n background-color: color-mix(in srgb, oklch(28.4% 0.109 3.907) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-pink-950\\/40 {\n background-color: color-mix(in oklab, var(--color-pink-950) 40%, transparent);\n }\n }\n .dark\\:bg-purple-700\\/40 {\n background-color: color-mix(in srgb, oklch(49.6% 0.265 301.924) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-purple-700\\/40 {\n background-color: color-mix(in oklab, var(--color-purple-700) 40%, transparent);\n }\n }\n .dark\\:bg-purple-800\\/40 {\n background-color: color-mix(in srgb, oklch(43.8% 0.218 303.724) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-purple-800\\/40 {\n background-color: color-mix(in oklab, var(--color-purple-800) 40%, transparent);\n }\n }\n .dark\\:bg-purple-900\\/20 {\n background-color: color-mix(in srgb, oklch(38.1% 0.176 304.987) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-purple-900\\/20 {\n background-color: color-mix(in oklab, var(--color-purple-900) 20%, transparent);\n }\n }\n .dark\\:bg-purple-950\\/40 {\n background-color: color-mix(in srgb, oklch(29.1% 0.149 302.717) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-purple-950\\/40 {\n background-color: color-mix(in oklab, var(--color-purple-950) 40%, transparent);\n }\n }\n .dark\\:bg-red-500\\/10 {\n background-color: color-mix(in srgb, oklch(63.7% 0.237 25.331) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-red-500\\/10 {\n background-color: color-mix(in oklab, var(--color-red-500) 10%, transparent);\n }\n }\n .dark\\:bg-rose-400\\/10 {\n background-color: color-mix(in srgb, oklch(71.2% 0.194 13.428) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-rose-400\\/10 {\n background-color: color-mix(in oklab, var(--color-rose-400) 10%, transparent);\n }\n }\n .dark\\:bg-rose-500\\/10 {\n background-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-rose-500\\/10 {\n background-color: color-mix(in oklab, var(--color-rose-500) 10%, transparent);\n }\n }\n .dark\\:bg-rose-500\\/20 {\n background-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-rose-500\\/20 {\n background-color: color-mix(in oklab, var(--color-rose-500) 20%, transparent);\n }\n }\n .dark\\:bg-rose-900\\/40 {\n background-color: color-mix(in srgb, oklch(41% 0.159 10.272) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-rose-900\\/40 {\n background-color: color-mix(in oklab, var(--color-rose-900) 40%, transparent);\n }\n }\n .dark\\:bg-rose-950\\/20 {\n background-color: color-mix(in srgb, oklch(27.1% 0.105 12.094) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-rose-950\\/20 {\n background-color: color-mix(in oklab, var(--color-rose-950) 20%, transparent);\n }\n }\n .dark\\:bg-rose-950\\/30 {\n background-color: color-mix(in srgb, oklch(27.1% 0.105 12.094) 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-rose-950\\/30 {\n background-color: color-mix(in oklab, var(--color-rose-950) 30%, transparent);\n }\n }\n .dark\\:bg-slate-700 {\n background-color: var(--color-slate-700);\n }\n .dark\\:bg-slate-800 {\n background-color: var(--color-slate-800);\n }\n .dark\\:bg-slate-800\\/95 {\n background-color: color-mix(in srgb, oklch(27.9% 0.041 260.031) 95%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-slate-800\\/95 {\n background-color: color-mix(in oklab, var(--color-slate-800) 95%, transparent);\n }\n }\n .dark\\:bg-slate-900 {\n background-color: var(--color-slate-900);\n }\n .dark\\:bg-slate-900\\/50 {\n background-color: color-mix(in srgb, oklch(20.8% 0.042 265.755) 50%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-slate-900\\/50 {\n background-color: color-mix(in oklab, var(--color-slate-900) 50%, transparent);\n }\n }\n .dark\\:bg-slate-900\\/60 {\n background-color: color-mix(in srgb, oklch(20.8% 0.042 265.755) 60%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-slate-900\\/60 {\n background-color: color-mix(in oklab, var(--color-slate-900) 60%, transparent);\n }\n }\n .dark\\:bg-slate-900\\/80 {\n background-color: color-mix(in srgb, oklch(20.8% 0.042 265.755) 80%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-slate-900\\/80 {\n background-color: color-mix(in oklab, var(--color-slate-900) 80%, transparent);\n }\n }\n .dark\\:bg-slate-950 {\n background-color: var(--color-slate-950);\n }\n .dark\\:bg-transparent {\n background-color: transparent;\n }\n .dark\\:bg-violet-800\\/30 {\n background-color: color-mix(in srgb, oklch(43.2% 0.232 292.759) 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-violet-800\\/30 {\n background-color: color-mix(in oklab, var(--color-violet-800) 30%, transparent);\n }\n }\n .dark\\:bg-white\\/3 {\n background-color: color-mix(in srgb, #fff 3%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-white\\/3 {\n background-color: color-mix(in oklab, var(--color-white) 3%, transparent);\n }\n }\n .dark\\:bg-white\\/5 {\n background-color: color-mix(in srgb, #fff 5%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-white\\/5 {\n background-color: color-mix(in oklab, var(--color-white) 5%, transparent);\n }\n }\n .dark\\:bg-white\\/8 {\n background-color: color-mix(in srgb, #fff 8%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-white\\/8 {\n background-color: color-mix(in oklab, var(--color-white) 8%, transparent);\n }\n }\n .dark\\:bg-white\\/10 {\n background-color: color-mix(in srgb, #fff 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-white\\/10 {\n background-color: color-mix(in oklab, var(--color-white) 10%, transparent);\n }\n }\n .dark\\:bg-white\\/60 {\n background-color: color-mix(in srgb, #fff 60%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-white\\/60 {\n background-color: color-mix(in oklab, var(--color-white) 60%, transparent);\n }\n }\n .dark\\:bg-zinc-900 {\n background-color: var(--color-zinc-900);\n }\n .dark\\:from-white\\/10 {\n --tw-gradient-from: color-mix(in srgb, #fff 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:from-white\\/10 {\n --tw-gradient-from: color-mix(in oklab, var(--color-white) 10%, transparent);\n }\n }\n .dark\\:from-white\\/10 {\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .dark\\:to-white\\/5 {\n --tw-gradient-to: color-mix(in srgb, #fff 5%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:to-white\\/5 {\n --tw-gradient-to: color-mix(in oklab, var(--color-white) 5%, transparent);\n }\n }\n .dark\\:to-white\\/5 {\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .dark\\:text-amber-100 {\n color: var(--color-amber-100);\n }\n .dark\\:text-amber-200 {\n color: var(--color-amber-200);\n }\n .dark\\:text-amber-300 {\n color: var(--color-amber-300);\n }\n .dark\\:text-amber-400 {\n color: var(--color-amber-400);\n }\n .dark\\:text-blue-100 {\n color: var(--color-blue-100);\n }\n .dark\\:text-blue-300 {\n color: var(--color-blue-300);\n }\n .dark\\:text-blue-400 {\n color: var(--color-blue-400);\n }\n .dark\\:text-cyan-100 {\n color: var(--color-cyan-100);\n }\n .dark\\:text-cyan-300 {\n color: var(--color-cyan-300);\n }\n .dark\\:text-cyan-400 {\n color: var(--color-cyan-400);\n }\n .dark\\:text-emerald-100 {\n color: var(--color-emerald-100);\n }\n .dark\\:text-emerald-300 {\n color: var(--color-emerald-300);\n }\n .dark\\:text-emerald-400 {\n color: var(--color-emerald-400);\n }\n .dark\\:text-emerald-500\\/50 {\n color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 50%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-emerald-500\\/50 {\n color: color-mix(in oklab, var(--color-emerald-500) 50%, transparent);\n }\n }\n .dark\\:text-indigo-100 {\n color: var(--color-indigo-100);\n }\n .dark\\:text-indigo-200 {\n color: var(--color-indigo-200);\n }\n .dark\\:text-indigo-400 {\n color: var(--color-indigo-400);\n }\n .dark\\:text-indigo-400\\/70 {\n color: color-mix(in srgb, oklch(67.3% 0.182 276.935) 70%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-indigo-400\\/70 {\n color: color-mix(in oklab, var(--color-indigo-400) 70%, transparent);\n }\n }\n .dark\\:text-orange-100 {\n color: var(--color-orange-100);\n }\n .dark\\:text-pink-100 {\n color: var(--color-pink-100);\n }\n .dark\\:text-pink-300 {\n color: var(--color-pink-300);\n }\n .dark\\:text-pink-400 {\n color: var(--color-pink-400);\n }\n .dark\\:text-purple-100 {\n color: var(--color-purple-100);\n }\n .dark\\:text-purple-300 {\n color: var(--color-purple-300);\n }\n .dark\\:text-purple-400 {\n color: var(--color-purple-400);\n }\n .dark\\:text-red-400 {\n color: var(--color-red-400);\n }\n .dark\\:text-rose-400 {\n color: var(--color-rose-400);\n }\n .dark\\:text-slate-100 {\n color: var(--color-slate-100);\n }\n .dark\\:text-slate-200 {\n color: var(--color-slate-200);\n }\n .dark\\:text-slate-300 {\n color: var(--color-slate-300);\n }\n .dark\\:text-slate-400 {\n color: var(--color-slate-400);\n }\n .dark\\:text-violet-200 {\n color: var(--color-violet-200);\n }\n .dark\\:text-white {\n color: var(--color-white);\n }\n .dark\\:text-white\\/20 {\n color: color-mix(in srgb, #fff 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-white\\/20 {\n color: color-mix(in oklab, var(--color-white) 20%, transparent);\n }\n }\n .dark\\:text-white\\/30 {\n color: color-mix(in srgb, #fff 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-white\\/30 {\n color: color-mix(in oklab, var(--color-white) 30%, transparent);\n }\n }\n .dark\\:text-white\\/40 {\n color: color-mix(in srgb, #fff 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-white\\/40 {\n color: color-mix(in oklab, var(--color-white) 40%, transparent);\n }\n }\n .dark\\:text-white\\/50 {\n color: color-mix(in srgb, #fff 50%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-white\\/50 {\n color: color-mix(in oklab, var(--color-white) 50%, transparent);\n }\n }\n .dark\\:text-white\\/60 {\n color: color-mix(in srgb, #fff 60%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-white\\/60 {\n color: color-mix(in oklab, var(--color-white) 60%, transparent);\n }\n }\n .dark\\:text-white\\/70 {\n color: color-mix(in srgb, #fff 70%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-white\\/70 {\n color: color-mix(in oklab, var(--color-white) 70%, transparent);\n }\n }\n .dark\\:text-white\\/75 {\n color: color-mix(in srgb, #fff 75%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-white\\/75 {\n color: color-mix(in oklab, var(--color-white) 75%, transparent);\n }\n }\n .dark\\:text-white\\/80 {\n color: color-mix(in srgb, #fff 80%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-white\\/80 {\n color: color-mix(in oklab, var(--color-white) 80%, transparent);\n }\n }\n .dark\\:text-white\\/90 {\n color: color-mix(in srgb, #fff 90%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-white\\/90 {\n color: color-mix(in oklab, var(--color-white) 90%, transparent);\n }\n }\n .dark\\:text-zinc-500 {\n color: var(--color-zinc-500);\n }\n .dark\\:ring-white\\/10 {\n --tw-ring-color: color-mix(in srgb, #fff 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:ring-white\\/10 {\n --tw-ring-color: color-mix(in oklab, var(--color-white) 10%, transparent);\n }\n }\n @media (hover: hover) {\n .dark\\:group-hover\\:border-white\\/50:is(:where(.group):hover *) {\n border-color: color-mix(in srgb, #fff 50%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:group-hover\\:border-white\\/50:is(:where(.group):hover *) {\n border-color: color-mix(in oklab, var(--color-white) 50%, transparent);\n }\n }\n .dark\\:hover\\:border-emerald-500\\/20:hover {\n border-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:border-emerald-500\\/20:hover {\n border-color: color-mix(in oklab, var(--color-emerald-500) 20%, transparent);\n }\n }\n .dark\\:hover\\:border-indigo-500\\/20:hover {\n border-color: color-mix(in srgb, oklch(58.5% 0.233 277.117) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:border-indigo-500\\/20:hover {\n border-color: color-mix(in oklab, var(--color-indigo-500) 20%, transparent);\n }\n }\n .dark\\:hover\\:border-rose-500\\/20:hover {\n border-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:border-rose-500\\/20:hover {\n border-color: color-mix(in oklab, var(--color-rose-500) 20%, transparent);\n }\n }\n .dark\\:hover\\:border-white\\/15:hover {\n border-color: color-mix(in srgb, #fff 15%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:border-white\\/15:hover {\n border-color: color-mix(in oklab, var(--color-white) 15%, transparent);\n }\n }\n .dark\\:hover\\:border-white\\/20:hover {\n border-color: color-mix(in srgb, #fff 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:border-white\\/20:hover {\n border-color: color-mix(in oklab, var(--color-white) 20%, transparent);\n }\n }\n .dark\\:hover\\:bg-amber-900\\/60:hover {\n background-color: color-mix(in srgb, oklch(41.4% 0.112 45.904) 60%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:bg-amber-900\\/60:hover {\n background-color: color-mix(in oklab, var(--color-amber-900) 60%, transparent);\n }\n }\n .dark\\:hover\\:bg-emerald-500\\/10:hover {\n background-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:bg-emerald-500\\/10:hover {\n background-color: color-mix(in oklab, var(--color-emerald-500) 10%, transparent);\n }\n }\n .dark\\:hover\\:bg-indigo-500\\/10:hover {\n background-color: color-mix(in srgb, oklch(58.5% 0.233 277.117) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:bg-indigo-500\\/10:hover {\n background-color: color-mix(in oklab, var(--color-indigo-500) 10%, transparent);\n }\n }\n .dark\\:hover\\:bg-rose-500\\/10:hover {\n background-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:bg-rose-500\\/10:hover {\n background-color: color-mix(in oklab, var(--color-rose-500) 10%, transparent);\n }\n }\n .dark\\:hover\\:bg-rose-500\\/20:hover {\n background-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:bg-rose-500\\/20:hover {\n background-color: color-mix(in oklab, var(--color-rose-500) 20%, transparent);\n }\n }\n .dark\\:hover\\:bg-rose-500\\/30:hover {\n background-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:bg-rose-500\\/30:hover {\n background-color: color-mix(in oklab, var(--color-rose-500) 30%, transparent);\n }\n }\n .dark\\:hover\\:bg-rose-900\\/40:hover {\n background-color: color-mix(in srgb, oklch(41% 0.159 10.272) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:bg-rose-900\\/40:hover {\n background-color: color-mix(in oklab, var(--color-rose-900) 40%, transparent);\n }\n }\n .dark\\:hover\\:bg-slate-800:hover {\n background-color: var(--color-slate-800);\n }\n .dark\\:hover\\:bg-white\\/5:hover {\n background-color: color-mix(in srgb, #fff 5%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:bg-white\\/5:hover {\n background-color: color-mix(in oklab, var(--color-white) 5%, transparent);\n }\n }\n .dark\\:hover\\:bg-white\\/10:hover {\n background-color: color-mix(in srgb, #fff 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:bg-white\\/10:hover {\n background-color: color-mix(in oklab, var(--color-white) 10%, transparent);\n }\n }\n .dark\\:hover\\:bg-white\\/20:hover {\n background-color: color-mix(in srgb, #fff 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:bg-white\\/20:hover {\n background-color: color-mix(in oklab, var(--color-white) 20%, transparent);\n }\n }\n .dark\\:hover\\:text-blue-400:hover {\n color: var(--color-blue-400);\n }\n .dark\\:hover\\:text-emerald-400:hover {\n color: var(--color-emerald-400);\n }\n .dark\\:hover\\:text-indigo-300:hover {\n color: var(--color-indigo-300);\n }\n .dark\\:hover\\:text-indigo-400:hover {\n color: var(--color-indigo-400);\n }\n .dark\\:hover\\:text-rose-400:hover {\n color: var(--color-rose-400);\n }\n .dark\\:hover\\:text-slate-200:hover {\n color: var(--color-slate-200);\n }\n .dark\\:hover\\:text-white:hover {\n color: var(--color-white);\n }\n .dark\\:hover\\:text-white\\/60:hover {\n color: color-mix(in srgb, #fff 60%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:text-white\\/60:hover {\n color: color-mix(in oklab, var(--color-white) 60%, transparent);\n }\n }\n .dark\\:hover\\:text-white\\/70:hover {\n color: color-mix(in srgb, #fff 70%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:text-white\\/70:hover {\n color: color-mix(in oklab, var(--color-white) 70%, transparent);\n }\n }\n .dark\\:hover\\:text-white\\/80:hover {\n color: color-mix(in srgb, #fff 80%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:text-white\\/80:hover {\n color: color-mix(in oklab, var(--color-white) 80%, transparent);\n }\n }\n .dark\\:hover\\:text-white\\/90:hover {\n color: color-mix(in srgb, #fff 90%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:text-white\\/90:hover {\n color: color-mix(in oklab, var(--color-white) 90%, transparent);\n }\n }\n .dark\\:disabled\\:hover\\:text-white\\/40:disabled:hover {\n color: color-mix(in srgb, #fff 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:disabled\\:hover\\:text-white\\/40:disabled:hover {\n color: color-mix(in oklab, var(--color-white) 40%, transparent);\n }\n }\n .dark\\:disabled\\:hover\\:text-white\\/60:disabled:hover {\n color: color-mix(in srgb, #fff 60%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:disabled\\:hover\\:text-white\\/60:disabled:hover {\n color: color-mix(in oklab, var(--color-white) 60%, transparent);\n }\n }\n }\n }\n}\n@layer base {\n :root {\n --star: shape(evenodd from 50% 24.787%, curve by 7.143% 18.016% with 0% 0% / 2.9725% 13.814%, curve by 17.882% 7.197% with 4.171% 4.2025% / 17.882% 7.197%, curve by -17.882% 8.6765% with 0% 0% / -13.711% 4.474%, curve by -7.143% 16.5365% with -4.1705% 4.202% / -7.143% 16.5365%, curve by -8.6115% -16.5365% with 0% 0% / -4.441% -12.3345%, curve by -16.4135% -8.6765% with -4.171% -4.2025% / -16.4135% -8.6765%, curve by 16.4135% -7.197% with 0% 0% / 12.2425% -2.9945%, curve by 8.6115% -18.016% with 4.1705% -4.202% / 8.6115% -18.016%, close);\n --flower: shape(evenodd from 17.9665% 82.0335%, curve by -12.349% -32.0335% with -13.239% -5.129% / -18.021% -15.402%, curve by -0.0275% -22.203% with -3.1825% -9.331% / -3.074% -16.6605%, curve by 12.3765% -9.8305% with 2.3835% -4.3365% / 6.565% -7.579%, curve by 32.0335% -12.349% with 5.129% -13.239% / 15.402% -18.021%, curve by 20.4535% -0.8665% with 8.3805% -2.858% / 15.1465% -3.062%, curve by 11.58% 13.2155% with 5.225% 2.161% / 9.0355% 6.6475%, curve by 12.349% 32.0335% with 13.239% 5.129% / 18.021% 15.402%, curve by 0.5715% 21.1275% with 2.9805% 8.7395% / 3.0745% 15.723%, curve by -12.9205% 10.906% with -2.26% 4.88% / -6.638% 8.472%, curve by -32.0335% 12.349% with -5.129% 13.239% / -15.402% 18.021%, curve by -21.1215% 0.5745% with -8.736% 2.9795% / -15.718% 3.0745%, curve by -10.912% -12.9235% with -4.883% -2.2595% / -8.477% -6.6385%, close);\n --hexagon: shape(evenodd from 6.47% 67.001%, curve by 0% -34.002% with -1.1735% -7.7% / -1.1735% -26.302%, curve by 7.0415% -12.1965% with 0.7075% -4.641% / 3.3765% -9.2635%, curve by 29.447% -17.001% with 6.0815% -4.8665% / 22.192% -14.1675%, curve by 14.083% 0% with 4.3725% -1.708% / 9.7105% -1.708%, curve by 29.447% 17.001% with 7.255% 2.8335% / 23.3655% 12.1345%, curve by 7.0415% 12.1965% with 3.665% 2.933% / 6.334% 7.5555%, curve by 0% 34.002% with 1.1735% 7.7% / 1.1735% 26.302%, curve by -7.0415% 12.1965% with -0.7075% 4.641% / -3.3765% 9.2635%, curve by -29.447% 17.001% with -6.0815% 4.8665% / -22.192% 14.1675%, curve by -14.083% 0% with -4.3725% 1.708% / -9.7105% 1.708%, curve by -29.447% -17.001% with -7.255% -2.8335% / -23.3655% -12.1345%, curve by -7.0415% -12.1965% with -3.665% -2.933% / -6.334% -7.5555%, close);\n --cylinder: shape(evenodd from 10.5845% 59.7305%, curve by 0% -19.461% with -0.113% -1.7525% / -0.11% -18.14%, curve by 10.098% -26.213% with 0.837% -10.0375% / 3.821% -19.2625%, curve by 29.3175% -13.0215% with 7.2175% -7.992% / 17.682% -13.0215%, curve by 19.5845% 5.185% with 7.1265% 0% / 13.8135% 1.887%, curve by 9.8595% 7.9775% with 3.7065% 2.1185% / 7.035% 4.8195%, curve by 9.9715% 26.072% with 6.2015% 6.933% / 9.4345% 16.082%, curve by 0% 19.461% with 0.074% 1.384% / 0.0745% 17.7715%, curve by -13.0065% 29.1155% with -0.511% 11.5345% / -5.021% 21.933%, curve by -26.409% 10.119% with -6.991% 6.288% / -16.254% 10.119%, curve by -20.945% -5.9995% with -7.6935% 0% / -14.8755% -2.199%, curve by -8.713% -7.404% with -3.255% -2.0385% / -6.1905% -4.537%, curve by -9.7575% -25.831% with -6.074% -6.9035% / -9.1205% -15.963%, close);\n --circle: shape(evenodd from 13.482% 79.505%, curve by -7.1945% -12.47% with -1.4985% -1.8575% / -6.328% -10.225%, curve by 0.0985% -33.8965% with -4.1645% -10.7945% / -4.1685% -23.0235%, curve by 6.9955% -12.101% with 1.72% -4.3825% / 4.0845% -8.458%, curve by 30.125% -17.119% with 7.339% -9.1825% / 18.4775% -15.5135%, curve by 13.4165% 0.095% with 4.432% -0.6105% / 8.9505% -0.5855%, curve by 29.364% 16.9% with 11.6215% 1.77% / 22.102% 7.9015%, curve by 7.176% 12.4145% with 3.002% 3.7195% / 5.453% 7.968%, curve by -0.0475% 33.8925% with 4.168% 10.756% / 4.2305% 22.942%, curve by -7.1135% 12.2825% with -1.74% 4.4535% / -4.1455% 8.592%, curve by -29.404% 16.9075% with -7.202% 8.954% / -18.019% 15.137%, curve by -14.19% -0.018% with -4.6635% 0.7255% / -9.4575% 0.7205%, curve by -29.226% -16.8875% with -11.573% -1.8065% / -21.9955% -7.9235%, close);\n --heart: shape(evenodd from 51.311% 83.603%, curve by -8.333% -20.508% with -14.104% -4.287% / -16.406% -16.185%, curve by -4.271% -37.41% with -5.419% -9.658% / -6.815% -22.733%, curve by 13.589% -33.586% with 3.982% -7.448% / 8.411% -15.994%, curve by 28.187% -21.985% with 4.029% -4.29% / 4.029% -4.29%, curve by 33.835% 0.721% with 9.618% 4.647% / 22.541% 9.618%, curve by 37.596% 21.304% with 3.306% 13.266% / 7.589% 24.251%, curve by 21.985% 43.613% with -4.208% 3.982% / -15.994% 8.411%, curve by 0.721% 37.596% with -7.448% 4.029% / -15.994% 8.411%, curve by -16.185% 28.187% with -9.658% 5.419% / -22.733% 6.815%, curve by -37.41% 4.271% with -4.29% 4.029% / -4.29% 4.029%, curve by -33.586% -13.589% with -7.448% 3.982% / -15.994% 8.411%, curve by -28.187% -32.094% with -4.029% 4.029% / -4.029% 4.029%, close);\n --spiral: shape(evenodd from 13.347% 30.885%, curve by 5.502% 18.447% with 11.052% 5.562% / 19.995% 9.169%, curve by -20.309% 16.907% with -7.146% -1.332% / -9.016% -2.812%, curve by -25.848% -13.087% with -7.017% -7.46% / -9.941% -15.041%, curve by 10.154% -25.731% with 2.473% -6.063% / 7.163% -10.656%, curve by 31.473% -7.963% with 8.814% 2.403% / 13.84% 8.748%, curve by 16.526% 20.487% with -4.058% 1.502% / -9.51% 3.304%, curve by 5.502% 18.447% with 11.052% 5.562% / 19.995% 9.169%, close);\n --sun: shape(evenodd from 12.758% 22.039%, curve by 2.2585% 27.561% with 4.517% 18.961% / 2.2585% 27.561%, curve by 3.187% -11.541% with 2.2585% -8.483% / 4.7615% -12.541%, curve by 31.034% 31.034% with 31.034% 31.034% / 31.034% 31.034%, curve by 33.825% -14.163% with 8.961% -7.455% / 13.585% -11.059%, curve by 19.814% -34.731% with 4.7615% -12.541% / 2.2585% -27.561%, curve by 33.825% -14.163% with 2.2585% -8.483% / 4.517% -18.961%, curve by 19.814% -34.731% with 0% 0% / -3.187% 11.541%, curve by 33.825% -14.163% with 8.961% -7.455% / 13.585% -11.059%, curve by 31.034% 31.034% with 31.034% 31.034% / 31.034% 31.034%, curve by 19.814% -34.731% with 4.7615% -12.541% / 2.2585% -27.561%, curve by 33.825% -14.163% with 2.2585% -8.483% / 4.517% -18.961%, close);\n --star2: shape(open from 28.947% 47.744%, curve by 24.042% -2.139% with 0% 0% / -24.042% 2.139%, curve by 4.208% -25.165% with 4.208% -25.165% / 4.208% -25.165%, curve by 2.341% -18.447% with 0% 0% / 1.888% -1.438%, curve by 32.355% 1.085% with 0% 0% / 25.984% 1.085%, curve by -4.655% 25.165% with 0% 0% / -4.655% 25.165%, curve by -4.208% -25.165% with -4.208% -25.165% / -4.208% -25.165%, curve by 2.566% -4.208% with 0% 0% / 2.072% -1.639%, curve by 30.069% 1.085% with 0% 0% / 24.156% 1.085%, curve by -2.791% 25.165% with 0% 0% / -2.791% 25.165%, curve by -4.208% -25.165% with -4.208% -25.165% / -4.208% -25.165%, curve by 2.116% -4.208% with 0% 0% / 1.659% -1.557%, close);\n --tri-star: shape(open from 25% 25%, curve by 25% 25% with 0% 0% / 25% 25%, close);\n }\n}\n@property --tw-translate-x { syntax: "*"; inherits: false; initial-value: 0; }\n@property --tw-translate-y { syntax: "*"; inherits: false; initial-value: 0; }\n@property --tw-translate-z { syntax: "*"; inherits: false; initial-value: 0; }\n@property --tw-scale-x { syntax: "*"; inherits: false; initial-value: 1; }\n@property --tw-scale-y { syntax: "*"; inherits: false; initial-value: 1; }\n@property --tw-scale-z { syntax: "*"; inherits: false; initial-value: 1; }\n@property --tw-rotate-x { syntax: "*"; inherits: false; }\n@property --tw-rotate-y { syntax: "*"; inherits: false; }\n@property --tw-rotate-z { syntax: "*"; inherits: false; }\n@property --tw-skew-x { syntax: "*"; inherits: false; }\n@property --tw-skew-y { syntax: "*"; inherits: false; }\n@property --tw-scroll-snap-strictness { syntax: "*"; inherits: false; initial-value: proximity; }\n@property --tw-scrollbar-thumb { syntax: "<color>"; inherits: false; initial-value: #0000; }\n@property --tw-scrollbar-track { syntax: "<color>"; inherits: false; initial-value: #0000; }\n@property --tw-space-y-reverse { syntax: "*"; inherits: false; initial-value: 0; }\n@property --tw-divide-y-reverse { syntax: "*"; inherits: false; initial-value: 0; }\n@property --tw-border-style { syntax: "*"; inherits: false; initial-value: solid; }\n@property --tw-gradient-position { syntax: "*"; inherits: false; }\n@property --tw-gradient-from { syntax: "<color>"; inherits: false; initial-value: #0000; }\n@property --tw-gradient-via { syntax: "<color>"; inherits: false; initial-value: #0000; }\n@property --tw-gradient-to { syntax: "<color>"; inherits: false; initial-value: #0000; }\n@property --tw-gradient-stops { syntax: "*"; inherits: false; }\n@property --tw-gradient-via-stops { syntax: "*"; inherits: false; }\n@property --tw-gradient-from-position { syntax: "<length-percentage>"; inherits: false; initial-value: 0%; }\n@property --tw-gradient-via-position { syntax: "<length-percentage>"; inherits: false; initial-value: 50%; }\n@property --tw-gradient-to-position { syntax: "<length-percentage>"; inherits: false; initial-value: 100%; }\n@property --tw-leading { syntax: "*"; inherits: false; }\n@property --tw-font-weight { syntax: "*"; inherits: false; }\n@property --tw-tracking { syntax: "*"; inherits: false; }\n@property --tw-ordinal { syntax: "*"; inherits: false; }\n@property --tw-slashed-zero { syntax: "*"; inherits: false; }\n@property --tw-numeric-figure { syntax: "*"; inherits: false; }\n@property --tw-numeric-spacing { syntax: "*"; inherits: false; }\n@property --tw-numeric-fraction { syntax: "*"; inherits: false; }\n@property --tw-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }\n@property --tw-shadow-color { syntax: "*"; inherits: false; }\n@property --tw-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }\n@property --tw-inset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }\n@property --tw-inset-shadow-color { syntax: "*"; inherits: false; }\n@property --tw-inset-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }\n@property --tw-ring-color { syntax: "*"; inherits: false; }\n@property --tw-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }\n@property --tw-inset-ring-color { syntax: "*"; inherits: false; }\n@property --tw-inset-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }\n@property --tw-ring-inset { syntax: "*"; inherits: false; }\n@property --tw-ring-offset-width { syntax: "<length>"; inherits: false; initial-value: 0px; }\n@property --tw-ring-offset-color { syntax: "*"; inherits: false; initial-value: #fff; }\n@property --tw-ring-offset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }\n@property --tw-blur { syntax: "*"; inherits: false; }\n@property --tw-brightness { syntax: "*"; inherits: false; }\n@property --tw-contrast { syntax: "*"; inherits: false; }\n@property --tw-grayscale { syntax: "*"; inherits: false; }\n@property --tw-hue-rotate { syntax: "*"; inherits: false; }\n@property --tw-invert { syntax: "*"; inherits: false; }\n@property --tw-opacity { syntax: "*"; inherits: false; }\n@property --tw-saturate { syntax: "*"; inherits: false; }\n@property --tw-sepia { syntax: "*"; inherits: false; }\n@property --tw-drop-shadow { syntax: "*"; inherits: false; }\n@property --tw-drop-shadow-color { syntax: "*"; inherits: false; }\n@property --tw-drop-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }\n@property --tw-drop-shadow-size { syntax: "*"; inherits: false; }\n@property --tw-backdrop-blur { syntax: "*"; inherits: false; }\n@property --tw-backdrop-brightness { syntax: "*"; inherits: false; }\n@property --tw-backdrop-contrast { syntax: "*"; inherits: false; }\n@property --tw-backdrop-grayscale { syntax: "*"; inherits: false; }\n@property --tw-backdrop-hue-rotate { syntax: "*"; inherits: false; }\n@property --tw-backdrop-invert { syntax: "*"; inherits: false; }\n@property --tw-backdrop-opacity { syntax: "*"; inherits: false; }\n@property --tw-backdrop-saturate { syntax: "*"; inherits: false; }\n@property --tw-backdrop-sepia { syntax: "*"; inherits: false; }\n@property --tw-duration { syntax: "*"; inherits: false; }\n@property --tw-ease { syntax: "*"; inherits: false; }\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n@keyframes ping {\n 75%, 100% {\n transform: scale(2);\n opacity: 0;\n }\n}\n@keyframes pulse {\n 50% {\n opacity: 0.5;\n }\n}\n@keyframes bounce {\n 0%, 100% {\n transform: translateY(-25%);\n animation-timing-function: cubic-bezier(0.8, 0, 1, 1);\n }\n 50% {\n transform: none;\n animation-timing-function: cubic-bezier(0, 0, 0.2, 1);\n }\n}\n@keyframes shapeshift {\n 0% {\n clip-path: var(--circle);\n rotate: 0turn;\n }\n 25% {\n clip-path: var(--flower);\n }\n 50% {\n clip-path: var(--cylinder);\n }\n 75% {\n clip-path: var(--hexagon);\n }\n 100% {\n clip-path: var(--circle);\n rotate: 1turn;\n }\n 120% {\n clip-path: var(--flower);\n }\n 140% {\n clip-path: var(--cylinder);\n }\n 160% {\n clip-path: var(--hexagon);\n }\n 180% {\n clip-path: var(--circle);\n rotate: 1turn;\n }\n}\n@keyframes gradientMove {\n 0% {\n translate: 0 0;\n }\n 100% {\n translate: -75% -75%;\n }\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *,\n ::before,\n ::after,\n ::backdrop {\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-scale-z: 1;\n --tw-rotate-x: initial;\n --tw-rotate-y: initial;\n --tw-rotate-z: initial;\n --tw-skew-x: initial;\n --tw-skew-y: initial;\n --tw-scroll-snap-strictness: proximity;\n --tw-scrollbar-thumb: #0000;\n --tw-scrollbar-track: #0000;\n --tw-space-y-reverse: 0;\n --tw-divide-y-reverse: 0;\n --tw-border-style: solid;\n --tw-gradient-position: initial;\n --tw-gradient-from: #0000;\n --tw-gradient-via: #0000;\n --tw-gradient-to: #0000;\n --tw-gradient-stops: initial;\n --tw-gradient-via-stops: initial;\n --tw-gradient-from-position: 0%;\n --tw-gradient-via-position: 50%;\n --tw-gradient-to-position: 100%;\n --tw-leading: initial;\n --tw-font-weight: initial;\n --tw-tracking: initial;\n --tw-ordinal: initial;\n --tw-slashed-zero: initial;\n --tw-numeric-figure: initial;\n --tw-numeric-spacing: initial;\n --tw-numeric-fraction: initial;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-blur: initial;\n --tw-brightness: initial;\n --tw-contrast: initial;\n --tw-grayscale: initial;\n --tw-hue-rotate: initial;\n --tw-invert: initial;\n --tw-opacity: initial;\n --tw-saturate: initial;\n --tw-sepia: initial;\n --tw-drop-shadow: initial;\n --tw-drop-shadow-color: initial;\n --tw-drop-shadow-alpha: 100%;\n --tw-drop-shadow-size: initial;\n --tw-backdrop-blur: initial;\n --tw-backdrop-brightness: initial;\n --tw-backdrop-contrast: initial;\n --tw-backdrop-grayscale: initial;\n --tw-backdrop-hue-rotate: initial;\n --tw-backdrop-invert: initial;\n --tw-backdrop-opacity: initial;\n --tw-backdrop-saturate: initial;\n --tw-backdrop-sepia: initial;\n --tw-duration: initial;\n --tw-ease: initial;\n }\n }\n}\n');
64
64
 
65
65
  // src/components/ChatWidget.tsx
66
- import { useState as useState10, useCallback as useCallback4 } from "react";
66
+ import { useState as useState12, useCallback as useCallback4 } from "react";
67
67
  import { MessageSquare as MessageSquare2, X as X3, Lock } from "lucide-react";
68
68
 
69
69
  // src/components/ChatWindow.tsx
70
- import React13, { useState as useState9, useRef as useRef7, useEffect as useEffect8, useCallback as useCallback3 } from "react";
70
+ import React16, { useState as useState11, useRef as useRef7, useEffect as useEffect8, useCallback as useCallback3 } from "react";
71
71
  import {
72
72
  Bot as Bot2,
73
73
  Trash2,
74
74
  X as X2,
75
75
  Sparkles as Sparkles2,
76
- ArrowUp,
77
- ArrowDown,
78
- TriangleAlert,
79
- RotateCcw,
76
+ ArrowUp as ArrowUp2,
77
+ ArrowDown as ArrowDown2,
78
+ TriangleAlert as TriangleAlert2,
79
+ RotateCcw as RotateCcw3,
80
80
  Maximize2,
81
81
  Minimize2,
82
82
  Mic,
@@ -610,8 +610,8 @@ function DocumentUpload({ namespace, uploadUrl, retrivoraApiBase, onUploadComple
610
610
  }
611
611
 
612
612
  // src/components/MessageBubble.tsx
613
- import React11 from "react";
614
- import { Bot, User, ChevronDown as ChevronDown4, ChevronRight as ChevronRight4, Activity, Copy, Check, ThumbsUp, ThumbsDown, Clock as Clock2, Volume2, VolumeX } from "lucide-react";
613
+ import React14 from "react";
614
+ import { Bot, User, ChevronDown as ChevronDown4, ChevronRight as ChevronRight5, Activity, Copy, Check, ThumbsUp, ThumbsDown, Clock as Clock2, Volume2, VolumeX, RotateCcw as RotateCcw2, Pencil } from "lucide-react";
615
615
  import ReactMarkdown from "react-markdown";
616
616
  import remarkMath from "remark-math";
617
617
  import rehypeKatex from "rehype-katex";
@@ -807,6 +807,8 @@ function ProductCarousel({ products, primaryColor = "#6366f1", onAddToCart }) {
807
807
  }
808
808
 
809
809
  // src/components/VisualizationRenderer.tsx
810
+ import { useState as useState5 } from "react";
811
+ import { Table2, BarChart3, Download as Download2 } from "lucide-react";
810
812
  import {
811
813
  PieChart as PieChart2,
812
814
  Pie as Pie2,
@@ -1035,8 +1037,313 @@ function DynamicChart({
1035
1037
  ] }) }) }) });
1036
1038
  }
1037
1039
 
1040
+ // src/components/DataTable.tsx
1041
+ import { useMemo as useMemo2, useState as useState4 } from "react";
1042
+ import { ArrowUpDown, ArrowUp, ArrowDown, Download, Search, ChevronLeft as ChevronLeft2, ChevronRight as ChevronRight2 } from "lucide-react";
1043
+
1044
+ // src/utils/urlSafety.ts
1045
+ var SAFE_URL_PROTOCOLS = /* @__PURE__ */ new Set(["http:", "https:", "mailto:"]);
1046
+ function isSafeUrl(rawUrl) {
1047
+ if (!rawUrl || typeof rawUrl !== "string") return false;
1048
+ const trimmed = rawUrl.trim();
1049
+ if (!trimmed) return false;
1050
+ if (trimmed.startsWith("/") || trimmed.startsWith("#")) {
1051
+ return !trimmed.startsWith("//");
1052
+ }
1053
+ try {
1054
+ const parsed = new URL(trimmed);
1055
+ return SAFE_URL_PROTOCOLS.has(parsed.protocol.toLowerCase());
1056
+ } catch (e) {
1057
+ return false;
1058
+ }
1059
+ }
1060
+ function escapeCsvCell(value) {
1061
+ const raw = value === null || value === void 0 ? "" : String(value);
1062
+ const formulaSafe = /^[=+\-@\t\r]/.test(raw) ? `'${raw}` : raw;
1063
+ if (/[",\n\r]/.test(formulaSafe)) {
1064
+ return `"${formulaSafe.replace(/"/g, '""')}"`;
1065
+ }
1066
+ return formulaSafe;
1067
+ }
1068
+ function downloadCsv(filename, columns, rows) {
1069
+ if (typeof window === "undefined" || typeof document === "undefined") return;
1070
+ const headerLine = columns.map(escapeCsvCell).join(",");
1071
+ const dataLines = rows.map((row) => row.map(escapeCsvCell).join(","));
1072
+ const csvContent = [headerLine, ...dataLines].join("\r\n");
1073
+ const blob = new Blob([csvContent], { type: "text/csv;charset=utf-8;" });
1074
+ const url = URL.createObjectURL(blob);
1075
+ const link = document.createElement("a");
1076
+ link.href = url;
1077
+ link.download = filename.endsWith(".csv") ? filename : `${filename}.csv`;
1078
+ document.body.appendChild(link);
1079
+ link.click();
1080
+ document.body.removeChild(link);
1081
+ URL.revokeObjectURL(url);
1082
+ }
1083
+
1084
+ // src/components/DataTable.tsx
1085
+ import { jsx as jsx7, jsxs as jsxs6 } from "react/jsx-runtime";
1086
+ function compareCells(a, b, direction) {
1087
+ const factor = direction === "asc" ? 1 : -1;
1088
+ if (a === b) return 0;
1089
+ if (a === null || a === void 0 || a === "") return 1;
1090
+ if (b === null || b === void 0 || b === "") return -1;
1091
+ const numA = typeof a === "number" ? a : Number(String(a).replace(/[$,%]/g, "").trim());
1092
+ const numB = typeof b === "number" ? b : Number(String(b).replace(/[$,%]/g, "").trim());
1093
+ if (!Number.isNaN(numA) && !Number.isNaN(numB) && String(a).trim() !== "" && String(b).trim() !== "") {
1094
+ return (numA - numB) * factor;
1095
+ }
1096
+ return String(a).localeCompare(String(b), void 0, { numeric: true, sensitivity: "base" }) * factor;
1097
+ }
1098
+ function DataTable({
1099
+ columns,
1100
+ rows,
1101
+ title = "data-export",
1102
+ pageSize = 10
1103
+ }) {
1104
+ const [sortCol, setSortCol] = useState4(null);
1105
+ const [sortDir, setSortDir] = useState4(null);
1106
+ const [searchQuery, setSearchQuery] = useState4("");
1107
+ const [page, setPage] = useState4(0);
1108
+ const handleSort = (colIdx) => {
1109
+ setPage(0);
1110
+ if (sortCol !== colIdx) {
1111
+ setSortCol(colIdx);
1112
+ setSortDir("asc");
1113
+ } else if (sortDir === "asc") {
1114
+ setSortDir("desc");
1115
+ } else {
1116
+ setSortCol(null);
1117
+ setSortDir(null);
1118
+ }
1119
+ };
1120
+ const filteredRows = useMemo2(() => {
1121
+ const q = searchQuery.trim().toLowerCase();
1122
+ if (!q) return rows;
1123
+ return rows.filter(
1124
+ (row) => row.some((cell) => String(cell != null ? cell : "").toLowerCase().includes(q))
1125
+ );
1126
+ }, [rows, searchQuery]);
1127
+ const sortedRows = useMemo2(() => {
1128
+ if (sortCol === null || sortDir === null) return filteredRows;
1129
+ return [...filteredRows].sort((a, b) => compareCells(a[sortCol], b[sortCol], sortDir));
1130
+ }, [filteredRows, sortCol, sortDir]);
1131
+ const totalPages = Math.max(1, Math.ceil(sortedRows.length / pageSize));
1132
+ const safePage = Math.min(page, totalPages - 1);
1133
+ const visibleRows = sortedRows.slice(safePage * pageSize, (safePage + 1) * pageSize);
1134
+ const showSearch = rows.length > 5;
1135
+ const showPagination = sortedRows.length > pageSize;
1136
+ return /* @__PURE__ */ jsxs6("div", { className: "bg-white dark:bg-slate-900 rounded-xl border border-slate-200 dark:border-white/10 shadow-sm overflow-hidden", children: [
1137
+ /* @__PURE__ */ jsxs6("div", { className: "flex flex-wrap items-center justify-between gap-2 px-3 py-2 bg-slate-50/80 dark:bg-white/5 border-b border-slate-200/80 dark:border-white/10", children: [
1138
+ showSearch ? /* @__PURE__ */ jsxs6("div", { className: "relative flex-1 min-w-[140px] max-w-xs", children: [
1139
+ /* @__PURE__ */ jsx7(Search, { className: "w-3.5 h-3.5 text-slate-400 absolute left-2.5 top-1/2 -translate-y-1/2 pointer-events-none" }),
1140
+ /* @__PURE__ */ jsx7(
1141
+ "input",
1142
+ {
1143
+ type: "text",
1144
+ value: searchQuery,
1145
+ onChange: (e) => {
1146
+ setSearchQuery(e.target.value);
1147
+ setPage(0);
1148
+ },
1149
+ placeholder: "Filter rows...",
1150
+ "aria-label": "Filter table rows",
1151
+ className: "w-full pl-8 pr-2.5 py-1 text-xs rounded-lg border border-slate-200 dark:border-white/10 bg-white dark:bg-slate-950 text-slate-700 dark:text-white/90 placeholder-slate-400 focus:outline-none focus:ring-1 focus:ring-indigo-500"
1152
+ }
1153
+ )
1154
+ ] }) : /* @__PURE__ */ jsxs6("span", { className: "text-[11px] font-medium text-slate-500 dark:text-white/50", children: [
1155
+ sortedRows.length,
1156
+ " row",
1157
+ sortedRows.length !== 1 ? "s" : ""
1158
+ ] }),
1159
+ /* @__PURE__ */ jsxs6(
1160
+ "button",
1161
+ {
1162
+ type: "button",
1163
+ onClick: () => downloadCsv(title || "table-data", columns, sortedRows),
1164
+ className: "inline-flex items-center gap-1.5 px-2.5 py-1 rounded-lg text-[11px] font-medium text-slate-600 dark:text-white/70 hover:text-slate-900 dark:hover:text-white bg-white dark:bg-white/5 border border-slate-200 dark:border-white/10 hover:bg-slate-100 dark:hover:bg-white/10 transition-colors cursor-pointer",
1165
+ title: "Export as CSV",
1166
+ "aria-label": "Export table as CSV",
1167
+ children: [
1168
+ /* @__PURE__ */ jsx7(Download, { className: "w-3 h-3" }),
1169
+ "CSV"
1170
+ ]
1171
+ }
1172
+ )
1173
+ ] }),
1174
+ /* @__PURE__ */ jsx7("div", { className: "overflow-x-auto", children: /* @__PURE__ */ jsxs6("table", { className: "w-full text-sm border-collapse", children: [
1175
+ /* @__PURE__ */ jsx7("thead", { className: "bg-slate-50 dark:bg-white/5 border-b border-slate-200 dark:border-white/10", children: /* @__PURE__ */ jsx7("tr", { children: columns.map((col, idx) => {
1176
+ const isSorted = sortCol === idx;
1177
+ return /* @__PURE__ */ jsx7(
1178
+ "th",
1179
+ {
1180
+ onClick: () => handleSort(idx),
1181
+ className: "px-4 py-2.5 text-left text-[11px] font-semibold text-slate-700 dark:text-white/90 whitespace-nowrap uppercase tracking-wider cursor-pointer select-none hover:bg-slate-100/80 dark:hover:bg-white/10 transition-colors",
1182
+ children: /* @__PURE__ */ jsxs6("span", { className: "inline-flex items-center gap-1", children: [
1183
+ col,
1184
+ isSorted && sortDir === "asc" ? /* @__PURE__ */ jsx7(ArrowUp, { className: "w-3 h-3 text-indigo-500" }) : isSorted && sortDir === "desc" ? /* @__PURE__ */ jsx7(ArrowDown, { className: "w-3 h-3 text-indigo-500" }) : /* @__PURE__ */ jsx7(ArrowUpDown, { className: "w-3 h-3 opacity-30" })
1185
+ ] })
1186
+ },
1187
+ idx
1188
+ );
1189
+ }) }) }),
1190
+ /* @__PURE__ */ jsx7("tbody", { className: "divide-y divide-slate-100 dark:divide-white/5", children: visibleRows.length === 0 ? /* @__PURE__ */ jsx7("tr", { children: /* @__PURE__ */ jsx7(
1191
+ "td",
1192
+ {
1193
+ colSpan: Math.max(1, columns.length),
1194
+ className: "px-4 py-6 text-center text-xs text-slate-400 dark:text-white/40",
1195
+ children: "No matching rows"
1196
+ }
1197
+ ) }) : visibleRows.map((row, rowIdx) => /* @__PURE__ */ jsx7(
1198
+ "tr",
1199
+ {
1200
+ className: "hover:bg-slate-50/60 dark:hover:bg-white/5 transition-colors",
1201
+ children: columns.map((_, cellIdx) => /* @__PURE__ */ jsx7(
1202
+ "td",
1203
+ {
1204
+ className: "px-4 py-2.5 text-slate-600 dark:text-white/70 text-xs whitespace-nowrap",
1205
+ children: row[cellIdx] === null || row[cellIdx] === void 0 ? "" : String(row[cellIdx])
1206
+ },
1207
+ cellIdx
1208
+ ))
1209
+ },
1210
+ rowIdx
1211
+ )) })
1212
+ ] }) }),
1213
+ (showSearch || showPagination) && /* @__PURE__ */ jsxs6("div", { className: "flex items-center justify-between px-3 py-2 bg-slate-50/80 dark:bg-white/5 border-t border-slate-100 dark:border-white/5 text-[11px] text-slate-500 dark:text-white/40", children: [
1214
+ /* @__PURE__ */ jsxs6("span", { children: [
1215
+ sortedRows.length,
1216
+ " row",
1217
+ sortedRows.length !== 1 ? "s" : "",
1218
+ searchQuery.trim() ? ` (filtered from ${rows.length})` : ""
1219
+ ] }),
1220
+ showPagination && /* @__PURE__ */ jsxs6("div", { className: "flex items-center gap-1.5", children: [
1221
+ /* @__PURE__ */ jsx7(
1222
+ "button",
1223
+ {
1224
+ type: "button",
1225
+ onClick: () => setPage((p) => Math.max(0, p - 1)),
1226
+ disabled: safePage === 0,
1227
+ "aria-label": "Previous page",
1228
+ className: "p-1 rounded border border-slate-200 dark:border-white/10 disabled:opacity-30 hover:bg-white dark:hover:bg-white/10 cursor-pointer disabled:cursor-not-allowed",
1229
+ children: /* @__PURE__ */ jsx7(ChevronLeft2, { className: "w-3.5 h-3.5" })
1230
+ }
1231
+ ),
1232
+ /* @__PURE__ */ jsxs6("span", { className: "px-1 font-medium", children: [
1233
+ safePage + 1,
1234
+ " / ",
1235
+ totalPages
1236
+ ] }),
1237
+ /* @__PURE__ */ jsx7(
1238
+ "button",
1239
+ {
1240
+ type: "button",
1241
+ onClick: () => setPage((p) => Math.min(totalPages - 1, p + 1)),
1242
+ disabled: safePage >= totalPages - 1,
1243
+ "aria-label": "Next page",
1244
+ className: "p-1 rounded border border-slate-200 dark:border-white/10 disabled:opacity-30 hover:bg-white dark:hover:bg-white/10 cursor-pointer disabled:cursor-not-allowed",
1245
+ children: /* @__PURE__ */ jsx7(ChevronRight2, { className: "w-3.5 h-3.5" })
1246
+ }
1247
+ )
1248
+ ] })
1249
+ ] })
1250
+ ] });
1251
+ }
1252
+
1253
+ // src/components/RichErrorBoundary.tsx
1254
+ import React7 from "react";
1255
+ import { TriangleAlert, RotateCcw } from "lucide-react";
1256
+ import { jsx as jsx8, jsxs as jsxs7 } from "react/jsx-runtime";
1257
+ var RichErrorBoundary = class extends React7.Component {
1258
+ constructor(props) {
1259
+ super(props);
1260
+ this.handleReset = () => {
1261
+ this.setState({ hasError: false, errorMessage: "", showRaw: false });
1262
+ };
1263
+ this.state = {
1264
+ hasError: false,
1265
+ errorMessage: "",
1266
+ showRaw: false
1267
+ };
1268
+ }
1269
+ static getDerivedStateFromError(error) {
1270
+ return {
1271
+ hasError: true,
1272
+ errorMessage: (error == null ? void 0 : error.message) || "Unable to render this block."
1273
+ };
1274
+ }
1275
+ componentDidCatch(error, info) {
1276
+ console.warn("[Retrivora SDK] RichErrorBoundary caught render error:", error, info.componentStack);
1277
+ }
1278
+ render() {
1279
+ if (!this.state.hasError) {
1280
+ return this.props.children;
1281
+ }
1282
+ const label = this.props.contextLabel || "content";
1283
+ return /* @__PURE__ */ jsxs7("div", { className: "my-2 rounded-xl border border-amber-200 dark:border-amber-500/30 bg-amber-50/70 dark:bg-amber-950/20 p-3 text-xs text-amber-800 dark:text-amber-200 space-y-2", children: [
1284
+ /* @__PURE__ */ jsxs7("div", { className: "flex items-center justify-between gap-2", children: [
1285
+ /* @__PURE__ */ jsxs7("div", { className: "flex items-center gap-1.5 font-medium", children: [
1286
+ /* @__PURE__ */ jsx8(TriangleAlert, { className: "w-3.5 h-3.5 text-amber-500 shrink-0" }),
1287
+ /* @__PURE__ */ jsxs7("span", { children: [
1288
+ "Failed to render ",
1289
+ label
1290
+ ] })
1291
+ ] }),
1292
+ /* @__PURE__ */ jsxs7("div", { className: "flex items-center gap-2", children: [
1293
+ this.props.rawFallback && /* @__PURE__ */ jsx8(
1294
+ "button",
1295
+ {
1296
+ type: "button",
1297
+ onClick: () => this.setState((s) => ({ showRaw: !s.showRaw })),
1298
+ className: "underline hover:opacity-80 cursor-pointer",
1299
+ children: this.state.showRaw ? "Hide raw" : "Show raw"
1300
+ }
1301
+ ),
1302
+ /* @__PURE__ */ jsxs7(
1303
+ "button",
1304
+ {
1305
+ type: "button",
1306
+ onClick: this.handleReset,
1307
+ className: "inline-flex items-center gap-1 px-2 py-0.5 rounded-md bg-amber-100 dark:bg-amber-900/40 hover:bg-amber-200 dark:hover:bg-amber-900/60 transition-colors cursor-pointer",
1308
+ title: "Retry rendering",
1309
+ children: [
1310
+ /* @__PURE__ */ jsx8(RotateCcw, { className: "w-3 h-3" }),
1311
+ "Retry"
1312
+ ]
1313
+ }
1314
+ )
1315
+ ] })
1316
+ ] }),
1317
+ this.state.showRaw && this.props.rawFallback && /* @__PURE__ */ jsx8("pre", { className: "max-h-40 overflow-auto rounded-lg bg-slate-900 text-slate-100 p-2 text-[11px] font-mono whitespace-pre-wrap", children: this.props.rawFallback })
1318
+ ] });
1319
+ }
1320
+ };
1321
+
1038
1322
  // src/components/VisualizationRenderer.tsx
1039
- import { Fragment as Fragment4, jsx as jsx7, jsxs as jsxs6 } from "react/jsx-runtime";
1323
+ import { Fragment as Fragment4, jsx as jsx9, jsxs as jsxs8 } from "react/jsx-runtime";
1324
+ var CHART_VIEW_TYPES = /* @__PURE__ */ new Set([
1325
+ "pie_chart",
1326
+ "bar_chart",
1327
+ "histogram",
1328
+ "horizontal_bar",
1329
+ "line_chart",
1330
+ "scatter_plot",
1331
+ "radar_chart"
1332
+ ]);
1333
+ function extractTabularFromChartData(data) {
1334
+ if (!Array.isArray(data) || data.length === 0) return null;
1335
+ const first = data[0];
1336
+ if (!first || typeof first !== "object") return null;
1337
+ const columns = Object.keys(first);
1338
+ if (columns.length === 0) return null;
1339
+ const rows = data.map(
1340
+ (item) => columns.map((col) => {
1341
+ var _a;
1342
+ return (_a = item[col]) != null ? _a : "";
1343
+ })
1344
+ );
1345
+ return { columns, rows };
1346
+ }
1040
1347
  function getColor(index) {
1041
1348
  return CHART_COLORS[index % CHART_COLORS.length];
1042
1349
  }
@@ -1049,11 +1356,11 @@ function CustomTooltip({
1049
1356
  label
1050
1357
  }) {
1051
1358
  if (!active || !payload || payload.length === 0) return null;
1052
- return /* @__PURE__ */ jsxs6("div", { className: "rounded-xl border border-slate-200 bg-white px-3 py-2 text-xs shadow-xl dark:border-white/10 dark:bg-slate-950", children: [
1053
- label && /* @__PURE__ */ jsx7("p", { className: "mb-2 font-semibold text-slate-800 dark:text-white/90", children: label }),
1054
- payload.map((entry, i) => /* @__PURE__ */ jsxs6("div", { className: "flex items-center justify-between gap-3 text-slate-600 dark:text-white/70", children: [
1055
- /* @__PURE__ */ jsxs6("span", { className: "flex items-center gap-1.5", children: [
1056
- entry.color && /* @__PURE__ */ jsx7(
1359
+ return /* @__PURE__ */ jsxs8("div", { className: "rounded-xl border border-slate-200 bg-white px-3 py-2 text-xs shadow-xl dark:border-white/10 dark:bg-slate-950", children: [
1360
+ label && /* @__PURE__ */ jsx9("p", { className: "mb-2 font-semibold text-slate-800 dark:text-white/90", children: label }),
1361
+ payload.map((entry, i) => /* @__PURE__ */ jsxs8("div", { className: "flex items-center justify-between gap-3 text-slate-600 dark:text-white/70", children: [
1362
+ /* @__PURE__ */ jsxs8("span", { className: "flex items-center gap-1.5", children: [
1363
+ entry.color && /* @__PURE__ */ jsx9(
1057
1364
  "span",
1058
1365
  {
1059
1366
  className: "inline-block w-2 h-2 rounded-full flex-shrink-0",
@@ -1062,7 +1369,7 @@ function CustomTooltip({
1062
1369
  ),
1063
1370
  entry.name
1064
1371
  ] }),
1065
- /* @__PURE__ */ jsx7("span", { className: "font-medium text-slate-900 dark:text-white/90", children: entry.value })
1372
+ /* @__PURE__ */ jsx9("span", { className: "font-medium text-slate-900 dark:text-white/90", children: entry.value })
1066
1373
  ] }, i))
1067
1374
  ] });
1068
1375
  }
@@ -1074,66 +1381,111 @@ function VisualizationRenderer({
1074
1381
  isStreaming
1075
1382
  }) {
1076
1383
  var _a;
1384
+ const [viewMode, setViewMode] = useState5("chart");
1077
1385
  if (!data) {
1078
- return /* @__PURE__ */ jsx7("div", { className: `p-4 text-gray-500 ${className}`, children: "No data available for visualization" });
1386
+ return /* @__PURE__ */ jsx9("div", { className: `p-4 text-gray-500 ${className}`, children: "No data available for visualization" });
1079
1387
  }
1080
- return /* @__PURE__ */ jsxs6("div", { className: `space-y-4 ${className}`, children: [
1081
- /* @__PURE__ */ jsxs6("div", { className: "space-y-1", children: [
1082
- /* @__PURE__ */ jsx7("h3", { className: "text-sm font-semibold text-slate-900 dark:text-white", children: data.title }),
1083
- data.description && data.description !== ((_a = data.data) == null ? void 0 : _a.content) && /* @__PURE__ */ jsx7("p", { className: "text-xs text-slate-500 dark:text-slate-400", children: data.description })
1388
+ const isChartType = CHART_VIEW_TYPES.has(data.type);
1389
+ const tabularData = isChartType ? extractTabularFromChartData(data.data) : null;
1390
+ return /* @__PURE__ */ jsxs8("div", { className: `space-y-4 ${className}`, children: [
1391
+ /* @__PURE__ */ jsxs8("div", { className: "flex items-start justify-between gap-2", children: [
1392
+ /* @__PURE__ */ jsxs8("div", { className: "space-y-1 min-w-0", children: [
1393
+ /* @__PURE__ */ jsx9("h3", { className: "text-sm font-semibold text-slate-900 dark:text-white", children: data.title }),
1394
+ data.description && data.description !== ((_a = data.data) == null ? void 0 : _a.content) && /* @__PURE__ */ jsx9("p", { className: "text-xs text-slate-500 dark:text-slate-400", children: data.description })
1395
+ ] }),
1396
+ isChartType && !isStreaming && tabularData && /* @__PURE__ */ jsxs8("div", { className: "flex items-center gap-1 shrink-0", children: [
1397
+ /* @__PURE__ */ jsx9(
1398
+ "button",
1399
+ {
1400
+ type: "button",
1401
+ onClick: () => setViewMode((m) => m === "chart" ? "table" : "chart"),
1402
+ title: viewMode === "chart" ? "Switch to table view" : "Switch to chart view",
1403
+ "aria-label": viewMode === "chart" ? "Switch to table view" : "Switch to chart view",
1404
+ className: "inline-flex items-center gap-1 px-2 py-1 rounded-lg text-[11px] font-medium border border-slate-200 dark:border-white/10 bg-white dark:bg-white/5 text-slate-600 dark:text-white/70 hover:text-slate-900 dark:hover:text-white hover:bg-slate-50 dark:hover:bg-white/10 transition-colors cursor-pointer",
1405
+ children: viewMode === "chart" ? /* @__PURE__ */ jsxs8(Fragment4, { children: [
1406
+ /* @__PURE__ */ jsx9(Table2, { className: "w-3 h-3" }),
1407
+ /* @__PURE__ */ jsx9("span", { children: "Table" })
1408
+ ] }) : /* @__PURE__ */ jsxs8(Fragment4, { children: [
1409
+ /* @__PURE__ */ jsx9(BarChart3, { className: "w-3 h-3" }),
1410
+ /* @__PURE__ */ jsx9("span", { children: "Chart" })
1411
+ ] })
1412
+ }
1413
+ ),
1414
+ /* @__PURE__ */ jsxs8(
1415
+ "button",
1416
+ {
1417
+ type: "button",
1418
+ onClick: () => downloadCsv(data.title || "chart-data", tabularData.columns, tabularData.rows),
1419
+ title: "Export data as CSV",
1420
+ "aria-label": "Export chart data as CSV",
1421
+ className: "inline-flex items-center gap-1 px-2 py-1 rounded-lg text-[11px] font-medium border border-slate-200 dark:border-white/10 bg-white dark:bg-white/5 text-slate-600 dark:text-white/70 hover:text-slate-900 dark:hover:text-white hover:bg-slate-50 dark:hover:bg-white/10 transition-colors cursor-pointer",
1422
+ children: [
1423
+ /* @__PURE__ */ jsx9(Download2, { className: "w-3 h-3" }),
1424
+ /* @__PURE__ */ jsx9("span", { children: "CSV" })
1425
+ ]
1426
+ }
1427
+ )
1428
+ ] })
1084
1429
  ] }),
1085
- renderVisualization(data.type, data.data, onAddToCart, primaryColor, isStreaming)
1430
+ /* @__PURE__ */ jsx9(RichErrorBoundary, { contextLabel: "visualization", children: isChartType && viewMode === "table" && tabularData ? /* @__PURE__ */ jsx9(
1431
+ DataTable,
1432
+ {
1433
+ columns: tabularData.columns,
1434
+ rows: tabularData.rows,
1435
+ title: data.title || "chart-data"
1436
+ }
1437
+ ) : renderVisualization(data.type, data.data, onAddToCart, primaryColor, isStreaming) })
1086
1438
  ] });
1087
1439
  }
1088
1440
  function renderVisualization(type, data, onAddToCart, primaryColor, isStreaming) {
1089
1441
  try {
1090
1442
  switch (type) {
1091
1443
  case "pie_chart":
1092
- return /* @__PURE__ */ jsx7(PieChartView, { data, isStreaming });
1444
+ return /* @__PURE__ */ jsx9(PieChartView, { data, isStreaming });
1093
1445
  case "bar_chart":
1094
- return /* @__PURE__ */ jsx7(BarChartView, { data, primaryColor, isStreaming });
1446
+ return /* @__PURE__ */ jsx9(BarChartView, { data, primaryColor, isStreaming });
1095
1447
  case "histogram":
1096
- return /* @__PURE__ */ jsx7(BarChartView, { data, primaryColor, isStreaming });
1448
+ return /* @__PURE__ */ jsx9(BarChartView, { data, primaryColor, isStreaming });
1097
1449
  case "horizontal_bar":
1098
- return /* @__PURE__ */ jsx7(BarChartView, { data, primaryColor, isStreaming, layout: "vertical" });
1450
+ return /* @__PURE__ */ jsx9(BarChartView, { data, primaryColor, isStreaming, layout: "vertical" });
1099
1451
  case "line_chart":
1100
- return /* @__PURE__ */ jsx7(LineChartView, { data, primaryColor, isStreaming });
1452
+ return /* @__PURE__ */ jsx9(LineChartView, { data, primaryColor, isStreaming });
1101
1453
  case "scatter_plot":
1102
- return /* @__PURE__ */ jsx7(ScatterPlotView, { data, primaryColor, isStreaming });
1454
+ return /* @__PURE__ */ jsx9(ScatterPlotView, { data, primaryColor, isStreaming });
1103
1455
  case "radar_chart":
1104
- return /* @__PURE__ */ jsx7(RadarChartView, { data, isStreaming });
1456
+ return /* @__PURE__ */ jsx9(RadarChartView, { data, isStreaming });
1105
1457
  case "metric_card":
1106
- return /* @__PURE__ */ jsx7(MetricCardView, { data, isStreaming });
1458
+ return /* @__PURE__ */ jsx9(MetricCardView, { data, isStreaming });
1107
1459
  case "geo_map":
1108
- return /* @__PURE__ */ jsx7(BarChartView, { data, primaryColor, isStreaming });
1460
+ return /* @__PURE__ */ jsx9(BarChartView, { data, primaryColor, isStreaming });
1109
1461
  case "table":
1110
- return /* @__PURE__ */ jsx7(TableView, { data, isStreaming });
1462
+ return /* @__PURE__ */ jsx9(TableView, { data, isStreaming });
1111
1463
  case "product_carousel":
1112
1464
  case "carousel":
1113
- if (isStreaming) return /* @__PURE__ */ jsx7(CarouselSkeleton, {});
1114
- return /* @__PURE__ */ jsx7(CarouselView, { data, onAddToCart, primaryColor });
1465
+ if (isStreaming) return /* @__PURE__ */ jsx9(CarouselSkeleton, {});
1466
+ return /* @__PURE__ */ jsx9(CarouselView, { data, onAddToCart, primaryColor });
1115
1467
  case "text":
1116
1468
  default:
1117
- return /* @__PURE__ */ jsx7(TextView, { data });
1469
+ return /* @__PURE__ */ jsx9(TextView, { data });
1118
1470
  }
1119
1471
  } catch (error) {
1120
1472
  console.warn("[VisualizationRenderer] Rendering failed, falling back to text:", error);
1121
- return /* @__PURE__ */ jsx7(TextView, { data: { content: "Unable to render the requested visualization." } });
1473
+ return /* @__PURE__ */ jsx9(TextView, { data: { content: "Unable to render the requested visualization." } });
1122
1474
  }
1123
1475
  }
1124
1476
  function CarouselSkeleton() {
1125
- return /* @__PURE__ */ jsxs6("div", { className: "w-full py-2", children: [
1126
- /* @__PURE__ */ jsx7("div", { className: "mb-3 h-4 w-36 rounded-full bg-slate-200 animate-pulse" }),
1127
- /* @__PURE__ */ jsx7("div", { className: "flex gap-3 overflow-hidden", children: Array.from({ length: 4 }).map((_, i) => /* @__PURE__ */ jsxs6(
1477
+ return /* @__PURE__ */ jsxs8("div", { className: "w-full py-2", children: [
1478
+ /* @__PURE__ */ jsx9("div", { className: "mb-3 h-4 w-36 rounded-full bg-slate-200 animate-pulse" }),
1479
+ /* @__PURE__ */ jsx9("div", { className: "flex gap-3 overflow-hidden", children: Array.from({ length: 4 }).map((_, i) => /* @__PURE__ */ jsxs8(
1128
1480
  "div",
1129
1481
  {
1130
1482
  className: "flex-shrink-0 w-44 rounded-2xl border border-slate-200 bg-white shadow-sm overflow-hidden animate-pulse",
1131
1483
  children: [
1132
- /* @__PURE__ */ jsx7("div", { className: "h-28 bg-slate-100" }),
1133
- /* @__PURE__ */ jsxs6("div", { className: "p-3 space-y-2", children: [
1134
- /* @__PURE__ */ jsx7("div", { className: "h-3 w-28 rounded-full bg-slate-200" }),
1135
- /* @__PURE__ */ jsx7("div", { className: "h-3 w-16 rounded-full bg-slate-100" }),
1136
- /* @__PURE__ */ jsx7("div", { className: "h-3 w-20 rounded-full bg-emerald-100" })
1484
+ /* @__PURE__ */ jsx9("div", { className: "h-28 bg-slate-100" }),
1485
+ /* @__PURE__ */ jsxs8("div", { className: "p-3 space-y-2", children: [
1486
+ /* @__PURE__ */ jsx9("div", { className: "h-3 w-28 rounded-full bg-slate-200" }),
1487
+ /* @__PURE__ */ jsx9("div", { className: "h-3 w-16 rounded-full bg-slate-100" }),
1488
+ /* @__PURE__ */ jsx9("div", { className: "h-3 w-20 rounded-full bg-emerald-100" })
1137
1489
  ] })
1138
1490
  ]
1139
1491
  },
@@ -1143,21 +1495,21 @@ function CarouselSkeleton() {
1143
1495
  }
1144
1496
  function ChartSkeleton({ type }) {
1145
1497
  if (type === "pie") {
1146
- return /* @__PURE__ */ jsx7("div", { className: "w-full mt-4 mb-2 animate-pulse", children: /* @__PURE__ */ jsx7("div", { className: "mx-auto w-40 h-40 rounded-full bg-slate-100 dark:bg-white/10" }) });
1498
+ return /* @__PURE__ */ jsx9("div", { className: "w-full mt-4 mb-2 animate-pulse", children: /* @__PURE__ */ jsx9("div", { className: "mx-auto w-40 h-40 rounded-full bg-slate-100 dark:bg-white/10" }) });
1147
1499
  }
1148
1500
  if (type === "table") {
1149
- return /* @__PURE__ */ jsxs6("div", { className: "w-full mt-4 mb-2 animate-pulse space-y-2", children: [
1150
- /* @__PURE__ */ jsx7("div", { className: "h-8 bg-slate-100 dark:bg-white/10 rounded" }),
1151
- /* @__PURE__ */ jsx7("div", { className: "h-8 bg-slate-100 dark:bg-white/10 rounded" }),
1152
- /* @__PURE__ */ jsx7("div", { className: "h-8 bg-slate-100 dark:bg-white/10 rounded" })
1501
+ return /* @__PURE__ */ jsxs8("div", { className: "w-full mt-4 mb-2 animate-pulse space-y-2", children: [
1502
+ /* @__PURE__ */ jsx9("div", { className: "h-8 bg-slate-100 dark:bg-white/10 rounded" }),
1503
+ /* @__PURE__ */ jsx9("div", { className: "h-8 bg-slate-100 dark:bg-white/10 rounded" }),
1504
+ /* @__PURE__ */ jsx9("div", { className: "h-8 bg-slate-100 dark:bg-white/10 rounded" })
1153
1505
  ] });
1154
1506
  }
1155
- return /* @__PURE__ */ jsx7("div", { className: "w-full mt-4 mb-2 animate-pulse flex items-end gap-2 h-32 px-2", children: Array.from({ length: 5 }).map((_, i) => /* @__PURE__ */ jsx7("div", { className: "flex-1 rounded-t-md bg-slate-100 dark:bg-white/10", style: { height: `${40 + i % 3 * 25}%` } }, i)) });
1507
+ return /* @__PURE__ */ jsx9("div", { className: "w-full mt-4 mb-2 animate-pulse flex items-end gap-2 h-32 px-2", children: Array.from({ length: 5 }).map((_, i) => /* @__PURE__ */ jsx9("div", { className: "flex-1 rounded-t-md bg-slate-100 dark:bg-white/10", style: { height: `${40 + i % 3 * 25}%` } }, i)) });
1156
1508
  }
1157
1509
  function PieChartView({ data, isStreaming }) {
1158
- if (isStreaming) return /* @__PURE__ */ jsx7(ChartSkeleton, { type: "pie" });
1510
+ if (isStreaming) return /* @__PURE__ */ jsx9(ChartSkeleton, { type: "pie" });
1159
1511
  if (!Array.isArray(data) || data.length === 0) {
1160
- return /* @__PURE__ */ jsx7("div", { className: "text-xs text-red-500", children: "Invalid pie chart data" });
1512
+ return /* @__PURE__ */ jsx9("div", { className: "text-xs text-red-500", children: "Invalid pie chart data" });
1161
1513
  }
1162
1514
  const chartData = data.map((item) => ({
1163
1515
  name: item.label,
@@ -1168,9 +1520,9 @@ function PieChartView({ data, isStreaming }) {
1168
1520
  const hasStockBreakdown = chartData.some(
1169
1521
  (item) => typeof item.inStockCount === "number" && item.inStockCount > 0 || typeof item.outOfStockCount === "number" && item.outOfStockCount > 0
1170
1522
  );
1171
- return /* @__PURE__ */ jsxs6("div", { className: "bg-white dark:bg-slate-900 rounded-xl border border-slate-200 dark:border-white/10 p-4 shadow-sm", children: [
1172
- /* @__PURE__ */ jsx7(ResponsiveContainer2, { width: "100%", height: 280, children: /* @__PURE__ */ jsxs6(PieChart2, { children: [
1173
- /* @__PURE__ */ jsx7(
1523
+ return /* @__PURE__ */ jsxs8("div", { className: "bg-white dark:bg-slate-900 rounded-xl border border-slate-200 dark:border-white/10 p-4 shadow-sm", children: [
1524
+ /* @__PURE__ */ jsx9(ResponsiveContainer2, { width: "100%", height: 280, children: /* @__PURE__ */ jsxs8(PieChart2, { children: [
1525
+ /* @__PURE__ */ jsx9(
1174
1526
  Pie2,
1175
1527
  {
1176
1528
  data: chartData,
@@ -1181,36 +1533,36 @@ function PieChartView({ data, isStreaming }) {
1181
1533
  outerRadius: "68%",
1182
1534
  label: false,
1183
1535
  labelLine: false,
1184
- children: chartData.map((_entry, index) => /* @__PURE__ */ jsx7(Cell2, { fill: getColor(index) }, `cell-${index}`))
1536
+ children: chartData.map((_entry, index) => /* @__PURE__ */ jsx9(Cell2, { fill: getColor(index) }, `cell-${index}`))
1185
1537
  }
1186
1538
  ),
1187
- /* @__PURE__ */ jsx7(Tooltip2, { content: /* @__PURE__ */ jsx7(CustomTooltip, {}) }),
1188
- /* @__PURE__ */ jsx7(Legend2, { wrapperStyle: { fontSize: 12 }, verticalAlign: "bottom" })
1539
+ /* @__PURE__ */ jsx9(Tooltip2, { content: /* @__PURE__ */ jsx9(CustomTooltip, {}) }),
1540
+ /* @__PURE__ */ jsx9(Legend2, { wrapperStyle: { fontSize: 12 }, verticalAlign: "bottom" })
1189
1541
  ] }) }),
1190
- hasStockBreakdown && /* @__PURE__ */ jsx7("div", { className: "mt-3 grid gap-2 sm:grid-cols-2", children: chartData.map((item, index) => {
1542
+ hasStockBreakdown && /* @__PURE__ */ jsx9("div", { className: "mt-3 grid gap-2 sm:grid-cols-2", children: chartData.map((item, index) => {
1191
1543
  var _a, _b;
1192
1544
  const inStock = Number((_a = item.inStockCount) != null ? _a : 0);
1193
1545
  const outOfStock = Number((_b = item.outOfStockCount) != null ? _b : 0);
1194
1546
  const status = inStock > 0 ? `${inStock} in stock` : "Out of stock";
1195
1547
  const mutedStatus = outOfStock > 0 ? `${outOfStock} out` : null;
1196
- return /* @__PURE__ */ jsxs6(
1548
+ return /* @__PURE__ */ jsxs8(
1197
1549
  "div",
1198
1550
  {
1199
1551
  className: "flex min-w-0 items-center justify-between gap-3 rounded-md border border-slate-100 px-2.5 py-2 text-xs dark:border-white/10",
1200
1552
  children: [
1201
- /* @__PURE__ */ jsxs6("span", { className: "flex min-w-0 items-center gap-2 text-slate-700 dark:text-white/75", children: [
1202
- /* @__PURE__ */ jsx7(
1553
+ /* @__PURE__ */ jsxs8("span", { className: "flex min-w-0 items-center gap-2 text-slate-700 dark:text-white/75", children: [
1554
+ /* @__PURE__ */ jsx9(
1203
1555
  "span",
1204
1556
  {
1205
1557
  className: "h-2.5 w-2.5 flex-shrink-0 rounded-full",
1206
1558
  style: { background: getColor(index) }
1207
1559
  }
1208
1560
  ),
1209
- /* @__PURE__ */ jsx7("span", { className: "truncate", children: item.name })
1561
+ /* @__PURE__ */ jsx9("span", { className: "truncate", children: item.name })
1210
1562
  ] }),
1211
- /* @__PURE__ */ jsxs6("span", { className: inStock > 0 ? "whitespace-nowrap font-medium text-emerald-600" : "whitespace-nowrap font-medium text-rose-600", children: [
1563
+ /* @__PURE__ */ jsxs8("span", { className: inStock > 0 ? "whitespace-nowrap font-medium text-emerald-600" : "whitespace-nowrap font-medium text-rose-600", children: [
1212
1564
  status,
1213
- mutedStatus && /* @__PURE__ */ jsxs6("span", { className: "ml-1 text-slate-400", children: [
1565
+ mutedStatus && /* @__PURE__ */ jsxs8("span", { className: "ml-1 text-slate-400", children: [
1214
1566
  "(",
1215
1567
  mutedStatus,
1216
1568
  ")"
@@ -1229,9 +1581,9 @@ function BarChartView({
1229
1581
  isStreaming,
1230
1582
  layout = "horizontal"
1231
1583
  }) {
1232
- if (isStreaming) return /* @__PURE__ */ jsx7(ChartSkeleton, { type: "bar" });
1584
+ if (isStreaming) return /* @__PURE__ */ jsx9(ChartSkeleton, { type: "bar" });
1233
1585
  if (!Array.isArray(data) || data.length === 0) {
1234
- return /* @__PURE__ */ jsx7("div", { className: "text-xs text-red-500", children: "Invalid bar chart data" });
1586
+ return /* @__PURE__ */ jsx9("div", { className: "text-xs text-red-500", children: "Invalid bar chart data" });
1235
1587
  }
1236
1588
  const chartData = data.map((item) => __spreadValues(__spreadValues({
1237
1589
  category: item.category,
@@ -1239,19 +1591,19 @@ function BarChartView({
1239
1591
  }, item.inStockCount !== void 0 && { inStockCount: item.inStockCount }), item.outOfStockCount !== void 0 && { outOfStockCount: item.outOfStockCount }));
1240
1592
  const barColor = primaryColor != null ? primaryColor : getColor(0);
1241
1593
  const hasStock = chartData.some((d) => "inStockCount" in d);
1242
- return /* @__PURE__ */ jsx7("div", { className: "bg-white dark:bg-slate-900 rounded-xl border border-slate-200 dark:border-white/10 p-4 shadow-sm overflow-x-auto", children: /* @__PURE__ */ jsx7(ResponsiveContainer2, { width: "100%", height: 260, children: /* @__PURE__ */ jsxs6(
1594
+ return /* @__PURE__ */ jsx9("div", { className: "bg-white dark:bg-slate-900 rounded-xl border border-slate-200 dark:border-white/10 p-4 shadow-sm overflow-x-auto", children: /* @__PURE__ */ jsx9(ResponsiveContainer2, { width: "100%", height: 260, children: /* @__PURE__ */ jsxs8(
1243
1595
  BarChart2,
1244
1596
  {
1245
1597
  data: chartData,
1246
1598
  layout,
1247
1599
  margin: { top: 10, right: 10, left: layout === "vertical" ? 20 : -20, bottom: 0 },
1248
1600
  children: [
1249
- /* @__PURE__ */ jsx7(CartesianGrid2, { strokeDasharray: "3 3", vertical: false, stroke: "#e2e8f0" }),
1250
- layout === "vertical" ? /* @__PURE__ */ jsxs6(Fragment4, { children: [
1251
- /* @__PURE__ */ jsx7(XAxis2, { type: "number", tick: { fontSize: 11, fill: "#64748b" }, tickLine: false, axisLine: { stroke: "#cbd5e1" } }),
1252
- /* @__PURE__ */ jsx7(YAxis2, { type: "category", dataKey: "category", width: 110, tick: { fontSize: 11, fill: "#64748b" }, tickLine: false, axisLine: false })
1253
- ] }) : /* @__PURE__ */ jsxs6(Fragment4, { children: [
1254
- /* @__PURE__ */ jsx7(
1601
+ /* @__PURE__ */ jsx9(CartesianGrid2, { strokeDasharray: "3 3", vertical: false, stroke: "#e2e8f0" }),
1602
+ layout === "vertical" ? /* @__PURE__ */ jsxs8(Fragment4, { children: [
1603
+ /* @__PURE__ */ jsx9(XAxis2, { type: "number", tick: { fontSize: 11, fill: "#64748b" }, tickLine: false, axisLine: { stroke: "#cbd5e1" } }),
1604
+ /* @__PURE__ */ jsx9(YAxis2, { type: "category", dataKey: "category", width: 110, tick: { fontSize: 11, fill: "#64748b" }, tickLine: false, axisLine: false })
1605
+ ] }) : /* @__PURE__ */ jsxs8(Fragment4, { children: [
1606
+ /* @__PURE__ */ jsx9(
1255
1607
  XAxis2,
1256
1608
  {
1257
1609
  dataKey: "category",
@@ -1260,49 +1612,49 @@ function BarChartView({
1260
1612
  axisLine: { stroke: "#cbd5e1" }
1261
1613
  }
1262
1614
  ),
1263
- /* @__PURE__ */ jsx7(YAxis2, { tick: { fontSize: 11, fill: "#64748b" }, tickLine: false, axisLine: false })
1615
+ /* @__PURE__ */ jsx9(YAxis2, { tick: { fontSize: 11, fill: "#64748b" }, tickLine: false, axisLine: false })
1264
1616
  ] }),
1265
- /* @__PURE__ */ jsx7(Tooltip2, { content: /* @__PURE__ */ jsx7(CustomTooltip, {}), cursor: { fill: "#f1f5f9" } }),
1266
- /* @__PURE__ */ jsx7(Legend2, { wrapperStyle: { fontSize: 12 } }),
1267
- hasStock ? /* @__PURE__ */ jsxs6(Fragment4, { children: [
1268
- /* @__PURE__ */ jsx7(Bar2, { dataKey: "inStockCount", name: "In Stock", fill: getColor(1), radius: [4, 4, 0, 0] }),
1269
- /* @__PURE__ */ jsx7(Bar2, { dataKey: "outOfStockCount", name: "Out of Stock", fill: getColor(3), radius: [4, 4, 0, 0] })
1270
- ] }) : /* @__PURE__ */ jsx7(Bar2, { dataKey: "value", name: "Value", fill: barColor, radius: [4, 4, 0, 0] })
1617
+ /* @__PURE__ */ jsx9(Tooltip2, { content: /* @__PURE__ */ jsx9(CustomTooltip, {}), cursor: { fill: "#f1f5f9" } }),
1618
+ /* @__PURE__ */ jsx9(Legend2, { wrapperStyle: { fontSize: 12 } }),
1619
+ hasStock ? /* @__PURE__ */ jsxs8(Fragment4, { children: [
1620
+ /* @__PURE__ */ jsx9(Bar2, { dataKey: "inStockCount", name: "In Stock", fill: getColor(1), radius: [4, 4, 0, 0] }),
1621
+ /* @__PURE__ */ jsx9(Bar2, { dataKey: "outOfStockCount", name: "Out of Stock", fill: getColor(3), radius: [4, 4, 0, 0] })
1622
+ ] }) : /* @__PURE__ */ jsx9(Bar2, { dataKey: "value", name: "Value", fill: barColor, radius: [4, 4, 0, 0] })
1271
1623
  ]
1272
1624
  }
1273
1625
  ) }) });
1274
1626
  }
1275
1627
  function ScatterPlotView({ data, primaryColor, isStreaming }) {
1276
- if (isStreaming) return /* @__PURE__ */ jsx7(ChartSkeleton, { type: "bar" });
1628
+ if (isStreaming) return /* @__PURE__ */ jsx9(ChartSkeleton, { type: "bar" });
1277
1629
  if (!Array.isArray(data) || data.length === 0) {
1278
- return /* @__PURE__ */ jsx7("div", { className: "text-xs text-red-500", children: "Invalid scatter plot data" });
1630
+ return /* @__PURE__ */ jsx9("div", { className: "text-xs text-red-500", children: "Invalid scatter plot data" });
1279
1631
  }
1280
- return /* @__PURE__ */ jsx7("div", { className: "bg-white dark:bg-slate-900 rounded-xl border border-slate-200 dark:border-white/10 p-4 shadow-sm overflow-x-auto", children: /* @__PURE__ */ jsx7(ResponsiveContainer2, { width: "100%", height: 260, children: /* @__PURE__ */ jsxs6(ScatterChart, { margin: { top: 10, right: 10, left: -20, bottom: 0 }, children: [
1281
- /* @__PURE__ */ jsx7(CartesianGrid2, { strokeDasharray: "3 3", stroke: "#e2e8f0" }),
1282
- /* @__PURE__ */ jsx7(XAxis2, { type: "number", dataKey: "x", tick: { fontSize: 11, fill: "#64748b" }, tickLine: false, axisLine: { stroke: "#cbd5e1" } }),
1283
- /* @__PURE__ */ jsx7(YAxis2, { type: "number", dataKey: "y", tick: { fontSize: 11, fill: "#64748b" }, tickLine: false, axisLine: false }),
1284
- /* @__PURE__ */ jsx7(Tooltip2, { content: /* @__PURE__ */ jsx7(CustomTooltip, {}), cursor: { strokeDasharray: "3 3" } }),
1285
- /* @__PURE__ */ jsx7(Scatter, { name: "Value", data, fill: primaryColor != null ? primaryColor : getColor(0) })
1632
+ return /* @__PURE__ */ jsx9("div", { className: "bg-white dark:bg-slate-900 rounded-xl border border-slate-200 dark:border-white/10 p-4 shadow-sm overflow-x-auto", children: /* @__PURE__ */ jsx9(ResponsiveContainer2, { width: "100%", height: 260, children: /* @__PURE__ */ jsxs8(ScatterChart, { margin: { top: 10, right: 10, left: -20, bottom: 0 }, children: [
1633
+ /* @__PURE__ */ jsx9(CartesianGrid2, { strokeDasharray: "3 3", stroke: "#e2e8f0" }),
1634
+ /* @__PURE__ */ jsx9(XAxis2, { type: "number", dataKey: "x", tick: { fontSize: 11, fill: "#64748b" }, tickLine: false, axisLine: { stroke: "#cbd5e1" } }),
1635
+ /* @__PURE__ */ jsx9(YAxis2, { type: "number", dataKey: "y", tick: { fontSize: 11, fill: "#64748b" }, tickLine: false, axisLine: false }),
1636
+ /* @__PURE__ */ jsx9(Tooltip2, { content: /* @__PURE__ */ jsx9(CustomTooltip, {}), cursor: { strokeDasharray: "3 3" } }),
1637
+ /* @__PURE__ */ jsx9(Scatter, { name: "Value", data, fill: primaryColor != null ? primaryColor : getColor(0) })
1286
1638
  ] }) }) });
1287
1639
  }
1288
1640
  function MetricCardView({ data, isStreaming }) {
1289
- if (isStreaming) return /* @__PURE__ */ jsx7(ChartSkeleton, { type: "bar" });
1641
+ if (isStreaming) return /* @__PURE__ */ jsx9(ChartSkeleton, { type: "bar" });
1290
1642
  if (!data || typeof data.value !== "number") {
1291
- return /* @__PURE__ */ jsx7("div", { className: "text-xs text-red-500", children: "Invalid metric data" });
1643
+ return /* @__PURE__ */ jsx9("div", { className: "text-xs text-red-500", children: "Invalid metric data" });
1292
1644
  }
1293
- return /* @__PURE__ */ jsxs6("div", { className: "rounded-xl border border-slate-200 bg-white p-4 shadow-sm dark:border-white/10 dark:bg-slate-900", children: [
1294
- /* @__PURE__ */ jsx7("div", { className: "text-xs font-medium uppercase text-slate-500 dark:text-slate-400", children: data.label }),
1295
- /* @__PURE__ */ jsxs6("div", { className: "mt-2 text-3xl font-semibold text-slate-900 dark:text-white", children: [
1645
+ return /* @__PURE__ */ jsxs8("div", { className: "rounded-xl border border-slate-200 bg-white p-4 shadow-sm dark:border-white/10 dark:bg-slate-900", children: [
1646
+ /* @__PURE__ */ jsx9("div", { className: "text-xs font-medium uppercase text-slate-500 dark:text-slate-400", children: data.label }),
1647
+ /* @__PURE__ */ jsxs8("div", { className: "mt-2 text-3xl font-semibold text-slate-900 dark:text-white", children: [
1296
1648
  data.value.toLocaleString(),
1297
- data.unit && /* @__PURE__ */ jsx7("span", { className: "ml-1 text-base text-slate-500", children: data.unit })
1649
+ data.unit && /* @__PURE__ */ jsx9("span", { className: "ml-1 text-base text-slate-500", children: data.unit })
1298
1650
  ] }),
1299
- data.operation && /* @__PURE__ */ jsx7("div", { className: "mt-1 text-xs text-slate-500 dark:text-slate-400", children: data.operation })
1651
+ data.operation && /* @__PURE__ */ jsx9("div", { className: "mt-1 text-xs text-slate-500 dark:text-slate-400", children: data.operation })
1300
1652
  ] });
1301
1653
  }
1302
1654
  function LineChartView({ data, primaryColor, isStreaming }) {
1303
- if (isStreaming) return /* @__PURE__ */ jsx7(ChartSkeleton, { type: "bar" });
1655
+ if (isStreaming) return /* @__PURE__ */ jsx9(ChartSkeleton, { type: "bar" });
1304
1656
  if (!Array.isArray(data) || data.length === 0) {
1305
- return /* @__PURE__ */ jsx7("div", { className: "text-xs text-red-500", children: "Invalid line chart data" });
1657
+ return /* @__PURE__ */ jsx9("div", { className: "text-xs text-red-500", children: "Invalid line chart data" });
1306
1658
  }
1307
1659
  const chartData = data.map((point) => {
1308
1660
  var _a;
@@ -1312,9 +1664,9 @@ function LineChartView({ data, primaryColor, isStreaming }) {
1312
1664
  };
1313
1665
  });
1314
1666
  const lineColor = primaryColor != null ? primaryColor : getColor(0);
1315
- return /* @__PURE__ */ jsx7("div", { className: "bg-white dark:bg-slate-900 rounded-xl border border-slate-200 dark:border-white/10 p-4 shadow-sm overflow-x-auto", children: /* @__PURE__ */ jsx7(ResponsiveContainer2, { width: "100%", height: 260, children: /* @__PURE__ */ jsxs6(LineChart2, { data: chartData, margin: { top: 10, right: 10, left: -20, bottom: 0 }, children: [
1316
- /* @__PURE__ */ jsx7(CartesianGrid2, { strokeDasharray: "3 3", vertical: false, stroke: "#e2e8f0" }),
1317
- /* @__PURE__ */ jsx7(
1667
+ return /* @__PURE__ */ jsx9("div", { className: "bg-white dark:bg-slate-900 rounded-xl border border-slate-200 dark:border-white/10 p-4 shadow-sm overflow-x-auto", children: /* @__PURE__ */ jsx9(ResponsiveContainer2, { width: "100%", height: 260, children: /* @__PURE__ */ jsxs8(LineChart2, { data: chartData, margin: { top: 10, right: 10, left: -20, bottom: 0 }, children: [
1668
+ /* @__PURE__ */ jsx9(CartesianGrid2, { strokeDasharray: "3 3", vertical: false, stroke: "#e2e8f0" }),
1669
+ /* @__PURE__ */ jsx9(
1318
1670
  XAxis2,
1319
1671
  {
1320
1672
  dataKey: "label",
@@ -1323,9 +1675,9 @@ function LineChartView({ data, primaryColor, isStreaming }) {
1323
1675
  axisLine: { stroke: "#cbd5e1" }
1324
1676
  }
1325
1677
  ),
1326
- /* @__PURE__ */ jsx7(YAxis2, { tick: { fontSize: 11, fill: "#64748b" }, tickLine: false, axisLine: false }),
1327
- /* @__PURE__ */ jsx7(Tooltip2, { content: /* @__PURE__ */ jsx7(CustomTooltip, {}) }),
1328
- /* @__PURE__ */ jsx7(
1678
+ /* @__PURE__ */ jsx9(YAxis2, { tick: { fontSize: 11, fill: "#64748b" }, tickLine: false, axisLine: false }),
1679
+ /* @__PURE__ */ jsx9(Tooltip2, { content: /* @__PURE__ */ jsx9(CustomTooltip, {}) }),
1680
+ /* @__PURE__ */ jsx9(
1329
1681
  Line2,
1330
1682
  {
1331
1683
  type: "monotone",
@@ -1340,18 +1692,18 @@ function LineChartView({ data, primaryColor, isStreaming }) {
1340
1692
  ] }) }) });
1341
1693
  }
1342
1694
  function RadarChartView({ data, isStreaming }) {
1343
- if (isStreaming) return /* @__PURE__ */ jsx7(ChartSkeleton, { type: "pie" });
1695
+ if (isStreaming) return /* @__PURE__ */ jsx9(ChartSkeleton, { type: "pie" });
1344
1696
  if (!Array.isArray(data) || data.length === 0) {
1345
- return /* @__PURE__ */ jsx7("div", { className: "text-xs text-red-500", children: "Invalid radar chart data" });
1697
+ return /* @__PURE__ */ jsx9("div", { className: "text-xs text-red-500", children: "Invalid radar chart data" });
1346
1698
  }
1347
1699
  const productNames = Array.from(
1348
1700
  new Set(data.flatMap((item) => Object.keys(item).filter((key) => key !== "attribute")))
1349
1701
  );
1350
- return /* @__PURE__ */ jsx7("div", { className: "bg-white dark:bg-slate-900 rounded-xl border border-slate-200 dark:border-white/10 p-4 shadow-sm", children: /* @__PURE__ */ jsx7(ResponsiveContainer2, { width: "100%", height: 300, children: /* @__PURE__ */ jsxs6(RadarChart, { cx: "50%", cy: "50%", outerRadius: "80%", data, children: [
1351
- /* @__PURE__ */ jsx7(PolarGrid, { stroke: "#e2e8f0" }),
1352
- /* @__PURE__ */ jsx7(PolarAngleAxis, { dataKey: "attribute", tick: { fontSize: 11, fill: "#64748b" } }),
1353
- /* @__PURE__ */ jsx7(PolarRadiusAxis, { tick: { fontSize: 10, fill: "#64748b" } }),
1354
- productNames.map((productName, index) => /* @__PURE__ */ jsx7(
1702
+ return /* @__PURE__ */ jsx9("div", { className: "bg-white dark:bg-slate-900 rounded-xl border border-slate-200 dark:border-white/10 p-4 shadow-sm", children: /* @__PURE__ */ jsx9(ResponsiveContainer2, { width: "100%", height: 300, children: /* @__PURE__ */ jsxs8(RadarChart, { cx: "50%", cy: "50%", outerRadius: "80%", data, children: [
1703
+ /* @__PURE__ */ jsx9(PolarGrid, { stroke: "#e2e8f0" }),
1704
+ /* @__PURE__ */ jsx9(PolarAngleAxis, { dataKey: "attribute", tick: { fontSize: 11, fill: "#64748b" } }),
1705
+ /* @__PURE__ */ jsx9(PolarRadiusAxis, { tick: { fontSize: 10, fill: "#64748b" } }),
1706
+ productNames.map((productName, index) => /* @__PURE__ */ jsx9(
1355
1707
  Radar,
1356
1708
  {
1357
1709
  name: productName,
@@ -1362,47 +1714,16 @@ function RadarChartView({ data, isStreaming }) {
1362
1714
  },
1363
1715
  productName
1364
1716
  )),
1365
- /* @__PURE__ */ jsx7(Tooltip2, { content: /* @__PURE__ */ jsx7(CustomTooltip, {}) }),
1366
- /* @__PURE__ */ jsx7(Legend2, { wrapperStyle: { fontSize: 12 } })
1717
+ /* @__PURE__ */ jsx9(Tooltip2, { content: /* @__PURE__ */ jsx9(CustomTooltip, {}) }),
1718
+ /* @__PURE__ */ jsx9(Legend2, { wrapperStyle: { fontSize: 12 } })
1367
1719
  ] }) }) });
1368
1720
  }
1369
1721
  function TableView({ data, isStreaming }) {
1370
- if (isStreaming) return /* @__PURE__ */ jsx7(ChartSkeleton, { type: "table" });
1722
+ if (isStreaming) return /* @__PURE__ */ jsx9(ChartSkeleton, { type: "table" });
1371
1723
  if (!(data == null ? void 0 : data.columns) || !(data == null ? void 0 : data.rows)) {
1372
- return /* @__PURE__ */ jsx7("div", { className: "text-xs text-red-500", children: "Invalid table data" });
1724
+ return /* @__PURE__ */ jsx9("div", { className: "text-xs text-red-500", children: "Invalid table data" });
1373
1725
  }
1374
- return /* @__PURE__ */ jsxs6("div", { className: "bg-white dark:bg-slate-900 rounded-xl border border-slate-200 dark:border-white/10 shadow-sm overflow-hidden", children: [
1375
- /* @__PURE__ */ jsx7("div", { className: "overflow-x-auto", children: /* @__PURE__ */ jsxs6("table", { className: "w-full text-sm border-collapse", children: [
1376
- /* @__PURE__ */ jsx7("thead", { className: "bg-slate-50 dark:bg-white/5 border-b border-slate-200 dark:border-white/10", children: /* @__PURE__ */ jsx7("tr", { children: data.columns.map((col, idx) => /* @__PURE__ */ jsx7(
1377
- "th",
1378
- {
1379
- className: "px-4 py-3 text-left text-xs font-semibold text-slate-700 dark:text-white/90 whitespace-nowrap uppercase tracking-wider",
1380
- children: col
1381
- },
1382
- idx
1383
- )) }) }),
1384
- /* @__PURE__ */ jsx7("tbody", { className: "divide-y divide-slate-100 dark:divide-white/5", children: data.rows.map((row, rowIdx) => /* @__PURE__ */ jsx7(
1385
- "tr",
1386
- {
1387
- className: "hover:bg-slate-50/60 dark:hover:bg-white/5 transition-colors",
1388
- children: row.map((cell, cellIdx) => /* @__PURE__ */ jsx7(
1389
- "td",
1390
- {
1391
- className: "px-4 py-3 text-slate-600 dark:text-white/70 text-sm",
1392
- children: String(cell)
1393
- },
1394
- cellIdx
1395
- ))
1396
- },
1397
- rowIdx
1398
- )) })
1399
- ] }) }),
1400
- /* @__PURE__ */ jsx7("div", { className: "px-4 py-2 bg-slate-50 dark:bg-white/5 border-t border-slate-100 dark:border-white/5", children: /* @__PURE__ */ jsxs6("p", { className: "text-[11px] text-slate-400 dark:text-white/30", children: [
1401
- data.rows.length,
1402
- " row",
1403
- data.rows.length !== 1 ? "s" : ""
1404
- ] }) })
1405
- ] });
1726
+ return /* @__PURE__ */ jsx9(DataTable, { columns: data.columns, rows: data.rows });
1406
1727
  }
1407
1728
  function CarouselView({
1408
1729
  data,
@@ -1410,7 +1731,7 @@ function CarouselView({
1410
1731
  primaryColor
1411
1732
  }) {
1412
1733
  if (!Array.isArray(data)) {
1413
- return /* @__PURE__ */ jsx7("div", { className: "text-xs text-red-500", children: "Invalid carousel data" });
1734
+ return /* @__PURE__ */ jsx9("div", { className: "text-xs text-red-500", children: "Invalid carousel data" });
1414
1735
  }
1415
1736
  const products = data.map((product) => ({
1416
1737
  id: product.id,
@@ -1422,7 +1743,7 @@ function CarouselView({
1422
1743
  description: product.description,
1423
1744
  inStock: product.inStock
1424
1745
  }));
1425
- return /* @__PURE__ */ jsx7("div", { className: "w-full", children: /* @__PURE__ */ jsx7(
1746
+ return /* @__PURE__ */ jsx9("div", { className: "w-full", children: /* @__PURE__ */ jsx9(
1426
1747
  ProductCarousel,
1427
1748
  {
1428
1749
  products,
@@ -1433,11 +1754,11 @@ function CarouselView({
1433
1754
  }
1434
1755
  function TextView({ data }) {
1435
1756
  const content = stripLeakedAnswerWrappers((data == null ? void 0 : data.content) || String(data != null ? data : ""));
1436
- return /* @__PURE__ */ jsx7("div", { className: "bg-white dark:bg-slate-900 rounded-xl border border-slate-200 dark:border-white/10 p-4 shadow-sm", children: /* @__PURE__ */ jsx7("p", { className: "text-sm text-slate-700 dark:text-slate-300 whitespace-pre-wrap leading-relaxed", children: content }) });
1757
+ return /* @__PURE__ */ jsx9("div", { className: "bg-white dark:bg-slate-900 rounded-xl border border-slate-200 dark:border-white/10 p-4 shadow-sm", children: /* @__PURE__ */ jsx9("p", { className: "text-sm text-slate-700 dark:text-slate-300 whitespace-pre-wrap leading-relaxed", children: content }) });
1437
1758
  }
1438
1759
 
1439
1760
  // src/components/ObservabilityPanel.tsx
1440
- import React6 from "react";
1761
+ import React9 from "react";
1441
1762
  import {
1442
1763
  Clock,
1443
1764
  Cpu,
@@ -1446,11 +1767,11 @@ import {
1446
1767
  FileText,
1447
1768
  Layers,
1448
1769
  ChevronDown as ChevronDown2,
1449
- ChevronRight as ChevronRight2,
1770
+ ChevronRight as ChevronRight3,
1450
1771
  CheckCircle as CheckCircle3,
1451
1772
  AlertCircle as AlertCircle2
1452
1773
  } from "lucide-react";
1453
- import { jsx as jsx8, jsxs as jsxs7 } from "react/jsx-runtime";
1774
+ import { jsx as jsx10, jsxs as jsxs9 } from "react/jsx-runtime";
1454
1775
  function fmtMs(ms) {
1455
1776
  return ms >= 1e3 ? `${(ms / 1e3).toFixed(2)}s` : `${Math.round(ms)}ms`;
1456
1777
  }
@@ -1460,50 +1781,50 @@ function fmtTokens(n) {
1460
1781
  function ScoreBadge({ score }) {
1461
1782
  const pct = Math.round(score * 100);
1462
1783
  const color = pct <= 20 ? "text-emerald-600 bg-emerald-50 border-emerald-200 dark:text-emerald-400 dark:bg-emerald-500/10 dark:border-emerald-500/20" : pct <= 50 ? "text-amber-600 bg-amber-50 border-amber-200 dark:text-amber-400 dark:bg-amber-500/10 dark:border-amber-500/20" : "text-red-600 bg-red-50 border-red-200 dark:text-red-400 dark:bg-red-500/10 dark:border-red-500/20";
1463
- return /* @__PURE__ */ jsxs7("span", { className: `inline-flex items-center gap-1 px-2 py-0.5 rounded-full text-[11px] font-semibold border ${color}`, children: [
1464
- pct <= 20 ? /* @__PURE__ */ jsx8(CheckCircle3, { className: "w-3 h-3" }) : /* @__PURE__ */ jsx8(AlertCircle2, { className: "w-3 h-3" }),
1784
+ return /* @__PURE__ */ jsxs9("span", { className: `inline-flex items-center gap-1 px-2 py-0.5 rounded-full text-[11px] font-semibold border ${color}`, children: [
1785
+ pct <= 20 ? /* @__PURE__ */ jsx10(CheckCircle3, { className: "w-3 h-3" }) : /* @__PURE__ */ jsx10(AlertCircle2, { className: "w-3 h-3" }),
1465
1786
  pct,
1466
1787
  "% hallucination risk"
1467
1788
  ] });
1468
1789
  }
1469
1790
  function RetrievalTab({ trace }) {
1470
- return /* @__PURE__ */ jsxs7("div", { className: "space-y-2", children: [
1471
- /* @__PURE__ */ jsxs7("p", { className: "text-[11px] text-slate-500 dark:text-white/40", children: [
1791
+ return /* @__PURE__ */ jsxs9("div", { className: "space-y-2", children: [
1792
+ /* @__PURE__ */ jsxs9("p", { className: "text-[11px] text-slate-500 dark:text-white/40", children: [
1472
1793
  trace.chunks.length,
1473
1794
  " chunk",
1474
1795
  trace.chunks.length !== 1 ? "s" : "",
1475
1796
  " retrieved",
1476
- trace.rewrittenQuery && /* @__PURE__ */ jsxs7("span", { className: "ml-2 italic", children: [
1797
+ trace.rewrittenQuery && /* @__PURE__ */ jsxs9("span", { className: "ml-2 italic", children: [
1477
1798
  "(query rewritten: ",
1478
- /* @__PURE__ */ jsx8("em", { className: "text-indigo-500", children: trace.rewrittenQuery }),
1799
+ /* @__PURE__ */ jsx10("em", { className: "text-indigo-500", children: trace.rewrittenQuery }),
1479
1800
  ")"
1480
1801
  ] })
1481
1802
  ] }),
1482
- /* @__PURE__ */ jsx8("div", { className: "space-y-1.5 max-h-56 overflow-y-auto pr-1 custom-scrollbar", children: trace.chunks.map((chunk, i) => /* @__PURE__ */ jsxs7(
1803
+ /* @__PURE__ */ jsx10("div", { className: "space-y-1.5 max-h-56 overflow-y-auto pr-1 custom-scrollbar", children: trace.chunks.map((chunk, i) => /* @__PURE__ */ jsxs9(
1483
1804
  "div",
1484
1805
  {
1485
1806
  className: "rounded-lg border border-slate-100 dark:border-white/8 bg-slate-50 dark:bg-white/3 p-2.5",
1486
1807
  children: [
1487
- /* @__PURE__ */ jsxs7("div", { className: "flex items-center justify-between mb-1", children: [
1488
- /* @__PURE__ */ jsxs7("span", { className: "text-[10px] font-mono text-slate-400 dark:text-white/30", children: [
1808
+ /* @__PURE__ */ jsxs9("div", { className: "flex items-center justify-between mb-1", children: [
1809
+ /* @__PURE__ */ jsxs9("span", { className: "text-[10px] font-mono text-slate-400 dark:text-white/30", children: [
1489
1810
  "[",
1490
1811
  i + 1,
1491
1812
  "] ",
1492
1813
  String(chunk.id).slice(0, 20)
1493
1814
  ] }),
1494
- /* @__PURE__ */ jsxs7("span", { className: "text-[10px] font-semibold text-indigo-600 dark:text-indigo-400", children: [
1815
+ /* @__PURE__ */ jsxs9("span", { className: "text-[10px] font-semibold text-indigo-600 dark:text-indigo-400", children: [
1495
1816
  "score: ",
1496
1817
  chunk.score.toFixed(3)
1497
1818
  ] })
1498
1819
  ] }),
1499
- /* @__PURE__ */ jsx8("div", { className: "h-1 rounded-full bg-slate-200 dark:bg-white/10 mb-2 overflow-hidden", children: /* @__PURE__ */ jsx8(
1820
+ /* @__PURE__ */ jsx10("div", { className: "h-1 rounded-full bg-slate-200 dark:bg-white/10 mb-2 overflow-hidden", children: /* @__PURE__ */ jsx10(
1500
1821
  "div",
1501
1822
  {
1502
1823
  className: "h-full rounded-full bg-indigo-500 dark:bg-indigo-400 transition-all",
1503
1824
  style: { width: `${Math.min(100, chunk.score * 100)}%` }
1504
1825
  }
1505
1826
  ) }),
1506
- /* @__PURE__ */ jsx8("p", { className: "text-[11px] text-slate-600 dark:text-white/60 line-clamp-2 leading-relaxed", children: chunk.content })
1827
+ /* @__PURE__ */ jsx10("p", { className: "text-[11px] text-slate-600 dark:text-white/60 line-clamp-2 leading-relaxed", children: chunk.content })
1507
1828
  ]
1508
1829
  },
1509
1830
  String(chunk.id)
@@ -1519,20 +1840,20 @@ function LatencyTab({ trace }) {
1519
1840
  { label: "Generate", ms: latency.generateMs, color: "#8b5cf6" }
1520
1841
  ];
1521
1842
  const maxMs = Math.max(...bars.map((b) => b.ms), 1);
1522
- return /* @__PURE__ */ jsxs7("div", { className: "space-y-3", children: [
1523
- /* @__PURE__ */ jsxs7("div", { className: "flex items-center justify-between", children: [
1524
- /* @__PURE__ */ jsx8("span", { className: "text-[11px] text-slate-500 dark:text-white/40", children: "Pipeline stages" }),
1525
- /* @__PURE__ */ jsxs7("span", { className: "text-[11px] font-semibold text-slate-700 dark:text-white/70", children: [
1843
+ return /* @__PURE__ */ jsxs9("div", { className: "space-y-3", children: [
1844
+ /* @__PURE__ */ jsxs9("div", { className: "flex items-center justify-between", children: [
1845
+ /* @__PURE__ */ jsx10("span", { className: "text-[11px] text-slate-500 dark:text-white/40", children: "Pipeline stages" }),
1846
+ /* @__PURE__ */ jsxs9("span", { className: "text-[11px] font-semibold text-slate-700 dark:text-white/70", children: [
1526
1847
  "Total: ",
1527
1848
  fmtMs(latency.totalMs)
1528
1849
  ] })
1529
1850
  ] }),
1530
- /* @__PURE__ */ jsx8("div", { className: "space-y-2", children: bars.map((bar) => /* @__PURE__ */ jsxs7("div", { className: "space-y-0.5", children: [
1531
- /* @__PURE__ */ jsxs7("div", { className: "flex items-center justify-between", children: [
1532
- /* @__PURE__ */ jsx8("span", { className: "text-[11px] text-slate-600 dark:text-white/60", children: bar.label }),
1533
- /* @__PURE__ */ jsx8("span", { className: "text-[11px] font-mono text-slate-500 dark:text-white/40", children: fmtMs(bar.ms) })
1851
+ /* @__PURE__ */ jsx10("div", { className: "space-y-2", children: bars.map((bar) => /* @__PURE__ */ jsxs9("div", { className: "space-y-0.5", children: [
1852
+ /* @__PURE__ */ jsxs9("div", { className: "flex items-center justify-between", children: [
1853
+ /* @__PURE__ */ jsx10("span", { className: "text-[11px] text-slate-600 dark:text-white/60", children: bar.label }),
1854
+ /* @__PURE__ */ jsx10("span", { className: "text-[11px] font-mono text-slate-500 dark:text-white/40", children: fmtMs(bar.ms) })
1534
1855
  ] }),
1535
- /* @__PURE__ */ jsx8("div", { className: "h-2 rounded-full bg-slate-100 dark:bg-white/8 overflow-hidden", children: /* @__PURE__ */ jsx8(
1856
+ /* @__PURE__ */ jsx10("div", { className: "h-2 rounded-full bg-slate-100 dark:bg-white/8 overflow-hidden", children: /* @__PURE__ */ jsx10(
1536
1857
  "div",
1537
1858
  {
1538
1859
  className: "h-full rounded-full transition-all duration-700",
@@ -1549,28 +1870,28 @@ function LatencyTab({ trace }) {
1549
1870
  function TokensTab({ trace }) {
1550
1871
  const { tokens } = trace;
1551
1872
  if (!tokens) {
1552
- return /* @__PURE__ */ jsx8("p", { className: "text-[11px] text-slate-400 dark:text-white/30 italic", children: "Token data not available." });
1873
+ return /* @__PURE__ */ jsx10("p", { className: "text-[11px] text-slate-400 dark:text-white/30 italic", children: "Token data not available." });
1553
1874
  }
1554
1875
  const stats = [
1555
1876
  { label: "Prompt Tokens", value: fmtTokens(tokens.promptTokens), color: "text-indigo-600 dark:text-indigo-400" },
1556
1877
  { label: "Completion Tokens", value: fmtTokens(tokens.completionTokens), color: "text-emerald-600 dark:text-emerald-400" },
1557
1878
  { label: "Total Tokens", value: fmtTokens(tokens.totalTokens), color: "text-slate-700 dark:text-white/80" }
1558
1879
  ];
1559
- return /* @__PURE__ */ jsxs7("div", { className: "space-y-3", children: [
1560
- /* @__PURE__ */ jsx8("div", { className: "grid grid-cols-3 gap-2", children: stats.map((s) => /* @__PURE__ */ jsxs7("div", { className: "rounded-lg border border-slate-100 dark:border-white/8 bg-slate-50 dark:bg-white/3 p-2.5 text-center", children: [
1561
- /* @__PURE__ */ jsx8("p", { className: `text-lg font-bold ${s.color}`, children: s.value }),
1562
- /* @__PURE__ */ jsx8("p", { className: "text-[10px] text-slate-400 dark:text-white/30 mt-0.5", children: s.label })
1880
+ return /* @__PURE__ */ jsxs9("div", { className: "space-y-3", children: [
1881
+ /* @__PURE__ */ jsx10("div", { className: "grid grid-cols-3 gap-2", children: stats.map((s) => /* @__PURE__ */ jsxs9("div", { className: "rounded-lg border border-slate-100 dark:border-white/8 bg-slate-50 dark:bg-white/3 p-2.5 text-center", children: [
1882
+ /* @__PURE__ */ jsx10("p", { className: `text-lg font-bold ${s.color}`, children: s.value }),
1883
+ /* @__PURE__ */ jsx10("p", { className: "text-[10px] text-slate-400 dark:text-white/30 mt-0.5", children: s.label })
1563
1884
  ] }, s.label)) }),
1564
- tokens.estimatedCostUsd != null && /* @__PURE__ */ jsxs7("div", { className: "flex items-center justify-between rounded-lg border border-emerald-100 dark:border-emerald-500/20 bg-emerald-50 dark:bg-emerald-500/10 px-3 py-2", children: [
1565
- /* @__PURE__ */ jsx8("span", { className: "text-[11px] text-emerald-700 dark:text-emerald-400 font-medium", children: "Estimated Cost" }),
1566
- /* @__PURE__ */ jsxs7("span", { className: "text-[11px] font-bold text-emerald-700 dark:text-emerald-400", children: [
1885
+ tokens.estimatedCostUsd != null && /* @__PURE__ */ jsxs9("div", { className: "flex items-center justify-between rounded-lg border border-emerald-100 dark:border-emerald-500/20 bg-emerald-50 dark:bg-emerald-500/10 px-3 py-2", children: [
1886
+ /* @__PURE__ */ jsx10("span", { className: "text-[11px] text-emerald-700 dark:text-emerald-400 font-medium", children: "Estimated Cost" }),
1887
+ /* @__PURE__ */ jsxs9("span", { className: "text-[11px] font-bold text-emerald-700 dark:text-emerald-400", children: [
1567
1888
  "$",
1568
1889
  tokens.estimatedCostUsd < 1e-4 ? tokens.estimatedCostUsd.toExponential(2) : tokens.estimatedCostUsd.toFixed(5),
1569
1890
  " USD"
1570
1891
  ] })
1571
1892
  ] }),
1572
- /* @__PURE__ */ jsxs7("div", { className: "h-2 rounded-full overflow-hidden flex", children: [
1573
- /* @__PURE__ */ jsx8(
1893
+ /* @__PURE__ */ jsxs9("div", { className: "h-2 rounded-full overflow-hidden flex", children: [
1894
+ /* @__PURE__ */ jsx10(
1574
1895
  "div",
1575
1896
  {
1576
1897
  className: "h-full bg-indigo-500 dark:bg-indigo-400",
@@ -1578,7 +1899,7 @@ function TokensTab({ trace }) {
1578
1899
  title: "Prompt tokens"
1579
1900
  }
1580
1901
  ),
1581
- /* @__PURE__ */ jsx8(
1902
+ /* @__PURE__ */ jsx10(
1582
1903
  "div",
1583
1904
  {
1584
1905
  className: "h-full bg-emerald-500 dark:bg-emerald-400",
@@ -1587,13 +1908,13 @@ function TokensTab({ trace }) {
1587
1908
  }
1588
1909
  )
1589
1910
  ] }),
1590
- /* @__PURE__ */ jsxs7("div", { className: "flex gap-3 text-[10px] text-slate-400 dark:text-white/30", children: [
1591
- /* @__PURE__ */ jsxs7("span", { className: "flex items-center gap-1", children: [
1592
- /* @__PURE__ */ jsx8("span", { className: "inline-block w-2 h-2 rounded-full bg-indigo-500" }),
1911
+ /* @__PURE__ */ jsxs9("div", { className: "flex gap-3 text-[10px] text-slate-400 dark:text-white/30", children: [
1912
+ /* @__PURE__ */ jsxs9("span", { className: "flex items-center gap-1", children: [
1913
+ /* @__PURE__ */ jsx10("span", { className: "inline-block w-2 h-2 rounded-full bg-indigo-500" }),
1593
1914
  " Prompt"
1594
1915
  ] }),
1595
- /* @__PURE__ */ jsxs7("span", { className: "flex items-center gap-1", children: [
1596
- /* @__PURE__ */ jsx8("span", { className: "inline-block w-2 h-2 rounded-full bg-emerald-500" }),
1916
+ /* @__PURE__ */ jsxs9("span", { className: "flex items-center gap-1", children: [
1917
+ /* @__PURE__ */ jsx10("span", { className: "inline-block w-2 h-2 rounded-full bg-emerald-500" }),
1597
1918
  " Completion"
1598
1919
  ] })
1599
1920
  ] })
@@ -1601,71 +1922,71 @@ function TokensTab({ trace }) {
1601
1922
  }
1602
1923
  function HallucinationTab({ trace }) {
1603
1924
  if (trace.hallucinationScore == null) {
1604
- return /* @__PURE__ */ jsx8("p", { className: "text-[11px] text-slate-400 dark:text-white/30 italic", children: "Hallucination scoring not available for this response." });
1925
+ return /* @__PURE__ */ jsx10("p", { className: "text-[11px] text-slate-400 dark:text-white/30 italic", children: "Hallucination scoring not available for this response." });
1605
1926
  }
1606
1927
  const score = trace.hallucinationScore;
1607
1928
  const pct = Math.round(score * 100);
1608
1929
  const barColor = pct <= 20 ? "#10b981" : pct <= 50 ? "#f59e0b" : "#ef4444";
1609
- return /* @__PURE__ */ jsxs7("div", { className: "space-y-3", children: [
1610
- /* @__PURE__ */ jsxs7("div", { className: "flex items-center justify-between", children: [
1611
- /* @__PURE__ */ jsx8(ScoreBadge, { score }),
1612
- /* @__PURE__ */ jsxs7("span", { className: "text-[11px] font-mono text-slate-500 dark:text-white/40", children: [
1930
+ return /* @__PURE__ */ jsxs9("div", { className: "space-y-3", children: [
1931
+ /* @__PURE__ */ jsxs9("div", { className: "flex items-center justify-between", children: [
1932
+ /* @__PURE__ */ jsx10(ScoreBadge, { score }),
1933
+ /* @__PURE__ */ jsxs9("span", { className: "text-[11px] font-mono text-slate-500 dark:text-white/40", children: [
1613
1934
  pct,
1614
1935
  "/100"
1615
1936
  ] })
1616
1937
  ] }),
1617
- /* @__PURE__ */ jsx8("div", { className: "h-3 rounded-full bg-slate-100 dark:bg-white/8 overflow-hidden", children: /* @__PURE__ */ jsx8(
1938
+ /* @__PURE__ */ jsx10("div", { className: "h-3 rounded-full bg-slate-100 dark:bg-white/8 overflow-hidden", children: /* @__PURE__ */ jsx10(
1618
1939
  "div",
1619
1940
  {
1620
1941
  className: "h-full rounded-full transition-all duration-700",
1621
1942
  style: { width: `${pct}%`, background: barColor }
1622
1943
  }
1623
1944
  ) }),
1624
- trace.hallucinationReason && /* @__PURE__ */ jsxs7("div", { className: "rounded-lg border border-slate-100 dark:border-white/8 bg-slate-50 dark:bg-white/3 p-2.5", children: [
1625
- /* @__PURE__ */ jsx8("p", { className: "text-[11px] text-slate-500 dark:text-white/40 font-medium mb-0.5", children: "AI self-assessment" }),
1626
- /* @__PURE__ */ jsx8("p", { className: "text-[11px] text-slate-700 dark:text-white/70 leading-relaxed", children: trace.hallucinationReason })
1945
+ trace.hallucinationReason && /* @__PURE__ */ jsxs9("div", { className: "rounded-lg border border-slate-100 dark:border-white/8 bg-slate-50 dark:bg-white/3 p-2.5", children: [
1946
+ /* @__PURE__ */ jsx10("p", { className: "text-[11px] text-slate-500 dark:text-white/40 font-medium mb-0.5", children: "AI self-assessment" }),
1947
+ /* @__PURE__ */ jsx10("p", { className: "text-[11px] text-slate-700 dark:text-white/70 leading-relaxed", children: trace.hallucinationReason })
1627
1948
  ] }),
1628
- /* @__PURE__ */ jsxs7("div", { className: "flex gap-2 text-[10px] text-slate-400 dark:text-white/30", children: [
1629
- /* @__PURE__ */ jsxs7("span", { className: "flex items-center gap-1", children: [
1630
- /* @__PURE__ */ jsx8("span", { className: "inline-block w-2 h-2 rounded-full bg-emerald-500" }),
1949
+ /* @__PURE__ */ jsxs9("div", { className: "flex gap-2 text-[10px] text-slate-400 dark:text-white/30", children: [
1950
+ /* @__PURE__ */ jsxs9("span", { className: "flex items-center gap-1", children: [
1951
+ /* @__PURE__ */ jsx10("span", { className: "inline-block w-2 h-2 rounded-full bg-emerald-500" }),
1631
1952
  " 0\u201320%: Grounded"
1632
1953
  ] }),
1633
- /* @__PURE__ */ jsxs7("span", { className: "flex items-center gap-1", children: [
1634
- /* @__PURE__ */ jsx8("span", { className: "inline-block w-2 h-2 rounded-full bg-amber-500" }),
1954
+ /* @__PURE__ */ jsxs9("span", { className: "flex items-center gap-1", children: [
1955
+ /* @__PURE__ */ jsx10("span", { className: "inline-block w-2 h-2 rounded-full bg-amber-500" }),
1635
1956
  " 21\u201350%: Uncertain"
1636
1957
  ] }),
1637
- /* @__PURE__ */ jsxs7("span", { className: "flex items-center gap-1", children: [
1638
- /* @__PURE__ */ jsx8("span", { className: "inline-block w-2 h-2 rounded-full bg-red-500" }),
1958
+ /* @__PURE__ */ jsxs9("span", { className: "flex items-center gap-1", children: [
1959
+ /* @__PURE__ */ jsx10("span", { className: "inline-block w-2 h-2 rounded-full bg-red-500" }),
1639
1960
  " 51\u2013100%: Risk"
1640
1961
  ] })
1641
1962
  ] })
1642
1963
  ] });
1643
1964
  }
1644
1965
  function PromptTab({ trace }) {
1645
- const [showSystem, setShowSystem] = React6.useState(false);
1646
- return /* @__PURE__ */ jsxs7("div", { className: "space-y-3", children: [
1647
- /* @__PURE__ */ jsxs7("div", { children: [
1648
- /* @__PURE__ */ jsxs7(
1966
+ const [showSystem, setShowSystem] = React9.useState(false);
1967
+ return /* @__PURE__ */ jsxs9("div", { className: "space-y-3", children: [
1968
+ /* @__PURE__ */ jsxs9("div", { children: [
1969
+ /* @__PURE__ */ jsxs9(
1649
1970
  "button",
1650
1971
  {
1651
1972
  onClick: () => setShowSystem((s) => !s),
1652
1973
  className: "flex items-center gap-1.5 text-[11px] font-semibold text-slate-600 dark:text-white/60 hover:text-slate-900 dark:hover:text-white/80 transition-colors mb-1.5",
1653
1974
  children: [
1654
- showSystem ? /* @__PURE__ */ jsx8(ChevronDown2, { className: "w-3 h-3" }) : /* @__PURE__ */ jsx8(ChevronRight2, { className: "w-3 h-3" }),
1975
+ showSystem ? /* @__PURE__ */ jsx10(ChevronDown2, { className: "w-3 h-3" }) : /* @__PURE__ */ jsx10(ChevronRight3, { className: "w-3 h-3" }),
1655
1976
  "System Prompt"
1656
1977
  ]
1657
1978
  }
1658
1979
  ),
1659
- showSystem && /* @__PURE__ */ jsx8("pre", { className: "text-[10px] font-mono text-slate-600 dark:text-white/60 bg-slate-900 dark:bg-black/30 rounded-lg p-3 overflow-auto max-h-40 whitespace-pre-wrap leading-relaxed", children: trace.systemPrompt || "(empty)" })
1980
+ showSystem && /* @__PURE__ */ jsx10("pre", { className: "text-[10px] font-mono text-slate-600 dark:text-white/60 bg-slate-900 dark:bg-black/30 rounded-lg p-3 overflow-auto max-h-40 whitespace-pre-wrap leading-relaxed", children: trace.systemPrompt || "(empty)" })
1660
1981
  ] }),
1661
- /* @__PURE__ */ jsxs7("div", { children: [
1662
- /* @__PURE__ */ jsx8("p", { className: "text-[11px] font-semibold text-slate-600 dark:text-white/60 mb-1.5", children: "User Prompt" }),
1663
- /* @__PURE__ */ jsx8("pre", { className: "text-[10px] font-mono text-slate-600 dark:text-white/60 bg-slate-900 dark:bg-black/30 rounded-lg p-3 overflow-auto max-h-40 whitespace-pre-wrap leading-relaxed", children: trace.userPrompt })
1982
+ /* @__PURE__ */ jsxs9("div", { children: [
1983
+ /* @__PURE__ */ jsx10("p", { className: "text-[11px] font-semibold text-slate-600 dark:text-white/60 mb-1.5", children: "User Prompt" }),
1984
+ /* @__PURE__ */ jsx10("pre", { className: "text-[10px] font-mono text-slate-600 dark:text-white/60 bg-slate-900 dark:bg-black/30 rounded-lg p-3 overflow-auto max-h-40 whitespace-pre-wrap leading-relaxed", children: trace.userPrompt })
1664
1985
  ] })
1665
1986
  ] });
1666
1987
  }
1667
1988
  function ChunksTab({ trace }) {
1668
- const [expanded, setExpanded] = React6.useState(/* @__PURE__ */ new Set());
1989
+ const [expanded, setExpanded] = React9.useState(/* @__PURE__ */ new Set());
1669
1990
  const toggle = (i) => setExpanded((prev) => {
1670
1991
  const next = new Set(prev);
1671
1992
  if (next.has(i)) {
@@ -1675,39 +1996,39 @@ function ChunksTab({ trace }) {
1675
1996
  }
1676
1997
  return next;
1677
1998
  });
1678
- return /* @__PURE__ */ jsx8("div", { className: "space-y-1.5 max-h-64 overflow-y-auto pr-1 custom-scrollbar", children: trace.chunks.map((chunk, i) => {
1999
+ return /* @__PURE__ */ jsx10("div", { className: "space-y-1.5 max-h-64 overflow-y-auto pr-1 custom-scrollbar", children: trace.chunks.map((chunk, i) => {
1679
2000
  const isOpen = expanded.has(i);
1680
- return /* @__PURE__ */ jsxs7(
2001
+ return /* @__PURE__ */ jsxs9(
1681
2002
  "div",
1682
2003
  {
1683
2004
  className: "rounded-lg border border-slate-100 dark:border-white/8 bg-slate-50 dark:bg-white/3 overflow-hidden",
1684
2005
  children: [
1685
- /* @__PURE__ */ jsxs7(
2006
+ /* @__PURE__ */ jsxs9(
1686
2007
  "button",
1687
2008
  {
1688
2009
  onClick: () => toggle(i),
1689
2010
  className: "w-full flex items-center justify-between px-3 py-2 text-left hover:bg-slate-100 dark:hover:bg-white/5 transition-colors",
1690
2011
  children: [
1691
- /* @__PURE__ */ jsxs7("div", { className: "flex items-center gap-2", children: [
1692
- isOpen ? /* @__PURE__ */ jsx8(ChevronDown2, { className: "w-3 h-3 text-slate-400" }) : /* @__PURE__ */ jsx8(ChevronRight2, { className: "w-3 h-3 text-slate-400" }),
1693
- /* @__PURE__ */ jsxs7("span", { className: "text-[11px] font-medium text-slate-700 dark:text-white/70", children: [
2012
+ /* @__PURE__ */ jsxs9("div", { className: "flex items-center gap-2", children: [
2013
+ isOpen ? /* @__PURE__ */ jsx10(ChevronDown2, { className: "w-3 h-3 text-slate-400" }) : /* @__PURE__ */ jsx10(ChevronRight3, { className: "w-3 h-3 text-slate-400" }),
2014
+ /* @__PURE__ */ jsxs9("span", { className: "text-[11px] font-medium text-slate-700 dark:text-white/70", children: [
1694
2015
  "Chunk ",
1695
2016
  i + 1
1696
2017
  ] }),
1697
- /* @__PURE__ */ jsx8("span", { className: "text-[10px] font-mono text-slate-400 dark:text-white/30", children: String(chunk.id).slice(0, 16) })
2018
+ /* @__PURE__ */ jsx10("span", { className: "text-[10px] font-mono text-slate-400 dark:text-white/30", children: String(chunk.id).slice(0, 16) })
1698
2019
  ] }),
1699
- /* @__PURE__ */ jsx8("span", { className: "text-[10px] font-semibold text-indigo-600 dark:text-indigo-400", children: chunk.score.toFixed(3) })
2020
+ /* @__PURE__ */ jsx10("span", { className: "text-[10px] font-semibold text-indigo-600 dark:text-indigo-400", children: chunk.score.toFixed(3) })
1700
2021
  ]
1701
2022
  }
1702
2023
  ),
1703
- isOpen && /* @__PURE__ */ jsxs7("div", { className: "px-3 pb-3 space-y-2 border-t border-slate-100 dark:border-white/5 pt-2", children: [
1704
- /* @__PURE__ */ jsxs7("div", { children: [
1705
- /* @__PURE__ */ jsx8("p", { className: "text-[10px] text-slate-400 dark:text-white/30 font-semibold uppercase tracking-wider mb-1", children: "Content" }),
1706
- /* @__PURE__ */ jsx8("p", { className: "text-[11px] text-slate-600 dark:text-white/60 leading-relaxed whitespace-pre-wrap", children: chunk.content })
2024
+ isOpen && /* @__PURE__ */ jsxs9("div", { className: "px-3 pb-3 space-y-2 border-t border-slate-100 dark:border-white/5 pt-2", children: [
2025
+ /* @__PURE__ */ jsxs9("div", { children: [
2026
+ /* @__PURE__ */ jsx10("p", { className: "text-[10px] text-slate-400 dark:text-white/30 font-semibold uppercase tracking-wider mb-1", children: "Content" }),
2027
+ /* @__PURE__ */ jsx10("p", { className: "text-[11px] text-slate-600 dark:text-white/60 leading-relaxed whitespace-pre-wrap", children: chunk.content })
1707
2028
  ] }),
1708
- Object.keys(chunk.metadata).length > 0 && /* @__PURE__ */ jsxs7("div", { children: [
1709
- /* @__PURE__ */ jsx8("p", { className: "text-[10px] text-slate-400 dark:text-white/30 font-semibold uppercase tracking-wider mb-1", children: "Metadata" }),
1710
- /* @__PURE__ */ jsx8("pre", { className: "text-[10px] font-mono text-slate-500 dark:text-white/40 bg-slate-900 dark:bg-black/30 rounded-md p-2 overflow-auto max-h-24", children: JSON.stringify(chunk.metadata, null, 2) })
2029
+ Object.keys(chunk.metadata).length > 0 && /* @__PURE__ */ jsxs9("div", { children: [
2030
+ /* @__PURE__ */ jsx10("p", { className: "text-[10px] text-slate-400 dark:text-white/30 font-semibold uppercase tracking-wider mb-1", children: "Metadata" }),
2031
+ /* @__PURE__ */ jsx10("pre", { className: "text-[10px] font-mono text-slate-500 dark:text-white/40 bg-slate-900 dark:bg-black/30 rounded-md p-2 overflow-auto max-h-24", children: JSON.stringify(chunk.metadata, null, 2) })
1711
2032
  ] })
1712
2033
  ] })
1713
2034
  ]
@@ -1717,38 +2038,38 @@ function ChunksTab({ trace }) {
1717
2038
  }) });
1718
2039
  }
1719
2040
  var TABS = [
1720
- { id: "retrieval", label: "Retrieval", icon: /* @__PURE__ */ jsx8(Layers, { className: "w-3 h-3" }) },
1721
- { id: "latency", label: "Latency", icon: /* @__PURE__ */ jsx8(Clock, { className: "w-3 h-3" }) },
1722
- { id: "tokens", label: "Tokens", icon: /* @__PURE__ */ jsx8(Cpu, { className: "w-3 h-3" }) },
1723
- { id: "hallucination", label: "Grounding", icon: /* @__PURE__ */ jsx8(AlertTriangle, { className: "w-3 h-3" }) },
1724
- { id: "prompt", label: "Prompt", icon: /* @__PURE__ */ jsx8(FileText, { className: "w-3 h-3" }) },
1725
- { id: "chunks", label: "Chunks", icon: /* @__PURE__ */ jsx8(Zap, { className: "w-3 h-3" }) }
2041
+ { id: "retrieval", label: "Retrieval", icon: /* @__PURE__ */ jsx10(Layers, { className: "w-3 h-3" }) },
2042
+ { id: "latency", label: "Latency", icon: /* @__PURE__ */ jsx10(Clock, { className: "w-3 h-3" }) },
2043
+ { id: "tokens", label: "Tokens", icon: /* @__PURE__ */ jsx10(Cpu, { className: "w-3 h-3" }) },
2044
+ { id: "hallucination", label: "Grounding", icon: /* @__PURE__ */ jsx10(AlertTriangle, { className: "w-3 h-3" }) },
2045
+ { id: "prompt", label: "Prompt", icon: /* @__PURE__ */ jsx10(FileText, { className: "w-3 h-3" }) },
2046
+ { id: "chunks", label: "Chunks", icon: /* @__PURE__ */ jsx10(Zap, { className: "w-3 h-3" }) }
1726
2047
  ];
1727
2048
  function ObservabilityPanel({ trace, primaryColor = "#6366f1" }) {
1728
- const [activeTab, setActiveTab] = React6.useState("retrieval");
1729
- return /* @__PURE__ */ jsxs7("div", { className: "mt-2 w-[500px] max-w-full rounded-xl border border-slate-200 dark:border-white/8 bg-white dark:bg-slate-900/60 shadow-sm overflow-hidden text-[12px]", children: [
1730
- /* @__PURE__ */ jsxs7(
2049
+ const [activeTab, setActiveTab] = React9.useState("retrieval");
2050
+ return /* @__PURE__ */ jsxs9("div", { className: "mt-2 w-[500px] max-w-full rounded-xl border border-slate-200 dark:border-white/8 bg-white dark:bg-slate-900/60 shadow-sm overflow-hidden text-[12px]", children: [
2051
+ /* @__PURE__ */ jsxs9(
1731
2052
  "div",
1732
2053
  {
1733
2054
  className: "flex items-center gap-2 px-3 py-2 border-b border-slate-100 dark:border-white/8",
1734
2055
  style: { background: `${primaryColor}08` },
1735
2056
  children: [
1736
- /* @__PURE__ */ jsxs7(
2057
+ /* @__PURE__ */ jsxs9(
1737
2058
  "span",
1738
2059
  {
1739
2060
  className: "inline-flex items-center gap-1 text-[10px] font-bold uppercase tracking-wider",
1740
2061
  style: { color: primaryColor },
1741
2062
  children: [
1742
- /* @__PURE__ */ jsx8(Zap, { className: "w-3 h-3" }),
2063
+ /* @__PURE__ */ jsx10(Zap, { className: "w-3 h-3" }),
1743
2064
  "Observability Trace"
1744
2065
  ]
1745
2066
  }
1746
2067
  ),
1747
- /* @__PURE__ */ jsx8("span", { className: "text-[10px] text-slate-400 dark:text-white/30 ml-auto font-mono", children: trace.requestId })
2068
+ /* @__PURE__ */ jsx10("span", { className: "text-[10px] text-slate-400 dark:text-white/30 ml-auto font-mono", children: trace.requestId })
1748
2069
  ]
1749
2070
  }
1750
2071
  ),
1751
- /* @__PURE__ */ jsx8("div", { className: "flex border-b border-slate-100 dark:border-white/8 overflow-x-auto", children: TABS.map((tab) => /* @__PURE__ */ jsxs7(
2072
+ /* @__PURE__ */ jsx10("div", { className: "flex border-b border-slate-100 dark:border-white/8 overflow-x-auto", children: TABS.map((tab) => /* @__PURE__ */ jsxs9(
1752
2073
  "button",
1753
2074
  {
1754
2075
  onClick: () => setActiveTab(tab.id),
@@ -1761,13 +2082,13 @@ function ObservabilityPanel({ trace, primaryColor = "#6366f1" }) {
1761
2082
  },
1762
2083
  tab.id
1763
2084
  )) }),
1764
- /* @__PURE__ */ jsxs7("div", { className: "p-3", children: [
1765
- activeTab === "retrieval" && /* @__PURE__ */ jsx8(RetrievalTab, { trace }),
1766
- activeTab === "latency" && /* @__PURE__ */ jsx8(LatencyTab, { trace }),
1767
- activeTab === "tokens" && /* @__PURE__ */ jsx8(TokensTab, { trace }),
1768
- activeTab === "hallucination" && /* @__PURE__ */ jsx8(HallucinationTab, { trace }),
1769
- activeTab === "prompt" && /* @__PURE__ */ jsx8(PromptTab, { trace }),
1770
- activeTab === "chunks" && /* @__PURE__ */ jsx8(ChunksTab, { trace })
2085
+ /* @__PURE__ */ jsxs9("div", { className: "p-3", children: [
2086
+ activeTab === "retrieval" && /* @__PURE__ */ jsx10(RetrievalTab, { trace }),
2087
+ activeTab === "latency" && /* @__PURE__ */ jsx10(LatencyTab, { trace }),
2088
+ activeTab === "tokens" && /* @__PURE__ */ jsx10(TokensTab, { trace }),
2089
+ activeTab === "hallucination" && /* @__PURE__ */ jsx10(HallucinationTab, { trace }),
2090
+ activeTab === "prompt" && /* @__PURE__ */ jsx10(PromptTab, { trace }),
2091
+ activeTab === "chunks" && /* @__PURE__ */ jsx10(ChunksTab, { trace })
1771
2092
  ] })
1772
2093
  ] });
1773
2094
  }
@@ -2075,14 +2396,14 @@ function deduplicateProducts(productsFromSources, productsFromContent, messageCo
2075
2396
  }
2076
2397
 
2077
2398
  // src/components/MarkdownComponents.tsx
2078
- import React9 from "react";
2399
+ import React12 from "react";
2079
2400
 
2080
2401
  // src/components/UIDispatcher.tsx
2081
- import React8 from "react";
2402
+ import React11 from "react";
2082
2403
 
2083
2404
  // src/components/UIBlockRenderer.tsx
2084
- import { useState as useState4 } from "react";
2085
- import { Fragment as Fragment5, jsx as jsx9, jsxs as jsxs8 } from "react/jsx-runtime";
2405
+ import { useState as useState6 } from "react";
2406
+ import { Fragment as Fragment5, jsx as jsx11, jsxs as jsxs10 } from "react/jsx-runtime";
2086
2407
  function UIBlockRenderer({
2087
2408
  block,
2088
2409
  customRenderers = {},
@@ -2093,10 +2414,11 @@ function UIBlockRenderer({
2093
2414
  onFormSubmit,
2094
2415
  isStreaming = false
2095
2416
  }) {
2096
- const [formSubmitted, setFormSubmitted] = useState4(false);
2097
- const [formLoading, setFormLoading] = useState4(false);
2098
- const [formError, setFormError] = useState4(null);
2099
- const [formData, setFormData] = useState4({});
2417
+ const [formSubmitted, setFormSubmitted] = useState6(false);
2418
+ const [formLoading, setFormLoading] = useState6(false);
2419
+ const [formError, setFormError] = useState6(null);
2420
+ const [formData, setFormData] = useState6({});
2421
+ const sdkConfig = useConfig();
2100
2422
  if (!block || typeof block !== "object") return null;
2101
2423
  const uiBlock = __spreadValues({}, block);
2102
2424
  let viewType = (uiBlock.view || uiBlock.type || "").toLowerCase();
@@ -2113,11 +2435,11 @@ function UIBlockRenderer({
2113
2435
  viewType = "carousel";
2114
2436
  }
2115
2437
  if (customRenderers && typeof customRenderers[viewType] === "function") {
2116
- return /* @__PURE__ */ jsx9(Fragment5, { children: customRenderers[viewType](uiBlock) });
2438
+ return /* @__PURE__ */ jsx11(Fragment5, { children: customRenderers[viewType](uiBlock) });
2117
2439
  }
2118
2440
  const handleActionClick = (btn) => {
2119
2441
  var _a;
2120
- if (btn.action === "open_url" && ((_a = btn.payload) == null ? void 0 : _a.url)) {
2442
+ if (btn.action === "open_url" && typeof ((_a = btn.payload) == null ? void 0 : _a.url) === "string" && isSafeUrl(btn.payload.url)) {
2121
2443
  window.open(btn.payload.url, "_blank", "noopener,noreferrer");
2122
2444
  }
2123
2445
  if (onActionTriggered) {
@@ -2132,9 +2454,12 @@ function UIBlockRenderer({
2132
2454
  if (onFormSubmit) {
2133
2455
  await onFormSubmit(formData);
2134
2456
  } else {
2135
- const res = await fetch("/api/forms/submit", {
2457
+ const formsEndpoint = sdkConfig.retrivoraApiBase ? `${sdkConfig.retrivoraApiBase.replace(/\/$/, "")}/forms/submit` : "/api/forms/submit";
2458
+ const res = await fetch(formsEndpoint, {
2136
2459
  method: "POST",
2137
- headers: { "Content-Type": "application/json" },
2460
+ headers: __spreadValues(__spreadValues(__spreadValues({
2461
+ "Content-Type": "application/json"
2462
+ }, sdkConfig.licenseKey ? { "x-license-key": sdkConfig.licenseKey } : {}), sdkConfig.projectId ? { "x-project-id": sdkConfig.projectId } : {}), sdkConfig.headers || {}),
2138
2463
  body: JSON.stringify({
2139
2464
  title: uiBlock.title || "Form Submission",
2140
2465
  data: formData,
@@ -2158,10 +2483,10 @@ function UIBlockRenderer({
2158
2483
  switch (viewType) {
2159
2484
  case "carousel": {
2160
2485
  const items = Array.isArray(uiBlock.data) ? uiBlock.data : [];
2161
- return /* @__PURE__ */ jsxs8("div", { className: "my-4 w-full", children: [
2162
- uiBlock.title && /* @__PURE__ */ jsx9("h4", { className: "text-xs font-semibold text-slate-500 mb-1", children: uiBlock.title }),
2163
- uiBlock.description && /* @__PURE__ */ jsx9("p", { className: "text-xs text-slate-500 dark:text-white/60 mb-3", children: uiBlock.description }),
2164
- /* @__PURE__ */ jsx9(
2486
+ return /* @__PURE__ */ jsxs10("div", { className: "my-4 w-full", children: [
2487
+ uiBlock.title && /* @__PURE__ */ jsx11("h4", { className: "text-xs font-semibold text-slate-500 mb-1", children: uiBlock.title }),
2488
+ uiBlock.description && /* @__PURE__ */ jsx11("p", { className: "text-xs text-slate-500 dark:text-white/60 mb-3", children: uiBlock.description }),
2489
+ /* @__PURE__ */ jsx11(
2165
2490
  ProductCarousel,
2166
2491
  {
2167
2492
  products: items.map((item, idx) => ({
@@ -2185,10 +2510,10 @@ function UIBlockRenderer({
2185
2510
  const rows = Array.isArray(uiBlock.data) ? uiBlock.data.map(
2186
2511
  (row) => Array.isArray(row) ? row : columns.map((col) => row[col] !== void 0 ? row[col] : "")
2187
2512
  ) : [];
2188
- return /* @__PURE__ */ jsxs8("div", { className: "my-4 p-4 max-h-[400px] bg-white dark:bg-slate-900 rounded-xl border border-slate-200 dark:border-white/10 shadow-sm overflow-auto", children: [
2189
- uiBlock.title && /* @__PURE__ */ jsx9("h4", { className: "text-xs font-semibold text-slate-500 mb-1", children: uiBlock.title }),
2190
- uiBlock.description && /* @__PURE__ */ jsx9("p", { className: "text-xs text-slate-500 dark:text-white/60 mb-3", children: uiBlock.description }),
2191
- /* @__PURE__ */ jsx9(
2513
+ return /* @__PURE__ */ jsxs10("div", { className: "my-4 p-4 max-h-[400px] bg-white dark:bg-slate-900 rounded-xl border border-slate-200 dark:border-white/10 shadow-sm overflow-auto", children: [
2514
+ uiBlock.title && /* @__PURE__ */ jsx11("h4", { className: "text-xs font-semibold text-slate-500 mb-1", children: uiBlock.title }),
2515
+ uiBlock.description && /* @__PURE__ */ jsx11("p", { className: "text-xs text-slate-500 dark:text-white/60 mb-3", children: uiBlock.description }),
2516
+ /* @__PURE__ */ jsx11(
2192
2517
  VisualizationRenderer,
2193
2518
  {
2194
2519
  data: {
@@ -2206,10 +2531,10 @@ function UIBlockRenderer({
2206
2531
  case "chart": {
2207
2532
  const chartType = uiBlock.chartType || "bar";
2208
2533
  const chartData = Array.isArray(uiBlock.data) ? uiBlock.data : [];
2209
- return /* @__PURE__ */ jsxs8("div", { className: "my-6 p-4 bg-white dark:bg-slate-900 rounded-2xl border border-slate-200 dark:border-white/10 shadow-sm overflow-hidden", children: [
2210
- uiBlock.title && /* @__PURE__ */ jsx9("h4", { className: "text-xs font-semibold text-slate-500 mb-1 px-2", children: uiBlock.title }),
2211
- uiBlock.description && /* @__PURE__ */ jsx9("p", { className: "text-xs text-slate-500 dark:text-white/60 mb-4 px-2", children: uiBlock.description }),
2212
- /* @__PURE__ */ jsx9(
2534
+ return /* @__PURE__ */ jsxs10("div", { className: "my-6 p-4 bg-white dark:bg-slate-900 rounded-2xl border border-slate-200 dark:border-white/10 shadow-sm overflow-hidden", children: [
2535
+ uiBlock.title && /* @__PURE__ */ jsx11("h4", { className: "text-xs font-semibold text-slate-500 mb-1 px-2", children: uiBlock.title }),
2536
+ uiBlock.description && /* @__PURE__ */ jsx11("p", { className: "text-xs text-slate-500 dark:text-white/60 mb-4 px-2", children: uiBlock.description }),
2537
+ /* @__PURE__ */ jsx11(
2213
2538
  DynamicChart,
2214
2539
  {
2215
2540
  config: {
@@ -2228,35 +2553,35 @@ function UIBlockRenderer({
2228
2553
  }
2229
2554
  case "form": {
2230
2555
  if (formSubmitted) {
2231
- return /* @__PURE__ */ jsxs8("div", { className: "my-4 p-5 bg-emerald-50 dark:bg-emerald-950/20 border border-emerald-200 dark:border-emerald-500/20 rounded-2xl text-center space-y-2", children: [
2232
- /* @__PURE__ */ jsx9(
2556
+ return /* @__PURE__ */ jsxs10("div", { className: "my-4 p-5 bg-emerald-50 dark:bg-emerald-950/20 border border-emerald-200 dark:border-emerald-500/20 rounded-2xl text-center space-y-2", children: [
2557
+ /* @__PURE__ */ jsx11(
2233
2558
  "svg",
2234
2559
  {
2235
2560
  className: "mx-auto h-8 w-8 text-emerald-500",
2236
2561
  fill: "none",
2237
2562
  stroke: "currentColor",
2238
2563
  viewBox: "0 0 24 24",
2239
- children: /* @__PURE__ */ jsx9("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M5 13l4 4L19 7" })
2564
+ children: /* @__PURE__ */ jsx11("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M5 13l4 4L19 7" })
2240
2565
  }
2241
2566
  ),
2242
- /* @__PURE__ */ jsx9("h5", { className: "font-semibold text-emerald-800 dark:text-emerald-300 text-sm", children: "Thank you!" }),
2243
- /* @__PURE__ */ jsx9("p", { className: "text-xs text-emerald-600 dark:text-emerald-400", children: "Your details have been submitted successfully." })
2567
+ /* @__PURE__ */ jsx11("h5", { className: "font-semibold text-emerald-800 dark:text-emerald-300 text-sm", children: "Thank you!" }),
2568
+ /* @__PURE__ */ jsx11("p", { className: "text-xs text-emerald-600 dark:text-emerald-400", children: "Your details have been submitted successfully." })
2244
2569
  ] });
2245
2570
  }
2246
2571
  const fields = uiBlock.fields || [];
2247
- return /* @__PURE__ */ jsxs8("div", { className: "my-4 p-5 bg-white dark:bg-slate-900 rounded-2xl border border-slate-200 dark:border-white/10 shadow-sm space-y-4", children: [
2248
- /* @__PURE__ */ jsxs8("div", { className: "space-y-1", children: [
2249
- /* @__PURE__ */ jsx9("h4", { className: "text-sm font-semibold text-slate-800 dark:text-white", children: uiBlock.title || "Submit Form" }),
2250
- uiBlock.description && /* @__PURE__ */ jsx9("p", { className: "text-xs text-slate-500 dark:text-white/60", children: uiBlock.description })
2572
+ return /* @__PURE__ */ jsxs10("div", { className: "my-4 p-5 bg-white dark:bg-slate-900 rounded-2xl border border-slate-200 dark:border-white/10 shadow-sm space-y-4", children: [
2573
+ /* @__PURE__ */ jsxs10("div", { className: "space-y-1", children: [
2574
+ /* @__PURE__ */ jsx11("h4", { className: "text-sm font-semibold text-slate-800 dark:text-white", children: uiBlock.title || "Submit Form" }),
2575
+ uiBlock.description && /* @__PURE__ */ jsx11("p", { className: "text-xs text-slate-500 dark:text-white/60", children: uiBlock.description })
2251
2576
  ] }),
2252
- /* @__PURE__ */ jsxs8("form", { onSubmit: handleFormSubmit, className: "space-y-3", children: [
2253
- fields.map((field, i) => /* @__PURE__ */ jsxs8("div", { className: "space-y-1", children: [
2254
- /* @__PURE__ */ jsxs8("label", { className: "block text-[11px] font-medium text-slate-500 dark:text-slate-400", children: [
2577
+ /* @__PURE__ */ jsxs10("form", { onSubmit: handleFormSubmit, className: "space-y-3", children: [
2578
+ fields.map((field, i) => /* @__PURE__ */ jsxs10("div", { className: "space-y-1", children: [
2579
+ /* @__PURE__ */ jsxs10("label", { className: "block text-[11px] font-medium text-slate-500 dark:text-slate-400", children: [
2255
2580
  field.label,
2256
2581
  " ",
2257
- field.required && /* @__PURE__ */ jsx9("span", { className: "text-rose-500", children: "*" })
2582
+ field.required && /* @__PURE__ */ jsx11("span", { className: "text-rose-500", children: "*" })
2258
2583
  ] }),
2259
- field.type === "textarea" ? /* @__PURE__ */ jsx9(
2584
+ field.type === "textarea" ? /* @__PURE__ */ jsx11(
2260
2585
  "textarea",
2261
2586
  {
2262
2587
  required: field.required,
@@ -2265,7 +2590,7 @@ function UIBlockRenderer({
2265
2590
  onChange: (e) => handleInputChange(field.name, e.target.value),
2266
2591
  className: "w-full text-xs rounded-lg border border-slate-200 bg-slate-50 dark:border-white/10 dark:bg-slate-950 p-2 text-slate-800 dark:text-white focus:outline-none focus:ring-1 focus:ring-indigo-500 resize-none"
2267
2592
  }
2268
- ) : /* @__PURE__ */ jsx9(
2593
+ ) : /* @__PURE__ */ jsx11(
2269
2594
  "input",
2270
2595
  {
2271
2596
  type: field.type,
@@ -2276,15 +2601,15 @@ function UIBlockRenderer({
2276
2601
  }
2277
2602
  )
2278
2603
  ] }, i)),
2279
- formError && /* @__PURE__ */ jsx9("p", { className: "text-xs text-rose-500 font-medium", children: formError }),
2280
- /* @__PURE__ */ jsx9(
2604
+ formError && /* @__PURE__ */ jsx11("p", { className: "text-xs text-rose-500 font-medium", children: formError }),
2605
+ /* @__PURE__ */ jsx11(
2281
2606
  "button",
2282
2607
  {
2283
2608
  type: "submit",
2284
2609
  disabled: formLoading,
2285
2610
  style: { background: primaryColor },
2286
2611
  className: "w-full h-9 rounded-lg text-xs font-semibold text-white hover:opacity-95 transition-opacity disabled:opacity-50 flex items-center justify-center cursor-pointer",
2287
- children: formLoading ? /* @__PURE__ */ jsx9("div", { className: "w-4 h-4 border-2 border-white border-t-transparent rounded-full animate-spin" }) : uiBlock.submitText || "Submit"
2612
+ children: formLoading ? /* @__PURE__ */ jsx11("div", { className: "w-4 h-4 border-2 border-white border-t-transparent rounded-full animate-spin" }) : uiBlock.submitText || "Submit"
2288
2613
  }
2289
2614
  )
2290
2615
  ] })
@@ -2292,26 +2617,26 @@ function UIBlockRenderer({
2292
2617
  }
2293
2618
  case "actions": {
2294
2619
  const buttons = uiBlock.buttons || [];
2295
- return /* @__PURE__ */ jsxs8("div", { className: "my-4 p-5 bg-white dark:bg-slate-900 rounded-2xl border border-slate-200 dark:border-white/10 shadow-sm space-y-4", children: [
2296
- /* @__PURE__ */ jsxs8("div", { className: "space-y-1", children: [
2297
- /* @__PURE__ */ jsx9("h4", { className: "text-sm font-semibold text-slate-800 dark:text-white", children: uiBlock.title || "Next Actions" }),
2298
- uiBlock.description && /* @__PURE__ */ jsx9("p", { className: "text-xs text-slate-500 dark:text-white/60", children: uiBlock.description })
2620
+ return /* @__PURE__ */ jsxs10("div", { className: "my-4 p-5 bg-white dark:bg-slate-900 rounded-2xl border border-slate-200 dark:border-white/10 shadow-sm space-y-4", children: [
2621
+ /* @__PURE__ */ jsxs10("div", { className: "space-y-1", children: [
2622
+ /* @__PURE__ */ jsx11("h4", { className: "text-sm font-semibold text-slate-800 dark:text-white", children: uiBlock.title || "Next Actions" }),
2623
+ uiBlock.description && /* @__PURE__ */ jsx11("p", { className: "text-xs text-slate-500 dark:text-white/60", children: uiBlock.description })
2299
2624
  ] }),
2300
- /* @__PURE__ */ jsx9("div", { className: "flex flex-col gap-2", children: buttons.map((btn, i) => /* @__PURE__ */ jsxs8(
2625
+ /* @__PURE__ */ jsx11("div", { className: "flex flex-col gap-2", children: buttons.map((btn, i) => /* @__PURE__ */ jsxs10(
2301
2626
  "button",
2302
2627
  {
2303
2628
  onClick: () => handleActionClick(btn),
2304
2629
  className: "w-full h-10 px-4 rounded-xl border border-slate-200 hover:border-slate-300 dark:border-white/10 dark:hover:border-white/20 bg-slate-50 hover:bg-slate-100 dark:bg-white/5 dark:hover:bg-white/10 text-xs font-medium text-slate-700 dark:text-white/80 transition-all flex items-center justify-between group cursor-pointer",
2305
2630
  children: [
2306
- /* @__PURE__ */ jsx9("span", { children: btn.label }),
2307
- /* @__PURE__ */ jsx9(
2631
+ /* @__PURE__ */ jsx11("span", { children: btn.label }),
2632
+ /* @__PURE__ */ jsx11(
2308
2633
  "svg",
2309
2634
  {
2310
2635
  className: "w-4 h-4 text-slate-400 group-hover:translate-x-0.5 transition-transform",
2311
2636
  fill: "none",
2312
2637
  stroke: "currentColor",
2313
2638
  viewBox: "0 0 24 24",
2314
- children: /* @__PURE__ */ jsx9("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M9 5l7 7-7 7" })
2639
+ children: /* @__PURE__ */ jsx11("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M9 5l7 7-7 7" })
2315
2640
  }
2316
2641
  )
2317
2642
  ]
@@ -2326,7 +2651,7 @@ function UIBlockRenderer({
2326
2651
  }
2327
2652
 
2328
2653
  // src/components/UIDispatcher.tsx
2329
- import { jsx as jsx10, jsxs as jsxs9 } from "react/jsx-runtime";
2654
+ import { jsx as jsx12, jsxs as jsxs11 } from "react/jsx-runtime";
2330
2655
  function normalizeTabularRows(rows, columns) {
2331
2656
  if (!Array.isArray(rows)) return [];
2332
2657
  const SYNONYMS = {
@@ -2392,9 +2717,9 @@ function resolveStructuredRows(config) {
2392
2717
  if (Array.isArray(config.results) && config.results.length > 0) return config.results;
2393
2718
  return [];
2394
2719
  }
2395
- function UIDispatcher({ rawContent, primaryColor, accentColor, isStreaming, onAddToCart, viewportSize = "large" }) {
2720
+ function UIDispatcherInner({ rawContent, primaryColor, accentColor, isStreaming, onAddToCart, viewportSize = "large" }) {
2396
2721
  var _a;
2397
- const result = React8.useMemo(() => {
2722
+ const result = React11.useMemo(() => {
2398
2723
  try {
2399
2724
  const clean = rawContent.replace(/^```[a-z]*\s*/i, "").replace(/```\s*$/, "").trim();
2400
2725
  const parsed = JSON.parse(sanitizeJson(extractLikelyJsonBlock(clean)));
@@ -2439,13 +2764,13 @@ function UIDispatcher({ rawContent, primaryColor, accentColor, isStreaming, onAd
2439
2764
  }
2440
2765
  }, [rawContent, isStreaming]);
2441
2766
  if ("loading" in result) {
2442
- return /* @__PURE__ */ jsxs9("div", { className: "my-4 p-8 bg-slate-50 dark:bg-white/5 rounded-xl border border-dashed border-slate-300 dark:border-white/10 flex flex-col items-center justify-center gap-3 animate-pulse", children: [
2443
- /* @__PURE__ */ jsx10("div", { className: "w-5 h-5 border-2 border-indigo-500 border-t-transparent rounded-full animate-spin" }),
2444
- /* @__PURE__ */ jsx10("p", { className: "text-xs text-slate-500 font-medium italic", children: "Preparing view..." })
2767
+ return /* @__PURE__ */ jsxs11("div", { className: "my-4 p-8 bg-slate-50 dark:bg-white/5 rounded-xl border border-dashed border-slate-300 dark:border-white/10 flex flex-col items-center justify-center gap-3 animate-pulse", children: [
2768
+ /* @__PURE__ */ jsx12("div", { className: "w-5 h-5 border-2 border-indigo-500 border-t-transparent rounded-full animate-spin" }),
2769
+ /* @__PURE__ */ jsx12("p", { className: "text-xs text-slate-500 font-medium italic", children: "Preparing view..." })
2445
2770
  ] });
2446
2771
  }
2447
2772
  if ("error" in result) {
2448
- return /* @__PURE__ */ jsx10("pre", { className: "p-4 my-2 bg-slate-900 text-slate-100 rounded-lg text-[10px] overflow-auto max-h-40", children: /* @__PURE__ */ jsx10("code", { children: rawContent }) });
2773
+ return /* @__PURE__ */ jsx12("pre", { className: "p-4 my-2 bg-slate-900 text-slate-100 rounded-lg text-[10px] overflow-auto max-h-40", children: /* @__PURE__ */ jsx12("code", { children: rawContent }) });
2449
2774
  }
2450
2775
  const { config } = result;
2451
2776
  const isCompact = viewportSize === "compact";
@@ -2453,10 +2778,10 @@ function UIDispatcher({ rawContent, primaryColor, accentColor, isStreaming, onAd
2453
2778
  const hasDescription = typeof config.description === "string" && config.description.trim().length > 0;
2454
2779
  switch (config.view) {
2455
2780
  case "chart":
2456
- return /* @__PURE__ */ jsxs9("div", { className: `${isCompact ? "my-4 p-3" : "my-6 p-4"} bg-white dark:bg-slate-900 rounded-2xl border border-slate-200 dark:border-white/10 shadow-sm overflow-hidden`, children: [
2457
- config.title && /* @__PURE__ */ jsx10("h4", { className: `${isCompact ? "text-[11px] mb-3" : "text-xs mb-4"} font-semibold text-slate-500 px-2`, children: config.title }),
2458
- hasDescription && /* @__PURE__ */ jsx10("p", { className: `px-2 ${isCompact ? "text-xs" : "text-sm"} text-slate-500 dark:text-white/60`, children: config.description }),
2459
- /* @__PURE__ */ jsx10(
2781
+ return /* @__PURE__ */ jsxs11("div", { className: `${isCompact ? "my-4 p-3" : "my-6 p-4"} bg-white dark:bg-slate-900 rounded-2xl border border-slate-200 dark:border-white/10 shadow-sm overflow-hidden`, children: [
2782
+ config.title && /* @__PURE__ */ jsx12("h4", { className: `${isCompact ? "text-[11px] mb-3" : "text-xs mb-4"} font-semibold text-slate-500 px-2`, children: config.title }),
2783
+ hasDescription && /* @__PURE__ */ jsx12("p", { className: `px-2 ${isCompact ? "text-xs" : "text-sm"} text-slate-500 dark:text-white/60`, children: config.description }),
2784
+ /* @__PURE__ */ jsx12(
2460
2785
  DynamicChart,
2461
2786
  {
2462
2787
  config: {
@@ -2472,7 +2797,7 @@ function UIDispatcher({ rawContent, primaryColor, accentColor, isStreaming, onAd
2472
2797
  isStreaming
2473
2798
  }
2474
2799
  ),
2475
- hasInsights && /* @__PURE__ */ jsx10("div", { className: "mt-4 flex flex-wrap gap-2 px-2", children: (_a = config.insights) == null ? void 0 : _a.map((insight, i) => /* @__PURE__ */ jsx10(
2800
+ hasInsights && /* @__PURE__ */ jsx12("div", { className: "mt-4 flex flex-wrap gap-2 px-2", children: (_a = config.insights) == null ? void 0 : _a.map((insight, i) => /* @__PURE__ */ jsx12(
2476
2801
  "span",
2477
2802
  {
2478
2803
  className: `rounded-full border border-emerald-200 bg-emerald-50 ${isCompact ? "px-2.5 py-1 text-[10px]" : "px-3 py-1 text-[11px]"} font-medium text-emerald-700 dark:border-emerald-500/20 dark:bg-emerald-500/10 dark:text-emerald-300`,
@@ -2482,10 +2807,10 @@ function UIDispatcher({ rawContent, primaryColor, accentColor, isStreaming, onAd
2482
2807
  )) })
2483
2808
  ] });
2484
2809
  case "carousel":
2485
- return /* @__PURE__ */ jsxs9("div", { className: "my-4", children: [
2486
- config.title && /* @__PURE__ */ jsx10("h4", { className: `${isCompact ? "mb-1.5 text-[11px]" : "mb-2 text-xs"} font-semibold text-slate-500`, children: config.title }),
2487
- hasDescription && /* @__PURE__ */ jsx10("p", { className: `mb-3 ${isCompact ? "text-xs" : "text-sm"} text-slate-500 dark:text-white/60`, children: config.description }),
2488
- /* @__PURE__ */ jsx10(ProductCarousel, { products: config.data.map((item) => {
2810
+ return /* @__PURE__ */ jsxs11("div", { className: "my-4", children: [
2811
+ config.title && /* @__PURE__ */ jsx12("h4", { className: `${isCompact ? "mb-1.5 text-[11px]" : "mb-2 text-xs"} font-semibold text-slate-500`, children: config.title }),
2812
+ hasDescription && /* @__PURE__ */ jsx12("p", { className: `mb-3 ${isCompact ? "text-xs" : "text-sm"} text-slate-500 dark:text-white/60`, children: config.description }),
2813
+ /* @__PURE__ */ jsx12(ProductCarousel, { products: config.data.map((item) => {
2489
2814
  var _a2;
2490
2815
  return __spreadProps(__spreadValues({}, item), {
2491
2816
  image: (_a2 = item.image) != null ? _a2 : typeof resolveImage === "function" ? resolveImage(item) : void 0
@@ -2493,10 +2818,10 @@ function UIDispatcher({ rawContent, primaryColor, accentColor, isStreaming, onAd
2493
2818
  }), primaryColor, onAddToCart })
2494
2819
  ] });
2495
2820
  case "table":
2496
- return /* @__PURE__ */ jsxs9("div", { className: `${isCompact ? "my-3 p-3 max-h-[320px]" : "my-4 p-4 max-h-[400px]"} bg-white dark:bg-slate-900 rounded-xl border border-slate-200 dark:border-white/10 shadow-sm overflow-auto`, children: [
2497
- config.title && /* @__PURE__ */ jsx10("h4", { className: `${isCompact ? "text-[11px]" : "text-xs"} font-semibold text-slate-500 mb-2`, children: config.title }),
2498
- hasDescription && /* @__PURE__ */ jsx10("p", { className: `mb-3 ${isCompact ? "text-xs" : "text-sm"} text-slate-500 dark:text-white/60`, children: config.description }),
2499
- /* @__PURE__ */ jsx10(
2821
+ return /* @__PURE__ */ jsxs11("div", { className: `${isCompact ? "my-3 p-3 max-h-[320px]" : "my-4 p-4 max-h-[400px]"} bg-white dark:bg-slate-900 rounded-xl border border-slate-200 dark:border-white/10 shadow-sm overflow-auto`, children: [
2822
+ config.title && /* @__PURE__ */ jsx12("h4", { className: `${isCompact ? "text-[11px]" : "text-xs"} font-semibold text-slate-500 mb-2`, children: config.title }),
2823
+ hasDescription && /* @__PURE__ */ jsx12("p", { className: `mb-3 ${isCompact ? "text-xs" : "text-sm"} text-slate-500 dark:text-white/60`, children: config.description }),
2824
+ /* @__PURE__ */ jsx12(
2500
2825
  VisualizationRenderer,
2501
2826
  {
2502
2827
  data: {
@@ -2515,7 +2840,7 @@ function UIDispatcher({ rawContent, primaryColor, accentColor, isStreaming, onAd
2515
2840
  ] });
2516
2841
  case "form":
2517
2842
  case "actions":
2518
- return /* @__PURE__ */ jsx10(
2843
+ return /* @__PURE__ */ jsx12(
2519
2844
  UIBlockRenderer,
2520
2845
  {
2521
2846
  block: config,
@@ -2529,62 +2854,88 @@ function UIDispatcher({ rawContent, primaryColor, accentColor, isStreaming, onAd
2529
2854
  return null;
2530
2855
  }
2531
2856
  }
2857
+ function UIDispatcher(props) {
2858
+ return /* @__PURE__ */ jsx12(RichErrorBoundary, { contextLabel: "UI block", rawFallback: props.rawContent, children: /* @__PURE__ */ jsx12(UIDispatcherInner, __spreadValues({}, props)) });
2859
+ }
2532
2860
 
2533
2861
  // src/components/MarkdownComponents.tsx
2534
2862
  import { Prism as SyntaxHighlighter } from "react-syntax-highlighter";
2535
2863
  import { vscDarkPlus } from "react-syntax-highlighter/dist/esm/styles/prism";
2536
- import { Fragment as Fragment6, jsx as jsx11, jsxs as jsxs10 } from "react/jsx-runtime";
2864
+ import { Fragment as Fragment6, jsx as jsx13, jsxs as jsxs12 } from "react/jsx-runtime";
2537
2865
  function createMarkdownComponents({
2538
2866
  primaryColor,
2539
2867
  accentColor,
2540
2868
  isStreaming,
2541
2869
  onAddToCart,
2542
- viewportSize
2870
+ viewportSize,
2871
+ sources
2543
2872
  }) {
2544
2873
  return {
2874
+ a: (_a) => {
2875
+ var _b = _a, { href, children } = _b, props = __objRest(_b, ["href", "children"]);
2876
+ if (typeof href === "string" && href.startsWith("#citation-")) {
2877
+ const idx = Number.parseInt(href.replace("#citation-", ""), 10);
2878
+ const source = !Number.isNaN(idx) && idx > 0 ? sources == null ? void 0 : sources[idx - 1] : void 0;
2879
+ return /* @__PURE__ */ jsx13(CitationPill, { index: idx, source, primaryColor });
2880
+ }
2881
+ if (!isSafeUrl(href)) {
2882
+ return /* @__PURE__ */ jsx13("span", { className: "underline decoration-dotted opacity-70", children });
2883
+ }
2884
+ return /* @__PURE__ */ jsx13(
2885
+ "a",
2886
+ __spreadProps(__spreadValues({
2887
+ href,
2888
+ target: "_blank",
2889
+ rel: "noopener noreferrer",
2890
+ className: "text-indigo-600 dark:text-indigo-400 underline underline-offset-2 hover:opacity-80"
2891
+ }, props), {
2892
+ children
2893
+ })
2894
+ );
2895
+ },
2545
2896
  // p: ({ ...props }: React.HTMLAttributes<HTMLParagraphElement>) => (
2546
2897
  // <p className="whitespace-pre-line" {...props} />
2547
2898
  // ),
2548
- table: (_a) => {
2549
- var props = __objRest(_a, []);
2899
+ table: (_c) => {
2900
+ var props = __objRest(_c, []);
2550
2901
  if (isStreaming) {
2551
- return /* @__PURE__ */ jsxs10("div", { className: "my-5 p-6 bg-slate-50 dark:bg-white/5 rounded-xl border border-dashed border-slate-300 dark:border-white/10 flex items-center justify-center gap-3 select-none", children: [
2552
- /* @__PURE__ */ jsx11("div", { className: "w-4 h-4 border-2 border-indigo-500 border-t-transparent rounded-full animate-spin" }),
2553
- /* @__PURE__ */ jsx11("p", { className: "text-xs text-slate-500 font-medium italic animate-pulse", children: "Generating data table..." })
2902
+ return /* @__PURE__ */ jsxs12("div", { className: "my-5 p-6 bg-slate-50 dark:bg-white/5 rounded-xl border border-dashed border-slate-300 dark:border-white/10 flex items-center justify-center gap-3 select-none", children: [
2903
+ /* @__PURE__ */ jsx13("div", { className: "w-4 h-4 border-2 border-indigo-500 border-t-transparent rounded-full animate-spin" }),
2904
+ /* @__PURE__ */ jsx13("p", { className: "text-xs text-slate-500 font-medium italic animate-pulse", children: "Generating data table..." })
2554
2905
  ] });
2555
2906
  }
2556
- return /* @__PURE__ */ jsx11("div", { className: "not-prose overflow-hidden my-5 rounded-xl border border-slate-200 dark:border-white/10 shadow-sm bg-white dark:bg-slate-900/50", children: /* @__PURE__ */ jsx11("div", { className: "overflow-x-auto", children: /* @__PURE__ */ jsx11(
2907
+ return /* @__PURE__ */ jsx13("div", { className: "not-prose overflow-hidden my-5 rounded-xl border border-slate-200 dark:border-white/10 shadow-sm bg-white dark:bg-slate-900/50", children: /* @__PURE__ */ jsx13("div", { className: "overflow-x-auto", children: /* @__PURE__ */ jsx13(
2557
2908
  "table",
2558
2909
  __spreadValues({
2559
2910
  className: "!table w-full text-left border-collapse min-w-[400px] text-sm"
2560
2911
  }, props)
2561
2912
  ) }) });
2562
2913
  },
2563
- thead: (_b) => {
2564
- var props = __objRest(_b, []);
2565
- return /* @__PURE__ */ jsx11(
2914
+ thead: (_d) => {
2915
+ var props = __objRest(_d, []);
2916
+ return /* @__PURE__ */ jsx13(
2566
2917
  "thead",
2567
2918
  __spreadValues({
2568
2919
  className: "!table-header-group bg-slate-50 dark:bg-white/5 border-b border-slate-200 dark:border-white/10"
2569
2920
  }, props)
2570
2921
  );
2571
2922
  },
2572
- tbody: (_c) => {
2573
- var props = __objRest(_c, []);
2574
- return /* @__PURE__ */ jsx11("tbody", __spreadValues({ className: "!table-row-group divide-y divide-slate-100 dark:divide-white/5" }, props));
2923
+ tbody: (_e) => {
2924
+ var props = __objRest(_e, []);
2925
+ return /* @__PURE__ */ jsx13("tbody", __spreadValues({ className: "!table-row-group divide-y divide-slate-100 dark:divide-white/5" }, props));
2575
2926
  },
2576
- tr: (_d) => {
2577
- var props = __objRest(_d, []);
2578
- return /* @__PURE__ */ jsx11(
2927
+ tr: (_f) => {
2928
+ var props = __objRest(_f, []);
2929
+ return /* @__PURE__ */ jsx13(
2579
2930
  "tr",
2580
2931
  __spreadValues({
2581
2932
  className: "!table-row hover:bg-slate-50/70 dark:hover:bg-white/5 transition-colors"
2582
2933
  }, props)
2583
2934
  );
2584
2935
  },
2585
- th: (_e) => {
2586
- var _f = _e, { children } = _f, props = __objRest(_f, ["children"]);
2587
- return /* @__PURE__ */ jsx11(
2936
+ th: (_g) => {
2937
+ var _h = _g, { children } = _h, props = __objRest(_h, ["children"]);
2938
+ return /* @__PURE__ */ jsx13(
2588
2939
  "th",
2589
2940
  __spreadProps(__spreadValues({
2590
2941
  className: "!table-cell px-4 py-3 font-bold text-slate-700 dark:text-white/90 whitespace-nowrap text-[11px] uppercase tracking-wider text-left"
@@ -2593,9 +2944,9 @@ function createMarkdownComponents({
2593
2944
  })
2594
2945
  );
2595
2946
  },
2596
- td: (_g) => {
2597
- var _h = _g, { children } = _h, props = __objRest(_h, ["children"]);
2598
- return /* @__PURE__ */ jsx11(
2947
+ td: (_i) => {
2948
+ var _j = _i, { children } = _j, props = __objRest(_j, ["children"]);
2949
+ return /* @__PURE__ */ jsx13(
2599
2950
  "td",
2600
2951
  __spreadProps(__spreadValues({
2601
2952
  className: "!table-cell px-4 py-3 text-slate-600 dark:text-white/70 whitespace-nowrap text-sm"
@@ -2604,12 +2955,12 @@ function createMarkdownComponents({
2604
2955
  })
2605
2956
  );
2606
2957
  },
2607
- code(_i) {
2608
- var _j = _i, {
2958
+ code(_k) {
2959
+ var _l = _k, {
2609
2960
  inline,
2610
2961
  className,
2611
2962
  children
2612
- } = _j, props = __objRest(_j, [
2963
+ } = _l, props = __objRest(_l, [
2613
2964
  "inline",
2614
2965
  "className",
2615
2966
  "children"
@@ -2618,7 +2969,7 @@ function createMarkdownComponents({
2618
2969
  const lang = (_a = /language-(\w+)/.exec(className != null ? className : "")) == null ? void 0 : _a[1];
2619
2970
  if (!inline && (lang === "ui" || lang === "chart" || lang === "json")) {
2620
2971
  const content = String(children != null ? children : "").trim();
2621
- return /* @__PURE__ */ jsx11(
2972
+ return /* @__PURE__ */ jsx13(
2622
2973
  UIDispatcher,
2623
2974
  {
2624
2975
  rawContent: content,
@@ -2633,7 +2984,7 @@ function createMarkdownComponents({
2633
2984
  if (!inline) {
2634
2985
  const content = String(children != null ? children : "").trim();
2635
2986
  if (content.startsWith("{") && content.endsWith("}")) {
2636
- return /* @__PURE__ */ jsx11(
2987
+ return /* @__PURE__ */ jsx13(
2637
2988
  UIDispatcher,
2638
2989
  {
2639
2990
  rawContent: content,
@@ -2645,14 +2996,15 @@ function createMarkdownComponents({
2645
2996
  }
2646
2997
  );
2647
2998
  }
2648
- return /* @__PURE__ */ jsx11(CodeBlock, { language: lang, children: content });
2999
+ return /* @__PURE__ */ jsx13(CodeBlock, { language: lang, children: content });
2649
3000
  }
2650
- return /* @__PURE__ */ jsx11("code", __spreadProps(__spreadValues({ className: "px-1.5 py-0.5 rounded bg-slate-100 dark:bg-white/10 text-rose-600 dark:text-rose-400 font-mono text-[11px]" }, props), { children: typeof children === "string" || typeof children === "number" ? children : JSON.stringify(children) }));
3001
+ return /* @__PURE__ */ jsx13("code", __spreadProps(__spreadValues({ className: "px-1.5 py-0.5 rounded bg-slate-100 dark:bg-white/10 text-rose-600 dark:text-rose-400 font-mono text-[11px]" }, props), { children: typeof children === "string" || typeof children === "number" ? children : JSON.stringify(children) }));
2651
3002
  }
2652
3003
  };
2653
3004
  }
2654
3005
  function CodeBlock({ children, language }) {
2655
- const [copied, setCopied] = React9.useState(false);
3006
+ const [copied, setCopied] = React12.useState(false);
3007
+ const [wrapLines, setWrapLines] = React12.useState(true);
2656
3008
  const handleCopy = async () => {
2657
3009
  try {
2658
3010
  await navigator.clipboard.writeText(children);
@@ -2662,54 +3014,119 @@ function CodeBlock({ children, language }) {
2662
3014
  console.warn("Failed to copy code", e);
2663
3015
  }
2664
3016
  };
2665
- return /* @__PURE__ */ jsxs10("div", { className: "not-prose my-4 rounded-xl border border-slate-200 dark:border-white/10 overflow-hidden bg-slate-900 text-slate-100 shadow-lg select-text", children: [
2666
- /* @__PURE__ */ jsxs10("div", { className: "flex items-center justify-between px-4 py-2 bg-slate-950 border-b border-slate-800 text-xs font-semibold text-slate-400 select-none", children: [
2667
- /* @__PURE__ */ jsx11("span", { className: "font-mono lowercase", children: language || "code" }),
2668
- /* @__PURE__ */ jsx11(
2669
- "button",
2670
- {
2671
- onClick: handleCopy,
2672
- className: "flex items-center gap-1.5 px-2 py-1 rounded hover:bg-slate-800 hover:text-slate-250 transition-colors cursor-pointer text-slate-400 border border-transparent hover:border-slate-800",
2673
- type: "button",
2674
- children: copied ? /* @__PURE__ */ jsxs10(Fragment6, { children: [
2675
- /* @__PURE__ */ jsx11("svg", { xmlns: "http://www.w3.org/2000/svg", width: "12", height: "12", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "3", className: "text-emerald-500", children: /* @__PURE__ */ jsx11("polyline", { points: "20 6 9 17 4 12" }) }),
2676
- /* @__PURE__ */ jsx11("span", { className: "text-emerald-500", children: "Copied!" })
2677
- ] }) : /* @__PURE__ */ jsxs10(Fragment6, { children: [
2678
- /* @__PURE__ */ jsxs10("svg", { xmlns: "http://www.w3.org/2000/svg", width: "12", height: "12", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", children: [
2679
- /* @__PURE__ */ jsx11("rect", { x: "9", y: "9", width: "13", height: "13", rx: "2", ry: "2" }),
2680
- /* @__PURE__ */ jsx11("path", { d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" })
2681
- ] }),
2682
- /* @__PURE__ */ jsx11("span", { children: "Copy" })
2683
- ] })
2684
- }
2685
- )
3017
+ return /* @__PURE__ */ jsxs12("div", { className: "not-prose my-4 rounded-xl border border-slate-200 dark:border-white/10 overflow-hidden bg-slate-900 text-slate-100 shadow-lg select-text", children: [
3018
+ /* @__PURE__ */ jsxs12("div", { className: "flex items-center justify-between px-4 py-2 bg-slate-950 border-b border-slate-800 text-xs font-semibold text-slate-400 select-none", children: [
3019
+ /* @__PURE__ */ jsx13("span", { className: "font-mono lowercase", children: language || "code" }),
3020
+ /* @__PURE__ */ jsxs12("div", { className: "flex items-center gap-1.5", children: [
3021
+ /* @__PURE__ */ jsx13(
3022
+ "button",
3023
+ {
3024
+ onClick: () => setWrapLines((w) => !w),
3025
+ className: "px-2 py-1 rounded hover:bg-slate-800 hover:text-slate-200 transition-colors cursor-pointer text-slate-400 border border-transparent hover:border-slate-800",
3026
+ type: "button",
3027
+ "aria-label": wrapLines ? "Disable line wrap" : "Enable line wrap",
3028
+ children: wrapLines ? "Wrap: On" : "Wrap: Off"
3029
+ }
3030
+ ),
3031
+ /* @__PURE__ */ jsx13(
3032
+ "button",
3033
+ {
3034
+ onClick: handleCopy,
3035
+ className: "flex items-center gap-1.5 px-2 py-1 rounded hover:bg-slate-800 hover:text-slate-250 transition-colors cursor-pointer text-slate-400 border border-transparent hover:border-slate-800",
3036
+ type: "button",
3037
+ "aria-label": "Copy code",
3038
+ children: copied ? /* @__PURE__ */ jsxs12(Fragment6, { children: [
3039
+ /* @__PURE__ */ jsx13("svg", { xmlns: "http://www.w3.org/2000/svg", width: "12", height: "12", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "3", className: "text-emerald-500", children: /* @__PURE__ */ jsx13("polyline", { points: "20 6 9 17 4 12" }) }),
3040
+ /* @__PURE__ */ jsx13("span", { className: "text-emerald-500", children: "Copied!" })
3041
+ ] }) : /* @__PURE__ */ jsxs12(Fragment6, { children: [
3042
+ /* @__PURE__ */ jsxs12("svg", { xmlns: "http://www.w3.org/2000/svg", width: "12", height: "12", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", children: [
3043
+ /* @__PURE__ */ jsx13("rect", { x: "9", y: "9", width: "13", height: "13", rx: "2", ry: "2" }),
3044
+ /* @__PURE__ */ jsx13("path", { d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" })
3045
+ ] }),
3046
+ /* @__PURE__ */ jsx13("span", { children: "Copy" })
3047
+ ] })
3048
+ }
3049
+ )
3050
+ ] })
2686
3051
  ] }),
2687
- /* @__PURE__ */ jsx11("div", { className: "overflow-x-auto text-[12px] leading-relaxed bg-slate-900/90", children: /* @__PURE__ */ jsx11(
3052
+ /* @__PURE__ */ jsx13("div", { className: "overflow-x-auto text-[12px] leading-relaxed bg-slate-900/90", children: /* @__PURE__ */ jsx13(
2688
3053
  SyntaxHighlighter,
2689
3054
  {
2690
3055
  language: language || "text",
2691
3056
  style: vscDarkPlus,
2692
3057
  customStyle: { margin: 0, padding: "1rem", background: "transparent" },
2693
- wrapLongLines: true,
3058
+ wrapLongLines: wrapLines,
2694
3059
  children
2695
3060
  }
2696
3061
  ) })
2697
3062
  ] });
2698
3063
  }
2699
3064
  function normaliseChild(children) {
2700
- if (typeof children === "object" && children !== null && !Array.isArray(children) && !React9.isValidElement(children)) {
3065
+ if (typeof children === "object" && children !== null && !Array.isArray(children) && !React12.isValidElement(children)) {
2701
3066
  return JSON.stringify(children);
2702
3067
  }
2703
3068
  return children;
2704
3069
  }
3070
+ function CitationPill({
3071
+ index,
3072
+ source,
3073
+ primaryColor
3074
+ }) {
3075
+ var _a, _b, _c, _d, _e, _f;
3076
+ const [open, setOpen] = React12.useState(false);
3077
+ const title = ((_a = source == null ? void 0 : source.metadata) == null ? void 0 : _a.title) || ((_b = source == null ? void 0 : source.metadata) == null ? void 0 : _b.source) || ((_c = source == null ? void 0 : source.metadata) == null ? void 0 : _c.fileName) || `Source ${index}`;
3078
+ const snippet = ((_d = source == null ? void 0 : source.metadata) == null ? void 0 : _d.text) || ((_e = source == null ? void 0 : source.metadata) == null ? void 0 : _e.content) || "";
3079
+ const rawUrl = (_f = source == null ? void 0 : source.metadata) == null ? void 0 : _f.url;
3080
+ const safeHref = isSafeUrl(rawUrl) ? rawUrl : void 0;
3081
+ const scorePct = typeof (source == null ? void 0 : source.score) === "number" ? `${Math.round(source.score * 100)}%` : null;
3082
+ return /* @__PURE__ */ jsxs12("span", { className: "relative inline-block align-baseline mx-0.5", children: [
3083
+ /* @__PURE__ */ jsx13(
3084
+ "button",
3085
+ {
3086
+ type: "button",
3087
+ onClick: () => setOpen((o) => !o),
3088
+ "aria-label": `View citation ${index}: ${title}`,
3089
+ "aria-expanded": open,
3090
+ className: "inline-flex items-center justify-center min-w-[1.25rem] h-4 px-1 rounded-full text-[10px] font-bold text-white shadow-xs hover:opacity-90 transition-opacity cursor-pointer align-super",
3091
+ style: { backgroundColor: primaryColor },
3092
+ children: index
3093
+ }
3094
+ ),
3095
+ open && /* @__PURE__ */ jsxs12(
3096
+ "span",
3097
+ {
3098
+ role: "dialog",
3099
+ "aria-label": `Citation ${index}`,
3100
+ className: "absolute left-0 bottom-full mb-1.5 z-40 w-64 p-2.5 rounded-xl border border-slate-200 dark:border-white/15 bg-white dark:bg-slate-900 shadow-xl text-left text-xs text-slate-700 dark:text-slate-200 block",
3101
+ children: [
3102
+ /* @__PURE__ */ jsxs12("span", { className: "flex items-center justify-between gap-2 mb-1", children: [
3103
+ /* @__PURE__ */ jsx13("span", { className: "font-semibold truncate", children: title }),
3104
+ scorePct && /* @__PURE__ */ jsx13("span", { className: "text-[10px] font-mono px-1.5 py-0.5 rounded bg-emerald-50 dark:bg-emerald-500/10 text-emerald-600 dark:text-emerald-400 shrink-0", children: scorePct })
3105
+ ] }),
3106
+ snippet && /* @__PURE__ */ jsx13("span", { className: "block text-[11px] text-slate-500 dark:text-slate-400 line-clamp-3 leading-relaxed", children: snippet }),
3107
+ safeHref && /* @__PURE__ */ jsx13(
3108
+ "a",
3109
+ {
3110
+ href: safeHref,
3111
+ target: "_blank",
3112
+ rel: "noopener noreferrer",
3113
+ className: "mt-1.5 inline-block text-[11px] font-medium text-indigo-600 dark:text-indigo-400 hover:underline",
3114
+ children: "Open source \u2192"
3115
+ }
3116
+ )
3117
+ ]
3118
+ }
3119
+ )
3120
+ ] });
3121
+ }
2705
3122
 
2706
3123
  // src/components/ThinkingBlock.tsx
2707
- import { useState as useState5, useEffect as useEffect4, useRef as useRef3 } from "react";
2708
- import { Brain, ChevronDown as ChevronDown3, ChevronRight as ChevronRight3, Loader2 as Loader22 } from "lucide-react";
3124
+ import { useState as useState7, useEffect as useEffect4, useRef as useRef3 } from "react";
3125
+ import { Brain, ChevronDown as ChevronDown3, ChevronRight as ChevronRight4, Loader2 as Loader22 } from "lucide-react";
2709
3126
  import { motion, AnimatePresence } from "framer-motion";
2710
- import { jsx as jsx12, jsxs as jsxs11 } from "react/jsx-runtime";
3127
+ import { jsx as jsx14, jsxs as jsxs13 } from "react/jsx-runtime";
2711
3128
  function ThinkingBlock({ thinking, thinkingMs, isStreaming = false }) {
2712
- const [isExpanded, setIsExpanded] = useState5(true);
3129
+ const [isExpanded, setIsExpanded] = useState7(true);
2713
3130
  const containerRef = useRef3(null);
2714
3131
  useEffect4(() => {
2715
3132
  if (!isStreaming) {
@@ -2724,22 +3141,22 @@ function ThinkingBlock({ thinking, thinkingMs, isStreaming = false }) {
2724
3141
  }
2725
3142
  }, [thinking, isStreaming, isExpanded]);
2726
3143
  const durationSec = thinkingMs ? (thinkingMs / 1e3).toFixed(1) : null;
2727
- return /* @__PURE__ */ jsxs11("div", { className: "w-full max-w-2xl my-1.5 border border-slate-200 dark:border-white/10 rounded-xl bg-slate-50/50 dark:bg-white/5 overflow-hidden transition-all duration-200", children: [
2728
- /* @__PURE__ */ jsxs11(
3144
+ return /* @__PURE__ */ jsxs13("div", { className: "w-full max-w-2xl my-1.5 border border-slate-200 dark:border-white/10 rounded-xl bg-slate-50/50 dark:bg-white/5 overflow-hidden transition-all duration-200", children: [
3145
+ /* @__PURE__ */ jsxs13(
2729
3146
  "button",
2730
3147
  {
2731
3148
  onClick: () => setIsExpanded(!isExpanded),
2732
3149
  className: "w-full px-4 py-2.5 flex items-center justify-between text-xs font-medium text-slate-500 dark:text-white/40 hover:bg-slate-100 dark:hover:bg-white/10 transition-colors cursor-pointer select-none",
2733
3150
  children: [
2734
- /* @__PURE__ */ jsxs11("div", { className: "flex items-center gap-2", children: [
2735
- isStreaming ? /* @__PURE__ */ jsx12(Loader22, { className: "w-3.5 h-3.5 animate-spin text-slate-400 dark:text-white/30" }) : /* @__PURE__ */ jsx12(Brain, { className: "w-3.5 h-3.5 text-slate-400 dark:text-white/40" }),
2736
- /* @__PURE__ */ jsx12("span", { children: isStreaming ? "Thinking..." : durationSec ? `Thought for ${durationSec}s` : "Thinking process" })
3151
+ /* @__PURE__ */ jsxs13("div", { className: "flex items-center gap-2", children: [
3152
+ isStreaming ? /* @__PURE__ */ jsx14(Loader22, { className: "w-3.5 h-3.5 animate-spin text-slate-400 dark:text-white/30" }) : /* @__PURE__ */ jsx14(Brain, { className: "w-3.5 h-3.5 text-slate-400 dark:text-white/40" }),
3153
+ /* @__PURE__ */ jsx14("span", { children: isStreaming ? "Thinking..." : durationSec ? `Thought for ${durationSec}s` : "Thinking process" })
2737
3154
  ] }),
2738
- /* @__PURE__ */ jsx12("div", { children: isExpanded ? /* @__PURE__ */ jsx12(ChevronDown3, { className: "w-3.5 h-3.5 text-slate-400 dark:text-white/30" }) : /* @__PURE__ */ jsx12(ChevronRight3, { className: "w-3.5 h-3.5 text-slate-400 dark:text-white/30" }) })
3155
+ /* @__PURE__ */ jsx14("div", { children: isExpanded ? /* @__PURE__ */ jsx14(ChevronDown3, { className: "w-3.5 h-3.5 text-slate-400 dark:text-white/30" }) : /* @__PURE__ */ jsx14(ChevronRight4, { className: "w-3.5 h-3.5 text-slate-400 dark:text-white/30" }) })
2739
3156
  ]
2740
3157
  }
2741
3158
  ),
2742
- /* @__PURE__ */ jsx12(AnimatePresence, { children: isExpanded && /* @__PURE__ */ jsx12(
3159
+ /* @__PURE__ */ jsx14(AnimatePresence, { children: isExpanded && /* @__PURE__ */ jsx14(
2743
3160
  motion.div,
2744
3161
  {
2745
3162
  initial: { height: 0, opacity: 0 },
@@ -2747,7 +3164,7 @@ function ThinkingBlock({ thinking, thinkingMs, isStreaming = false }) {
2747
3164
  exit: { height: 0, opacity: 0 },
2748
3165
  transition: { duration: 0.2 },
2749
3166
  className: "overflow-hidden border-t border-slate-200 dark:border-white/10",
2750
- children: /* @__PURE__ */ jsx12(
3167
+ children: /* @__PURE__ */ jsx14(
2751
3168
  "div",
2752
3169
  {
2753
3170
  ref: containerRef,
@@ -2761,7 +3178,7 @@ function ThinkingBlock({ thinking, thinkingMs, isStreaming = false }) {
2761
3178
  }
2762
3179
 
2763
3180
  // src/components/MessageBubble.tsx
2764
- import { jsx as jsx13, jsxs as jsxs12 } from "react/jsx-runtime";
3181
+ import { jsx as jsx15, jsxs as jsxs14 } from "react/jsx-runtime";
2765
3182
  function normalizePlusSeparatedLists(raw) {
2766
3183
  return raw.split("\n").map((line) => {
2767
3184
  const productListLine = /[—:]\s*\d+\s+\+\s+[A-Za-z]/.test(line) || /\b(products?|categories?|in stock|out of stock)\b/i.test(line);
@@ -2769,6 +3186,20 @@ function normalizePlusSeparatedLists(raw) {
2769
3186
  return line.replace(/\s+\+\s+(?=[A-Za-z0-9])/g, ", ");
2770
3187
  }).join("\n");
2771
3188
  }
3189
+ function linkifyInlineCitations(markdown, sourceCount) {
3190
+ if (!sourceCount || sourceCount <= 0) return markdown;
3191
+ const parts = markdown.split(/(^```[\s\S]*?^```|`[^`]+`)/gm);
3192
+ return parts.map((part, idx) => {
3193
+ if (idx % 2 === 1) return part;
3194
+ return part.replace(/\[(\d{1,2})\](?!\()/g, (match, numStr) => {
3195
+ const n = Number.parseInt(numStr, 10);
3196
+ if (n >= 1 && n <= sourceCount) {
3197
+ return `[${n}](#citation-${n})`;
3198
+ }
3199
+ return match;
3200
+ });
3201
+ }).join("");
3202
+ }
2772
3203
  function stripLeakedAnswerWrappers2(raw) {
2773
3204
  return raw.replace(/<prose\s+answer(?:\s+in\s+[^>]*)?>[\s\S]*?<\/prose>/gi, "$1").replace(/<\/?prose(?:\s+answer)?[^>]*>/gi, "").replace(/\n{3,}/g, "\n\n").trim();
2774
3205
  }
@@ -2782,8 +3213,8 @@ function formatTime(isoString) {
2782
3213
  }
2783
3214
  }
2784
3215
  function FeedbackBar({ messageId, onFeedback, primaryColor }) {
2785
- const [rating, setRating] = React11.useState(null);
2786
- const [submitting, setSubmitting] = React11.useState(false);
3216
+ const [rating, setRating] = React14.useState(null);
3217
+ const [submitting, setSubmitting] = React14.useState(false);
2787
3218
  const handleRate = async (r) => {
2788
3219
  if (rating !== null || submitting) return;
2789
3220
  setSubmitting(true);
@@ -2796,35 +3227,37 @@ function FeedbackBar({ messageId, onFeedback, primaryColor }) {
2796
3227
  }
2797
3228
  };
2798
3229
  const isLocked = rating !== null;
2799
- return /* @__PURE__ */ jsxs12("div", { className: "flex items-center gap-1", children: [
2800
- /* @__PURE__ */ jsx13("span", { className: "h-3 w-px bg-slate-200 dark:bg-white/10 mx-1" }),
2801
- /* @__PURE__ */ jsxs12(
3230
+ return /* @__PURE__ */ jsxs14("div", { className: "flex items-center gap-1", children: [
3231
+ /* @__PURE__ */ jsx15("span", { className: "h-3 w-px bg-slate-200 dark:bg-white/10 mx-1" }),
3232
+ /* @__PURE__ */ jsxs14(
2802
3233
  "button",
2803
3234
  {
2804
3235
  onClick: () => handleRate("thumbs_up"),
2805
3236
  disabled: isLocked,
2806
3237
  title: rating === "thumbs_up" ? "You liked this" : "Good response",
3238
+ "aria-label": "Good response",
2807
3239
  className: `group relative flex items-center justify-center w-6 h-6 rounded-lg transition-all duration-200 cursor-pointer border ${rating === "thumbs_up" ? "bg-emerald-50 dark:bg-emerald-500/10 border-emerald-200 dark:border-emerald-500/25 text-emerald-600 dark:text-emerald-400 scale-110" : rating === "thumbs_down" ? "opacity-30 border-transparent text-slate-300 dark:text-white/20 cursor-not-allowed" : "border-transparent text-slate-300 dark:text-white/20 hover:text-emerald-500 dark:hover:text-emerald-400 hover:bg-emerald-50 dark:hover:bg-emerald-500/10 hover:border-emerald-200 dark:hover:border-emerald-500/20 hover:scale-110"}`,
2808
3240
  children: [
2809
- /* @__PURE__ */ jsx13(ThumbsUp, { className: "w-3 h-3" }),
2810
- !isLocked && /* @__PURE__ */ jsx13("span", { className: "absolute -top-8 left-1/2 -translate-x-1/2 px-2 py-1 text-[10px] font-medium bg-slate-800 dark:bg-slate-700 text-white rounded-lg opacity-0 group-hover:opacity-100 transition-opacity pointer-events-none whitespace-nowrap shadow-lg z-10", children: "Good response" })
3241
+ /* @__PURE__ */ jsx15(ThumbsUp, { className: "w-3 h-3" }),
3242
+ !isLocked && /* @__PURE__ */ jsx15("span", { className: "absolute -top-8 left-1/2 -translate-x-1/2 px-2 py-1 text-[10px] font-medium bg-slate-800 dark:bg-slate-700 text-white rounded-lg opacity-0 group-hover:opacity-100 transition-opacity pointer-events-none whitespace-nowrap shadow-lg z-10", children: "Good response" })
2811
3243
  ]
2812
3244
  }
2813
3245
  ),
2814
- /* @__PURE__ */ jsxs12(
3246
+ /* @__PURE__ */ jsxs14(
2815
3247
  "button",
2816
3248
  {
2817
3249
  onClick: () => handleRate("thumbs_down"),
2818
3250
  disabled: isLocked,
2819
3251
  title: rating === "thumbs_down" ? "You disliked this" : "Bad response",
3252
+ "aria-label": "Bad response",
2820
3253
  className: `group relative flex items-center justify-center w-6 h-6 rounded-lg transition-all duration-200 cursor-pointer border ${rating === "thumbs_down" ? "bg-rose-50 dark:bg-rose-500/10 border-rose-200 dark:border-rose-500/25 text-rose-600 dark:text-rose-400 scale-110" : rating === "thumbs_up" ? "opacity-30 border-transparent text-slate-300 dark:text-white/20 cursor-not-allowed" : "border-transparent text-slate-300 dark:text-white/20 hover:text-rose-500 dark:hover:text-rose-400 hover:bg-rose-50 dark:hover:bg-rose-500/10 hover:border-rose-200 dark:hover:border-rose-500/20 hover:scale-110"}`,
2821
3254
  children: [
2822
- /* @__PURE__ */ jsx13(ThumbsDown, { className: "w-3 h-3" }),
2823
- !isLocked && /* @__PURE__ */ jsx13("span", { className: "absolute -top-8 left-1/2 -translate-x-1/2 px-2 py-1 text-[10px] font-medium bg-slate-800 dark:bg-slate-700 text-white rounded-lg opacity-0 group-hover:opacity-100 transition-opacity pointer-events-none whitespace-nowrap shadow-lg z-10", children: "Bad response" })
3255
+ /* @__PURE__ */ jsx15(ThumbsDown, { className: "w-3 h-3" }),
3256
+ !isLocked && /* @__PURE__ */ jsx15("span", { className: "absolute -top-8 left-1/2 -translate-x-1/2 px-2 py-1 text-[10px] font-medium bg-slate-800 dark:bg-slate-700 text-white rounded-lg opacity-0 group-hover:opacity-100 transition-opacity pointer-events-none whitespace-nowrap shadow-lg z-10", children: "Bad response" })
2824
3257
  ]
2825
3258
  }
2826
3259
  ),
2827
- isLocked && /* @__PURE__ */ jsx13("span", { className: `ml-1 text-[10px] font-semibold px-2 py-0.5 rounded-full border transition-all duration-300 ${rating === "thumbs_up" ? "text-emerald-600 dark:text-emerald-400 bg-emerald-50 dark:bg-emerald-500/10 border-emerald-200 dark:border-emerald-500/20" : "text-rose-600 dark:text-rose-400 bg-rose-50 dark:bg-rose-500/10 border-rose-200 dark:border-rose-500/20"}`, children: rating === "thumbs_up" ? "Helpful" : "Not helpful" })
3260
+ isLocked && /* @__PURE__ */ jsx15("span", { className: `ml-1 text-[10px] font-semibold px-2 py-0.5 rounded-full border transition-all duration-300 ${rating === "thumbs_up" ? "text-emerald-600 dark:text-emerald-400 bg-emerald-50 dark:bg-emerald-500/10 border-emerald-200 dark:border-emerald-500/20" : "text-rose-600 dark:text-rose-400 bg-rose-50 dark:bg-rose-500/10 border-rose-200 dark:border-rose-500/20"}`, children: rating === "thumbs_up" ? "Helpful" : "Not helpful" })
2828
3261
  ] });
2829
3262
  }
2830
3263
  function MessageBubble({
@@ -2838,16 +3271,20 @@ function MessageBubble({
2838
3271
  showSources: showSourcesProp = true,
2839
3272
  onFeedback,
2840
3273
  isSpeaking = false,
2841
- onToggleSpeak
3274
+ onToggleSpeak,
3275
+ onRegenerate,
3276
+ onEditMessage
2842
3277
  }) {
2843
3278
  var _a;
2844
3279
  const isUser = message.role === "user";
2845
3280
  const isCompact = viewportSize === "compact";
2846
3281
  const isMedium = viewportSize === "medium";
2847
- const [showSources, setShowSources] = React11.useState(false);
2848
- const [showTrace, setShowTrace] = React11.useState(false);
2849
- const [copied, setCopied] = React11.useState(false);
2850
- const handleCopy = React11.useCallback(async () => {
3282
+ const [showSources, setShowSources] = React14.useState(false);
3283
+ const [showTrace, setShowTrace] = React14.useState(false);
3284
+ const [copied, setCopied] = React14.useState(false);
3285
+ const [isEditing, setIsEditing] = React14.useState(false);
3286
+ const [editDraft, setEditDraft] = React14.useState(message.content);
3287
+ const handleCopy = React14.useCallback(async () => {
2851
3288
  try {
2852
3289
  await navigator.clipboard.writeText(message.content);
2853
3290
  setCopied(true);
@@ -2856,11 +3293,11 @@ function MessageBubble({
2856
3293
  console.error("Failed to copy text:", err);
2857
3294
  }
2858
3295
  }, [message.content]);
2859
- const structuredContent = React11.useMemo(
3296
+ const structuredContent = React14.useMemo(
2860
3297
  () => isUser ? { payload: null, text: message.content } : extractStructuredPayload(message.content),
2861
3298
  [isUser, message.content]
2862
3299
  );
2863
- const hasRichUI = React11.useMemo(() => {
3300
+ const hasRichUI = React14.useMemo(() => {
2864
3301
  if (message.uiTransformation) {
2865
3302
  const type = message.uiTransformation.type;
2866
3303
  if (type && !["text", "table"].includes(type)) return true;
@@ -2878,10 +3315,10 @@ function MessageBubble({
2878
3315
  uiTransformationType && !["text", "product_carousel", "carousel"].includes(uiTransformationType)
2879
3316
  );
2880
3317
  const shouldRenderStructuredOnly = !isUser && hasRichUI && isLikelyUiOnlyMessage(structuredContent.text);
2881
- const productsFromSources = React11.useMemo(() => {
3318
+ const productsFromSources = React14.useMemo(() => {
2882
3319
  return extractProductsFromSources(sources, isUser);
2883
3320
  }, [sources, isUser]);
2884
- const { productsFromContent, cleanContent } = React11.useMemo(() => {
3321
+ const { productsFromContent, cleanContent } = React14.useMemo(() => {
2885
3322
  if (isUser) {
2886
3323
  return { productsFromContent: [], cleanContent: message.content };
2887
3324
  }
@@ -2897,10 +3334,10 @@ function MessageBubble({
2897
3334
  isStreaming
2898
3335
  );
2899
3336
  }, [message.content, isUser, structuredContent, productsFromSources, isStreaming]);
2900
- const allProducts = React11.useMemo(() => {
3337
+ const allProducts = React14.useMemo(() => {
2901
3338
  return deduplicateProducts(productsFromSources, productsFromContent, message.content);
2902
3339
  }, [productsFromSources, productsFromContent, message.content]);
2903
- const processedMarkdown = React11.useMemo(() => {
3340
+ const processedMarkdown = React14.useMemo(() => {
2904
3341
  let raw = structuredContent.payload ? structuredContent.text : cleanContent || message.content;
2905
3342
  raw = raw.replace(/\$\s*(\d+)(?!\.\d)/g, "$1");
2906
3343
  raw = normalizePlusSeparatedLists(raw);
@@ -2929,15 +3366,18 @@ ${match.trim()}
2929
3366
  if (hasStructuredUiBlock) {
2930
3367
  raw = stripStructuredUiLabels(stripMarkdownTables(raw)).replace(/\n{3,}/g, "\n\n").trim();
2931
3368
  }
3369
+ if (!isUser && sources && sources.length > 0) {
3370
+ raw = linkifyInlineCitations(raw, sources.length);
3371
+ }
2932
3372
  return raw;
2933
- }, [cleanContent, message.content, isStreaming, structuredContent]);
2934
- const markdownComponents = React11.useMemo(
2935
- () => createMarkdownComponents({ primaryColor, accentColor, isStreaming, onAddToCart, viewportSize }),
2936
- [primaryColor, accentColor, isStreaming, onAddToCart, viewportSize]
3373
+ }, [cleanContent, message.content, isStreaming, structuredContent, isUser, sources]);
3374
+ const markdownComponents = React14.useMemo(
3375
+ () => createMarkdownComponents({ primaryColor, accentColor, isStreaming, onAddToCart, viewportSize, sources }),
3376
+ [primaryColor, accentColor, isStreaming, onAddToCart, viewportSize, sources]
2937
3377
  );
2938
3378
  const timeLabel = formatTime(message.createdAt);
2939
3379
  const isCompleted = !isStreaming && message.content;
2940
- return /* @__PURE__ */ jsxs12(
3380
+ return /* @__PURE__ */ jsxs14(
2941
3381
  motion2.div,
2942
3382
  {
2943
3383
  initial: { opacity: 0, y: 10 },
@@ -2945,16 +3385,16 @@ ${match.trim()}
2945
3385
  transition: { duration: 0.3 },
2946
3386
  className: `flex ${isCompact ? "gap-2" : "gap-3"} ${isUser ? "flex-row-reverse" : "flex-row"} items-start`,
2947
3387
  children: [
2948
- /* @__PURE__ */ jsx13(
3388
+ /* @__PURE__ */ jsx15(
2949
3389
  "div",
2950
3390
  {
2951
3391
  className: `flex-shrink-0 ${isCompact ? "w-7 h-7" : "w-8 h-8"} rounded-full flex items-center justify-center shadow-md transition-all duration-300 ${isUser ? "text-white" : "bg-gradient-to-br from-slate-100 to-slate-200 dark:from-white/10 dark:to-white/5 text-slate-600 dark:text-white/70 ring-1 ring-slate-200/80 dark:ring-white/10"} ${isStreaming && !isUser ? "ring-2 ring-offset-1 ring-offset-transparent animate-pulse" : ""}`,
2952
3392
  style: isUser ? { background: `linear-gradient(135deg, ${primaryColor}, ${accentColor})` } : {},
2953
- children: isUser ? /* @__PURE__ */ jsx13(User, { className: `${isCompact ? "w-3.5 h-3.5" : "w-4 h-4"} text-white` }) : /* @__PURE__ */ jsx13(Bot, { className: `${isCompact ? "w-3.5 h-3.5" : "w-4 h-4"}` })
3393
+ children: isUser ? /* @__PURE__ */ jsx15(User, { className: `${isCompact ? "w-3.5 h-3.5" : "w-4 h-4"} text-white` }) : /* @__PURE__ */ jsx15(Bot, { className: `${isCompact ? "w-3.5 h-3.5" : "w-4 h-4"}` })
2954
3394
  }
2955
3395
  ),
2956
- /* @__PURE__ */ jsxs12("div", { className: `flex flex-col gap-1 min-w-0 ${isCompact ? "max-w-[94%]" : isMedium ? "max-w-[92%]" : "max-w-[90%]"} ${isUser ? "items-end" : "items-start"}`, children: [
2957
- !isUser && message.thinking && /* @__PURE__ */ jsx13(
3396
+ /* @__PURE__ */ jsxs14("div", { className: `flex flex-col gap-1 min-w-0 ${isCompact ? "max-w-[94%]" : isMedium ? "max-w-[92%]" : "max-w-[90%]"} ${isUser ? "items-end" : "items-start"}`, children: [
3397
+ !isUser && message.thinking && /* @__PURE__ */ jsx15(
2958
3398
  ThinkingBlock,
2959
3399
  {
2960
3400
  thinking: message.thinking,
@@ -2962,38 +3402,84 @@ ${match.trim()}
2962
3402
  isStreaming: isStreaming && !message.content
2963
3403
  }
2964
3404
  ),
2965
- /* @__PURE__ */ jsxs12(
3405
+ /* @__PURE__ */ jsxs14(
2966
3406
  "div",
2967
3407
  {
2968
3408
  className: `relative group ${isCompact ? "px-3 py-2.5 text-[13px]" : "px-4 py-3 text-sm"} rounded-2xl leading-relaxed transition-shadow duration-200 ${isUser ? "text-white rounded-tr-sm shadow-md hover:shadow-lg" : "bg-white dark:bg-white/5 border border-slate-200/80 dark:border-white/10 text-slate-800 dark:text-white/90 rounded-tl-sm shadow-sm hover:shadow-md hover:border-slate-300/60 dark:hover:border-white/15"}`,
2969
3409
  style: isUser ? { background: `linear-gradient(135deg, ${primaryColor}, ${accentColor})` } : {},
2970
3410
  children: [
2971
- !isUser && isCompleted && /* @__PURE__ */ jsx13(
3411
+ !isUser && isCompleted && /* @__PURE__ */ jsx15(
2972
3412
  "button",
2973
3413
  {
2974
3414
  onClick: handleCopy,
2975
3415
  className: `absolute top-2 right-2 p-1.5 rounded-lg border transition-all duration-200 cursor-pointer ${copied ? "bg-emerald-500/10 border-emerald-500/20 text-emerald-500 dark:text-emerald-400" : "bg-white/60 dark:bg-white/5 hover:bg-white dark:hover:bg-white/10 border-slate-200/60 dark:border-white/10 text-slate-300 dark:text-white/20 hover:text-slate-600 dark:hover:text-white/60 hover:border-slate-300 dark:hover:border-white/20"} opacity-0 group-hover:opacity-100 backdrop-blur-sm shadow-sm scale-95 group-hover:scale-100`,
2976
3416
  title: copied ? "Copied!" : "Copy response",
2977
- children: copied ? /* @__PURE__ */ jsx13(Check, { className: "w-3.5 h-3.5" }) : /* @__PURE__ */ jsx13(Copy, { className: "w-3.5 h-3.5" })
3417
+ "aria-label": copied ? "Copied response" : "Copy response",
3418
+ children: copied ? /* @__PURE__ */ jsx15(Check, { className: "w-3.5 h-3.5" }) : /* @__PURE__ */ jsx15(Copy, { className: "w-3.5 h-3.5" })
2978
3419
  }
2979
3420
  ),
2980
- isStreaming && !message.content ? /* @__PURE__ */ jsxs12("span", { className: "flex items-center gap-1 py-1", children: [
2981
- /* @__PURE__ */ jsx13("span", { className: "w-1.5 h-1.5 rounded-full bg-slate-400 dark:bg-white/60 animate-bounce [animation-delay:0ms]" }),
2982
- /* @__PURE__ */ jsx13("span", { className: "w-1.5 h-1.5 rounded-full bg-slate-400 dark:bg-white/60 animate-bounce [animation-delay:150ms]" }),
2983
- /* @__PURE__ */ jsx13("span", { className: "w-1.5 h-1.5 rounded-full bg-slate-400 dark:bg-white/60 animate-bounce [animation-delay:300ms]" })
2984
- ] }) : isUser ? /* @__PURE__ */ jsx13("div", { className: "text-white font-medium whitespace-pre-wrap break-words text-sm leading-relaxed", style: { color: "#ffffff" }, children: message.content }) : /* @__PURE__ */ jsxs12("div", { className: `prose ${isCompact ? "prose-xs" : "prose-sm"} max-w-none break-words dark:prose-invert`, children: [
2985
- structuredContent.payload && /* @__PURE__ */ jsx13(
2986
- UIDispatcher,
3421
+ isStreaming && !message.content ? /* @__PURE__ */ jsxs14("span", { className: "flex items-center gap-1 py-1", children: [
3422
+ /* @__PURE__ */ jsx15("span", { className: "w-1.5 h-1.5 rounded-full bg-slate-400 dark:bg-white/60 animate-bounce [animation-delay:0ms]" }),
3423
+ /* @__PURE__ */ jsx15("span", { className: "w-1.5 h-1.5 rounded-full bg-slate-400 dark:bg-white/60 animate-bounce [animation-delay:150ms]" }),
3424
+ /* @__PURE__ */ jsx15("span", { className: "w-1.5 h-1.5 rounded-full bg-slate-400 dark:bg-white/60 animate-bounce [animation-delay:300ms]" })
3425
+ ] }) : isUser ? isEditing ? /* @__PURE__ */ jsxs14("div", { className: "space-y-2 min-w-[220px]", children: [
3426
+ /* @__PURE__ */ jsx15(
3427
+ "textarea",
2987
3428
  {
2988
- rawContent: structuredContent.payload,
2989
- primaryColor,
2990
- accentColor,
2991
- isStreaming,
2992
- onAddToCart,
2993
- viewportSize
3429
+ value: editDraft,
3430
+ onChange: (e) => setEditDraft(e.target.value),
3431
+ rows: 2,
3432
+ "aria-label": "Edit message",
3433
+ className: "w-full rounded-lg bg-white/15 text-white placeholder-white/60 border border-white/25 p-2 text-sm focus:outline-none focus:ring-1 focus:ring-white/60 resize-none"
2994
3434
  }
2995
3435
  ),
2996
- !shouldRenderStructuredOnly && /* @__PURE__ */ jsx13(
3436
+ /* @__PURE__ */ jsxs14("div", { className: "flex items-center justify-end gap-1.5", children: [
3437
+ /* @__PURE__ */ jsx15(
3438
+ "button",
3439
+ {
3440
+ type: "button",
3441
+ onClick: () => {
3442
+ setEditDraft(message.content);
3443
+ setIsEditing(false);
3444
+ },
3445
+ className: "px-2.5 py-1 rounded-lg text-[11px] font-medium bg-white/15 hover:bg-white/25 text-white cursor-pointer",
3446
+ children: "Cancel"
3447
+ }
3448
+ ),
3449
+ /* @__PURE__ */ jsx15(
3450
+ "button",
3451
+ {
3452
+ type: "button",
3453
+ onClick: () => {
3454
+ const trimmed = editDraft.trim();
3455
+ if (trimmed && onEditMessage) {
3456
+ onEditMessage(message.id, trimmed);
3457
+ }
3458
+ setIsEditing(false);
3459
+ },
3460
+ className: "px-2.5 py-1 rounded-lg text-[11px] font-semibold bg-white text-slate-900 hover:bg-white/90 cursor-pointer",
3461
+ children: "Save & Send"
3462
+ }
3463
+ )
3464
+ ] })
3465
+ ] }) : /* @__PURE__ */ jsxs14("div", { className: "relative flex items-start gap-2", children: [
3466
+ /* @__PURE__ */ jsx15("div", { className: "text-white font-medium whitespace-pre-wrap break-words text-sm leading-relaxed", style: { color: "#ffffff" }, children: message.content }),
3467
+ onEditMessage && !isStreaming && /* @__PURE__ */ jsx15(
3468
+ "button",
3469
+ {
3470
+ type: "button",
3471
+ onClick: () => {
3472
+ setEditDraft(message.content);
3473
+ setIsEditing(true);
3474
+ },
3475
+ title: "Edit message",
3476
+ "aria-label": "Edit message",
3477
+ className: "opacity-0 group-hover:opacity-100 p-1 rounded-md bg-white/15 hover:bg-white/25 text-white transition-opacity cursor-pointer shrink-0",
3478
+ children: /* @__PURE__ */ jsx15(Pencil, { className: "w-3 h-3" })
3479
+ }
3480
+ )
3481
+ ] }) : /* @__PURE__ */ jsxs14("div", { className: `prose ${isCompact ? "prose-xs" : "prose-sm"} max-w-none break-words dark:prose-invert`, children: [
3482
+ !shouldRenderStructuredOnly && /* @__PURE__ */ jsx15(
2997
3483
  ReactMarkdown,
2998
3484
  {
2999
3485
  components: markdownComponents,
@@ -3002,7 +3488,18 @@ ${match.trim()}
3002
3488
  children: processedMarkdown
3003
3489
  }
3004
3490
  ),
3005
- isStreaming && /* @__PURE__ */ jsx13(
3491
+ !isStreaming && structuredContent.payload && /* @__PURE__ */ jsx15(
3492
+ UIDispatcher,
3493
+ {
3494
+ rawContent: structuredContent.payload,
3495
+ primaryColor,
3496
+ accentColor,
3497
+ isStreaming,
3498
+ onAddToCart,
3499
+ viewportSize
3500
+ }
3501
+ ),
3502
+ isStreaming && /* @__PURE__ */ jsx15(
3006
3503
  "span",
3007
3504
  {
3008
3505
  className: "inline-block w-2.5 h-4 ml-1.5 animate-[pulse_1.2s_infinite] align-middle rounded-sm",
@@ -3015,33 +3512,14 @@ ${match.trim()}
3015
3512
  ),
3016
3513
  (() => {
3017
3514
  var _a2, _b;
3018
- if (isUser || structuredContent.payload) return null;
3019
- if (isStreaming && !message.uiTransformation && sources && sources.length > 0) {
3020
- const hasProductSource = sources.some(
3021
- (s) => s.metadata && Object.keys(s.metadata).some(
3022
- (k) => ["name", "title", "price", "brand", "image", "product", "sku", "category"].includes(k.toLowerCase())
3023
- )
3024
- );
3025
- if (hasProductSource) {
3026
- return /* @__PURE__ */ jsx13("div", { className: "w-full mt-3", children: /* @__PURE__ */ jsx13(
3027
- VisualizationRenderer,
3028
- {
3029
- data: { type: "product_carousel", title: "Recommended Products", description: "Loading...", data: [] },
3030
- primaryColor,
3031
- onAddToCart,
3032
- className: "rounded-3xl border border-slate-200/60 dark:border-white/10 bg-white/90 dark:bg-slate-900/80 p-4",
3033
- isStreaming: true
3034
- }
3035
- ) });
3036
- }
3037
- }
3515
+ if (isUser || isStreaming || structuredContent.payload) return null;
3038
3516
  if (!message.uiTransformation) return null;
3039
3517
  const ui = message.uiTransformation;
3040
3518
  const textContent = (_b = (_a2 = ui.data) == null ? void 0 : _a2.content) != null ? _b : "";
3041
3519
  const isNegativeOrFallbackText = textContent.toLowerCase().includes("cannot answer") || textContent.toLowerCase().includes("no relevant data") || textContent.toLowerCase().includes("no data available") || typeof ui.title === "string" && ui.title.toLowerCase().includes("no data") || typeof ui.description === "string" && ui.description.toLowerCase().includes("no relevant data");
3042
3520
  const shouldShow = !isNegativeOrFallbackText && ui.type !== "text" && (ui.type === "table" || !["text", "table"].includes(ui.type));
3043
3521
  if (!shouldShow) return null;
3044
- return /* @__PURE__ */ jsx13("div", { className: "w-full mt-3", children: /* @__PURE__ */ jsx13(
3522
+ return /* @__PURE__ */ jsx15("div", { className: "w-full mt-3", children: /* @__PURE__ */ jsx15(
3045
3523
  VisualizationRenderer,
3046
3524
  {
3047
3525
  data: ui,
@@ -3052,7 +3530,7 @@ ${match.trim()}
3052
3530
  }
3053
3531
  ) });
3054
3532
  })(),
3055
- !isUser && !hasRichUI && !shouldSuppressProductCarousel && !hasRenderedCarousel && allProducts.length > 0 && /* @__PURE__ */ jsx13("div", { className: "w-full mt-1", children: /* @__PURE__ */ jsx13(
3533
+ !isUser && !isStreaming && !hasRichUI && !shouldSuppressProductCarousel && !hasRenderedCarousel && allProducts.length > 0 && /* @__PURE__ */ jsx15("div", { className: "w-full mt-1", children: /* @__PURE__ */ jsx15(
3056
3534
  ProductCarousel,
3057
3535
  {
3058
3536
  products: allProducts,
@@ -3060,49 +3538,61 @@ ${match.trim()}
3060
3538
  onAddToCart
3061
3539
  }
3062
3540
  ) }),
3063
- !isUser && /* @__PURE__ */ jsxs12("div", { className: `flex items-center gap-3 mt-1.5 w-full flex-wrap ${isCompact ? "gap-2" : "gap-3"}`, children: [
3064
- showSourcesProp && sources && sources.length > 0 && /* @__PURE__ */ jsxs12(
3541
+ !isUser && /* @__PURE__ */ jsxs14("div", { className: `flex items-center gap-3 mt-1.5 w-full flex-wrap ${isCompact ? "gap-2" : "gap-3"}`, children: [
3542
+ showSourcesProp && sources && sources.length > 0 && /* @__PURE__ */ jsxs14(
3065
3543
  "button",
3066
3544
  {
3067
3545
  onClick: () => setShowSources((s) => !s),
3068
3546
  className: "text-[11px] text-indigo-400 hover:text-indigo-300 dark:text-indigo-400/70 dark:hover:text-indigo-300 transition-colors flex items-center gap-1 font-medium",
3069
3547
  children: [
3070
- showSources ? /* @__PURE__ */ jsx13(ChevronDown4, { className: "w-3 h-3" }) : /* @__PURE__ */ jsx13(ChevronRight4, { className: "w-3 h-3" }),
3548
+ showSources ? /* @__PURE__ */ jsx15(ChevronDown4, { className: "w-3 h-3" }) : /* @__PURE__ */ jsx15(ChevronRight5, { className: "w-3 h-3" }),
3071
3549
  sources.length,
3072
3550
  " source",
3073
3551
  sources.length !== 1 ? "s" : ""
3074
3552
  ]
3075
3553
  }
3076
3554
  ),
3077
- message.trace && /* @__PURE__ */ jsxs12(
3555
+ message.trace && /* @__PURE__ */ jsxs14(
3078
3556
  "button",
3079
3557
  {
3080
3558
  onClick: () => setShowTrace((t) => !t),
3081
3559
  className: "text-[11px] text-emerald-500/70 hover:text-emerald-400 dark:text-emerald-500/50 dark:hover:text-emerald-400 transition-colors flex items-center gap-1 font-medium",
3082
3560
  children: [
3083
- /* @__PURE__ */ jsx13(Activity, { className: "w-3 h-3" }),
3561
+ /* @__PURE__ */ jsx15(Activity, { className: "w-3 h-3" }),
3084
3562
  showTrace ? "Hide trace" : "Trace"
3085
3563
  ]
3086
3564
  }
3087
3565
  ),
3088
- /* @__PURE__ */ jsx13("div", { className: "flex-1" }),
3089
- timeLabel && isCompleted && /* @__PURE__ */ jsxs12("span", { className: "flex items-center gap-1 text-[10px] text-slate-300 dark:text-white/20 font-medium select-none", children: [
3090
- /* @__PURE__ */ jsx13(Clock2, { className: "w-2.5 h-2.5" }),
3566
+ /* @__PURE__ */ jsx15("div", { className: "flex-1" }),
3567
+ timeLabel && isCompleted && /* @__PURE__ */ jsxs14("span", { className: "flex items-center gap-1 text-[10px] text-slate-300 dark:text-white/20 font-medium select-none", children: [
3568
+ /* @__PURE__ */ jsx15(Clock2, { className: "w-2.5 h-2.5" }),
3091
3569
  timeLabel
3092
3570
  ] }),
3093
- isCompleted && onToggleSpeak && /* @__PURE__ */ jsxs12(
3571
+ isCompleted && onRegenerate && /* @__PURE__ */ jsx15(
3572
+ "button",
3573
+ {
3574
+ type: "button",
3575
+ onClick: onRegenerate,
3576
+ title: "Regenerate response",
3577
+ "aria-label": "Regenerate response",
3578
+ className: "group relative flex items-center justify-center w-6 h-6 rounded-lg transition-all duration-200 cursor-pointer border border-transparent text-slate-300 dark:text-white/20 hover:text-indigo-500 dark:hover:text-indigo-400 hover:bg-indigo-50 dark:hover:bg-indigo-500/10 hover:border-indigo-200 dark:hover:border-indigo-500/20 hover:scale-110",
3579
+ children: /* @__PURE__ */ jsx15(RotateCcw2, { className: "w-3 h-3" })
3580
+ }
3581
+ ),
3582
+ isCompleted && onToggleSpeak && /* @__PURE__ */ jsxs14(
3094
3583
  "button",
3095
3584
  {
3096
3585
  onClick: () => onToggleSpeak(message.content, message.id),
3097
3586
  title: isSpeaking ? "Stop speaking" : "Read aloud",
3587
+ "aria-label": isSpeaking ? "Stop speaking" : "Read aloud",
3098
3588
  className: `group relative flex items-center justify-center w-6 h-6 rounded-lg transition-all duration-200 cursor-pointer border ${isSpeaking ? "bg-indigo-50 dark:bg-indigo-500/20 border-indigo-300 dark:border-indigo-500/40 text-indigo-600 dark:text-indigo-400 animate-pulse scale-105" : "border-transparent text-slate-300 dark:text-white/20 hover:text-indigo-500 dark:hover:text-indigo-400 hover:bg-indigo-50 dark:hover:bg-indigo-500/10 hover:border-indigo-200 dark:hover:border-indigo-500/20 hover:scale-110"}`,
3099
3589
  children: [
3100
- isSpeaking ? /* @__PURE__ */ jsx13(VolumeX, { className: "w-3 h-3 text-indigo-500" }) : /* @__PURE__ */ jsx13(Volume2, { className: "w-3 h-3" }),
3101
- /* @__PURE__ */ jsx13("span", { className: "absolute -top-8 left-1/2 -translate-x-1/2 px-2 py-1 text-[10px] font-medium bg-slate-800 dark:bg-slate-700 text-white rounded-lg opacity-0 group-hover:opacity-100 transition-opacity pointer-events-none whitespace-nowrap shadow-lg z-10", children: isSpeaking ? "Stop speaking" : "Read aloud" })
3590
+ isSpeaking ? /* @__PURE__ */ jsx15(VolumeX, { className: "w-3 h-3 text-indigo-500" }) : /* @__PURE__ */ jsx15(Volume2, { className: "w-3 h-3" }),
3591
+ /* @__PURE__ */ jsx15("span", { className: "absolute -top-8 left-1/2 -translate-x-1/2 px-2 py-1 text-[10px] font-medium bg-slate-800 dark:bg-slate-700 text-white rounded-lg opacity-0 group-hover:opacity-100 transition-opacity pointer-events-none whitespace-nowrap shadow-lg z-10", children: isSpeaking ? "Stop speaking" : "Read aloud" })
3102
3592
  ]
3103
3593
  }
3104
3594
  ),
3105
- isCompleted && onFeedback && message.id && /* @__PURE__ */ jsx13(
3595
+ isCompleted && onFeedback && message.id && /* @__PURE__ */ jsx15(
3106
3596
  FeedbackBar,
3107
3597
  {
3108
3598
  messageId: message.id,
@@ -3111,25 +3601,25 @@ ${match.trim()}
3111
3601
  }
3112
3602
  )
3113
3603
  ] }),
3114
- /* @__PURE__ */ jsxs12("div", { className: "w-full flex flex-col min-w-0", children: [
3115
- /* @__PURE__ */ jsx13(AnimatePresence2, { children: showSourcesProp && showSources && sources && sources.length > 0 && /* @__PURE__ */ jsx13(
3604
+ /* @__PURE__ */ jsxs14("div", { className: "w-full flex flex-col min-w-0", children: [
3605
+ /* @__PURE__ */ jsx15(AnimatePresence2, { children: showSourcesProp && showSources && sources && sources.length > 0 && /* @__PURE__ */ jsx15(
3116
3606
  motion2.div,
3117
3607
  {
3118
3608
  initial: { height: 0, opacity: 0 },
3119
3609
  animate: { height: "auto", opacity: 1 },
3120
3610
  exit: { height: 0, opacity: 0 },
3121
3611
  className: "mt-1 flex flex-col gap-2 overflow-hidden",
3122
- children: sources.map((src, i) => /* @__PURE__ */ jsx13(SourceCard, { source: src, index: i }, src.id))
3612
+ children: sources.map((src, i) => /* @__PURE__ */ jsx15(SourceCard, { source: src, index: i }, src.id))
3123
3613
  }
3124
3614
  ) }),
3125
- /* @__PURE__ */ jsx13(AnimatePresence2, { children: showTrace && message.trace && /* @__PURE__ */ jsx13(
3615
+ /* @__PURE__ */ jsx15(AnimatePresence2, { children: showTrace && message.trace && /* @__PURE__ */ jsx15(
3126
3616
  motion2.div,
3127
3617
  {
3128
3618
  initial: { height: 0, opacity: 0 },
3129
3619
  animate: { height: "auto", opacity: 1 },
3130
3620
  exit: { height: 0, opacity: 0 },
3131
3621
  className: "overflow-hidden",
3132
- children: /* @__PURE__ */ jsx13(ObservabilityPanel, { trace: message.trace, primaryColor })
3622
+ children: /* @__PURE__ */ jsx15(ObservabilityPanel, { trace: message.trace, primaryColor })
3133
3623
  }
3134
3624
  ) })
3135
3625
  ] })
@@ -3140,10 +3630,10 @@ ${match.trim()}
3140
3630
  }
3141
3631
 
3142
3632
  // src/hooks/useRagChat.ts
3143
- import { useState as useState7, useCallback, useRef as useRef5, useEffect as useEffect6, useMemo as useMemo2 } from "react";
3633
+ import { useState as useState9, useCallback, useRef as useRef5, useEffect as useEffect6, useMemo as useMemo3 } from "react";
3144
3634
 
3145
3635
  // src/hooks/useStoredMessages.ts
3146
- import * as React12 from "react";
3636
+ import * as React15 from "react";
3147
3637
  function readStoredMessages(storageKey) {
3148
3638
  if (typeof window === "undefined") {
3149
3639
  return [];
@@ -3160,9 +3650,9 @@ function readStoredMessages(storageKey) {
3160
3650
  }
3161
3651
  }
3162
3652
  function useStoredMessages(storageKey, persist) {
3163
- const [messages, setMessages] = React12.useState([]);
3164
- const isLoaded = React12.useRef(false);
3165
- React12.useEffect(() => {
3653
+ const [messages, setMessages] = React15.useState([]);
3654
+ const isLoaded = React15.useRef(false);
3655
+ React15.useEffect(() => {
3166
3656
  if (persist) {
3167
3657
  const loaded = readStoredMessages(storageKey);
3168
3658
  if (loaded.length > 0) {
@@ -3171,7 +3661,7 @@ function useStoredMessages(storageKey, persist) {
3171
3661
  }
3172
3662
  isLoaded.current = true;
3173
3663
  }, [storageKey, persist]);
3174
- React12.useEffect(() => {
3664
+ React15.useEffect(() => {
3175
3665
  if (!isLoaded.current || !persist || typeof window === "undefined") {
3176
3666
  return;
3177
3667
  }
@@ -3215,13 +3705,13 @@ function useRagChat(projectId, options = {}) {
3215
3705
  const primaryUrl = apiUrl || `${retrivoraApiBase.replace(/\/$/, "")}/chat`;
3216
3706
  const storageKey = `rag_chat_${projectId}`;
3217
3707
  const [messages, setMessages] = useStoredMessages(storageKey, persist);
3218
- const [isLoading, setIsLoading] = useState7(false);
3219
- const [error, setError] = useState7(null);
3708
+ const [isLoading, setIsLoading] = useState9(false);
3709
+ const [error, setError] = useState9(null);
3220
3710
  const lastInputRef = useRef5("");
3221
3711
  const messagesRef = useRef5(messages);
3222
3712
  const abortControllerRef = useRef5(null);
3223
3713
  const errorTimeoutRef = useRef5(null);
3224
- const resolvedLicenseKey = useMemo2(() => {
3714
+ const resolvedLicenseKey = useMemo3(() => {
3225
3715
  var _a;
3226
3716
  const getHeader = (headersObj, name) => {
3227
3717
  if (!headersObj) return void 0;
@@ -3233,18 +3723,19 @@ function useRagChat(projectId, options = {}) {
3233
3723
  };
3234
3724
  return options.licenseKey || getHeader(options.headers, "x-license-key") || ((_a = getHeader(options.headers, "authorization")) == null ? void 0 : _a.replace(/^Bearer\s+/i, "")) || (typeof process !== "undefined" ? process.env.NEXT_PUBLIC_RETRIVORA_LICENSE_KEY || process.env.RETRIVORA_LICENSE_KEY : "") || "";
3235
3725
  }, [options.licenseKey, options.headers]);
3236
- const setTemporaryError = useCallback((msg) => {
3237
- setError(msg);
3726
+ const clearError = useCallback(() => {
3238
3727
  if (errorTimeoutRef.current) {
3239
3728
  clearTimeout(errorTimeoutRef.current);
3240
3729
  errorTimeoutRef.current = null;
3241
3730
  }
3242
- if (msg) {
3243
- errorTimeoutRef.current = setTimeout(() => {
3244
- setError(null);
3245
- errorTimeoutRef.current = null;
3246
- }, 5e3);
3731
+ setError(null);
3732
+ }, []);
3733
+ const setTemporaryError = useCallback((msg) => {
3734
+ if (errorTimeoutRef.current) {
3735
+ clearTimeout(errorTimeoutRef.current);
3736
+ errorTimeoutRef.current = null;
3247
3737
  }
3738
+ setError(msg);
3248
3739
  }, []);
3249
3740
  useEffect6(() => {
3250
3741
  return () => {
@@ -3473,6 +3964,36 @@ function useRagChat(projectId, options = {}) {
3473
3964
  });
3474
3965
  }
3475
3966
  }, [sendMessage]);
3967
+ const regenerate = useCallback(async () => {
3968
+ if (isLoading) return;
3969
+ const current = messagesRef.current;
3970
+ let lastUserIdx = -1;
3971
+ for (let i = current.length - 1; i >= 0; i--) {
3972
+ if (current[i].role === "user") {
3973
+ lastUserIdx = i;
3974
+ break;
3975
+ }
3976
+ }
3977
+ if (lastUserIdx === -1) return;
3978
+ const truncated = current.slice(0, lastUserIdx + 1);
3979
+ messagesRef.current = truncated;
3980
+ setMessages(truncated);
3981
+ await sendMessage(truncated[lastUserIdx].content, { skipUserMessage: true });
3982
+ }, [isLoading, sendMessage, setMessages]);
3983
+ const editAndResend = useCallback(async (messageId, newText) => {
3984
+ const trimmed = newText.trim();
3985
+ if (!trimmed || isLoading) return;
3986
+ const current = messagesRef.current;
3987
+ const idx = current.findIndex((m) => m.id === messageId && m.role === "user");
3988
+ if (idx === -1) return;
3989
+ const updated = [
3990
+ ...current.slice(0, idx),
3991
+ __spreadProps(__spreadValues({}, current[idx]), { content: trimmed })
3992
+ ];
3993
+ messagesRef.current = updated;
3994
+ setMessages(updated);
3995
+ await sendMessage(trimmed, { skipUserMessage: true });
3996
+ }, [isLoading, sendMessage, setMessages]);
3476
3997
  const stop = useCallback(() => {
3477
3998
  if (abortControllerRef.current) {
3478
3999
  abortControllerRef.current.abort();
@@ -3563,6 +4084,9 @@ function useRagChat(projectId, options = {}) {
3563
4084
  send: sendMessage,
3564
4085
  clear,
3565
4086
  retry,
4087
+ clearError,
4088
+ regenerate,
4089
+ editAndResend,
3566
4090
  setMessages,
3567
4091
  stop,
3568
4092
  loadHistory,
@@ -3572,7 +4096,7 @@ function useRagChat(projectId, options = {}) {
3572
4096
  }
3573
4097
 
3574
4098
  // src/hooks/useVoice.ts
3575
- import { useState as useState8, useEffect as useEffect7, useRef as useRef6, useCallback as useCallback2 } from "react";
4099
+ import { useState as useState10, useEffect as useEffect7, useRef as useRef6, useCallback as useCallback2 } from "react";
3576
4100
  function cleanMarkdownForSpeech(raw) {
3577
4101
  if (!raw) return "";
3578
4102
  return raw.replace(/```[\s\S]*?```/g, "").replace(/`([^`]+)`/g, "$1").replace(/!\[([^\]]*)\]\([^)]*\)/g, "").replace(/\[([^\]]+)\]\([^)]*\)/g, "$1").replace(/^#{1,6}\s+/gm, "").replace(/(\*\*|__|\*|_)/g, "").replace(/^\s*>\s+/gm, "").replace(/^[-*_]{3,}\s*$/gm, "").replace(/^\s*[-+*]\s+/gm, "").replace(/^\s*\d+\.\s+/gm, "").replace(/\n+/g, ". ").replace(/\s{2,}/g, " ").trim();
@@ -3587,13 +4111,13 @@ function useVoice(options = {}) {
3587
4111
  onInterimResult,
3588
4112
  onError
3589
4113
  } = options;
3590
- const [isSupportedSTT, setIsSupportedSTT] = useState8(false);
3591
- const [isSupportedTTS, setIsSupportedTTS] = useState8(false);
3592
- const [isListening, setIsListening] = useState8(false);
3593
- const [transcript, setTranscript] = useState8("");
3594
- const [isSpeaking, setIsSpeaking] = useState8(false);
3595
- const [currentlySpeakingId, setCurrentlySpeakingId] = useState8(null);
3596
- const [autoSpeak, setAutoSpeak] = useState8(initialAutoSpeak);
4114
+ const [isSupportedSTT, setIsSupportedSTT] = useState10(false);
4115
+ const [isSupportedTTS, setIsSupportedTTS] = useState10(false);
4116
+ const [isListening, setIsListening] = useState10(false);
4117
+ const [transcript, setTranscript] = useState10("");
4118
+ const [isSpeaking, setIsSpeaking] = useState10(false);
4119
+ const [currentlySpeakingId, setCurrentlySpeakingId] = useState10(null);
4120
+ const [autoSpeak, setAutoSpeak] = useState10(initialAutoSpeak);
3597
4121
  const recognitionRef = useRef6(null);
3598
4122
  const onTranscriptRef = useRef6(onTranscript);
3599
4123
  const onInterimResultRef = useRef6(onInterimResult);
@@ -3782,7 +4306,7 @@ function useVoice(options = {}) {
3782
4306
  }
3783
4307
 
3784
4308
  // src/components/ChatWindow.tsx
3785
- import { Fragment as Fragment7, jsx as jsx14, jsxs as jsxs13 } from "react/jsx-runtime";
4309
+ import { Fragment as Fragment7, jsx as jsx16, jsxs as jsxs15 } from "react/jsx-runtime";
3786
4310
  function ChatWindow({
3787
4311
  className = "",
3788
4312
  style,
@@ -3821,15 +4345,15 @@ function ChatWindow({
3821
4345
  const effectiveLicenseKey = licenseKeyProp || contextLicenseKey;
3822
4346
  const effectiveHeaders = headers || contextHeaders;
3823
4347
  const effectiveApiBase = retrivoraApiBase || contextApiBase;
3824
- const [input, setInput] = useState9("");
3825
- const [mounted, setMounted] = useState9(false);
3826
- const [viewportSize, setViewportSize] = useState9("large");
4348
+ const [input, setInput] = useState11("");
4349
+ const [mounted, setMounted] = useState11(false);
4350
+ const [viewportSize, setViewportSize] = useState11("large");
3827
4351
  const windowRef = useRef7(null);
3828
4352
  const scrollContainerRef = useRef7(null);
3829
4353
  const bottomRef = useRef7(null);
3830
4354
  const inputRef = useRef7(null);
3831
- const [userScrolledUp, setUserScrolledUp] = useState9(false);
3832
- const [internalSessionId, setInternalSessionId] = useState9(sessionIdProp || "default");
4355
+ const [userScrolledUp, setUserScrolledUp] = useState11(false);
4356
+ const [internalSessionId, setInternalSessionId] = useState11(sessionIdProp || "default");
3833
4357
  const activeSessionId = sessionIdProp || internalSessionId;
3834
4358
  const {
3835
4359
  messages,
@@ -3838,6 +4362,10 @@ function ChatWindow({
3838
4362
  isLoading,
3839
4363
  error,
3840
4364
  stop,
4365
+ retry,
4366
+ clearError,
4367
+ regenerate,
4368
+ editAndResend,
3841
4369
  submitFeedback,
3842
4370
  loadHistory,
3843
4371
  clearHistory: dbClearHistory
@@ -3855,7 +4383,7 @@ function ChatWindow({
3855
4383
  loadHistory(activeSessionId);
3856
4384
  }
3857
4385
  }, [activeSessionId, loadHistory]);
3858
- const [sessions, setSessions] = useState9([]);
4386
+ const [sessions, setSessions] = useState11([]);
3859
4387
  const fetchSessions = useCallback3(async () => {
3860
4388
  try {
3861
4389
  const base = effectiveApiBase || "https://www.retrivora.com/api/retrivora";
@@ -3907,10 +4435,10 @@ function ChatWindow({
3907
4435
  fetchSessions();
3908
4436
  }
3909
4437
  }, [isLoading, showHistory, mounted, fetchSessions]);
3910
- const [suggestions, setSuggestions] = useState9([]);
3911
- const [isSuggesting, setIsSuggesting] = useState9(false);
3912
- const [isUploadModalOpen, setIsUploadModalOpen] = useState9(false);
3913
- const [voiceError, setVoiceError] = useState9(null);
4438
+ const [suggestions, setSuggestions] = useState11([]);
4439
+ const [isSuggesting, setIsSuggesting] = useState11(false);
4440
+ const [isUploadModalOpen, setIsUploadModalOpen] = useState11(false);
4441
+ const [voiceError, setVoiceError] = useState11(null);
3914
4442
  const {
3915
4443
  isSupportedSTT,
3916
4444
  isSupportedTTS,
@@ -4065,21 +4593,21 @@ function ChatWindow({
4065
4593
  return () => clearTimeout(timer);
4066
4594
  }, [input, projectId, effectiveApiBase, effectiveHeaders, effectiveLicenseKey]);
4067
4595
  if (!isProjectSettingsLoading && isLicenseValid === false) {
4068
- return /* @__PURE__ */ jsxs13("div", { className: `flex flex-col items-center justify-center p-6 text-center h-full border border-slate-200 dark:border-white/10 bg-white dark:bg-[#0f0f1a] ${currentRadius} ${className}`, children: [
4069
- /* @__PURE__ */ jsx14("div", { className: "w-10 h-10 rounded-full bg-rose-500/10 text-rose-500 flex items-center justify-center mb-3", children: /* @__PURE__ */ jsx14(TriangleAlert, { className: "w-5 h-5" }) }),
4070
- /* @__PURE__ */ jsx14("h3", { className: "text-sm font-bold text-slate-900 dark:text-white mb-1", children: "Chat Unavailable" }),
4071
- /* @__PURE__ */ jsx14("p", { className: "text-xs text-slate-500 dark:text-white/60 max-w-xs", children: errorMsg || "This license key has expired or been suspended. Please renew your subscription." })
4596
+ return /* @__PURE__ */ jsxs15("div", { className: `flex flex-col items-center justify-center p-6 text-center h-full border border-slate-200 dark:border-white/10 bg-white dark:bg-[#0f0f1a] ${currentRadius} ${className}`, children: [
4597
+ /* @__PURE__ */ jsx16("div", { className: "w-10 h-10 rounded-full bg-rose-500/10 text-rose-500 flex items-center justify-center mb-3", children: /* @__PURE__ */ jsx16(TriangleAlert2, { className: "w-5 h-5" }) }),
4598
+ /* @__PURE__ */ jsx16("h3", { className: "text-sm font-bold text-slate-900 dark:text-white mb-1", children: "Chat Unavailable" }),
4599
+ /* @__PURE__ */ jsx16("p", { className: "text-xs text-slate-500 dark:text-white/60 max-w-xs", children: errorMsg || "This license key has expired or been suspended. Please renew your subscription." })
4072
4600
  ] });
4073
4601
  }
4074
- return /* @__PURE__ */ jsxs13(
4602
+ return /* @__PURE__ */ jsxs15(
4075
4603
  "div",
4076
4604
  {
4077
4605
  ref: windowRef,
4078
4606
  className: `relative flex h-full flex-1 border border-slate-200 dark:border-white/10 shadow-2xl transition-all duration-300 ${currentRadius} ${isGlass ? "bg-white/90 dark:bg-[#0f0f1a]/90 backdrop-blur-xl" : "bg-white dark:bg-[#0f0f1a]"} ${className}`,
4079
4607
  style: __spreadValues({ "--primary": ui.primaryColor, "--accent": ui.accentColor }, style),
4080
4608
  children: [
4081
- showHistory && /* @__PURE__ */ jsxs13("div", { className: "w-64 border-r border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-[#131322] flex flex-col h-full shrink-0 select-none", children: [
4082
- /* @__PURE__ */ jsx14("div", { className: "p-3 border-b border-slate-200 dark:border-white/10", children: /* @__PURE__ */ jsxs13(
4609
+ showHistory && /* @__PURE__ */ jsxs15("div", { className: "w-64 border-r border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-[#131322] flex flex-col h-full shrink-0 select-none", children: [
4610
+ /* @__PURE__ */ jsx16("div", { className: "p-3 border-b border-slate-200 dark:border-white/10", children: /* @__PURE__ */ jsxs15(
4083
4611
  "button",
4084
4612
  {
4085
4613
  onClick: () => {
@@ -4092,12 +4620,12 @@ function ChatWindow({
4092
4620
  },
4093
4621
  className: "w-full flex items-center justify-center gap-1.5 py-2 px-3 bg-[var(--primary)] hover:opacity-90 text-white rounded-xl text-xs font-bold transition-all shadow-sm cursor-pointer",
4094
4622
  children: [
4095
- /* @__PURE__ */ jsx14(Plus, { className: "w-3.5 h-3.5 stroke-[2.5]" }),
4623
+ /* @__PURE__ */ jsx16(Plus, { className: "w-3.5 h-3.5 stroke-[2.5]" }),
4096
4624
  "New Chat"
4097
4625
  ]
4098
4626
  }
4099
4627
  ) }),
4100
- /* @__PURE__ */ jsx14("div", { className: "flex-1 overflow-y-auto p-2 space-y-4 scrollbar-thin", children: sessions.length === 0 ? /* @__PURE__ */ jsx14("div", { className: "text-center text-slate-400 dark:text-white/20 text-xs py-8 font-medium", children: "No previous chats" }) : (() => {
4628
+ /* @__PURE__ */ jsx16("div", { className: "flex-1 overflow-y-auto p-2 space-y-4 scrollbar-thin", children: sessions.length === 0 ? /* @__PURE__ */ jsx16("div", { className: "text-center text-slate-400 dark:text-white/20 text-xs py-8 font-medium", children: "No previous chats" }) : (() => {
4101
4629
  const now = /* @__PURE__ */ new Date();
4102
4630
  const startOfToday = new Date(now.getFullYear(), now.getMonth(), now.getDate());
4103
4631
  const startOfYesterday = new Date(startOfToday.getTime() - 24 * 60 * 60 * 1e3);
@@ -4120,34 +4648,34 @@ function ChatWindow({
4120
4648
  }
4121
4649
  const renderGroup = (title, list) => {
4122
4650
  if (list.length === 0) return null;
4123
- return /* @__PURE__ */ jsxs13("div", { className: "space-y-1.5", children: [
4124
- /* @__PURE__ */ jsxs13("div", { className: "flex items-center px-2 py-1 select-none", children: [
4125
- /* @__PURE__ */ jsx14("span", { className: "text-[9px] font-black uppercase tracking-wider text-slate-400 dark:text-white/30", children: title }),
4126
- /* @__PURE__ */ jsx14("div", { className: "flex-grow border-t border-slate-200 dark:border-white/10 ml-2" })
4651
+ return /* @__PURE__ */ jsxs15("div", { className: "space-y-1.5", children: [
4652
+ /* @__PURE__ */ jsxs15("div", { className: "flex items-center px-2 py-1 select-none", children: [
4653
+ /* @__PURE__ */ jsx16("span", { className: "text-[9px] font-black uppercase tracking-wider text-slate-400 dark:text-white/30", children: title }),
4654
+ /* @__PURE__ */ jsx16("div", { className: "flex-grow border-t border-slate-200 dark:border-white/10 ml-2" })
4127
4655
  ] }),
4128
4656
  list.map((s) => {
4129
4657
  const isActive = s.id === activeSessionId;
4130
4658
  const timeString = s.lastMessageAt ? new Date(s.lastMessageAt).toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" }) : "";
4131
- return /* @__PURE__ */ jsxs13(
4659
+ return /* @__PURE__ */ jsxs15(
4132
4660
  "div",
4133
4661
  {
4134
4662
  className: `group relative flex items-center justify-between p-2 rounded-xl text-xs font-semibold transition-all ${isActive ? "bg-slate-200/70 dark:bg-white/10 text-slate-900 dark:text-white" : "text-slate-500 hover:bg-slate-200/30 dark:hover:bg-white/5 hover:text-slate-800 dark:hover:text-slate-200"}`,
4135
4663
  children: [
4136
- /* @__PURE__ */ jsxs13(
4664
+ /* @__PURE__ */ jsxs15(
4137
4665
  "button",
4138
4666
  {
4139
4667
  onClick: () => setInternalSessionId(s.id),
4140
4668
  className: "flex-1 flex items-center gap-2 text-left min-w-0 pr-6 cursor-pointer",
4141
4669
  children: [
4142
- /* @__PURE__ */ jsx14(MessageSquare, { className: "w-3.5 h-3.5 opacity-60 shrink-0 mt-0.5" }),
4143
- /* @__PURE__ */ jsxs13("div", { className: "truncate flex-1", children: [
4144
- /* @__PURE__ */ jsx14("div", { className: "truncate leading-snug", children: s.title || "Conversation" }),
4145
- timeString && /* @__PURE__ */ jsx14("div", { className: "text-[10px] text-slate-400 dark:text-white/30 font-medium mt-0.5", children: timeString })
4670
+ /* @__PURE__ */ jsx16(MessageSquare, { className: "w-3.5 h-3.5 opacity-60 shrink-0 mt-0.5" }),
4671
+ /* @__PURE__ */ jsxs15("div", { className: "truncate flex-1", children: [
4672
+ /* @__PURE__ */ jsx16("div", { className: "truncate leading-snug", children: s.title || "Conversation" }),
4673
+ timeString && /* @__PURE__ */ jsx16("div", { className: "text-[10px] text-slate-400 dark:text-white/30 font-medium mt-0.5", children: timeString })
4146
4674
  ] })
4147
4675
  ]
4148
4676
  }
4149
4677
  ),
4150
- /* @__PURE__ */ jsx14(
4678
+ /* @__PURE__ */ jsx16(
4151
4679
  "button",
4152
4680
  {
4153
4681
  onClick: async (e) => {
@@ -4164,7 +4692,7 @@ function ChatWindow({
4164
4692
  },
4165
4693
  title: "Delete conversation",
4166
4694
  className: "absolute right-2 opacity-0 group-hover:opacity-100 hover:text-rose-500 dark:hover:text-rose-400 p-1 rounded-md hover:bg-slate-200 dark:hover:bg-white/10 transition-all cursor-pointer text-slate-400",
4167
- children: /* @__PURE__ */ jsx14(Trash, { className: "w-3.5 h-3.5" })
4695
+ children: /* @__PURE__ */ jsx16(Trash, { className: "w-3.5 h-3.5" })
4168
4696
  }
4169
4697
  )
4170
4698
  ]
@@ -4174,7 +4702,7 @@ function ChatWindow({
4174
4702
  })
4175
4703
  ] });
4176
4704
  };
4177
- return /* @__PURE__ */ jsxs13(Fragment7, { children: [
4705
+ return /* @__PURE__ */ jsxs15(Fragment7, { children: [
4178
4706
  renderGroup("Today", todayGroup),
4179
4707
  renderGroup("Yesterday", yesterdayGroup),
4180
4708
  renderGroup("Previous 7 Days", previousGroup),
@@ -4182,90 +4710,90 @@ function ChatWindow({
4182
4710
  ] });
4183
4711
  })() })
4184
4712
  ] }),
4185
- /* @__PURE__ */ jsxs13("div", { className: "relative flex flex-col h-full flex-1 min-w-0", children: [
4186
- onResizeStart && /* @__PURE__ */ jsx14(
4713
+ /* @__PURE__ */ jsxs15("div", { className: "relative flex flex-col h-full flex-1 min-w-0", children: [
4714
+ onResizeStart && /* @__PURE__ */ jsx16(
4187
4715
  "div",
4188
4716
  {
4189
4717
  onMouseDown: onResizeStart,
4190
4718
  className: "absolute top-0 left-0 w-6 h-6 cursor-nw-resize z-[100] group flex items-start justify-start p-1",
4191
4719
  title: "Drag to resize",
4192
- children: /* @__PURE__ */ jsx14("div", { className: "w-2.5 h-2.5 border-t-2 border-l-2 border-slate-300 dark:border-white/20 group-hover:border-slate-500 dark:group-hover:border-white/50 transition-colors rounded-tl-[2px]" })
4720
+ children: /* @__PURE__ */ jsx16("div", { className: "w-2.5 h-2.5 border-t-2 border-l-2 border-slate-300 dark:border-white/20 group-hover:border-slate-500 dark:group-hover:border-white/50 transition-colors rounded-tl-[2px]" })
4193
4721
  }
4194
4722
  ),
4195
- /* @__PURE__ */ jsxs13(
4723
+ /* @__PURE__ */ jsxs15(
4196
4724
  "div",
4197
4725
  {
4198
4726
  className: "flex items-center justify-between px-5 py-4 border-b border-slate-200 dark:border-white/10",
4199
4727
  style: { background: `linear-gradient(135deg, ${ui.primaryColor}15, ${ui.accentColor}10)` },
4200
4728
  children: [
4201
- /* @__PURE__ */ jsxs13("div", { className: "flex items-center gap-3", children: [
4729
+ /* @__PURE__ */ jsxs15("div", { className: "flex items-center gap-3", children: [
4202
4730
  ui.logoUrl ? (
4203
4731
  // eslint-disable-next-line @next/next/no-img-element
4204
- /* @__PURE__ */ jsx14("img", { src: ui.logoUrl, alt: "logo", className: "w-8 h-8 rounded-lg object-cover" })
4205
- ) : /* @__PURE__ */ jsx14(
4732
+ /* @__PURE__ */ jsx16("img", { src: ui.logoUrl, alt: "logo", className: "w-8 h-8 rounded-lg object-cover" })
4733
+ ) : /* @__PURE__ */ jsx16(
4206
4734
  "div",
4207
4735
  {
4208
4736
  className: `w-9 h-9 flex items-center justify-center shadow-md ${ui.borderRadius === "full" ? "rounded-full" : "rounded-xl"}`,
4209
4737
  style: { background: `linear-gradient(135deg, ${ui.primaryColor}, ${ui.accentColor})` },
4210
- children: /* @__PURE__ */ jsx14(Bot2, { className: "w-5 h-5 text-white" })
4738
+ children: /* @__PURE__ */ jsx16(Bot2, { className: "w-5 h-5 text-white" })
4211
4739
  }
4212
4740
  ),
4213
- /* @__PURE__ */ jsxs13("div", { children: [
4214
- /* @__PURE__ */ jsx14("h2", { className: "text-slate-900 dark:text-white font-semibold text-sm leading-tight", children: ui.title }),
4215
- ui.poweredBy && /* @__PURE__ */ jsx14("p", { className: "text-slate-500 dark:text-white/40 text-[11px] leading-tight", children: `Powered by ${ui.poweredBy}` })
4741
+ /* @__PURE__ */ jsxs15("div", { children: [
4742
+ /* @__PURE__ */ jsx16("h2", { className: "text-slate-900 dark:text-white font-semibold text-sm leading-tight", children: ui.title }),
4743
+ ui.poweredBy && /* @__PURE__ */ jsx16("p", { className: "text-slate-500 dark:text-white/40 text-[11px] leading-tight", children: `Powered by ${ui.poweredBy}` })
4216
4744
  ] })
4217
4745
  ] }),
4218
- /* @__PURE__ */ jsxs13("div", { className: "flex items-center gap-1.5", children: [
4219
- /* @__PURE__ */ jsx14("div", { className: "flex items-center gap-1.5 mr-2", children: /* @__PURE__ */ jsxs13("span", { className: "flex items-center gap-1 text-[10px] text-emerald-500 dark:text-emerald-400", children: [
4220
- /* @__PURE__ */ jsx14("span", { className: "w-1.5 h-1.5 rounded-full bg-emerald-500 dark:bg-emerald-400 animate-pulse" }),
4746
+ /* @__PURE__ */ jsxs15("div", { className: "flex items-center gap-1.5", children: [
4747
+ /* @__PURE__ */ jsx16("div", { className: "flex items-center gap-1.5 mr-2", children: /* @__PURE__ */ jsxs15("span", { className: "flex items-center gap-1 text-[10px] text-emerald-500 dark:text-emerald-400", children: [
4748
+ /* @__PURE__ */ jsx16("span", { className: "w-1.5 h-1.5 rounded-full bg-emerald-500 dark:bg-emerald-400 animate-pulse" }),
4221
4749
  "Online"
4222
4750
  ] }) }),
4223
- /* @__PURE__ */ jsxs13("div", { className: "flex items-center bg-slate-100/50 dark:bg-white/5 rounded-lg p-0.5 border border-slate-200/50 dark:border-white/5", children: [
4224
- mounted && messages.length > 0 && /* @__PURE__ */ jsx14(
4751
+ /* @__PURE__ */ jsxs15("div", { className: "flex items-center bg-slate-100/50 dark:bg-white/5 rounded-lg p-0.5 border border-slate-200/50 dark:border-white/5", children: [
4752
+ mounted && messages.length > 0 && /* @__PURE__ */ jsx16(
4225
4753
  "button",
4226
4754
  {
4227
4755
  onClick: clearHistory,
4228
4756
  title: "Clear conversation",
4229
4757
  disabled: isDisabled,
4230
4758
  className: "w-7 h-7 rounded-md flex items-center justify-center text-slate-400 hover:text-rose-500 dark:text-white/40 dark:hover:text-rose-400 hover:bg-white dark:hover:bg-white/10 transition-all cursor-pointer disabled:opacity-40 disabled:cursor-not-allowed disabled:hover:text-slate-400 dark:disabled:hover:text-white/40",
4231
- children: /* @__PURE__ */ jsx14(Trash2, { className: "w-3.5 h-3.5" })
4759
+ children: /* @__PURE__ */ jsx16(Trash2, { className: "w-3.5 h-3.5" })
4232
4760
  }
4233
4761
  ),
4234
- isResized && onResetResize && /* @__PURE__ */ jsx14(
4762
+ isResized && onResetResize && /* @__PURE__ */ jsx16(
4235
4763
  "button",
4236
4764
  {
4237
4765
  onClick: onResetResize,
4238
4766
  title: "Reset to default size",
4239
4767
  className: "w-7 h-7 rounded-md flex items-center justify-center text-slate-400 hover:text-blue-500 dark:text-white/40 dark:hover:text-blue-400 hover:bg-white dark:hover:bg-white/10 transition-all cursor-pointer",
4240
- children: /* @__PURE__ */ jsx14(RotateCcw, { className: "w-3.5 h-3.5" })
4768
+ children: /* @__PURE__ */ jsx16(RotateCcw3, { className: "w-3.5 h-3.5" })
4241
4769
  }
4242
4770
  ),
4243
- onMaximize && /* @__PURE__ */ jsx14(
4771
+ onMaximize && /* @__PURE__ */ jsx16(
4244
4772
  "button",
4245
4773
  {
4246
4774
  onClick: onMaximize,
4247
4775
  title: isMaximized ? "Minimize" : "Maximize",
4248
4776
  className: "w-7 h-7 rounded-md flex items-center justify-center text-slate-400 hover:text-blue-500 dark:text-white/40 dark:hover:text-blue-400 hover:bg-white dark:hover:bg-white/10 transition-all cursor-pointer",
4249
- children: isMaximized ? /* @__PURE__ */ jsx14(Minimize2, { className: "w-3.5 h-3.5" }) : /* @__PURE__ */ jsx14(Maximize2, { className: "w-3.5 h-3.5" })
4777
+ children: isMaximized ? /* @__PURE__ */ jsx16(Minimize2, { className: "w-3.5 h-3.5" }) : /* @__PURE__ */ jsx16(Maximize2, { className: "w-3.5 h-3.5" })
4250
4778
  }
4251
4779
  ),
4252
- enableVoice !== false && /* @__PURE__ */ jsx14(
4780
+ enableVoice !== false && /* @__PURE__ */ jsx16(
4253
4781
  "button",
4254
4782
  {
4255
4783
  onClick: toggleAutoSpeak,
4256
4784
  disabled: !isSupportedTTS && mounted,
4257
4785
  title: !isSupportedTTS && mounted ? "Text-to-speech is not supported in this browser" : autoSpeak ? "Auto-read responses: ON (click to disable)" : "Auto-read responses: OFF (click to enable)",
4258
4786
  className: `w-7 h-7 rounded-md flex items-center justify-center transition-all cursor-pointer ${autoSpeak ? "text-indigo-500 bg-indigo-50 dark:bg-indigo-500/20 dark:text-indigo-400 font-semibold" : "text-slate-400 hover:text-slate-600 dark:text-white/40 dark:hover:text-white/70 hover:bg-white dark:hover:bg-white/10"} ${!isSupportedTTS && mounted ? "opacity-40 cursor-not-allowed" : ""}`,
4259
- children: autoSpeak ? /* @__PURE__ */ jsx14(Volume22, { className: "w-3.5 h-3.5" }) : /* @__PURE__ */ jsx14(VolumeX2, { className: "w-3.5 h-3.5 opacity-60" })
4787
+ children: autoSpeak ? /* @__PURE__ */ jsx16(Volume22, { className: "w-3.5 h-3.5" }) : /* @__PURE__ */ jsx16(VolumeX2, { className: "w-3.5 h-3.5 opacity-60" })
4260
4788
  }
4261
4789
  ),
4262
- showClose && onClose && /* @__PURE__ */ jsx14(
4790
+ showClose && onClose && /* @__PURE__ */ jsx16(
4263
4791
  "button",
4264
4792
  {
4265
4793
  onClick: onClose,
4266
4794
  title: "Close chat",
4267
4795
  className: "w-7 h-7 rounded-md flex items-center justify-center text-slate-400 hover:text-slate-600 dark:text-white/40 dark:hover:text-white/70 hover:bg-white dark:hover:bg-white/10 transition-all cursor-pointer",
4268
- children: /* @__PURE__ */ jsx14(X2, { className: "w-4 h-4" })
4796
+ children: /* @__PURE__ */ jsx16(X2, { className: "w-4 h-4" })
4269
4797
  }
4270
4798
  )
4271
4799
  ] })
@@ -4273,33 +4801,35 @@ function ChatWindow({
4273
4801
  ]
4274
4802
  }
4275
4803
  ),
4276
- /* @__PURE__ */ jsxs13(
4804
+ /* @__PURE__ */ jsxs15(
4277
4805
  "div",
4278
4806
  {
4279
4807
  ref: scrollContainerRef,
4280
4808
  onScroll: handleScroll,
4809
+ "aria-live": "polite",
4810
+ "aria-relevant": "additions text",
4281
4811
  className: "relative flex-1 overflow-y-auto px-4 py-4 space-y-5 scrollbar-thin scrollbar-thumb-slate-200 dark:scrollbar-thumb-white/10 scrollbar-track-transparent min-h-0 bg-slate-50 dark:bg-transparent",
4282
4812
  children: [
4283
- errorMsg ? /* @__PURE__ */ jsxs13("div", { className: "h-full flex flex-col items-center justify-center text-center p-6 space-y-4 bg-rose-50/50 dark:bg-rose-950/20 rounded-2xl border border-rose-200/60 dark:border-rose-800/40 my-auto", children: [
4284
- /* @__PURE__ */ jsx14("div", { className: "w-14 h-14 rounded-2xl bg-rose-100 dark:bg-rose-900/40 text-rose-600 dark:text-rose-400 flex items-center justify-center shadow-sm shrink-0", children: /* @__PURE__ */ jsx14(TriangleAlert, { className: "w-7 h-7" }) }),
4285
- /* @__PURE__ */ jsx14("div", { className: "mx-6 mt-4 p-4 rounded-xl border border-rose-200/50 bg-rose-50/50 dark:bg-rose-950/20 backdrop-blur-sm text-center", children: /* @__PURE__ */ jsx14("p", { className: "text-sm text-rose-600 dark:text-rose-400 font-medium", children: errorMsg }) })
4813
+ errorMsg ? /* @__PURE__ */ jsxs15("div", { className: "h-full flex flex-col items-center justify-center text-center p-6 space-y-4 bg-rose-50/50 dark:bg-rose-950/20 rounded-2xl border border-rose-200/60 dark:border-rose-800/40 my-auto", children: [
4814
+ /* @__PURE__ */ jsx16("div", { className: "w-14 h-14 rounded-2xl bg-rose-100 dark:bg-rose-900/40 text-rose-600 dark:text-rose-400 flex items-center justify-center shadow-sm shrink-0", children: /* @__PURE__ */ jsx16(TriangleAlert2, { className: "w-7 h-7" }) }),
4815
+ /* @__PURE__ */ jsx16("div", { className: "mx-6 mt-4 p-4 rounded-xl border border-rose-200/50 bg-rose-50/50 dark:bg-rose-950/20 backdrop-blur-sm text-center", children: /* @__PURE__ */ jsx16("p", { className: "text-sm text-rose-600 dark:text-rose-400 font-medium", children: errorMsg }) })
4286
4816
  ] }) : !mounted || isEmpty ? (
4287
4817
  /* Welcome state */
4288
- /* @__PURE__ */ jsxs13("div", { className: "h-full flex flex-col items-center justify-center text-center gap-4 px-6 py-4", children: [
4289
- /* @__PURE__ */ jsx14(
4818
+ /* @__PURE__ */ jsxs15("div", { className: "h-full flex flex-col items-center justify-center text-center gap-4 px-6 py-4", children: [
4819
+ /* @__PURE__ */ jsx16(
4290
4820
  "div",
4291
4821
  {
4292
4822
  className: `w-16 h-16 flex items-center justify-center shadow-lg ${ui.borderRadius === "full" ? "rounded-full" : "rounded-2xl"}`,
4293
4823
  style: { background: `linear-gradient(135deg, ${ui.primaryColor}, ${ui.accentColor})` },
4294
- children: /* @__PURE__ */ jsx14(Sparkles2, { className: "w-8 h-8 text-white" })
4824
+ children: /* @__PURE__ */ jsx16(Sparkles2, { className: "w-8 h-8 text-white" })
4295
4825
  }
4296
4826
  ),
4297
- /* @__PURE__ */ jsxs13("div", { children: [
4298
- /* @__PURE__ */ jsx14("p", { className: "text-slate-800 dark:text-white/80 font-medium leading-relaxed", children: ui.welcomeMessage }),
4299
- /* @__PURE__ */ jsx14("p", { className: "text-slate-500 dark:text-white/30 text-sm mt-2", children: "Ask a question to get started" })
4827
+ /* @__PURE__ */ jsxs15("div", { children: [
4828
+ /* @__PURE__ */ jsx16("p", { className: "text-slate-800 dark:text-white/80 font-medium leading-relaxed", children: ui.welcomeMessage }),
4829
+ /* @__PURE__ */ jsx16("p", { className: "text-slate-500 dark:text-white/30 text-sm mt-2", children: "Ask a question to get started" })
4300
4830
  ] }),
4301
- /* @__PURE__ */ jsx14("div", { className: "flex flex-wrap gap-2 justify-center mt-2", children: CHAT_SUGGESTIONS.map(
4302
- (suggestion) => /* @__PURE__ */ jsx14(
4831
+ /* @__PURE__ */ jsx16("div", { className: "flex flex-wrap gap-2 justify-center mt-2", children: CHAT_SUGGESTIONS.map(
4832
+ (suggestion) => /* @__PURE__ */ jsx16(
4303
4833
  "button",
4304
4834
  {
4305
4835
  onClick: () => {
@@ -4320,13 +4850,13 @@ function ChatWindow({
4320
4850
  const currentDayGroup = formatMessageDayLegend(msg.createdAt);
4321
4851
  const showDaySeparator = currentDayGroup !== lastDayGroup;
4322
4852
  lastDayGroup = currentDayGroup;
4323
- return /* @__PURE__ */ jsxs13(React13.Fragment, { children: [
4324
- showDaySeparator && /* @__PURE__ */ jsxs13("div", { className: "flex items-center my-6 select-none justify-center w-full", children: [
4325
- /* @__PURE__ */ jsx14("div", { className: "flex-grow border-t border-slate-200 dark:border-white/10" }),
4326
- /* @__PURE__ */ jsx14("span", { className: "mx-4 text-[9px] font-black text-slate-400 dark:text-zinc-500 uppercase tracking-widest bg-slate-100 dark:bg-zinc-900 border border-slate-200 dark:border-zinc-800 px-3 py-1 rounded-full shrink-0", children: currentDayGroup }),
4327
- /* @__PURE__ */ jsx14("div", { className: "flex-grow border-t border-slate-200 dark:border-white/10" })
4853
+ return /* @__PURE__ */ jsxs15(React16.Fragment, { children: [
4854
+ showDaySeparator && /* @__PURE__ */ jsxs15("div", { className: "flex items-center my-6 select-none justify-center w-full", children: [
4855
+ /* @__PURE__ */ jsx16("div", { className: "flex-grow border-t border-slate-200 dark:border-white/10" }),
4856
+ /* @__PURE__ */ jsx16("span", { className: "mx-4 text-[9px] font-black text-slate-400 dark:text-zinc-500 uppercase tracking-widest bg-slate-100 dark:bg-zinc-900 border border-slate-200 dark:border-zinc-800 px-3 py-1 rounded-full shrink-0", children: currentDayGroup }),
4857
+ /* @__PURE__ */ jsx16("div", { className: "flex-grow border-t border-slate-200 dark:border-white/10" })
4328
4858
  ] }),
4329
- /* @__PURE__ */ jsx14(
4859
+ /* @__PURE__ */ jsx16(
4330
4860
  MessageBubble,
4331
4861
  {
4332
4862
  message: msg,
@@ -4339,13 +4869,15 @@ function ChatWindow({
4339
4869
  showSources: ui.showSources,
4340
4870
  onFeedback: submitFeedback,
4341
4871
  isSpeaking: currentlySpeakingId === msg.id,
4342
- onToggleSpeak: enableVoice !== false && isSupportedTTS ? toggleSpeak : void 0
4872
+ onToggleSpeak: enableVoice !== false && isSupportedTTS ? toggleSpeak : void 0,
4873
+ onRegenerate: !isLoading && index === messages.length - 1 && msg.role === "assistant" ? regenerate : void 0,
4874
+ onEditMessage: !isLoading && msg.role === "user" ? editAndResend : void 0
4343
4875
  }
4344
4876
  )
4345
4877
  ] }, msg.id);
4346
4878
  });
4347
4879
  })(),
4348
- isLoading && ((_a = messages[messages.length - 1]) == null ? void 0 : _a.role) !== "assistant" && /* @__PURE__ */ jsx14(
4880
+ isLoading && ((_a = messages[messages.length - 1]) == null ? void 0 : _a.role) !== "assistant" && /* @__PURE__ */ jsx16(
4349
4881
  MessageBubble,
4350
4882
  {
4351
4883
  message: { id: "loading", role: "assistant", content: "", createdAt: (/* @__PURE__ */ new Date()).toISOString() },
@@ -4357,36 +4889,63 @@ function ChatWindow({
4357
4889
  showSources: ui.showSources
4358
4890
  }
4359
4891
  ),
4360
- error && !errorMsg && /* @__PURE__ */ jsxs13("div", { className: "flex items-center gap-2 text-rose-500 dark:text-rose-400 text-sm bg-rose-50 dark:bg-rose-400/10 border border-rose-200 dark:border-rose-400/20 rounded-xl px-4 py-3", children: [
4361
- /* @__PURE__ */ jsx14(TriangleAlert, { className: "w-4 h-4 flex-shrink-0" }),
4362
- /* @__PURE__ */ jsx14("span", { children: error })
4892
+ error && !errorMsg && /* @__PURE__ */ jsxs15("div", { role: "alert", className: "flex items-center justify-between gap-2 text-rose-600 dark:text-rose-400 text-xs bg-rose-50 dark:bg-rose-400/10 border border-rose-200 dark:border-rose-400/20 rounded-xl px-3.5 py-2.5", children: [
4893
+ /* @__PURE__ */ jsxs15("div", { className: "flex items-center gap-2 min-w-0", children: [
4894
+ /* @__PURE__ */ jsx16(TriangleAlert2, { className: "w-4 h-4 flex-shrink-0" }),
4895
+ /* @__PURE__ */ jsx16("span", { className: "truncate", children: error })
4896
+ ] }),
4897
+ /* @__PURE__ */ jsxs15("div", { className: "flex items-center gap-1.5 shrink-0", children: [
4898
+ /* @__PURE__ */ jsxs15(
4899
+ "button",
4900
+ {
4901
+ type: "button",
4902
+ onClick: () => retry(),
4903
+ disabled: isLoading,
4904
+ className: "inline-flex items-center gap-1 px-2 py-1 rounded-lg text-[11px] font-semibold bg-rose-100 dark:bg-rose-500/20 hover:bg-rose-200 dark:hover:bg-rose-500/30 transition-colors cursor-pointer disabled:opacity-50",
4905
+ children: [
4906
+ /* @__PURE__ */ jsx16(RotateCcw3, { className: "w-3 h-3" }),
4907
+ "Retry"
4908
+ ]
4909
+ }
4910
+ ),
4911
+ /* @__PURE__ */ jsx16(
4912
+ "button",
4913
+ {
4914
+ type: "button",
4915
+ onClick: clearError,
4916
+ "aria-label": "Dismiss error",
4917
+ className: "p-1 rounded-lg hover:bg-rose-100 dark:hover:bg-rose-500/20 transition-colors cursor-pointer",
4918
+ children: /* @__PURE__ */ jsx16(X2, { className: "w-3.5 h-3.5" })
4919
+ }
4920
+ )
4921
+ ] })
4363
4922
  ] }),
4364
- userScrolledUp && /* @__PURE__ */ jsxs13(
4923
+ userScrolledUp && /* @__PURE__ */ jsxs15(
4365
4924
  "button",
4366
4925
  {
4367
4926
  onClick: () => scrollToBottom(true),
4368
4927
  className: "sticky bottom-3 left-1/2 -translate-x-1/2 flex items-center gap-1.5 px-3 py-1.5 rounded-full text-xs font-semibold bg-white/95 dark:bg-slate-800/95 text-slate-700 dark:text-white border border-slate-200/80 dark:border-white/10 shadow-lg backdrop-blur-md hover:bg-white dark:hover:bg-slate-800 transition-all z-20 animate-in fade-in slide-in-from-bottom-2 cursor-pointer",
4369
4928
  title: "Scroll to bottom",
4370
4929
  children: [
4371
- /* @__PURE__ */ jsx14(ArrowDown, { className: "w-3.5 h-3.5 text-indigo-500" }),
4372
- /* @__PURE__ */ jsx14("span", { children: "Scroll to bottom" })
4930
+ /* @__PURE__ */ jsx16(ArrowDown2, { className: "w-3.5 h-3.5 text-indigo-500" }),
4931
+ /* @__PURE__ */ jsx16("span", { children: "Scroll to bottom" })
4373
4932
  ]
4374
4933
  }
4375
4934
  ),
4376
- /* @__PURE__ */ jsx14("div", { ref: bottomRef })
4935
+ /* @__PURE__ */ jsx16("div", { ref: bottomRef })
4377
4936
  ]
4378
4937
  }
4379
4938
  ),
4380
- isUploadModalOpen && /* @__PURE__ */ jsx14("div", { className: "absolute inset-0 z-50 flex items-center justify-center p-4 bg-slate-900/50 backdrop-blur-sm rounded-inherit", children: /* @__PURE__ */ jsxs13("div", { className: "relative w-full max-w-md bg-white dark:bg-[#0f0f1a] rounded-2xl shadow-2xl overflow-hidden animate-in zoom-in-95 duration-200", children: [
4381
- /* @__PURE__ */ jsx14(
4939
+ isUploadModalOpen && /* @__PURE__ */ jsx16("div", { className: "absolute inset-0 z-50 flex items-center justify-center p-4 bg-slate-900/50 backdrop-blur-sm rounded-inherit", children: /* @__PURE__ */ jsxs15("div", { className: "relative w-full max-w-md bg-white dark:bg-[#0f0f1a] rounded-2xl shadow-2xl overflow-hidden animate-in zoom-in-95 duration-200", children: [
4940
+ /* @__PURE__ */ jsx16(
4382
4941
  "button",
4383
4942
  {
4384
4943
  onClick: () => setIsUploadModalOpen(false),
4385
4944
  className: "absolute top-4 right-4 p-1.5 rounded-lg text-slate-400 hover:text-slate-600 hover:bg-slate-100 dark:hover:text-white/80 dark:hover:bg-white/10 transition-colors z-10",
4386
- children: /* @__PURE__ */ jsx14(X2, { className: "w-5 h-5" })
4945
+ children: /* @__PURE__ */ jsx16(X2, { className: "w-5 h-5" })
4387
4946
  }
4388
4947
  ),
4389
- /* @__PURE__ */ jsx14(
4948
+ /* @__PURE__ */ jsx16(
4390
4949
  DocumentUpload,
4391
4950
  {
4392
4951
  namespace: projectId,
@@ -4396,9 +4955,9 @@ function ChatWindow({
4396
4955
  }
4397
4956
  )
4398
4957
  ] }) }),
4399
- /* @__PURE__ */ jsxs13("div", { className: `px-4 pb-4 pt-2 border-t border-slate-200 dark:border-white/10 ${isGlass ? "bg-transparent" : "bg-white dark:bg-[#0f0f1a]"}`, children: [
4400
- (suggestions.length > 0 || isSuggesting) && !isLoading && /* @__PURE__ */ jsxs13("div", { className: "mb-3 flex flex-wrap gap-2 animate-in fade-in slide-in-from-bottom-2 duration-300", children: [
4401
- suggestions.map((suggestion) => /* @__PURE__ */ jsxs13(
4958
+ /* @__PURE__ */ jsxs15("div", { className: `px-4 pb-4 pt-2 border-t border-slate-200 dark:border-white/10 ${isGlass ? "bg-transparent" : "bg-white dark:bg-[#0f0f1a]"}`, children: [
4959
+ (suggestions.length > 0 || isSuggesting) && !isLoading && /* @__PURE__ */ jsxs15("div", { className: "mb-3 flex flex-wrap gap-2 animate-in fade-in slide-in-from-bottom-2 duration-300", children: [
4960
+ suggestions.map((suggestion) => /* @__PURE__ */ jsxs15(
4402
4961
  "button",
4403
4962
  {
4404
4963
  onClick: () => {
@@ -4411,35 +4970,35 @@ function ChatWindow({
4411
4970
  disabled: isDisabled,
4412
4971
  className: "flex items-center gap-1.5 px-3 py-1.5 rounded-xl text-[11px] font-medium bg-white dark:bg-white/5 border border-slate-200 dark:border-white/10 text-slate-600 dark:text-white/60 hover:text-slate-900 dark:hover:text-white/90 hover:border-slate-300 dark:hover:border-white/20 transition-all shadow-sm cursor-pointer group disabled:opacity-40 disabled:cursor-not-allowed disabled:hover:text-slate-600 dark:disabled:hover:text-white/60",
4413
4972
  children: [
4414
- /* @__PURE__ */ jsx14(Sparkles2, { className: "w-3 h-3 text-amber-400" }),
4973
+ /* @__PURE__ */ jsx16(Sparkles2, { className: "w-3 h-3 text-amber-400" }),
4415
4974
  suggestion
4416
4975
  ]
4417
4976
  },
4418
4977
  suggestion
4419
4978
  )),
4420
- isSuggesting && suggestions.length === 0 && /* @__PURE__ */ jsxs13("div", { className: "flex items-center gap-1.5 px-3 py-1.5 rounded-xl text-[11px] font-medium text-slate-400 dark:text-white/30 animate-pulse", children: [
4421
- /* @__PURE__ */ jsx14(Sparkles2, { className: "w-3 h-3" }),
4979
+ isSuggesting && suggestions.length === 0 && /* @__PURE__ */ jsxs15("div", { className: "flex items-center gap-1.5 px-3 py-1.5 rounded-xl text-[11px] font-medium text-slate-400 dark:text-white/30 animate-pulse", children: [
4980
+ /* @__PURE__ */ jsx16(Sparkles2, { className: "w-3 h-3" }),
4422
4981
  "Thinking..."
4423
4982
  ] })
4424
4983
  ] }),
4425
- voiceError && /* @__PURE__ */ jsxs13("div", { className: "mb-2.5 flex items-center justify-between gap-2 px-3 py-2 rounded-xl text-xs font-semibold bg-rose-50 dark:bg-rose-950/30 border border-rose-200 dark:border-rose-800/40 text-rose-700 dark:text-rose-400 animate-in fade-in duration-200", children: [
4426
- /* @__PURE__ */ jsxs13("div", { className: "flex items-center gap-1.5 min-w-0", children: [
4427
- /* @__PURE__ */ jsx14(TriangleAlert, { className: "w-3.5 h-3.5 shrink-0 text-rose-500" }),
4428
- /* @__PURE__ */ jsx14("span", { className: "truncate", children: voiceError })
4984
+ voiceError && /* @__PURE__ */ jsxs15("div", { className: "mb-2.5 flex items-center justify-between gap-2 px-3 py-2 rounded-xl text-xs font-semibold bg-rose-50 dark:bg-rose-950/30 border border-rose-200 dark:border-rose-800/40 text-rose-700 dark:text-rose-400 animate-in fade-in duration-200", children: [
4985
+ /* @__PURE__ */ jsxs15("div", { className: "flex items-center gap-1.5 min-w-0", children: [
4986
+ /* @__PURE__ */ jsx16(TriangleAlert2, { className: "w-3.5 h-3.5 shrink-0 text-rose-500" }),
4987
+ /* @__PURE__ */ jsx16("span", { className: "truncate", children: voiceError })
4429
4988
  ] }),
4430
- /* @__PURE__ */ jsx14(
4989
+ /* @__PURE__ */ jsx16(
4431
4990
  "button",
4432
4991
  {
4433
4992
  type: "button",
4434
4993
  onClick: () => setVoiceError(null),
4435
4994
  className: "p-0.5 rounded hover:bg-rose-100 dark:hover:bg-rose-900/40 text-rose-500 cursor-pointer shrink-0",
4436
4995
  "aria-label": "Dismiss",
4437
- children: /* @__PURE__ */ jsx14(X2, { className: "w-3 h-3" })
4996
+ children: /* @__PURE__ */ jsx16(X2, { className: "w-3 h-3" })
4438
4997
  }
4439
4998
  )
4440
4999
  ] }),
4441
- /* @__PURE__ */ jsxs13("div", { className: `flex items-end gap-2 bg-white border border-slate-200 p-2 focus-within:border-slate-300 transition-all ${ui.borderRadius === "full" ? "rounded-3xl" : "rounded-2xl"}`, children: [
4442
- /* @__PURE__ */ jsx14(
5000
+ /* @__PURE__ */ jsxs15("div", { className: `flex items-end gap-2 bg-white border border-slate-200 p-2 focus-within:border-slate-300 transition-all ${ui.borderRadius === "full" ? "rounded-3xl" : "rounded-2xl"}`, children: [
5001
+ /* @__PURE__ */ jsx16(
4443
5002
  "textarea",
4444
5003
  {
4445
5004
  ref: inputRef,
@@ -4459,7 +5018,7 @@ function ChatWindow({
4459
5018
  style: { scrollbarWidth: "none", color: "#000000" }
4460
5019
  }
4461
5020
  ),
4462
- enableVoice !== false && ui.enableVoiceInput !== false && /* @__PURE__ */ jsx14(
5021
+ enableVoice !== false && ui.enableVoiceInput !== false && /* @__PURE__ */ jsx16(
4463
5022
  "button",
4464
5023
  {
4465
5024
  type: "button",
@@ -4468,10 +5027,10 @@ function ChatWindow({
4468
5027
  className: `flex-shrink-0 w-9 h-9 rounded-xl flex items-center justify-center transition-all hover:scale-105 active:scale-95 disabled:opacity-40 disabled:cursor-not-allowed disabled:hover:scale-100 disabled:active:scale-100 cursor-pointer ${isListening ? "bg-rose-500 text-white animate-pulse shadow-md shadow-rose-500/20 ring-2 ring-rose-400/50" : "text-slate-600 hover:text-indigo-600 hover:bg-slate-100 dark:text-slate-300 dark:hover:text-white dark:hover:bg-white/10"}`,
4469
5028
  title: isListening ? "Stop listening (Voice input active)" : "Start voice input (Speech-to-Text)",
4470
5029
  "aria-label": isListening ? "Stop listening" : "Start voice input",
4471
- children: isListening ? /* @__PURE__ */ jsx14(MicOff, { className: "w-4 h-4 text-white" }) : /* @__PURE__ */ jsx14(Mic, { className: "w-4 h-4" })
5030
+ children: isListening ? /* @__PURE__ */ jsx16(MicOff, { className: "w-4 h-4 text-white" }) : /* @__PURE__ */ jsx16(Mic, { className: "w-4 h-4" })
4472
5031
  }
4473
5032
  ),
4474
- ui.allowUpload !== false && /* @__PURE__ */ jsx14(
5033
+ ui.allowUpload !== false && /* @__PURE__ */ jsx16(
4475
5034
  "button",
4476
5035
  {
4477
5036
  type: "button",
@@ -4481,18 +5040,18 @@ function ChatWindow({
4481
5040
  disabled: isLoading || isDisabled,
4482
5041
  className: "flex-shrink-0 w-9 h-9 rounded-xl flex items-center justify-center transition-all hover:scale-105 active:scale-95 text-slate-400 hover:bg-slate-200 disabled:opacity-50 disabled:cursor-not-allowed",
4483
5042
  title: "Upload Document",
4484
- children: /* @__PURE__ */ jsx14(Paperclip, { className: "w-4 h-4" })
5043
+ children: /* @__PURE__ */ jsx16(Paperclip, { className: "w-4 h-4" })
4485
5044
  }
4486
5045
  ),
4487
- isLoading ? /* @__PURE__ */ jsx14(
5046
+ isLoading ? /* @__PURE__ */ jsx16(
4488
5047
  "button",
4489
5048
  {
4490
5049
  onClick: stop,
4491
5050
  className: "flex-shrink-0 w-9 h-9 rounded-xl flex items-center justify-center transition-all hover:scale-105 active:scale-95 shadow-md bg-rose-500 hover:bg-rose-600 text-white cursor-pointer",
4492
5051
  title: "Stop generating",
4493
- children: /* @__PURE__ */ jsx14("div", { className: "w-3.5 h-3.5 bg-white rounded-[2px]" })
5052
+ children: /* @__PURE__ */ jsx16("div", { className: "w-3.5 h-3.5 bg-white rounded-[2px]" })
4494
5053
  }
4495
- ) : /* @__PURE__ */ jsx14(
5054
+ ) : /* @__PURE__ */ jsx16(
4496
5055
  "button",
4497
5056
  {
4498
5057
  onClick: sendMessage,
@@ -4500,11 +5059,11 @@ function ChatWindow({
4500
5059
  className: `flex-shrink-0 w-9 h-9 flex items-center justify-center transition-all shadow-md active:scale-95 cursor-pointer disabled:opacity-30 disabled:cursor-not-allowed disabled:active:scale-100 ${ui.borderRadius === "full" ? "rounded-full" : "rounded-xl"}`,
4501
5060
  style: { background: `linear-gradient(135deg, ${ui.primaryColor}, ${ui.accentColor})` },
4502
5061
  title: "Send message",
4503
- children: /* @__PURE__ */ jsx14(ArrowUp, { className: "w-4 h-4 text-white" })
5062
+ children: /* @__PURE__ */ jsx16(ArrowUp2, { className: "w-4 h-4 text-white" })
4504
5063
  }
4505
5064
  )
4506
5065
  ] }),
4507
- /* @__PURE__ */ jsx14("p", { className: "text-center text-[10px] text-slate-400 dark:text-white/20 mt-2", children: "Press Enter to send \xB7 Shift+Enter for new line" })
5066
+ /* @__PURE__ */ jsx16("p", { className: "text-center text-[10px] text-slate-400 dark:text-white/20 mt-2", children: "Press Enter to send \xB7 Shift+Enter for new line" })
4508
5067
  ] })
4509
5068
  ] })
4510
5069
  ]
@@ -4531,7 +5090,7 @@ function formatMessageDayLegend(dateStr) {
4531
5090
  }
4532
5091
 
4533
5092
  // src/components/ChatWidget.tsx
4534
- import { Fragment as Fragment8, jsx as jsx15, jsxs as jsxs14 } from "react/jsx-runtime";
5093
+ import { Fragment as Fragment8, jsx as jsx17, jsxs as jsxs16 } from "react/jsx-runtime";
4535
5094
  var DEFAULT_DIMENSIONS = { width: 380, height: 600 };
4536
5095
  var GEMINI_STYLES = `
4537
5096
  @keyframes shapeshift {
@@ -4586,12 +5145,12 @@ function ChatWidget({
4586
5145
  const effectiveHeaders = headers || contextHeaders;
4587
5146
  const effectiveLicenseKey = licenseKeyProp || contextLicenseKey;
4588
5147
  const effectiveApiBase = retrivoraApiBase || contextApiBase;
4589
- const [isOpen, setIsOpen] = useState10(false);
4590
- const [hasUnread, setHasUnread] = useState10(false);
4591
- const [dimensions, setDimensions] = useState10(DEFAULT_DIMENSIONS);
4592
- const [isResizing, setIsResizing] = useState10(false);
4593
- const [isMaximized, setIsMaximized] = useState10(false);
4594
- const [prevDimensions, setPrevDimensions] = useState10(DEFAULT_DIMENSIONS);
5148
+ const [isOpen, setIsOpen] = useState12(false);
5149
+ const [hasUnread, setHasUnread] = useState12(false);
5150
+ const [dimensions, setDimensions] = useState12(DEFAULT_DIMENSIONS);
5151
+ const [isResizing, setIsResizing] = useState12(false);
5152
+ const [isMaximized, setIsMaximized] = useState12(false);
5153
+ const [prevDimensions, setPrevDimensions] = useState12(DEFAULT_DIMENSIONS);
4595
5154
  const positionClass = effectivePosition === "bottom-left" ? "bottom-6 left-6" : effectivePosition === "top-left" ? "top-6 left-6" : effectivePosition === "top-right" ? "top-6 right-6" : "bottom-6 right-6";
4596
5155
  const windowPositionClass = effectivePosition === "bottom-left" ? "bottom-20 left-6" : effectivePosition === "top-left" ? "top-20 left-6" : effectivePosition === "top-right" ? "top-20 right-6" : "bottom-20 right-6";
4597
5156
  const handleOpen = useCallback4(() => {
@@ -4644,9 +5203,9 @@ function ChatWidget({
4644
5203
  const isWidgetLocked = !isLicenseValid || !isConfigLoaded;
4645
5204
  if (isWidgetLocked) return null;
4646
5205
  const lockReason = !isLicenseValid ? initError || "License expired or invalid." : !isConfigLoaded ? initError || "Project configuration unavailable." : null;
4647
- return /* @__PURE__ */ jsxs14(Fragment8, { children: [
4648
- /* @__PURE__ */ jsx15("style", { dangerouslySetInnerHTML: { __html: GEMINI_STYLES } }),
4649
- /* @__PURE__ */ jsxs14(
5206
+ return /* @__PURE__ */ jsxs16(Fragment8, { children: [
5207
+ /* @__PURE__ */ jsx17("style", { dangerouslySetInnerHTML: { __html: GEMINI_STYLES } }),
5208
+ /* @__PURE__ */ jsxs16(
4650
5209
  "div",
4651
5210
  {
4652
5211
  className: `fixed z-[9998] max-w-[calc(100vw-3rem)] ease-in-out ${windowPositionClass} ${isOpen ? "opacity-100 translate-y-0 pointer-events-auto" : "opacity-0 translate-y-4 pointer-events-none"} ${isResizing ? "" : "transition-all duration-300"}`,
@@ -4656,7 +5215,7 @@ function ChatWidget({
4656
5215
  maxHeight: "calc(100vh - 6rem)"
4657
5216
  },
4658
5217
  children: [
4659
- /* @__PURE__ */ jsx15(
5218
+ /* @__PURE__ */ jsx17(
4660
5219
  ChatWindow,
4661
5220
  {
4662
5221
  className: "h-full relative z-10",
@@ -4678,7 +5237,7 @@ function ChatWidget({
4678
5237
  voiceLang
4679
5238
  }
4680
5239
  ),
4681
- /* @__PURE__ */ jsx15(
5240
+ /* @__PURE__ */ jsx17(
4682
5241
  "div",
4683
5242
  {
4684
5243
  className: `absolute -bottom-1.5 w-4 h-4 rotate-45 border-r border-b border-slate-200 dark:border-white/10 z-0 ${ui.visualStyle === "solid" ? "bg-white dark:bg-[#0f0f1a]" : "bg-white/90 dark:bg-[#0f0f1a]/90 backdrop-blur-xl"} ${effectivePosition === "bottom-left" || effectivePosition === "top-left" ? "left-5" : "right-5"}`
@@ -4687,7 +5246,7 @@ function ChatWidget({
4687
5246
  ]
4688
5247
  }
4689
5248
  ),
4690
- /* @__PURE__ */ jsxs14(
5249
+ /* @__PURE__ */ jsxs16(
4691
5250
  "button",
4692
5251
  {
4693
5252
  onClick: isWidgetLocked ? void 0 : isOpen ? () => setIsOpen(false) : handleOpen,
@@ -4696,14 +5255,14 @@ function ChatWidget({
4696
5255
  "aria-disabled": isWidgetLocked,
4697
5256
  className: `group fixed z-[9999] w-14 h-14 drop-shadow-2xl flex items-center justify-center transition-all duration-300 ${positionClass} ${isWidgetLocked ? "grayscale opacity-60 cursor-not-allowed" : "cursor-pointer hover:scale-110 active:scale-95"}`,
4698
5257
  children: [
4699
- /* @__PURE__ */ jsx15(
5258
+ /* @__PURE__ */ jsx17(
4700
5259
  "div",
4701
5260
  {
4702
5261
  className: `absolute inset-0 transition-all duration-300 overflow-hidden rounded-full ${!isWidgetLocked && "group-hover:rounded-none group-hover:animate-[shapeshift_5s_ease-in-out_infinite_forwards]"}`,
4703
5262
  style: {
4704
5263
  background: isWidgetLocked ? "linear-gradient(135deg, #64748b, #475569)" : void 0
4705
5264
  },
4706
- children: !isWidgetLocked && /* @__PURE__ */ jsx15(
5265
+ children: !isWidgetLocked && /* @__PURE__ */ jsx17(
4707
5266
  "div",
4708
5267
  {
4709
5268
  className: "absolute top-0 left-0 w-[400%] h-[400%] transition-transform duration-300 group-hover:animate-[gradientMove_3.5s_ease-in-out_infinite_alternate]",
@@ -4714,21 +5273,21 @@ function ChatWidget({
4714
5273
  )
4715
5274
  }
4716
5275
  ),
4717
- !isWidgetLocked && !isOpen && /* @__PURE__ */ jsx15(
5276
+ !isWidgetLocked && !isOpen && /* @__PURE__ */ jsx17(
4718
5277
  "span",
4719
5278
  {
4720
5279
  className: "absolute inset-0 rounded-full animate-ping opacity-20 pointer-events-none",
4721
5280
  style: { background: ui.primaryColor }
4722
5281
  }
4723
5282
  ),
4724
- /* @__PURE__ */ jsx15(
5283
+ /* @__PURE__ */ jsx17(
4725
5284
  "span",
4726
5285
  {
4727
5286
  className: `relative z-10 transition-transform duration-300 ${isOpen ? "rotate-90 scale-90" : isWidgetLocked ? "scale-90" : "rotate-0 scale-100"}`,
4728
- children: isOpen ? /* @__PURE__ */ jsx15(X3, { className: "w-6 h-6 text-white" }) : isWidgetLocked ? /* @__PURE__ */ jsx15(Lock, { className: "w-6 h-6 text-white" }) : /* @__PURE__ */ jsx15(MessageSquare2, { className: "w-6 h-6 text-white" })
5287
+ children: isOpen ? /* @__PURE__ */ jsx17(X3, { className: "w-6 h-6 text-white" }) : isWidgetLocked ? /* @__PURE__ */ jsx17(Lock, { className: "w-6 h-6 text-white" }) : /* @__PURE__ */ jsx17(MessageSquare2, { className: "w-6 h-6 text-white" })
4729
5288
  }
4730
5289
  ),
4731
- hasUnread && !isOpen && !isWidgetLocked && /* @__PURE__ */ jsx15("span", { className: "absolute top-0 right-0 w-4 h-4 bg-rose-500 rounded-full border-2 border-white flex items-center justify-center text-[9px] font-bold text-white", children: "1" })
5290
+ hasUnread && !isOpen && !isWidgetLocked && /* @__PURE__ */ jsx17("span", { className: "absolute top-0 right-0 w-4 h-4 bg-rose-500 rounded-full border-2 border-white flex items-center justify-center text-[9px] font-bold text-white", children: "1" })
4732
5291
  ]
4733
5292
  }
4734
5293
  )
@@ -4736,48 +5295,48 @@ function ChatWidget({
4736
5295
  }
4737
5296
 
4738
5297
  // src/components/CodeViewer.tsx
4739
- import React15 from "react";
5298
+ import React18 from "react";
4740
5299
  import { Check as Check2, Copy as Copy2 } from "lucide-react";
4741
- import { Fragment as Fragment9, jsx as jsx16, jsxs as jsxs15 } from "react/jsx-runtime";
5300
+ import { Fragment as Fragment9, jsx as jsx18, jsxs as jsxs17 } from "react/jsx-runtime";
4742
5301
  function CodeViewer({ snippet }) {
4743
- const [copied, setCopied] = React15.useState(false);
5302
+ const [copied, setCopied] = React18.useState(false);
4744
5303
  const handleCopy = () => {
4745
5304
  navigator.clipboard.writeText(snippet.code);
4746
5305
  setCopied(true);
4747
5306
  setTimeout(() => setCopied(false), 2e3);
4748
5307
  };
4749
- return /* @__PURE__ */ jsxs15("div", { className: "flex flex-col rounded-2xl border border-white/8 overflow-hidden min-h-[300px] shadow-xl", children: [
4750
- /* @__PURE__ */ jsxs15("div", { className: "flex items-center justify-between px-5 py-3 border-b border-white/5 bg-[#0d0d1a]", children: [
4751
- /* @__PURE__ */ jsxs15("div", { className: "flex items-center gap-4", children: [
4752
- /* @__PURE__ */ jsxs15("div", { className: "flex gap-1.5", children: [
4753
- /* @__PURE__ */ jsx16("div", { className: "w-2.5 h-2.5 rounded-full bg-rose-500/80" }),
4754
- /* @__PURE__ */ jsx16("div", { className: "w-2.5 h-2.5 rounded-full bg-amber-500/80" }),
4755
- /* @__PURE__ */ jsx16("div", { className: "w-2.5 h-2.5 rounded-full bg-emerald-500/80" })
5308
+ return /* @__PURE__ */ jsxs17("div", { className: "flex flex-col rounded-2xl border border-white/8 overflow-hidden min-h-[300px] shadow-xl", children: [
5309
+ /* @__PURE__ */ jsxs17("div", { className: "flex items-center justify-between px-5 py-3 border-b border-white/5 bg-[#0d0d1a]", children: [
5310
+ /* @__PURE__ */ jsxs17("div", { className: "flex items-center gap-4", children: [
5311
+ /* @__PURE__ */ jsxs17("div", { className: "flex gap-1.5", children: [
5312
+ /* @__PURE__ */ jsx18("div", { className: "w-2.5 h-2.5 rounded-full bg-rose-500/80" }),
5313
+ /* @__PURE__ */ jsx18("div", { className: "w-2.5 h-2.5 rounded-full bg-amber-500/80" }),
5314
+ /* @__PURE__ */ jsx18("div", { className: "w-2.5 h-2.5 rounded-full bg-emerald-500/80" })
4756
5315
  ] }),
4757
- /* @__PURE__ */ jsx16("span", { className: "text-[10px] font-mono text-white/25 uppercase tracking-widest", children: snippet.language })
5316
+ /* @__PURE__ */ jsx18("span", { className: "text-[10px] font-mono text-white/25 uppercase tracking-widest", children: snippet.language })
4758
5317
  ] }),
4759
- /* @__PURE__ */ jsx16(
5318
+ /* @__PURE__ */ jsx18(
4760
5319
  "button",
4761
5320
  {
4762
5321
  onClick: handleCopy,
4763
5322
  className: "flex items-center gap-1.5 px-2.5 py-1 rounded-lg text-[10px] font-bold text-white/35 hover:text-white/80 hover:bg-white/5 transition-all active:scale-95",
4764
- children: copied ? /* @__PURE__ */ jsxs15(Fragment9, { children: [
4765
- /* @__PURE__ */ jsx16(Check2, { size: 12, className: "text-emerald-400" }),
4766
- /* @__PURE__ */ jsx16("span", { className: "text-emerald-400", children: "Copied!" })
4767
- ] }) : /* @__PURE__ */ jsxs15(Fragment9, { children: [
4768
- /* @__PURE__ */ jsx16(Copy2, { size: 12 }),
5323
+ children: copied ? /* @__PURE__ */ jsxs17(Fragment9, { children: [
5324
+ /* @__PURE__ */ jsx18(Check2, { size: 12, className: "text-emerald-400" }),
5325
+ /* @__PURE__ */ jsx18("span", { className: "text-emerald-400", children: "Copied!" })
5326
+ ] }) : /* @__PURE__ */ jsxs17(Fragment9, { children: [
5327
+ /* @__PURE__ */ jsx18(Copy2, { size: 12 }),
4769
5328
  "Copy Code"
4770
5329
  ] })
4771
5330
  }
4772
5331
  )
4773
5332
  ] }),
4774
- /* @__PURE__ */ jsx16("div", { className: "p-6 font-mono text-[12px] leading-relaxed overflow-auto flex-grow bg-[#080818]", children: /* @__PURE__ */ jsx16("pre", { className: "whitespace-pre text-indigo-200/85", children: /* @__PURE__ */ jsx16("code", { children: snippet.code }) }) })
5333
+ /* @__PURE__ */ jsx18("div", { className: "p-6 font-mono text-[12px] leading-relaxed overflow-auto flex-grow bg-[#080818]", children: /* @__PURE__ */ jsx18("pre", { className: "whitespace-pre text-indigo-200/85", children: /* @__PURE__ */ jsx18("code", { children: snippet.code }) }) })
4775
5334
  ] });
4776
5335
  }
4777
5336
 
4778
5337
  // src/components/VoiceButton.tsx
4779
5338
  import { Mic as Mic2, MicOff as MicOff2, Volume2 as Volume23, VolumeX as VolumeX3 } from "lucide-react";
4780
- import { jsx as jsx17 } from "react/jsx-runtime";
5339
+ import { jsx as jsx19 } from "react/jsx-runtime";
4781
5340
  var SIZE_MAP = {
4782
5341
  sm: "w-7 h-7",
4783
5342
  md: "w-9 h-9",
@@ -4804,7 +5363,7 @@ function VoiceButton({
4804
5363
  if (mode === "mic") {
4805
5364
  const active2 = isListening;
4806
5365
  const label2 = title != null ? title : active2 ? "Stop voice input" : "Start voice input (Speech-to-Text)";
4807
- return /* @__PURE__ */ jsx17(
5366
+ return /* @__PURE__ */ jsx19(
4808
5367
  "button",
4809
5368
  {
4810
5369
  type: "button",
@@ -4825,13 +5384,13 @@ function VoiceButton({
4825
5384
  backgroundColor: "#ef4444",
4826
5385
  boxShadow: "0 4px 12px rgba(239,68,68,0.25)"
4827
5386
  } : {},
4828
- children: active2 ? /* @__PURE__ */ jsx17(MicOff2, { className: ICON_SIZE_MAP[size] }) : /* @__PURE__ */ jsx17(Mic2, { className: ICON_SIZE_MAP[size] })
5387
+ children: active2 ? /* @__PURE__ */ jsx19(MicOff2, { className: ICON_SIZE_MAP[size] }) : /* @__PURE__ */ jsx19(Mic2, { className: ICON_SIZE_MAP[size] })
4829
5388
  }
4830
5389
  );
4831
5390
  }
4832
5391
  const active = isSpeaking;
4833
5392
  const label = title != null ? title : active ? "Stop speaking" : "Read response aloud (Text-to-Speech)";
4834
- return /* @__PURE__ */ jsx17(
5393
+ return /* @__PURE__ */ jsx19(
4835
5394
  "button",
4836
5395
  {
4837
5396
  type: "button",
@@ -4853,7 +5412,7 @@ function VoiceButton({
4853
5412
  backgroundColor: `${primaryColor}18`,
4854
5413
  boxShadow: `0 4px 12px ${primaryColor}20`
4855
5414
  } : {},
4856
- children: active ? /* @__PURE__ */ jsx17(VolumeX3, { className: ICON_SIZE_MAP[size] }) : /* @__PURE__ */ jsx17(Volume23, { className: ICON_SIZE_MAP[size] })
5415
+ children: active ? /* @__PURE__ */ jsx19(VolumeX3, { className: ICON_SIZE_MAP[size] }) : /* @__PURE__ */ jsx19(Volume23, { className: ICON_SIZE_MAP[size] })
4857
5416
  }
4858
5417
  );
4859
5418
  }
@@ -4861,14 +5420,14 @@ function VoiceButton({
4861
5420
  // src/components/VoiceBar.tsx
4862
5421
  import { useEffect as useEffect9, useRef as useRef8 } from "react";
4863
5422
  import { Mic as Mic3, MicOff as MicOff3, Volume2 as Volume24, VolumeX as VolumeX4, Radio } from "lucide-react";
4864
- import { Fragment as Fragment10, jsx as jsx18, jsxs as jsxs16 } from "react/jsx-runtime";
5423
+ import { Fragment as Fragment10, jsx as jsx20, jsxs as jsxs18 } from "react/jsx-runtime";
4865
5424
  function SoundWave({ color }) {
4866
- return /* @__PURE__ */ jsx18(
5425
+ return /* @__PURE__ */ jsx20(
4867
5426
  "span",
4868
5427
  {
4869
5428
  className: "flex items-end gap-[2px] h-4 overflow-hidden",
4870
5429
  "aria-hidden": "true",
4871
- children: [0, 150, 75, 225].map((delay, i) => /* @__PURE__ */ jsx18(
5430
+ children: [0, 150, 75, 225].map((delay, i) => /* @__PURE__ */ jsx20(
4872
5431
  "span",
4873
5432
  {
4874
5433
  className: "w-[3px] rounded-full animate-bounce",
@@ -4923,7 +5482,7 @@ function VoiceBar({
4923
5482
  }
4924
5483
  }, [autoSpeakText, autoSpeak, speak]);
4925
5484
  if (!isSupportedSTT && !isSupportedTTS) return null;
4926
- return /* @__PURE__ */ jsxs16(
5485
+ return /* @__PURE__ */ jsxs18(
4927
5486
  "div",
4928
5487
  {
4929
5488
  className: [
@@ -4936,7 +5495,7 @@ function VoiceBar({
4936
5495
  role: "toolbar",
4937
5496
  "aria-label": "Voice controls",
4938
5497
  children: [
4939
- isSupportedSTT && /* @__PURE__ */ jsx18(
5498
+ isSupportedSTT && /* @__PURE__ */ jsx20(
4940
5499
  "button",
4941
5500
  {
4942
5501
  type: "button",
@@ -4952,10 +5511,10 @@ function VoiceBar({
4952
5511
  isListening ? "text-white shadow-md ring-2 ring-red-400/40 animate-pulse" : "text-slate-400 hover:bg-slate-100 dark:text-white/40 dark:hover:bg-white/10"
4953
5512
  ].join(" "),
4954
5513
  style: isListening ? { backgroundColor: "#ef4444", boxShadow: "0 4px 12px rgba(239,68,68,0.3)" } : {},
4955
- children: isListening ? /* @__PURE__ */ jsx18(MicOff3, { className: "w-4 h-4" }) : /* @__PURE__ */ jsx18(Mic3, { className: "w-4 h-4" })
5514
+ children: isListening ? /* @__PURE__ */ jsx20(MicOff3, { className: "w-4 h-4" }) : /* @__PURE__ */ jsx20(Mic3, { className: "w-4 h-4" })
4956
5515
  }
4957
5516
  ),
4958
- isListening && /* @__PURE__ */ jsx18(
5517
+ isListening && /* @__PURE__ */ jsx20(
4959
5518
  "span",
4960
5519
  {
4961
5520
  className: "text-[11px] font-semibold text-red-500 dark:text-red-400 animate-pulse select-none",
@@ -4963,10 +5522,10 @@ function VoiceBar({
4963
5522
  children: "Listening\u2026"
4964
5523
  }
4965
5524
  ),
4966
- showSpeakingIndicator && isSpeaking && /* @__PURE__ */ jsxs16(Fragment10, { children: [
4967
- /* @__PURE__ */ jsx18(SoundWave, { color: primaryColor }),
4968
- /* @__PURE__ */ jsx18("span", { className: "text-[11px] font-semibold select-none", style: { color: primaryColor }, children: "Speaking" }),
4969
- /* @__PURE__ */ jsx18(
5525
+ showSpeakingIndicator && isSpeaking && /* @__PURE__ */ jsxs18(Fragment10, { children: [
5526
+ /* @__PURE__ */ jsx20(SoundWave, { color: primaryColor }),
5527
+ /* @__PURE__ */ jsx20("span", { className: "text-[11px] font-semibold select-none", style: { color: primaryColor }, children: "Speaking" }),
5528
+ /* @__PURE__ */ jsx20(
4970
5529
  "button",
4971
5530
  {
4972
5531
  type: "button",
@@ -4974,12 +5533,12 @@ function VoiceBar({
4974
5533
  title: "Stop speaking",
4975
5534
  "aria-label": "Stop speaking",
4976
5535
  className: "w-6 h-6 flex items-center justify-center rounded-lg text-slate-400 hover:text-slate-600 dark:text-white/40 dark:hover:text-white/70 hover:bg-slate-100 dark:hover:bg-white/10 transition-all cursor-pointer",
4977
- children: /* @__PURE__ */ jsx18(VolumeX4, { className: "w-3.5 h-3.5" })
5536
+ children: /* @__PURE__ */ jsx20(VolumeX4, { className: "w-3.5 h-3.5" })
4978
5537
  }
4979
5538
  )
4980
5539
  ] }),
4981
- /* @__PURE__ */ jsx18("div", { className: "flex-1" }),
4982
- showAutoSpeakToggle && isSupportedTTS && /* @__PURE__ */ jsxs16(
5540
+ /* @__PURE__ */ jsx20("div", { className: "flex-1" }),
5541
+ showAutoSpeakToggle && isSupportedTTS && /* @__PURE__ */ jsxs18(
4983
5542
  "button",
4984
5543
  {
4985
5544
  type: "button",
@@ -4999,8 +5558,8 @@ function VoiceBar({
4999
5558
  borderColor: `${primaryColor}30`
5000
5559
  } : {},
5001
5560
  children: [
5002
- autoSpeak ? /* @__PURE__ */ jsx18(Volume24, { className: "w-3.5 h-3.5" }) : /* @__PURE__ */ jsx18(Radio, { className: "w-3.5 h-3.5 opacity-60" }),
5003
- /* @__PURE__ */ jsx18("span", { className: "hidden sm:inline", children: autoSpeak ? "Auto-read on" : "Auto-read off" })
5561
+ autoSpeak ? /* @__PURE__ */ jsx20(Volume24, { className: "w-3.5 h-3.5" }) : /* @__PURE__ */ jsx20(Radio, { className: "w-3.5 h-3.5 opacity-60" }),
5562
+ /* @__PURE__ */ jsx20("span", { className: "hidden sm:inline", children: autoSpeak ? "Auto-read on" : "Auto-read off" })
5004
5563
  ]
5005
5564
  }
5006
5565
  )
@@ -5010,16 +5569,16 @@ function VoiceBar({
5010
5569
  }
5011
5570
 
5012
5571
  // src/hooks/useProjectSettings.ts
5013
- import { useEffect as useEffect10, useMemo as useMemo3, useState as useState11 } from "react";
5572
+ import { useEffect as useEffect10, useMemo as useMemo4, useState as useState13 } from "react";
5014
5573
  function useProjectSettings(projectId, options = {}) {
5015
- const initialSettings = useMemo3(
5574
+ const initialSettings = useMemo4(
5016
5575
  () => normalizeProjectSettings(projectId, options.initialSettings || createDefaultProjectSettings(projectId)),
5017
5576
  [options.initialSettings, projectId]
5018
5577
  );
5019
- const [settings, setSettings] = useState11(initialSettings);
5020
- const [remoteConfig, setRemoteConfig] = useState11(null);
5021
- const [isLoading, setIsLoading] = useState11(false);
5022
- const [error, setError] = useState11(null);
5578
+ const [settings, setSettings] = useState13(initialSettings);
5579
+ const [remoteConfig, setRemoteConfig] = useState13(null);
5580
+ const [isLoading, setIsLoading] = useState13(false);
5581
+ const [error, setError] = useState13(null);
5023
5582
  async function reload() {
5024
5583
  if (options.enabled === false || !options.licenseKey) {
5025
5584
  setSettings(initialSettings);