@brainfish-ai/components 0.0.39 → 0.0.41

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.
@@ -1,4 +1,4 @@
1
1
  *,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*
2
2
  ! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com
3
- */*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}:root{--background:0 0% 100%;--foreground:0 0% 3.9%;--link:215 90% 50%;--card:0 0% 100%;--card-foreground:0 0% 3.9%;--popover:0 0% 100%;--popover-foreground:0 0% 3.9%;--primary:0 0% 9%;--primary-foreground:0 0% 98%;--secondary:0 0% 96.1%;--secondary-foreground:0 0% 9%;--muted:0 0% 96.1%;--muted-foreground:0 0% 45.1%;--accent:0 0% 96.1%;--accent-foreground:0 0% 9%;--destructive:0 84.2% 60.2%;--destructive-foreground:0 0% 98%;--border:0 0% 89.8%;--input:0 0% 89.8%;--ring:0 0% 3.9%;--radius:0.5rem}.global_dark__2L8or{--background:0 0% 3.9%;--foreground:0 0% 98%;--link:215 90% 60%;--card:0 0% 3.9%;--card-foreground:0 0% 98%;--popover:0 0% 3.9%;--popover-foreground:0 0% 98%;--primary:0 0% 98%;--primary-foreground:0 0% 9%;--secondary:0 0% 14.9%;--secondary-foreground:0 0% 98%;--muted:0 0% 14.9%;--muted-foreground:0 0% 63.9%;--accent:0 0% 14.9%;--accent-foreground:0 0% 98%;--destructive:0 62.8% 30.6%;--destructive-foreground:0 0% 98%;--border:0 0% 14.9%;--input:0 0% 14.9%;--ring:0 0% 83.1%}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground))}.global_container__ODrFh{margin-left:auto;margin-right:auto;padding-left:2rem;padding-right:2rem;width:100%}@media (min-width:1400px){.global_container__ODrFh{max-width:1400px}}.global_link__yQfDF{color:hsl(var(--link));opacity:.9;text-decoration-color:hsl(var(--link));text-decoration-line:underline;text-decoration-thickness:2px;text-underline-offset:2px;transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.global_link__yQfDF:hover{opacity:1;text-decoration-thickness:3px}.global_pointer-events-none__ai59f{pointer-events:none}.global_visible__9zcs2{visibility:visible}.global_invisible__dQaho{visibility:hidden}.global_fixed__A2HuC{position:fixed}.global_absolute__8vycV{position:absolute}.global_relative__yp6Qk{position:relative}.global_sticky__Xo4tC{position:sticky}.global_inset-0__HUo5d{inset:0}.global_bottom-2__lCgBr{bottom:.5rem}.global_bottom-20__YpGoy{bottom:5rem}.global_bottom-4__10poo{bottom:1rem}.global_bottom-full__SF8pB{bottom:100%}.global_left-0__cZCeE{left:0}.global_left-1--2__bKNOg{left:50%}.global_left-2__cSIDF{left:.5rem}.global_left-4__lI8ae{left:1rem}.global_right-0__gz-Ox{right:0}.global_right-1__XRSP0{right:.25rem}.global_right-2__vEYwq{right:.5rem}.global_right-4__vcJlp{right:1rem}.global_top-0__3Ga50{top:0}.global_top-1__KFF6M{top:.25rem}.global_top-1--2__2XwDn{top:50%}.global_isolate__Zk8lP{isolation:isolate}.global_z-10__0kV1Y{z-index:10}.global_z-40__2cl8o{z-index:40}.global_z-50__TMWKG{z-index:50}.global_-mx-1__w-bMH{margin-left:-.25rem;margin-right:-.25rem}.global_mx-auto__dTk2O{margin-left:auto;margin-right:auto}.global_my-1__SXtHb{margin-bottom:.25rem;margin-top:.25rem}.global_my-2__x6D-F{margin-bottom:.5rem;margin-top:.5rem}.global_my-4__kuRfA{margin-bottom:1rem;margin-top:1rem}.global_mb-1__dXYDr{margin-bottom:.25rem}.global_mb-2__-RsZz{margin-bottom:.5rem}.global_mb-20__eLHye{margin-bottom:5rem}.global_mb-4__kNoqf{margin-bottom:1rem}.global_ml-2__3PNs-{margin-left:.5rem}.global_ml-4__TlyC3{margin-left:1rem}.global_ml-auto__889fu{margin-left:auto}.global_mr-1--5__y3aCf{margin-right:.375rem}.global_mr-2__ZsogR{margin-right:.5rem}.global_mt-1__8R5ct{margin-top:.25rem}.global_mt-2__gTZ5c{margin-top:.5rem}.global_mt-3__9kdR-{margin-top:.75rem}.global_mt-4__zcD4z{margin-top:1rem}.global_mt-6__QXWY3{margin-top:1.5rem}.global_mt----5px--__Na9Qz{margin-top:-5px}.global_line-clamp-2__IB29N{-webkit-box-orient:vertical;-webkit-line-clamp:2;display:-webkit-box;overflow:hidden}.global_block__WHjGF{display:block}.global_inline-block__RE-lS{display:inline-block}.global_--inline__SOeJT{display:inline!important}.global_inline__iMUDD{display:inline}.global_flex__UQ0fE{display:flex}.global_inline-flex__-8aIz{display:inline-flex}.global_table__1bOPp{display:table}.global_hidden__OzBBV{display:none}.global_size-5__ejBoy{height:1.25rem;width:1.25rem}.global_h-10__z24H2{height:2.5rem}.global_h-2__MS4rY{height:.5rem}.global_h-3__sRKJk{height:.75rem}.global_h-3--5__n-TN4{height:.875rem}.global_h-4__DwBEr{height:1rem}.global_h-5__Nr-Nd{height:1.25rem}.global_h-8__D2dn4{height:2rem}.global_h-9__Np4EN{height:2.25rem}.global_h---44px--__FwRoa{height:44px}.global_h-full__gHZMh{height:100%}.global_h-px__-Vk7O{height:1px}.global_max-h---100px--__Jt9VB{max-height:100px}.global_max-h---300px--__kI0Kb{max-height:300px}.global_max-h---80vh--__CRxmk{max-height:80vh}.global_min-h---100px--__pyVlC{min-height:100px}.global_min-h---24px--__NQAG4{min-height:24px}.global_min-h---36px--__ebsdO{min-height:36px}.global_min-h-screen__nKks7{min-height:100vh}.global_w-1--4__18QWR{width:25%}.global_w-2__TyrEx{width:.5rem}.global_w-3__JK673{width:.75rem}.global_w-3--5__cXhj8{width:.875rem}.global_w-3--4__b9CxP{width:75%}.global_w-32__GRHCx{width:8rem}.global_w-4__SMztI{width:1rem}.global_w-40__hr0Mf{width:10rem}.global_w-48__UeQPk{width:12rem}.global_w-5__ndIOT{width:1.25rem}.global_w-5--6__xyZo9{width:83.333333%}.global_w-8__c0Bp7{width:2rem}.global_w-9__oBvFt{width:2.25rem}.global_w-auto__M-ouc{width:auto}.global_w-full__DXaYa{width:100%}.global_min-w---20px--__I9gYi{min-width:20px}.global_min-w---8rem--__YLsMs{min-width:8rem}.global_max-w-3xl__G4Ol5{max-width:48rem}.global_max-w---300px--__s84Ms{max-width:300px}.global_max-w---95vw--__ynME7{max-width:95vw}.global_max-w-none__dzHcI{max-width:none}.global_flex-1__I7Ly5{flex:1 1 0%}.global_flex-shrink-0__31VJT,.global_shrink-0__zDEZu{flex-shrink:0}.global_flex-grow__Ls6Mq{flex-grow:1}.global_border-collapse__UixYE{border-collapse:collapse}.global_-translate-x-1--2__C9FcA{--tw-translate-x:-50%}.global_-translate-x-1--2__C9FcA,.global_-translate-y-1--2__nWsYs{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.global_-translate-y-1--2__nWsYs{--tw-translate-y:-50%}.global_rotate-180__xPz7f{--tw-rotate:180deg}.global_rotate-180__xPz7f,.global_transform__gHifq{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.global_animate-pulse__Vwni7{animation:global_pulse__IEsU5 2s cubic-bezier(.4,0,.6,1) infinite}.global_animate-spin__2u1bX{animation:global_spin__QFD8e 1s linear infinite}.global_cursor-default__jNEup{cursor:default}.global_cursor-pointer__qLraV{cursor:pointer}.global_cursor-zoom-in__BoCqJ{cursor:zoom-in}.global_cursor-zoom-out__X-nsv{cursor:zoom-out}.global_select-none__kHrLt{-webkit-user-select:none;-moz-user-select:none;user-select:none}.global_resize-none__BsWO7{resize:none}.global_list-outside__3ZPM3{list-style-position:outside}.global_list-decimal__Ubbiv{list-style-type:decimal}.global_list-disc__beTzA{list-style-type:disc}.global_flex-col__dfthE{flex-direction:column}.global_flex-wrap__POO4E{flex-wrap:wrap}.global_items-start__g56tJ{align-items:flex-start}.global_items-center__BLWLq{align-items:center}.global_justify-end__lNmmm{justify-content:flex-end}.global_justify-center__3Qpao{justify-content:center}.global_justify-between__DZJgm{justify-content:space-between}.global_gap-1__6iopm{gap:.25rem}.global_gap-2__jkSLf{gap:.5rem}.global_gap-3__wS5Xt{gap:.75rem}.global_gap-4__qxhzR{gap:1rem}.global_space-y-3__Qe09Z>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.75rem*var(--tw-space-y-reverse));margin-top:calc(.75rem*(1 - var(--tw-space-y-reverse)))}.global_space-y-4__zt-7V>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1rem*var(--tw-space-y-reverse));margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))}.global_space-y-6__Z50R8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse));margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))}.global_space-y-8__2U1gz>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(2rem*var(--tw-space-y-reverse));margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)))}.global_divide-y__9t4fG>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-bottom-width:calc(1px*var(--tw-divide-y-reverse));border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))}.global_divide-gray-200__vBgZ6>:not([hidden])~:not([hidden]){--tw-divide-opacity:1;border-color:rgb(229 231 235/var(--tw-divide-opacity,1))}.global_overflow-auto__nvuhG{overflow:auto}.global_overflow-hidden__zzURH{overflow:hidden}.global_overflow-x-auto__mjJmr{overflow-x:auto}.global_truncate__9PF6Z{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.global_whitespace-nowrap__2o0Ne{white-space:nowrap}.global_break-words__Y50Uk{overflow-wrap:break-word}.global_rounded__kzi3T{border-radius:.25rem}.global_rounded-full__AkR7k{border-radius:9999px}.global_rounded-lg__d2box{border-radius:var(--radius)}.global_rounded-md__GiyAX{border-radius:calc(var(--radius) - 2px)}.global_rounded-sm__c-8OF{border-radius:calc(var(--radius) - 4px)}.global_rounded-xl__1LYd9{border-radius:.75rem}.global_rounded-b-lg__j6V7y{border-bottom-left-radius:var(--radius);border-bottom-right-radius:var(--radius)}.global_rounded-t-lg__zo1n7{border-top-left-radius:var(--radius);border-top-right-radius:var(--radius)}.global_border__anNLX{border-width:1px}.global_border-0__Ha8mi{border-width:0}.global_border-2__YRMX7{border-width:2px}.global_border-b__V3c9J{border-bottom-width:1px}.global_border-t__8S3fD{border-top-width:1px}.global_border-none__88GDW{border-style:none}.global_border-black__KWnOE{--tw-border-opacity:1;border-color:rgb(0 0 0/var(--tw-border-opacity,1))}.global_border-gray-200__F4W89{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity,1))}.global_border-gray-300__iNsjt{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity,1))}.global_border-input__G45ze{border-color:hsl(var(--input))}.global_border-slate-300__tc0Og{--tw-border-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity,1))}.global_border-transparent__y5eKk{border-color:transparent}.global_border-t-transparent__616x7{border-top-color:transparent}.global_bg-----86efac--__hzbGF{--tw-bg-opacity:1;background-color:rgb(134 239 172/var(--tw-bg-opacity,1))}.global_bg-background__K--HK{background-color:hsl(var(--background))}.global_bg-black__R3cDZ{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity,1))}.global_bg-black--50__MrhPr{background-color:rgba(0,0,0,.5)}.global_bg-black--80__yLuJ6{background-color:rgba(0,0,0,.8)}.global_bg-destructive__wk9Fz{background-color:hsl(var(--destructive))}.global_bg-gray-100__hmFan{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity,1))}.global_bg-gray-200__2XS8H{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity,1))}.global_bg-gray-500__7RWVv{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity,1))}.global_bg-green-100__AdTdi{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity,1))}.global_bg-muted__p6zUS{background-color:hsl(var(--muted))}.global_bg-muted--10__qbZIk{background-color:hsl(var(--muted)/.1)}.global_bg-popover__WKTcx{background-color:hsl(var(--popover))}.global_bg-primary__-6v6Y{background-color:hsl(var(--primary))}.global_bg-red-100__jps6i{--tw-bg-opacity:1;background-color:rgb(254 226 226/var(--tw-bg-opacity,1))}.global_bg-red-50__vxrlQ{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity,1))}.global_bg-secondary__4cOfK{background-color:hsl(var(--secondary))}.global_bg-slate-200__NIphn{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity,1))}.global_bg-transparent__7eZbf{background-color:transparent}.global_bg-white__flJGF{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.global_bg-zinc-800--80__96dh9{background-color:rgba(39,39,42,.8)}.global_bg-opacity-50__bwyDy{--tw-bg-opacity:0.5}.global_fill-current__Muiab{fill:currentColor}.global_object-contain__CYxxq{-o-object-fit:contain;object-fit:contain}.global_object-cover__JPTlp{-o-object-fit:cover;object-fit:cover}.global_p-0__8IPZm{padding:0}.global_p-0--5__qRtvB{padding:.125rem}.global_p-1__tV-ga{padding:.25rem}.global_p-1--5__UXipN{padding:.375rem}.global_p-2__k0Zws{padding:.5rem}.global_p-3__3-Qgn{padding:.75rem}.global_p-4__VuqCR{padding:1rem}.global_p-6__cMRv7{padding:1.5rem}.global_px-2__yR3EZ{padding-left:.5rem;padding-right:.5rem}.global_px-3__-E-BJ{padding-left:.75rem;padding-right:.75rem}.global_px-4__HrFvE{padding-left:1rem;padding-right:1rem}.global_px-8__iHJ23{padding-left:2rem;padding-right:2rem}.global_py-0--5__KocJ1{padding-bottom:.125rem;padding-top:.125rem}.global_py-1__NqnxH{padding-bottom:.25rem;padding-top:.25rem}.global_py-1--5__DUkeQ{padding-bottom:.375rem;padding-top:.375rem}.global_py-2__8Ss1J{padding-bottom:.5rem;padding-top:.5rem}.global_py-20__EcNY6{padding-bottom:5rem;padding-top:5rem}.global_py-3__qilgK{padding-bottom:.75rem;padding-top:.75rem}.global_py-4__HuIt3{padding-bottom:1rem;padding-top:1rem}.global_pb-1__0gekP{padding-bottom:.25rem}.global_pl-8__W5ev4{padding-left:2rem}.global_pr-2__ASPXP{padding-right:.5rem}.global_text-left__Q2W-W{text-align:left}.global_text-center__7Se6w{text-align:center}.global_font-sans__83hnH{font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.global_text-2xl__s36gQ{font-size:1.5rem;line-height:2rem}.global_text-3xl__E9-bD{font-size:1.875rem;line-height:2.25rem}.global_text-5xl__FfzyT{font-size:3rem;line-height:1}.global_text-base__trzCF{font-size:1rem;line-height:1.5rem}.global_text-lg__CCR-k{font-size:1.125rem;line-height:1.75rem}.global_text-sm__Ib8dm{font-size:.875rem;line-height:1.25rem}.global_text-xl__gmfY9{font-size:1.25rem;line-height:1.75rem}.global_text-xs__DYcGf{font-size:.75rem;line-height:1rem}.global_font-bold__rhi4k{font-weight:700}.global_font-light__Q3uzO{font-weight:300}.global_font-medium__E-6Pd{font-weight:500}.global_font-semibold__Xphfs{font-weight:600}.global_lowercase__dvU1W{text-transform:lowercase}.global_leading-normal__Pyo9L{line-height:1.5}.global_leading-relaxed__lMGIf{line-height:1.625}.global_tracking-widest__oL8Aq{letter-spacing:.1em}.global_text-destructive-foreground__CK3HA{color:hsl(var(--destructive-foreground))}.global_text-gray-400__kbhCw{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.global_text-gray-500__W4Zp0{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.global_text-gray-600__UVK8r{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity,1))}.global_text-gray-700__GGU3A{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity,1))}.global_text-gray-900__KwsK-{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity,1))}.global_text-green-500__YK9vL{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity,1))}.global_text-green-600__bLIEw{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity,1))}.global_text-muted-foreground__-J9cu{color:hsl(var(--muted-foreground))}.global_text-popover-foreground__TXLLx{color:hsl(var(--popover-foreground))}.global_text-primary__dQ0fm{color:hsl(var(--primary))}.global_text-primary-foreground__NuR1a{color:hsl(var(--primary-foreground))}.global_text-red-400__jNAnh{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity,1))}.global_text-red-500__Md0aH{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity,1))}.global_text-red-600__3FZL5{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.global_text-secondary-foreground__O69wL{color:hsl(var(--secondary-foreground))}.global_text-white__LWPmv{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.global_text-zinc-400__e5UV1{--tw-text-opacity:1;color:rgb(161 161 170/var(--tw-text-opacity,1))}.global_underline-offset-4__lhfb0{text-underline-offset:4px}.global_opacity-0__5xB57{opacity:0}.global_opacity-100__CpA4f{opacity:1}.global_opacity-50__C1hhQ{opacity:.5}.global_opacity-60__uonB1{opacity:.6}.global_shadow__dc2by{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.global_shadow-lg__sTTY3,.global_shadow__dc2by{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.global_shadow-lg__sTTY3{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.global_shadow-md__VVqqy{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.global_shadow-md__VVqqy,.global_shadow-sm__GZt5n{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.global_shadow-sm__GZt5n{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.global_outline-none__IVVrz{outline:2px solid transparent;outline-offset:2px}.global_outline__V3FJz{outline-style:solid}.global_ring-0__T0AX6{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.global_drop-shadow__rXZE-{--tw-drop-shadow:drop-shadow(0 1px 2px rgba(0,0,0,.1)) drop-shadow(0 1px 1px rgba(0,0,0,.06))}.global_drop-shadow__rXZE-,.global_filter__ul10P{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)}.global_backdrop-blur__udeqW{--tw-backdrop-blur:blur(8px);-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);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)}.global_transition__doSF-{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.global_transition-all__VsTJx{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.global_transition-colors__JwD71{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.global_transition-opacity__Mg7o5{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.global_transition-transform__RiSeq{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.global_duration-200__igYQX{transition-duration:.2s}.global_duration-300__VOwLj{transition-duration:.3s}.global_ease-in-out__R1ttn{transition-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes global_enter__aAdX3{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0) scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1)) rotate(var(--tw-enter-rotate,0))}}@keyframes global_exit__Q4XBE{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0) scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1)) rotate(var(--tw-exit-rotate,0))}}.global_animate-in__nzv52{--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial;animation-duration:.15s;animation-name:global_enter__aAdX3}.global_fade-in-0__TR872{--tw-enter-opacity:0}.global_zoom-in-95__5pv3A{--tw-enter-scale:.95}.global_duration-200__igYQX{animation-duration:.2s}.global_duration-300__VOwLj{animation-duration:.3s}.global_ease-in-out__R1ttn{animation-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes global_shimmer__l4plC{0%{background-position:-200% 0}to{background-position:200% 0}}.global_shimmer__l4plC{animation:global_shimmer__l4plC 3s linear infinite;background:linear-gradient(90deg,hsl(var(--background)) 0,hsl(var(--muted)) 20%,hsl(var(--background)) 40%);background-size:200% 100%}@keyframes global_spin__QFD8e{to{transform:rotate(1turn)}}@keyframes global_pulse__IEsU5{50%{transform:scale(1.1)}}.global_modern-spinner__RMKi6{align-items:center;display:flex;height:1.75rem;justify-content:center;position:relative;width:1.75rem}.global_modern-spinner__RMKi6:after,.global_modern-spinner__RMKi6:before{border-radius:9999px;content:"";position:absolute}.global_modern-spinner__RMKi6:before{border-color:hsl(var(--muted)/.3);border-width:1.5px;inset:0}.global_modern-spinner__RMKi6:after{animation:global_spin__QFD8e 1s linear infinite;border-color:hsl(var(--primary));border-top-color:transparent;border-width:1.5px;inset:0}.global_placeholder--text-sm__kAnsy::-moz-placeholder{font-size:.875rem;line-height:1.25rem}.global_placeholder--text-sm__kAnsy::placeholder{font-size:.875rem;line-height:1.25rem}.global_placeholder--text-gray-400__TsY6L::-moz-placeholder{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.global_placeholder--text-gray-400__TsY6L::placeholder{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.global_hover--scale-105__X3iez:hover{--tw-scale-x:1.05;--tw-scale-y:1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.global_hover--bg-----86efac----90__Qe5Wa:hover{background-color:rgba(134,239,172,.9)}.global_hover--bg-accent__S9ZNX:hover{background-color:hsl(var(--accent))}.global_hover--bg-destructive--90__VLkXT:hover{background-color:hsl(var(--destructive)/.9)}.global_hover--bg-gray-100__cdKx7:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity,1))}.global_hover--bg-gray-200__b6u-Z:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity,1))}.global_hover--bg-gray-50__iJrXW:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity,1))}.global_hover--bg-green-200__t6hPT:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity,1))}.global_hover--bg-primary--90__pbFCG:hover{background-color:hsl(var(--primary)/.9)}.global_hover--bg-red-200__R-lnF:hover{--tw-bg-opacity:1;background-color:rgb(254 202 202/var(--tw-bg-opacity,1))}.global_hover--bg-secondary--80__H3Wfm:hover{background-color:hsl(var(--secondary)/.8)}.global_hover--bg-zinc-700--50__qTOLP:hover{background-color:rgba(63,63,70,.5)}.global_hover--bg-opacity-50__cHxZh:hover{--tw-bg-opacity:0.5}.global_hover--text-accent-foreground__G82y8:hover{color:hsl(var(--accent-foreground))}.global_hover--text-gray-700__1YKfU:hover{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity,1))}.global_hover--text-gray-900__qpzLI:hover{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity,1))}.global_hover--text-zinc-100__AvIjC:hover{--tw-text-opacity:1;color:rgb(244 244 245/var(--tw-text-opacity,1))}.global_hover--underline__sEpkX:hover{text-decoration-line:underline}.global_hover--opacity-90__3QEdk:hover{opacity:.9}.global_focus--bg-accent__X-eR4:focus{background-color:hsl(var(--accent))}.global_focus--text-accent-foreground__GX6z3:focus{color:hsl(var(--accent-foreground))}.global_focus--outline-none__-4BYR:focus{outline:2px solid transparent;outline-offset:2px}.global_focus--ring-2__uLRNv:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.global_focus--ring-offset-2__KdSBh:focus{--tw-ring-offset-width:2px}.global_focus-visible--outline-none__al4Ej:focus-visible{outline:2px solid transparent;outline-offset:2px}.global_focus-visible--ring-1__LumQj:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.global_focus-visible--ring-2__IerTj:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.global_focus-visible--ring-ring__Mvzks:focus-visible{--tw-ring-color:hsl(var(--ring))}.global_focus-visible--ring-offset-2__Ov9Fd:focus-visible{--tw-ring-offset-width:2px}.global_focus-visible--ring-offset-background__spWGz:focus-visible{--tw-ring-offset-color:hsl(var(--background))}.global_active--scale-95__sC4sr:active{--tw-scale-x:.95;--tw-scale-y:.95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.global_disabled--pointer-events-none__42nUY:disabled{pointer-events:none}.global_disabled--cursor-not-allowed__Dv-mK:disabled{cursor:not-allowed}.global_disabled--opacity-50__0m1Vr:disabled{opacity:.5}.global_group__CGc6Y:hover .global_group-hover--opacity-100__sN5F3{opacity:1}.global_data---disabled----pointer-events-none__DQuIM[data-disabled]{pointer-events:none}.global_data---state--checked----translate-x-4__LYcU3[data-state=checked]{--tw-translate-x:1rem}.global_data---state--checked----translate-x-4__LYcU3[data-state=checked],.global_data---state--unchecked----translate-x-0__ADlcL[data-state=unchecked]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.global_data---state--unchecked----translate-x-0__ADlcL[data-state=unchecked]{--tw-translate-x:0px}.global_data---state--checked----bg-primary__YcJaz[data-state=checked]{background-color:hsl(var(--primary))}.global_data---state--open----bg-accent__svwvV[data-state=open]{background-color:hsl(var(--accent))}.global_data---state--unchecked----bg-input__RxQL5[data-state=unchecked]{background-color:hsl(var(--input))}.global_data---disabled----opacity-50__ESode[data-disabled]{opacity:.5}.global_data---state--open----animate-in__zdqaq[data-state=open]{--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial;animation-duration:.15s;animation-name:global_enter__aAdX3}.global_data---state--closed----animate-out__ZkthM[data-state=closed]{--tw-exit-opacity:initial;--tw-exit-scale:initial;--tw-exit-rotate:initial;--tw-exit-translate-x:initial;--tw-exit-translate-y:initial;animation-duration:.15s;animation-name:global_exit__Q4XBE}.global_data---state--closed----fade-out-0__TiF0O[data-state=closed]{--tw-exit-opacity:0}.global_data---state--open----fade-in-0__eQemC[data-state=open]{--tw-enter-opacity:0}.global_data---state--closed----zoom-out-95__CHgxT[data-state=closed]{--tw-exit-scale:.95}.global_data---state--open----zoom-in-95__ffIQh[data-state=open]{--tw-enter-scale:.95}.global_data---side--bottom----slide-in-from-top-2__BwdSh[data-side=bottom]{--tw-enter-translate-y:-0.5rem}.global_data---side--left----slide-in-from-right-2__QbaVc[data-side=left]{--tw-enter-translate-x:0.5rem}.global_data---side--right----slide-in-from-left-2__b5eyS[data-side=right]{--tw-enter-translate-x:-0.5rem}.global_data---side--top----slide-in-from-bottom-2__UcFnQ[data-side=top]{--tw-enter-translate-y:0.5rem}.global_dark--border-gray-700__Mndjt:is([data-mode=dark] *){--tw-border-opacity:1;border-color:rgb(55 65 81/var(--tw-border-opacity,1))}.global_dark--border-white__3Ba2z:is([data-mode=dark] *){--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity,1))}.global_dark--bg-gray-800__1zNB-:is([data-mode=dark] *){--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity,1))}.global_dark--text-gray-400__aHg9q:is([data-mode=dark] *){--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.global_dark--hover--text-gray-300__dQDBc:hover:is([data-mode=dark] *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity,1))}@media (min-width:640px){.global_sm--ml-3__p3mD7{margin-left:.75rem}.global_sm--block__SrYf7{display:block}.global_sm--h-5__KOJq8{height:1.25rem}.global_sm--h-9__3gnik{height:2.25rem}.global_sm--h---52px--__exkpU{height:52px}.global_sm--w-5__LrzPT{width:1.25rem}.global_sm--w-9__IH5Mf{width:2.25rem}.global_sm--w-auto__6ZSZh{width:auto}.global_sm--max-w---90vw--__6xePC{max-width:90vw}.global_sm--gap-3__grPKd{gap:.75rem}.global_sm--p-8__ud1Cf{padding:2rem}.global_sm--text-base__7Vw86{font-size:1rem;line-height:1.5rem}.global_sm--placeholder--text-base__jU-uq::-moz-placeholder{font-size:1rem;line-height:1.5rem}.global_sm--placeholder--text-base__jU-uq::placeholder{font-size:1rem;line-height:1.5rem}}.global_------svg----size-4__rMyZF>svg{height:1rem;width:1rem}.global_------svg----shrink-0__HdhJK>svg{flex-shrink:0}.global_----_svg----pointer-events-none__BKt-F svg{pointer-events:none}.global_----_svg----size-4__Ebh-8 svg{height:1rem;width:1rem}.global_----_svg----shrink-0__O8SNI svg{flex-shrink:0}.generating-star-module_animate-spin__AJjwz{animation:generating-star-module_rotate__ChndJ 2s linear infinite;transform:none;transform-box:fill-box;transform-origin:center}@keyframes generating-star-module_rotate__ChndJ{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}
3
+ */*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}:root{--background:0 0% 100%;--foreground:0 0% 3.9%;--link:215 90% 50%;--card:0 0% 100%;--card-foreground:0 0% 3.9%;--popover:0 0% 100%;--popover-foreground:0 0% 3.9%;--primary:0 0% 9%;--primary-foreground:0 0% 98%;--secondary:0 0% 96.1%;--secondary-foreground:0 0% 9%;--muted:0 0% 96.1%;--muted-foreground:0 0% 45.1%;--accent:0 0% 96.1%;--accent-foreground:0 0% 9%;--destructive:0 84.2% 60.2%;--destructive-foreground:0 0% 98%;--border:0 0% 89.8%;--input:0 0% 89.8%;--ring:0 0% 3.9%;--radius:0.5rem}.global_dark__2L8or{--background:0 0% 3.9%;--foreground:0 0% 98%;--link:215 90% 60%;--card:0 0% 3.9%;--card-foreground:0 0% 98%;--popover:0 0% 3.9%;--popover-foreground:0 0% 98%;--primary:0 0% 98%;--primary-foreground:0 0% 9%;--secondary:0 0% 14.9%;--secondary-foreground:0 0% 98%;--muted:0 0% 14.9%;--muted-foreground:0 0% 63.9%;--accent:0 0% 14.9%;--accent-foreground:0 0% 98%;--destructive:0 62.8% 30.6%;--destructive-foreground:0 0% 98%;--border:0 0% 14.9%;--input:0 0% 14.9%;--ring:0 0% 83.1%}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground))}.global_container__ODrFh{margin-left:auto;margin-right:auto;padding-left:2rem;padding-right:2rem;width:100%}@media (min-width:1400px){.global_container__ODrFh{max-width:1400px}}.global_link__yQfDF{color:hsl(var(--link));opacity:.9;text-decoration-color:hsl(var(--link));text-decoration-line:underline;text-decoration-thickness:2px;text-underline-offset:2px;transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.global_link__yQfDF:hover{opacity:1;text-decoration-thickness:3px}.global_pointer-events-none__ai59f{pointer-events:none}.global_visible__9zcs2{visibility:visible}.global_invisible__dQaho{visibility:hidden}.global_fixed__A2HuC{position:fixed}.global_absolute__8vycV{position:absolute}.global_relative__yp6Qk{position:relative}.global_sticky__Xo4tC{position:sticky}.global_inset-0__HUo5d{inset:0}.global_bottom-2__lCgBr{bottom:.5rem}.global_bottom-20__YpGoy{bottom:5rem}.global_bottom-4__10poo{bottom:1rem}.global_bottom-full__SF8pB{bottom:100%}.global_left-0__cZCeE{left:0}.global_left-1--2__bKNOg{left:50%}.global_left-2__cSIDF{left:.5rem}.global_left-4__lI8ae{left:1rem}.global_right-0__gz-Ox{right:0}.global_right-1__XRSP0{right:.25rem}.global_right-2__vEYwq{right:.5rem}.global_right-4__vcJlp{right:1rem}.global_top-0__3Ga50{top:0}.global_top-1__KFF6M{top:.25rem}.global_top-1--2__2XwDn{top:50%}.global_isolate__Zk8lP{isolation:isolate}.global_z-10__0kV1Y{z-index:10}.global_z-40__2cl8o{z-index:40}.global_z-50__TMWKG{z-index:50}.global_-mx-1__w-bMH{margin-left:-.25rem;margin-right:-.25rem}.global_mx-auto__dTk2O{margin-left:auto;margin-right:auto}.global_my-1__SXtHb{margin-bottom:.25rem;margin-top:.25rem}.global_my-2__x6D-F{margin-bottom:.5rem;margin-top:.5rem}.global_my-4__kuRfA{margin-bottom:1rem;margin-top:1rem}.global_mb-1__dXYDr{margin-bottom:.25rem}.global_mb-2__-RsZz{margin-bottom:.5rem}.global_mb-20__eLHye{margin-bottom:5rem}.global_mb-4__kNoqf{margin-bottom:1rem}.global_ml-2__3PNs-{margin-left:.5rem}.global_ml-4__TlyC3{margin-left:1rem}.global_ml-auto__889fu{margin-left:auto}.global_mr-1--5__y3aCf{margin-right:.375rem}.global_mr-2__ZsogR{margin-right:.5rem}.global_mt-1__8R5ct{margin-top:.25rem}.global_mt-2__gTZ5c{margin-top:.5rem}.global_mt-3__9kdR-{margin-top:.75rem}.global_mt-4__zcD4z{margin-top:1rem}.global_mt-6__QXWY3{margin-top:1.5rem}.global_mt----5px--__Na9Qz{margin-top:-5px}.global_line-clamp-2__IB29N{-webkit-box-orient:vertical;-webkit-line-clamp:2;display:-webkit-box;overflow:hidden}.global_block__WHjGF{display:block}.global_inline-block__RE-lS{display:inline-block}.global_--inline__SOeJT{display:inline!important}.global_inline__iMUDD{display:inline}.global_flex__UQ0fE{display:flex}.global_inline-flex__-8aIz{display:inline-flex}.global_table__1bOPp{display:table}.global_hidden__OzBBV{display:none}.global_size-5__ejBoy{height:1.25rem;width:1.25rem}.global_h-10__z24H2{height:2.5rem}.global_h-2__MS4rY{height:.5rem}.global_h-3__sRKJk{height:.75rem}.global_h-3--5__n-TN4{height:.875rem}.global_h-4__DwBEr{height:1rem}.global_h-5__Nr-Nd{height:1.25rem}.global_h-8__D2dn4{height:2rem}.global_h-9__Np4EN{height:2.25rem}.global_h---44px--__FwRoa{height:44px}.global_h-full__gHZMh{height:100%}.global_h-px__-Vk7O{height:1px}.global_max-h---100px--__Jt9VB{max-height:100px}.global_max-h---300px--__kI0Kb{max-height:300px}.global_max-h---80vh--__CRxmk{max-height:80vh}.global_min-h---100px--__pyVlC{min-height:100px}.global_min-h---24px--__NQAG4{min-height:24px}.global_min-h---36px--__ebsdO{min-height:36px}.global_min-h-screen__nKks7{min-height:100vh}.global_w-1--4__18QWR{width:25%}.global_w-2__TyrEx{width:.5rem}.global_w-3__JK673{width:.75rem}.global_w-3--5__cXhj8{width:.875rem}.global_w-3--4__b9CxP{width:75%}.global_w-32__GRHCx{width:8rem}.global_w-4__SMztI{width:1rem}.global_w-40__hr0Mf{width:10rem}.global_w-48__UeQPk{width:12rem}.global_w-5__ndIOT{width:1.25rem}.global_w-5--6__xyZo9{width:83.333333%}.global_w-8__c0Bp7{width:2rem}.global_w-9__oBvFt{width:2.25rem}.global_w-auto__M-ouc{width:auto}.global_w-full__DXaYa{width:100%}.global_min-w---20px--__I9gYi{min-width:20px}.global_min-w---8rem--__YLsMs{min-width:8rem}.global_max-w-3xl__G4Ol5{max-width:48rem}.global_max-w---300px--__s84Ms{max-width:300px}.global_max-w---95vw--__ynME7{max-width:95vw}.global_max-w-none__dzHcI{max-width:none}.global_flex-1__I7Ly5{flex:1 1 0%}.global_flex-shrink-0__31VJT,.global_shrink-0__zDEZu{flex-shrink:0}.global_flex-grow__Ls6Mq{flex-grow:1}.global_border-collapse__UixYE{border-collapse:collapse}.global_-translate-x-1--2__C9FcA{--tw-translate-x:-50%}.global_-translate-x-1--2__C9FcA,.global_-translate-y-1--2__nWsYs{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.global_-translate-y-1--2__nWsYs{--tw-translate-y:-50%}.global_rotate-180__xPz7f{--tw-rotate:180deg}.global_rotate-180__xPz7f,.global_transform__gHifq{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.global_animate-pulse__Vwni7{animation:global_pulse__IEsU5 2s cubic-bezier(.4,0,.6,1) infinite}.global_animate-spin__2u1bX{animation:global_spin__QFD8e 1s linear infinite}.global_cursor-default__jNEup{cursor:default}.global_cursor-pointer__qLraV{cursor:pointer}.global_cursor-zoom-in__BoCqJ{cursor:zoom-in}.global_cursor-zoom-out__X-nsv{cursor:zoom-out}.global_select-none__kHrLt{-webkit-user-select:none;-moz-user-select:none;user-select:none}.global_resize-none__BsWO7{resize:none}.global_list-outside__3ZPM3{list-style-position:outside}.global_list-decimal__Ubbiv{list-style-type:decimal}.global_list-disc__beTzA{list-style-type:disc}.global_flex-col__dfthE{flex-direction:column}.global_flex-wrap__POO4E{flex-wrap:wrap}.global_items-start__g56tJ{align-items:flex-start}.global_items-center__BLWLq{align-items:center}.global_justify-end__lNmmm{justify-content:flex-end}.global_justify-center__3Qpao{justify-content:center}.global_justify-between__DZJgm{justify-content:space-between}.global_gap-1__6iopm{gap:.25rem}.global_gap-2__jkSLf{gap:.5rem}.global_gap-3__wS5Xt{gap:.75rem}.global_gap-4__qxhzR{gap:1rem}.global_space-y-3__Qe09Z>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.75rem*var(--tw-space-y-reverse));margin-top:calc(.75rem*(1 - var(--tw-space-y-reverse)))}.global_space-y-4__zt-7V>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1rem*var(--tw-space-y-reverse));margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))}.global_space-y-6__Z50R8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse));margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))}.global_space-y-8__2U1gz>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(2rem*var(--tw-space-y-reverse));margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)))}.global_divide-y__9t4fG>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-bottom-width:calc(1px*var(--tw-divide-y-reverse));border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))}.global_divide-gray-200__vBgZ6>:not([hidden])~:not([hidden]){--tw-divide-opacity:1;border-color:rgb(229 231 235/var(--tw-divide-opacity,1))}.global_overflow-auto__nvuhG{overflow:auto}.global_overflow-hidden__zzURH{overflow:hidden}.global_overflow-x-auto__mjJmr{overflow-x:auto}.global_truncate__9PF6Z{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.global_whitespace-nowrap__2o0Ne{white-space:nowrap}.global_break-words__Y50Uk{overflow-wrap:break-word}.global_rounded__kzi3T{border-radius:.25rem}.global_rounded-full__AkR7k{border-radius:9999px}.global_rounded-lg__d2box{border-radius:var(--radius)}.global_rounded-md__GiyAX{border-radius:calc(var(--radius) - 2px)}.global_rounded-sm__c-8OF{border-radius:calc(var(--radius) - 4px)}.global_rounded-xl__1LYd9{border-radius:.75rem}.global_rounded-b-lg__j6V7y{border-bottom-left-radius:var(--radius);border-bottom-right-radius:var(--radius)}.global_rounded-t-lg__zo1n7{border-top-left-radius:var(--radius);border-top-right-radius:var(--radius)}.global_border__anNLX{border-width:1px}.global_border-0__Ha8mi{border-width:0}.global_border-2__YRMX7{border-width:2px}.global_border-b__V3c9J{border-bottom-width:1px}.global_border-t__8S3fD{border-top-width:1px}.global_border-none__88GDW{border-style:none}.global_border-black__KWnOE{--tw-border-opacity:1;border-color:rgb(0 0 0/var(--tw-border-opacity,1))}.global_border-gray-200__F4W89{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity,1))}.global_border-gray-300__iNsjt{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity,1))}.global_border-input__G45ze{border-color:hsl(var(--input))}.global_border-slate-300__tc0Og{--tw-border-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity,1))}.global_border-transparent__y5eKk{border-color:transparent}.global_border-t-transparent__616x7{border-top-color:transparent}.global_bg-background__K--HK{background-color:hsl(var(--background))}.global_bg-black--50__MrhPr{background-color:rgba(0,0,0,.5)}.global_bg-black--80__yLuJ6{background-color:rgba(0,0,0,.8)}.global_bg-destructive__wk9Fz{background-color:hsl(var(--destructive))}.global_bg-gray-100__hmFan{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity,1))}.global_bg-gray-200__2XS8H{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity,1))}.global_bg-gray-500__7RWVv{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity,1))}.global_bg-green-100__AdTdi{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity,1))}.global_bg-muted__p6zUS{background-color:hsl(var(--muted))}.global_bg-muted--10__qbZIk{background-color:hsl(var(--muted)/.1)}.global_bg-popover__WKTcx{background-color:hsl(var(--popover))}.global_bg-primary__-6v6Y{background-color:hsl(var(--primary))}.global_bg-red-100__jps6i{--tw-bg-opacity:1;background-color:rgb(254 226 226/var(--tw-bg-opacity,1))}.global_bg-red-50__vxrlQ{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity,1))}.global_bg-secondary__4cOfK{background-color:hsl(var(--secondary))}.global_bg-slate-200__NIphn{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity,1))}.global_bg-transparent__7eZbf{background-color:transparent}.global_bg-white__flJGF{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.global_bg-zinc-800--80__96dh9{background-color:rgba(39,39,42,.8)}.global_fill-current__Muiab{fill:currentColor}.global_object-contain__CYxxq{-o-object-fit:contain;object-fit:contain}.global_object-cover__JPTlp{-o-object-fit:cover;object-fit:cover}.global_p-0__8IPZm{padding:0}.global_p-0--5__qRtvB{padding:.125rem}.global_p-1__tV-ga{padding:.25rem}.global_p-1--5__UXipN{padding:.375rem}.global_p-2__k0Zws{padding:.5rem}.global_p-3__3-Qgn{padding:.75rem}.global_p-4__VuqCR{padding:1rem}.global_p-6__cMRv7{padding:1.5rem}.global_px-2__yR3EZ{padding-left:.5rem;padding-right:.5rem}.global_px-3__-E-BJ{padding-left:.75rem;padding-right:.75rem}.global_px-4__HrFvE{padding-left:1rem;padding-right:1rem}.global_px-8__iHJ23{padding-left:2rem;padding-right:2rem}.global_py-0--5__KocJ1{padding-bottom:.125rem;padding-top:.125rem}.global_py-1__NqnxH{padding-bottom:.25rem;padding-top:.25rem}.global_py-1--5__DUkeQ{padding-bottom:.375rem;padding-top:.375rem}.global_py-2__8Ss1J{padding-bottom:.5rem;padding-top:.5rem}.global_py-20__EcNY6{padding-bottom:5rem;padding-top:5rem}.global_py-3__qilgK{padding-bottom:.75rem;padding-top:.75rem}.global_py-4__HuIt3{padding-bottom:1rem;padding-top:1rem}.global_pb-1__0gekP{padding-bottom:.25rem}.global_pl-8__W5ev4{padding-left:2rem}.global_pr-2__ASPXP{padding-right:.5rem}.global_text-left__Q2W-W{text-align:left}.global_text-center__7Se6w{text-align:center}.global_font-sans__83hnH{font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.global_text-2xl__s36gQ{font-size:1.5rem;line-height:2rem}.global_text-3xl__E9-bD{font-size:1.875rem;line-height:2.25rem}.global_text-5xl__FfzyT{font-size:3rem;line-height:1}.global_text-base__trzCF{font-size:1rem;line-height:1.5rem}.global_text-lg__CCR-k{font-size:1.125rem;line-height:1.75rem}.global_text-sm__Ib8dm{font-size:.875rem;line-height:1.25rem}.global_text-xl__gmfY9{font-size:1.25rem;line-height:1.75rem}.global_text-xs__DYcGf{font-size:.75rem;line-height:1rem}.global_font-bold__rhi4k{font-weight:700}.global_font-light__Q3uzO{font-weight:300}.global_font-medium__E-6Pd{font-weight:500}.global_font-semibold__Xphfs{font-weight:600}.global_lowercase__dvU1W{text-transform:lowercase}.global_leading-normal__Pyo9L{line-height:1.5}.global_leading-relaxed__lMGIf{line-height:1.625}.global_tracking-widest__oL8Aq{letter-spacing:.1em}.global_text-destructive-foreground__CK3HA{color:hsl(var(--destructive-foreground))}.global_text-gray-600__UVK8r{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity,1))}.global_text-gray-700__GGU3A{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity,1))}.global_text-gray-900__KwsK-{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity,1))}.global_text-green-600__bLIEw{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity,1))}.global_text-muted-foreground__-J9cu{color:hsl(var(--muted-foreground))}.global_text-popover-foreground__TXLLx{color:hsl(var(--popover-foreground))}.global_text-primary__dQ0fm{color:hsl(var(--primary))}.global_text-primary-foreground__NuR1a{color:hsl(var(--primary-foreground))}.global_text-red-400__jNAnh{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity,1))}.global_text-red-500__Md0aH{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity,1))}.global_text-red-600__3FZL5{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.global_text-secondary-foreground__O69wL{color:hsl(var(--secondary-foreground))}.global_text-white__LWPmv{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.global_text-zinc-400__e5UV1{--tw-text-opacity:1;color:rgb(161 161 170/var(--tw-text-opacity,1))}.global_underline-offset-4__lhfb0{text-underline-offset:4px}.global_opacity-0__5xB57{opacity:0}.global_opacity-100__CpA4f{opacity:1}.global_opacity-60__uonB1{opacity:.6}.global_shadow__dc2by{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.global_shadow-lg__sTTY3,.global_shadow__dc2by{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.global_shadow-lg__sTTY3{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.global_shadow-md__VVqqy{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.global_shadow-md__VVqqy,.global_shadow-sm__GZt5n{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.global_shadow-sm__GZt5n{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.global_outline-none__IVVrz{outline:2px solid transparent;outline-offset:2px}.global_outline__V3FJz{outline-style:solid}.global_ring-0__T0AX6{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.global_drop-shadow__rXZE-{--tw-drop-shadow:drop-shadow(0 1px 2px rgba(0,0,0,.1)) drop-shadow(0 1px 1px rgba(0,0,0,.06))}.global_drop-shadow__rXZE-,.global_filter__ul10P{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)}.global_backdrop-blur__udeqW{--tw-backdrop-blur:blur(8px);-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);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)}.global_transition__doSF-{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.global_transition-all__VsTJx{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.global_transition-colors__JwD71{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.global_transition-opacity__Mg7o5{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.global_transition-transform__RiSeq{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.global_duration-200__igYQX{transition-duration:.2s}.global_duration-300__VOwLj{transition-duration:.3s}.global_ease-in-out__R1ttn{transition-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes global_enter__aAdX3{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0) scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1)) rotate(var(--tw-enter-rotate,0))}}@keyframes global_exit__Q4XBE{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0) scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1)) rotate(var(--tw-exit-rotate,0))}}.global_animate-in__nzv52{--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial;animation-duration:.15s;animation-name:global_enter__aAdX3}.global_fade-in-0__TR872{--tw-enter-opacity:0}.global_zoom-in-95__5pv3A{--tw-enter-scale:.95}.global_duration-200__igYQX{animation-duration:.2s}.global_duration-300__VOwLj{animation-duration:.3s}.global_ease-in-out__R1ttn{animation-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes global_shimmer__l4plC{0%{background-position:-200% 0}to{background-position:200% 0}}.global_shimmer__l4plC{animation:global_shimmer__l4plC 3s linear infinite;background:linear-gradient(90deg,hsl(var(--background)) 0,hsl(var(--muted)) 20%,hsl(var(--background)) 40%);background-size:200% 100%}@keyframes global_spin__QFD8e{to{transform:rotate(1turn)}}@keyframes global_pulse__IEsU5{50%{transform:scale(1.1)}}.global_modern-spinner__RMKi6{align-items:center;display:flex;height:1.75rem;justify-content:center;position:relative;width:1.75rem}.global_modern-spinner__RMKi6:after,.global_modern-spinner__RMKi6:before{border-radius:9999px;content:"";position:absolute}.global_modern-spinner__RMKi6:before{border-color:hsl(var(--muted)/.3);border-width:1.5px;inset:0}.global_modern-spinner__RMKi6:after{animation:global_spin__QFD8e 1s linear infinite;border-color:hsl(var(--primary));border-top-color:transparent;border-width:1.5px;inset:0}.global_placeholder--text-gray-400__TsY6L::-moz-placeholder{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.global_placeholder--text-gray-400__TsY6L::placeholder{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.global_hover--scale-105__X3iez:hover{--tw-scale-x:1.05;--tw-scale-y:1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.global_hover--bg-accent__S9ZNX:hover{background-color:hsl(var(--accent))}.global_hover--bg-destructive--90__VLkXT:hover{background-color:hsl(var(--destructive)/.9)}.global_hover--bg-gray-100__cdKx7:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity,1))}.global_hover--bg-gray-50__iJrXW:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity,1))}.global_hover--bg-green-200__t6hPT:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity,1))}.global_hover--bg-primary--90__pbFCG:hover{background-color:hsl(var(--primary)/.9)}.global_hover--bg-red-200__R-lnF:hover{--tw-bg-opacity:1;background-color:rgb(254 202 202/var(--tw-bg-opacity,1))}.global_hover--bg-secondary--80__H3Wfm:hover{background-color:hsl(var(--secondary)/.8)}.global_hover--bg-zinc-700--50__qTOLP:hover{background-color:rgba(63,63,70,.5)}.global_hover--bg-opacity-50__cHxZh:hover{--tw-bg-opacity:0.5}.global_hover--bg-opacity-70__r-jGq:hover{--tw-bg-opacity:0.7}.global_hover--bg-opacity-80__YJUej:hover{--tw-bg-opacity:0.8}.global_hover--text-accent-foreground__G82y8:hover{color:hsl(var(--accent-foreground))}.global_hover--text-gray-700__1YKfU:hover{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity,1))}.global_hover--text-gray-900__qpzLI:hover{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity,1))}.global_hover--text-zinc-100__AvIjC:hover{--tw-text-opacity:1;color:rgb(244 244 245/var(--tw-text-opacity,1))}.global_hover--underline__sEpkX:hover{text-decoration-line:underline}.global_hover--opacity-90__3QEdk:hover{opacity:.9}.global_focus--bg-accent__X-eR4:focus{background-color:hsl(var(--accent))}.global_focus--text-accent-foreground__GX6z3:focus{color:hsl(var(--accent-foreground))}.global_focus--outline-none__-4BYR:focus{outline:2px solid transparent;outline-offset:2px}.global_focus--ring-2__uLRNv:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.global_focus--ring-offset-2__KdSBh:focus{--tw-ring-offset-width:2px}.global_focus-visible--outline-none__al4Ej:focus-visible{outline:2px solid transparent;outline-offset:2px}.global_focus-visible--ring-1__LumQj:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.global_focus-visible--ring-2__IerTj:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.global_focus-visible--ring-ring__Mvzks:focus-visible{--tw-ring-color:hsl(var(--ring))}.global_focus-visible--ring-offset-2__Ov9Fd:focus-visible{--tw-ring-offset-width:2px}.global_focus-visible--ring-offset-background__spWGz:focus-visible{--tw-ring-offset-color:hsl(var(--background))}.global_active--scale-95__sC4sr:active{--tw-scale-x:.95;--tw-scale-y:.95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.global_disabled--pointer-events-none__42nUY:disabled{pointer-events:none}.global_disabled--cursor-not-allowed__Dv-mK:disabled{cursor:not-allowed}.global_disabled--opacity-50__0m1Vr:disabled{opacity:.5}.global_group__CGc6Y:hover .global_group-hover--opacity-100__sN5F3{opacity:1}.global_data---disabled----pointer-events-none__DQuIM[data-disabled]{pointer-events:none}.global_data---state--checked----translate-x-4__LYcU3[data-state=checked]{--tw-translate-x:1rem}.global_data---state--checked----translate-x-4__LYcU3[data-state=checked],.global_data---state--unchecked----translate-x-0__ADlcL[data-state=unchecked]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.global_data---state--unchecked----translate-x-0__ADlcL[data-state=unchecked]{--tw-translate-x:0px}.global_data---state--checked----bg-primary__YcJaz[data-state=checked]{background-color:hsl(var(--primary))}.global_data---state--open----bg-accent__svwvV[data-state=open]{background-color:hsl(var(--accent))}.global_data---state--unchecked----bg-input__RxQL5[data-state=unchecked]{background-color:hsl(var(--input))}.global_data---disabled----opacity-50__ESode[data-disabled]{opacity:.5}.global_data---state--open----animate-in__zdqaq[data-state=open]{--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial;animation-duration:.15s;animation-name:global_enter__aAdX3}.global_data---state--closed----animate-out__ZkthM[data-state=closed]{--tw-exit-opacity:initial;--tw-exit-scale:initial;--tw-exit-rotate:initial;--tw-exit-translate-x:initial;--tw-exit-translate-y:initial;animation-duration:.15s;animation-name:global_exit__Q4XBE}.global_data---state--closed----fade-out-0__TiF0O[data-state=closed]{--tw-exit-opacity:0}.global_data---state--open----fade-in-0__eQemC[data-state=open]{--tw-enter-opacity:0}.global_data---state--closed----zoom-out-95__CHgxT[data-state=closed]{--tw-exit-scale:.95}.global_data---state--open----zoom-in-95__ffIQh[data-state=open]{--tw-enter-scale:.95}.global_data---side--bottom----slide-in-from-top-2__BwdSh[data-side=bottom]{--tw-enter-translate-y:-0.5rem}.global_data---side--left----slide-in-from-right-2__QbaVc[data-side=left]{--tw-enter-translate-x:0.5rem}.global_data---side--right----slide-in-from-left-2__b5eyS[data-side=right]{--tw-enter-translate-x:-0.5rem}.global_data---side--top----slide-in-from-bottom-2__UcFnQ[data-side=top]{--tw-enter-translate-y:0.5rem}.global_dark--border-gray-700__Mndjt:is([data-mode=dark] *){--tw-border-opacity:1;border-color:rgb(55 65 81/var(--tw-border-opacity,1))}.global_dark--border-white__3Ba2z:is([data-mode=dark] *){--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity,1))}.global_dark--bg-gray-800__1zNB-:is([data-mode=dark] *){--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity,1))}.global_dark--text-gray-400__aHg9q:is([data-mode=dark] *){--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.global_dark--hover--text-gray-300__dQDBc:hover:is([data-mode=dark] *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity,1))}@media (min-width:640px){.global_sm--ml-3__p3mD7{margin-left:.75rem}.global_sm--block__SrYf7{display:block}.global_sm--h-5__KOJq8{height:1.25rem}.global_sm--h-9__3gnik{height:2.25rem}.global_sm--h---52px--__exkpU{height:52px}.global_sm--w-5__LrzPT{width:1.25rem}.global_sm--w-9__IH5Mf{width:2.25rem}.global_sm--w-auto__6ZSZh{width:auto}.global_sm--max-w---90vw--__6xePC{max-width:90vw}.global_sm--gap-3__grPKd{gap:.75rem}.global_sm--p-8__ud1Cf{padding:2rem}.global_sm--text-base__7Vw86{font-size:1rem;line-height:1.5rem}}.global_------svg----size-4__rMyZF>svg{height:1rem;width:1rem}.global_------svg----shrink-0__HdhJK>svg{flex-shrink:0}.global_----_svg----pointer-events-none__BKt-F svg{pointer-events:none}.global_----_svg----size-4__Ebh-8 svg{height:1rem;width:1rem}.global_----_svg----shrink-0__O8SNI svg{flex-shrink:0}.generating-star-module_animate-spin__AJjwz{animation:generating-star-module_rotate__ChndJ 2s linear infinite;transform:none;transform-box:fill-box;transform-origin:center}@keyframes generating-star-module_rotate__ChndJ{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}
4
4
  /*# sourceMappingURL=index.css.map */
@@ -1 +1 @@
1
- {"version":3,"sources":["global.css","generating-star.module.css"],"names":[],"mappings":"AAAA,iBAAA,uBAAc,CAAd,uBAAc,CAAd,kBAAc,CAAd,kBAAc,CAAd,aAAc,CAAd,aAAc,CAAd,aAAc,CAAd,cAAc,CAAd,cAAc,CAAd,YAAc,CAAd,YAAc,CAAd,iBAAc,CAAd,qCAAc,CAAd,6BAAc,CAAd,4BAAc,CAAd,2BAAc,CAAd,cAAc,CAAd,mBAAc,CAAd,qBAAc,CAAd,sBAAc,CAAd,uBAAc,CAAd,iBAAc,CAAd,0BAAc,CAAd,2BAAc,CAAd,mCAAc,CAAd,iCAAc,CAAd,0BAAc,CAAd,qBAAc,CAAd,6BAAc,CAAd,WAAc,CAAd,iBAAc,CAAd,eAAc,CAAd,gBAAc,CAAd,iBAAc,CAAd,aAAc,CAAd,eAAc,CAAd,YAAc,CAAd,kBAAc,CAAd,oBAAc,CAAd,0BAAc,CAAd,wBAAc,CAAd,yBAAc,CAAd,0BAAc,CAAd,sBAAc,CAAd,uBAAc,CAAd,wBAAc,CAAd,qBAAc,CAAd,mBAAc,CAAd,qBAAc,CAAd,oBAAc,CAAd,oBAAc,CAAd,WAAA,uBAAc,CAAd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,mCAwIC,CAxID,yEAAA,kCAwIC,CAxID,4DAAA,UAwIC,CAxID,iEAAA,0BAwIC,CAxID,wBAwIC,CAxID,yBAwIC,CAxID,8BAwIC,CAxID,8BAAA,CAAA,uBAwIC,CAxID,kCAwIC,CAxID,sEAAA,yBAwIC,CAxID,uBAwIC,CAxID,wBAwIC,CAxID,6BAwIC,CAxID,6BAAA,CAAA,uBAwIC,CAxID,iCAwIC,CAxID,qEAAA,mBAwIC,CAxID,gEAAA,oBAwIC,CAxID,sEAAA,mBAwIC,CAxID,iEAAA,oBAwIC,CAxID,4EAAA,8BAwIC,CAxID,0EAAA,6BAwIC,CAxID,2EAAA,8BAwIC,CAxID,yEAAA,6BAwIC,CAxID,4DAAA,qBAwIC,CAxID,qDAwIC,CAxID,yDAAA,qBAwIC,CAxID,wDAwIC,CAxID,wDAAA,iBAwIC,CAxID,qDAwIC,CAxID,0DAAA,mBAwIC,CAxID,+CAwIC,CAxID,uEAAA,mBAwIC,CAxID,+CAwIC,CAxID,yBAAA,wBAAA,kBAwIC,CAxID,yBAAA,aAwIC,CAxID,uBAAA,cAwIC,CAxID,uBAAA,cAwIC,CAxID,8BAAA,WAwIC,CAxID,uBAAA,aAwIC,CAxID,uBAAA,aAwIC,CAxID,0BAAA,UAwIC,CAxID,kCAAA,cAwIC,CAxID,yBAAA,UAwIC,CAxID,uBAAA,YAwIC,CAxID,6BAAA,cAwIC,CAxID,kBAwIC,CAxID,4DAAA,cAwIC,CAxID,kBAwIC,CAxID,uDAAA,cAwIC,CAxID,kBAwIC,CAAA,CAxID,uCAAA,WAAA,CAAA,UAwIC,CAxID,yCAAA,aAwIC,CAxID,mDAAA,mBAwIC,CAxID,sCAAA,WAAA,CAAA,UAwIC,CAxID,wCAAA,aAwIC,CCxID,4CACE,iEAAoC,CAGpC,cAAe,CAFf,sBAAuB,CACvB,uBAEF,CAEA,gDACE,GACE,sBACF,CACA,GACE,uBACF,CACF","file":"index.css","sourcesContent":["@tailwind base;\n@tailwind components;\n@tailwind utilities;\n \n@layer base {\n :root {\n --background: 0 0% 100%;\n --foreground: 0 0% 3.9%;\n --link: 215 90% 50%;\n\n --card: 0 0% 100%;\n --card-foreground: 0 0% 3.9%;\n \n --popover: 0 0% 100%;\n --popover-foreground: 0 0% 3.9%;\n \n --primary: 0 0% 9%;\n --primary-foreground: 0 0% 98%;\n \n --secondary: 0 0% 96.1%;\n --secondary-foreground: 0 0% 9%;\n \n --muted: 0 0% 96.1%;\n --muted-foreground: 0 0% 45.1%;\n \n --accent: 0 0% 96.1%;\n --accent-foreground: 0 0% 9%;\n \n --destructive: 0 84.2% 60.2%;\n --destructive-foreground: 0 0% 98%;\n\n --border: 0 0% 89.8%;\n --input: 0 0% 89.8%;\n --ring: 0 0% 3.9%;\n \n --radius: 0.5rem;\n }\n \n .dark {\n --background: 0 0% 3.9%;\n --foreground: 0 0% 98%;\n --link: 215 90% 60%;\n \n --card: 0 0% 3.9%;\n --card-foreground: 0 0% 98%;\n \n --popover: 0 0% 3.9%;\n --popover-foreground: 0 0% 98%;\n \n --primary: 0 0% 98%;\n --primary-foreground: 0 0% 9%;\n \n --secondary: 0 0% 14.9%;\n --secondary-foreground: 0 0% 98%;\n \n --muted: 0 0% 14.9%;\n --muted-foreground: 0 0% 63.9%;\n \n --accent: 0 0% 14.9%;\n --accent-foreground: 0 0% 98%;\n \n --destructive: 0 62.8% 30.6%;\n --destructive-foreground: 0 0% 98%;\n \n --border: 0 0% 14.9%;\n --input: 0 0% 14.9%;\n --ring: 0 0% 83.1%;\n }\n}\n \n@layer base {\n * {\n @apply border-border;\n }\n body {\n @apply bg-background text-foreground;\n }\n}\n\n@layer components {\n .link {\n @apply text-[hsl(var(--link))] underline decoration-[hsl(var(--link))] decoration-2 underline-offset-2 opacity-90 transition-all hover:opacity-100 hover:decoration-[3px];\n }\n}\n\n@keyframes shimmer {\n 0% {\n background-position: -200% 0;\n }\n 100% {\n background-position: 200% 0;\n }\n}\n\n.shimmer {\n animation: shimmer 3s infinite linear;\n background: linear-gradient(\n 90deg,\n hsl(var(--background)) 0%,\n hsl(var(--muted)) 20%,\n hsl(var(--background)) 40%\n );\n background-size: 200% 100%;\n}\n\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n\n@keyframes pulse {\n 50% {\n transform: scale(1.1);\n }\n}\n\n.modern-spinner {\n @apply relative flex items-center justify-center;\n width: 1.75rem;\n height: 1.75rem;\n}\n\n.modern-spinner::before,\n.modern-spinner::after {\n content: \"\";\n @apply absolute rounded-full;\n}\n\n.modern-spinner::before {\n @apply inset-0 border-[1.5px] border-muted/30;\n}\n\n.modern-spinner::after {\n @apply inset-0 border-[1.5px] border-primary border-t-transparent;\n animation: spin 1s linear infinite;\n}",".animate-spin {\n animation: rotate 2s linear infinite;\n transform-box: fill-box;\n transform-origin: center;\n transform: none;\n}\n\n@keyframes rotate {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n} "]}
1
+ {"version":3,"sources":["global.css","generating-star.module.css"],"names":[],"mappings":"AAAA,iBAAA,uBAAc,CAAd,uBAAc,CAAd,kBAAc,CAAd,kBAAc,CAAd,aAAc,CAAd,aAAc,CAAd,aAAc,CAAd,cAAc,CAAd,cAAc,CAAd,YAAc,CAAd,YAAc,CAAd,iBAAc,CAAd,qCAAc,CAAd,6BAAc,CAAd,4BAAc,CAAd,2BAAc,CAAd,cAAc,CAAd,mBAAc,CAAd,qBAAc,CAAd,sBAAc,CAAd,uBAAc,CAAd,iBAAc,CAAd,0BAAc,CAAd,2BAAc,CAAd,mCAAc,CAAd,iCAAc,CAAd,0BAAc,CAAd,qBAAc,CAAd,6BAAc,CAAd,WAAc,CAAd,iBAAc,CAAd,eAAc,CAAd,gBAAc,CAAd,iBAAc,CAAd,aAAc,CAAd,eAAc,CAAd,YAAc,CAAd,kBAAc,CAAd,oBAAc,CAAd,0BAAc,CAAd,wBAAc,CAAd,yBAAc,CAAd,0BAAc,CAAd,sBAAc,CAAd,uBAAc,CAAd,wBA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6BAAA,CAAA,uBAwIC,CAxID,iCAwIC,CAxID,qEAAA,mBAwIC,CAxID,gEAAA,oBAwIC,CAxID,sEAAA,mBAwIC,CAxID,iEAAA,oBAwIC,CAxID,4EAAA,8BAwIC,CAxID,0EAAA,6BAwIC,CAxID,2EAAA,8BAwIC,CAxID,yEAAA,6BAwIC,CAxID,4DAAA,qBAwIC,CAxID,qDAwIC,CAxID,yDAAA,qBAwIC,CAxID,wDAwIC,CAxID,wDAAA,iBAwIC,CAxID,qDAwIC,CAxID,0DAAA,mBAwIC,CAxID,+CAwIC,CAxID,uEAAA,mBAwIC,CAxID,+CAwIC,CAxID,yBAAA,wBAAA,kBAwIC,CAxID,yBAAA,aAwIC,CAxID,uBAAA,cAwIC,CAxID,uBAAA,cAwIC,CAxID,8BAAA,WAwIC,CAxID,uBAAA,aAwIC,CAxID,uBAAA,aAwIC,CAxID,0BAAA,UAwIC,CAxID,kCAAA,cAwIC,CAxID,yBAAA,UAwIC,CAxID,uBAAA,YAwIC,CAxID,6BAAA,cAwIC,CAxID,kBAwIC,CAAA,CAxID,uCAAA,WAAA,CAAA,UAwIC,CAxID,yCAAA,aAwIC,CAxID,mDAAA,mBAwIC,CAxID,sCAAA,WAAA,CAAA,UAwIC,CAxID,wCAAA,aAwIC,CCxID,4CACE,iEAAoC,CAGpC,cAAe,CAFf,sBAAuB,CACvB,uBAEF,CAEA,gDACE,GACE,sBACF,CACA,GACE,uBACF,CACF","file":"index.css","sourcesContent":["@tailwind base;\n@tailwind components;\n@tailwind utilities;\n \n@layer base {\n :root {\n --background: 0 0% 100%;\n --foreground: 0 0% 3.9%;\n --link: 215 90% 50%;\n\n --card: 0 0% 100%;\n --card-foreground: 0 0% 3.9%;\n \n --popover: 0 0% 100%;\n --popover-foreground: 0 0% 3.9%;\n \n --primary: 0 0% 9%;\n --primary-foreground: 0 0% 98%;\n \n --secondary: 0 0% 96.1%;\n --secondary-foreground: 0 0% 9%;\n \n --muted: 0 0% 96.1%;\n --muted-foreground: 0 0% 45.1%;\n \n --accent: 0 0% 96.1%;\n --accent-foreground: 0 0% 9%;\n \n --destructive: 0 84.2% 60.2%;\n --destructive-foreground: 0 0% 98%;\n\n --border: 0 0% 89.8%;\n --input: 0 0% 89.8%;\n --ring: 0 0% 3.9%;\n \n --radius: 0.5rem;\n }\n \n .dark {\n --background: 0 0% 3.9%;\n --foreground: 0 0% 98%;\n --link: 215 90% 60%;\n \n --card: 0 0% 3.9%;\n --card-foreground: 0 0% 98%;\n \n --popover: 0 0% 3.9%;\n --popover-foreground: 0 0% 98%;\n \n --primary: 0 0% 98%;\n --primary-foreground: 0 0% 9%;\n \n --secondary: 0 0% 14.9%;\n --secondary-foreground: 0 0% 98%;\n \n --muted: 0 0% 14.9%;\n --muted-foreground: 0 0% 63.9%;\n \n --accent: 0 0% 14.9%;\n --accent-foreground: 0 0% 98%;\n \n --destructive: 0 62.8% 30.6%;\n --destructive-foreground: 0 0% 98%;\n \n --border: 0 0% 14.9%;\n --input: 0 0% 14.9%;\n --ring: 0 0% 83.1%;\n }\n}\n \n@layer base {\n * {\n @apply border-border;\n }\n body {\n @apply bg-background text-foreground;\n }\n}\n\n@layer components {\n .link {\n @apply text-[hsl(var(--link))] underline decoration-[hsl(var(--link))] decoration-2 underline-offset-2 opacity-90 transition-all hover:opacity-100 hover:decoration-[3px];\n }\n}\n\n@keyframes shimmer {\n 0% {\n background-position: -200% 0;\n }\n 100% {\n background-position: 200% 0;\n }\n}\n\n.shimmer {\n animation: shimmer 3s infinite linear;\n background: linear-gradient(\n 90deg,\n hsl(var(--background)) 0%,\n hsl(var(--muted)) 20%,\n hsl(var(--background)) 40%\n );\n background-size: 200% 100%;\n}\n\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n\n@keyframes pulse {\n 50% {\n transform: scale(1.1);\n }\n}\n\n.modern-spinner {\n @apply relative flex items-center justify-center;\n width: 1.75rem;\n height: 1.75rem;\n}\n\n.modern-spinner::before,\n.modern-spinner::after {\n content: \"\";\n @apply absolute rounded-full;\n}\n\n.modern-spinner::before {\n @apply inset-0 border-[1.5px] border-muted/30;\n}\n\n.modern-spinner::after {\n @apply inset-0 border-[1.5px] border-primary border-t-transparent;\n animation: spin 1s linear infinite;\n}",".animate-spin {\n animation: rotate 2s linear infinite;\n transform-box: fill-box;\n transform-origin: center;\n transform: none;\n}\n\n@keyframes rotate {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n} "]}
package/dist/esm/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import*as e from"react";import t,{memo as a,useState as r,useEffect as n,useRef as o,forwardRef as s,useImperativeHandle as i}from"react";import{CheckCircle as l,Clipboard as c,Download as d,Expand as m,Heart as u,ThumbsUp as h,ThumbsDown as p,Check as f,Copy as g,FileText as y,ChevronDown as b,ExternalLink as v,HelpCircle as x,ChevronRight as w,MoreVertical as E,ArrowDown as N,Search as k,X as C,CheckCircle2 as j,Circle as O,Image as S,ArrowRight as z,ArrowUp as L}from"lucide-react";import{AnimatePresence as R,motion as I}from"framer-motion";import{jsx as T,Fragment as $}from"react/jsx-runtime";import{cva as P}from"class-variance-authority";import{clsx as A}from"clsx";import{twMerge as F}from"tailwind-merge";import*as Q from"@radix-ui/react-dropdown-menu";import{ChevronRightIcon as M,CheckIcon as q,DotFilledIcon as U}from"@radix-ui/react-icons";import*as _ from"@radix-ui/react-tooltip";import W from"rehype-raw";import D from"remark-gfm";import{Prism as Z}from"react-syntax-highlighter";import{a11yDark as B}from"react-syntax-highlighter/dist/cjs/styles/prism";import H from"react-markdown";import V from"mermaid";function Y(e,t){var a={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(a[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(a[r[n]]=e[r[n]])}return a}function K(e,t,a,r){return new(a||(a=Promise))((function(n,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function i(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(s,i)}l((r=r.apply(e,t||[])).next())}))}function J(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function G(...e){return t=>{let a=!1;const r=e.map((e=>{const r=J(e,t);return a||"function"!=typeof r||(a=!0),r}));if(a)return()=>{for(let t=0;t<r.length;t++){const a=r[t];"function"==typeof a?a():J(e[t],null)}}}}"function"==typeof SuppressedError&&SuppressedError;var X=e.forwardRef(((t,a)=>{const{children:r,...n}=t,o=e.Children.toArray(r),s=o.find(ae);if(s){const t=s.props.children,r=o.map((a=>a===s?e.Children.count(t)>1?e.Children.only(null):e.isValidElement(t)?t.props.children:null:a));return T(ee,{...n,ref:a,children:e.isValidElement(t)?e.cloneElement(t,void 0,r):null})}return T(ee,{...n,ref:a,children:r})}));X.displayName="Slot";var ee=e.forwardRef(((t,a)=>{const{children:r,...n}=t;if(e.isValidElement(r)){const t=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,a=t&&"isReactWarning"in t&&t.isReactWarning;if(a)return e.ref;if(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a)return e.props.ref;return e.props.ref||e.ref}(r);return e.cloneElement(r,{...re(n,r.props),ref:a?G(a,t):t})}return e.Children.count(r)>1?e.Children.only(null):null}));ee.displayName="SlotClone";var te=({children:e})=>T($,{children:e});function ae(t){return e.isValidElement(t)&&t.type===te}function re(e,t){const a={...t};for(const r in t){const n=e[r],o=t[r];/^on[A-Z]/.test(r)?n&&o?a[r]=(...e)=>{o(...e),n(...e)}:n&&(a[r]=n):"style"===r?a[r]={...n,...o}:"className"===r&&(a[r]=[n,o].filter(Boolean).join(" "))}return{...e,...a}}function ne(...e){return F(A(e))}function oe(e){const t={en:[/i(?:\s|['\u2018\u2019])?m(?:\s+really)?\s+not\s+sure/i,/i(?:\s+am)?(?:\s+really)?\s+not\s+sure/i,/i\s+don(?:['\u2018\u2019])?t\s+know/i,/it(?:['\u2018\u2019]s| is) unclear/i,/cannot determine/i,/hard to say/i,/difficult to determine/i,/need more information/i],es:[/no (?:lo )?sé/i,/no estoy seguro/i,/no es claro/i,/desconocido/i],fr:[/je ne sais pas/i,/je ne suis pas sûr/i,/ce n'est pas clair/i,/inconnu/i],de:[/ich weiß nicht/i,/ich bin nicht sicher/i,/es ist unklar/i,/unbekannt/i],it:[/non lo so/i,/non sono sicuro/i,/non è chiaro/i,/sconosciuto/i],pt:[/não sei/i,/não tenho certeza/i,/não está claro/i,/desconhecido/i],nl:[/ik weet het niet/i,/ik weet niet zeker/i,/het is onduidelijk/i,/onbekend/i],pl:[/nie wiem/i,/nie jestem pewien/i,/to nie jest jasne/i,/nieznany/i],ru:[/я не знаю/i,/я не уверен/i,/это не ясно/i,/неизвестно/i],ja:[/知りません/i,/よくわからない/i,/不明です/i,/未知/i],ko:[/모릅니다/i,/잘 모르겠습니다/i,/불확실합니다/i,/알 수 없음/i],zh:[/我不知道/i,/我不确定/i,/不清楚/i,/未知/i],"zh-TW":[/我不知道/i,/我不確定/i,/不清楚/i,/未知/i]};let a=null;for(const[r,n]of Object.entries(t))for(const t of n){const n=e.match(t);n&&(null===a||n.index<a.index)&&(a={index:n.index,language:r})}return a?{uncertain:!0,language:a.language}:{uncertain:!1,language:null}}const se=P("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),ie=e.forwardRef(((t,a)=>{var{className:r,variant:n,size:o,asChild:s=!1}=t,i=Y(t,["className","variant","size","asChild"]);const l=s?X:"button";return e.createElement(l,Object.assign({className:ne(se({variant:n,size:o,className:r})),ref:a},i))}));ie.displayName="Button";const le=Q.Root,ce=Q.Trigger;e.forwardRef(((t,a)=>{var{className:r,inset:n,children:o}=t,s=Y(t,["className","inset","children"]);return e.createElement(Q.SubTrigger,Object.assign({ref:a,className:ne("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",n&&"pl-8",r)},s),o,e.createElement(M,{className:"ml-auto"}))})).displayName=Q.SubTrigger.displayName;e.forwardRef(((t,a)=>{var{className:r}=t,n=Y(t,["className"]);return e.createElement(Q.SubContent,Object.assign({ref:a,className:ne("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r)},n))})).displayName=Q.SubContent.displayName;const de=e.forwardRef(((t,a)=>{var{className:r,sideOffset:n=4}=t,o=Y(t,["className","sideOffset"]);return e.createElement(Q.Portal,null,e.createElement(Q.Content,Object.assign({ref:a,sideOffset:n,className:ne("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r)},o)))}));de.displayName=Q.Content.displayName;const me=e.forwardRef(((t,a)=>{var{className:r,inset:n}=t,o=Y(t,["className","inset"]);return e.createElement(Q.Item,Object.assign({ref:a,className:ne("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",n&&"pl-8",r)},o))}));me.displayName=Q.Item.displayName;e.forwardRef(((t,a)=>{var{className:r,children:n,checked:o}=t,s=Y(t,["className","children","checked"]);return e.createElement(Q.CheckboxItem,Object.assign({ref:a,className:ne("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r),checked:o},s),e.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},e.createElement(Q.ItemIndicator,null,e.createElement(q,{className:"h-4 w-4"}))),n)})).displayName=Q.CheckboxItem.displayName;e.forwardRef(((t,a)=>{var{className:r,children:n}=t,o=Y(t,["className","children"]);return e.createElement(Q.RadioItem,Object.assign({ref:a,className:ne("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r)},o),e.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},e.createElement(Q.ItemIndicator,null,e.createElement(U,{className:"h-2 w-2 fill-current"}))),n)})).displayName=Q.RadioItem.displayName;e.forwardRef(((t,a)=>{var{className:r,inset:n}=t,o=Y(t,["className","inset"]);return e.createElement(Q.Label,Object.assign({ref:a,className:ne("px-2 py-1.5 text-sm font-semibold",n&&"pl-8",r)},o))})).displayName=Q.Label.displayName;e.forwardRef(((t,a)=>{var{className:r}=t,n=Y(t,["className"]);return e.createElement(Q.Separator,Object.assign({ref:a,className:ne("-mx-1 my-1 h-px bg-muted",r)},n))})).displayName=Q.Separator.displayName;const ue=t=>{var{delayDuration:a=200}=t,r=Y(t,["delayDuration"]);return e.createElement(_.Provider,Object.assign({delayDuration:a},r))},he=_.Root,pe=_.Trigger,fe=e.forwardRef(((t,a)=>{var{className:r,sideOffset:n=4,background:o,textColor:s,borderColor:i,style:l}=t,c=Y(t,["className","sideOffset","background","textColor","borderColor","style"]);return e.createElement(_.Portal,null,e.createElement(_.Content,Object.assign({ref:a,sideOffset:n,className:ne("z-50 overflow-hidden rounded-lg px-4 py-3 text-sm font-medium shadow-lg animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r),style:Object.assign(Object.assign({},l),{backgroundColor:o||"#ffffff",color:s||"rgb(31 41 55)",borderColor:i||"rgb(243 244 246)",borderWidth:"1px",borderStyle:"solid"})},c)))}));function ge({suggestions:e,onQuestionClick:a,borderColor:r,title:n="Suggested questions"}){return e&&0!==e.length?t.createElement("div",{className:"w-full"},t.createElement("h3",{className:"text-base font-medium mb-4 text-gray-900"},n),t.createElement("div",{className:"flex flex-wrap gap-2"},e.map((e=>t.createElement("button",{key:e.id,onClick:()=>a(e),className:"px-4 py-2 rounded-lg border border-gray-300 text-gray-700 hover:bg-gray-50 transition-colors duration-200 text-sm flex items-center gap-2",style:{borderColor:r}},void 0!==e.messageCount&&t.createElement(ue,null,t.createElement(he,null,t.createElement(pe,{asChild:!0},t.createElement("span",{className:"bg-gray-100 text-gray-600 px-2 py-0.5 rounded-full text-xs min-w-[20px] border flex items-center justify-center",style:{borderColor:r}},e.messageCount)),t.createElement(fe,null,t.createElement("p",null,e.messageCount," messages in this conversation")))),t.createElement("span",null,e.question)))))):null}fe.displayName=_.Content.displayName;const ye={javascript:".js",python:".py",java:".java",c:".c",cpp:".cpp","c++":".cpp","c#":".cs",ruby:".rb",php:".php",swift:".swift","objective-c":".m",kotlin:".kt",typescript:".ts",go:".go",perl:".pl",rust:".rs",scala:".scala",haskell:".hs",lua:".lua",shell:".sh",sql:".sql",html:".html",css:".css"},be=Z,ve=a((({language:e,value:a})=>{const[n,o]=r(!1);return t.createElement("div",{className:"relative font-sans text-sm mt-1"},t.createElement("div",{className:"relative rounded-t-lg bg-zinc-800/80 font-sans text-sm backdrop-blur"},t.createElement("div",{className:"flex h-8 items-center justify-between px-3"},t.createElement("span",{className:"text-xs font-medium text-zinc-400"},e),t.createElement("div",{className:"flex gap-1"},t.createElement(ie,{variant:"ghost",size:"icon",className:"size-5 text-zinc-400 hover:bg-zinc-700/50 hover:text-zinc-100",onClick:()=>{K(void 0,void 0,void 0,(function*(){if(navigator.clipboard&&navigator.clipboard.writeText)try{yield navigator.clipboard.writeText(a),o(!0),setTimeout((()=>{o(!1)}),2e3)}catch(e){console.error("Failed to copy:",e)}}))}},n?t.createElement(l,{size:18}):t.createElement(c,{size:18})),t.createElement(ie,{variant:"ghost",size:"icon",className:"size-5 text-zinc-400 hover:bg-zinc-700/50 hover:text-zinc-100",onClick:()=>{const t=ye[e]||".file",r=`file-${((e,t=!1)=>{const a="ABCDEFGHJKLMNPQRSTUVWXY3456789";let r="";for(let t=0;t<e;t+=1)r+=a.charAt(Math.floor(30*Math.random()));return t?r.toLowerCase():r})(3,!0)}${t}`,n=new Blob([a],{type:"text/plain"}),o=URL.createObjectURL(n),s=document.createElement("a");s.download=r,s.href=o,s.style.display="none",document.body.appendChild(s),s.click(),document.body.removeChild(s),URL.revokeObjectURL(o)}},t.createElement(d,{size:18}))))),t.createElement("div",{className:"rounded-b-lg"},t.createElement(be,{language:e,style:B,PreTag:"div",wrapLongLines:!0,customStyle:{margin:0,borderTopLeftRadius:0,borderTopRightRadius:0}},a)))}));ve.displayName="CodeBlock";const xe=e.forwardRef((({src:t,border:a,width:r="100%",height:n="400px",title:o},s)=>{const[i,l]=e.useState(!1),[c,d]=e.useState(!1);return e.useEffect((()=>{let e=!0;return setTimeout((()=>{e&&l(!0)}),0),()=>{e=!1}}),[]),e.createElement("div",{className:"overflow-hidden rounded-lg mt-4 "+(a?"border":""),style:{width:r,height:n}},i&&e.createElement(e.Fragment,null,e.createElement("div",{className:"relative w-full h-full "+(c?"hidden":"block")},e.createElement("div",{className:"absolute inset-0 bg-muted/10 rounded-lg"},e.createElement("div",{className:"absolute inset-0"},e.createElement("div",{className:"h-full w-full shimmer"}),e.createElement("div",{className:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 flex flex-col items-center gap-2"},e.createElement("div",{className:"modern-spinner"}),e.createElement("div",{className:"text-sm text-muted-foreground"},"Loading..."))))),e.createElement("div",{className:c?"visible":"invisible"},e.createElement("iframe",{ref:s,src:t,sandbox:"allow-same-origin allow-scripts allow-popups allow-forms allow-downloads",width:r,height:n,frameBorder:"0",title:"embed",loading:"lazy",allowFullScreen:!0,className:"block rounded-lg",onLoad:()=>d(!0)}),o&&e.createElement("span",{className:"block text-center text-sm font-medium"},o))))}));function we(t){const a=t.attrs.href.replace("share","embed");return e.createElement(xe,Object.assign({},t,{src:a,title:"Loom Embed"}))}function Ee(t){return e.createElement(xe,Object.assign({},t,{src:t.attrs.href,title:"Supademo Embed"}))}function Ne(t){return e.createElement(xe,Object.assign({},t,{src:t.attrs.href,title:"Typeform Embed"}))}function ke(t){const a=t.attrs.href.match(/(http|https)?:\/\/(www\.)?vimeo\.com\/(?:channels\/(?:\w+\/)?|groups\/([^/]*)\/videos\/|)(\d+)(?:\/|\?)?([\d\w]+)?/);if(!a)return null;const r=a[4],n=a[5],o=`https://player.vimeo.com/video/${r}?byline=0${n?`&h=${n}`:""}`;return e.createElement(xe,Object.assign({},t,{src:o,title:`Vimeo Embed (${r})`,height:"412px",border:!1}))}function Ce(t){const a=(e=>{const t=[/^https?:\/\/([a-zA-Z0-9-_~]+)\.wistia\.com\/medias\/([a-zA-Z0-9-_~]+)\/?$/,/^https?:\/\/fast\.wistia\.com\/embed\/iframe\/([a-zA-Z0-9-_~]+)\/?$/,/^fast\.wistia\.com\/embed\/iframe\/([a-zA-Z0-9-_~]+)\/?$/,/^([a-zA-Z0-9-_~]+)\.wistia\.com\/medias\/([a-zA-Z0-9-_~]+)\/?$/];for(const a of t){const t=e.match(a);if(t)return t}return null})(t.attrs.href);if(!a)return null;const r=a[1],n=a[2]||a[1],o=r?`https://${r}.wistia.com/embed/iframe/${n}?seo=true&videoFoam=false`:`https://fast.wistia.com/embed/iframe/${n}`;return e.createElement(xe,Object.assign({},t,{src:o,border:!0,title:`Wistia Embed (${n})`}))}function je(t){const a=(e=>{const t=e.match(/(?:https?:\/\/)?(?:www\.)?youtu\.?be(?:\.com)?\/?.*(?:watch|embed)?(?:.*v=|v\/|\/)([a-zA-Z0-9_-]{11})$/i);return t?t[1]:null})(t.attrs.href);return a?e.createElement(xe,Object.assign({},t,{src:`https://www.youtube.com/embed/${a}?modestbranding=1`,title:`YouTube Embed (${a})`})):null}we.isMatch=e=>/^https:\/\/(www\.)?(use)?loom\.com\/(embed|share)\/(.*)$/.test(e),Ee.isMatch=e=>/^https:\/\/app\.supademo\.com\/embed\/(.*)$/.test(e),Ne.isMatch=e=>/^https:\/\/([A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?)\.typeform\.com\/to\/(.*)$/.test(e),ke.isMatch=e=>/^(https?):\/\/(www\.)?vimeo\.com\/(?:channels\/(?:\w+\/)?|groups\/([^/]*)\/videos\/|)?(\d+)(\/)?(?:\?.*|#.*)?$/i.test(e),Ce.isMatch=e=>[/^https?:\/\/([a-zA-Z0-9-_~]+)\.wistia\.com\/medias\/([a-zA-Z0-9-_~]+)(\/)?(\?.*)?$/i,/^https?:\/\/fast\.wistia\.com\/embed\/iframe\/([a-zA-Z0-9-_~]+)(\/)?(\?.*)?$/i,/^fast\.wistia\.com\/embed\/iframe\/([a-zA-Z0-9-_~]+)(\/)?(\?.*)?$/i,/^([a-zA-Z0-9-_~]+)\.wistia\.com\/medias\/([a-zA-Z0-9-_~]+)(\/)?(\?.*)?$/i].some((t=>t.test(e))),je.isMatch=e=>/^(?:https?:\/\/)?(?:www\.)?(?:youtube\.com\/(?:watch\?v=|embed\/|v\/|shorts\/)|youtu\.be\/)([a-zA-Z0-9_-]{11})(?:\/|[?&].*)?$/i.test(e);const Oe=[we,Ee,Ne,je,Ce,ke],Se=t=>{const{href:a}=t.attrs,[o,s]=r(null);if(n((()=>{let e=!0;return(()=>{try{const r=Oe.find((e=>e.isMatch(a)));r&&e&&s({Component:r,props:t})}catch(e){console.error("Error finding embed match:",e)}})(),()=>{e=!1}}),[a,t]),o){const{Component:t,props:a}=o;return e.createElement(t,Object.assign({},a))}return null},ze=a(H,((e,t)=>e.children===t.children)),Le={startOnLoad:!1,theme:"default",securityLevel:"loose",fontFamily:"inherit"},Re=({content:e})=>{const[a,s]=r(""),[i,l]=r(null),c=o(null),[d,m]=r(!1);return n((()=>{(()=>{try{V.initialize(Le),m(!0)}catch(e){console.error("Error initializing mermaid:",e),l("Failed to initialize diagram renderer")}})()}),[]),n((()=>{if(!d)return;K(void 0,void 0,void 0,(function*(){try{const t=`mermaid-${Math.random().toString(36).substr(2,9)}`,a=yield V.render(t,e);s(a.svg),l(null)}catch(e){console.error("Error rendering mermaid diagram:",e),l("Failed to render diagram")}}))}),[e,d]),i?t.createElement("div",{className:"text-red-500 bg-red-50 p-4 rounded-md"},i,t.createElement("pre",{className:"mt-2 text-sm"},e)):t.createElement("div",{ref:c,className:"my-4 overflow-auto",dangerouslySetInnerHTML:{__html:a}})},Ie=({src:t,alt:a})=>{const[r,n]=e.useState(!1),[o,s]=e.useState(!1),[i,l]=e.useState(!1),[c,d]=e.useState(!0),[u,h]=e.useState({width:0,height:0}),p=e.useRef(null),f=()=>{n(!r)};return!t||i?null:e.createElement("figure",{className:"relative inline-block my-4 px-4 w-full sm:w-auto"},e.createElement("div",{className:"flex items-center justify-center min-h-[100px]"},e.createElement("button",{type:"button",onClick:f,className:"border-0 p-0 bg-transparent relative group","aria-label":r?"Zoom out image":"Zoom in image"},c&&e.createElement("div",{className:"rounded-md bg-gray-200 dark:bg-gray-800 animate-pulse",style:{width:u.width||300,height:u.height||200,maxHeight:300}}),e.createElement("img",{ref:p,src:t,alt:a,onError:()=>{d(!1),l(!0)},onLoad:()=>{if(p.current){const{naturalWidth:e,naturalHeight:t}=p.current,a=300,r=e/t,n=Math.min(a,t);h({width:n*r,height:n})}d(!1)},className:"max-h-[300px] w-auto object-contain cursor-zoom-in hover:opacity-90 transition-opacity "+(c?"opacity-0 absolute":"opacity-100 relative")}),!c&&e.createElement("div",{className:"absolute bottom-2 right-2 opacity-0 group-hover:opacity-100 transition-opacity"},e.createElement("div",{className:"bg-black/50 text-white p-1.5 rounded-lg"},e.createElement(m,{size:16}))))),a&&!c&&e.createElement("div",{className:"relative mt-1"},e.createElement("figcaption",{className:"text-sm text-gray-600 dark:text-gray-400 text-center group cursor-default",onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1)},e.createElement("div",{className:"line-clamp-2 hover:text-gray-700 dark:hover:text-gray-300"},a)),o&&e.createElement("div",{className:"absolute bottom-full left-0 right-0 mb-1 p-2 bg-white dark:bg-gray-800 rounded-lg shadow-lg border border-gray-200 dark:border-gray-700 text-sm text-gray-600 dark:text-gray-400 z-10"},a)),e.createElement(R,null,r&&e.createElement(e.Fragment,null,e.createElement(I.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 bg-black/80 z-50",onClick:f}),e.createElement(I.div,{initial:{scale:.5,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.5,opacity:0},className:"fixed inset-0 z-50 flex flex-col items-center justify-center cursor-zoom-out gap-4 p-4 sm:p-8",onClick:f},e.createElement("div",{className:"max-w-[95vw] sm:max-w-[90vw] max-h-[80vh]"},e.createElement("img",{src:t,alt:a,className:"w-full h-full object-contain"})),a&&e.createElement("div",{className:"max-w-[95vw] sm:max-w-[90vw] text-white text-center text-sm"},a)))))},Te=a((({message:e,isStreaming:a})=>{const[o,s]=r(e.content);n((()=>{var t;const a=oe(e.content);a.uncertain&&a.language&&(null===(t=e.uncertaintyFallbackText)||void 0===t?void 0:t[a.language])?s(e.uncertaintyFallbackText[a.language]):s(e.content)}),[e.content,e.uncertaintyFallbackText,a]);const i=o.replace(/^\n+|(\n+|\\)+$/g,"");return t.createElement(ze,{className:"dark:prose-invert prose flex-1",remarkPlugins:[D],rehypePlugins:[W],components:{code:e=>{var{inline:a,className:r,children:n}=e,o=Y(e,["inline","className","children"]);const s=/language-(\w+)/.exec(r||""),i=s&&s[1];return a||"mermaid"!==i&&"mermaidjs"!==i?!a&&i?t.createElement(ve,Object.assign({key:Math.random(),language:i,value:String(n).replace(/\n$/,"")},o)):t.createElement("code",Object.assign({className:`text-red-400 bg-slate-200 border-slate-300 border rounded p-0.5 ${r}`.trim()},o),n):t.createElement(Re,{content:String(n).replace(/\n$/,"")})},marker:({children:e})=>t.createElement("div",{className:"my-2"},t.createElement("span",{className:"highlight"},e)),table:({children:e})=>t.createElement("table",{className:"border-collapse border border-black px-3 py-1 dark:border-white"},e),th:({children:e})=>t.createElement("th",{className:"break-words border border-black bg-gray-500 px-3 py-1 text-white dark:border-white"},e),td:({children:e})=>t.createElement("td",{className:"break-words border border-black px-3 py-1 dark:border-white"},e),a(e){var{children:a}=e,r=Y(e,["children"]);if(r.href){const e=Se({attrs:{href:r.href}});if(t.isValidElement(e))return e}return t.createElement("a",Object.assign({className:"link",target:"_blank",rel:"noopener noreferrer"},r),a)},pre:({children:e})=>t.createElement(t.Fragment,null,e),img({src:e,alt:a}){const r=Se({attrs:{href:null!=e?e:""}});return t.isValidElement(r)?r:t.createElement(Ie,{src:e,alt:a})},li:e=>{var{children:a}=e,r=Y(e,["children"]);return t.createElement("li",Object.assign({className:"py-1"},r),a)},ul:({children:e})=>t.createElement("ul",{className:"ml-4 list-outside list-disc"},e),ol:({children:e})=>t.createElement("ol",{className:"ml-4 list-outside list-decimal"},e),strong:e=>{var{children:a}=e,r=Y(e,["children"]);return t.createElement("span",Object.assign({className:"font-semibold"},r),a)},h1:e=>{var{children:a}=e,r=Y(e,["children"]);return t.createElement("h1",Object.assign({className:"mb-2 mt-6 text-3xl font-semibold"},r),a)},h2:e=>{var{children:a}=e,r=Y(e,["children"]);return t.createElement("h2",Object.assign({className:"mb-2 mt-6 text-2xl font-semibold"},r),a)},h3:e=>{var{children:a}=e,r=Y(e,["children"]);return t.createElement("h3",Object.assign({className:"mb-2 mt-6 text-xl font-semibold"},r),a)},h4:e=>{var{children:a}=e,r=Y(e,["children"]);return t.createElement("h4",Object.assign({className:"mb-2 mt-6 text-lg font-semibold"},r),a)},h5:e=>{var{children:a}=e,r=Y(e,["children"]);return t.createElement("h5",Object.assign({className:"mb-2 mt-6 text-base font-semibold"},r),a)},h6:e=>{var{children:a}=e,r=Y(e,["children"]);return t.createElement("h6",Object.assign({className:"mb-2 mt-6 text-sm font-semibold"},r),a)}}},i)}));function $e({feedback:e,onFeedback:a,theme:n,textConfig:o={},disabled:s=!1}){const[i,l]=r(!1),c=e=>{a&&("accept"===e&&(l(!0),setTimeout((()=>l(!1)),2e3)),a(e))};return t.createElement("div",{className:"flex justify-end gap-2"},t.createElement(ue,null,t.createElement(he,null,t.createElement(pe,{asChild:!0},t.createElement("div",{className:"relative"},t.createElement(R,null,i&&t.createElement(t.Fragment,null,Array.from({length:8}).map(((e,a)=>t.createElement(I.div,{key:a,className:"absolute",initial:{opacity:0,scale:.3,x:0,y:0},animate:{opacity:[0,1,1,0],scale:[.3,1,1,0],x:[0,30*Math.cos(a*(Math.PI/4))],y:[0,30*Math.sin(a*(Math.PI/4))],rotate:[0,a%2?45:-45]},transition:{duration:1.2,ease:[.4,0,.2,1],times:[0,.3,.7,1],delay:.1*a},style:{top:"50%",left:"50%",transformOrigin:"center"}},t.createElement(u,{className:"w-4 h-4",style:{color:"#ff4b6e",filter:"drop-shadow(0 0 3px rgba(255, 75, 110, 0.8))",strokeWidth:2.5}})))),t.createElement(I.div,{className:"absolute inset-0 rounded-full",initial:{opacity:0,scale:.8},animate:{opacity:[0,.15,.15,0],scale:[.8,1.8,1.8,2]},transition:{duration:1.2,ease:"easeOut",times:[0,.3,.7,1]},style:{backgroundColor:n.primary}}))),t.createElement(ie,{variant:"ghost",size:"sm",className:"rounded-md h-8 w-8 flex items-center justify-center transition-all duration-200 transform hover:scale-105 active:scale-95 "+("accept"===e?"bg-green-100 text-green-600 hover:bg-green-200":""),onClick:()=>c("accept"),disabled:s},t.createElement(I.div,{initial:{scale:1},animate:{scale:"accept"===e?[1,1.2,1]:1},transition:{duration:.3}},t.createElement(h,{className:"h-4 w-4"}))))),t.createElement(fe,null,t.createElement("p",null,o.positiveAnswerText||"Helpful")))),t.createElement(ue,null,t.createElement(he,null,t.createElement(pe,{asChild:!0},t.createElement(ie,{variant:"ghost",size:"sm",className:"rounded-md h-8 w-8 flex items-center justify-center transition-all duration-200 transform hover:scale-105 active:scale-95 "+("reject"===e?"bg-red-100 text-red-600 hover:bg-red-200":""),onClick:()=>c("reject"),disabled:s},t.createElement(I.div,{initial:{scale:1},animate:{scale:"reject"===e?[1,1.2,1]:1},transition:{duration:.3}},t.createElement(p,{className:"h-4 w-4"})))),t.createElement(fe,null,t.createElement("p",null,o.negativeAnswerText||"Not helpful")))))}Te.displayName="FormattedMessage";var Pe="generating-star-module_animate-spin__AJjwz";const Ae=({loading:e,color:a="#000"})=>t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"mt-[-5px] inline-block flex-shrink-0",style:{minWidth:"24px",minHeight:"24px"}},t.createElement("path",{className:e?Pe:"",d:"M7.54672 16.0031L2.66234 14.2031C2.51881 14.1498 2.39502 14.0539 2.3076 13.9282C2.22019 13.8025 2.17333 13.6531 2.17333 13.5C2.17333 13.3469 2.22019 13.1975 2.3076 13.0718C2.39502 12.9461 2.51881 12.8501 2.66234 12.7969L7.54672 10.9969C7.64981 10.9589 7.74344 10.899 7.82113 10.8213C7.89882 10.7436 7.95873 10.65 7.99672 10.5469L9.79672 5.66249C9.84999 5.51896 9.94592 5.39517 10.0716 5.30775C10.1973 5.22033 10.3467 5.17348 10.4998 5.17348C10.6529 5.17348 10.8024 5.22033 10.9281 5.30775C11.0538 5.39517 11.1497 5.51896 11.203 5.66249L13.003 10.5469C13.041 10.65 13.1009 10.7436 13.1786 10.8213C13.2562 10.899 13.3499 10.9589 13.453 10.9969L18.3373 12.7969C18.4809 12.8501 18.6047 12.9461 18.6921 13.0718C18.7795 13.1975 18.8264 13.3469 18.8264 13.5C18.8264 13.6531 18.7795 13.8025 18.6921 13.9282C18.6047 14.0539 18.4809 14.1498 18.3373 14.2031L13.453 16.0031C13.3499 16.0411 13.2562 16.101 13.1786 16.1787C13.1009 16.2564 13.041 16.35 13.003 16.4531L11.203 21.3375C11.1497 21.481 11.0538 21.6048 10.9281 21.6922C10.8024 21.7796 10.6529 21.8265 10.4998 21.8265C10.3467 21.8265 10.1973 21.7796 10.0716 21.6922C9.94592 21.6048 9.84999 21.481 9.79672 21.3375L7.99672 16.4531C7.95873 16.35 7.89882 16.2564 7.82113 16.1787C7.74344 16.101 7.64981 16.0411 7.54672 16.0031Z",stroke:a,strokeWidth:"1.5",strokeLinecap:"round",fill:e?a:"none",strokeLinejoin:"round"}),t.createElement("path",{d:"M18.7497 3.75L14.2497 3.75",stroke:a,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M16.4999 6V1.5",stroke:a,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M22.4999 8.25001H19.4999",stroke:a,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M20.9998 9.75002V6.75002",stroke:a,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}));function Fe({answer:e,question:a,theme:n,searchResults:o,isStreaming:s=!1,searchQueryId:i,feedback:l,onFeedback:c,disableFeedback:d=!1,textConfig:m={},isLoading:u=!1,isSearchLoading:h=!1}){const[p,x]=r(!1),[w,E]=r(!1),N=()=>K(this,void 0,void 0,(function*(){try{yield navigator.clipboard.writeText(e),x(!0),setTimeout((()=>x(!1)),2e3)}catch(e){console.error("Failed to copy text:",e)}}));return t.createElement("div",{className:"rounded-lg p-6 relative mx-auto max-w-3xl",style:{backgroundColor:n.cardBackground,borderColor:n.border,borderWidth:"1px",borderStyle:"solid"}},t.createElement("div",{className:"flex items-start justify-between"},t.createElement("div",{className:"flex items-center gap-2 mb-4"},t.createElement("div",{className:"mt-1"},t.createElement(Ae,{loading:u||s,color:n.primary})),t.createElement("h2",{className:"text-xl leading-normal font-semibold",style:{color:n.text}},a)),e&&t.createElement(ue,null,t.createElement(he,null,t.createElement(pe,{asChild:!0},t.createElement("button",{onClick:()=>{N()},className:"flex items-center justify-center w-8 h-8 rounded-md hover:bg-gray-100 transition-colors duration-200"},p?t.createElement(f,{className:"h-4 w-4 text-green-500"}):t.createElement(g,{className:"h-4 w-4 text-gray-500"}))),t.createElement(fe,null,t.createElement("p",null,p?"Copied!":"Copy"))))),u?t.createElement("div",{className:"space-y-4"},t.createElement("div",{className:"flex items-center gap-2"},t.createElement("div",{className:"h-5 rounded-full w-5",style:{backgroundColor:`${n.primary}30`}}),t.createElement("div",{className:"flex items-center gap-2 text-sm",style:{color:n.text}},h?m.loadingSearchText:m.loadingAnswerText)),t.createElement("div",{className:"space-y-3"},t.createElement("div",{className:"h-4 bg-gray-200 rounded w-3/4",style:{backgroundColor:`${n.border}40`}}),t.createElement("div",{className:"h-4 bg-gray-200 rounded w-full",style:{backgroundColor:`${n.border}40`}}),t.createElement("div",{className:"h-4 bg-gray-200 rounded w-5/6",style:{backgroundColor:`${n.border}40`}})),t.createElement("div",{className:"mt-6 space-y-3"},t.createElement("div",{className:"h-4 bg-gray-200 rounded w-1/4",style:{backgroundColor:`${n.border}40`}}),t.createElement("div",{className:"flex gap-2"},t.createElement("div",{className:"h-8 bg-gray-200 rounded w-32",style:{backgroundColor:`${n.border}40`}}),t.createElement("div",{className:"h-8 bg-gray-200 rounded w-40",style:{backgroundColor:`${n.border}40`}})))):e?t.createElement("div",{className:"prose prose-sm max-w-none",style:{color:n.text}},t.createElement(Te,{message:{content:e,theme:{primary:n.primary,text:n.text},uncertaintyFallbackText:m.uncertaintyFallbackText},isStreaming:s})):t.createElement("div",{className:"prose prose-sm max-w-none",style:{color:n.text}},t.createElement(Te,{message:{content:"Sorry, there was an error generating the answer. Please try again.",theme:{primary:n.primary,text:n.text}},isStreaming:s})),e&&!s&&!d&&t.createElement("div",{className:"mt-2"},t.createElement($e,{feedback:l,onFeedback:e=>{c&&i&&c(e)},theme:n,textConfig:m,disabled:d})),o&&o.length>0&&t.createElement("div",{className:"mt-6 rounded-lg overflow-hidden",style:{backgroundColor:n.surface,borderWidth:"1px",borderStyle:"solid",borderColor:n.border}},t.createElement("button",{onClick:()=>E(!w),className:"w-full flex items-center justify-between p-3 transition-all duration-200 hover:bg-opacity-50",style:{color:n.text,borderBottom:w?`1px solid ${n.surfaceBorder}`:"none"}},t.createElement("div",{className:"flex items-center gap-2"},t.createElement(y,{className:"h-4 w-4 flex-shrink-0",style:{color:n.primary}}),t.createElement("span",{className:"font-medium truncate"},`Related Sources (${o.length})`)),t.createElement(b,{className:"h-4 w-4 flex-shrink-0 transition-transform duration-200 "+(w?"rotate-180":""),style:{color:n.text}})),t.createElement("div",{className:"overflow-hidden transition-all duration-200 ease-in-out",style:{maxHeight:w?48*o.length+"px":"0",opacity:w?1:0,transform:`translateY(${w?"0":"-10px"})`}},t.createElement("div",{className:"divide-y divide-gray-200"},o.map((e=>t.createElement("a",{key:e.id,href:e.url,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 p-3 transition-colors duration-200 hover:bg-gray-50",style:{color:n.text,backgroundColor:n.surface}},t.createElement("span",{className:"flex-grow truncate"},e.title),t.createElement(v,{className:"h-4 w-4 flex-shrink-0",style:{color:`${n.text}60`}}))))))))}function Qe({questions:e,onQuestionClick:a,theme:r}){return e.length?t.createElement(I.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},className:"w-full"},t.createElement("div",{className:"rounded-lg overflow-hidden",style:{backgroundColor:r.surface,borderWidth:"1px",borderStyle:"solid",borderColor:r.border}},t.createElement("div",{className:"p-3 border-b",style:{borderColor:r.surfaceBorder}},t.createElement("div",{className:"flex items-center gap-2"},t.createElement(x,{className:"h-4 w-4 flex-shrink-0",style:{color:r.primary}}),t.createElement("span",{className:"font-medium"},"Follow-up Questions"))),t.createElement("div",{className:"divide-y divide-gray-200"},e.map(((e,n)=>t.createElement(I.button,{key:n,initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:.1*n},onClick:()=>a(e),className:"w-full flex items-center gap-2 p-3 transition-colors duration-200 hover:bg-gray-50 text-left",style:{color:r.text,backgroundColor:r.surface}},t.createElement("span",{className:"flex-grow"},e),t.createElement(w,{className:"h-4 w-4 flex-shrink-0",style:{color:`${r.text}60`}}))))))):null}function Me({questions:e,activeIndex:a,onNavigate:o,theme:s,offset:i}){const[l,c]=r(a);n((()=>{c(a)}),[a]);const d=e.length,m=(()=>{const e=[];let t=null;const r=a=>{null!==t&&a-t>1&&e.push("ellipsis"),e.push(a),t=a};r(0);for(let e=Math.max(1,a-2);e<=Math.min(d-2,a+2);e++)r(e);return d>1&&r(d-1),e})();return t.createElement("nav",{"aria-label":"Question timeline navigation",className:"fixed left-4 top-1/2 -translate-y-1/2 z-40 flex flex-col gap-3",style:Object.assign({},i?{left:`${i}px`}:{})},t.createElement(I.div,{className:"flex flex-col items-center space-y-3",role:"list",initial:!1,animate:{y:0},transition:{type:"spring",stiffness:300,damping:30}},t.createElement(R,null,m.map(((r,n)=>{if("ellipsis"===r)return t.createElement(I.div,{key:`ellipsis-${n}`,className:"h-8 flex items-center justify-center","aria-hidden":"true",initial:{opacity:0,y:l>a?-20:20},animate:{opacity:1,y:0},exit:{opacity:0,y:l>a?20:-20},transition:{duration:.2}},t.createElement(E,{className:"w-4 h-4",style:{color:s.text}}));const i=r,c=e[i];return t.createElement(I.div,{key:i,className:"relative group isolate",role:"listitem",initial:{opacity:0,y:l>a?-20:20},animate:{opacity:1,y:0},exit:{opacity:0,y:l>a?20:-20},transition:{duration:.2},layout:!0},t.createElement(ue,{delayDuration:100},t.createElement(he,null,t.createElement(pe,{asChild:!0},t.createElement("button",{onClick:()=>o(i),onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||o(i)},className:"flex items-center justify-center w-8 h-8 rounded-full transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 hover:opacity-90",style:{backgroundColor:i===a?s.primary:"#ccc",color:i===a?s.background:"#333",cursor:"pointer","--tw-ring-color":s.primary},"aria-label":`Navigate to question ${i+1}: ${c}`,"aria-current":i===a?"step":void 0},i+1)),t.createElement(fe,{side:"right",sideOffset:8,className:"max-w-[300px]",background:s.background,textColor:s.text,borderColor:`${s.text}33`},t.createElement("p",{className:"break-words leading-relaxed"},c)))))})))))}function qe({onClick:e,theme:a}){return t.createElement(ie,{className:"fixed bottom-20 right-4 rounded-full p-2 transition-opacity duration-300",style:{backgroundColor:a.background,borderColor:a.border,borderWidth:"1px",borderStyle:"solid",boxShadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1)"},onClick:e},t.createElement(N,{className:"h-5 w-5",style:{color:a.text}}))}const Ue={maxRetries:3,baseDelay:1e3,shouldRetry:e=>{if(e instanceof TypeError)return!0;const t=e;return!!t.status&&t.status>=500}};let _e=Object.assign({},Ue),We=Object.assign({},{emptyResponse:"I apologize, but I couldn't generate an answer at this time. Please try again.",errorResponse:"I encountered an error while processing your request. Please try again."});function De(e){return K(this,void 0,void 0,(function*(){return new Promise((t=>setTimeout(t,e)))}))}function Ze(e,t={}){return K(this,void 0,void 0,(function*(){const{retry:a={},headers:r={},body:n,isStream:o=!1,fallback:s={}}=t,i=Y(t,["retry","headers","body","isStream","fallback"]),l=Object.assign(Object.assign({},_e),a),c=Object.assign(Object.assign({},We),s);let d=1;for(;;)try{const t=yield fetch(e,Object.assign(Object.assign({},i),{headers:Object.assign({"Content-Type":"application/json"},r),body:n?JSON.stringify(n):void 0}));if(t.ok){if(o){if(!t.ok)throw new Error("Failed to fetch answer");return t}const e=yield t.json();if(!e||"object"==typeof e&&0===Object.keys(e).length){const e=new Error(c.emptyResponse);throw e.name="EmptyResponseError",e}return e}const a=new Error(c.errorResponse);throw a.status=t.status,a.data=yield t.json().catch((()=>{})),a}catch(e){const t=yield Promise.resolve(l.shouldRetry(e,d));if(d>=l.maxRetries||!t){if(e instanceof Error&&"EmptyResponseError"===e.name)return{message:e.message};throw e}console.warn(`Request failed, attempt ${d} of ${l.maxRetries}. Retrying...`);const a=.3*Math.random()+.85;yield De(l.baseDelay*Math.pow(2,d-1)*a),d++}}))}const Be={maxRetries:3,baseDelay:300,shouldRetry:e=>{if(e instanceof TypeError)return!0;const t=e;return!!t.status&&(t.status>=500||429===t.status)}},He={maxRetries:3,baseDelay:500,shouldRetry:e=>{if(e instanceof TypeError)return!0;const t=e;return!!t.status&&t.status>=500}};function Ve({endpoint:e,query:t,collectionId:a,headers:r,conversationId:n}){var o;return K(this,void 0,void 0,(function*(){const s=yield Ze(e,{method:"POST",headers:r,retry:Be,body:Object.assign(Object.assign({query:t,limit:5},a&&"all"!==a&&{collectionId:a}),n&&{conversationId:n})});return{results:null==s?void 0:s.data,searchQueryId:null===(o=null==s?void 0:s.searchQuery)||void 0===o?void 0:o.id}}))}function Ye({endpoint:e,searchQueryId:t,headers:a,conversationId:r}){return K(this,void 0,void 0,(function*(){return Ze(e,{method:"POST",headers:a,retry:He,isStream:!0,fallback:{emptyResponse:"I apologize, but I couldn't generate an answer for your query. Please try rephrasing your question.",errorResponse:"I encountered an issue while generating the answer. Please try again in a moment."},body:Object.assign({searchQueryId:t},r&&{conversationId:r})})}))}function Ke(){return`bf-conversation-${Date.now()}-${"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(e=>{const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))}`}function Je({endpoint:e,conversationId:t,headers:a}){return K(this,void 0,void 0,(function*(){return{data:(yield Ze(e,{method:"POST",headers:a,body:{conversationId:t}})).data.map((e=>Object.assign(Object.assign({},e),{feedback:e.feedback?"positive"===e.feedback?"accept":"reject":void 0})))}}))}const Ge={primary:"#A3E635",accent:"#f9fafb",background:"white",text:"#171717",border:"#171717",hover:"#171717",surface:"#F9FAFB",surfaceBorder:"#E5E7EB",surfaceHover:"#F3F4F6",cardBackground:"white"},Xe={headerText:"How can we help you today?",searchPlaceholder:"Ask a question or type a search term here ...",attachImageText:"Attach image",allDocumentsText:"All documents",loadingSearchText:"Searching for relevant content...",loadingAnswerText:"Crafting a response...",errorText:"Sorry, there was an error generating the answer.",followUpPlaceholder:"Ask follow-up",positiveAnswerText:"Helpful",negativeAnswerText:"Not helpful",uncertaintyFallbackText:{en:"Sorry, I can't find a clear answer to your question. Please try rephrasing or check the related sources below.",es:"Lo siento, no puedo encontrar una respuesta clara. Intente reformular la pregunta o consulte las fuentes relacionadas.",fr:"Désolé, je ne trouve pas de réponse claire. Essayez de reformuler ou consultez les sources connexes.",de:"Entschuldigung, ich finde keine klare Antwort. Versuchen Sie es anders zu formulieren oder sehen Sie sich die verwandten Quellen an.",it:"Mi dispiace, non trovo una risposta chiara. Prova a riformulare o consulta le fonti correlate.",pt:"Desculpe, não encontro uma resposta clara. Tente reformular ou consulte as fontes relacionadas.",nl:"Sorry, ik kan geen duidelijk antwoord vinden. Probeer het anders te formuleren of bekijk de gerelateerde bronnen.",pl:"Przepraszam, nie znajduję jasnej odpowiedzi. Spróbuj przeformułować pytanie lub sprawdź powiązane źródła.",ru:"Извините, я не могу найти четкого ответа. Попробуйте переформулировать или ознакомьтесь со связанными источниками.",ja:"申し訳ありませんが、明確な回答が見つかりません。質問の言い換えや、関連ソースをご確認ください。",ko:"죄송합니다. 명확한 답변을 찾을 수 없습니다. 질문을 다시 작성하거나 관련 소스를 확인해 주세요.",zh:"抱歉,找不到明确的答案。请尝试重新表述或查看相关来源。","zh-TW":"抱歉,找不到明確的答案。請嘗試重新表述或查看相關來源。"}},et=s((({suggestions:e,theme:a={},collections:s=[],selectedCollectionId:l,onCollectionChange:c,searchEndpoint:d,answerEndpoint:m,feedbackEndpoint:u,loadConversationEndpoint:h,disableFollowUpQuestions:p=!1,disableImageAttachment:f=!1,disableFeedback:g=!1,siblingNode:y,offset:v=0,headers:x,textConfig:w={},followUpQuestionsEndpoint:E,searchPath:N},T)=>{var $;const P=Object.assign(Object.assign({},Ge),a),A=Object.assign(Object.assign({},Xe),w),[F,Q]=r(""),[M,q]=r(""),[U,_]=r(!1),[W,D]=r(!1),[Z,B]=r([]),[H,V]=r(!1),[Y,J]=r(0),[G,X]=r([]),[ee,te]=r(l),[ae,re]=r(!0),[ne,se]=r(""),[ue,he]=r(!1),[pe,fe]=r(),ye=o(null),be=o(null),ve=o([]),xe=o(null),we=o(null),Ee=o([]);n((()=>{const e=new URLSearchParams(window.location.search).get("conversation");if(e&&h)he(!0),D(!0),Je({endpoint:h,conversationId:e,headers:x}).then((t=>{B(t.data),se(e),D(!0)})).catch((e=>{console.error("Error loading conversation:",e),fe(A.errorText||"An error occurred"),D(!1),B([]);const t=Ke();se(t);const a=new URL(window.location.href);a.pathname="/",a.searchParams.delete("conversation"),window.history.replaceState({},"",a.toString())})).finally((()=>{he(!1)}));else{const e=Ke();se(e)}}),[h]),n((()=>{if(ne&&Z.length>0){const e=new URL(window.location.href);N?(e.pathname=N,e.searchParams.set("conversation",ne)):e.searchParams.set("conversation",ne),window.history.replaceState({},"",e.toString())}}),[ne,Z.length,N]),n((()=>{const e={showResults:W,answers:Z,isLoading:ue,error:pe};Ee.current.forEach((t=>t(e)))}),[W,Z,ue,pe]);const Ne=()=>{requestAnimationFrame((()=>{const e=ve.current[ve.current.length-1];if(e){const t=e.getBoundingClientRect(),a=window.pageYOffset||document.documentElement.scrollTop,r=t.top+a-80;window.scrollTo({top:r,behavior:"smooth"})}}))},ke=e=>K(void 0,void 0,void 0,(function*(){var t;const a=null===(t=e.body)||void 0===t?void 0:t.getReader();if(!a)return;B((e=>{const t=[...e],a=t[t.length-1];return a&&(a.isLoading=!1,a.isStreaming=!0,a.searchResults=a.searchResults||[]),t}));let r="";try{let e,t;for(;({done:e,value:t}=yield a.read()),!e;){const e=(new TextDecoder).decode(t);r+=e;const{uncertain:a,language:n}=oe(r);B((e=>{var t;const o=[...e],s=o[o.length-1];return s&&(s.answer=r,s.isLoading=!1,s.isStreaming=!0,s.searchResults=s.searchResults||[],s.isUncertain=a,s.uncertaintyLanguage=n,a&&n&&(null===(t=A.uncertaintyFallbackText)||void 0===t?void 0:t[n])&&(s.uncertaintyFallbackText=A.uncertaintyFallbackText[n])),o}))}}catch(e){console.error("Error streaming answer:",e)}finally{B((e=>{const t=[...e],a=t[t.length-1];return a&&(a.isStreaming=!1,a.isLoading=!1,E&&!p&&a.searchQueryId&&K(void 0,void 0,void 0,(function*(){try{const e=yield function({endpoint:e,searchQueryId:t,headers:a,conversationId:r}){return K(this,void 0,void 0,(function*(){return(yield Ze(e,{method:"POST",headers:a,body:Object.assign({searchQueryId:t},r&&{conversationId:r})})).questions}))}({endpoint:E,searchQueryId:a.searchQueryId,headers:x,conversationId:ne});B((t=>{const a=[...t],r=a[a.length-1];return r&&(r.followUpQuestions=e),a}))}catch(e){console.error("Error fetching follow-up questions:",e)}}))),t})),a.releaseLock()}})),Ce=(e=F.trim())=>K(void 0,void 0,void 0,(function*(){if(e){_(!0),D(!0);const t=ne||Ke();ne||se(t);const a=new URL(window.location.href);(N&&a.pathname!==N||a.searchParams.get("conversation")!==t)&&(N?(a.pathname=N,a.searchParams.set("conversation",t)):a.searchParams.set("conversation",t),window.history.replaceState({},"",a.toString()));const r={question:e,answer:"",isLoading:!0,isSearchLoading:!0,searchResults:[],searchQueryId:void 0,isStreaming:!1};B((e=>[...e,r]));const n=Z.length;J(n),Ne(),yield Promise.resolve();try{const a=yield Ve({endpoint:d,query:e,collectionId:ee,headers:x,conversationId:t});B((e=>{const t=[...e];return t[t.length-1]&&(t[t.length-1]=Object.assign(Object.assign({},t[t.length-1]),{searchResults:a.results,searchQueryId:a.searchQueryId,isSearchLoading:!1})),t}));const r=yield Ye({endpoint:m,searchQueryId:a.searchQueryId,headers:x,conversationId:t});yield ke(r)}catch(e){console.error("Error generating answer:",e),B((e=>{const t=[...e];return t[t.length-1]&&(t[t.length-1]=Object.assign(Object.assign({},t[t.length-1]),{answer:A.errorText||"An error occurred",isLoading:!1,isSearchLoading:!1,isStreaming:!1})),t}))}finally{_(!1)}}}));i(T,(()=>({createNewThread:e=>{Q(""),q(""),D(!1),B([]),J(0),X([]);const t=Ke();se(t);const a=new URL(window.location.href);a.searchParams.delete("conversation"),window.history.replaceState({},"",a.toString()),ye.current&&(ye.current.style.height="auto"),e&&(Q(e),Ce(e))},showFollowUpThread:e=>{re(e)},subscribeToStateChanges:e=>(Ee.current.push(e),e({showResults:W,answers:Z,isLoading:!1,error:void 0}),()=>{Ee.current=Ee.current.filter((t=>t!==e))})}))),n((()=>{te(l)}),[l]);const je=(e,t,a)=>K(void 0,void 0,void 0,(function*(){if(u){B((t=>{const r=[...t];return r[a]&&(r[a]=Object.assign(Object.assign({},r[a]),{feedback:e})),r}));try{yield function({endpoint:e,searchQueryId:t,response:a,headers:r,conversationId:n}){return K(this,void 0,void 0,(function*(){yield Ze(e,{method:"POST",headers:r,body:Object.assign({searchQueryId:t,response:a},n&&{conversationId:n})})}))}({endpoint:u,searchQueryId:t,response:e,headers:x,conversationId:ne})}catch(e){console.error("Error sending feedback:",e),B((e=>{const t=[...e];return t[a]&&(t[a]=Object.assign(Object.assign({},t[a]),{feedback:void 0})),t}))}}})),Oe=()=>K(void 0,void 0,void 0,(function*(){if(M.trim()){const e=M;Q(e),q(""),be.current&&(be.current.style.height="auto"),yield Ce(e)}}));n((()=>{const e=()=>{const e=window.innerHeight+window.pageYOffset>=document.documentElement.scrollHeight-100;V(!e)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)}),[]),n((()=>()=>{G.forEach((e=>URL.revokeObjectURL(e.preview)))}),[G]);n((()=>{const e=()=>{new URLSearchParams(window.location.search).get("conversation")||(Q(""),q(""),D(!1),B([]),J(0),X([]),ye.current&&(ye.current.style.height="auto"))};return window.addEventListener("popstate",e),()=>window.removeEventListener("popstate",e)}),[]);const Se=e=>{Ce(e)};return t.createElement("div",{className:"relative min-h-screen"},t.createElement("div",{ref:xe,className:"w-full max-w-3xl mx-auto flex flex-col items-center space-y-8 px-4 py-20",style:{"--surface-border":P.surfaceBorder,"--surface-hover":P.surfaceHover}},t.createElement(R,null,ue?t.createElement(I.div,{key:"loading",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"w-full flex items-center justify-center py-20"},t.createElement("div",{className:"flex flex-col items-center gap-4"},t.createElement("div",{className:"animate-spin rounded-full h-8 w-8 border-2 border-t-transparent",style:{borderColor:P.primary}}),t.createElement("p",{className:"text-sm",style:{color:P.text}},"Loading conversation..."))):W?t.createElement(I.div,{key:"results",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.5},className:"w-full space-y-4 py-4 mb-20"},Z.map(((e,a)=>t.createElement(I.div,{key:a,ref:e=>ve.current[a]=e,initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:.1*a}},t.createElement(Fe,{answer:e.answer,question:e.question,theme:P,searchResults:e.searchResults,isStreaming:e.isStreaming,searchQueryId:e.searchQueryId,feedback:e.feedback,onFeedback:t=>{je(t,e.searchQueryId,a)},disableFeedback:g,textConfig:A,isLoading:e.isLoading,isSearchLoading:e.isSearchLoading}),a===Z.length-1&&!p&&e.followUpQuestions&&!e.isStreaming&&t.createElement("div",{className:"mt-4"},t.createElement(Qe,{questions:e.followUpQuestions,onQuestionClick:Se,theme:P})))))):t.createElement(I.div,{key:"search",initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},transition:{duration:.5},className:"w-full space-y-8"},t.createElement("div",{className:"w-full text-center space-y-4"},t.createElement(I.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:.3},className:"text-5xl font-bold",style:{color:P.text}},A.headerText)),t.createElement(I.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:.4}},t.createElement("div",{className:"relative w-full rounded-md overflow-hidden",style:{backgroundColor:P.background,borderColor:P.border,borderWidth:"1px",borderStyle:"solid"}},t.createElement("div",{className:"p-3 flex items-center"},t.createElement(k,{className:"h-5 w-5 text-gray-400 mr-2"}),t.createElement("textarea",{ref:ye,placeholder:A.searchPlaceholder,value:F,onChange:e=>{var t;Q(e.target.value),(t=e.target).style.height="auto",t.style.height=`${t.scrollHeight}px`},onKeyDown:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),Ce())},className:"w-full resize-none outline-none text-lg py-1 font-light min-h-[36px] overflow-hidden placeholder:text-gray-400 border-none bg-transparent",style:{color:P.text,outline:"none",boxShadow:"none",fontSize:"16px"},rows:1})),!f&&G.length>0&&t.createElement("div",{className:"flex gap-2 mt-3 overflow-x-auto pb-1 px-3"},G.map(((e,a)=>t.createElement("div",{key:a,className:"relative group rounded-lg overflow-hidden flex-shrink-0",style:{width:"80px",height:"80px"}},t.createElement("img",{src:e.preview,alt:`Attached ${a+1}`,className:"w-full h-full object-cover"}),t.createElement("button",{onClick:()=>(e=>{X((t=>(URL.revokeObjectURL(t[e].preview),t.filter(((t,a)=>a!==e)))))})(a),className:"absolute top-1 right-1 bg-black bg-opacity-50 rounded-full p-1 opacity-0 group-hover:opacity-100 transition-opacity duration-200"},t.createElement(C,{className:"h-3 w-3 text-white"})))))),t.createElement("div",{className:"flex items-center justify-between px-3 py-2 bg-gray-100 border-t border-gray-200"},t.createElement("div",{className:"flex gap-2"},s.length>0&&t.createElement(le,null,t.createElement(ce,{asChild:!0},t.createElement(ie,{variant:"ghost",size:"sm",className:"hover:bg-gray-200 transition-all duration-200 rounded-md h-8 flex items-center gap-2 text-gray-700"},ee&&"all"!==ee?t.createElement(j,{className:"h-5 w-5 text-green-500"}):t.createElement(O,{className:"h-5 w-5 text-gray-400"}),(null===($=s.find((e=>e.id===ee)))||void 0===$?void 0:$.name)||A.allDocumentsText,t.createElement(b,{className:"h-4 w-4 opacity-50"}))),t.createElement(de,null,s.map((e=>t.createElement(me,{key:e.id,onClick:()=>{return t=e.id,te(t),void(null==c||c(t));var t},className:e.id===ee?"bg-gray-100":""},e.id===ee?t.createElement(j,{className:"h-4 w-4 mr-2 text-green-500"}):t.createElement(O,{className:"h-4 w-4 mr-2 text-gray-400"}),e.name))))),!f&&t.createElement(t.Fragment,null,t.createElement("input",{type:"file",ref:we,accept:"image/*",multiple:!0,className:"hidden",onChange:e=>{const t=e.target.files;if(t){const e=Array.from(t).map((e=>({file:e,preview:URL.createObjectURL(e)})));X((t=>[...t,...e]))}we.current&&(we.current.value="")}}),t.createElement(ie,{variant:"ghost",size:"sm",className:"hover:bg-gray-200 rounded-md h-8 text-gray-700",onClick:()=>{var e;return null===(e=we.current)||void 0===e?void 0:e.click()}},t.createElement(S,{className:"h-4 w-4 mr-1.5"}),A.attachImageText))),t.createElement("div",{className:"flex items-center"},t.createElement(ie,{size:"sm",disabled:!F||U,className:"rounded-md h-8 w-8 bg-[#86efac] hover:bg-[#86efac]/90 disabled:opacity-50",onClick:()=>{Ce()}},U?t.createElement("div",{className:"animate-spin rounded-full h-4 w-4 border-2 border-t-transparent",style:{borderColor:"white"}}):t.createElement(z,{className:"h-4 w-4 text-gray-700"})))))),t.createElement(ge,{suggestions:e||[],onQuestionClick:e=>{if(e.conversationId&&h)return he(!0),D(!0),void Je({endpoint:h,conversationId:e.conversationId,headers:x}).then((t=>{B(t.data),se(e.conversationId),D(!0)})).catch((e=>{console.error("Error loading conversation:",e),fe(A.errorText||"An error occurred"),D(!1),B([]);const t=Ke();se(t);const a=new URL(window.location.href);a.pathname="/",a.searchParams.delete("conversation"),window.history.replaceState({},"",a.toString())})).finally((()=>{he(!1)}));if(D(!0),_(!0),!ne){const e=Ke();se(e)}B((t=>[...t,{question:e.question,answer:"",isLoading:!0,isSearchLoading:!0}])),K(void 0,void 0,void 0,(function*(){try{const t=yield Ve({endpoint:d,query:e.question,collectionId:ee,headers:x,conversationId:ne}),a=t.results;B((e=>{const r=[...e];return r[r.length-1]=Object.assign(Object.assign({},r[r.length-1]),{searchResults:a,searchQueryId:t.searchQueryId,isSearchLoading:!1}),r}));const r=yield Ye({endpoint:m,searchQueryId:t.searchQueryId,headers:x,conversationId:ne});yield ke(r)}catch(e){console.error("Error generating answer:",e),B((e=>{const t=[...e];return t[t.length-1]=Object.assign(Object.assign({},t[t.length-1]),{answer:A.errorText||"An error occurred",isLoading:!1,isSearchLoading:!1}),t}))}finally{_(!1),Ne()}}))},borderColor:P.border,title:A.suggestionsTitle}),y)),W&&Z.length>1&&t.createElement("div",{className:"hidden sm:block"},t.createElement(Me,{questions:Z.map((e=>e.question)),activeIndex:Y,onNavigate:e=>{J(e),(e=>{requestAnimationFrame((()=>{const t=ve.current[e];if(t){const e=t.getBoundingClientRect(),a=window.pageYOffset||document.documentElement.scrollTop,r=e.top+a-80;window.scrollTo({top:r,behavior:"smooth"})}}))})(e)},theme:P,offset:v})),W&&ae&&t.createElement(I.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},className:"fixed bottom-4 left-4 right-4 max-w-3xl mx-auto z-10",style:{left:`${v}px`}},t.createElement("div",{className:"rounded-full h-[44px] sm:h-[52px] flex items-center justify-between",style:{backgroundColor:P.background,borderColor:P.border,borderWidth:"1px",borderStyle:"solid",boxShadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1)",padding:"0 15px"}},t.createElement("div",{className:"flex items-center gap-2 sm:gap-3 flex-grow overflow-hidden h-full"},t.createElement(k,{className:"h-4 w-4 sm:h-5 sm:w-5 flex-shrink-0",style:{color:P.primary}}),t.createElement("div",{className:"flex-grow",style:{paddingTop:"15px",paddingBottom:"10px"}},t.createElement("textarea",{ref:be,placeholder:A.followUpPlaceholder,value:M,onChange:e=>{q(e.target.value);e.target.style.height="auto",e.target.style.height=`${Math.min(e.target.scrollHeight,100)}px`,e.target.scrollHeight>100?e.target.style.overflowY="auto":e.target.style.overflowY="hidden"},onKeyDown:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),Oe())},disabled:U,className:"w-full bg-transparent outline-none text-sm sm:text-base resize-none overflow-hidden disabled:opacity-50 border-none min-h-[24px] max-h-[100px] placeholder:text-sm sm:placeholder:text-base",style:{color:P.text,outline:"none",boxShadow:"none",fontSize:"16px",lineHeight:"24px"},rows:1}))),t.createElement("div",{className:"flex items-center gap-2 sm:gap-3 ml-2 sm:ml-3 flex-shrink-0"},t.createElement(ie,{size:"icon",variant:"ghost",disabled:U||!M.trim(),className:"rounded-full transition-colors duration-200 disabled:opacity-50 h-8 w-8 sm:h-9 sm:w-9 flex items-center justify-center",style:{color:P.text,backgroundColor:"transparent"},onClick:()=>{Oe()}},U?t.createElement("div",{className:"animate-spin rounded-full h-4 w-4 sm:h-5 sm:w-5 border-2",style:{borderColor:`${P.text}40`,borderTopColor:P.text}}):t.createElement(L,{className:"h-4 w-4 sm:h-5 sm:w-5"}))))),H&&W&&t.createElement(qe,{onClick:Ne,theme:P})))}));et.displayName="ChatSearch";export{et as ChatSearch};
1
+ import*as e from"react";import t,{memo as r,useState as a,useEffect as n,useRef as o,forwardRef as s,useImperativeHandle as i}from"react";import{CheckCircle as l,Clipboard as c,Download as d,Expand as m,Heart as u,ThumbsUp as h,ThumbsDown as p,Check as f,Copy as g,FileText as y,ChevronDown as b,ExternalLink as v,HelpCircle as x,ChevronRight as w,MoreVertical as E,ArrowDown as N,Search as k,X as C,CheckCircle2 as j,Circle as O,Image as S,ArrowRight as z,ArrowUp as L}from"lucide-react";import{AnimatePresence as T,motion as R}from"framer-motion";import{jsx as I,Fragment as $}from"react/jsx-runtime";import{cva as P}from"class-variance-authority";import{clsx as A}from"clsx";import{twMerge as F}from"tailwind-merge";import*as Q from"@radix-ui/react-dropdown-menu";import{ChevronRightIcon as M,CheckIcon as B,DotFilledIcon as q}from"@radix-ui/react-icons";import*as U from"@radix-ui/react-tooltip";import _ from"rehype-raw";import W from"remark-gfm";import{Prism as D}from"react-syntax-highlighter";import{a11yDark as Z}from"react-syntax-highlighter/dist/cjs/styles/prism";import H from"react-markdown";import V from"mermaid";function Y(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(a=Object.getOwnPropertySymbols(e);n<a.length;n++)t.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(e,a[n])&&(r[a[n]]=e[a[n]])}return r}function K(e,t,r,a){return new(r||(r=Promise))((function(n,o){function s(e){try{l(a.next(e))}catch(e){o(e)}}function i(e){try{l(a.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,i)}l((a=a.apply(e,t||[])).next())}))}function J(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function G(...e){return t=>{let r=!1;const a=e.map((e=>{const a=J(e,t);return r||"function"!=typeof a||(r=!0),a}));if(r)return()=>{for(let t=0;t<a.length;t++){const r=a[t];"function"==typeof r?r():J(e[t],null)}}}}"function"==typeof SuppressedError&&SuppressedError;var X=e.forwardRef(((t,r)=>{const{children:a,...n}=t,o=e.Children.toArray(a),s=o.find(re);if(s){const t=s.props.children,a=o.map((r=>r===s?e.Children.count(t)>1?e.Children.only(null):e.isValidElement(t)?t.props.children:null:r));return I(ee,{...n,ref:r,children:e.isValidElement(t)?e.cloneElement(t,void 0,a):null})}return I(ee,{...n,ref:r,children:a})}));X.displayName="Slot";var ee=e.forwardRef(((t,r)=>{const{children:a,...n}=t;if(e.isValidElement(a)){const t=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;if(r)return e.ref;if(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r)return e.props.ref;return e.props.ref||e.ref}(a);return e.cloneElement(a,{...ae(n,a.props),ref:r?G(r,t):t})}return e.Children.count(a)>1?e.Children.only(null):null}));ee.displayName="SlotClone";var te=({children:e})=>I($,{children:e});function re(t){return e.isValidElement(t)&&t.type===te}function ae(e,t){const r={...t};for(const a in t){const n=e[a],o=t[a];/^on[A-Z]/.test(a)?n&&o?r[a]=(...e)=>{o(...e),n(...e)}:n&&(r[a]=n):"style"===a?r[a]={...n,...o}:"className"===a&&(r[a]=[n,o].filter(Boolean).join(" "))}return{...e,...r}}function ne(...e){return F(A(e))}function oe(e){const t={en:[/i(?:\s|['\u2018\u2019])?m(?:\s+really)?\s+not\s+sure/i,/i(?:\s+am)?(?:\s+really)?\s+not\s+sure/i,/i\s+don(?:['\u2018\u2019])?t\s+know/i,/it(?:['\u2018\u2019]s| is) unclear/i,/cannot determine/i,/hard to say/i,/difficult to determine/i,/need more information/i],es:[/no (?:lo )?sé/i,/no estoy seguro/i,/no es claro/i,/desconocido/i],fr:[/je ne sais pas/i,/je ne suis pas sûr/i,/ce n'est pas clair/i,/inconnu/i],de:[/ich weiß nicht/i,/ich bin nicht sicher/i,/es ist unklar/i,/unbekannt/i],it:[/non lo so/i,/non sono sicuro/i,/non è chiaro/i,/sconosciuto/i],pt:[/não sei/i,/não tenho certeza/i,/não está claro/i,/desconhecido/i],nl:[/ik weet het niet/i,/ik weet niet zeker/i,/het is onduidelijk/i,/onbekend/i],pl:[/nie wiem/i,/nie jestem pewien/i,/to nie jest jasne/i,/nieznany/i],ru:[/я не знаю/i,/я не уверен/i,/это не ясно/i,/неизвестно/i],ja:[/知りません/i,/よくわからない/i,/不明です/i,/未知/i],ko:[/모릅니다/i,/잘 모르겠습니다/i,/불확실합니다/i,/알 수 없음/i],zh:[/我不知道/i,/我不确定/i,/不清楚/i,/未知/i],"zh-TW":[/我不知道/i,/我不確定/i,/不清楚/i,/未知/i]};let r=null;for(const[a,n]of Object.entries(t))for(const t of n){const n=e.match(t);n&&(null===r||n.index<r.index)&&(r={index:n.index,language:a})}return r?{uncertain:!0,language:r.language}:{uncertain:!1,language:null}}const se=P("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),ie=e.forwardRef(((t,r)=>{var{className:a,variant:n,size:o,asChild:s=!1}=t,i=Y(t,["className","variant","size","asChild"]);const l=s?X:"button";return e.createElement(l,Object.assign({className:ne(se({variant:n,size:o,className:a})),ref:r},i))}));ie.displayName="Button";const le=Q.Root,ce=Q.Trigger;e.forwardRef(((t,r)=>{var{className:a,inset:n,children:o}=t,s=Y(t,["className","inset","children"]);return e.createElement(Q.SubTrigger,Object.assign({ref:r,className:ne("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",n&&"pl-8",a)},s),o,e.createElement(M,{className:"ml-auto"}))})).displayName=Q.SubTrigger.displayName;e.forwardRef(((t,r)=>{var{className:a}=t,n=Y(t,["className"]);return e.createElement(Q.SubContent,Object.assign({ref:r,className:ne("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a)},n))})).displayName=Q.SubContent.displayName;const de=e.forwardRef(((t,r)=>{var{className:a,sideOffset:n=4}=t,o=Y(t,["className","sideOffset"]);return e.createElement(Q.Portal,null,e.createElement(Q.Content,Object.assign({ref:r,sideOffset:n,className:ne("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a)},o)))}));de.displayName=Q.Content.displayName;const me=e.forwardRef(((t,r)=>{var{className:a,inset:n}=t,o=Y(t,["className","inset"]);return e.createElement(Q.Item,Object.assign({ref:r,className:ne("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",n&&"pl-8",a)},o))}));me.displayName=Q.Item.displayName;e.forwardRef(((t,r)=>{var{className:a,children:n,checked:o}=t,s=Y(t,["className","children","checked"]);return e.createElement(Q.CheckboxItem,Object.assign({ref:r,className:ne("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),checked:o},s),e.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},e.createElement(Q.ItemIndicator,null,e.createElement(B,{className:"h-4 w-4"}))),n)})).displayName=Q.CheckboxItem.displayName;e.forwardRef(((t,r)=>{var{className:a,children:n}=t,o=Y(t,["className","children"]);return e.createElement(Q.RadioItem,Object.assign({ref:r,className:ne("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a)},o),e.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},e.createElement(Q.ItemIndicator,null,e.createElement(q,{className:"h-2 w-2 fill-current"}))),n)})).displayName=Q.RadioItem.displayName;e.forwardRef(((t,r)=>{var{className:a,inset:n}=t,o=Y(t,["className","inset"]);return e.createElement(Q.Label,Object.assign({ref:r,className:ne("px-2 py-1.5 text-sm font-semibold",n&&"pl-8",a)},o))})).displayName=Q.Label.displayName;e.forwardRef(((t,r)=>{var{className:a}=t,n=Y(t,["className"]);return e.createElement(Q.Separator,Object.assign({ref:r,className:ne("-mx-1 my-1 h-px bg-muted",a)},n))})).displayName=Q.Separator.displayName;const ue=t=>{var{delayDuration:r=200}=t,a=Y(t,["delayDuration"]);return e.createElement(U.Provider,Object.assign({delayDuration:r},a))},he=U.Root,pe=U.Trigger,fe=e.forwardRef(((t,r)=>{var{className:a,sideOffset:n=4,background:o,textColor:s,borderColor:i,style:l}=t,c=Y(t,["className","sideOffset","background","textColor","borderColor","style"]);return e.createElement(U.Portal,null,e.createElement(U.Content,Object.assign({ref:r,sideOffset:n,className:ne("z-50 overflow-hidden rounded-lg px-4 py-3 text-sm font-medium shadow-lg animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),style:Object.assign(Object.assign({},l),{backgroundColor:o||"#ffffff",color:s||"rgb(31 41 55)",borderColor:i||"rgb(243 244 246)",borderWidth:"1px",borderStyle:"solid"})},c)))}));function ge({suggestions:e,onQuestionClick:r,borderColor:a,title:n="Suggested questions"}){return e&&0!==e.length?t.createElement("div",{className:"w-full"},t.createElement("h3",{className:"text-base font-medium mb-4 text-gray-900"},n),t.createElement("div",{className:"flex flex-wrap gap-2"},e.map((e=>t.createElement("button",{key:e.id,onClick:()=>r(e),className:"px-4 py-2 rounded-lg border border-gray-300 text-gray-700 hover:bg-gray-50 transition-colors duration-200 text-sm flex items-center gap-2",style:{borderColor:a}},void 0!==e.messageCount&&t.createElement(ue,null,t.createElement(he,null,t.createElement(pe,{asChild:!0},t.createElement("span",{className:"bg-gray-100 text-gray-600 px-2 py-0.5 rounded-full text-xs min-w-[20px] border flex items-center justify-center",style:{borderColor:a}},e.messageCount)),t.createElement(fe,null,t.createElement("p",null,e.messageCount," messages in this conversation")))),t.createElement("span",null,e.question)))))):null}fe.displayName=U.Content.displayName;const ye={javascript:".js",python:".py",java:".java",c:".c",cpp:".cpp","c++":".cpp","c#":".cs",ruby:".rb",php:".php",swift:".swift","objective-c":".m",kotlin:".kt",typescript:".ts",go:".go",perl:".pl",rust:".rs",scala:".scala",haskell:".hs",lua:".lua",shell:".sh",sql:".sql",html:".html",css:".css"},be=D,ve=r((({language:e,value:r})=>{const[n,o]=a(!1);return t.createElement("div",{className:"relative font-sans text-sm mt-1"},t.createElement("div",{className:"relative rounded-t-lg bg-zinc-800/80 font-sans text-sm backdrop-blur"},t.createElement("div",{className:"flex h-8 items-center justify-between px-3"},t.createElement("span",{className:"text-xs font-medium text-zinc-400"},e),t.createElement("div",{className:"flex gap-1"},t.createElement(ie,{variant:"ghost",size:"icon",className:"size-5 text-zinc-400 hover:bg-zinc-700/50 hover:text-zinc-100",onClick:()=>{K(void 0,void 0,void 0,(function*(){if(navigator.clipboard&&navigator.clipboard.writeText)try{yield navigator.clipboard.writeText(r),o(!0),setTimeout((()=>{o(!1)}),2e3)}catch(e){console.error("Failed to copy:",e)}}))}},n?t.createElement(l,{size:18}):t.createElement(c,{size:18})),t.createElement(ie,{variant:"ghost",size:"icon",className:"size-5 text-zinc-400 hover:bg-zinc-700/50 hover:text-zinc-100",onClick:()=>{const t=ye[e]||".file",a=`file-${((e,t=!1)=>{const r="ABCDEFGHJKLMNPQRSTUVWXY3456789";let a="";for(let t=0;t<e;t+=1)a+=r.charAt(Math.floor(30*Math.random()));return t?a.toLowerCase():a})(3,!0)}${t}`,n=new Blob([r],{type:"text/plain"}),o=URL.createObjectURL(n),s=document.createElement("a");s.download=a,s.href=o,s.style.display="none",document.body.appendChild(s),s.click(),document.body.removeChild(s),URL.revokeObjectURL(o)}},t.createElement(d,{size:18}))))),t.createElement("div",{className:"rounded-b-lg"},t.createElement(be,{language:e,style:Z,PreTag:"div",wrapLongLines:!0,customStyle:{margin:0,borderTopLeftRadius:0,borderTopRightRadius:0}},r)))}));ve.displayName="CodeBlock";const xe=e.forwardRef((({src:t,border:r,width:a="100%",height:n="400px",title:o},s)=>{const[i,l]=e.useState(!1),[c,d]=e.useState(!1);return e.useEffect((()=>{let e=!0;return setTimeout((()=>{e&&l(!0)}),0),()=>{e=!1}}),[]),e.createElement("div",{className:"overflow-hidden rounded-lg mt-4 "+(r?"border":""),style:{width:a,height:n}},i&&e.createElement(e.Fragment,null,e.createElement("div",{className:"relative w-full h-full "+(c?"hidden":"block")},e.createElement("div",{className:"absolute inset-0 bg-muted/10 rounded-lg"},e.createElement("div",{className:"absolute inset-0"},e.createElement("div",{className:"h-full w-full shimmer"}),e.createElement("div",{className:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 flex flex-col items-center gap-2"},e.createElement("div",{className:"modern-spinner"}),e.createElement("div",{className:"text-sm text-muted-foreground"},"Loading..."))))),e.createElement("div",{className:c?"visible":"invisible"},e.createElement("iframe",{ref:s,src:t,sandbox:"allow-same-origin allow-scripts allow-popups allow-forms allow-downloads",width:a,height:n,frameBorder:"0",title:"embed",loading:"lazy",allowFullScreen:!0,className:"block rounded-lg",onLoad:()=>d(!0)}),o&&e.createElement("span",{className:"block text-center text-sm font-medium"},o))))}));function we(t){const r=t.attrs.href.replace("share","embed");return e.createElement(xe,Object.assign({},t,{src:r,title:"Loom Embed"}))}function Ee(t){return e.createElement(xe,Object.assign({},t,{src:t.attrs.href,title:"Supademo Embed"}))}function Ne(t){return e.createElement(xe,Object.assign({},t,{src:t.attrs.href,title:"Typeform Embed"}))}function ke(t){const r=t.attrs.href.match(/(http|https)?:\/\/(www\.)?vimeo\.com\/(?:channels\/(?:\w+\/)?|groups\/([^/]*)\/videos\/|)(\d+)(?:\/|\?)?([\d\w]+)?/);if(!r)return null;const a=r[4],n=r[5],o=`https://player.vimeo.com/video/${a}?byline=0${n?`&h=${n}`:""}`;return e.createElement(xe,Object.assign({},t,{src:o,title:`Vimeo Embed (${a})`,height:"412px",border:!1}))}function Ce(t){const r=(e=>{const t=[/^https?:\/\/([a-zA-Z0-9-_~]+)\.wistia\.com\/medias\/([a-zA-Z0-9-_~]+)\/?$/,/^https?:\/\/fast\.wistia\.com\/embed\/iframe\/([a-zA-Z0-9-_~]+)\/?$/,/^fast\.wistia\.com\/embed\/iframe\/([a-zA-Z0-9-_~]+)\/?$/,/^([a-zA-Z0-9-_~]+)\.wistia\.com\/medias\/([a-zA-Z0-9-_~]+)\/?$/];for(const r of t){const t=e.match(r);if(t)return t}return null})(t.attrs.href);if(!r)return null;const a=r[1],n=r[2]||r[1],o=a?`https://${a}.wistia.com/embed/iframe/${n}?seo=true&videoFoam=false`:`https://fast.wistia.com/embed/iframe/${n}`;return e.createElement(xe,Object.assign({},t,{src:o,border:!0,title:`Wistia Embed (${n})`}))}function je(t){const r=(e=>{const t=e.match(/(?:https?:\/\/)?(?:www\.)?youtu\.?be(?:\.com)?\/?.*(?:watch|embed)?(?:.*v=|v\/|\/)([a-zA-Z0-9_-]{11})$/i);return t?t[1]:null})(t.attrs.href);return r?e.createElement(xe,Object.assign({},t,{src:`https://www.youtube.com/embed/${r}?modestbranding=1`,title:`YouTube Embed (${r})`})):null}we.isMatch=e=>/^https:\/\/(www\.)?(use)?loom\.com\/(embed|share)\/(.*)$/.test(e),Ee.isMatch=e=>/^https:\/\/app\.supademo\.com\/embed\/(.*)$/.test(e),Ne.isMatch=e=>/^https:\/\/([A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?)\.typeform\.com\/to\/(.*)$/.test(e),ke.isMatch=e=>/^(https?):\/\/(www\.)?vimeo\.com\/(?:channels\/(?:\w+\/)?|groups\/([^/]*)\/videos\/|)?(\d+)(\/)?(?:\?.*|#.*)?$/i.test(e),Ce.isMatch=e=>[/^https?:\/\/([a-zA-Z0-9-_~]+)\.wistia\.com\/medias\/([a-zA-Z0-9-_~]+)(\/)?(\?.*)?$/i,/^https?:\/\/fast\.wistia\.com\/embed\/iframe\/([a-zA-Z0-9-_~]+)(\/)?(\?.*)?$/i,/^fast\.wistia\.com\/embed\/iframe\/([a-zA-Z0-9-_~]+)(\/)?(\?.*)?$/i,/^([a-zA-Z0-9-_~]+)\.wistia\.com\/medias\/([a-zA-Z0-9-_~]+)(\/)?(\?.*)?$/i].some((t=>t.test(e))),je.isMatch=e=>/^(?:https?:\/\/)?(?:www\.)?(?:youtube\.com\/(?:watch\?v=|embed\/|v\/|shorts\/)|youtu\.be\/)([a-zA-Z0-9_-]{11})(?:\/|[?&].*)?$/i.test(e);const Oe=[we,Ee,Ne,je,Ce,ke],Se=t=>{const{href:r}=t.attrs,[o,s]=a(null);if(n((()=>{let e=!0;return(()=>{try{const a=Oe.find((e=>e.isMatch(r)));a&&e&&s({Component:a,props:t})}catch(e){console.error("Error finding embed match:",e)}})(),()=>{e=!1}}),[r,t]),o){const{Component:t,props:r}=o;return e.createElement(t,Object.assign({},r))}return null},ze=r(H,((e,t)=>e.children===t.children)),Le={startOnLoad:!1,theme:"default",securityLevel:"loose",fontFamily:"inherit"},Te=({content:e})=>{const[r,s]=a(""),[i,l]=a(null),c=o(null),[d,m]=a(!1);return n((()=>{(()=>{try{V.initialize(Le),m(!0)}catch(e){console.error("Error initializing mermaid:",e),l("Failed to initialize diagram renderer")}})()}),[]),n((()=>{if(!d)return;K(void 0,void 0,void 0,(function*(){try{const t=`mermaid-${Math.random().toString(36).substr(2,9)}`,r=yield V.render(t,e);s(r.svg),l(null)}catch(e){console.error("Error rendering mermaid diagram:",e),l("Failed to render diagram")}}))}),[e,d]),i?t.createElement("div",{className:"text-red-500 bg-red-50 p-4 rounded-md"},i,t.createElement("pre",{className:"mt-2 text-sm"},e)):t.createElement("div",{ref:c,className:"my-4 overflow-auto",dangerouslySetInnerHTML:{__html:r}})},Re=({src:t,alt:r})=>{const[a,n]=e.useState(!1),[o,s]=e.useState(!1),[i,l]=e.useState(!1),[c,d]=e.useState(!0),[u,h]=e.useState({width:0,height:0}),p=e.useRef(null),f=()=>{n(!a)};return!t||i?null:e.createElement("figure",{className:"relative inline-block my-4 px-4 w-full sm:w-auto"},e.createElement("div",{className:"flex items-center justify-center min-h-[100px]"},e.createElement("button",{type:"button",onClick:f,className:"border-0 p-0 bg-transparent relative group","aria-label":a?"Zoom out image":"Zoom in image"},c&&e.createElement("div",{className:"rounded-md bg-gray-200 dark:bg-gray-800 animate-pulse",style:{width:u.width||300,height:u.height||200,maxHeight:300}}),e.createElement("img",{ref:p,src:t,alt:r,onError:()=>{d(!1),l(!0)},onLoad:()=>{if(p.current){const{naturalWidth:e,naturalHeight:t}=p.current,r=300,a=e/t,n=Math.min(r,t);h({width:n*a,height:n})}d(!1)},className:"max-h-[300px] w-auto object-contain cursor-zoom-in hover:opacity-90 transition-opacity "+(c?"opacity-0 absolute":"opacity-100 relative")}),!c&&e.createElement("div",{className:"absolute bottom-2 right-2 opacity-0 group-hover:opacity-100 transition-opacity"},e.createElement("div",{className:"bg-black/50 text-white p-1.5 rounded-lg"},e.createElement(m,{size:16}))))),r&&!c&&e.createElement("div",{className:"relative mt-1"},e.createElement("figcaption",{className:"text-sm text-gray-600 dark:text-gray-400 text-center group cursor-default",onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1)},e.createElement("div",{className:"line-clamp-2 hover:text-gray-700 dark:hover:text-gray-300"},r)),o&&e.createElement("div",{className:"absolute bottom-full left-0 right-0 mb-1 p-2 bg-white dark:bg-gray-800 rounded-lg shadow-lg border border-gray-200 dark:border-gray-700 text-sm text-gray-600 dark:text-gray-400 z-10"},r)),e.createElement(T,null,a&&e.createElement(e.Fragment,null,e.createElement(R.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 bg-black/80 z-50",onClick:f}),e.createElement(R.div,{initial:{scale:.5,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.5,opacity:0},className:"fixed inset-0 z-50 flex flex-col items-center justify-center cursor-zoom-out gap-4 p-4 sm:p-8",onClick:f},e.createElement("div",{className:"max-w-[95vw] sm:max-w-[90vw] max-h-[80vh]"},e.createElement("img",{src:t,alt:r,className:"w-full h-full object-contain"})),r&&e.createElement("div",{className:"max-w-[95vw] sm:max-w-[90vw] text-white text-center text-sm"},r)))))},Ie=r((({message:e,isStreaming:r})=>{const[o,s]=a(e.content);n((()=>{var t;const r=oe(e.content);r.uncertain&&r.language&&(null===(t=e.uncertaintyFallbackText)||void 0===t?void 0:t[r.language])?s(e.uncertaintyFallbackText[r.language]):s(e.content)}),[e.content,e.uncertaintyFallbackText,r]);const i=o.replace(/^\n+|(\n+|\\)+$/g,"");return t.createElement(ze,{className:"dark:prose-invert prose flex-1",remarkPlugins:[W],rehypePlugins:[_],components:{code:e=>{var{inline:r,className:a,children:n}=e,o=Y(e,["inline","className","children"]);const s=/language-(\w+)/.exec(a||""),i=s&&s[1];return r||"mermaid"!==i&&"mermaidjs"!==i?!r&&i?t.createElement(ve,Object.assign({key:Math.random(),language:i,value:String(n).replace(/\n$/,"")},o)):t.createElement("code",Object.assign({className:`text-red-400 bg-slate-200 border-slate-300 border rounded p-0.5 ${a}`.trim()},o),n):t.createElement(Te,{content:String(n).replace(/\n$/,"")})},marker:({children:e})=>t.createElement("div",{className:"my-2"},t.createElement("span",{className:"highlight"},e)),table:({children:e})=>t.createElement("table",{className:"border-collapse border border-black px-3 py-1 dark:border-white"},e),th:({children:e})=>t.createElement("th",{className:"break-words border border-black bg-gray-500 px-3 py-1 text-white dark:border-white"},e),td:({children:e})=>t.createElement("td",{className:"break-words border border-black px-3 py-1 dark:border-white"},e),a(e){var{children:r}=e,a=Y(e,["children"]);if(a.href){const e=Se({attrs:{href:a.href}});if(t.isValidElement(e))return e}return t.createElement("a",Object.assign({className:"link",target:"_blank",rel:"noopener noreferrer"},a),r)},pre:({children:e})=>t.createElement(t.Fragment,null,e),img({src:e,alt:r}){const a=Se({attrs:{href:null!=e?e:""}});return t.isValidElement(a)?a:t.createElement(Re,{src:e,alt:r})},li:e=>{var{children:r}=e,a=Y(e,["children"]);return t.createElement("li",Object.assign({className:"py-1"},a),r)},ul:({children:e})=>t.createElement("ul",{className:"ml-4 list-outside list-disc"},e),ol:({children:e})=>t.createElement("ol",{className:"ml-4 list-outside list-decimal"},e),strong:e=>{var{children:r}=e,a=Y(e,["children"]);return t.createElement("span",Object.assign({className:"font-semibold"},a),r)},h1:e=>{var{children:r}=e,a=Y(e,["children"]);return t.createElement("h1",Object.assign({className:"mb-2 mt-6 text-3xl font-semibold"},a),r)},h2:e=>{var{children:r}=e,a=Y(e,["children"]);return t.createElement("h2",Object.assign({className:"mb-2 mt-6 text-2xl font-semibold"},a),r)},h3:e=>{var{children:r}=e,a=Y(e,["children"]);return t.createElement("h3",Object.assign({className:"mb-2 mt-6 text-xl font-semibold"},a),r)},h4:e=>{var{children:r}=e,a=Y(e,["children"]);return t.createElement("h4",Object.assign({className:"mb-2 mt-6 text-lg font-semibold"},a),r)},h5:e=>{var{children:r}=e,a=Y(e,["children"]);return t.createElement("h5",Object.assign({className:"mb-2 mt-6 text-base font-semibold"},a),r)},h6:e=>{var{children:r}=e,a=Y(e,["children"]);return t.createElement("h6",Object.assign({className:"mb-2 mt-6 text-sm font-semibold"},a),r)}}},i)}));function $e({feedback:e,onFeedback:r,theme:n,textConfig:o={},disabled:s=!1}){const[i,l]=a(!1),c=e=>{r&&("accept"===e&&(l(!0),setTimeout((()=>l(!1)),2e3)),r(e))};return t.createElement("div",{className:"flex justify-end gap-2"},t.createElement(ue,null,t.createElement(he,null,t.createElement(pe,{asChild:!0},t.createElement("div",{className:"relative"},t.createElement(T,null,i&&t.createElement(t.Fragment,null,Array.from({length:8}).map(((e,r)=>t.createElement(R.div,{key:r,className:"absolute",initial:{opacity:0,scale:.3,x:0,y:0},animate:{opacity:[0,1,1,0],scale:[.3,1,1,0],x:[0,30*Math.cos(r*(Math.PI/4))],y:[0,30*Math.sin(r*(Math.PI/4))],rotate:[0,r%2?45:-45]},transition:{duration:1.2,ease:[.4,0,.2,1],times:[0,.3,.7,1],delay:.1*r},style:{top:"50%",left:"50%",transformOrigin:"center"}},t.createElement(u,{className:"w-4 h-4",style:{color:"#ff4b6e",filter:"drop-shadow(0 0 3px rgba(255, 75, 110, 0.8))",strokeWidth:2.5}})))),t.createElement(R.div,{className:"absolute inset-0 rounded-full",initial:{opacity:0,scale:.8},animate:{opacity:[0,.15,.15,0],scale:[.8,1.8,1.8,2]},transition:{duration:1.2,ease:"easeOut",times:[0,.3,.7,1]},style:{backgroundColor:n.primary}}))),t.createElement(ie,{variant:"ghost",size:"sm",className:"rounded-md h-8 w-8 flex items-center justify-center transition-all duration-200 transform hover:scale-105 active:scale-95 "+("accept"===e?"bg-green-100 text-green-600 hover:bg-green-200":""),onClick:()=>c("accept"),disabled:s},t.createElement(R.div,{initial:{scale:1},animate:{scale:"accept"===e?[1,1.2,1]:1},transition:{duration:.3}},t.createElement(h,{className:"h-4 w-4"}))))),t.createElement(fe,null,t.createElement("p",null,o.positiveAnswerText||"Helpful")))),t.createElement(ue,null,t.createElement(he,null,t.createElement(pe,{asChild:!0},t.createElement(ie,{variant:"ghost",size:"sm",className:"rounded-md h-8 w-8 flex items-center justify-center transition-all duration-200 transform hover:scale-105 active:scale-95 "+("reject"===e?"bg-red-100 text-red-600 hover:bg-red-200":""),onClick:()=>c("reject"),disabled:s},t.createElement(R.div,{initial:{scale:1},animate:{scale:"reject"===e?[1,1.2,1]:1},transition:{duration:.3}},t.createElement(p,{className:"h-4 w-4"})))),t.createElement(fe,null,t.createElement("p",null,o.negativeAnswerText||"Not helpful")))))}Ie.displayName="FormattedMessage";var Pe="generating-star-module_animate-spin__AJjwz";const Ae=({loading:e,color:r="#000"})=>t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"mt-[-5px] inline-block flex-shrink-0",style:{minWidth:"24px",minHeight:"24px"}},t.createElement("path",{className:e?Pe:"",d:"M7.54672 16.0031L2.66234 14.2031C2.51881 14.1498 2.39502 14.0539 2.3076 13.9282C2.22019 13.8025 2.17333 13.6531 2.17333 13.5C2.17333 13.3469 2.22019 13.1975 2.3076 13.0718C2.39502 12.9461 2.51881 12.8501 2.66234 12.7969L7.54672 10.9969C7.64981 10.9589 7.74344 10.899 7.82113 10.8213C7.89882 10.7436 7.95873 10.65 7.99672 10.5469L9.79672 5.66249C9.84999 5.51896 9.94592 5.39517 10.0716 5.30775C10.1973 5.22033 10.3467 5.17348 10.4998 5.17348C10.6529 5.17348 10.8024 5.22033 10.9281 5.30775C11.0538 5.39517 11.1497 5.51896 11.203 5.66249L13.003 10.5469C13.041 10.65 13.1009 10.7436 13.1786 10.8213C13.2562 10.899 13.3499 10.9589 13.453 10.9969L18.3373 12.7969C18.4809 12.8501 18.6047 12.9461 18.6921 13.0718C18.7795 13.1975 18.8264 13.3469 18.8264 13.5C18.8264 13.6531 18.7795 13.8025 18.6921 13.9282C18.6047 14.0539 18.4809 14.1498 18.3373 14.2031L13.453 16.0031C13.3499 16.0411 13.2562 16.101 13.1786 16.1787C13.1009 16.2564 13.041 16.35 13.003 16.4531L11.203 21.3375C11.1497 21.481 11.0538 21.6048 10.9281 21.6922C10.8024 21.7796 10.6529 21.8265 10.4998 21.8265C10.3467 21.8265 10.1973 21.7796 10.0716 21.6922C9.94592 21.6048 9.84999 21.481 9.79672 21.3375L7.99672 16.4531C7.95873 16.35 7.89882 16.2564 7.82113 16.1787C7.74344 16.101 7.64981 16.0411 7.54672 16.0031Z",stroke:r,strokeWidth:"1.5",strokeLinecap:"round",fill:e?r:"none",strokeLinejoin:"round"}),t.createElement("path",{d:"M18.7497 3.75L14.2497 3.75",stroke:r,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M16.4999 6V1.5",stroke:r,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M22.4999 8.25001H19.4999",stroke:r,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M20.9998 9.75002V6.75002",stroke:r,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}));function Fe({answer:e,question:r,theme:n,searchResults:o,isStreaming:s=!1,searchQueryId:i,feedback:l,onFeedback:c,disableFeedback:d=!1,textConfig:m={},isLoading:u=!1,isSearchLoading:h=!1}){const[p,x]=a(!1),[w,E]=a(!1),N=()=>K(this,void 0,void 0,(function*(){try{yield navigator.clipboard.writeText(e),x(!0),setTimeout((()=>x(!1)),2e3)}catch(e){console.error("Failed to copy text:",e)}}));return t.createElement("div",{className:"rounded-lg p-6 relative mx-auto max-w-3xl",style:{backgroundColor:n.cardBackground,borderColor:n.border,borderWidth:"1px",borderStyle:"solid"}},t.createElement("div",{className:"flex items-start justify-between"},t.createElement("div",{className:"flex items-center gap-2 mb-4"},t.createElement("div",{className:"mt-1"},t.createElement(Ae,{loading:u||s,color:n.primary})),t.createElement("h2",{className:"text-xl leading-normal font-semibold",style:{color:n.text}},r)),e&&t.createElement(ue,null,t.createElement(he,null,t.createElement(pe,{asChild:!0},t.createElement("button",{onClick:()=>{N()},className:"flex items-center justify-center w-8 h-8 rounded-md hover:bg-gray-100 transition-colors duration-200"},p?t.createElement(f,{className:"h-4 w-4",style:{color:n.feedbackPositive}}):t.createElement(g,{className:"h-4 w-4",style:{color:n.iconColor}}))),t.createElement(fe,null,t.createElement("p",null,p?"Copied!":"Copy"))))),u?t.createElement("div",{className:"space-y-4"},t.createElement("div",{className:"flex items-center gap-2"},t.createElement("div",{className:"h-5 rounded-full w-5",style:{backgroundColor:`${n.primary}30`}}),t.createElement("div",{className:"flex items-center gap-2 text-sm",style:{color:n.text}},h?m.loadingSearchText:m.loadingAnswerText)),t.createElement("div",{className:"space-y-3"},t.createElement("div",{className:"h-4 bg-gray-200 rounded w-3/4",style:{backgroundColor:`${n.border}40`}}),t.createElement("div",{className:"h-4 bg-gray-200 rounded w-full",style:{backgroundColor:`${n.border}40`}}),t.createElement("div",{className:"h-4 bg-gray-200 rounded w-5/6",style:{backgroundColor:`${n.border}40`}})),t.createElement("div",{className:"mt-6 space-y-3"},t.createElement("div",{className:"h-4 bg-gray-200 rounded w-1/4",style:{backgroundColor:`${n.border}40`}}),t.createElement("div",{className:"flex gap-2"},t.createElement("div",{className:"h-8 bg-gray-200 rounded w-32",style:{backgroundColor:`${n.border}40`}}),t.createElement("div",{className:"h-8 bg-gray-200 rounded w-40",style:{backgroundColor:`${n.border}40`}})))):e?t.createElement("div",{className:"prose prose-sm max-w-none",style:{color:n.text}},t.createElement(Ie,{message:{content:e,theme:{primary:n.primary,text:n.text},uncertaintyFallbackText:m.uncertaintyFallbackText},isStreaming:s})):t.createElement("div",{className:"prose prose-sm max-w-none",style:{color:n.text}},t.createElement(Ie,{message:{content:"Sorry, there was an error generating the answer. Please try again.",theme:{primary:n.primary,text:n.text}},isStreaming:s})),e&&!s&&!d&&t.createElement("div",{className:"mt-2"},t.createElement($e,{feedback:l,onFeedback:e=>{c&&i&&c(e)},theme:n,textConfig:m,disabled:d})),o&&o.length>0&&t.createElement("div",{className:"mt-6 rounded-lg overflow-hidden",style:{backgroundColor:n.cardBackground,borderWidth:"1px",borderStyle:"solid",borderColor:n.border}},t.createElement("button",{onClick:()=>E(!w),className:"w-full flex items-center justify-between p-3 transition-all duration-200 hover:bg-opacity-50",style:{color:n.text,borderBottom:w?`1px solid ${n.surfaceBorder}`:"none"}},t.createElement("div",{className:"flex items-center gap-2"},t.createElement(y,{className:"h-4 w-4 flex-shrink-0",style:{color:n.iconColor}}),t.createElement("span",{className:"font-medium truncate"},`Related Sources (${o.length})`)),t.createElement(b,{className:"h-4 w-4 flex-shrink-0 transition-transform duration-200 "+(w?"rotate-180":""),style:{color:n.iconColor}})),t.createElement("div",{className:"overflow-hidden transition-all duration-200 ease-in-out",style:{maxHeight:w?48*o.length+"px":"0",opacity:w?1:0,transform:`translateY(${w?"0":"-10px"})`}},t.createElement("div",{className:"divide-y divide-gray-200"},o.map((e=>t.createElement("a",{key:e.id,href:e.url,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 p-3 transition-colors duration-200 hover:bg-opacity-80",style:{color:n.text,backgroundColor:n.cardBackground}},t.createElement("span",{className:"flex-grow truncate"},e.title),t.createElement(v,{className:"h-4 w-4 flex-shrink-0",style:{color:n.iconColor}}))))))))}function Qe({questions:e,onQuestionClick:r,theme:a}){return e.length?t.createElement(R.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},className:"w-full"},t.createElement("div",{className:"rounded-lg overflow-hidden",style:{backgroundColor:a.surface,borderWidth:"1px",borderStyle:"solid",borderColor:a.border}},t.createElement("div",{className:"p-3 border-b",style:{borderColor:a.surfaceBorder}},t.createElement("div",{className:"flex items-center gap-2"},t.createElement(x,{className:"h-4 w-4 flex-shrink-0",style:{color:a.iconColor}}),t.createElement("span",{className:"font-medium"},"Follow-up Questions"))),t.createElement("div",{className:"divide-y divide-gray-200"},e.map(((e,n)=>t.createElement(R.button,{key:n,initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:.1*n},onClick:()=>r(e),className:"w-full flex items-center gap-2 p-3 transition-colors duration-200 hover:bg-gray-50 text-left",style:{color:a.text,backgroundColor:a.surface}},t.createElement("span",{className:"flex-grow"},e),t.createElement(w,{className:"h-4 w-4 flex-shrink-0",style:{color:`${a.text}60`}}))))))):null}function Me({questions:e,activeIndex:r,onNavigate:o,theme:s,offset:i}){const[l,c]=a(r);n((()=>{c(r)}),[r]);const d=e.length,m=(()=>{const e=[];let t=null;const a=r=>{null!==t&&r-t>1&&e.push("ellipsis"),e.push(r),t=r};a(0);for(let e=Math.max(1,r-2);e<=Math.min(d-2,r+2);e++)a(e);return d>1&&a(d-1),e})();return t.createElement("nav",{"aria-label":"Question timeline navigation",className:"fixed left-4 top-1/2 -translate-y-1/2 z-40 flex flex-col gap-3",style:Object.assign({},i?{left:`${i}px`}:{})},t.createElement(R.div,{className:"flex flex-col items-center space-y-3",role:"list",initial:!1,animate:{y:0},transition:{type:"spring",stiffness:300,damping:30}},t.createElement(T,null,m.map(((a,n)=>{if("ellipsis"===a)return t.createElement(R.div,{key:`ellipsis-${n}`,className:"h-8 flex items-center justify-center","aria-hidden":"true",initial:{opacity:0,y:l>r?-20:20},animate:{opacity:1,y:0},exit:{opacity:0,y:l>r?20:-20},transition:{duration:.2}},t.createElement(E,{className:"w-4 h-4",style:{color:s.text}}));const i=a,c=e[i];return t.createElement(R.div,{key:i,className:"relative group isolate",role:"listitem",initial:{opacity:0,y:l>r?-20:20},animate:{opacity:1,y:0},exit:{opacity:0,y:l>r?20:-20},transition:{duration:.2},layout:!0},t.createElement(ue,{delayDuration:100},t.createElement(he,null,t.createElement(pe,{asChild:!0},t.createElement("button",{onClick:()=>o(i),onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||o(i)},className:"flex items-center justify-center w-8 h-8 rounded-full transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 hover:opacity-90",style:{backgroundColor:i===r?s.primary:"#ccc",color:i===r?s.buttonText:"#333",cursor:"pointer","--tw-ring-color":s.primary},"aria-label":`Navigate to question ${i+1}: ${c}`,"aria-current":i===r?"step":void 0},i+1)),t.createElement(fe,{side:"right",sideOffset:8,className:"max-w-[300px]",background:s.cardBackground,textColor:s.text,borderColor:`${s.text}33`},t.createElement("p",{className:"break-words leading-relaxed"},c)))))})))))}function Be({onClick:e,theme:r}){return t.createElement(ie,{className:"fixed bottom-20 right-4 rounded-full p-2 transition-opacity duration-300",style:{backgroundColor:r.background,borderColor:r.border,borderWidth:"1px",borderStyle:"solid",boxShadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1)"},onClick:e},t.createElement(N,{className:"h-5 w-5",style:{color:r.text}}))}const qe={maxRetries:3,baseDelay:1e3,shouldRetry:e=>{if(e instanceof TypeError)return!0;const t=e;return!!t.status&&t.status>=500}};let Ue=Object.assign({},qe),_e=Object.assign({},{emptyResponse:"I apologize, but I couldn't generate an answer at this time. Please try again.",errorResponse:"I encountered an error while processing your request. Please try again."});function We(e){return K(this,void 0,void 0,(function*(){return new Promise((t=>setTimeout(t,e)))}))}function De(e,t={}){return K(this,void 0,void 0,(function*(){const{retry:r={},headers:a={},body:n,isStream:o=!1,fallback:s={}}=t,i=Y(t,["retry","headers","body","isStream","fallback"]),l=Object.assign(Object.assign({},Ue),r),c=Object.assign(Object.assign({},_e),s);let d=1;for(;;)try{const t=yield fetch(e,Object.assign(Object.assign({},i),{headers:Object.assign({"Content-Type":"application/json"},a),body:n?JSON.stringify(n):void 0}));if(t.ok){if(o){if(!t.ok)throw new Error("Failed to fetch answer");return t}const e=yield t.json();if(!e||"object"==typeof e&&0===Object.keys(e).length){const e=new Error(c.emptyResponse);throw e.name="EmptyResponseError",e}return e}const r=new Error(c.errorResponse);throw r.status=t.status,r.data=yield t.json().catch((()=>{})),r}catch(e){const t=yield Promise.resolve(l.shouldRetry(e,d));if(d>=l.maxRetries||!t){if(e instanceof Error&&"EmptyResponseError"===e.name)return{message:e.message};throw e}console.warn(`Request failed, attempt ${d} of ${l.maxRetries}. Retrying...`);const r=.3*Math.random()+.85;yield We(l.baseDelay*Math.pow(2,d-1)*r),d++}}))}const Ze={maxRetries:3,baseDelay:300,shouldRetry:e=>{if(e instanceof TypeError)return!0;const t=e;return!!t.status&&(t.status>=500||429===t.status)}},He={maxRetries:3,baseDelay:500,shouldRetry:e=>{if(e instanceof TypeError)return!0;const t=e;return!!t.status&&t.status>=500}};function Ve({endpoint:e,query:t,collectionId:r,headers:a,conversationId:n}){var o;return K(this,void 0,void 0,(function*(){const s=yield De(e,{method:"POST",headers:a,retry:Ze,body:Object.assign(Object.assign({query:t,limit:5},r&&"all"!==r&&{collectionId:r}),n&&{conversationId:n})});return{results:null==s?void 0:s.data,searchQueryId:null===(o=null==s?void 0:s.searchQuery)||void 0===o?void 0:o.id}}))}function Ye({endpoint:e,searchQueryId:t,headers:r,conversationId:a}){return K(this,void 0,void 0,(function*(){return De(e,{method:"POST",headers:r,retry:He,isStream:!0,fallback:{emptyResponse:"I apologize, but I couldn't generate an answer for your query. Please try rephrasing your question.",errorResponse:"I encountered an issue while generating the answer. Please try again in a moment."},body:Object.assign({searchQueryId:t},a&&{conversationId:a})})}))}function Ke(){return`bf-conversation-${Date.now()}-${"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(e=>{const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))}`}function Je({endpoint:e,conversationId:t,headers:r}){return K(this,void 0,void 0,(function*(){return{data:(yield De(e,{method:"POST",headers:r,body:{conversationId:t}})).data.map((e=>Object.assign(Object.assign({},e),{feedback:e.feedback?"positive"===e.feedback?"accept":"reject":void 0})))}}))}const Ge={primary:"#A3E635",background:"#e5e5e5",text:"#171717",border:"#171717",surface:"white",surfaceBorder:"#E5E7EB",surfaceHover:"#F3F4F6",cardBackground:"white",textSecondary:"#4B5563",iconColor:"#4B5563",buttonBackground:"white",buttonText:"#171717",loadingBackground:"#E5E7EB",overlayBackground:"rgba(0, 0, 0, 0.5)",overlayText:"white",feedbackPositive:"#22C55E",feedbackNegative:"#EF4444"},Xe={headerText:"How can we help you today?",searchPlaceholder:"Ask a question or type a search term here ...",attachImageText:"Attach image",allDocumentsText:"All documents",loadingSearchText:"Searching for relevant content...",loadingAnswerText:"Crafting a response...",errorText:"Sorry, there was an error generating the answer.",followUpPlaceholder:"Ask follow-up",positiveAnswerText:"Helpful",negativeAnswerText:"Not helpful",uncertaintyFallbackText:{en:"Sorry, I can't find a clear answer to your question. Please try rephrasing or check the related sources below.",es:"Lo siento, no puedo encontrar una respuesta clara. Intente reformular la pregunta o consulte las fuentes relacionadas.",fr:"Désolé, je ne trouve pas de réponse claire. Essayez de reformuler ou consultez les sources connexes.",de:"Entschuldigung, ich finde keine klare Antwort. Versuchen Sie es anders zu formulieren oder sehen Sie sich die verwandten Quellen an.",it:"Mi dispiace, non trovo una risposta chiara. Prova a riformulare o consulta le fonti correlate.",pt:"Desculpe, não encontro uma resposta clara. Tente reformular ou consulte as fontes relacionadas.",nl:"Sorry, ik kan geen duidelijk antwoord vinden. Probeer het anders te formuleren of bekijk de gerelateerde bronnen.",pl:"Przepraszam, nie znajduję jasnej odpowiedzi. Spróbuj przeformułować pytanie lub sprawdź powiązane źródła.",ru:"Извините, я не могу найти четкого ответа. Попробуйте переформулировать или ознакомьтесь со связанными источниками.",ja:"申し訳ありませんが、明確な回答が見つかりません。質問の言い換えや、関連ソースをご確認ください。",ko:"죄송합니다. 명확한 답변을 찾을 수 없습니다. 질문을 다시 작성하거나 관련 소스를 확인해 주세요.",zh:"抱歉,找不到明确的答案。请尝试重新表述或查看相关来源。","zh-TW":"抱歉,找不到明確的答案。請嘗試重新表述或查看相關來源。"}},et=s((({suggestions:e,theme:r={},collections:s=[],selectedCollectionId:l,onCollectionChange:c,searchEndpoint:d,answerEndpoint:m,feedbackEndpoint:u,loadConversationEndpoint:h,disableFollowUpQuestions:p=!1,disableImageAttachment:f=!1,disableFeedback:g=!1,siblingNode:y,offset:v=0,headers:x,textConfig:w={},followUpQuestionsEndpoint:E,searchPath:N},I)=>{var $;const P=Object.assign(Object.assign({},Ge),r),A=Object.assign(Object.assign({},Xe),w),[F,Q]=a(""),[M,B]=a(""),[q,U]=a(!1),[_,W]=a(!1),[D,Z]=a([]),[H,V]=a(!1),[Y,J]=a(0),[G,X]=a([]),[ee,te]=a(l),[re,ae]=a(!0),[ne,se]=a(""),[ue,he]=a(!1),[pe,fe]=a(),ye=o(null),be=o(null),ve=o([]),xe=o(null),we=o(null),Ee=o([]);n((()=>{const e=new URLSearchParams(window.location.search).get("conversation");if(e&&h)he(!0),W(!0),Je({endpoint:h,conversationId:e,headers:x}).then((t=>{Z(t.data),se(e),W(!0)})).catch((e=>{console.error("Error loading conversation:",e),fe(A.errorText||"An error occurred"),W(!1),Z([]);const t=Ke();se(t);const r=new URL(window.location.href);r.pathname="/",r.searchParams.delete("conversation"),window.history.replaceState({},"",r.toString())})).finally((()=>{he(!1)}));else{const e=Ke();se(e)}}),[h]),n((()=>{if(ne&&D.length>0){const e=new URL(window.location.href);N?(e.pathname=N,e.searchParams.set("conversation",ne)):e.searchParams.set("conversation",ne),window.history.replaceState({},"",e.toString())}}),[ne,D.length,N]),n((()=>{const e={showResults:_,answers:D,isLoading:ue,error:pe};Ee.current.forEach((t=>t(e)))}),[_,D,ue,pe]);const Ne=()=>{requestAnimationFrame((()=>{const e=ve.current[ve.current.length-1];if(e){const t=e.getBoundingClientRect(),r=window.pageYOffset||document.documentElement.scrollTop,a=t.top+r-80;window.scrollTo({top:a,behavior:"smooth"})}}))},ke=e=>K(void 0,void 0,void 0,(function*(){var t;const r=null===(t=e.body)||void 0===t?void 0:t.getReader();if(!r)return;Z((e=>{const t=[...e],r=t[t.length-1];return r&&(r.isLoading=!1,r.isStreaming=!0,r.searchResults=r.searchResults||[]),t}));let a="";try{let e,t;for(;({done:e,value:t}=yield r.read()),!e;){const e=(new TextDecoder).decode(t);a+=e;const{uncertain:r,language:n}=oe(a);Z((e=>{var t;const o=[...e],s=o[o.length-1];return s&&(s.answer=a,s.isLoading=!1,s.isStreaming=!0,s.searchResults=s.searchResults||[],s.isUncertain=r,s.uncertaintyLanguage=n,r&&n&&(null===(t=A.uncertaintyFallbackText)||void 0===t?void 0:t[n])&&(s.uncertaintyFallbackText=A.uncertaintyFallbackText[n])),o}))}}catch(e){console.error("Error streaming answer:",e)}finally{Z((e=>{const t=[...e],r=t[t.length-1];return r&&(r.isStreaming=!1,r.isLoading=!1,E&&!p&&r.searchQueryId&&K(void 0,void 0,void 0,(function*(){try{const e=yield function({endpoint:e,searchQueryId:t,headers:r,conversationId:a}){return K(this,void 0,void 0,(function*(){return(yield De(e,{method:"POST",headers:r,body:Object.assign({searchQueryId:t},a&&{conversationId:a})})).questions}))}({endpoint:E,searchQueryId:r.searchQueryId,headers:x,conversationId:ne});Z((t=>{const r=[...t],a=r[r.length-1];return a&&(a.followUpQuestions=e),r}))}catch(e){console.error("Error fetching follow-up questions:",e)}}))),t})),r.releaseLock()}})),Ce=(e=F.trim())=>K(void 0,void 0,void 0,(function*(){if(e){U(!0),W(!0);const t=ne||Ke();ne||se(t);const r=new URL(window.location.href);(N&&r.pathname!==N||r.searchParams.get("conversation")!==t)&&(N?(r.pathname=N,r.searchParams.set("conversation",t)):r.searchParams.set("conversation",t),window.history.replaceState({},"",r.toString()));const a={question:e,answer:"",isLoading:!0,isSearchLoading:!0,searchResults:[],searchQueryId:void 0,isStreaming:!1};Z((e=>[...e,a]));const n=D.length;J(n),Ne(),yield Promise.resolve();try{const r=yield Ve({endpoint:d,query:e,collectionId:ee,headers:x,conversationId:t});Z((e=>{const t=[...e];return t[t.length-1]&&(t[t.length-1]=Object.assign(Object.assign({},t[t.length-1]),{searchResults:r.results,searchQueryId:r.searchQueryId,isSearchLoading:!1})),t}));const a=yield Ye({endpoint:m,searchQueryId:r.searchQueryId,headers:x,conversationId:t});yield ke(a)}catch(e){console.error("Error generating answer:",e),Z((e=>{const t=[...e];return t[t.length-1]&&(t[t.length-1]=Object.assign(Object.assign({},t[t.length-1]),{answer:A.errorText||"An error occurred",isLoading:!1,isSearchLoading:!1,isStreaming:!1})),t}))}finally{U(!1)}}}));i(I,(()=>({createNewThread:e=>{Q(""),B(""),W(!1),Z([]),J(0),X([]);const t=Ke();se(t);const r=new URL(window.location.href);r.searchParams.delete("conversation"),window.history.replaceState({},"",r.toString()),ye.current&&(ye.current.style.height="auto"),e&&(Q(e),Ce(e))},showFollowUpThread:e=>{ae(e)},subscribeToStateChanges:e=>(Ee.current.push(e),e({showResults:_,answers:D,isLoading:!1,error:void 0}),()=>{Ee.current=Ee.current.filter((t=>t!==e))})}))),n((()=>{te(l)}),[l]);const je=(e,t,r)=>K(void 0,void 0,void 0,(function*(){if(u){Z((t=>{const a=[...t];return a[r]&&(a[r]=Object.assign(Object.assign({},a[r]),{feedback:e})),a}));try{yield function({endpoint:e,searchQueryId:t,response:r,headers:a,conversationId:n}){return K(this,void 0,void 0,(function*(){yield De(e,{method:"POST",headers:a,body:Object.assign({searchQueryId:t,response:r},n&&{conversationId:n})})}))}({endpoint:u,searchQueryId:t,response:e,headers:x,conversationId:ne})}catch(e){console.error("Error sending feedback:",e),Z((e=>{const t=[...e];return t[r]&&(t[r]=Object.assign(Object.assign({},t[r]),{feedback:void 0})),t}))}}})),Oe=()=>K(void 0,void 0,void 0,(function*(){if(M.trim()){const e=M;Q(e),B(""),be.current&&(be.current.style.height="auto"),yield Ce(e)}}));n((()=>{const e=()=>{const e=window.innerHeight+window.pageYOffset>=document.documentElement.scrollHeight-100;V(!e)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)}),[]),n((()=>()=>{G.forEach((e=>URL.revokeObjectURL(e.preview)))}),[G]);n((()=>{const e=()=>{new URLSearchParams(window.location.search).get("conversation")||(Q(""),B(""),W(!1),Z([]),J(0),X([]),ye.current&&(ye.current.style.height="auto"))};return window.addEventListener("popstate",e),()=>window.removeEventListener("popstate",e)}),[]);const Se=e=>{Ce(e)};return t.createElement("div",{className:"relative"},t.createElement("div",{ref:xe,className:"w-full max-w-3xl mx-auto flex flex-col items-center space-y-8 px-4 py-20",style:{"--surface-border":P.surfaceBorder,"--surface-hover":P.surfaceHover}},t.createElement(T,null,ue?t.createElement(R.div,{key:"loading",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"w-full flex items-center justify-center py-20"},t.createElement("div",{className:"flex flex-col items-center gap-4"},t.createElement("div",{className:"animate-spin rounded-full h-8 w-8 border-2 border-t-transparent",style:{borderColor:P.primary}}),t.createElement("p",{className:"text-sm",style:{color:P.textSecondary}},"Loading conversation..."))):_?t.createElement(R.div,{key:"results",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.5},className:"w-full space-y-4 py-4 mb-20"},D.map(((e,r)=>t.createElement(R.div,{key:r,ref:e=>ve.current[r]=e,initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:.1*r}},t.createElement(Fe,{answer:e.answer,question:e.question,theme:P,searchResults:e.searchResults,isStreaming:e.isStreaming,searchQueryId:e.searchQueryId,feedback:e.feedback,onFeedback:t=>{je(t,e.searchQueryId,r)},disableFeedback:g,textConfig:A,isLoading:e.isLoading,isSearchLoading:e.isSearchLoading}),r===D.length-1&&!p&&e.followUpQuestions&&!e.isStreaming&&t.createElement("div",{className:"mt-4"},t.createElement(Qe,{questions:e.followUpQuestions,onQuestionClick:Se,theme:P})))))):t.createElement(R.div,{key:"search",initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},transition:{duration:.5},className:"w-full space-y-8"},t.createElement("div",{className:"w-full text-center space-y-4"},t.createElement(R.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:.3},className:"text-5xl font-bold",style:{color:P.text}},A.headerText)),t.createElement(R.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:.4}},t.createElement("div",{className:"relative w-full rounded-md overflow-hidden",style:{backgroundColor:P.background,borderColor:P.border,borderWidth:"1px",borderStyle:"solid"}},t.createElement("div",{className:"p-3 flex items-center",style:{backgroundColor:P.cardBackground}},t.createElement(k,{className:"h-5 w-5 mr-2",style:{color:P.iconColor}}),t.createElement("textarea",{ref:ye,placeholder:A.searchPlaceholder,value:F,onChange:e=>{var t;Q(e.target.value),(t=e.target).style.height="auto",t.style.height=`${t.scrollHeight}px`},onKeyDown:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),Ce())},className:"w-full resize-none outline-none text-lg py-1 font-light min-h-[36px] overflow-hidden border-none bg-transparent placeholder:text-gray-400",style:{color:P.text,outline:"none",boxShadow:"none",fontSize:"16px"},rows:1})),!f&&G.length>0&&t.createElement("div",{className:"flex gap-2 mt-3 overflow-x-auto pb-1 px-3"},G.map(((e,r)=>t.createElement("div",{key:r,className:"relative group rounded-lg overflow-hidden flex-shrink-0",style:{width:"80px",height:"80px"}},t.createElement("img",{src:e.preview,alt:`Attached ${r+1}`,className:"w-full h-full object-cover"}),t.createElement("button",{onClick:()=>(e=>{X((t=>(URL.revokeObjectURL(t[e].preview),t.filter(((t,r)=>r!==e)))))})(r),className:"absolute top-1 right-1 rounded-full p-1 opacity-0 group-hover:opacity-100 transition-opacity duration-200 hover:bg-opacity-70",style:{backgroundColor:P.overlayBackground}},t.createElement(C,{className:"h-3 w-3",style:{color:P.overlayText}})))))),t.createElement("div",{className:"flex items-center justify-between px-3 py-2 border-t",style:{borderColor:P.border}},t.createElement("div",{className:"flex gap-2"},s.length>0&&t.createElement(le,null,t.createElement(ce,{asChild:!0},t.createElement(ie,{variant:"ghost",size:"sm",className:"transition-all duration-200 rounded-md h-8 flex items-center gap-2 hover:bg-opacity-80",style:{color:P.buttonText}},ee&&"all"!==ee?t.createElement(j,{className:"h-5 w-5",style:{color:P.feedbackPositive}}):t.createElement(O,{className:"h-5 w-5",style:{color:P.iconColor}}),(null===($=s.find((e=>e.id===ee)))||void 0===$?void 0:$.name)||A.allDocumentsText,t.createElement(b,{className:"h-4 w-4",style:{color:P.iconColor}}))),t.createElement(de,null,s.map((e=>t.createElement(me,{key:e.id,onClick:()=>{return t=e.id,te(t),void(null==c||c(t));var t},style:{backgroundColor:e.id===ee?`${P.buttonBackground}80`:"transparent"}},e.id===ee?t.createElement(j,{className:"h-4 w-4 mr-2",style:{color:P.feedbackPositive}}):t.createElement(O,{className:"h-4 w-4 mr-2",style:{color:P.iconColor}}),e.name))))),!f&&t.createElement(t.Fragment,null,t.createElement("input",{type:"file",ref:we,accept:"image/*",multiple:!0,className:"hidden",onChange:e=>{const t=e.target.files;if(t){const e=Array.from(t).map((e=>({file:e,preview:URL.createObjectURL(e)})));X((t=>[...t,...e]))}we.current&&(we.current.value="")}}),t.createElement(ie,{variant:"ghost",size:"sm",className:"rounded-md h-8 hover:bg-opacity-80",style:{color:P.buttonText},onClick:()=>{var e;return null===(e=we.current)||void 0===e?void 0:e.click()}},t.createElement(S,{className:"h-4 w-4 mr-1.5",style:{color:P.iconColor}}),A.attachImageText))),t.createElement("div",{className:"flex items-center"},t.createElement(ie,{size:"sm",disabled:!F||q,className:"rounded-md h-8 w-8 disabled:opacity-50",style:{backgroundColor:P.primary},onClick:()=>{Ce()}},q?t.createElement("div",{className:"animate-spin rounded-full h-4 w-4 border-2 border-t-transparent",style:{borderColor:P.overlayText}}):t.createElement(z,{className:"h-4 w-4",style:{color:P.buttonText}})))))),t.createElement(ge,{suggestions:e||[],onQuestionClick:e=>{if(e.conversationId&&h)return he(!0),W(!0),void Je({endpoint:h,conversationId:e.conversationId,headers:x}).then((t=>{Z(t.data),se(e.conversationId),W(!0)})).catch((e=>{console.error("Error loading conversation:",e),fe(A.errorText||"An error occurred"),W(!1),Z([]);const t=Ke();se(t);const r=new URL(window.location.href);r.pathname="/",r.searchParams.delete("conversation"),window.history.replaceState({},"",r.toString())})).finally((()=>{he(!1)}));if(W(!0),U(!0),!ne){const e=Ke();se(e)}Z((t=>[...t,{question:e.question,answer:"",isLoading:!0,isSearchLoading:!0}])),K(void 0,void 0,void 0,(function*(){try{const t=yield Ve({endpoint:d,query:e.question,collectionId:ee,headers:x,conversationId:ne}),r=t.results;Z((e=>{const a=[...e];return a[a.length-1]=Object.assign(Object.assign({},a[a.length-1]),{searchResults:r,searchQueryId:t.searchQueryId,isSearchLoading:!1}),a}));const a=yield Ye({endpoint:m,searchQueryId:t.searchQueryId,headers:x,conversationId:ne});yield ke(a)}catch(e){console.error("Error generating answer:",e),Z((e=>{const t=[...e];return t[t.length-1]=Object.assign(Object.assign({},t[t.length-1]),{answer:A.errorText||"An error occurred",isLoading:!1,isSearchLoading:!1}),t}))}finally{U(!1),Ne()}}))},borderColor:P.border,title:A.suggestionsTitle}),y)),_&&D.length>1&&t.createElement("div",{className:"hidden sm:block"},t.createElement(Me,{questions:D.map((e=>e.question)),activeIndex:Y,onNavigate:e=>{J(e),(e=>{requestAnimationFrame((()=>{const t=ve.current[e];if(t){const e=t.getBoundingClientRect(),r=window.pageYOffset||document.documentElement.scrollTop,a=e.top+r-80;window.scrollTo({top:a,behavior:"smooth"})}}))})(e)},theme:P,offset:v})),_&&re&&t.createElement(R.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},className:"fixed bottom-4 left-4 right-4 max-w-3xl mx-auto z-10",style:{left:`${v}px`}},t.createElement("div",{className:"rounded-full h-[44px] sm:h-[52px] flex items-center justify-between",style:{backgroundColor:P.cardBackground,borderColor:P.border,borderWidth:"1px",borderStyle:"solid",boxShadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1)",padding:"0 15px"}},t.createElement("div",{className:"flex items-center gap-2 sm:gap-3 flex-grow overflow-hidden h-full"},t.createElement(k,{className:"h-4 w-4 sm:h-5 sm:w-5 flex-shrink-0",style:{color:P.iconColor}}),t.createElement("div",{className:"flex-grow",style:{paddingTop:"15px",paddingBottom:"10px"}},t.createElement("textarea",{ref:be,placeholder:A.followUpPlaceholder,value:M,onChange:e=>{B(e.target.value);e.target.style.height="auto",e.target.style.height=`${Math.min(e.target.scrollHeight,100)}px`,e.target.scrollHeight>100?e.target.style.overflowY="auto":e.target.style.overflowY="hidden"},onKeyDown:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),Oe())},disabled:q,className:"w-full bg-transparent outline-none text-sm sm:text-base resize-none overflow-hidden disabled:opacity-50 border-none min-h-[24px] max-h-[100px] placeholder:text-gray-400",style:{color:P.text,outline:"none",boxShadow:"none",fontSize:"16px",lineHeight:"24px"},rows:1}))),t.createElement("div",{className:"flex items-center gap-2 sm:gap-3 ml-2 sm:ml-3 flex-shrink-0"},t.createElement(ie,{size:"icon",variant:"ghost",disabled:q||!M.trim(),className:"rounded-full transition-colors duration-200 disabled:opacity-50 h-8 w-8 sm:h-9 sm:w-9 flex items-center justify-center hover:bg-opacity-80",style:{backgroundColor:P.buttonBackground,color:P.buttonText},onClick:()=>{Oe()}},q?t.createElement("div",{className:"animate-spin rounded-full h-4 w-4 sm:h-5 sm:w-5 border-2",style:{borderColor:`${P.text}40`,borderTopColor:P.text}}):t.createElement(L,{className:"h-4 w-4 sm:h-5 sm:w-5",style:{color:P.iconColor}}))))),H&&_&&t.createElement(Be,{onClick:Ne,theme:P})))}));et.displayName="ChatSearch";export{et as ChatSearch};
2
2
  //# sourceMappingURL=index.js.map