@retrivora-ai/rag-engine 2.6.5 → 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.js CHANGED
@@ -125,15 +125,15 @@ function styleInject(css, { insertAt } = {}) {
125
125
  }
126
126
 
127
127
  // src/index.css
128
- 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');
128
+ 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');
129
129
 
130
130
  // src/components/ChatWidget.tsx
131
- var import_react15 = require("react");
132
- var import_lucide_react9 = require("lucide-react");
131
+ var import_react18 = require("react");
132
+ var import_lucide_react12 = require("lucide-react");
133
133
 
134
134
  // src/components/ChatWindow.tsx
135
- var import_react14 = __toESM(require("react"));
136
- var import_lucide_react8 = require("lucide-react");
135
+ var import_react17 = __toESM(require("react"));
136
+ var import_lucide_react11 = require("lucide-react");
137
137
 
138
138
  // src/components/DocumentUpload.tsx
139
139
  var import_react2 = require("react");
@@ -360,7 +360,7 @@ function projectSettingsToUiConfig(settings) {
360
360
  // package.json
361
361
  var package_default = {
362
362
  name: "@retrivora-ai/rag-engine",
363
- version: "2.6.5",
363
+ version: "2.6.6",
364
364
  description: "Retrivora AI is a plug-and-play AI engine for RAG chat experiences \u2014 generic vector DB + LLM provider, embeddable or standalone.",
365
365
  author: "Abhinav Alkuchi",
366
366
  license: "UNLICENSED",
@@ -1687,8 +1687,8 @@ function DocumentUpload({ namespace, uploadUrl, retrivoraApiBase, onUploadComple
1687
1687
  }
1688
1688
 
1689
1689
  // src/components/MessageBubble.tsx
1690
- var import_react11 = __toESM(require("react"));
1691
- var import_lucide_react7 = require("lucide-react");
1690
+ var import_react14 = __toESM(require("react"));
1691
+ var import_lucide_react10 = require("lucide-react");
1692
1692
  var import_react_markdown = __toESM(require("react-markdown"));
1693
1693
  var import_remark_math = __toESM(require("remark-math"));
1694
1694
  var import_rehype_katex = __toESM(require("rehype-katex"));
@@ -1884,6 +1884,8 @@ function ProductCarousel({ products, primaryColor = "#6366f1", onAddToCart }) {
1884
1884
  }
1885
1885
 
1886
1886
  // src/components/VisualizationRenderer.tsx
1887
+ var import_react8 = require("react");
1888
+ var import_lucide_react7 = require("lucide-react");
1887
1889
  var import_recharts2 = require("recharts");
1888
1890
 
1889
1891
  // src/components/DynamicChart.tsx
@@ -2077,8 +2079,313 @@ function DynamicChart({
2077
2079
  ] }) }) }) });
2078
2080
  }
2079
2081
 
2080
- // src/components/VisualizationRenderer.tsx
2082
+ // src/components/DataTable.tsx
2083
+ var import_react6 = require("react");
2084
+ var import_lucide_react5 = require("lucide-react");
2085
+
2086
+ // src/utils/urlSafety.ts
2087
+ var SAFE_URL_PROTOCOLS = /* @__PURE__ */ new Set(["http:", "https:", "mailto:"]);
2088
+ function isSafeUrl(rawUrl) {
2089
+ if (!rawUrl || typeof rawUrl !== "string") return false;
2090
+ const trimmed = rawUrl.trim();
2091
+ if (!trimmed) return false;
2092
+ if (trimmed.startsWith("/") || trimmed.startsWith("#")) {
2093
+ return !trimmed.startsWith("//");
2094
+ }
2095
+ try {
2096
+ const parsed = new URL(trimmed);
2097
+ return SAFE_URL_PROTOCOLS.has(parsed.protocol.toLowerCase());
2098
+ } catch (e) {
2099
+ return false;
2100
+ }
2101
+ }
2102
+ function escapeCsvCell(value) {
2103
+ const raw = value === null || value === void 0 ? "" : String(value);
2104
+ const formulaSafe = /^[=+\-@\t\r]/.test(raw) ? `'${raw}` : raw;
2105
+ if (/[",\n\r]/.test(formulaSafe)) {
2106
+ return `"${formulaSafe.replace(/"/g, '""')}"`;
2107
+ }
2108
+ return formulaSafe;
2109
+ }
2110
+ function downloadCsv(filename, columns, rows) {
2111
+ if (typeof window === "undefined" || typeof document === "undefined") return;
2112
+ const headerLine = columns.map(escapeCsvCell).join(",");
2113
+ const dataLines = rows.map((row) => row.map(escapeCsvCell).join(","));
2114
+ const csvContent = [headerLine, ...dataLines].join("\r\n");
2115
+ const blob = new Blob([csvContent], { type: "text/csv;charset=utf-8;" });
2116
+ const url = URL.createObjectURL(blob);
2117
+ const link = document.createElement("a");
2118
+ link.href = url;
2119
+ link.download = filename.endsWith(".csv") ? filename : `${filename}.csv`;
2120
+ document.body.appendChild(link);
2121
+ link.click();
2122
+ document.body.removeChild(link);
2123
+ URL.revokeObjectURL(url);
2124
+ }
2125
+
2126
+ // src/components/DataTable.tsx
2081
2127
  var import_jsx_runtime7 = require("react/jsx-runtime");
2128
+ function compareCells(a, b, direction) {
2129
+ const factor = direction === "asc" ? 1 : -1;
2130
+ if (a === b) return 0;
2131
+ if (a === null || a === void 0 || a === "") return 1;
2132
+ if (b === null || b === void 0 || b === "") return -1;
2133
+ const numA = typeof a === "number" ? a : Number(String(a).replace(/[$,%]/g, "").trim());
2134
+ const numB = typeof b === "number" ? b : Number(String(b).replace(/[$,%]/g, "").trim());
2135
+ if (!Number.isNaN(numA) && !Number.isNaN(numB) && String(a).trim() !== "" && String(b).trim() !== "") {
2136
+ return (numA - numB) * factor;
2137
+ }
2138
+ return String(a).localeCompare(String(b), void 0, { numeric: true, sensitivity: "base" }) * factor;
2139
+ }
2140
+ function DataTable({
2141
+ columns,
2142
+ rows,
2143
+ title = "data-export",
2144
+ pageSize = 10
2145
+ }) {
2146
+ const [sortCol, setSortCol] = (0, import_react6.useState)(null);
2147
+ const [sortDir, setSortDir] = (0, import_react6.useState)(null);
2148
+ const [searchQuery, setSearchQuery] = (0, import_react6.useState)("");
2149
+ const [page, setPage] = (0, import_react6.useState)(0);
2150
+ const handleSort = (colIdx) => {
2151
+ setPage(0);
2152
+ if (sortCol !== colIdx) {
2153
+ setSortCol(colIdx);
2154
+ setSortDir("asc");
2155
+ } else if (sortDir === "asc") {
2156
+ setSortDir("desc");
2157
+ } else {
2158
+ setSortCol(null);
2159
+ setSortDir(null);
2160
+ }
2161
+ };
2162
+ const filteredRows = (0, import_react6.useMemo)(() => {
2163
+ const q = searchQuery.trim().toLowerCase();
2164
+ if (!q) return rows;
2165
+ return rows.filter(
2166
+ (row) => row.some((cell) => String(cell != null ? cell : "").toLowerCase().includes(q))
2167
+ );
2168
+ }, [rows, searchQuery]);
2169
+ const sortedRows = (0, import_react6.useMemo)(() => {
2170
+ if (sortCol === null || sortDir === null) return filteredRows;
2171
+ return [...filteredRows].sort((a, b) => compareCells(a[sortCol], b[sortCol], sortDir));
2172
+ }, [filteredRows, sortCol, sortDir]);
2173
+ const totalPages = Math.max(1, Math.ceil(sortedRows.length / pageSize));
2174
+ const safePage = Math.min(page, totalPages - 1);
2175
+ const visibleRows = sortedRows.slice(safePage * pageSize, (safePage + 1) * pageSize);
2176
+ const showSearch = rows.length > 5;
2177
+ const showPagination = sortedRows.length > pageSize;
2178
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "bg-white dark:bg-slate-900 rounded-xl border border-slate-200 dark:border-white/10 shadow-sm overflow-hidden", children: [
2179
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("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: [
2180
+ showSearch ? /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "relative flex-1 min-w-[140px] max-w-xs", children: [
2181
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_lucide_react5.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" }),
2182
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
2183
+ "input",
2184
+ {
2185
+ type: "text",
2186
+ value: searchQuery,
2187
+ onChange: (e) => {
2188
+ setSearchQuery(e.target.value);
2189
+ setPage(0);
2190
+ },
2191
+ placeholder: "Filter rows...",
2192
+ "aria-label": "Filter table rows",
2193
+ 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"
2194
+ }
2195
+ )
2196
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: "text-[11px] font-medium text-slate-500 dark:text-white/50", children: [
2197
+ sortedRows.length,
2198
+ " row",
2199
+ sortedRows.length !== 1 ? "s" : ""
2200
+ ] }),
2201
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
2202
+ "button",
2203
+ {
2204
+ type: "button",
2205
+ onClick: () => downloadCsv(title || "table-data", columns, sortedRows),
2206
+ 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",
2207
+ title: "Export as CSV",
2208
+ "aria-label": "Export table as CSV",
2209
+ children: [
2210
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_lucide_react5.Download, { className: "w-3 h-3" }),
2211
+ "CSV"
2212
+ ]
2213
+ }
2214
+ )
2215
+ ] }),
2216
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "overflow-x-auto", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("table", { className: "w-full text-sm border-collapse", children: [
2217
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("thead", { className: "bg-slate-50 dark:bg-white/5 border-b border-slate-200 dark:border-white/10", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("tr", { children: columns.map((col, idx) => {
2218
+ const isSorted = sortCol === idx;
2219
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
2220
+ "th",
2221
+ {
2222
+ onClick: () => handleSort(idx),
2223
+ 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",
2224
+ children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: "inline-flex items-center gap-1", children: [
2225
+ col,
2226
+ isSorted && sortDir === "asc" ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_lucide_react5.ArrowUp, { className: "w-3 h-3 text-indigo-500" }) : isSorted && sortDir === "desc" ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_lucide_react5.ArrowDown, { className: "w-3 h-3 text-indigo-500" }) : /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_lucide_react5.ArrowUpDown, { className: "w-3 h-3 opacity-30" })
2227
+ ] })
2228
+ },
2229
+ idx
2230
+ );
2231
+ }) }) }),
2232
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("tbody", { className: "divide-y divide-slate-100 dark:divide-white/5", children: visibleRows.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("tr", { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
2233
+ "td",
2234
+ {
2235
+ colSpan: Math.max(1, columns.length),
2236
+ className: "px-4 py-6 text-center text-xs text-slate-400 dark:text-white/40",
2237
+ children: "No matching rows"
2238
+ }
2239
+ ) }) : visibleRows.map((row, rowIdx) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
2240
+ "tr",
2241
+ {
2242
+ className: "hover:bg-slate-50/60 dark:hover:bg-white/5 transition-colors",
2243
+ children: columns.map((_, cellIdx) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
2244
+ "td",
2245
+ {
2246
+ className: "px-4 py-2.5 text-slate-600 dark:text-white/70 text-xs whitespace-nowrap",
2247
+ children: row[cellIdx] === null || row[cellIdx] === void 0 ? "" : String(row[cellIdx])
2248
+ },
2249
+ cellIdx
2250
+ ))
2251
+ },
2252
+ rowIdx
2253
+ )) })
2254
+ ] }) }),
2255
+ (showSearch || showPagination) && /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("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: [
2256
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { children: [
2257
+ sortedRows.length,
2258
+ " row",
2259
+ sortedRows.length !== 1 ? "s" : "",
2260
+ searchQuery.trim() ? ` (filtered from ${rows.length})` : ""
2261
+ ] }),
2262
+ showPagination && /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex items-center gap-1.5", children: [
2263
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
2264
+ "button",
2265
+ {
2266
+ type: "button",
2267
+ onClick: () => setPage((p) => Math.max(0, p - 1)),
2268
+ disabled: safePage === 0,
2269
+ "aria-label": "Previous page",
2270
+ 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",
2271
+ children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_lucide_react5.ChevronLeft, { className: "w-3.5 h-3.5" })
2272
+ }
2273
+ ),
2274
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: "px-1 font-medium", children: [
2275
+ safePage + 1,
2276
+ " / ",
2277
+ totalPages
2278
+ ] }),
2279
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
2280
+ "button",
2281
+ {
2282
+ type: "button",
2283
+ onClick: () => setPage((p) => Math.min(totalPages - 1, p + 1)),
2284
+ disabled: safePage >= totalPages - 1,
2285
+ "aria-label": "Next page",
2286
+ 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",
2287
+ children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_lucide_react5.ChevronRight, { className: "w-3.5 h-3.5" })
2288
+ }
2289
+ )
2290
+ ] })
2291
+ ] })
2292
+ ] });
2293
+ }
2294
+
2295
+ // src/components/RichErrorBoundary.tsx
2296
+ var import_react7 = __toESM(require("react"));
2297
+ var import_lucide_react6 = require("lucide-react");
2298
+ var import_jsx_runtime8 = require("react/jsx-runtime");
2299
+ var RichErrorBoundary = class extends import_react7.default.Component {
2300
+ constructor(props) {
2301
+ super(props);
2302
+ this.handleReset = () => {
2303
+ this.setState({ hasError: false, errorMessage: "", showRaw: false });
2304
+ };
2305
+ this.state = {
2306
+ hasError: false,
2307
+ errorMessage: "",
2308
+ showRaw: false
2309
+ };
2310
+ }
2311
+ static getDerivedStateFromError(error) {
2312
+ return {
2313
+ hasError: true,
2314
+ errorMessage: (error == null ? void 0 : error.message) || "Unable to render this block."
2315
+ };
2316
+ }
2317
+ componentDidCatch(error, info) {
2318
+ console.warn("[Retrivora SDK] RichErrorBoundary caught render error:", error, info.componentStack);
2319
+ }
2320
+ render() {
2321
+ if (!this.state.hasError) {
2322
+ return this.props.children;
2323
+ }
2324
+ const label = this.props.contextLabel || "content";
2325
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("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: [
2326
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex items-center justify-between gap-2", children: [
2327
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex items-center gap-1.5 font-medium", children: [
2328
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_lucide_react6.TriangleAlert, { className: "w-3.5 h-3.5 text-amber-500 shrink-0" }),
2329
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("span", { children: [
2330
+ "Failed to render ",
2331
+ label
2332
+ ] })
2333
+ ] }),
2334
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex items-center gap-2", children: [
2335
+ this.props.rawFallback && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
2336
+ "button",
2337
+ {
2338
+ type: "button",
2339
+ onClick: () => this.setState((s) => ({ showRaw: !s.showRaw })),
2340
+ className: "underline hover:opacity-80 cursor-pointer",
2341
+ children: this.state.showRaw ? "Hide raw" : "Show raw"
2342
+ }
2343
+ ),
2344
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
2345
+ "button",
2346
+ {
2347
+ type: "button",
2348
+ onClick: this.handleReset,
2349
+ 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",
2350
+ title: "Retry rendering",
2351
+ children: [
2352
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_lucide_react6.RotateCcw, { className: "w-3 h-3" }),
2353
+ "Retry"
2354
+ ]
2355
+ }
2356
+ )
2357
+ ] })
2358
+ ] }),
2359
+ this.state.showRaw && this.props.rawFallback && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("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 })
2360
+ ] });
2361
+ }
2362
+ };
2363
+
2364
+ // src/components/VisualizationRenderer.tsx
2365
+ var import_jsx_runtime9 = require("react/jsx-runtime");
2366
+ var CHART_VIEW_TYPES = /* @__PURE__ */ new Set([
2367
+ "pie_chart",
2368
+ "bar_chart",
2369
+ "histogram",
2370
+ "horizontal_bar",
2371
+ "line_chart",
2372
+ "scatter_plot",
2373
+ "radar_chart"
2374
+ ]);
2375
+ function extractTabularFromChartData(data) {
2376
+ if (!Array.isArray(data) || data.length === 0) return null;
2377
+ const first = data[0];
2378
+ if (!first || typeof first !== "object") return null;
2379
+ const columns = Object.keys(first);
2380
+ if (columns.length === 0) return null;
2381
+ const rows = data.map(
2382
+ (item) => columns.map((col) => {
2383
+ var _a;
2384
+ return (_a = item[col]) != null ? _a : "";
2385
+ })
2386
+ );
2387
+ return { columns, rows };
2388
+ }
2082
2389
  function getColor(index) {
2083
2390
  return CHART_COLORS[index % CHART_COLORS.length];
2084
2391
  }
@@ -2091,11 +2398,11 @@ function CustomTooltip({
2091
2398
  label
2092
2399
  }) {
2093
2400
  if (!active || !payload || payload.length === 0) return null;
2094
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("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: [
2095
- label && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("p", { className: "mb-2 font-semibold text-slate-800 dark:text-white/90", children: label }),
2096
- payload.map((entry, i) => /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex items-center justify-between gap-3 text-slate-600 dark:text-white/70", children: [
2097
- /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: "flex items-center gap-1.5", children: [
2098
- entry.color && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
2401
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("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: [
2402
+ label && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "mb-2 font-semibold text-slate-800 dark:text-white/90", children: label }),
2403
+ payload.map((entry, i) => /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex items-center justify-between gap-3 text-slate-600 dark:text-white/70", children: [
2404
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { className: "flex items-center gap-1.5", children: [
2405
+ entry.color && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
2099
2406
  "span",
2100
2407
  {
2101
2408
  className: "inline-block w-2 h-2 rounded-full flex-shrink-0",
@@ -2104,7 +2411,7 @@ function CustomTooltip({
2104
2411
  ),
2105
2412
  entry.name
2106
2413
  ] }),
2107
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "font-medium text-slate-900 dark:text-white/90", children: entry.value })
2414
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "font-medium text-slate-900 dark:text-white/90", children: entry.value })
2108
2415
  ] }, i))
2109
2416
  ] });
2110
2417
  }
@@ -2116,66 +2423,111 @@ function VisualizationRenderer({
2116
2423
  isStreaming
2117
2424
  }) {
2118
2425
  var _a;
2426
+ const [viewMode, setViewMode] = (0, import_react8.useState)("chart");
2119
2427
  if (!data) {
2120
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: `p-4 text-gray-500 ${className}`, children: "No data available for visualization" });
2428
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: `p-4 text-gray-500 ${className}`, children: "No data available for visualization" });
2121
2429
  }
2122
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: `space-y-4 ${className}`, children: [
2123
- /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "space-y-1", children: [
2124
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("h3", { className: "text-sm font-semibold text-slate-900 dark:text-white", children: data.title }),
2125
- data.description && data.description !== ((_a = data.data) == null ? void 0 : _a.content) && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("p", { className: "text-xs text-slate-500 dark:text-slate-400", children: data.description })
2430
+ const isChartType = CHART_VIEW_TYPES.has(data.type);
2431
+ const tabularData = isChartType ? extractTabularFromChartData(data.data) : null;
2432
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: `space-y-4 ${className}`, children: [
2433
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex items-start justify-between gap-2", children: [
2434
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "space-y-1 min-w-0", children: [
2435
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("h3", { className: "text-sm font-semibold text-slate-900 dark:text-white", children: data.title }),
2436
+ data.description && data.description !== ((_a = data.data) == null ? void 0 : _a.content) && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-xs text-slate-500 dark:text-slate-400", children: data.description })
2437
+ ] }),
2438
+ isChartType && !isStreaming && tabularData && /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex items-center gap-1 shrink-0", children: [
2439
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
2440
+ "button",
2441
+ {
2442
+ type: "button",
2443
+ onClick: () => setViewMode((m) => m === "chart" ? "table" : "chart"),
2444
+ title: viewMode === "chart" ? "Switch to table view" : "Switch to chart view",
2445
+ "aria-label": viewMode === "chart" ? "Switch to table view" : "Switch to chart view",
2446
+ 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",
2447
+ children: viewMode === "chart" ? /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
2448
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_lucide_react7.Table2, { className: "w-3 h-3" }),
2449
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { children: "Table" })
2450
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
2451
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_lucide_react7.BarChart3, { className: "w-3 h-3" }),
2452
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { children: "Chart" })
2453
+ ] })
2454
+ }
2455
+ ),
2456
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
2457
+ "button",
2458
+ {
2459
+ type: "button",
2460
+ onClick: () => downloadCsv(data.title || "chart-data", tabularData.columns, tabularData.rows),
2461
+ title: "Export data as CSV",
2462
+ "aria-label": "Export chart data as CSV",
2463
+ 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",
2464
+ children: [
2465
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_lucide_react7.Download, { className: "w-3 h-3" }),
2466
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { children: "CSV" })
2467
+ ]
2468
+ }
2469
+ )
2470
+ ] })
2126
2471
  ] }),
2127
- renderVisualization(data.type, data.data, onAddToCart, primaryColor, isStreaming)
2472
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(RichErrorBoundary, { contextLabel: "visualization", children: isChartType && viewMode === "table" && tabularData ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
2473
+ DataTable,
2474
+ {
2475
+ columns: tabularData.columns,
2476
+ rows: tabularData.rows,
2477
+ title: data.title || "chart-data"
2478
+ }
2479
+ ) : renderVisualization(data.type, data.data, onAddToCart, primaryColor, isStreaming) })
2128
2480
  ] });
2129
2481
  }
2130
2482
  function renderVisualization(type, data, onAddToCart, primaryColor, isStreaming) {
2131
2483
  try {
2132
2484
  switch (type) {
2133
2485
  case "pie_chart":
2134
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(PieChartView, { data, isStreaming });
2486
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(PieChartView, { data, isStreaming });
2135
2487
  case "bar_chart":
2136
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(BarChartView, { data, primaryColor, isStreaming });
2488
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(BarChartView, { data, primaryColor, isStreaming });
2137
2489
  case "histogram":
2138
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(BarChartView, { data, primaryColor, isStreaming });
2490
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(BarChartView, { data, primaryColor, isStreaming });
2139
2491
  case "horizontal_bar":
2140
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(BarChartView, { data, primaryColor, isStreaming, layout: "vertical" });
2492
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(BarChartView, { data, primaryColor, isStreaming, layout: "vertical" });
2141
2493
  case "line_chart":
2142
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(LineChartView, { data, primaryColor, isStreaming });
2494
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(LineChartView, { data, primaryColor, isStreaming });
2143
2495
  case "scatter_plot":
2144
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(ScatterPlotView, { data, primaryColor, isStreaming });
2496
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(ScatterPlotView, { data, primaryColor, isStreaming });
2145
2497
  case "radar_chart":
2146
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(RadarChartView, { data, isStreaming });
2498
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(RadarChartView, { data, isStreaming });
2147
2499
  case "metric_card":
2148
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(MetricCardView, { data, isStreaming });
2500
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(MetricCardView, { data, isStreaming });
2149
2501
  case "geo_map":
2150
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(BarChartView, { data, primaryColor, isStreaming });
2502
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(BarChartView, { data, primaryColor, isStreaming });
2151
2503
  case "table":
2152
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(TableView, { data, isStreaming });
2504
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(TableView, { data, isStreaming });
2153
2505
  case "product_carousel":
2154
2506
  case "carousel":
2155
- if (isStreaming) return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(CarouselSkeleton, {});
2156
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(CarouselView, { data, onAddToCart, primaryColor });
2507
+ if (isStreaming) return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(CarouselSkeleton, {});
2508
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(CarouselView, { data, onAddToCart, primaryColor });
2157
2509
  case "text":
2158
2510
  default:
2159
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(TextView, { data });
2511
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(TextView, { data });
2160
2512
  }
2161
2513
  } catch (error) {
2162
2514
  console.warn("[VisualizationRenderer] Rendering failed, falling back to text:", error);
2163
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(TextView, { data: { content: "Unable to render the requested visualization." } });
2515
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(TextView, { data: { content: "Unable to render the requested visualization." } });
2164
2516
  }
2165
2517
  }
2166
2518
  function CarouselSkeleton() {
2167
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "w-full py-2", children: [
2168
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "mb-3 h-4 w-36 rounded-full bg-slate-200 animate-pulse" }),
2169
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "flex gap-3 overflow-hidden", children: Array.from({ length: 4 }).map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
2519
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "w-full py-2", children: [
2520
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "mb-3 h-4 w-36 rounded-full bg-slate-200 animate-pulse" }),
2521
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "flex gap-3 overflow-hidden", children: Array.from({ length: 4 }).map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
2170
2522
  "div",
2171
2523
  {
2172
2524
  className: "flex-shrink-0 w-44 rounded-2xl border border-slate-200 bg-white shadow-sm overflow-hidden animate-pulse",
2173
2525
  children: [
2174
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "h-28 bg-slate-100" }),
2175
- /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "p-3 space-y-2", children: [
2176
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "h-3 w-28 rounded-full bg-slate-200" }),
2177
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "h-3 w-16 rounded-full bg-slate-100" }),
2178
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "h-3 w-20 rounded-full bg-emerald-100" })
2526
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "h-28 bg-slate-100" }),
2527
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "p-3 space-y-2", children: [
2528
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "h-3 w-28 rounded-full bg-slate-200" }),
2529
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "h-3 w-16 rounded-full bg-slate-100" }),
2530
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "h-3 w-20 rounded-full bg-emerald-100" })
2179
2531
  ] })
2180
2532
  ]
2181
2533
  },
@@ -2185,21 +2537,21 @@ function CarouselSkeleton() {
2185
2537
  }
2186
2538
  function ChartSkeleton({ type }) {
2187
2539
  if (type === "pie") {
2188
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "w-full mt-4 mb-2 animate-pulse", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "mx-auto w-40 h-40 rounded-full bg-slate-100 dark:bg-white/10" }) });
2540
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "w-full mt-4 mb-2 animate-pulse", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "mx-auto w-40 h-40 rounded-full bg-slate-100 dark:bg-white/10" }) });
2189
2541
  }
2190
2542
  if (type === "table") {
2191
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "w-full mt-4 mb-2 animate-pulse space-y-2", children: [
2192
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "h-8 bg-slate-100 dark:bg-white/10 rounded" }),
2193
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "h-8 bg-slate-100 dark:bg-white/10 rounded" }),
2194
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "h-8 bg-slate-100 dark:bg-white/10 rounded" })
2543
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "w-full mt-4 mb-2 animate-pulse space-y-2", children: [
2544
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "h-8 bg-slate-100 dark:bg-white/10 rounded" }),
2545
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "h-8 bg-slate-100 dark:bg-white/10 rounded" }),
2546
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "h-8 bg-slate-100 dark:bg-white/10 rounded" })
2195
2547
  ] });
2196
2548
  }
2197
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("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__ */ (0, import_jsx_runtime7.jsx)("div", { className: "flex-1 rounded-t-md bg-slate-100 dark:bg-white/10", style: { height: `${40 + i % 3 * 25}%` } }, i)) });
2549
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("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__ */ (0, import_jsx_runtime9.jsx)("div", { className: "flex-1 rounded-t-md bg-slate-100 dark:bg-white/10", style: { height: `${40 + i % 3 * 25}%` } }, i)) });
2198
2550
  }
2199
2551
  function PieChartView({ data, isStreaming }) {
2200
- if (isStreaming) return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(ChartSkeleton, { type: "pie" });
2552
+ if (isStreaming) return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(ChartSkeleton, { type: "pie" });
2201
2553
  if (!Array.isArray(data) || data.length === 0) {
2202
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "text-xs text-red-500", children: "Invalid pie chart data" });
2554
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "text-xs text-red-500", children: "Invalid pie chart data" });
2203
2555
  }
2204
2556
  const chartData = data.map((item) => ({
2205
2557
  name: item.label,
@@ -2210,9 +2562,9 @@ function PieChartView({ data, isStreaming }) {
2210
2562
  const hasStockBreakdown = chartData.some(
2211
2563
  (item) => typeof item.inStockCount === "number" && item.inStockCount > 0 || typeof item.outOfStockCount === "number" && item.outOfStockCount > 0
2212
2564
  );
2213
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "bg-white dark:bg-slate-900 rounded-xl border border-slate-200 dark:border-white/10 p-4 shadow-sm", children: [
2214
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_recharts2.ResponsiveContainer, { width: "100%", height: 280, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_recharts2.PieChart, { children: [
2215
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
2565
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "bg-white dark:bg-slate-900 rounded-xl border border-slate-200 dark:border-white/10 p-4 shadow-sm", children: [
2566
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_recharts2.ResponsiveContainer, { width: "100%", height: 280, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_recharts2.PieChart, { children: [
2567
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
2216
2568
  import_recharts2.Pie,
2217
2569
  {
2218
2570
  data: chartData,
@@ -2223,36 +2575,36 @@ function PieChartView({ data, isStreaming }) {
2223
2575
  outerRadius: "68%",
2224
2576
  label: false,
2225
2577
  labelLine: false,
2226
- children: chartData.map((_entry, index) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_recharts2.Cell, { fill: getColor(index) }, `cell-${index}`))
2578
+ children: chartData.map((_entry, index) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_recharts2.Cell, { fill: getColor(index) }, `cell-${index}`))
2227
2579
  }
2228
2580
  ),
2229
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_recharts2.Tooltip, { content: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(CustomTooltip, {}) }),
2230
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_recharts2.Legend, { wrapperStyle: { fontSize: 12 }, verticalAlign: "bottom" })
2581
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_recharts2.Tooltip, { content: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(CustomTooltip, {}) }),
2582
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_recharts2.Legend, { wrapperStyle: { fontSize: 12 }, verticalAlign: "bottom" })
2231
2583
  ] }) }),
2232
- hasStockBreakdown && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "mt-3 grid gap-2 sm:grid-cols-2", children: chartData.map((item, index) => {
2584
+ hasStockBreakdown && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "mt-3 grid gap-2 sm:grid-cols-2", children: chartData.map((item, index) => {
2233
2585
  var _a, _b;
2234
2586
  const inStock = Number((_a = item.inStockCount) != null ? _a : 0);
2235
2587
  const outOfStock = Number((_b = item.outOfStockCount) != null ? _b : 0);
2236
2588
  const status = inStock > 0 ? `${inStock} in stock` : "Out of stock";
2237
2589
  const mutedStatus = outOfStock > 0 ? `${outOfStock} out` : null;
2238
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
2590
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
2239
2591
  "div",
2240
2592
  {
2241
2593
  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",
2242
2594
  children: [
2243
- /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: "flex min-w-0 items-center gap-2 text-slate-700 dark:text-white/75", children: [
2244
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
2595
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { className: "flex min-w-0 items-center gap-2 text-slate-700 dark:text-white/75", children: [
2596
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
2245
2597
  "span",
2246
2598
  {
2247
2599
  className: "h-2.5 w-2.5 flex-shrink-0 rounded-full",
2248
2600
  style: { background: getColor(index) }
2249
2601
  }
2250
2602
  ),
2251
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "truncate", children: item.name })
2603
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "truncate", children: item.name })
2252
2604
  ] }),
2253
- /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: inStock > 0 ? "whitespace-nowrap font-medium text-emerald-600" : "whitespace-nowrap font-medium text-rose-600", children: [
2605
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { className: inStock > 0 ? "whitespace-nowrap font-medium text-emerald-600" : "whitespace-nowrap font-medium text-rose-600", children: [
2254
2606
  status,
2255
- mutedStatus && /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: "ml-1 text-slate-400", children: [
2607
+ mutedStatus && /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { className: "ml-1 text-slate-400", children: [
2256
2608
  "(",
2257
2609
  mutedStatus,
2258
2610
  ")"
@@ -2271,9 +2623,9 @@ function BarChartView({
2271
2623
  isStreaming,
2272
2624
  layout = "horizontal"
2273
2625
  }) {
2274
- if (isStreaming) return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(ChartSkeleton, { type: "bar" });
2626
+ if (isStreaming) return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(ChartSkeleton, { type: "bar" });
2275
2627
  if (!Array.isArray(data) || data.length === 0) {
2276
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "text-xs text-red-500", children: "Invalid bar chart data" });
2628
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "text-xs text-red-500", children: "Invalid bar chart data" });
2277
2629
  }
2278
2630
  const chartData = data.map((item) => __spreadValues(__spreadValues({
2279
2631
  category: item.category,
@@ -2281,19 +2633,19 @@ function BarChartView({
2281
2633
  }, item.inStockCount !== void 0 && { inStockCount: item.inStockCount }), item.outOfStockCount !== void 0 && { outOfStockCount: item.outOfStockCount }));
2282
2634
  const barColor = primaryColor != null ? primaryColor : getColor(0);
2283
2635
  const hasStock = chartData.some((d) => "inStockCount" in d);
2284
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("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__ */ (0, import_jsx_runtime7.jsx)(import_recharts2.ResponsiveContainer, { width: "100%", height: 260, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
2636
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("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__ */ (0, import_jsx_runtime9.jsx)(import_recharts2.ResponsiveContainer, { width: "100%", height: 260, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
2285
2637
  import_recharts2.BarChart,
2286
2638
  {
2287
2639
  data: chartData,
2288
2640
  layout,
2289
2641
  margin: { top: 10, right: 10, left: layout === "vertical" ? 20 : -20, bottom: 0 },
2290
2642
  children: [
2291
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_recharts2.CartesianGrid, { strokeDasharray: "3 3", vertical: false, stroke: "#e2e8f0" }),
2292
- layout === "vertical" ? /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
2293
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_recharts2.XAxis, { type: "number", tick: { fontSize: 11, fill: "#64748b" }, tickLine: false, axisLine: { stroke: "#cbd5e1" } }),
2294
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_recharts2.YAxis, { type: "category", dataKey: "category", width: 110, tick: { fontSize: 11, fill: "#64748b" }, tickLine: false, axisLine: false })
2295
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
2296
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
2643
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_recharts2.CartesianGrid, { strokeDasharray: "3 3", vertical: false, stroke: "#e2e8f0" }),
2644
+ layout === "vertical" ? /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
2645
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_recharts2.XAxis, { type: "number", tick: { fontSize: 11, fill: "#64748b" }, tickLine: false, axisLine: { stroke: "#cbd5e1" } }),
2646
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_recharts2.YAxis, { type: "category", dataKey: "category", width: 110, tick: { fontSize: 11, fill: "#64748b" }, tickLine: false, axisLine: false })
2647
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
2648
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
2297
2649
  import_recharts2.XAxis,
2298
2650
  {
2299
2651
  dataKey: "category",
@@ -2302,49 +2654,49 @@ function BarChartView({
2302
2654
  axisLine: { stroke: "#cbd5e1" }
2303
2655
  }
2304
2656
  ),
2305
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_recharts2.YAxis, { tick: { fontSize: 11, fill: "#64748b" }, tickLine: false, axisLine: false })
2657
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_recharts2.YAxis, { tick: { fontSize: 11, fill: "#64748b" }, tickLine: false, axisLine: false })
2306
2658
  ] }),
2307
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_recharts2.Tooltip, { content: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(CustomTooltip, {}), cursor: { fill: "#f1f5f9" } }),
2308
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_recharts2.Legend, { wrapperStyle: { fontSize: 12 } }),
2309
- hasStock ? /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
2310
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_recharts2.Bar, { dataKey: "inStockCount", name: "In Stock", fill: getColor(1), radius: [4, 4, 0, 0] }),
2311
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_recharts2.Bar, { dataKey: "outOfStockCount", name: "Out of Stock", fill: getColor(3), radius: [4, 4, 0, 0] })
2312
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_recharts2.Bar, { dataKey: "value", name: "Value", fill: barColor, radius: [4, 4, 0, 0] })
2659
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_recharts2.Tooltip, { content: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(CustomTooltip, {}), cursor: { fill: "#f1f5f9" } }),
2660
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_recharts2.Legend, { wrapperStyle: { fontSize: 12 } }),
2661
+ hasStock ? /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
2662
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_recharts2.Bar, { dataKey: "inStockCount", name: "In Stock", fill: getColor(1), radius: [4, 4, 0, 0] }),
2663
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_recharts2.Bar, { dataKey: "outOfStockCount", name: "Out of Stock", fill: getColor(3), radius: [4, 4, 0, 0] })
2664
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_recharts2.Bar, { dataKey: "value", name: "Value", fill: barColor, radius: [4, 4, 0, 0] })
2313
2665
  ]
2314
2666
  }
2315
2667
  ) }) });
2316
2668
  }
2317
2669
  function ScatterPlotView({ data, primaryColor, isStreaming }) {
2318
- if (isStreaming) return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(ChartSkeleton, { type: "bar" });
2670
+ if (isStreaming) return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(ChartSkeleton, { type: "bar" });
2319
2671
  if (!Array.isArray(data) || data.length === 0) {
2320
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "text-xs text-red-500", children: "Invalid scatter plot data" });
2672
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "text-xs text-red-500", children: "Invalid scatter plot data" });
2321
2673
  }
2322
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("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__ */ (0, import_jsx_runtime7.jsx)(import_recharts2.ResponsiveContainer, { width: "100%", height: 260, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_recharts2.ScatterChart, { margin: { top: 10, right: 10, left: -20, bottom: 0 }, children: [
2323
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_recharts2.CartesianGrid, { strokeDasharray: "3 3", stroke: "#e2e8f0" }),
2324
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_recharts2.XAxis, { type: "number", dataKey: "x", tick: { fontSize: 11, fill: "#64748b" }, tickLine: false, axisLine: { stroke: "#cbd5e1" } }),
2325
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_recharts2.YAxis, { type: "number", dataKey: "y", tick: { fontSize: 11, fill: "#64748b" }, tickLine: false, axisLine: false }),
2326
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_recharts2.Tooltip, { content: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(CustomTooltip, {}), cursor: { strokeDasharray: "3 3" } }),
2327
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_recharts2.Scatter, { name: "Value", data, fill: primaryColor != null ? primaryColor : getColor(0) })
2674
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("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__ */ (0, import_jsx_runtime9.jsx)(import_recharts2.ResponsiveContainer, { width: "100%", height: 260, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_recharts2.ScatterChart, { margin: { top: 10, right: 10, left: -20, bottom: 0 }, children: [
2675
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_recharts2.CartesianGrid, { strokeDasharray: "3 3", stroke: "#e2e8f0" }),
2676
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_recharts2.XAxis, { type: "number", dataKey: "x", tick: { fontSize: 11, fill: "#64748b" }, tickLine: false, axisLine: { stroke: "#cbd5e1" } }),
2677
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_recharts2.YAxis, { type: "number", dataKey: "y", tick: { fontSize: 11, fill: "#64748b" }, tickLine: false, axisLine: false }),
2678
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_recharts2.Tooltip, { content: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(CustomTooltip, {}), cursor: { strokeDasharray: "3 3" } }),
2679
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_recharts2.Scatter, { name: "Value", data, fill: primaryColor != null ? primaryColor : getColor(0) })
2328
2680
  ] }) }) });
2329
2681
  }
2330
2682
  function MetricCardView({ data, isStreaming }) {
2331
- if (isStreaming) return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(ChartSkeleton, { type: "bar" });
2683
+ if (isStreaming) return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(ChartSkeleton, { type: "bar" });
2332
2684
  if (!data || typeof data.value !== "number") {
2333
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "text-xs text-red-500", children: "Invalid metric data" });
2685
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "text-xs text-red-500", children: "Invalid metric data" });
2334
2686
  }
2335
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "rounded-xl border border-slate-200 bg-white p-4 shadow-sm dark:border-white/10 dark:bg-slate-900", children: [
2336
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "text-xs font-medium uppercase text-slate-500 dark:text-slate-400", children: data.label }),
2337
- /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "mt-2 text-3xl font-semibold text-slate-900 dark:text-white", children: [
2687
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "rounded-xl border border-slate-200 bg-white p-4 shadow-sm dark:border-white/10 dark:bg-slate-900", children: [
2688
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "text-xs font-medium uppercase text-slate-500 dark:text-slate-400", children: data.label }),
2689
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "mt-2 text-3xl font-semibold text-slate-900 dark:text-white", children: [
2338
2690
  data.value.toLocaleString(),
2339
- data.unit && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "ml-1 text-base text-slate-500", children: data.unit })
2691
+ data.unit && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "ml-1 text-base text-slate-500", children: data.unit })
2340
2692
  ] }),
2341
- data.operation && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "mt-1 text-xs text-slate-500 dark:text-slate-400", children: data.operation })
2693
+ data.operation && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "mt-1 text-xs text-slate-500 dark:text-slate-400", children: data.operation })
2342
2694
  ] });
2343
2695
  }
2344
2696
  function LineChartView({ data, primaryColor, isStreaming }) {
2345
- if (isStreaming) return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(ChartSkeleton, { type: "bar" });
2697
+ if (isStreaming) return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(ChartSkeleton, { type: "bar" });
2346
2698
  if (!Array.isArray(data) || data.length === 0) {
2347
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "text-xs text-red-500", children: "Invalid line chart data" });
2699
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "text-xs text-red-500", children: "Invalid line chart data" });
2348
2700
  }
2349
2701
  const chartData = data.map((point) => {
2350
2702
  var _a;
@@ -2354,9 +2706,9 @@ function LineChartView({ data, primaryColor, isStreaming }) {
2354
2706
  };
2355
2707
  });
2356
2708
  const lineColor = primaryColor != null ? primaryColor : getColor(0);
2357
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("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__ */ (0, import_jsx_runtime7.jsx)(import_recharts2.ResponsiveContainer, { width: "100%", height: 260, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_recharts2.LineChart, { data: chartData, margin: { top: 10, right: 10, left: -20, bottom: 0 }, children: [
2358
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_recharts2.CartesianGrid, { strokeDasharray: "3 3", vertical: false, stroke: "#e2e8f0" }),
2359
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
2709
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("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__ */ (0, import_jsx_runtime9.jsx)(import_recharts2.ResponsiveContainer, { width: "100%", height: 260, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_recharts2.LineChart, { data: chartData, margin: { top: 10, right: 10, left: -20, bottom: 0 }, children: [
2710
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_recharts2.CartesianGrid, { strokeDasharray: "3 3", vertical: false, stroke: "#e2e8f0" }),
2711
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
2360
2712
  import_recharts2.XAxis,
2361
2713
  {
2362
2714
  dataKey: "label",
@@ -2365,9 +2717,9 @@ function LineChartView({ data, primaryColor, isStreaming }) {
2365
2717
  axisLine: { stroke: "#cbd5e1" }
2366
2718
  }
2367
2719
  ),
2368
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_recharts2.YAxis, { tick: { fontSize: 11, fill: "#64748b" }, tickLine: false, axisLine: false }),
2369
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_recharts2.Tooltip, { content: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(CustomTooltip, {}) }),
2370
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
2720
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_recharts2.YAxis, { tick: { fontSize: 11, fill: "#64748b" }, tickLine: false, axisLine: false }),
2721
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_recharts2.Tooltip, { content: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(CustomTooltip, {}) }),
2722
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
2371
2723
  import_recharts2.Line,
2372
2724
  {
2373
2725
  type: "monotone",
@@ -2382,18 +2734,18 @@ function LineChartView({ data, primaryColor, isStreaming }) {
2382
2734
  ] }) }) });
2383
2735
  }
2384
2736
  function RadarChartView({ data, isStreaming }) {
2385
- if (isStreaming) return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(ChartSkeleton, { type: "pie" });
2737
+ if (isStreaming) return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(ChartSkeleton, { type: "pie" });
2386
2738
  if (!Array.isArray(data) || data.length === 0) {
2387
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "text-xs text-red-500", children: "Invalid radar chart data" });
2739
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "text-xs text-red-500", children: "Invalid radar chart data" });
2388
2740
  }
2389
2741
  const productNames = Array.from(
2390
2742
  new Set(data.flatMap((item) => Object.keys(item).filter((key) => key !== "attribute")))
2391
2743
  );
2392
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "bg-white dark:bg-slate-900 rounded-xl border border-slate-200 dark:border-white/10 p-4 shadow-sm", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_recharts2.ResponsiveContainer, { width: "100%", height: 300, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_recharts2.RadarChart, { cx: "50%", cy: "50%", outerRadius: "80%", data, children: [
2393
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_recharts2.PolarGrid, { stroke: "#e2e8f0" }),
2394
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_recharts2.PolarAngleAxis, { dataKey: "attribute", tick: { fontSize: 11, fill: "#64748b" } }),
2395
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_recharts2.PolarRadiusAxis, { tick: { fontSize: 10, fill: "#64748b" } }),
2396
- productNames.map((productName, index) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
2744
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "bg-white dark:bg-slate-900 rounded-xl border border-slate-200 dark:border-white/10 p-4 shadow-sm", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_recharts2.ResponsiveContainer, { width: "100%", height: 300, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_recharts2.RadarChart, { cx: "50%", cy: "50%", outerRadius: "80%", data, children: [
2745
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_recharts2.PolarGrid, { stroke: "#e2e8f0" }),
2746
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_recharts2.PolarAngleAxis, { dataKey: "attribute", tick: { fontSize: 11, fill: "#64748b" } }),
2747
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_recharts2.PolarRadiusAxis, { tick: { fontSize: 10, fill: "#64748b" } }),
2748
+ productNames.map((productName, index) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
2397
2749
  import_recharts2.Radar,
2398
2750
  {
2399
2751
  name: productName,
@@ -2404,47 +2756,16 @@ function RadarChartView({ data, isStreaming }) {
2404
2756
  },
2405
2757
  productName
2406
2758
  )),
2407
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_recharts2.Tooltip, { content: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(CustomTooltip, {}) }),
2408
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_recharts2.Legend, { wrapperStyle: { fontSize: 12 } })
2759
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_recharts2.Tooltip, { content: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(CustomTooltip, {}) }),
2760
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_recharts2.Legend, { wrapperStyle: { fontSize: 12 } })
2409
2761
  ] }) }) });
2410
2762
  }
2411
2763
  function TableView({ data, isStreaming }) {
2412
- if (isStreaming) return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(ChartSkeleton, { type: "table" });
2764
+ if (isStreaming) return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(ChartSkeleton, { type: "table" });
2413
2765
  if (!(data == null ? void 0 : data.columns) || !(data == null ? void 0 : data.rows)) {
2414
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "text-xs text-red-500", children: "Invalid table data" });
2766
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "text-xs text-red-500", children: "Invalid table data" });
2415
2767
  }
2416
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "bg-white dark:bg-slate-900 rounded-xl border border-slate-200 dark:border-white/10 shadow-sm overflow-hidden", children: [
2417
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "overflow-x-auto", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("table", { className: "w-full text-sm border-collapse", children: [
2418
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("thead", { className: "bg-slate-50 dark:bg-white/5 border-b border-slate-200 dark:border-white/10", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("tr", { children: data.columns.map((col, idx) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
2419
- "th",
2420
- {
2421
- className: "px-4 py-3 text-left text-xs font-semibold text-slate-700 dark:text-white/90 whitespace-nowrap uppercase tracking-wider",
2422
- children: col
2423
- },
2424
- idx
2425
- )) }) }),
2426
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("tbody", { className: "divide-y divide-slate-100 dark:divide-white/5", children: data.rows.map((row, rowIdx) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
2427
- "tr",
2428
- {
2429
- className: "hover:bg-slate-50/60 dark:hover:bg-white/5 transition-colors",
2430
- children: row.map((cell, cellIdx) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
2431
- "td",
2432
- {
2433
- className: "px-4 py-3 text-slate-600 dark:text-white/70 text-sm",
2434
- children: String(cell)
2435
- },
2436
- cellIdx
2437
- ))
2438
- },
2439
- rowIdx
2440
- )) })
2441
- ] }) }),
2442
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "px-4 py-2 bg-slate-50 dark:bg-white/5 border-t border-slate-100 dark:border-white/5", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("p", { className: "text-[11px] text-slate-400 dark:text-white/30", children: [
2443
- data.rows.length,
2444
- " row",
2445
- data.rows.length !== 1 ? "s" : ""
2446
- ] }) })
2447
- ] });
2768
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(DataTable, { columns: data.columns, rows: data.rows });
2448
2769
  }
2449
2770
  function CarouselView({
2450
2771
  data,
@@ -2452,7 +2773,7 @@ function CarouselView({
2452
2773
  primaryColor
2453
2774
  }) {
2454
2775
  if (!Array.isArray(data)) {
2455
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "text-xs text-red-500", children: "Invalid carousel data" });
2776
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "text-xs text-red-500", children: "Invalid carousel data" });
2456
2777
  }
2457
2778
  const products = data.map((product) => ({
2458
2779
  id: product.id,
@@ -2464,7 +2785,7 @@ function CarouselView({
2464
2785
  description: product.description,
2465
2786
  inStock: product.inStock
2466
2787
  }));
2467
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "w-full", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
2788
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "w-full", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
2468
2789
  ProductCarousel,
2469
2790
  {
2470
2791
  products,
@@ -2475,13 +2796,13 @@ function CarouselView({
2475
2796
  }
2476
2797
  function TextView({ data }) {
2477
2798
  const content = stripLeakedAnswerWrappers((data == null ? void 0 : data.content) || String(data != null ? data : ""));
2478
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "bg-white dark:bg-slate-900 rounded-xl border border-slate-200 dark:border-white/10 p-4 shadow-sm", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("p", { className: "text-sm text-slate-700 dark:text-slate-300 whitespace-pre-wrap leading-relaxed", children: content }) });
2799
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "bg-white dark:bg-slate-900 rounded-xl border border-slate-200 dark:border-white/10 p-4 shadow-sm", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-sm text-slate-700 dark:text-slate-300 whitespace-pre-wrap leading-relaxed", children: content }) });
2479
2800
  }
2480
2801
 
2481
2802
  // src/components/ObservabilityPanel.tsx
2482
- var import_react6 = __toESM(require("react"));
2483
- var import_lucide_react5 = require("lucide-react");
2484
- var import_jsx_runtime8 = require("react/jsx-runtime");
2803
+ var import_react9 = __toESM(require("react"));
2804
+ var import_lucide_react8 = require("lucide-react");
2805
+ var import_jsx_runtime10 = require("react/jsx-runtime");
2485
2806
  function fmtMs(ms) {
2486
2807
  return ms >= 1e3 ? `${(ms / 1e3).toFixed(2)}s` : `${Math.round(ms)}ms`;
2487
2808
  }
@@ -2491,50 +2812,50 @@ function fmtTokens(n) {
2491
2812
  function ScoreBadge({ score }) {
2492
2813
  const pct = Math.round(score * 100);
2493
2814
  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";
2494
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("span", { className: `inline-flex items-center gap-1 px-2 py-0.5 rounded-full text-[11px] font-semibold border ${color}`, children: [
2495
- pct <= 20 ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_lucide_react5.CheckCircle, { className: "w-3 h-3" }) : /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_lucide_react5.AlertCircle, { className: "w-3 h-3" }),
2815
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("span", { className: `inline-flex items-center gap-1 px-2 py-0.5 rounded-full text-[11px] font-semibold border ${color}`, children: [
2816
+ pct <= 20 ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_lucide_react8.CheckCircle, { className: "w-3 h-3" }) : /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_lucide_react8.AlertCircle, { className: "w-3 h-3" }),
2496
2817
  pct,
2497
2818
  "% hallucination risk"
2498
2819
  ] });
2499
2820
  }
2500
2821
  function RetrievalTab({ trace }) {
2501
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "space-y-2", children: [
2502
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("p", { className: "text-[11px] text-slate-500 dark:text-white/40", children: [
2822
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "space-y-2", children: [
2823
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("p", { className: "text-[11px] text-slate-500 dark:text-white/40", children: [
2503
2824
  trace.chunks.length,
2504
2825
  " chunk",
2505
2826
  trace.chunks.length !== 1 ? "s" : "",
2506
2827
  " retrieved",
2507
- trace.rewrittenQuery && /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("span", { className: "ml-2 italic", children: [
2828
+ trace.rewrittenQuery && /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("span", { className: "ml-2 italic", children: [
2508
2829
  "(query rewritten: ",
2509
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("em", { className: "text-indigo-500", children: trace.rewrittenQuery }),
2830
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("em", { className: "text-indigo-500", children: trace.rewrittenQuery }),
2510
2831
  ")"
2511
2832
  ] })
2512
2833
  ] }),
2513
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "space-y-1.5 max-h-56 overflow-y-auto pr-1 custom-scrollbar", children: trace.chunks.map((chunk, i) => /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
2834
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "space-y-1.5 max-h-56 overflow-y-auto pr-1 custom-scrollbar", children: trace.chunks.map((chunk, i) => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
2514
2835
  "div",
2515
2836
  {
2516
2837
  className: "rounded-lg border border-slate-100 dark:border-white/8 bg-slate-50 dark:bg-white/3 p-2.5",
2517
2838
  children: [
2518
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex items-center justify-between mb-1", children: [
2519
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("span", { className: "text-[10px] font-mono text-slate-400 dark:text-white/30", children: [
2839
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "flex items-center justify-between mb-1", children: [
2840
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("span", { className: "text-[10px] font-mono text-slate-400 dark:text-white/30", children: [
2520
2841
  "[",
2521
2842
  i + 1,
2522
2843
  "] ",
2523
2844
  String(chunk.id).slice(0, 20)
2524
2845
  ] }),
2525
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("span", { className: "text-[10px] font-semibold text-indigo-600 dark:text-indigo-400", children: [
2846
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("span", { className: "text-[10px] font-semibold text-indigo-600 dark:text-indigo-400", children: [
2526
2847
  "score: ",
2527
2848
  chunk.score.toFixed(3)
2528
2849
  ] })
2529
2850
  ] }),
2530
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "h-1 rounded-full bg-slate-200 dark:bg-white/10 mb-2 overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
2851
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "h-1 rounded-full bg-slate-200 dark:bg-white/10 mb-2 overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
2531
2852
  "div",
2532
2853
  {
2533
2854
  className: "h-full rounded-full bg-indigo-500 dark:bg-indigo-400 transition-all",
2534
2855
  style: { width: `${Math.min(100, chunk.score * 100)}%` }
2535
2856
  }
2536
2857
  ) }),
2537
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("p", { className: "text-[11px] text-slate-600 dark:text-white/60 line-clamp-2 leading-relaxed", children: chunk.content })
2858
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { className: "text-[11px] text-slate-600 dark:text-white/60 line-clamp-2 leading-relaxed", children: chunk.content })
2538
2859
  ]
2539
2860
  },
2540
2861
  String(chunk.id)
@@ -2550,20 +2871,20 @@ function LatencyTab({ trace }) {
2550
2871
  { label: "Generate", ms: latency.generateMs, color: "#8b5cf6" }
2551
2872
  ];
2552
2873
  const maxMs = Math.max(...bars.map((b) => b.ms), 1);
2553
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "space-y-3", children: [
2554
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex items-center justify-between", children: [
2555
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "text-[11px] text-slate-500 dark:text-white/40", children: "Pipeline stages" }),
2556
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("span", { className: "text-[11px] font-semibold text-slate-700 dark:text-white/70", children: [
2874
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "space-y-3", children: [
2875
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "flex items-center justify-between", children: [
2876
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "text-[11px] text-slate-500 dark:text-white/40", children: "Pipeline stages" }),
2877
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("span", { className: "text-[11px] font-semibold text-slate-700 dark:text-white/70", children: [
2557
2878
  "Total: ",
2558
2879
  fmtMs(latency.totalMs)
2559
2880
  ] })
2560
2881
  ] }),
2561
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "space-y-2", children: bars.map((bar) => /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "space-y-0.5", children: [
2562
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex items-center justify-between", children: [
2563
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "text-[11px] text-slate-600 dark:text-white/60", children: bar.label }),
2564
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "text-[11px] font-mono text-slate-500 dark:text-white/40", children: fmtMs(bar.ms) })
2882
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "space-y-2", children: bars.map((bar) => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "space-y-0.5", children: [
2883
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "flex items-center justify-between", children: [
2884
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "text-[11px] text-slate-600 dark:text-white/60", children: bar.label }),
2885
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "text-[11px] font-mono text-slate-500 dark:text-white/40", children: fmtMs(bar.ms) })
2565
2886
  ] }),
2566
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "h-2 rounded-full bg-slate-100 dark:bg-white/8 overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
2887
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "h-2 rounded-full bg-slate-100 dark:bg-white/8 overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
2567
2888
  "div",
2568
2889
  {
2569
2890
  className: "h-full rounded-full transition-all duration-700",
@@ -2580,28 +2901,28 @@ function LatencyTab({ trace }) {
2580
2901
  function TokensTab({ trace }) {
2581
2902
  const { tokens } = trace;
2582
2903
  if (!tokens) {
2583
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("p", { className: "text-[11px] text-slate-400 dark:text-white/30 italic", children: "Token data not available." });
2904
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { className: "text-[11px] text-slate-400 dark:text-white/30 italic", children: "Token data not available." });
2584
2905
  }
2585
2906
  const stats = [
2586
2907
  { label: "Prompt Tokens", value: fmtTokens(tokens.promptTokens), color: "text-indigo-600 dark:text-indigo-400" },
2587
2908
  { label: "Completion Tokens", value: fmtTokens(tokens.completionTokens), color: "text-emerald-600 dark:text-emerald-400" },
2588
2909
  { label: "Total Tokens", value: fmtTokens(tokens.totalTokens), color: "text-slate-700 dark:text-white/80" }
2589
2910
  ];
2590
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "space-y-3", children: [
2591
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "grid grid-cols-3 gap-2", children: stats.map((s) => /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("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: [
2592
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("p", { className: `text-lg font-bold ${s.color}`, children: s.value }),
2593
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("p", { className: "text-[10px] text-slate-400 dark:text-white/30 mt-0.5", children: s.label })
2911
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "space-y-3", children: [
2912
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "grid grid-cols-3 gap-2", children: stats.map((s) => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("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: [
2913
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { className: `text-lg font-bold ${s.color}`, children: s.value }),
2914
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { className: "text-[10px] text-slate-400 dark:text-white/30 mt-0.5", children: s.label })
2594
2915
  ] }, s.label)) }),
2595
- tokens.estimatedCostUsd != null && /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("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: [
2596
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "text-[11px] text-emerald-700 dark:text-emerald-400 font-medium", children: "Estimated Cost" }),
2597
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("span", { className: "text-[11px] font-bold text-emerald-700 dark:text-emerald-400", children: [
2916
+ tokens.estimatedCostUsd != null && /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("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: [
2917
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "text-[11px] text-emerald-700 dark:text-emerald-400 font-medium", children: "Estimated Cost" }),
2918
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("span", { className: "text-[11px] font-bold text-emerald-700 dark:text-emerald-400", children: [
2598
2919
  "$",
2599
2920
  tokens.estimatedCostUsd < 1e-4 ? tokens.estimatedCostUsd.toExponential(2) : tokens.estimatedCostUsd.toFixed(5),
2600
2921
  " USD"
2601
2922
  ] })
2602
2923
  ] }),
2603
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "h-2 rounded-full overflow-hidden flex", children: [
2604
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
2924
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "h-2 rounded-full overflow-hidden flex", children: [
2925
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
2605
2926
  "div",
2606
2927
  {
2607
2928
  className: "h-full bg-indigo-500 dark:bg-indigo-400",
@@ -2609,7 +2930,7 @@ function TokensTab({ trace }) {
2609
2930
  title: "Prompt tokens"
2610
2931
  }
2611
2932
  ),
2612
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
2933
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
2613
2934
  "div",
2614
2935
  {
2615
2936
  className: "h-full bg-emerald-500 dark:bg-emerald-400",
@@ -2618,13 +2939,13 @@ function TokensTab({ trace }) {
2618
2939
  }
2619
2940
  )
2620
2941
  ] }),
2621
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex gap-3 text-[10px] text-slate-400 dark:text-white/30", children: [
2622
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("span", { className: "flex items-center gap-1", children: [
2623
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "inline-block w-2 h-2 rounded-full bg-indigo-500" }),
2942
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "flex gap-3 text-[10px] text-slate-400 dark:text-white/30", children: [
2943
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("span", { className: "flex items-center gap-1", children: [
2944
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "inline-block w-2 h-2 rounded-full bg-indigo-500" }),
2624
2945
  " Prompt"
2625
2946
  ] }),
2626
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("span", { className: "flex items-center gap-1", children: [
2627
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "inline-block w-2 h-2 rounded-full bg-emerald-500" }),
2947
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("span", { className: "flex items-center gap-1", children: [
2948
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "inline-block w-2 h-2 rounded-full bg-emerald-500" }),
2628
2949
  " Completion"
2629
2950
  ] })
2630
2951
  ] })
@@ -2632,71 +2953,71 @@ function TokensTab({ trace }) {
2632
2953
  }
2633
2954
  function HallucinationTab({ trace }) {
2634
2955
  if (trace.hallucinationScore == null) {
2635
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("p", { className: "text-[11px] text-slate-400 dark:text-white/30 italic", children: "Hallucination scoring not available for this response." });
2956
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { className: "text-[11px] text-slate-400 dark:text-white/30 italic", children: "Hallucination scoring not available for this response." });
2636
2957
  }
2637
2958
  const score = trace.hallucinationScore;
2638
2959
  const pct = Math.round(score * 100);
2639
2960
  const barColor = pct <= 20 ? "#10b981" : pct <= 50 ? "#f59e0b" : "#ef4444";
2640
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "space-y-3", children: [
2641
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex items-center justify-between", children: [
2642
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(ScoreBadge, { score }),
2643
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("span", { className: "text-[11px] font-mono text-slate-500 dark:text-white/40", children: [
2961
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "space-y-3", children: [
2962
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "flex items-center justify-between", children: [
2963
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(ScoreBadge, { score }),
2964
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("span", { className: "text-[11px] font-mono text-slate-500 dark:text-white/40", children: [
2644
2965
  pct,
2645
2966
  "/100"
2646
2967
  ] })
2647
2968
  ] }),
2648
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "h-3 rounded-full bg-slate-100 dark:bg-white/8 overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
2969
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "h-3 rounded-full bg-slate-100 dark:bg-white/8 overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
2649
2970
  "div",
2650
2971
  {
2651
2972
  className: "h-full rounded-full transition-all duration-700",
2652
2973
  style: { width: `${pct}%`, background: barColor }
2653
2974
  }
2654
2975
  ) }),
2655
- trace.hallucinationReason && /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "rounded-lg border border-slate-100 dark:border-white/8 bg-slate-50 dark:bg-white/3 p-2.5", children: [
2656
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("p", { className: "text-[11px] text-slate-500 dark:text-white/40 font-medium mb-0.5", children: "AI self-assessment" }),
2657
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("p", { className: "text-[11px] text-slate-700 dark:text-white/70 leading-relaxed", children: trace.hallucinationReason })
2976
+ trace.hallucinationReason && /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "rounded-lg border border-slate-100 dark:border-white/8 bg-slate-50 dark:bg-white/3 p-2.5", children: [
2977
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { className: "text-[11px] text-slate-500 dark:text-white/40 font-medium mb-0.5", children: "AI self-assessment" }),
2978
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { className: "text-[11px] text-slate-700 dark:text-white/70 leading-relaxed", children: trace.hallucinationReason })
2658
2979
  ] }),
2659
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex gap-2 text-[10px] text-slate-400 dark:text-white/30", children: [
2660
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("span", { className: "flex items-center gap-1", children: [
2661
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "inline-block w-2 h-2 rounded-full bg-emerald-500" }),
2980
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "flex gap-2 text-[10px] text-slate-400 dark:text-white/30", children: [
2981
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("span", { className: "flex items-center gap-1", children: [
2982
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "inline-block w-2 h-2 rounded-full bg-emerald-500" }),
2662
2983
  " 0\u201320%: Grounded"
2663
2984
  ] }),
2664
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("span", { className: "flex items-center gap-1", children: [
2665
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "inline-block w-2 h-2 rounded-full bg-amber-500" }),
2985
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("span", { className: "flex items-center gap-1", children: [
2986
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "inline-block w-2 h-2 rounded-full bg-amber-500" }),
2666
2987
  " 21\u201350%: Uncertain"
2667
2988
  ] }),
2668
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("span", { className: "flex items-center gap-1", children: [
2669
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "inline-block w-2 h-2 rounded-full bg-red-500" }),
2989
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("span", { className: "flex items-center gap-1", children: [
2990
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "inline-block w-2 h-2 rounded-full bg-red-500" }),
2670
2991
  " 51\u2013100%: Risk"
2671
2992
  ] })
2672
2993
  ] })
2673
2994
  ] });
2674
2995
  }
2675
2996
  function PromptTab({ trace }) {
2676
- const [showSystem, setShowSystem] = import_react6.default.useState(false);
2677
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "space-y-3", children: [
2678
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { children: [
2679
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
2997
+ const [showSystem, setShowSystem] = import_react9.default.useState(false);
2998
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "space-y-3", children: [
2999
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { children: [
3000
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
2680
3001
  "button",
2681
3002
  {
2682
3003
  onClick: () => setShowSystem((s) => !s),
2683
3004
  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",
2684
3005
  children: [
2685
- showSystem ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_lucide_react5.ChevronDown, { className: "w-3 h-3" }) : /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_lucide_react5.ChevronRight, { className: "w-3 h-3" }),
3006
+ showSystem ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_lucide_react8.ChevronDown, { className: "w-3 h-3" }) : /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_lucide_react8.ChevronRight, { className: "w-3 h-3" }),
2686
3007
  "System Prompt"
2687
3008
  ]
2688
3009
  }
2689
3010
  ),
2690
- showSystem && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("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)" })
3011
+ showSystem && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("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)" })
2691
3012
  ] }),
2692
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { children: [
2693
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("p", { className: "text-[11px] font-semibold text-slate-600 dark:text-white/60 mb-1.5", children: "User Prompt" }),
2694
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("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 })
3013
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { children: [
3014
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { className: "text-[11px] font-semibold text-slate-600 dark:text-white/60 mb-1.5", children: "User Prompt" }),
3015
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("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 })
2695
3016
  ] })
2696
3017
  ] });
2697
3018
  }
2698
3019
  function ChunksTab({ trace }) {
2699
- const [expanded, setExpanded] = import_react6.default.useState(/* @__PURE__ */ new Set());
3020
+ const [expanded, setExpanded] = import_react9.default.useState(/* @__PURE__ */ new Set());
2700
3021
  const toggle = (i) => setExpanded((prev) => {
2701
3022
  const next = new Set(prev);
2702
3023
  if (next.has(i)) {
@@ -2706,39 +3027,39 @@ function ChunksTab({ trace }) {
2706
3027
  }
2707
3028
  return next;
2708
3029
  });
2709
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "space-y-1.5 max-h-64 overflow-y-auto pr-1 custom-scrollbar", children: trace.chunks.map((chunk, i) => {
3030
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "space-y-1.5 max-h-64 overflow-y-auto pr-1 custom-scrollbar", children: trace.chunks.map((chunk, i) => {
2710
3031
  const isOpen = expanded.has(i);
2711
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
3032
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
2712
3033
  "div",
2713
3034
  {
2714
3035
  className: "rounded-lg border border-slate-100 dark:border-white/8 bg-slate-50 dark:bg-white/3 overflow-hidden",
2715
3036
  children: [
2716
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
3037
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
2717
3038
  "button",
2718
3039
  {
2719
3040
  onClick: () => toggle(i),
2720
3041
  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",
2721
3042
  children: [
2722
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex items-center gap-2", children: [
2723
- isOpen ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_lucide_react5.ChevronDown, { className: "w-3 h-3 text-slate-400" }) : /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_lucide_react5.ChevronRight, { className: "w-3 h-3 text-slate-400" }),
2724
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("span", { className: "text-[11px] font-medium text-slate-700 dark:text-white/70", children: [
3043
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "flex items-center gap-2", children: [
3044
+ isOpen ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_lucide_react8.ChevronDown, { className: "w-3 h-3 text-slate-400" }) : /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_lucide_react8.ChevronRight, { className: "w-3 h-3 text-slate-400" }),
3045
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("span", { className: "text-[11px] font-medium text-slate-700 dark:text-white/70", children: [
2725
3046
  "Chunk ",
2726
3047
  i + 1
2727
3048
  ] }),
2728
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "text-[10px] font-mono text-slate-400 dark:text-white/30", children: String(chunk.id).slice(0, 16) })
3049
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "text-[10px] font-mono text-slate-400 dark:text-white/30", children: String(chunk.id).slice(0, 16) })
2729
3050
  ] }),
2730
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "text-[10px] font-semibold text-indigo-600 dark:text-indigo-400", children: chunk.score.toFixed(3) })
3051
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "text-[10px] font-semibold text-indigo-600 dark:text-indigo-400", children: chunk.score.toFixed(3) })
2731
3052
  ]
2732
3053
  }
2733
3054
  ),
2734
- isOpen && /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "px-3 pb-3 space-y-2 border-t border-slate-100 dark:border-white/5 pt-2", children: [
2735
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { children: [
2736
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("p", { className: "text-[10px] text-slate-400 dark:text-white/30 font-semibold uppercase tracking-wider mb-1", children: "Content" }),
2737
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("p", { className: "text-[11px] text-slate-600 dark:text-white/60 leading-relaxed whitespace-pre-wrap", children: chunk.content })
3055
+ isOpen && /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "px-3 pb-3 space-y-2 border-t border-slate-100 dark:border-white/5 pt-2", children: [
3056
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { children: [
3057
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { className: "text-[10px] text-slate-400 dark:text-white/30 font-semibold uppercase tracking-wider mb-1", children: "Content" }),
3058
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { className: "text-[11px] text-slate-600 dark:text-white/60 leading-relaxed whitespace-pre-wrap", children: chunk.content })
2738
3059
  ] }),
2739
- Object.keys(chunk.metadata).length > 0 && /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { children: [
2740
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("p", { className: "text-[10px] text-slate-400 dark:text-white/30 font-semibold uppercase tracking-wider mb-1", children: "Metadata" }),
2741
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("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) })
3060
+ Object.keys(chunk.metadata).length > 0 && /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { children: [
3061
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { className: "text-[10px] text-slate-400 dark:text-white/30 font-semibold uppercase tracking-wider mb-1", children: "Metadata" }),
3062
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("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) })
2742
3063
  ] })
2743
3064
  ] })
2744
3065
  ]
@@ -2748,38 +3069,38 @@ function ChunksTab({ trace }) {
2748
3069
  }) });
2749
3070
  }
2750
3071
  var TABS = [
2751
- { id: "retrieval", label: "Retrieval", icon: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_lucide_react5.Layers, { className: "w-3 h-3" }) },
2752
- { id: "latency", label: "Latency", icon: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_lucide_react5.Clock, { className: "w-3 h-3" }) },
2753
- { id: "tokens", label: "Tokens", icon: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_lucide_react5.Cpu, { className: "w-3 h-3" }) },
2754
- { id: "hallucination", label: "Grounding", icon: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_lucide_react5.AlertTriangle, { className: "w-3 h-3" }) },
2755
- { id: "prompt", label: "Prompt", icon: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_lucide_react5.FileText, { className: "w-3 h-3" }) },
2756
- { id: "chunks", label: "Chunks", icon: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_lucide_react5.Zap, { className: "w-3 h-3" }) }
3072
+ { id: "retrieval", label: "Retrieval", icon: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_lucide_react8.Layers, { className: "w-3 h-3" }) },
3073
+ { id: "latency", label: "Latency", icon: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_lucide_react8.Clock, { className: "w-3 h-3" }) },
3074
+ { id: "tokens", label: "Tokens", icon: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_lucide_react8.Cpu, { className: "w-3 h-3" }) },
3075
+ { id: "hallucination", label: "Grounding", icon: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_lucide_react8.AlertTriangle, { className: "w-3 h-3" }) },
3076
+ { id: "prompt", label: "Prompt", icon: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_lucide_react8.FileText, { className: "w-3 h-3" }) },
3077
+ { id: "chunks", label: "Chunks", icon: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_lucide_react8.Zap, { className: "w-3 h-3" }) }
2757
3078
  ];
2758
3079
  function ObservabilityPanel({ trace, primaryColor = "#6366f1" }) {
2759
- const [activeTab, setActiveTab] = import_react6.default.useState("retrieval");
2760
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("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: [
2761
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
3080
+ const [activeTab, setActiveTab] = import_react9.default.useState("retrieval");
3081
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("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: [
3082
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
2762
3083
  "div",
2763
3084
  {
2764
3085
  className: "flex items-center gap-2 px-3 py-2 border-b border-slate-100 dark:border-white/8",
2765
3086
  style: { background: `${primaryColor}08` },
2766
3087
  children: [
2767
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
3088
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
2768
3089
  "span",
2769
3090
  {
2770
3091
  className: "inline-flex items-center gap-1 text-[10px] font-bold uppercase tracking-wider",
2771
3092
  style: { color: primaryColor },
2772
3093
  children: [
2773
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_lucide_react5.Zap, { className: "w-3 h-3" }),
3094
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_lucide_react8.Zap, { className: "w-3 h-3" }),
2774
3095
  "Observability Trace"
2775
3096
  ]
2776
3097
  }
2777
3098
  ),
2778
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "text-[10px] text-slate-400 dark:text-white/30 ml-auto font-mono", children: trace.requestId })
3099
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "text-[10px] text-slate-400 dark:text-white/30 ml-auto font-mono", children: trace.requestId })
2779
3100
  ]
2780
3101
  }
2781
3102
  ),
2782
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "flex border-b border-slate-100 dark:border-white/8 overflow-x-auto", children: TABS.map((tab) => /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
3103
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "flex border-b border-slate-100 dark:border-white/8 overflow-x-auto", children: TABS.map((tab) => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
2783
3104
  "button",
2784
3105
  {
2785
3106
  onClick: () => setActiveTab(tab.id),
@@ -2792,13 +3113,13 @@ function ObservabilityPanel({ trace, primaryColor = "#6366f1" }) {
2792
3113
  },
2793
3114
  tab.id
2794
3115
  )) }),
2795
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "p-3", children: [
2796
- activeTab === "retrieval" && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(RetrievalTab, { trace }),
2797
- activeTab === "latency" && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(LatencyTab, { trace }),
2798
- activeTab === "tokens" && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(TokensTab, { trace }),
2799
- activeTab === "hallucination" && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(HallucinationTab, { trace }),
2800
- activeTab === "prompt" && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(PromptTab, { trace }),
2801
- activeTab === "chunks" && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(ChunksTab, { trace })
3116
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "p-3", children: [
3117
+ activeTab === "retrieval" && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(RetrievalTab, { trace }),
3118
+ activeTab === "latency" && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(LatencyTab, { trace }),
3119
+ activeTab === "tokens" && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(TokensTab, { trace }),
3120
+ activeTab === "hallucination" && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(HallucinationTab, { trace }),
3121
+ activeTab === "prompt" && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(PromptTab, { trace }),
3122
+ activeTab === "chunks" && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(ChunksTab, { trace })
2802
3123
  ] })
2803
3124
  ] });
2804
3125
  }
@@ -3190,14 +3511,14 @@ function deduplicateProducts(productsFromSources, productsFromContent, messageCo
3190
3511
  }
3191
3512
 
3192
3513
  // src/components/MarkdownComponents.tsx
3193
- var import_react9 = __toESM(require("react"));
3514
+ var import_react12 = __toESM(require("react"));
3194
3515
 
3195
3516
  // src/components/UIDispatcher.tsx
3196
- var import_react8 = __toESM(require("react"));
3517
+ var import_react11 = __toESM(require("react"));
3197
3518
 
3198
3519
  // src/components/UIBlockRenderer.tsx
3199
- var import_react7 = require("react");
3200
- var import_jsx_runtime9 = require("react/jsx-runtime");
3520
+ var import_react10 = require("react");
3521
+ var import_jsx_runtime11 = require("react/jsx-runtime");
3201
3522
  function UIBlockRenderer({
3202
3523
  block,
3203
3524
  customRenderers = {},
@@ -3208,10 +3529,11 @@ function UIBlockRenderer({
3208
3529
  onFormSubmit,
3209
3530
  isStreaming = false
3210
3531
  }) {
3211
- const [formSubmitted, setFormSubmitted] = (0, import_react7.useState)(false);
3212
- const [formLoading, setFormLoading] = (0, import_react7.useState)(false);
3213
- const [formError, setFormError] = (0, import_react7.useState)(null);
3214
- const [formData, setFormData] = (0, import_react7.useState)({});
3532
+ const [formSubmitted, setFormSubmitted] = (0, import_react10.useState)(false);
3533
+ const [formLoading, setFormLoading] = (0, import_react10.useState)(false);
3534
+ const [formError, setFormError] = (0, import_react10.useState)(null);
3535
+ const [formData, setFormData] = (0, import_react10.useState)({});
3536
+ const sdkConfig = useConfig();
3215
3537
  if (!block || typeof block !== "object") return null;
3216
3538
  const uiBlock = __spreadValues({}, block);
3217
3539
  let viewType = (uiBlock.view || uiBlock.type || "").toLowerCase();
@@ -3228,11 +3550,11 @@ function UIBlockRenderer({
3228
3550
  viewType = "carousel";
3229
3551
  }
3230
3552
  if (customRenderers && typeof customRenderers[viewType] === "function") {
3231
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, { children: customRenderers[viewType](uiBlock) });
3553
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_jsx_runtime11.Fragment, { children: customRenderers[viewType](uiBlock) });
3232
3554
  }
3233
3555
  const handleActionClick = (btn) => {
3234
3556
  var _a;
3235
- if (btn.action === "open_url" && ((_a = btn.payload) == null ? void 0 : _a.url)) {
3557
+ if (btn.action === "open_url" && typeof ((_a = btn.payload) == null ? void 0 : _a.url) === "string" && isSafeUrl(btn.payload.url)) {
3236
3558
  window.open(btn.payload.url, "_blank", "noopener,noreferrer");
3237
3559
  }
3238
3560
  if (onActionTriggered) {
@@ -3247,9 +3569,12 @@ function UIBlockRenderer({
3247
3569
  if (onFormSubmit) {
3248
3570
  await onFormSubmit(formData);
3249
3571
  } else {
3250
- const res = await fetch("/api/forms/submit", {
3572
+ const formsEndpoint = sdkConfig.retrivoraApiBase ? `${sdkConfig.retrivoraApiBase.replace(/\/$/, "")}/forms/submit` : "/api/forms/submit";
3573
+ const res = await fetch(formsEndpoint, {
3251
3574
  method: "POST",
3252
- headers: { "Content-Type": "application/json" },
3575
+ headers: __spreadValues(__spreadValues(__spreadValues({
3576
+ "Content-Type": "application/json"
3577
+ }, sdkConfig.licenseKey ? { "x-license-key": sdkConfig.licenseKey } : {}), sdkConfig.projectId ? { "x-project-id": sdkConfig.projectId } : {}), sdkConfig.headers || {}),
3253
3578
  body: JSON.stringify({
3254
3579
  title: uiBlock.title || "Form Submission",
3255
3580
  data: formData,
@@ -3273,10 +3598,10 @@ function UIBlockRenderer({
3273
3598
  switch (viewType) {
3274
3599
  case "carousel": {
3275
3600
  const items = Array.isArray(uiBlock.data) ? uiBlock.data : [];
3276
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "my-4 w-full", children: [
3277
- uiBlock.title && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("h4", { className: "text-xs font-semibold text-slate-500 mb-1", children: uiBlock.title }),
3278
- uiBlock.description && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-xs text-slate-500 dark:text-white/60 mb-3", children: uiBlock.description }),
3279
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
3601
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "my-4 w-full", children: [
3602
+ uiBlock.title && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("h4", { className: "text-xs font-semibold text-slate-500 mb-1", children: uiBlock.title }),
3603
+ uiBlock.description && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("p", { className: "text-xs text-slate-500 dark:text-white/60 mb-3", children: uiBlock.description }),
3604
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3280
3605
  ProductCarousel,
3281
3606
  {
3282
3607
  products: items.map((item, idx) => ({
@@ -3300,10 +3625,10 @@ function UIBlockRenderer({
3300
3625
  const rows = Array.isArray(uiBlock.data) ? uiBlock.data.map(
3301
3626
  (row) => Array.isArray(row) ? row : columns.map((col) => row[col] !== void 0 ? row[col] : "")
3302
3627
  ) : [];
3303
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("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: [
3304
- uiBlock.title && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("h4", { className: "text-xs font-semibold text-slate-500 mb-1", children: uiBlock.title }),
3305
- uiBlock.description && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-xs text-slate-500 dark:text-white/60 mb-3", children: uiBlock.description }),
3306
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
3628
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("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: [
3629
+ uiBlock.title && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("h4", { className: "text-xs font-semibold text-slate-500 mb-1", children: uiBlock.title }),
3630
+ uiBlock.description && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("p", { className: "text-xs text-slate-500 dark:text-white/60 mb-3", children: uiBlock.description }),
3631
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3307
3632
  VisualizationRenderer,
3308
3633
  {
3309
3634
  data: {
@@ -3321,10 +3646,10 @@ function UIBlockRenderer({
3321
3646
  case "chart": {
3322
3647
  const chartType = uiBlock.chartType || "bar";
3323
3648
  const chartData = Array.isArray(uiBlock.data) ? uiBlock.data : [];
3324
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("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: [
3325
- uiBlock.title && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("h4", { className: "text-xs font-semibold text-slate-500 mb-1 px-2", children: uiBlock.title }),
3326
- uiBlock.description && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-xs text-slate-500 dark:text-white/60 mb-4 px-2", children: uiBlock.description }),
3327
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
3649
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("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: [
3650
+ uiBlock.title && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("h4", { className: "text-xs font-semibold text-slate-500 mb-1 px-2", children: uiBlock.title }),
3651
+ uiBlock.description && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("p", { className: "text-xs text-slate-500 dark:text-white/60 mb-4 px-2", children: uiBlock.description }),
3652
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3328
3653
  DynamicChart,
3329
3654
  {
3330
3655
  config: {
@@ -3343,35 +3668,35 @@ function UIBlockRenderer({
3343
3668
  }
3344
3669
  case "form": {
3345
3670
  if (formSubmitted) {
3346
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("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: [
3347
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
3671
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("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: [
3672
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3348
3673
  "svg",
3349
3674
  {
3350
3675
  className: "mx-auto h-8 w-8 text-emerald-500",
3351
3676
  fill: "none",
3352
3677
  stroke: "currentColor",
3353
3678
  viewBox: "0 0 24 24",
3354
- children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M5 13l4 4L19 7" })
3679
+ children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M5 13l4 4L19 7" })
3355
3680
  }
3356
3681
  ),
3357
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("h5", { className: "font-semibold text-emerald-800 dark:text-emerald-300 text-sm", children: "Thank you!" }),
3358
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-xs text-emerald-600 dark:text-emerald-400", children: "Your details have been submitted successfully." })
3682
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("h5", { className: "font-semibold text-emerald-800 dark:text-emerald-300 text-sm", children: "Thank you!" }),
3683
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("p", { className: "text-xs text-emerald-600 dark:text-emerald-400", children: "Your details have been submitted successfully." })
3359
3684
  ] });
3360
3685
  }
3361
3686
  const fields = uiBlock.fields || [];
3362
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("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: [
3363
- /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "space-y-1", children: [
3364
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("h4", { className: "text-sm font-semibold text-slate-800 dark:text-white", children: uiBlock.title || "Submit Form" }),
3365
- uiBlock.description && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-xs text-slate-500 dark:text-white/60", children: uiBlock.description })
3687
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("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: [
3688
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "space-y-1", children: [
3689
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("h4", { className: "text-sm font-semibold text-slate-800 dark:text-white", children: uiBlock.title || "Submit Form" }),
3690
+ uiBlock.description && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("p", { className: "text-xs text-slate-500 dark:text-white/60", children: uiBlock.description })
3366
3691
  ] }),
3367
- /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("form", { onSubmit: handleFormSubmit, className: "space-y-3", children: [
3368
- fields.map((field, i) => /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "space-y-1", children: [
3369
- /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("label", { className: "block text-[11px] font-medium text-slate-500 dark:text-slate-400", children: [
3692
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("form", { onSubmit: handleFormSubmit, className: "space-y-3", children: [
3693
+ fields.map((field, i) => /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "space-y-1", children: [
3694
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("label", { className: "block text-[11px] font-medium text-slate-500 dark:text-slate-400", children: [
3370
3695
  field.label,
3371
3696
  " ",
3372
- field.required && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "text-rose-500", children: "*" })
3697
+ field.required && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "text-rose-500", children: "*" })
3373
3698
  ] }),
3374
- field.type === "textarea" ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
3699
+ field.type === "textarea" ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3375
3700
  "textarea",
3376
3701
  {
3377
3702
  required: field.required,
@@ -3380,7 +3705,7 @@ function UIBlockRenderer({
3380
3705
  onChange: (e) => handleInputChange(field.name, e.target.value),
3381
3706
  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"
3382
3707
  }
3383
- ) : /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
3708
+ ) : /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3384
3709
  "input",
3385
3710
  {
3386
3711
  type: field.type,
@@ -3391,15 +3716,15 @@ function UIBlockRenderer({
3391
3716
  }
3392
3717
  )
3393
3718
  ] }, i)),
3394
- formError && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-xs text-rose-500 font-medium", children: formError }),
3395
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
3719
+ formError && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("p", { className: "text-xs text-rose-500 font-medium", children: formError }),
3720
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3396
3721
  "button",
3397
3722
  {
3398
3723
  type: "submit",
3399
3724
  disabled: formLoading,
3400
3725
  style: { background: primaryColor },
3401
3726
  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",
3402
- children: formLoading ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "w-4 h-4 border-2 border-white border-t-transparent rounded-full animate-spin" }) : uiBlock.submitText || "Submit"
3727
+ children: formLoading ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "w-4 h-4 border-2 border-white border-t-transparent rounded-full animate-spin" }) : uiBlock.submitText || "Submit"
3403
3728
  }
3404
3729
  )
3405
3730
  ] })
@@ -3407,26 +3732,26 @@ function UIBlockRenderer({
3407
3732
  }
3408
3733
  case "actions": {
3409
3734
  const buttons = uiBlock.buttons || [];
3410
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("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: [
3411
- /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "space-y-1", children: [
3412
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("h4", { className: "text-sm font-semibold text-slate-800 dark:text-white", children: uiBlock.title || "Next Actions" }),
3413
- uiBlock.description && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-xs text-slate-500 dark:text-white/60", children: uiBlock.description })
3735
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("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: [
3736
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "space-y-1", children: [
3737
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("h4", { className: "text-sm font-semibold text-slate-800 dark:text-white", children: uiBlock.title || "Next Actions" }),
3738
+ uiBlock.description && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("p", { className: "text-xs text-slate-500 dark:text-white/60", children: uiBlock.description })
3414
3739
  ] }),
3415
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "flex flex-col gap-2", children: buttons.map((btn, i) => /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
3740
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "flex flex-col gap-2", children: buttons.map((btn, i) => /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
3416
3741
  "button",
3417
3742
  {
3418
3743
  onClick: () => handleActionClick(btn),
3419
3744
  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",
3420
3745
  children: [
3421
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { children: btn.label }),
3422
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
3746
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { children: btn.label }),
3747
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3423
3748
  "svg",
3424
3749
  {
3425
3750
  className: "w-4 h-4 text-slate-400 group-hover:translate-x-0.5 transition-transform",
3426
3751
  fill: "none",
3427
3752
  stroke: "currentColor",
3428
3753
  viewBox: "0 0 24 24",
3429
- children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M9 5l7 7-7 7" })
3754
+ children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M9 5l7 7-7 7" })
3430
3755
  }
3431
3756
  )
3432
3757
  ]
@@ -3441,7 +3766,7 @@ function UIBlockRenderer({
3441
3766
  }
3442
3767
 
3443
3768
  // src/components/UIDispatcher.tsx
3444
- var import_jsx_runtime10 = require("react/jsx-runtime");
3769
+ var import_jsx_runtime12 = require("react/jsx-runtime");
3445
3770
  function normalizeTabularRows(rows, columns) {
3446
3771
  if (!Array.isArray(rows)) return [];
3447
3772
  const SYNONYMS = {
@@ -3507,9 +3832,9 @@ function resolveStructuredRows(config) {
3507
3832
  if (Array.isArray(config.results) && config.results.length > 0) return config.results;
3508
3833
  return [];
3509
3834
  }
3510
- function UIDispatcher({ rawContent, primaryColor, accentColor, isStreaming, onAddToCart, viewportSize = "large" }) {
3835
+ function UIDispatcherInner({ rawContent, primaryColor, accentColor, isStreaming, onAddToCart, viewportSize = "large" }) {
3511
3836
  var _a;
3512
- const result = import_react8.default.useMemo(() => {
3837
+ const result = import_react11.default.useMemo(() => {
3513
3838
  try {
3514
3839
  const clean = rawContent.replace(/^```[a-z]*\s*/i, "").replace(/```\s*$/, "").trim();
3515
3840
  const parsed = JSON.parse(sanitizeJson(extractLikelyJsonBlock(clean)));
@@ -3554,13 +3879,13 @@ function UIDispatcher({ rawContent, primaryColor, accentColor, isStreaming, onAd
3554
3879
  }
3555
3880
  }, [rawContent, isStreaming]);
3556
3881
  if ("loading" in result) {
3557
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("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: [
3558
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "w-5 h-5 border-2 border-indigo-500 border-t-transparent rounded-full animate-spin" }),
3559
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { className: "text-xs text-slate-500 font-medium italic", children: "Preparing view..." })
3882
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("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: [
3883
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "w-5 h-5 border-2 border-indigo-500 border-t-transparent rounded-full animate-spin" }),
3884
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { className: "text-xs text-slate-500 font-medium italic", children: "Preparing view..." })
3560
3885
  ] });
3561
3886
  }
3562
3887
  if ("error" in result) {
3563
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("pre", { className: "p-4 my-2 bg-slate-900 text-slate-100 rounded-lg text-[10px] overflow-auto max-h-40", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("code", { children: rawContent }) });
3888
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("pre", { className: "p-4 my-2 bg-slate-900 text-slate-100 rounded-lg text-[10px] overflow-auto max-h-40", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("code", { children: rawContent }) });
3564
3889
  }
3565
3890
  const { config } = result;
3566
3891
  const isCompact = viewportSize === "compact";
@@ -3568,10 +3893,10 @@ function UIDispatcher({ rawContent, primaryColor, accentColor, isStreaming, onAd
3568
3893
  const hasDescription = typeof config.description === "string" && config.description.trim().length > 0;
3569
3894
  switch (config.view) {
3570
3895
  case "chart":
3571
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("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: [
3572
- config.title && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("h4", { className: `${isCompact ? "text-[11px] mb-3" : "text-xs mb-4"} font-semibold text-slate-500 px-2`, children: config.title }),
3573
- hasDescription && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { className: `px-2 ${isCompact ? "text-xs" : "text-sm"} text-slate-500 dark:text-white/60`, children: config.description }),
3574
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
3896
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("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: [
3897
+ config.title && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("h4", { className: `${isCompact ? "text-[11px] mb-3" : "text-xs mb-4"} font-semibold text-slate-500 px-2`, children: config.title }),
3898
+ hasDescription && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { className: `px-2 ${isCompact ? "text-xs" : "text-sm"} text-slate-500 dark:text-white/60`, children: config.description }),
3899
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
3575
3900
  DynamicChart,
3576
3901
  {
3577
3902
  config: {
@@ -3587,7 +3912,7 @@ function UIDispatcher({ rawContent, primaryColor, accentColor, isStreaming, onAd
3587
3912
  isStreaming
3588
3913
  }
3589
3914
  ),
3590
- hasInsights && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "mt-4 flex flex-wrap gap-2 px-2", children: (_a = config.insights) == null ? void 0 : _a.map((insight, i) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
3915
+ hasInsights && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "mt-4 flex flex-wrap gap-2 px-2", children: (_a = config.insights) == null ? void 0 : _a.map((insight, i) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
3591
3916
  "span",
3592
3917
  {
3593
3918
  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`,
@@ -3597,10 +3922,10 @@ function UIDispatcher({ rawContent, primaryColor, accentColor, isStreaming, onAd
3597
3922
  )) })
3598
3923
  ] });
3599
3924
  case "carousel":
3600
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "my-4", children: [
3601
- config.title && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("h4", { className: `${isCompact ? "mb-1.5 text-[11px]" : "mb-2 text-xs"} font-semibold text-slate-500`, children: config.title }),
3602
- hasDescription && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { className: `mb-3 ${isCompact ? "text-xs" : "text-sm"} text-slate-500 dark:text-white/60`, children: config.description }),
3603
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(ProductCarousel, { products: config.data.map((item) => {
3925
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "my-4", children: [
3926
+ config.title && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("h4", { className: `${isCompact ? "mb-1.5 text-[11px]" : "mb-2 text-xs"} font-semibold text-slate-500`, children: config.title }),
3927
+ hasDescription && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { className: `mb-3 ${isCompact ? "text-xs" : "text-sm"} text-slate-500 dark:text-white/60`, children: config.description }),
3928
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(ProductCarousel, { products: config.data.map((item) => {
3604
3929
  var _a2;
3605
3930
  return __spreadProps(__spreadValues({}, item), {
3606
3931
  image: (_a2 = item.image) != null ? _a2 : typeof resolveImage === "function" ? resolveImage(item) : void 0
@@ -3608,10 +3933,10 @@ function UIDispatcher({ rawContent, primaryColor, accentColor, isStreaming, onAd
3608
3933
  }), primaryColor, onAddToCart })
3609
3934
  ] });
3610
3935
  case "table":
3611
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("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: [
3612
- config.title && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("h4", { className: `${isCompact ? "text-[11px]" : "text-xs"} font-semibold text-slate-500 mb-2`, children: config.title }),
3613
- hasDescription && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { className: `mb-3 ${isCompact ? "text-xs" : "text-sm"} text-slate-500 dark:text-white/60`, children: config.description }),
3614
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
3936
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("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: [
3937
+ config.title && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("h4", { className: `${isCompact ? "text-[11px]" : "text-xs"} font-semibold text-slate-500 mb-2`, children: config.title }),
3938
+ hasDescription && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { className: `mb-3 ${isCompact ? "text-xs" : "text-sm"} text-slate-500 dark:text-white/60`, children: config.description }),
3939
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
3615
3940
  VisualizationRenderer,
3616
3941
  {
3617
3942
  data: {
@@ -3630,7 +3955,7 @@ function UIDispatcher({ rawContent, primaryColor, accentColor, isStreaming, onAd
3630
3955
  ] });
3631
3956
  case "form":
3632
3957
  case "actions":
3633
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
3958
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
3634
3959
  UIBlockRenderer,
3635
3960
  {
3636
3961
  block: config,
@@ -3644,62 +3969,88 @@ function UIDispatcher({ rawContent, primaryColor, accentColor, isStreaming, onAd
3644
3969
  return null;
3645
3970
  }
3646
3971
  }
3972
+ function UIDispatcher(props) {
3973
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(RichErrorBoundary, { contextLabel: "UI block", rawFallback: props.rawContent, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(UIDispatcherInner, __spreadValues({}, props)) });
3974
+ }
3647
3975
 
3648
3976
  // src/components/MarkdownComponents.tsx
3649
3977
  var import_react_syntax_highlighter = require("react-syntax-highlighter");
3650
3978
  var import_prism = require("react-syntax-highlighter/dist/esm/styles/prism");
3651
- var import_jsx_runtime11 = require("react/jsx-runtime");
3979
+ var import_jsx_runtime13 = require("react/jsx-runtime");
3652
3980
  function createMarkdownComponents({
3653
3981
  primaryColor,
3654
3982
  accentColor,
3655
3983
  isStreaming,
3656
3984
  onAddToCart,
3657
- viewportSize
3985
+ viewportSize,
3986
+ sources
3658
3987
  }) {
3659
3988
  return {
3989
+ a: (_a) => {
3990
+ var _b = _a, { href, children } = _b, props = __objRest(_b, ["href", "children"]);
3991
+ if (typeof href === "string" && href.startsWith("#citation-")) {
3992
+ const idx = Number.parseInt(href.replace("#citation-", ""), 10);
3993
+ const source = !Number.isNaN(idx) && idx > 0 ? sources == null ? void 0 : sources[idx - 1] : void 0;
3994
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(CitationPill, { index: idx, source, primaryColor });
3995
+ }
3996
+ if (!isSafeUrl(href)) {
3997
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "underline decoration-dotted opacity-70", children });
3998
+ }
3999
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
4000
+ "a",
4001
+ __spreadProps(__spreadValues({
4002
+ href,
4003
+ target: "_blank",
4004
+ rel: "noopener noreferrer",
4005
+ className: "text-indigo-600 dark:text-indigo-400 underline underline-offset-2 hover:opacity-80"
4006
+ }, props), {
4007
+ children
4008
+ })
4009
+ );
4010
+ },
3660
4011
  // p: ({ ...props }: React.HTMLAttributes<HTMLParagraphElement>) => (
3661
4012
  // <p className="whitespace-pre-line" {...props} />
3662
4013
  // ),
3663
- table: (_a) => {
3664
- var props = __objRest(_a, []);
4014
+ table: (_c) => {
4015
+ var props = __objRest(_c, []);
3665
4016
  if (isStreaming) {
3666
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("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: [
3667
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "w-4 h-4 border-2 border-indigo-500 border-t-transparent rounded-full animate-spin" }),
3668
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("p", { className: "text-xs text-slate-500 font-medium italic animate-pulse", children: "Generating data table..." })
4017
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("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: [
4018
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "w-4 h-4 border-2 border-indigo-500 border-t-transparent rounded-full animate-spin" }),
4019
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("p", { className: "text-xs text-slate-500 font-medium italic animate-pulse", children: "Generating data table..." })
3669
4020
  ] });
3670
4021
  }
3671
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("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__ */ (0, import_jsx_runtime11.jsx)("div", { className: "overflow-x-auto", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
4022
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("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__ */ (0, import_jsx_runtime13.jsx)("div", { className: "overflow-x-auto", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
3672
4023
  "table",
3673
4024
  __spreadValues({
3674
4025
  className: "!table w-full text-left border-collapse min-w-[400px] text-sm"
3675
4026
  }, props)
3676
4027
  ) }) });
3677
4028
  },
3678
- thead: (_b) => {
3679
- var props = __objRest(_b, []);
3680
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
4029
+ thead: (_d) => {
4030
+ var props = __objRest(_d, []);
4031
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
3681
4032
  "thead",
3682
4033
  __spreadValues({
3683
4034
  className: "!table-header-group bg-slate-50 dark:bg-white/5 border-b border-slate-200 dark:border-white/10"
3684
4035
  }, props)
3685
4036
  );
3686
4037
  },
3687
- tbody: (_c) => {
3688
- var props = __objRest(_c, []);
3689
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("tbody", __spreadValues({ className: "!table-row-group divide-y divide-slate-100 dark:divide-white/5" }, props));
4038
+ tbody: (_e) => {
4039
+ var props = __objRest(_e, []);
4040
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("tbody", __spreadValues({ className: "!table-row-group divide-y divide-slate-100 dark:divide-white/5" }, props));
3690
4041
  },
3691
- tr: (_d) => {
3692
- var props = __objRest(_d, []);
3693
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
4042
+ tr: (_f) => {
4043
+ var props = __objRest(_f, []);
4044
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
3694
4045
  "tr",
3695
4046
  __spreadValues({
3696
4047
  className: "!table-row hover:bg-slate-50/70 dark:hover:bg-white/5 transition-colors"
3697
4048
  }, props)
3698
4049
  );
3699
4050
  },
3700
- th: (_e) => {
3701
- var _f = _e, { children } = _f, props = __objRest(_f, ["children"]);
3702
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
4051
+ th: (_g) => {
4052
+ var _h = _g, { children } = _h, props = __objRest(_h, ["children"]);
4053
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
3703
4054
  "th",
3704
4055
  __spreadProps(__spreadValues({
3705
4056
  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"
@@ -3708,9 +4059,9 @@ function createMarkdownComponents({
3708
4059
  })
3709
4060
  );
3710
4061
  },
3711
- td: (_g) => {
3712
- var _h = _g, { children } = _h, props = __objRest(_h, ["children"]);
3713
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
4062
+ td: (_i) => {
4063
+ var _j = _i, { children } = _j, props = __objRest(_j, ["children"]);
4064
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
3714
4065
  "td",
3715
4066
  __spreadProps(__spreadValues({
3716
4067
  className: "!table-cell px-4 py-3 text-slate-600 dark:text-white/70 whitespace-nowrap text-sm"
@@ -3719,12 +4070,12 @@ function createMarkdownComponents({
3719
4070
  })
3720
4071
  );
3721
4072
  },
3722
- code(_i) {
3723
- var _j = _i, {
4073
+ code(_k) {
4074
+ var _l = _k, {
3724
4075
  inline,
3725
4076
  className,
3726
4077
  children
3727
- } = _j, props = __objRest(_j, [
4078
+ } = _l, props = __objRest(_l, [
3728
4079
  "inline",
3729
4080
  "className",
3730
4081
  "children"
@@ -3733,7 +4084,7 @@ function createMarkdownComponents({
3733
4084
  const lang = (_a = /language-(\w+)/.exec(className != null ? className : "")) == null ? void 0 : _a[1];
3734
4085
  if (!inline && (lang === "ui" || lang === "chart" || lang === "json")) {
3735
4086
  const content = String(children != null ? children : "").trim();
3736
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
4087
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
3737
4088
  UIDispatcher,
3738
4089
  {
3739
4090
  rawContent: content,
@@ -3748,7 +4099,7 @@ function createMarkdownComponents({
3748
4099
  if (!inline) {
3749
4100
  const content = String(children != null ? children : "").trim();
3750
4101
  if (content.startsWith("{") && content.endsWith("}")) {
3751
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
4102
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
3752
4103
  UIDispatcher,
3753
4104
  {
3754
4105
  rawContent: content,
@@ -3760,14 +4111,15 @@ function createMarkdownComponents({
3760
4111
  }
3761
4112
  );
3762
4113
  }
3763
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(CodeBlock, { language: lang, children: content });
4114
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(CodeBlock, { language: lang, children: content });
3764
4115
  }
3765
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("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) }));
4116
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("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) }));
3766
4117
  }
3767
4118
  };
3768
4119
  }
3769
4120
  function CodeBlock({ children, language }) {
3770
- const [copied, setCopied] = import_react9.default.useState(false);
4121
+ const [copied, setCopied] = import_react12.default.useState(false);
4122
+ const [wrapLines, setWrapLines] = import_react12.default.useState(true);
3771
4123
  const handleCopy = async () => {
3772
4124
  try {
3773
4125
  await navigator.clipboard.writeText(children);
@@ -3777,84 +4129,149 @@ function CodeBlock({ children, language }) {
3777
4129
  console.warn("Failed to copy code", e);
3778
4130
  }
3779
4131
  };
3780
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("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: [
3781
- /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("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: [
3782
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "font-mono lowercase", children: language || "code" }),
3783
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3784
- "button",
3785
- {
3786
- onClick: handleCopy,
3787
- 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",
3788
- type: "button",
3789
- children: copied ? /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, { children: [
3790
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("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__ */ (0, import_jsx_runtime11.jsx)("polyline", { points: "20 6 9 17 4 12" }) }),
3791
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "text-emerald-500", children: "Copied!" })
3792
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, { children: [
3793
- /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("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: [
3794
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("rect", { x: "9", y: "9", width: "13", height: "13", rx: "2", ry: "2" }),
3795
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("path", { d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" })
3796
- ] }),
3797
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { children: "Copy" })
3798
- ] })
3799
- }
3800
- )
4132
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("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: [
4133
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("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: [
4134
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "font-mono lowercase", children: language || "code" }),
4135
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "flex items-center gap-1.5", children: [
4136
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
4137
+ "button",
4138
+ {
4139
+ onClick: () => setWrapLines((w) => !w),
4140
+ 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",
4141
+ type: "button",
4142
+ "aria-label": wrapLines ? "Disable line wrap" : "Enable line wrap",
4143
+ children: wrapLines ? "Wrap: On" : "Wrap: Off"
4144
+ }
4145
+ ),
4146
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
4147
+ "button",
4148
+ {
4149
+ onClick: handleCopy,
4150
+ 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",
4151
+ type: "button",
4152
+ "aria-label": "Copy code",
4153
+ children: copied ? /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, { children: [
4154
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("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__ */ (0, import_jsx_runtime13.jsx)("polyline", { points: "20 6 9 17 4 12" }) }),
4155
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "text-emerald-500", children: "Copied!" })
4156
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, { children: [
4157
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("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: [
4158
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("rect", { x: "9", y: "9", width: "13", height: "13", rx: "2", ry: "2" }),
4159
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("path", { d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" })
4160
+ ] }),
4161
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { children: "Copy" })
4162
+ ] })
4163
+ }
4164
+ )
4165
+ ] })
3801
4166
  ] }),
3802
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "overflow-x-auto text-[12px] leading-relaxed bg-slate-900/90", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
4167
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "overflow-x-auto text-[12px] leading-relaxed bg-slate-900/90", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
3803
4168
  import_react_syntax_highlighter.Prism,
3804
4169
  {
3805
4170
  language: language || "text",
3806
4171
  style: import_prism.vscDarkPlus,
3807
4172
  customStyle: { margin: 0, padding: "1rem", background: "transparent" },
3808
- wrapLongLines: true,
4173
+ wrapLongLines: wrapLines,
3809
4174
  children
3810
4175
  }
3811
4176
  ) })
3812
4177
  ] });
3813
4178
  }
3814
4179
  function normaliseChild(children) {
3815
- if (typeof children === "object" && children !== null && !Array.isArray(children) && !import_react9.default.isValidElement(children)) {
4180
+ if (typeof children === "object" && children !== null && !Array.isArray(children) && !import_react12.default.isValidElement(children)) {
3816
4181
  return JSON.stringify(children);
3817
4182
  }
3818
4183
  return children;
3819
4184
  }
4185
+ function CitationPill({
4186
+ index,
4187
+ source,
4188
+ primaryColor
4189
+ }) {
4190
+ var _a, _b, _c, _d, _e, _f;
4191
+ const [open, setOpen] = import_react12.default.useState(false);
4192
+ 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}`;
4193
+ 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) || "";
4194
+ const rawUrl = (_f = source == null ? void 0 : source.metadata) == null ? void 0 : _f.url;
4195
+ const safeHref = isSafeUrl(rawUrl) ? rawUrl : void 0;
4196
+ const scorePct = typeof (source == null ? void 0 : source.score) === "number" ? `${Math.round(source.score * 100)}%` : null;
4197
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("span", { className: "relative inline-block align-baseline mx-0.5", children: [
4198
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
4199
+ "button",
4200
+ {
4201
+ type: "button",
4202
+ onClick: () => setOpen((o) => !o),
4203
+ "aria-label": `View citation ${index}: ${title}`,
4204
+ "aria-expanded": open,
4205
+ 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",
4206
+ style: { backgroundColor: primaryColor },
4207
+ children: index
4208
+ }
4209
+ ),
4210
+ open && /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
4211
+ "span",
4212
+ {
4213
+ role: "dialog",
4214
+ "aria-label": `Citation ${index}`,
4215
+ 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",
4216
+ children: [
4217
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("span", { className: "flex items-center justify-between gap-2 mb-1", children: [
4218
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "font-semibold truncate", children: title }),
4219
+ scorePct && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("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 })
4220
+ ] }),
4221
+ snippet && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "block text-[11px] text-slate-500 dark:text-slate-400 line-clamp-3 leading-relaxed", children: snippet }),
4222
+ safeHref && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
4223
+ "a",
4224
+ {
4225
+ href: safeHref,
4226
+ target: "_blank",
4227
+ rel: "noopener noreferrer",
4228
+ className: "mt-1.5 inline-block text-[11px] font-medium text-indigo-600 dark:text-indigo-400 hover:underline",
4229
+ children: "Open source \u2192"
4230
+ }
4231
+ )
4232
+ ]
4233
+ }
4234
+ )
4235
+ ] });
4236
+ }
3820
4237
 
3821
4238
  // src/components/ThinkingBlock.tsx
3822
- var import_react10 = require("react");
3823
- var import_lucide_react6 = require("lucide-react");
4239
+ var import_react13 = require("react");
4240
+ var import_lucide_react9 = require("lucide-react");
3824
4241
  var import_framer_motion = require("framer-motion");
3825
- var import_jsx_runtime12 = require("react/jsx-runtime");
4242
+ var import_jsx_runtime14 = require("react/jsx-runtime");
3826
4243
  function ThinkingBlock({ thinking, thinkingMs, isStreaming = false }) {
3827
- const [isExpanded, setIsExpanded] = (0, import_react10.useState)(true);
3828
- const containerRef = (0, import_react10.useRef)(null);
3829
- (0, import_react10.useEffect)(() => {
4244
+ const [isExpanded, setIsExpanded] = (0, import_react13.useState)(true);
4245
+ const containerRef = (0, import_react13.useRef)(null);
4246
+ (0, import_react13.useEffect)(() => {
3830
4247
  if (!isStreaming) {
3831
4248
  setIsExpanded(false);
3832
4249
  } else {
3833
4250
  setIsExpanded(true);
3834
4251
  }
3835
4252
  }, [isStreaming]);
3836
- (0, import_react10.useEffect)(() => {
4253
+ (0, import_react13.useEffect)(() => {
3837
4254
  if (isStreaming && isExpanded && containerRef.current) {
3838
4255
  containerRef.current.scrollTop = containerRef.current.scrollHeight;
3839
4256
  }
3840
4257
  }, [thinking, isStreaming, isExpanded]);
3841
4258
  const durationSec = thinkingMs ? (thinkingMs / 1e3).toFixed(1) : null;
3842
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("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: [
3843
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
4259
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("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: [
4260
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
3844
4261
  "button",
3845
4262
  {
3846
4263
  onClick: () => setIsExpanded(!isExpanded),
3847
4264
  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",
3848
4265
  children: [
3849
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "flex items-center gap-2", children: [
3850
- isStreaming ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_lucide_react6.Loader2, { className: "w-3.5 h-3.5 animate-spin text-slate-400 dark:text-white/30" }) : /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_lucide_react6.Brain, { className: "w-3.5 h-3.5 text-slate-400 dark:text-white/40" }),
3851
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { children: isStreaming ? "Thinking..." : durationSec ? `Thought for ${durationSec}s` : "Thinking process" })
4266
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "flex items-center gap-2", children: [
4267
+ isStreaming ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_lucide_react9.Loader2, { className: "w-3.5 h-3.5 animate-spin text-slate-400 dark:text-white/30" }) : /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_lucide_react9.Brain, { className: "w-3.5 h-3.5 text-slate-400 dark:text-white/40" }),
4268
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { children: isStreaming ? "Thinking..." : durationSec ? `Thought for ${durationSec}s` : "Thinking process" })
3852
4269
  ] }),
3853
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { children: isExpanded ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_lucide_react6.ChevronDown, { className: "w-3.5 h-3.5 text-slate-400 dark:text-white/30" }) : /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_lucide_react6.ChevronRight, { className: "w-3.5 h-3.5 text-slate-400 dark:text-white/30" }) })
4270
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { children: isExpanded ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_lucide_react9.ChevronDown, { className: "w-3.5 h-3.5 text-slate-400 dark:text-white/30" }) : /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_lucide_react9.ChevronRight, { className: "w-3.5 h-3.5 text-slate-400 dark:text-white/30" }) })
3854
4271
  ]
3855
4272
  }
3856
4273
  ),
3857
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_framer_motion.AnimatePresence, { children: isExpanded && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
4274
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_framer_motion.AnimatePresence, { children: isExpanded && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
3858
4275
  import_framer_motion.motion.div,
3859
4276
  {
3860
4277
  initial: { height: 0, opacity: 0 },
@@ -3862,7 +4279,7 @@ function ThinkingBlock({ thinking, thinkingMs, isStreaming = false }) {
3862
4279
  exit: { height: 0, opacity: 0 },
3863
4280
  transition: { duration: 0.2 },
3864
4281
  className: "overflow-hidden border-t border-slate-200 dark:border-white/10",
3865
- children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
4282
+ children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
3866
4283
  "div",
3867
4284
  {
3868
4285
  ref: containerRef,
@@ -3876,7 +4293,7 @@ function ThinkingBlock({ thinking, thinkingMs, isStreaming = false }) {
3876
4293
  }
3877
4294
 
3878
4295
  // src/components/MessageBubble.tsx
3879
- var import_jsx_runtime13 = require("react/jsx-runtime");
4296
+ var import_jsx_runtime15 = require("react/jsx-runtime");
3880
4297
  function normalizePlusSeparatedLists(raw) {
3881
4298
  return raw.split("\n").map((line) => {
3882
4299
  const productListLine = /[—:]\s*\d+\s+\+\s+[A-Za-z]/.test(line) || /\b(products?|categories?|in stock|out of stock)\b/i.test(line);
@@ -3884,6 +4301,20 @@ function normalizePlusSeparatedLists(raw) {
3884
4301
  return line.replace(/\s+\+\s+(?=[A-Za-z0-9])/g, ", ");
3885
4302
  }).join("\n");
3886
4303
  }
4304
+ function linkifyInlineCitations(markdown, sourceCount) {
4305
+ if (!sourceCount || sourceCount <= 0) return markdown;
4306
+ const parts = markdown.split(/(^```[\s\S]*?^```|`[^`]+`)/gm);
4307
+ return parts.map((part, idx) => {
4308
+ if (idx % 2 === 1) return part;
4309
+ return part.replace(/\[(\d{1,2})\](?!\()/g, (match, numStr) => {
4310
+ const n = Number.parseInt(numStr, 10);
4311
+ if (n >= 1 && n <= sourceCount) {
4312
+ return `[${n}](#citation-${n})`;
4313
+ }
4314
+ return match;
4315
+ });
4316
+ }).join("");
4317
+ }
3887
4318
  function stripLeakedAnswerWrappers2(raw) {
3888
4319
  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();
3889
4320
  }
@@ -3897,8 +4328,8 @@ function formatTime(isoString) {
3897
4328
  }
3898
4329
  }
3899
4330
  function FeedbackBar({ messageId, onFeedback, primaryColor }) {
3900
- const [rating, setRating] = import_react11.default.useState(null);
3901
- const [submitting, setSubmitting] = import_react11.default.useState(false);
4331
+ const [rating, setRating] = import_react14.default.useState(null);
4332
+ const [submitting, setSubmitting] = import_react14.default.useState(false);
3902
4333
  const handleRate = async (r) => {
3903
4334
  if (rating !== null || submitting) return;
3904
4335
  setSubmitting(true);
@@ -3911,35 +4342,37 @@ function FeedbackBar({ messageId, onFeedback, primaryColor }) {
3911
4342
  }
3912
4343
  };
3913
4344
  const isLocked = rating !== null;
3914
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "flex items-center gap-1", children: [
3915
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "h-3 w-px bg-slate-200 dark:bg-white/10 mx-1" }),
3916
- /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
4345
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "flex items-center gap-1", children: [
4346
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "h-3 w-px bg-slate-200 dark:bg-white/10 mx-1" }),
4347
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
3917
4348
  "button",
3918
4349
  {
3919
4350
  onClick: () => handleRate("thumbs_up"),
3920
4351
  disabled: isLocked,
3921
4352
  title: rating === "thumbs_up" ? "You liked this" : "Good response",
4353
+ "aria-label": "Good response",
3922
4354
  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"}`,
3923
4355
  children: [
3924
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_lucide_react7.ThumbsUp, { className: "w-3 h-3" }),
3925
- !isLocked && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("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" })
4356
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_lucide_react10.ThumbsUp, { className: "w-3 h-3" }),
4357
+ !isLocked && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("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" })
3926
4358
  ]
3927
4359
  }
3928
4360
  ),
3929
- /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
4361
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
3930
4362
  "button",
3931
4363
  {
3932
4364
  onClick: () => handleRate("thumbs_down"),
3933
4365
  disabled: isLocked,
3934
4366
  title: rating === "thumbs_down" ? "You disliked this" : "Bad response",
4367
+ "aria-label": "Bad response",
3935
4368
  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"}`,
3936
4369
  children: [
3937
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_lucide_react7.ThumbsDown, { className: "w-3 h-3" }),
3938
- !isLocked && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("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" })
4370
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_lucide_react10.ThumbsDown, { className: "w-3 h-3" }),
4371
+ !isLocked && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("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" })
3939
4372
  ]
3940
4373
  }
3941
4374
  ),
3942
- isLocked && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("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" })
4375
+ isLocked && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("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" })
3943
4376
  ] });
3944
4377
  }
3945
4378
  function MessageBubble({
@@ -3953,16 +4386,20 @@ function MessageBubble({
3953
4386
  showSources: showSourcesProp = true,
3954
4387
  onFeedback,
3955
4388
  isSpeaking = false,
3956
- onToggleSpeak
4389
+ onToggleSpeak,
4390
+ onRegenerate,
4391
+ onEditMessage
3957
4392
  }) {
3958
4393
  var _a;
3959
4394
  const isUser = message.role === "user";
3960
4395
  const isCompact = viewportSize === "compact";
3961
4396
  const isMedium = viewportSize === "medium";
3962
- const [showSources, setShowSources] = import_react11.default.useState(false);
3963
- const [showTrace, setShowTrace] = import_react11.default.useState(false);
3964
- const [copied, setCopied] = import_react11.default.useState(false);
3965
- const handleCopy = import_react11.default.useCallback(async () => {
4397
+ const [showSources, setShowSources] = import_react14.default.useState(false);
4398
+ const [showTrace, setShowTrace] = import_react14.default.useState(false);
4399
+ const [copied, setCopied] = import_react14.default.useState(false);
4400
+ const [isEditing, setIsEditing] = import_react14.default.useState(false);
4401
+ const [editDraft, setEditDraft] = import_react14.default.useState(message.content);
4402
+ const handleCopy = import_react14.default.useCallback(async () => {
3966
4403
  try {
3967
4404
  await navigator.clipboard.writeText(message.content);
3968
4405
  setCopied(true);
@@ -3971,11 +4408,11 @@ function MessageBubble({
3971
4408
  console.error("Failed to copy text:", err);
3972
4409
  }
3973
4410
  }, [message.content]);
3974
- const structuredContent = import_react11.default.useMemo(
4411
+ const structuredContent = import_react14.default.useMemo(
3975
4412
  () => isUser ? { payload: null, text: message.content } : extractStructuredPayload(message.content),
3976
4413
  [isUser, message.content]
3977
4414
  );
3978
- const hasRichUI = import_react11.default.useMemo(() => {
4415
+ const hasRichUI = import_react14.default.useMemo(() => {
3979
4416
  if (message.uiTransformation) {
3980
4417
  const type = message.uiTransformation.type;
3981
4418
  if (type && !["text", "table"].includes(type)) return true;
@@ -3993,10 +4430,10 @@ function MessageBubble({
3993
4430
  uiTransformationType && !["text", "product_carousel", "carousel"].includes(uiTransformationType)
3994
4431
  );
3995
4432
  const shouldRenderStructuredOnly = !isUser && hasRichUI && isLikelyUiOnlyMessage(structuredContent.text);
3996
- const productsFromSources = import_react11.default.useMemo(() => {
4433
+ const productsFromSources = import_react14.default.useMemo(() => {
3997
4434
  return extractProductsFromSources(sources, isUser);
3998
4435
  }, [sources, isUser]);
3999
- const { productsFromContent, cleanContent } = import_react11.default.useMemo(() => {
4436
+ const { productsFromContent, cleanContent } = import_react14.default.useMemo(() => {
4000
4437
  if (isUser) {
4001
4438
  return { productsFromContent: [], cleanContent: message.content };
4002
4439
  }
@@ -4012,10 +4449,10 @@ function MessageBubble({
4012
4449
  isStreaming
4013
4450
  );
4014
4451
  }, [message.content, isUser, structuredContent, productsFromSources, isStreaming]);
4015
- const allProducts = import_react11.default.useMemo(() => {
4452
+ const allProducts = import_react14.default.useMemo(() => {
4016
4453
  return deduplicateProducts(productsFromSources, productsFromContent, message.content);
4017
4454
  }, [productsFromSources, productsFromContent, message.content]);
4018
- const processedMarkdown = import_react11.default.useMemo(() => {
4455
+ const processedMarkdown = import_react14.default.useMemo(() => {
4019
4456
  let raw = structuredContent.payload ? structuredContent.text : cleanContent || message.content;
4020
4457
  raw = raw.replace(/\$\s*(\d+)(?!\.\d)/g, "$1");
4021
4458
  raw = normalizePlusSeparatedLists(raw);
@@ -4044,15 +4481,18 @@ ${match.trim()}
4044
4481
  if (hasStructuredUiBlock) {
4045
4482
  raw = stripStructuredUiLabels(stripMarkdownTables(raw)).replace(/\n{3,}/g, "\n\n").trim();
4046
4483
  }
4484
+ if (!isUser && sources && sources.length > 0) {
4485
+ raw = linkifyInlineCitations(raw, sources.length);
4486
+ }
4047
4487
  return raw;
4048
- }, [cleanContent, message.content, isStreaming, structuredContent]);
4049
- const markdownComponents = import_react11.default.useMemo(
4050
- () => createMarkdownComponents({ primaryColor, accentColor, isStreaming, onAddToCart, viewportSize }),
4051
- [primaryColor, accentColor, isStreaming, onAddToCart, viewportSize]
4488
+ }, [cleanContent, message.content, isStreaming, structuredContent, isUser, sources]);
4489
+ const markdownComponents = import_react14.default.useMemo(
4490
+ () => createMarkdownComponents({ primaryColor, accentColor, isStreaming, onAddToCart, viewportSize, sources }),
4491
+ [primaryColor, accentColor, isStreaming, onAddToCart, viewportSize, sources]
4052
4492
  );
4053
4493
  const timeLabel = formatTime(message.createdAt);
4054
4494
  const isCompleted = !isStreaming && message.content;
4055
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
4495
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
4056
4496
  import_framer_motion2.motion.div,
4057
4497
  {
4058
4498
  initial: { opacity: 0, y: 10 },
@@ -4060,16 +4500,16 @@ ${match.trim()}
4060
4500
  transition: { duration: 0.3 },
4061
4501
  className: `flex ${isCompact ? "gap-2" : "gap-3"} ${isUser ? "flex-row-reverse" : "flex-row"} items-start`,
4062
4502
  children: [
4063
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
4503
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
4064
4504
  "div",
4065
4505
  {
4066
4506
  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" : ""}`,
4067
4507
  style: isUser ? { background: `linear-gradient(135deg, ${primaryColor}, ${accentColor})` } : {},
4068
- children: isUser ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_lucide_react7.User, { className: `${isCompact ? "w-3.5 h-3.5" : "w-4 h-4"} text-white` }) : /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_lucide_react7.Bot, { className: `${isCompact ? "w-3.5 h-3.5" : "w-4 h-4"}` })
4508
+ children: isUser ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_lucide_react10.User, { className: `${isCompact ? "w-3.5 h-3.5" : "w-4 h-4"} text-white` }) : /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_lucide_react10.Bot, { className: `${isCompact ? "w-3.5 h-3.5" : "w-4 h-4"}` })
4069
4509
  }
4070
4510
  ),
4071
- /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("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: [
4072
- !isUser && message.thinking && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
4511
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("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: [
4512
+ !isUser && message.thinking && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
4073
4513
  ThinkingBlock,
4074
4514
  {
4075
4515
  thinking: message.thinking,
@@ -4077,38 +4517,84 @@ ${match.trim()}
4077
4517
  isStreaming: isStreaming && !message.content
4078
4518
  }
4079
4519
  ),
4080
- /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
4520
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
4081
4521
  "div",
4082
4522
  {
4083
4523
  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"}`,
4084
4524
  style: isUser ? { background: `linear-gradient(135deg, ${primaryColor}, ${accentColor})` } : {},
4085
4525
  children: [
4086
- !isUser && isCompleted && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
4526
+ !isUser && isCompleted && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
4087
4527
  "button",
4088
4528
  {
4089
4529
  onClick: handleCopy,
4090
4530
  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`,
4091
4531
  title: copied ? "Copied!" : "Copy response",
4092
- children: copied ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_lucide_react7.Check, { className: "w-3.5 h-3.5" }) : /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_lucide_react7.Copy, { className: "w-3.5 h-3.5" })
4532
+ "aria-label": copied ? "Copied response" : "Copy response",
4533
+ children: copied ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_lucide_react10.Check, { className: "w-3.5 h-3.5" }) : /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_lucide_react10.Copy, { className: "w-3.5 h-3.5" })
4093
4534
  }
4094
4535
  ),
4095
- isStreaming && !message.content ? /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("span", { className: "flex items-center gap-1 py-1", children: [
4096
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "w-1.5 h-1.5 rounded-full bg-slate-400 dark:bg-white/60 animate-bounce [animation-delay:0ms]" }),
4097
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "w-1.5 h-1.5 rounded-full bg-slate-400 dark:bg-white/60 animate-bounce [animation-delay:150ms]" }),
4098
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "w-1.5 h-1.5 rounded-full bg-slate-400 dark:bg-white/60 animate-bounce [animation-delay:300ms]" })
4099
- ] }) : isUser ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "text-white font-medium whitespace-pre-wrap break-words text-sm leading-relaxed", style: { color: "#ffffff" }, children: message.content }) : /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: `prose ${isCompact ? "prose-xs" : "prose-sm"} max-w-none break-words dark:prose-invert`, children: [
4100
- structuredContent.payload && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
4101
- UIDispatcher,
4536
+ isStreaming && !message.content ? /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("span", { className: "flex items-center gap-1 py-1", children: [
4537
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "w-1.5 h-1.5 rounded-full bg-slate-400 dark:bg-white/60 animate-bounce [animation-delay:0ms]" }),
4538
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "w-1.5 h-1.5 rounded-full bg-slate-400 dark:bg-white/60 animate-bounce [animation-delay:150ms]" }),
4539
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "w-1.5 h-1.5 rounded-full bg-slate-400 dark:bg-white/60 animate-bounce [animation-delay:300ms]" })
4540
+ ] }) : isUser ? isEditing ? /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "space-y-2 min-w-[220px]", children: [
4541
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
4542
+ "textarea",
4102
4543
  {
4103
- rawContent: structuredContent.payload,
4104
- primaryColor,
4105
- accentColor,
4106
- isStreaming,
4107
- onAddToCart,
4108
- viewportSize
4544
+ value: editDraft,
4545
+ onChange: (e) => setEditDraft(e.target.value),
4546
+ rows: 2,
4547
+ "aria-label": "Edit message",
4548
+ 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"
4109
4549
  }
4110
4550
  ),
4111
- !shouldRenderStructuredOnly && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
4551
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "flex items-center justify-end gap-1.5", children: [
4552
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
4553
+ "button",
4554
+ {
4555
+ type: "button",
4556
+ onClick: () => {
4557
+ setEditDraft(message.content);
4558
+ setIsEditing(false);
4559
+ },
4560
+ className: "px-2.5 py-1 rounded-lg text-[11px] font-medium bg-white/15 hover:bg-white/25 text-white cursor-pointer",
4561
+ children: "Cancel"
4562
+ }
4563
+ ),
4564
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
4565
+ "button",
4566
+ {
4567
+ type: "button",
4568
+ onClick: () => {
4569
+ const trimmed = editDraft.trim();
4570
+ if (trimmed && onEditMessage) {
4571
+ onEditMessage(message.id, trimmed);
4572
+ }
4573
+ setIsEditing(false);
4574
+ },
4575
+ className: "px-2.5 py-1 rounded-lg text-[11px] font-semibold bg-white text-slate-900 hover:bg-white/90 cursor-pointer",
4576
+ children: "Save & Send"
4577
+ }
4578
+ )
4579
+ ] })
4580
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "relative flex items-start gap-2", children: [
4581
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "text-white font-medium whitespace-pre-wrap break-words text-sm leading-relaxed", style: { color: "#ffffff" }, children: message.content }),
4582
+ onEditMessage && !isStreaming && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
4583
+ "button",
4584
+ {
4585
+ type: "button",
4586
+ onClick: () => {
4587
+ setEditDraft(message.content);
4588
+ setIsEditing(true);
4589
+ },
4590
+ title: "Edit message",
4591
+ "aria-label": "Edit message",
4592
+ 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",
4593
+ children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_lucide_react10.Pencil, { className: "w-3 h-3" })
4594
+ }
4595
+ )
4596
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: `prose ${isCompact ? "prose-xs" : "prose-sm"} max-w-none break-words dark:prose-invert`, children: [
4597
+ !shouldRenderStructuredOnly && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
4112
4598
  import_react_markdown.default,
4113
4599
  {
4114
4600
  components: markdownComponents,
@@ -4117,7 +4603,18 @@ ${match.trim()}
4117
4603
  children: processedMarkdown
4118
4604
  }
4119
4605
  ),
4120
- isStreaming && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
4606
+ !isStreaming && structuredContent.payload && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
4607
+ UIDispatcher,
4608
+ {
4609
+ rawContent: structuredContent.payload,
4610
+ primaryColor,
4611
+ accentColor,
4612
+ isStreaming,
4613
+ onAddToCart,
4614
+ viewportSize
4615
+ }
4616
+ ),
4617
+ isStreaming && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
4121
4618
  "span",
4122
4619
  {
4123
4620
  className: "inline-block w-2.5 h-4 ml-1.5 animate-[pulse_1.2s_infinite] align-middle rounded-sm",
@@ -4130,33 +4627,14 @@ ${match.trim()}
4130
4627
  ),
4131
4628
  (() => {
4132
4629
  var _a2, _b;
4133
- if (isUser || structuredContent.payload) return null;
4134
- if (isStreaming && !message.uiTransformation && sources && sources.length > 0) {
4135
- const hasProductSource = sources.some(
4136
- (s) => s.metadata && Object.keys(s.metadata).some(
4137
- (k) => ["name", "title", "price", "brand", "image", "product", "sku", "category"].includes(k.toLowerCase())
4138
- )
4139
- );
4140
- if (hasProductSource) {
4141
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "w-full mt-3", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
4142
- VisualizationRenderer,
4143
- {
4144
- data: { type: "product_carousel", title: "Recommended Products", description: "Loading...", data: [] },
4145
- primaryColor,
4146
- onAddToCart,
4147
- className: "rounded-3xl border border-slate-200/60 dark:border-white/10 bg-white/90 dark:bg-slate-900/80 p-4",
4148
- isStreaming: true
4149
- }
4150
- ) });
4151
- }
4152
- }
4630
+ if (isUser || isStreaming || structuredContent.payload) return null;
4153
4631
  if (!message.uiTransformation) return null;
4154
4632
  const ui = message.uiTransformation;
4155
4633
  const textContent = (_b = (_a2 = ui.data) == null ? void 0 : _a2.content) != null ? _b : "";
4156
4634
  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");
4157
4635
  const shouldShow = !isNegativeOrFallbackText && ui.type !== "text" && (ui.type === "table" || !["text", "table"].includes(ui.type));
4158
4636
  if (!shouldShow) return null;
4159
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "w-full mt-3", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
4637
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "w-full mt-3", children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
4160
4638
  VisualizationRenderer,
4161
4639
  {
4162
4640
  data: ui,
@@ -4167,7 +4645,7 @@ ${match.trim()}
4167
4645
  }
4168
4646
  ) });
4169
4647
  })(),
4170
- !isUser && !hasRichUI && !shouldSuppressProductCarousel && !hasRenderedCarousel && allProducts.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "w-full mt-1", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
4648
+ !isUser && !isStreaming && !hasRichUI && !shouldSuppressProductCarousel && !hasRenderedCarousel && allProducts.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "w-full mt-1", children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
4171
4649
  ProductCarousel,
4172
4650
  {
4173
4651
  products: allProducts,
@@ -4175,49 +4653,61 @@ ${match.trim()}
4175
4653
  onAddToCart
4176
4654
  }
4177
4655
  ) }),
4178
- !isUser && /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: `flex items-center gap-3 mt-1.5 w-full flex-wrap ${isCompact ? "gap-2" : "gap-3"}`, children: [
4179
- showSourcesProp && sources && sources.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
4656
+ !isUser && /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: `flex items-center gap-3 mt-1.5 w-full flex-wrap ${isCompact ? "gap-2" : "gap-3"}`, children: [
4657
+ showSourcesProp && sources && sources.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
4180
4658
  "button",
4181
4659
  {
4182
4660
  onClick: () => setShowSources((s) => !s),
4183
4661
  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",
4184
4662
  children: [
4185
- showSources ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_lucide_react7.ChevronDown, { className: "w-3 h-3" }) : /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_lucide_react7.ChevronRight, { className: "w-3 h-3" }),
4663
+ showSources ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_lucide_react10.ChevronDown, { className: "w-3 h-3" }) : /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_lucide_react10.ChevronRight, { className: "w-3 h-3" }),
4186
4664
  sources.length,
4187
4665
  " source",
4188
4666
  sources.length !== 1 ? "s" : ""
4189
4667
  ]
4190
4668
  }
4191
4669
  ),
4192
- message.trace && /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
4670
+ message.trace && /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
4193
4671
  "button",
4194
4672
  {
4195
4673
  onClick: () => setShowTrace((t) => !t),
4196
4674
  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",
4197
4675
  children: [
4198
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_lucide_react7.Activity, { className: "w-3 h-3" }),
4676
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_lucide_react10.Activity, { className: "w-3 h-3" }),
4199
4677
  showTrace ? "Hide trace" : "Trace"
4200
4678
  ]
4201
4679
  }
4202
4680
  ),
4203
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "flex-1" }),
4204
- timeLabel && isCompleted && /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("span", { className: "flex items-center gap-1 text-[10px] text-slate-300 dark:text-white/20 font-medium select-none", children: [
4205
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_lucide_react7.Clock, { className: "w-2.5 h-2.5" }),
4681
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "flex-1" }),
4682
+ timeLabel && isCompleted && /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("span", { className: "flex items-center gap-1 text-[10px] text-slate-300 dark:text-white/20 font-medium select-none", children: [
4683
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_lucide_react10.Clock, { className: "w-2.5 h-2.5" }),
4206
4684
  timeLabel
4207
4685
  ] }),
4208
- isCompleted && onToggleSpeak && /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
4686
+ isCompleted && onRegenerate && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
4687
+ "button",
4688
+ {
4689
+ type: "button",
4690
+ onClick: onRegenerate,
4691
+ title: "Regenerate response",
4692
+ "aria-label": "Regenerate response",
4693
+ 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",
4694
+ children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_lucide_react10.RotateCcw, { className: "w-3 h-3" })
4695
+ }
4696
+ ),
4697
+ isCompleted && onToggleSpeak && /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
4209
4698
  "button",
4210
4699
  {
4211
4700
  onClick: () => onToggleSpeak(message.content, message.id),
4212
4701
  title: isSpeaking ? "Stop speaking" : "Read aloud",
4702
+ "aria-label": isSpeaking ? "Stop speaking" : "Read aloud",
4213
4703
  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"}`,
4214
4704
  children: [
4215
- isSpeaking ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_lucide_react7.VolumeX, { className: "w-3 h-3 text-indigo-500" }) : /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_lucide_react7.Volume2, { className: "w-3 h-3" }),
4216
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("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" })
4705
+ isSpeaking ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_lucide_react10.VolumeX, { className: "w-3 h-3 text-indigo-500" }) : /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_lucide_react10.Volume2, { className: "w-3 h-3" }),
4706
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("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" })
4217
4707
  ]
4218
4708
  }
4219
4709
  ),
4220
- isCompleted && onFeedback && message.id && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
4710
+ isCompleted && onFeedback && message.id && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
4221
4711
  FeedbackBar,
4222
4712
  {
4223
4713
  messageId: message.id,
@@ -4226,25 +4716,25 @@ ${match.trim()}
4226
4716
  }
4227
4717
  )
4228
4718
  ] }),
4229
- /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "w-full flex flex-col min-w-0", children: [
4230
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_framer_motion2.AnimatePresence, { children: showSourcesProp && showSources && sources && sources.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
4719
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "w-full flex flex-col min-w-0", children: [
4720
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_framer_motion2.AnimatePresence, { children: showSourcesProp && showSources && sources && sources.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
4231
4721
  import_framer_motion2.motion.div,
4232
4722
  {
4233
4723
  initial: { height: 0, opacity: 0 },
4234
4724
  animate: { height: "auto", opacity: 1 },
4235
4725
  exit: { height: 0, opacity: 0 },
4236
4726
  className: "mt-1 flex flex-col gap-2 overflow-hidden",
4237
- children: sources.map((src, i) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(SourceCard, { source: src, index: i }, src.id))
4727
+ children: sources.map((src, i) => /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(SourceCard, { source: src, index: i }, src.id))
4238
4728
  }
4239
4729
  ) }),
4240
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_framer_motion2.AnimatePresence, { children: showTrace && message.trace && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
4730
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_framer_motion2.AnimatePresence, { children: showTrace && message.trace && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
4241
4731
  import_framer_motion2.motion.div,
4242
4732
  {
4243
4733
  initial: { height: 0, opacity: 0 },
4244
4734
  animate: { height: "auto", opacity: 1 },
4245
4735
  exit: { height: 0, opacity: 0 },
4246
4736
  className: "overflow-hidden",
4247
- children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(ObservabilityPanel, { trace: message.trace, primaryColor })
4737
+ children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(ObservabilityPanel, { trace: message.trace, primaryColor })
4248
4738
  }
4249
4739
  ) })
4250
4740
  ] })
@@ -4255,10 +4745,10 @@ ${match.trim()}
4255
4745
  }
4256
4746
 
4257
4747
  // src/hooks/useRagChat.ts
4258
- var import_react12 = require("react");
4748
+ var import_react15 = require("react");
4259
4749
 
4260
4750
  // src/hooks/useStoredMessages.ts
4261
- var React12 = __toESM(require("react"));
4751
+ var React15 = __toESM(require("react"));
4262
4752
  function readStoredMessages(storageKey) {
4263
4753
  if (typeof window === "undefined") {
4264
4754
  return [];
@@ -4275,9 +4765,9 @@ function readStoredMessages(storageKey) {
4275
4765
  }
4276
4766
  }
4277
4767
  function useStoredMessages(storageKey, persist) {
4278
- const [messages, setMessages] = React12.useState([]);
4279
- const isLoaded = React12.useRef(false);
4280
- React12.useEffect(() => {
4768
+ const [messages, setMessages] = React15.useState([]);
4769
+ const isLoaded = React15.useRef(false);
4770
+ React15.useEffect(() => {
4281
4771
  if (persist) {
4282
4772
  const loaded = readStoredMessages(storageKey);
4283
4773
  if (loaded.length > 0) {
@@ -4286,7 +4776,7 @@ function useStoredMessages(storageKey, persist) {
4286
4776
  }
4287
4777
  isLoaded.current = true;
4288
4778
  }, [storageKey, persist]);
4289
- React12.useEffect(() => {
4779
+ React15.useEffect(() => {
4290
4780
  if (!isLoaded.current || !persist || typeof window === "undefined") {
4291
4781
  return;
4292
4782
  }
@@ -4330,13 +4820,13 @@ function useRagChat(projectId, options = {}) {
4330
4820
  const primaryUrl = apiUrl || `${retrivoraApiBase.replace(/\/$/, "")}/chat`;
4331
4821
  const storageKey = `rag_chat_${projectId}`;
4332
4822
  const [messages, setMessages] = useStoredMessages(storageKey, persist);
4333
- const [isLoading, setIsLoading] = (0, import_react12.useState)(false);
4334
- const [error, setError] = (0, import_react12.useState)(null);
4335
- const lastInputRef = (0, import_react12.useRef)("");
4336
- const messagesRef = (0, import_react12.useRef)(messages);
4337
- const abortControllerRef = (0, import_react12.useRef)(null);
4338
- const errorTimeoutRef = (0, import_react12.useRef)(null);
4339
- const resolvedLicenseKey = (0, import_react12.useMemo)(() => {
4823
+ const [isLoading, setIsLoading] = (0, import_react15.useState)(false);
4824
+ const [error, setError] = (0, import_react15.useState)(null);
4825
+ const lastInputRef = (0, import_react15.useRef)("");
4826
+ const messagesRef = (0, import_react15.useRef)(messages);
4827
+ const abortControllerRef = (0, import_react15.useRef)(null);
4828
+ const errorTimeoutRef = (0, import_react15.useRef)(null);
4829
+ const resolvedLicenseKey = (0, import_react15.useMemo)(() => {
4340
4830
  var _a;
4341
4831
  const getHeader = (headersObj, name) => {
4342
4832
  if (!headersObj) return void 0;
@@ -4348,30 +4838,31 @@ function useRagChat(projectId, options = {}) {
4348
4838
  };
4349
4839
  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 : "") || "";
4350
4840
  }, [options.licenseKey, options.headers]);
4351
- const setTemporaryError = (0, import_react12.useCallback)((msg) => {
4352
- setError(msg);
4841
+ const clearError = (0, import_react15.useCallback)(() => {
4353
4842
  if (errorTimeoutRef.current) {
4354
4843
  clearTimeout(errorTimeoutRef.current);
4355
4844
  errorTimeoutRef.current = null;
4356
4845
  }
4357
- if (msg) {
4358
- errorTimeoutRef.current = setTimeout(() => {
4359
- setError(null);
4360
- errorTimeoutRef.current = null;
4361
- }, 5e3);
4846
+ setError(null);
4847
+ }, []);
4848
+ const setTemporaryError = (0, import_react15.useCallback)((msg) => {
4849
+ if (errorTimeoutRef.current) {
4850
+ clearTimeout(errorTimeoutRef.current);
4851
+ errorTimeoutRef.current = null;
4362
4852
  }
4853
+ setError(msg);
4363
4854
  }, []);
4364
- (0, import_react12.useEffect)(() => {
4855
+ (0, import_react15.useEffect)(() => {
4365
4856
  return () => {
4366
4857
  if (errorTimeoutRef.current) {
4367
4858
  clearTimeout(errorTimeoutRef.current);
4368
4859
  }
4369
4860
  };
4370
4861
  }, []);
4371
- (0, import_react12.useEffect)(() => {
4862
+ (0, import_react15.useEffect)(() => {
4372
4863
  messagesRef.current = messages;
4373
4864
  }, [messages]);
4374
- const sendMessage = (0, import_react12.useCallback)(
4865
+ const sendMessage = (0, import_react15.useCallback)(
4375
4866
  async (text, opts) => {
4376
4867
  var _a, _b, _c, _d, _e;
4377
4868
  const trimmed = text.trim();
@@ -4575,12 +5066,12 @@ function useRagChat(projectId, options = {}) {
4575
5066
  },
4576
5067
  [apiUrl, isLoading, namespace, onError, onReply, projectId, setMessages, options.headers, options.sessionId, setTemporaryError, resolvedLicenseKey]
4577
5068
  );
4578
- const clear = (0, import_react12.useCallback)(() => {
5069
+ const clear = (0, import_react15.useCallback)(() => {
4579
5070
  setMessages([]);
4580
5071
  setError(null);
4581
5072
  if (persist) localStorage.removeItem(storageKey);
4582
5073
  }, [persist, setMessages, storageKey]);
4583
- const retry = (0, import_react12.useCallback)(async () => {
5074
+ const retry = (0, import_react15.useCallback)(async () => {
4584
5075
  if (lastInputRef.current) {
4585
5076
  const latestMessage = messagesRef.current[messagesRef.current.length - 1];
4586
5077
  await sendMessage(lastInputRef.current, {
@@ -4588,14 +5079,44 @@ function useRagChat(projectId, options = {}) {
4588
5079
  });
4589
5080
  }
4590
5081
  }, [sendMessage]);
4591
- const stop = (0, import_react12.useCallback)(() => {
5082
+ const regenerate = (0, import_react15.useCallback)(async () => {
5083
+ if (isLoading) return;
5084
+ const current = messagesRef.current;
5085
+ let lastUserIdx = -1;
5086
+ for (let i = current.length - 1; i >= 0; i--) {
5087
+ if (current[i].role === "user") {
5088
+ lastUserIdx = i;
5089
+ break;
5090
+ }
5091
+ }
5092
+ if (lastUserIdx === -1) return;
5093
+ const truncated = current.slice(0, lastUserIdx + 1);
5094
+ messagesRef.current = truncated;
5095
+ setMessages(truncated);
5096
+ await sendMessage(truncated[lastUserIdx].content, { skipUserMessage: true });
5097
+ }, [isLoading, sendMessage, setMessages]);
5098
+ const editAndResend = (0, import_react15.useCallback)(async (messageId, newText) => {
5099
+ const trimmed = newText.trim();
5100
+ if (!trimmed || isLoading) return;
5101
+ const current = messagesRef.current;
5102
+ const idx = current.findIndex((m) => m.id === messageId && m.role === "user");
5103
+ if (idx === -1) return;
5104
+ const updated = [
5105
+ ...current.slice(0, idx),
5106
+ __spreadProps(__spreadValues({}, current[idx]), { content: trimmed })
5107
+ ];
5108
+ messagesRef.current = updated;
5109
+ setMessages(updated);
5110
+ await sendMessage(trimmed, { skipUserMessage: true });
5111
+ }, [isLoading, sendMessage, setMessages]);
5112
+ const stop = (0, import_react15.useCallback)(() => {
4592
5113
  if (abortControllerRef.current) {
4593
5114
  abortControllerRef.current.abort();
4594
5115
  abortControllerRef.current = null;
4595
5116
  }
4596
5117
  setIsLoading(false);
4597
5118
  }, []);
4598
- const loadHistory = (0, import_react12.useCallback)(async (sessionId) => {
5119
+ const loadHistory = (0, import_react15.useCallback)(async (sessionId) => {
4599
5120
  setIsLoading(true);
4600
5121
  setError(null);
4601
5122
  try {
@@ -4628,7 +5149,7 @@ function useRagChat(projectId, options = {}) {
4628
5149
  setIsLoading(false);
4629
5150
  }
4630
5151
  }, [retrivoraApiBase, onError, setMessages, setTemporaryError, resolvedLicenseKey, projectId, options.headers]);
4631
- const clearHistory = (0, import_react12.useCallback)(async (sessionId) => {
5152
+ const clearHistory = (0, import_react15.useCallback)(async (sessionId) => {
4632
5153
  setIsLoading(true);
4633
5154
  setError(null);
4634
5155
  try {
@@ -4650,7 +5171,7 @@ function useRagChat(projectId, options = {}) {
4650
5171
  setIsLoading(false);
4651
5172
  }
4652
5173
  }, [retrivoraApiBase, onError, persist, setMessages, storageKey, setTemporaryError, resolvedLicenseKey, projectId, options.headers]);
4653
- const submitFeedback = (0, import_react12.useCallback)(async (messageId, rating, comment) => {
5174
+ const submitFeedback = (0, import_react15.useCallback)(async (messageId, rating, comment) => {
4654
5175
  try {
4655
5176
  const res = await fetch(`${retrivoraApiBase}/feedback`, {
4656
5177
  method: "POST",
@@ -4678,6 +5199,9 @@ function useRagChat(projectId, options = {}) {
4678
5199
  send: sendMessage,
4679
5200
  clear,
4680
5201
  retry,
5202
+ clearError,
5203
+ regenerate,
5204
+ editAndResend,
4681
5205
  setMessages,
4682
5206
  stop,
4683
5207
  loadHistory,
@@ -4687,7 +5211,7 @@ function useRagChat(projectId, options = {}) {
4687
5211
  }
4688
5212
 
4689
5213
  // src/hooks/useVoice.ts
4690
- var import_react13 = require("react");
5214
+ var import_react16 = require("react");
4691
5215
  function cleanMarkdownForSpeech(raw) {
4692
5216
  if (!raw) return "";
4693
5217
  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();
@@ -4702,23 +5226,23 @@ function useVoice(options = {}) {
4702
5226
  onInterimResult,
4703
5227
  onError
4704
5228
  } = options;
4705
- const [isSupportedSTT, setIsSupportedSTT] = (0, import_react13.useState)(false);
4706
- const [isSupportedTTS, setIsSupportedTTS] = (0, import_react13.useState)(false);
4707
- const [isListening, setIsListening] = (0, import_react13.useState)(false);
4708
- const [transcript, setTranscript] = (0, import_react13.useState)("");
4709
- const [isSpeaking, setIsSpeaking] = (0, import_react13.useState)(false);
4710
- const [currentlySpeakingId, setCurrentlySpeakingId] = (0, import_react13.useState)(null);
4711
- const [autoSpeak, setAutoSpeak] = (0, import_react13.useState)(initialAutoSpeak);
4712
- const recognitionRef = (0, import_react13.useRef)(null);
4713
- const onTranscriptRef = (0, import_react13.useRef)(onTranscript);
4714
- const onInterimResultRef = (0, import_react13.useRef)(onInterimResult);
4715
- const onErrorRef = (0, import_react13.useRef)(onError);
4716
- (0, import_react13.useEffect)(() => {
5229
+ const [isSupportedSTT, setIsSupportedSTT] = (0, import_react16.useState)(false);
5230
+ const [isSupportedTTS, setIsSupportedTTS] = (0, import_react16.useState)(false);
5231
+ const [isListening, setIsListening] = (0, import_react16.useState)(false);
5232
+ const [transcript, setTranscript] = (0, import_react16.useState)("");
5233
+ const [isSpeaking, setIsSpeaking] = (0, import_react16.useState)(false);
5234
+ const [currentlySpeakingId, setCurrentlySpeakingId] = (0, import_react16.useState)(null);
5235
+ const [autoSpeak, setAutoSpeak] = (0, import_react16.useState)(initialAutoSpeak);
5236
+ const recognitionRef = (0, import_react16.useRef)(null);
5237
+ const onTranscriptRef = (0, import_react16.useRef)(onTranscript);
5238
+ const onInterimResultRef = (0, import_react16.useRef)(onInterimResult);
5239
+ const onErrorRef = (0, import_react16.useRef)(onError);
5240
+ (0, import_react16.useEffect)(() => {
4717
5241
  onTranscriptRef.current = onTranscript;
4718
5242
  onInterimResultRef.current = onInterimResult;
4719
5243
  onErrorRef.current = onError;
4720
5244
  }, [onTranscript, onInterimResult, onError]);
4721
- (0, import_react13.useEffect)(() => {
5245
+ (0, import_react16.useEffect)(() => {
4722
5246
  if (typeof window !== "undefined") {
4723
5247
  const win = window;
4724
5248
  const HasSTT = Boolean(win.SpeechRecognition || win.webkitSpeechRecognition);
@@ -4727,7 +5251,7 @@ function useVoice(options = {}) {
4727
5251
  setIsSupportedTTS(HasTTS);
4728
5252
  }
4729
5253
  }, []);
4730
- const stopListening = (0, import_react13.useCallback)(() => {
5254
+ const stopListening = (0, import_react16.useCallback)(() => {
4731
5255
  if (recognitionRef.current) {
4732
5256
  try {
4733
5257
  recognitionRef.current.stop();
@@ -4736,7 +5260,7 @@ function useVoice(options = {}) {
4736
5260
  }
4737
5261
  setIsListening(false);
4738
5262
  }, []);
4739
- const startListening = (0, import_react13.useCallback)((overrideLang) => {
5263
+ const startListening = (0, import_react16.useCallback)((overrideLang) => {
4740
5264
  var _a, _b;
4741
5265
  if (typeof window === "undefined") return;
4742
5266
  const win = window;
@@ -4802,21 +5326,21 @@ function useVoice(options = {}) {
4802
5326
  (_b = onErrorRef.current) == null ? void 0 : _b.call(onErrorRef, (err == null ? void 0 : err.message) || "Failed to start microphone");
4803
5327
  }
4804
5328
  }, [lang, stopListening]);
4805
- const toggleListening = (0, import_react13.useCallback)(() => {
5329
+ const toggleListening = (0, import_react16.useCallback)(() => {
4806
5330
  if (isListening) {
4807
5331
  stopListening();
4808
5332
  } else {
4809
5333
  startListening();
4810
5334
  }
4811
5335
  }, [isListening, startListening, stopListening]);
4812
- const stopSpeaking = (0, import_react13.useCallback)(() => {
5336
+ const stopSpeaking = (0, import_react16.useCallback)(() => {
4813
5337
  if (typeof window !== "undefined" && window.speechSynthesis) {
4814
5338
  window.speechSynthesis.cancel();
4815
5339
  }
4816
5340
  setIsSpeaking(false);
4817
5341
  setCurrentlySpeakingId(null);
4818
5342
  }, []);
4819
- const speak = (0, import_react13.useCallback)((text, messageId) => {
5343
+ const speak = (0, import_react16.useCallback)((text, messageId) => {
4820
5344
  var _a;
4821
5345
  if (typeof window === "undefined" || !window.speechSynthesis) {
4822
5346
  (_a = onErrorRef.current) == null ? void 0 : _a.call(onErrorRef, "Text-to-speech is not supported in this browser.");
@@ -4853,7 +5377,7 @@ function useVoice(options = {}) {
4853
5377
  };
4854
5378
  window.speechSynthesis.speak(utterance);
4855
5379
  }, [lang, pitch, rate, stopSpeaking]);
4856
- const toggleSpeak = (0, import_react13.useCallback)((text, messageId) => {
5380
+ const toggleSpeak = (0, import_react16.useCallback)((text, messageId) => {
4857
5381
  const targetId = messageId || `speech_${Date.now()}`;
4858
5382
  if (isSpeaking && currentlySpeakingId === targetId) {
4859
5383
  stopSpeaking();
@@ -4861,10 +5385,10 @@ function useVoice(options = {}) {
4861
5385
  speak(text, targetId);
4862
5386
  }
4863
5387
  }, [isSpeaking, currentlySpeakingId, speak, stopSpeaking]);
4864
- const toggleAutoSpeak = (0, import_react13.useCallback)(() => {
5388
+ const toggleAutoSpeak = (0, import_react16.useCallback)(() => {
4865
5389
  setAutoSpeak((prev) => !prev);
4866
5390
  }, []);
4867
- (0, import_react13.useEffect)(() => {
5391
+ (0, import_react16.useEffect)(() => {
4868
5392
  return () => {
4869
5393
  if (recognitionRef.current) {
4870
5394
  try {
@@ -4897,7 +5421,7 @@ function useVoice(options = {}) {
4897
5421
  }
4898
5422
 
4899
5423
  // src/components/ChatWindow.tsx
4900
- var import_jsx_runtime14 = require("react/jsx-runtime");
5424
+ var import_jsx_runtime16 = require("react/jsx-runtime");
4901
5425
  function ChatWindow({
4902
5426
  className = "",
4903
5427
  style,
@@ -4936,15 +5460,15 @@ function ChatWindow({
4936
5460
  const effectiveLicenseKey = licenseKeyProp || contextLicenseKey;
4937
5461
  const effectiveHeaders = headers || contextHeaders;
4938
5462
  const effectiveApiBase = retrivoraApiBase || contextApiBase;
4939
- const [input, setInput] = (0, import_react14.useState)("");
4940
- const [mounted, setMounted] = (0, import_react14.useState)(false);
4941
- const [viewportSize, setViewportSize] = (0, import_react14.useState)("large");
4942
- const windowRef = (0, import_react14.useRef)(null);
4943
- const scrollContainerRef = (0, import_react14.useRef)(null);
4944
- const bottomRef = (0, import_react14.useRef)(null);
4945
- const inputRef = (0, import_react14.useRef)(null);
4946
- const [userScrolledUp, setUserScrolledUp] = (0, import_react14.useState)(false);
4947
- const [internalSessionId, setInternalSessionId] = (0, import_react14.useState)(sessionIdProp || "default");
5463
+ const [input, setInput] = (0, import_react17.useState)("");
5464
+ const [mounted, setMounted] = (0, import_react17.useState)(false);
5465
+ const [viewportSize, setViewportSize] = (0, import_react17.useState)("large");
5466
+ const windowRef = (0, import_react17.useRef)(null);
5467
+ const scrollContainerRef = (0, import_react17.useRef)(null);
5468
+ const bottomRef = (0, import_react17.useRef)(null);
5469
+ const inputRef = (0, import_react17.useRef)(null);
5470
+ const [userScrolledUp, setUserScrolledUp] = (0, import_react17.useState)(false);
5471
+ const [internalSessionId, setInternalSessionId] = (0, import_react17.useState)(sessionIdProp || "default");
4948
5472
  const activeSessionId = sessionIdProp || internalSessionId;
4949
5473
  const {
4950
5474
  messages,
@@ -4953,6 +5477,10 @@ function ChatWindow({
4953
5477
  isLoading,
4954
5478
  error,
4955
5479
  stop,
5480
+ retry,
5481
+ clearError,
5482
+ regenerate,
5483
+ editAndResend,
4956
5484
  submitFeedback,
4957
5485
  loadHistory,
4958
5486
  clearHistory: dbClearHistory
@@ -4965,13 +5493,13 @@ function ChatWindow({
4965
5493
  persist: projectSettings == null ? void 0 : projectSettings.widget.persistConversations,
4966
5494
  sessionId: activeSessionId
4967
5495
  });
4968
- (0, import_react14.useEffect)(() => {
5496
+ (0, import_react17.useEffect)(() => {
4969
5497
  if (activeSessionId) {
4970
5498
  loadHistory(activeSessionId);
4971
5499
  }
4972
5500
  }, [activeSessionId, loadHistory]);
4973
- const [sessions, setSessions] = (0, import_react14.useState)([]);
4974
- const fetchSessions = (0, import_react14.useCallback)(async () => {
5501
+ const [sessions, setSessions] = (0, import_react17.useState)([]);
5502
+ const fetchSessions = (0, import_react17.useCallback)(async () => {
4975
5503
  try {
4976
5504
  const base = effectiveApiBase || "https://www.retrivora.com/api/retrivora";
4977
5505
  const res = await fetch(`${base}/sessions`, {
@@ -5012,20 +5540,20 @@ function ChatWindow({
5012
5540
  console.warn("[ChatWindow] Failed to load sessions list:", e);
5013
5541
  }
5014
5542
  }, [effectiveApiBase, effectiveLicenseKey, projectId, effectiveHeaders]);
5015
- (0, import_react14.useEffect)(() => {
5543
+ (0, import_react17.useEffect)(() => {
5016
5544
  if (showHistory && mounted) {
5017
5545
  fetchSessions();
5018
5546
  }
5019
5547
  }, [showHistory, mounted, fetchSessions, activeSessionId]);
5020
- (0, import_react14.useEffect)(() => {
5548
+ (0, import_react17.useEffect)(() => {
5021
5549
  if (!isLoading && showHistory && mounted) {
5022
5550
  fetchSessions();
5023
5551
  }
5024
5552
  }, [isLoading, showHistory, mounted, fetchSessions]);
5025
- const [suggestions, setSuggestions] = (0, import_react14.useState)([]);
5026
- const [isSuggesting, setIsSuggesting] = (0, import_react14.useState)(false);
5027
- const [isUploadModalOpen, setIsUploadModalOpen] = (0, import_react14.useState)(false);
5028
- const [voiceError, setVoiceError] = (0, import_react14.useState)(null);
5553
+ const [suggestions, setSuggestions] = (0, import_react17.useState)([]);
5554
+ const [isSuggesting, setIsSuggesting] = (0, import_react17.useState)(false);
5555
+ const [isUploadModalOpen, setIsUploadModalOpen] = (0, import_react17.useState)(false);
5556
+ const [voiceError, setVoiceError] = (0, import_react17.useState)(null);
5029
5557
  const {
5030
5558
  isSupportedSTT,
5031
5559
  isSupportedTTS,
@@ -5052,8 +5580,8 @@ function ChatWindow({
5052
5580
  setTimeout(() => setVoiceError(null), 6e3);
5053
5581
  }
5054
5582
  });
5055
- const prevIsLoadingRef = (0, import_react14.useRef)(isLoading);
5056
- (0, import_react14.useEffect)(() => {
5583
+ const prevIsLoadingRef = (0, import_react17.useRef)(isLoading);
5584
+ (0, import_react17.useEffect)(() => {
5057
5585
  if (prevIsLoadingRef.current && !isLoading && autoSpeak && messages.length > 0) {
5058
5586
  const lastMsg = messages[messages.length - 1];
5059
5587
  if (lastMsg && lastMsg.role === "assistant" && lastMsg.content) {
@@ -5064,10 +5592,10 @@ function ChatWindow({
5064
5592
  }, [isLoading, autoSpeak, messages, speak]);
5065
5593
  const isDisabled = isLicenseValid === false || isConfigLoaded === false;
5066
5594
  const errorMsg = initError || null;
5067
- (0, import_react14.useEffect)(() => {
5595
+ (0, import_react17.useEffect)(() => {
5068
5596
  setMounted(true);
5069
5597
  }, []);
5070
- (0, import_react14.useEffect)(() => {
5598
+ (0, import_react17.useEffect)(() => {
5071
5599
  const element = windowRef.current;
5072
5600
  if (!element || typeof ResizeObserver === "undefined") return;
5073
5601
  const resolveViewportSize = (width) => {
@@ -5083,25 +5611,25 @@ function ChatWindow({
5083
5611
  observer.observe(element);
5084
5612
  return () => observer.disconnect();
5085
5613
  }, []);
5086
- const handleScroll = (0, import_react14.useCallback)(() => {
5614
+ const handleScroll = (0, import_react17.useCallback)(() => {
5087
5615
  const el = scrollContainerRef.current;
5088
5616
  if (!el) return;
5089
5617
  const isAtBottom = el.scrollHeight - el.scrollTop - el.clientHeight < 80;
5090
5618
  setUserScrolledUp(!isAtBottom);
5091
5619
  }, []);
5092
- const scrollToBottom = (0, import_react14.useCallback)((smooth = true) => {
5620
+ const scrollToBottom = (0, import_react17.useCallback)((smooth = true) => {
5093
5621
  if (bottomRef.current) {
5094
5622
  bottomRef.current.scrollIntoView({ behavior: smooth ? "smooth" : "auto" });
5095
5623
  setUserScrolledUp(false);
5096
5624
  }
5097
5625
  }, []);
5098
- (0, import_react14.useEffect)(() => {
5626
+ (0, import_react17.useEffect)(() => {
5099
5627
  var _a2;
5100
5628
  if ((messages.length > 0 || isLoading) && !userScrolledUp) {
5101
5629
  (_a2 = bottomRef.current) == null ? void 0 : _a2.scrollIntoView({ behavior: "smooth" });
5102
5630
  }
5103
5631
  }, [messages, isLoading, userScrolledUp]);
5104
- const sendMessage = (0, import_react14.useCallback)(async () => {
5632
+ const sendMessage = (0, import_react17.useCallback)(async () => {
5105
5633
  const text = input.trim();
5106
5634
  if (!text || isLoading) return;
5107
5635
  if (isListening) {
@@ -5141,7 +5669,7 @@ function ChatWindow({
5141
5669
  const isEmpty = messages.length === 0;
5142
5670
  const currentRadius = BORDER_RADIUS_MAP[ui.borderRadius || "xl"];
5143
5671
  const isGlass = ui.visualStyle !== "solid";
5144
- (0, import_react14.useEffect)(() => {
5672
+ (0, import_react17.useEffect)(() => {
5145
5673
  if (input.trim().length < 2) {
5146
5674
  return;
5147
5675
  }
@@ -5180,21 +5708,21 @@ function ChatWindow({
5180
5708
  return () => clearTimeout(timer);
5181
5709
  }, [input, projectId, effectiveApiBase, effectiveHeaders, effectiveLicenseKey]);
5182
5710
  if (!isProjectSettingsLoading && isLicenseValid === false) {
5183
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("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: [
5184
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "w-10 h-10 rounded-full bg-rose-500/10 text-rose-500 flex items-center justify-center mb-3", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_lucide_react8.TriangleAlert, { className: "w-5 h-5" }) }),
5185
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("h3", { className: "text-sm font-bold text-slate-900 dark:text-white mb-1", children: "Chat Unavailable" }),
5186
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("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." })
5711
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("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: [
5712
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "w-10 h-10 rounded-full bg-rose-500/10 text-rose-500 flex items-center justify-center mb-3", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react11.TriangleAlert, { className: "w-5 h-5" }) }),
5713
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("h3", { className: "text-sm font-bold text-slate-900 dark:text-white mb-1", children: "Chat Unavailable" }),
5714
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("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." })
5187
5715
  ] });
5188
5716
  }
5189
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
5717
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
5190
5718
  "div",
5191
5719
  {
5192
5720
  ref: windowRef,
5193
5721
  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}`,
5194
5722
  style: __spreadValues({ "--primary": ui.primaryColor, "--accent": ui.accentColor }, style),
5195
5723
  children: [
5196
- showHistory && /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("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: [
5197
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "p-3 border-b border-slate-200 dark:border-white/10", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
5724
+ showHistory && /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("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: [
5725
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "p-3 border-b border-slate-200 dark:border-white/10", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
5198
5726
  "button",
5199
5727
  {
5200
5728
  onClick: () => {
@@ -5207,12 +5735,12 @@ function ChatWindow({
5207
5735
  },
5208
5736
  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",
5209
5737
  children: [
5210
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_lucide_react8.Plus, { className: "w-3.5 h-3.5 stroke-[2.5]" }),
5738
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react11.Plus, { className: "w-3.5 h-3.5 stroke-[2.5]" }),
5211
5739
  "New Chat"
5212
5740
  ]
5213
5741
  }
5214
5742
  ) }),
5215
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "flex-1 overflow-y-auto p-2 space-y-4 scrollbar-thin", children: sessions.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "text-center text-slate-400 dark:text-white/20 text-xs py-8 font-medium", children: "No previous chats" }) : (() => {
5743
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "flex-1 overflow-y-auto p-2 space-y-4 scrollbar-thin", children: sessions.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "text-center text-slate-400 dark:text-white/20 text-xs py-8 font-medium", children: "No previous chats" }) : (() => {
5216
5744
  const now = /* @__PURE__ */ new Date();
5217
5745
  const startOfToday = new Date(now.getFullYear(), now.getMonth(), now.getDate());
5218
5746
  const startOfYesterday = new Date(startOfToday.getTime() - 24 * 60 * 60 * 1e3);
@@ -5235,34 +5763,34 @@ function ChatWindow({
5235
5763
  }
5236
5764
  const renderGroup = (title, list) => {
5237
5765
  if (list.length === 0) return null;
5238
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "space-y-1.5", children: [
5239
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "flex items-center px-2 py-1 select-none", children: [
5240
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "text-[9px] font-black uppercase tracking-wider text-slate-400 dark:text-white/30", children: title }),
5241
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "flex-grow border-t border-slate-200 dark:border-white/10 ml-2" })
5766
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "space-y-1.5", children: [
5767
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "flex items-center px-2 py-1 select-none", children: [
5768
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "text-[9px] font-black uppercase tracking-wider text-slate-400 dark:text-white/30", children: title }),
5769
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "flex-grow border-t border-slate-200 dark:border-white/10 ml-2" })
5242
5770
  ] }),
5243
5771
  list.map((s) => {
5244
5772
  const isActive = s.id === activeSessionId;
5245
5773
  const timeString = s.lastMessageAt ? new Date(s.lastMessageAt).toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" }) : "";
5246
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
5774
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
5247
5775
  "div",
5248
5776
  {
5249
5777
  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"}`,
5250
5778
  children: [
5251
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
5779
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
5252
5780
  "button",
5253
5781
  {
5254
5782
  onClick: () => setInternalSessionId(s.id),
5255
5783
  className: "flex-1 flex items-center gap-2 text-left min-w-0 pr-6 cursor-pointer",
5256
5784
  children: [
5257
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_lucide_react8.MessageSquare, { className: "w-3.5 h-3.5 opacity-60 shrink-0 mt-0.5" }),
5258
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "truncate flex-1", children: [
5259
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "truncate leading-snug", children: s.title || "Conversation" }),
5260
- timeString && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "text-[10px] text-slate-400 dark:text-white/30 font-medium mt-0.5", children: timeString })
5785
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react11.MessageSquare, { className: "w-3.5 h-3.5 opacity-60 shrink-0 mt-0.5" }),
5786
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "truncate flex-1", children: [
5787
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "truncate leading-snug", children: s.title || "Conversation" }),
5788
+ timeString && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "text-[10px] text-slate-400 dark:text-white/30 font-medium mt-0.5", children: timeString })
5261
5789
  ] })
5262
5790
  ]
5263
5791
  }
5264
5792
  ),
5265
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
5793
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
5266
5794
  "button",
5267
5795
  {
5268
5796
  onClick: async (e) => {
@@ -5279,7 +5807,7 @@ function ChatWindow({
5279
5807
  },
5280
5808
  title: "Delete conversation",
5281
5809
  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",
5282
- children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_lucide_react8.Trash, { className: "w-3.5 h-3.5" })
5810
+ children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react11.Trash, { className: "w-3.5 h-3.5" })
5283
5811
  }
5284
5812
  )
5285
5813
  ]
@@ -5289,7 +5817,7 @@ function ChatWindow({
5289
5817
  })
5290
5818
  ] });
5291
5819
  };
5292
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_jsx_runtime14.Fragment, { children: [
5820
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(import_jsx_runtime16.Fragment, { children: [
5293
5821
  renderGroup("Today", todayGroup),
5294
5822
  renderGroup("Yesterday", yesterdayGroup),
5295
5823
  renderGroup("Previous 7 Days", previousGroup),
@@ -5297,90 +5825,90 @@ function ChatWindow({
5297
5825
  ] });
5298
5826
  })() })
5299
5827
  ] }),
5300
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "relative flex flex-col h-full flex-1 min-w-0", children: [
5301
- onResizeStart && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
5828
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "relative flex flex-col h-full flex-1 min-w-0", children: [
5829
+ onResizeStart && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
5302
5830
  "div",
5303
5831
  {
5304
5832
  onMouseDown: onResizeStart,
5305
5833
  className: "absolute top-0 left-0 w-6 h-6 cursor-nw-resize z-[100] group flex items-start justify-start p-1",
5306
5834
  title: "Drag to resize",
5307
- children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("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]" })
5835
+ children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("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]" })
5308
5836
  }
5309
5837
  ),
5310
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
5838
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
5311
5839
  "div",
5312
5840
  {
5313
5841
  className: "flex items-center justify-between px-5 py-4 border-b border-slate-200 dark:border-white/10",
5314
5842
  style: { background: `linear-gradient(135deg, ${ui.primaryColor}15, ${ui.accentColor}10)` },
5315
5843
  children: [
5316
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "flex items-center gap-3", children: [
5844
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "flex items-center gap-3", children: [
5317
5845
  ui.logoUrl ? (
5318
5846
  // eslint-disable-next-line @next/next/no-img-element
5319
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("img", { src: ui.logoUrl, alt: "logo", className: "w-8 h-8 rounded-lg object-cover" })
5320
- ) : /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
5847
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("img", { src: ui.logoUrl, alt: "logo", className: "w-8 h-8 rounded-lg object-cover" })
5848
+ ) : /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
5321
5849
  "div",
5322
5850
  {
5323
5851
  className: `w-9 h-9 flex items-center justify-center shadow-md ${ui.borderRadius === "full" ? "rounded-full" : "rounded-xl"}`,
5324
5852
  style: { background: `linear-gradient(135deg, ${ui.primaryColor}, ${ui.accentColor})` },
5325
- children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_lucide_react8.Bot, { className: "w-5 h-5 text-white" })
5853
+ children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react11.Bot, { className: "w-5 h-5 text-white" })
5326
5854
  }
5327
5855
  ),
5328
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { children: [
5329
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("h2", { className: "text-slate-900 dark:text-white font-semibold text-sm leading-tight", children: ui.title }),
5330
- ui.poweredBy && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("p", { className: "text-slate-500 dark:text-white/40 text-[11px] leading-tight", children: `Powered by ${ui.poweredBy}` })
5856
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { children: [
5857
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("h2", { className: "text-slate-900 dark:text-white font-semibold text-sm leading-tight", children: ui.title }),
5858
+ ui.poweredBy && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("p", { className: "text-slate-500 dark:text-white/40 text-[11px] leading-tight", children: `Powered by ${ui.poweredBy}` })
5331
5859
  ] })
5332
5860
  ] }),
5333
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "flex items-center gap-1.5", children: [
5334
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "flex items-center gap-1.5 mr-2", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("span", { className: "flex items-center gap-1 text-[10px] text-emerald-500 dark:text-emerald-400", children: [
5335
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "w-1.5 h-1.5 rounded-full bg-emerald-500 dark:bg-emerald-400 animate-pulse" }),
5861
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "flex items-center gap-1.5", children: [
5862
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "flex items-center gap-1.5 mr-2", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("span", { className: "flex items-center gap-1 text-[10px] text-emerald-500 dark:text-emerald-400", children: [
5863
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "w-1.5 h-1.5 rounded-full bg-emerald-500 dark:bg-emerald-400 animate-pulse" }),
5336
5864
  "Online"
5337
5865
  ] }) }),
5338
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("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: [
5339
- mounted && messages.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
5866
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("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: [
5867
+ mounted && messages.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
5340
5868
  "button",
5341
5869
  {
5342
5870
  onClick: clearHistory,
5343
5871
  title: "Clear conversation",
5344
5872
  disabled: isDisabled,
5345
5873
  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",
5346
- children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_lucide_react8.Trash2, { className: "w-3.5 h-3.5" })
5874
+ children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react11.Trash2, { className: "w-3.5 h-3.5" })
5347
5875
  }
5348
5876
  ),
5349
- isResized && onResetResize && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
5877
+ isResized && onResetResize && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
5350
5878
  "button",
5351
5879
  {
5352
5880
  onClick: onResetResize,
5353
5881
  title: "Reset to default size",
5354
5882
  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",
5355
- children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_lucide_react8.RotateCcw, { className: "w-3.5 h-3.5" })
5883
+ children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react11.RotateCcw, { className: "w-3.5 h-3.5" })
5356
5884
  }
5357
5885
  ),
5358
- onMaximize && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
5886
+ onMaximize && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
5359
5887
  "button",
5360
5888
  {
5361
5889
  onClick: onMaximize,
5362
5890
  title: isMaximized ? "Minimize" : "Maximize",
5363
5891
  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",
5364
- children: isMaximized ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_lucide_react8.Minimize2, { className: "w-3.5 h-3.5" }) : /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_lucide_react8.Maximize2, { className: "w-3.5 h-3.5" })
5892
+ children: isMaximized ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react11.Minimize2, { className: "w-3.5 h-3.5" }) : /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react11.Maximize2, { className: "w-3.5 h-3.5" })
5365
5893
  }
5366
5894
  ),
5367
- enableVoice !== false && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
5895
+ enableVoice !== false && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
5368
5896
  "button",
5369
5897
  {
5370
5898
  onClick: toggleAutoSpeak,
5371
5899
  disabled: !isSupportedTTS && mounted,
5372
5900
  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)",
5373
5901
  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" : ""}`,
5374
- children: autoSpeak ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_lucide_react8.Volume2, { className: "w-3.5 h-3.5" }) : /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_lucide_react8.VolumeX, { className: "w-3.5 h-3.5 opacity-60" })
5902
+ children: autoSpeak ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react11.Volume2, { className: "w-3.5 h-3.5" }) : /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react11.VolumeX, { className: "w-3.5 h-3.5 opacity-60" })
5375
5903
  }
5376
5904
  ),
5377
- showClose && onClose && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
5905
+ showClose && onClose && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
5378
5906
  "button",
5379
5907
  {
5380
5908
  onClick: onClose,
5381
5909
  title: "Close chat",
5382
5910
  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",
5383
- children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_lucide_react8.X, { className: "w-4 h-4" })
5911
+ children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react11.X, { className: "w-4 h-4" })
5384
5912
  }
5385
5913
  )
5386
5914
  ] })
@@ -5388,33 +5916,35 @@ function ChatWindow({
5388
5916
  ]
5389
5917
  }
5390
5918
  ),
5391
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
5919
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
5392
5920
  "div",
5393
5921
  {
5394
5922
  ref: scrollContainerRef,
5395
5923
  onScroll: handleScroll,
5924
+ "aria-live": "polite",
5925
+ "aria-relevant": "additions text",
5396
5926
  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",
5397
5927
  children: [
5398
- errorMsg ? /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("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: [
5399
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("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__ */ (0, import_jsx_runtime14.jsx)(import_lucide_react8.TriangleAlert, { className: "w-7 h-7" }) }),
5400
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("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__ */ (0, import_jsx_runtime14.jsx)("p", { className: "text-sm text-rose-600 dark:text-rose-400 font-medium", children: errorMsg }) })
5928
+ errorMsg ? /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("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: [
5929
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("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__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react11.TriangleAlert, { className: "w-7 h-7" }) }),
5930
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("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__ */ (0, import_jsx_runtime16.jsx)("p", { className: "text-sm text-rose-600 dark:text-rose-400 font-medium", children: errorMsg }) })
5401
5931
  ] }) : !mounted || isEmpty ? (
5402
5932
  /* Welcome state */
5403
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "h-full flex flex-col items-center justify-center text-center gap-4 px-6 py-4", children: [
5404
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
5933
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "h-full flex flex-col items-center justify-center text-center gap-4 px-6 py-4", children: [
5934
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
5405
5935
  "div",
5406
5936
  {
5407
5937
  className: `w-16 h-16 flex items-center justify-center shadow-lg ${ui.borderRadius === "full" ? "rounded-full" : "rounded-2xl"}`,
5408
5938
  style: { background: `linear-gradient(135deg, ${ui.primaryColor}, ${ui.accentColor})` },
5409
- children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_lucide_react8.Sparkles, { className: "w-8 h-8 text-white" })
5939
+ children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react11.Sparkles, { className: "w-8 h-8 text-white" })
5410
5940
  }
5411
5941
  ),
5412
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { children: [
5413
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("p", { className: "text-slate-800 dark:text-white/80 font-medium leading-relaxed", children: ui.welcomeMessage }),
5414
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("p", { className: "text-slate-500 dark:text-white/30 text-sm mt-2", children: "Ask a question to get started" })
5942
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { children: [
5943
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("p", { className: "text-slate-800 dark:text-white/80 font-medium leading-relaxed", children: ui.welcomeMessage }),
5944
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("p", { className: "text-slate-500 dark:text-white/30 text-sm mt-2", children: "Ask a question to get started" })
5415
5945
  ] }),
5416
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "flex flex-wrap gap-2 justify-center mt-2", children: CHAT_SUGGESTIONS.map(
5417
- (suggestion) => /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
5946
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "flex flex-wrap gap-2 justify-center mt-2", children: CHAT_SUGGESTIONS.map(
5947
+ (suggestion) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
5418
5948
  "button",
5419
5949
  {
5420
5950
  onClick: () => {
@@ -5435,13 +5965,13 @@ function ChatWindow({
5435
5965
  const currentDayGroup = formatMessageDayLegend(msg.createdAt);
5436
5966
  const showDaySeparator = currentDayGroup !== lastDayGroup;
5437
5967
  lastDayGroup = currentDayGroup;
5438
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_react14.default.Fragment, { children: [
5439
- showDaySeparator && /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "flex items-center my-6 select-none justify-center w-full", children: [
5440
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "flex-grow border-t border-slate-200 dark:border-white/10" }),
5441
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("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 }),
5442
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "flex-grow border-t border-slate-200 dark:border-white/10" })
5968
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(import_react17.default.Fragment, { children: [
5969
+ showDaySeparator && /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "flex items-center my-6 select-none justify-center w-full", children: [
5970
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "flex-grow border-t border-slate-200 dark:border-white/10" }),
5971
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("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 }),
5972
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "flex-grow border-t border-slate-200 dark:border-white/10" })
5443
5973
  ] }),
5444
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
5974
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
5445
5975
  MessageBubble,
5446
5976
  {
5447
5977
  message: msg,
@@ -5454,13 +5984,15 @@ function ChatWindow({
5454
5984
  showSources: ui.showSources,
5455
5985
  onFeedback: submitFeedback,
5456
5986
  isSpeaking: currentlySpeakingId === msg.id,
5457
- onToggleSpeak: enableVoice !== false && isSupportedTTS ? toggleSpeak : void 0
5987
+ onToggleSpeak: enableVoice !== false && isSupportedTTS ? toggleSpeak : void 0,
5988
+ onRegenerate: !isLoading && index === messages.length - 1 && msg.role === "assistant" ? regenerate : void 0,
5989
+ onEditMessage: !isLoading && msg.role === "user" ? editAndResend : void 0
5458
5990
  }
5459
5991
  )
5460
5992
  ] }, msg.id);
5461
5993
  });
5462
5994
  })(),
5463
- isLoading && ((_a = messages[messages.length - 1]) == null ? void 0 : _a.role) !== "assistant" && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
5995
+ isLoading && ((_a = messages[messages.length - 1]) == null ? void 0 : _a.role) !== "assistant" && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
5464
5996
  MessageBubble,
5465
5997
  {
5466
5998
  message: { id: "loading", role: "assistant", content: "", createdAt: (/* @__PURE__ */ new Date()).toISOString() },
@@ -5472,36 +6004,63 @@ function ChatWindow({
5472
6004
  showSources: ui.showSources
5473
6005
  }
5474
6006
  ),
5475
- error && !errorMsg && /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("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: [
5476
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_lucide_react8.TriangleAlert, { className: "w-4 h-4 flex-shrink-0" }),
5477
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { children: error })
6007
+ error && !errorMsg && /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("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: [
6008
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "flex items-center gap-2 min-w-0", children: [
6009
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react11.TriangleAlert, { className: "w-4 h-4 flex-shrink-0" }),
6010
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "truncate", children: error })
6011
+ ] }),
6012
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "flex items-center gap-1.5 shrink-0", children: [
6013
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
6014
+ "button",
6015
+ {
6016
+ type: "button",
6017
+ onClick: () => retry(),
6018
+ disabled: isLoading,
6019
+ 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",
6020
+ children: [
6021
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react11.RotateCcw, { className: "w-3 h-3" }),
6022
+ "Retry"
6023
+ ]
6024
+ }
6025
+ ),
6026
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
6027
+ "button",
6028
+ {
6029
+ type: "button",
6030
+ onClick: clearError,
6031
+ "aria-label": "Dismiss error",
6032
+ className: "p-1 rounded-lg hover:bg-rose-100 dark:hover:bg-rose-500/20 transition-colors cursor-pointer",
6033
+ children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react11.X, { className: "w-3.5 h-3.5" })
6034
+ }
6035
+ )
6036
+ ] })
5478
6037
  ] }),
5479
- userScrolledUp && /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
6038
+ userScrolledUp && /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
5480
6039
  "button",
5481
6040
  {
5482
6041
  onClick: () => scrollToBottom(true),
5483
6042
  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",
5484
6043
  title: "Scroll to bottom",
5485
6044
  children: [
5486
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_lucide_react8.ArrowDown, { className: "w-3.5 h-3.5 text-indigo-500" }),
5487
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { children: "Scroll to bottom" })
6045
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react11.ArrowDown, { className: "w-3.5 h-3.5 text-indigo-500" }),
6046
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { children: "Scroll to bottom" })
5488
6047
  ]
5489
6048
  }
5490
6049
  ),
5491
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { ref: bottomRef })
6050
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { ref: bottomRef })
5492
6051
  ]
5493
6052
  }
5494
6053
  ),
5495
- isUploadModalOpen && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("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__ */ (0, import_jsx_runtime14.jsxs)("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: [
5496
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
6054
+ isUploadModalOpen && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("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__ */ (0, import_jsx_runtime16.jsxs)("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: [
6055
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
5497
6056
  "button",
5498
6057
  {
5499
6058
  onClick: () => setIsUploadModalOpen(false),
5500
6059
  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",
5501
- children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_lucide_react8.X, { className: "w-5 h-5" })
6060
+ children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react11.X, { className: "w-5 h-5" })
5502
6061
  }
5503
6062
  ),
5504
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
6063
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
5505
6064
  DocumentUpload,
5506
6065
  {
5507
6066
  namespace: projectId,
@@ -5511,9 +6070,9 @@ function ChatWindow({
5511
6070
  }
5512
6071
  )
5513
6072
  ] }) }),
5514
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("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: [
5515
- (suggestions.length > 0 || isSuggesting) && !isLoading && /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "mb-3 flex flex-wrap gap-2 animate-in fade-in slide-in-from-bottom-2 duration-300", children: [
5516
- suggestions.map((suggestion) => /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
6073
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("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: [
6074
+ (suggestions.length > 0 || isSuggesting) && !isLoading && /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "mb-3 flex flex-wrap gap-2 animate-in fade-in slide-in-from-bottom-2 duration-300", children: [
6075
+ suggestions.map((suggestion) => /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
5517
6076
  "button",
5518
6077
  {
5519
6078
  onClick: () => {
@@ -5526,35 +6085,35 @@ function ChatWindow({
5526
6085
  disabled: isDisabled,
5527
6086
  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",
5528
6087
  children: [
5529
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_lucide_react8.Sparkles, { className: "w-3 h-3 text-amber-400" }),
6088
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react11.Sparkles, { className: "w-3 h-3 text-amber-400" }),
5530
6089
  suggestion
5531
6090
  ]
5532
6091
  },
5533
6092
  suggestion
5534
6093
  )),
5535
- isSuggesting && suggestions.length === 0 && /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("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: [
5536
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_lucide_react8.Sparkles, { className: "w-3 h-3" }),
6094
+ isSuggesting && suggestions.length === 0 && /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("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: [
6095
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react11.Sparkles, { className: "w-3 h-3" }),
5537
6096
  "Thinking..."
5538
6097
  ] })
5539
6098
  ] }),
5540
- voiceError && /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("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: [
5541
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "flex items-center gap-1.5 min-w-0", children: [
5542
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_lucide_react8.TriangleAlert, { className: "w-3.5 h-3.5 shrink-0 text-rose-500" }),
5543
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "truncate", children: voiceError })
6099
+ voiceError && /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("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: [
6100
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "flex items-center gap-1.5 min-w-0", children: [
6101
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react11.TriangleAlert, { className: "w-3.5 h-3.5 shrink-0 text-rose-500" }),
6102
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "truncate", children: voiceError })
5544
6103
  ] }),
5545
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
6104
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
5546
6105
  "button",
5547
6106
  {
5548
6107
  type: "button",
5549
6108
  onClick: () => setVoiceError(null),
5550
6109
  className: "p-0.5 rounded hover:bg-rose-100 dark:hover:bg-rose-900/40 text-rose-500 cursor-pointer shrink-0",
5551
6110
  "aria-label": "Dismiss",
5552
- children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_lucide_react8.X, { className: "w-3 h-3" })
6111
+ children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react11.X, { className: "w-3 h-3" })
5553
6112
  }
5554
6113
  )
5555
6114
  ] }),
5556
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("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: [
5557
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
6115
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("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: [
6116
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
5558
6117
  "textarea",
5559
6118
  {
5560
6119
  ref: inputRef,
@@ -5574,7 +6133,7 @@ function ChatWindow({
5574
6133
  style: { scrollbarWidth: "none", color: "#000000" }
5575
6134
  }
5576
6135
  ),
5577
- enableVoice !== false && ui.enableVoiceInput !== false && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
6136
+ enableVoice !== false && ui.enableVoiceInput !== false && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
5578
6137
  "button",
5579
6138
  {
5580
6139
  type: "button",
@@ -5583,10 +6142,10 @@ function ChatWindow({
5583
6142
  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"}`,
5584
6143
  title: isListening ? "Stop listening (Voice input active)" : "Start voice input (Speech-to-Text)",
5585
6144
  "aria-label": isListening ? "Stop listening" : "Start voice input",
5586
- children: isListening ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_lucide_react8.MicOff, { className: "w-4 h-4 text-white" }) : /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_lucide_react8.Mic, { className: "w-4 h-4" })
6145
+ children: isListening ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react11.MicOff, { className: "w-4 h-4 text-white" }) : /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react11.Mic, { className: "w-4 h-4" })
5587
6146
  }
5588
6147
  ),
5589
- ui.allowUpload !== false && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
6148
+ ui.allowUpload !== false && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
5590
6149
  "button",
5591
6150
  {
5592
6151
  type: "button",
@@ -5596,18 +6155,18 @@ function ChatWindow({
5596
6155
  disabled: isLoading || isDisabled,
5597
6156
  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",
5598
6157
  title: "Upload Document",
5599
- children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_lucide_react8.Paperclip, { className: "w-4 h-4" })
6158
+ children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react11.Paperclip, { className: "w-4 h-4" })
5600
6159
  }
5601
6160
  ),
5602
- isLoading ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
6161
+ isLoading ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
5603
6162
  "button",
5604
6163
  {
5605
6164
  onClick: stop,
5606
6165
  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",
5607
6166
  title: "Stop generating",
5608
- children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "w-3.5 h-3.5 bg-white rounded-[2px]" })
6167
+ children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "w-3.5 h-3.5 bg-white rounded-[2px]" })
5609
6168
  }
5610
- ) : /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
6169
+ ) : /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
5611
6170
  "button",
5612
6171
  {
5613
6172
  onClick: sendMessage,
@@ -5615,11 +6174,11 @@ function ChatWindow({
5615
6174
  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"}`,
5616
6175
  style: { background: `linear-gradient(135deg, ${ui.primaryColor}, ${ui.accentColor})` },
5617
6176
  title: "Send message",
5618
- children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_lucide_react8.ArrowUp, { className: "w-4 h-4 text-white" })
6177
+ children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react11.ArrowUp, { className: "w-4 h-4 text-white" })
5619
6178
  }
5620
6179
  )
5621
6180
  ] }),
5622
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("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" })
6181
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("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" })
5623
6182
  ] })
5624
6183
  ] })
5625
6184
  ]
@@ -5646,7 +6205,7 @@ function formatMessageDayLegend(dateStr) {
5646
6205
  }
5647
6206
 
5648
6207
  // src/components/ChatWidget.tsx
5649
- var import_jsx_runtime15 = require("react/jsx-runtime");
6208
+ var import_jsx_runtime17 = require("react/jsx-runtime");
5650
6209
  var DEFAULT_DIMENSIONS = { width: 380, height: 600 };
5651
6210
  var GEMINI_STYLES = `
5652
6211
  @keyframes shapeshift {
@@ -5701,15 +6260,15 @@ function ChatWidget({
5701
6260
  const effectiveHeaders = headers || contextHeaders;
5702
6261
  const effectiveLicenseKey = licenseKeyProp || contextLicenseKey;
5703
6262
  const effectiveApiBase = retrivoraApiBase || contextApiBase;
5704
- const [isOpen, setIsOpen] = (0, import_react15.useState)(false);
5705
- const [hasUnread, setHasUnread] = (0, import_react15.useState)(false);
5706
- const [dimensions, setDimensions] = (0, import_react15.useState)(DEFAULT_DIMENSIONS);
5707
- const [isResizing, setIsResizing] = (0, import_react15.useState)(false);
5708
- const [isMaximized, setIsMaximized] = (0, import_react15.useState)(false);
5709
- const [prevDimensions, setPrevDimensions] = (0, import_react15.useState)(DEFAULT_DIMENSIONS);
6263
+ const [isOpen, setIsOpen] = (0, import_react18.useState)(false);
6264
+ const [hasUnread, setHasUnread] = (0, import_react18.useState)(false);
6265
+ const [dimensions, setDimensions] = (0, import_react18.useState)(DEFAULT_DIMENSIONS);
6266
+ const [isResizing, setIsResizing] = (0, import_react18.useState)(false);
6267
+ const [isMaximized, setIsMaximized] = (0, import_react18.useState)(false);
6268
+ const [prevDimensions, setPrevDimensions] = (0, import_react18.useState)(DEFAULT_DIMENSIONS);
5710
6269
  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";
5711
6270
  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";
5712
- const handleOpen = (0, import_react15.useCallback)(() => {
6271
+ const handleOpen = (0, import_react18.useCallback)(() => {
5713
6272
  setIsOpen(true);
5714
6273
  setHasUnread(false);
5715
6274
  }, []);
@@ -5759,9 +6318,9 @@ function ChatWidget({
5759
6318
  const isWidgetLocked = !isLicenseValid || !isConfigLoaded;
5760
6319
  if (isWidgetLocked) return null;
5761
6320
  const lockReason = !isLicenseValid ? initError || "License expired or invalid." : !isConfigLoaded ? initError || "Project configuration unavailable." : null;
5762
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(import_jsx_runtime15.Fragment, { children: [
5763
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("style", { dangerouslySetInnerHTML: { __html: GEMINI_STYLES } }),
5764
- /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
6321
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_jsx_runtime17.Fragment, { children: [
6322
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("style", { dangerouslySetInnerHTML: { __html: GEMINI_STYLES } }),
6323
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
5765
6324
  "div",
5766
6325
  {
5767
6326
  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"}`,
@@ -5771,7 +6330,7 @@ function ChatWidget({
5771
6330
  maxHeight: "calc(100vh - 6rem)"
5772
6331
  },
5773
6332
  children: [
5774
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
6333
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
5775
6334
  ChatWindow,
5776
6335
  {
5777
6336
  className: "h-full relative z-10",
@@ -5793,7 +6352,7 @@ function ChatWidget({
5793
6352
  voiceLang
5794
6353
  }
5795
6354
  ),
5796
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
6355
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
5797
6356
  "div",
5798
6357
  {
5799
6358
  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"}`
@@ -5802,7 +6361,7 @@ function ChatWidget({
5802
6361
  ]
5803
6362
  }
5804
6363
  ),
5805
- /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
6364
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
5806
6365
  "button",
5807
6366
  {
5808
6367
  onClick: isWidgetLocked ? void 0 : isOpen ? () => setIsOpen(false) : handleOpen,
@@ -5811,14 +6370,14 @@ function ChatWidget({
5811
6370
  "aria-disabled": isWidgetLocked,
5812
6371
  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"}`,
5813
6372
  children: [
5814
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
6373
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
5815
6374
  "div",
5816
6375
  {
5817
6376
  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]"}`,
5818
6377
  style: {
5819
6378
  background: isWidgetLocked ? "linear-gradient(135deg, #64748b, #475569)" : void 0
5820
6379
  },
5821
- children: !isWidgetLocked && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
6380
+ children: !isWidgetLocked && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
5822
6381
  "div",
5823
6382
  {
5824
6383
  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]",
@@ -5829,21 +6388,21 @@ function ChatWidget({
5829
6388
  )
5830
6389
  }
5831
6390
  ),
5832
- !isWidgetLocked && !isOpen && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
6391
+ !isWidgetLocked && !isOpen && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
5833
6392
  "span",
5834
6393
  {
5835
6394
  className: "absolute inset-0 rounded-full animate-ping opacity-20 pointer-events-none",
5836
6395
  style: { background: ui.primaryColor }
5837
6396
  }
5838
6397
  ),
5839
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
6398
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
5840
6399
  "span",
5841
6400
  {
5842
6401
  className: `relative z-10 transition-transform duration-300 ${isOpen ? "rotate-90 scale-90" : isWidgetLocked ? "scale-90" : "rotate-0 scale-100"}`,
5843
- children: isOpen ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_lucide_react9.X, { className: "w-6 h-6 text-white" }) : isWidgetLocked ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_lucide_react9.Lock, { className: "w-6 h-6 text-white" }) : /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_lucide_react9.MessageSquare, { className: "w-6 h-6 text-white" })
6402
+ children: isOpen ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_lucide_react12.X, { className: "w-6 h-6 text-white" }) : isWidgetLocked ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_lucide_react12.Lock, { className: "w-6 h-6 text-white" }) : /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_lucide_react12.MessageSquare, { className: "w-6 h-6 text-white" })
5844
6403
  }
5845
6404
  ),
5846
- hasUnread && !isOpen && !isWidgetLocked && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("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" })
6405
+ hasUnread && !isOpen && !isWidgetLocked && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("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" })
5847
6406
  ]
5848
6407
  }
5849
6408
  )
@@ -5851,48 +6410,48 @@ function ChatWidget({
5851
6410
  }
5852
6411
 
5853
6412
  // src/components/CodeViewer.tsx
5854
- var import_react16 = __toESM(require("react"));
5855
- var import_lucide_react10 = require("lucide-react");
5856
- var import_jsx_runtime16 = require("react/jsx-runtime");
6413
+ var import_react19 = __toESM(require("react"));
6414
+ var import_lucide_react13 = require("lucide-react");
6415
+ var import_jsx_runtime18 = require("react/jsx-runtime");
5857
6416
  function CodeViewer({ snippet }) {
5858
- const [copied, setCopied] = import_react16.default.useState(false);
6417
+ const [copied, setCopied] = import_react19.default.useState(false);
5859
6418
  const handleCopy = () => {
5860
6419
  navigator.clipboard.writeText(snippet.code);
5861
6420
  setCopied(true);
5862
6421
  setTimeout(() => setCopied(false), 2e3);
5863
6422
  };
5864
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "flex flex-col rounded-2xl border border-white/8 overflow-hidden min-h-[300px] shadow-xl", children: [
5865
- /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "flex items-center justify-between px-5 py-3 border-b border-white/5 bg-[#0d0d1a]", children: [
5866
- /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "flex items-center gap-4", children: [
5867
- /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "flex gap-1.5", children: [
5868
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "w-2.5 h-2.5 rounded-full bg-rose-500/80" }),
5869
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "w-2.5 h-2.5 rounded-full bg-amber-500/80" }),
5870
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "w-2.5 h-2.5 rounded-full bg-emerald-500/80" })
6423
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "flex flex-col rounded-2xl border border-white/8 overflow-hidden min-h-[300px] shadow-xl", children: [
6424
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "flex items-center justify-between px-5 py-3 border-b border-white/5 bg-[#0d0d1a]", children: [
6425
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "flex items-center gap-4", children: [
6426
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "flex gap-1.5", children: [
6427
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "w-2.5 h-2.5 rounded-full bg-rose-500/80" }),
6428
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "w-2.5 h-2.5 rounded-full bg-amber-500/80" }),
6429
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "w-2.5 h-2.5 rounded-full bg-emerald-500/80" })
5871
6430
  ] }),
5872
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "text-[10px] font-mono text-white/25 uppercase tracking-widest", children: snippet.language })
6431
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "text-[10px] font-mono text-white/25 uppercase tracking-widest", children: snippet.language })
5873
6432
  ] }),
5874
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
6433
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
5875
6434
  "button",
5876
6435
  {
5877
6436
  onClick: handleCopy,
5878
6437
  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",
5879
- children: copied ? /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(import_jsx_runtime16.Fragment, { children: [
5880
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react10.Check, { size: 12, className: "text-emerald-400" }),
5881
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "text-emerald-400", children: "Copied!" })
5882
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(import_jsx_runtime16.Fragment, { children: [
5883
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react10.Copy, { size: 12 }),
6438
+ children: copied ? /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_jsx_runtime18.Fragment, { children: [
6439
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_lucide_react13.Check, { size: 12, className: "text-emerald-400" }),
6440
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "text-emerald-400", children: "Copied!" })
6441
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_jsx_runtime18.Fragment, { children: [
6442
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_lucide_react13.Copy, { size: 12 }),
5884
6443
  "Copy Code"
5885
6444
  ] })
5886
6445
  }
5887
6446
  )
5888
6447
  ] }),
5889
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "p-6 font-mono text-[12px] leading-relaxed overflow-auto flex-grow bg-[#080818]", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("pre", { className: "whitespace-pre text-indigo-200/85", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("code", { children: snippet.code }) }) })
6448
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "p-6 font-mono text-[12px] leading-relaxed overflow-auto flex-grow bg-[#080818]", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("pre", { className: "whitespace-pre text-indigo-200/85", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("code", { children: snippet.code }) }) })
5890
6449
  ] });
5891
6450
  }
5892
6451
 
5893
6452
  // src/components/VoiceButton.tsx
5894
- var import_lucide_react11 = require("lucide-react");
5895
- var import_jsx_runtime17 = require("react/jsx-runtime");
6453
+ var import_lucide_react14 = require("lucide-react");
6454
+ var import_jsx_runtime19 = require("react/jsx-runtime");
5896
6455
  var SIZE_MAP = {
5897
6456
  sm: "w-7 h-7",
5898
6457
  md: "w-9 h-9",
@@ -5919,7 +6478,7 @@ function VoiceButton({
5919
6478
  if (mode === "mic") {
5920
6479
  const active2 = isListening;
5921
6480
  const label2 = title != null ? title : active2 ? "Stop voice input" : "Start voice input (Speech-to-Text)";
5922
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
6481
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
5923
6482
  "button",
5924
6483
  {
5925
6484
  type: "button",
@@ -5940,13 +6499,13 @@ function VoiceButton({
5940
6499
  backgroundColor: "#ef4444",
5941
6500
  boxShadow: "0 4px 12px rgba(239,68,68,0.25)"
5942
6501
  } : {},
5943
- children: active2 ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_lucide_react11.MicOff, { className: ICON_SIZE_MAP[size] }) : /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_lucide_react11.Mic, { className: ICON_SIZE_MAP[size] })
6502
+ children: active2 ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_lucide_react14.MicOff, { className: ICON_SIZE_MAP[size] }) : /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_lucide_react14.Mic, { className: ICON_SIZE_MAP[size] })
5944
6503
  }
5945
6504
  );
5946
6505
  }
5947
6506
  const active = isSpeaking;
5948
6507
  const label = title != null ? title : active ? "Stop speaking" : "Read response aloud (Text-to-Speech)";
5949
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
6508
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
5950
6509
  "button",
5951
6510
  {
5952
6511
  type: "button",
@@ -5968,22 +6527,22 @@ function VoiceButton({
5968
6527
  backgroundColor: `${primaryColor}18`,
5969
6528
  boxShadow: `0 4px 12px ${primaryColor}20`
5970
6529
  } : {},
5971
- children: active ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_lucide_react11.VolumeX, { className: ICON_SIZE_MAP[size] }) : /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_lucide_react11.Volume2, { className: ICON_SIZE_MAP[size] })
6530
+ children: active ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_lucide_react14.VolumeX, { className: ICON_SIZE_MAP[size] }) : /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_lucide_react14.Volume2, { className: ICON_SIZE_MAP[size] })
5972
6531
  }
5973
6532
  );
5974
6533
  }
5975
6534
 
5976
6535
  // src/components/VoiceBar.tsx
5977
- var import_react17 = require("react");
5978
- var import_lucide_react12 = require("lucide-react");
5979
- var import_jsx_runtime18 = require("react/jsx-runtime");
6536
+ var import_react20 = require("react");
6537
+ var import_lucide_react15 = require("lucide-react");
6538
+ var import_jsx_runtime20 = require("react/jsx-runtime");
5980
6539
  function SoundWave({ color }) {
5981
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
6540
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
5982
6541
  "span",
5983
6542
  {
5984
6543
  className: "flex items-end gap-[2px] h-4 overflow-hidden",
5985
6544
  "aria-hidden": "true",
5986
- children: [0, 150, 75, 225].map((delay, i) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
6545
+ children: [0, 150, 75, 225].map((delay, i) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
5987
6546
  "span",
5988
6547
  {
5989
6548
  className: "w-[3px] rounded-full animate-bounce",
@@ -6030,15 +6589,15 @@ function VoiceBar({
6030
6589
  onInterimResult,
6031
6590
  onError
6032
6591
  });
6033
- const lastSpokenRef = (0, import_react17.useRef)(void 0);
6034
- (0, import_react17.useEffect)(() => {
6592
+ const lastSpokenRef = (0, import_react20.useRef)(void 0);
6593
+ (0, import_react20.useEffect)(() => {
6035
6594
  if (autoSpeak && autoSpeakText && autoSpeakText !== lastSpokenRef.current) {
6036
6595
  lastSpokenRef.current = autoSpeakText;
6037
6596
  speak(autoSpeakText);
6038
6597
  }
6039
6598
  }, [autoSpeakText, autoSpeak, speak]);
6040
6599
  if (!isSupportedSTT && !isSupportedTTS) return null;
6041
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
6600
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
6042
6601
  "div",
6043
6602
  {
6044
6603
  className: [
@@ -6051,7 +6610,7 @@ function VoiceBar({
6051
6610
  role: "toolbar",
6052
6611
  "aria-label": "Voice controls",
6053
6612
  children: [
6054
- isSupportedSTT && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
6613
+ isSupportedSTT && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
6055
6614
  "button",
6056
6615
  {
6057
6616
  type: "button",
@@ -6067,10 +6626,10 @@ function VoiceBar({
6067
6626
  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"
6068
6627
  ].join(" "),
6069
6628
  style: isListening ? { backgroundColor: "#ef4444", boxShadow: "0 4px 12px rgba(239,68,68,0.3)" } : {},
6070
- children: isListening ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_lucide_react12.MicOff, { className: "w-4 h-4" }) : /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_lucide_react12.Mic, { className: "w-4 h-4" })
6629
+ children: isListening ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_lucide_react15.MicOff, { className: "w-4 h-4" }) : /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_lucide_react15.Mic, { className: "w-4 h-4" })
6071
6630
  }
6072
6631
  ),
6073
- isListening && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
6632
+ isListening && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
6074
6633
  "span",
6075
6634
  {
6076
6635
  className: "text-[11px] font-semibold text-red-500 dark:text-red-400 animate-pulse select-none",
@@ -6078,10 +6637,10 @@ function VoiceBar({
6078
6637
  children: "Listening\u2026"
6079
6638
  }
6080
6639
  ),
6081
- showSpeakingIndicator && isSpeaking && /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_jsx_runtime18.Fragment, { children: [
6082
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(SoundWave, { color: primaryColor }),
6083
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "text-[11px] font-semibold select-none", style: { color: primaryColor }, children: "Speaking" }),
6084
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
6640
+ showSpeakingIndicator && isSpeaking && /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_jsx_runtime20.Fragment, { children: [
6641
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(SoundWave, { color: primaryColor }),
6642
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "text-[11px] font-semibold select-none", style: { color: primaryColor }, children: "Speaking" }),
6643
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
6085
6644
  "button",
6086
6645
  {
6087
6646
  type: "button",
@@ -6089,12 +6648,12 @@ function VoiceBar({
6089
6648
  title: "Stop speaking",
6090
6649
  "aria-label": "Stop speaking",
6091
6650
  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",
6092
- children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_lucide_react12.VolumeX, { className: "w-3.5 h-3.5" })
6651
+ children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_lucide_react15.VolumeX, { className: "w-3.5 h-3.5" })
6093
6652
  }
6094
6653
  )
6095
6654
  ] }),
6096
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "flex-1" }),
6097
- showAutoSpeakToggle && isSupportedTTS && /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
6655
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "flex-1" }),
6656
+ showAutoSpeakToggle && isSupportedTTS && /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
6098
6657
  "button",
6099
6658
  {
6100
6659
  type: "button",
@@ -6114,8 +6673,8 @@ function VoiceBar({
6114
6673
  borderColor: `${primaryColor}30`
6115
6674
  } : {},
6116
6675
  children: [
6117
- autoSpeak ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_lucide_react12.Volume2, { className: "w-3.5 h-3.5" }) : /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_lucide_react12.Radio, { className: "w-3.5 h-3.5 opacity-60" }),
6118
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "hidden sm:inline", children: autoSpeak ? "Auto-read on" : "Auto-read off" })
6676
+ autoSpeak ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_lucide_react15.Volume2, { className: "w-3.5 h-3.5" }) : /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_lucide_react15.Radio, { className: "w-3.5 h-3.5 opacity-60" }),
6677
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "hidden sm:inline", children: autoSpeak ? "Auto-read on" : "Auto-read off" })
6119
6678
  ]
6120
6679
  }
6121
6680
  )
@@ -6125,16 +6684,16 @@ function VoiceBar({
6125
6684
  }
6126
6685
 
6127
6686
  // src/hooks/useProjectSettings.ts
6128
- var import_react18 = require("react");
6687
+ var import_react21 = require("react");
6129
6688
  function useProjectSettings(projectId, options = {}) {
6130
- const initialSettings = (0, import_react18.useMemo)(
6689
+ const initialSettings = (0, import_react21.useMemo)(
6131
6690
  () => normalizeProjectSettings(projectId, options.initialSettings || createDefaultProjectSettings(projectId)),
6132
6691
  [options.initialSettings, projectId]
6133
6692
  );
6134
- const [settings, setSettings] = (0, import_react18.useState)(initialSettings);
6135
- const [remoteConfig, setRemoteConfig] = (0, import_react18.useState)(null);
6136
- const [isLoading, setIsLoading] = (0, import_react18.useState)(false);
6137
- const [error, setError] = (0, import_react18.useState)(null);
6693
+ const [settings, setSettings] = (0, import_react21.useState)(initialSettings);
6694
+ const [remoteConfig, setRemoteConfig] = (0, import_react21.useState)(null);
6695
+ const [isLoading, setIsLoading] = (0, import_react21.useState)(false);
6696
+ const [error, setError] = (0, import_react21.useState)(null);
6138
6697
  async function reload() {
6139
6698
  if (options.enabled === false || !options.licenseKey) {
6140
6699
  setSettings(initialSettings);
@@ -6155,7 +6714,7 @@ function useProjectSettings(projectId, options = {}) {
6155
6714
  setIsLoading(false);
6156
6715
  }
6157
6716
  }
6158
- (0, import_react18.useEffect)(() => {
6717
+ (0, import_react21.useEffect)(() => {
6159
6718
  let cancelled = false;
6160
6719
  async function load() {
6161
6720
  if (options.enabled === false || !options.licenseKey) {