YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
examples: add vercel/ai-chatbot example
Louis Beaumontffacb6daa5fd
diff --git a/examples/ts/vercel-ai-chatbot/.env.example b/examples/ts/vercel-ai-chatbot/.env.examplenew file mode 100644index 000000000..098f3f62d--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/.env.example@@ -0,0 +1,12 @@+# You must first activate a Billing Account here: https://platform.openai.com/account/billing/overview+# Then get your OpenAI API Key here: https://platform.openai.com/account/api-keys+OPENAI_API_KEY=XXXXXXXX++# Generate a random secret: https://generate-secret.vercel.app/32 or `openssl rand -base64 32`+AUTH_SECRET=XXXXXXXX++# Instructions to create kv database here: https://vercel.com/docs/storage/vercel-kv/quickstart and+KV_URL=XXXXXXXX+KV_REST_API_URL=XXXXXXXX+KV_REST_API_TOKEN=XXXXXXXX+KV_REST_API_READ_ONLY_TOKEN=XXXXXXXX\ No newline at end of filediff --git a/examples/ts/vercel-ai-chatbot/.eslintrc.json b/examples/ts/vercel-ai-chatbot/.eslintrc.jsonnew file mode 100644index 000000000..c17b5320a--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/.eslintrc.json@@ -0,0 +1,26 @@+{+ "$schema": "https://json.schemastore.org/eslintrc",+ "root": true,+ "extends": [+ "next/core-web-vitals",+ "prettier",+ "plugin:tailwindcss/recommended"+ ],+ "plugins": ["tailwindcss"],+ "rules": {+ "tailwindcss/no-custom-classname": "off",+ "tailwindcss/classnames-order": "off"+ },+ "settings": {+ "tailwindcss": {+ "callees": ["cn", "cva"],+ "config": "tailwind.config.js"+ }+ },+ "overrides": [+ {+ "files": ["*.ts", "*.tsx"],+ "parser": "@typescript-eslint/parser"+ }+ ]+}diff --git a/examples/ts/vercel-ai-chatbot/.gitignore b/examples/ts/vercel-ai-chatbot/.gitignorenew file mode 100644index 000000000..dd019e403--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/.gitignore@@ -0,0 +1,38 @@+# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.++# dependencies+node_modules+.pnp+.pnp.js++# testing+coverage++# next.js+.next/+out/+build++# misc+.DS_Store+*.pem++# debug+npm-debug.log*+yarn-debug.log*+yarn-error.log*+.pnpm-debug.log*++# local env files+.env.local+.env.development.local+.env.test.local+.env.production.local++# turbo+.turbo++.env+.vercel+.vscode+.env*.localdiff --git a/examples/ts/vercel-ai-chatbot/LICENSE b/examples/ts/vercel-ai-chatbot/LICENSEnew file mode 100644index 000000000..6c16c29f4--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/LICENSE@@ -0,0 +1,13 @@+Copyright 2023 Vercel, Inc.++Licensed under the Apache License, Version 2.0 (the "License");+you may not use this file except in compliance with the License.+You may obtain a copy of the License at++ http://www.apache.org/licenses/LICENSE-2.0++Unless required by applicable law or agreed to in writing, software+distributed under the License is distributed on an "AS IS" BASIS,+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+See the License for the specific language governing permissions and+limitations under the License.\ No newline at end of filediff --git a/examples/ts/vercel-ai-chatbot/README.md b/examples/ts/vercel-ai-chatbot/README.mdnew file mode 100644index 000000000..76ef93696--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/README.md@@ -0,0 +1,121 @@++this is a copy of https://github.com/vercel/ai-chatbot++i just added in `lib/chat/actions.tsx` a tool to call screenpipe api (in the tools list):++```ts+queryScreenpipeAPI: {+ description:+ 'Query the Screenpipe API for OCR that appeared on user s screen and audio transcriptions from his mic',+ parameters: z.object({+ query: z.string().describe('The search query which match exact keywords. Try to use a single keyword that would match the user intent'),+ contentType: z+ .enum(['ocr', 'audio'])+ .describe('The type of content to search for'),+ limit: z+ .number()+ .optional()+ .describe('The number of results to return (default: 5)'),+ offset: z+ .number()+ .optional()+ .describe('The offset for pagination (default: 0)')+ }),+ generate: async function* ({+ query,+ contentType,+ limit = 5,+ offset = 0+ }) {+ console.log("screenpipe-chatbot will use content type: ", contentType)+ console.log("screenpipe-chatbot will use query: ", query)+ console.log("screenpipe-chatbot will use limit: ", limit)+ console.log("screenpipe-chatbot will use offset: ", offset)+ yield (+ <BotCard>+ <div className="inline-flex items-start gap-1 md:items-center">+ {spinner}+ <p className="mb-2">Searching for {contentType} content...</p>+ </div>+ </BotCard>+ )++ try {+ const response = await fetch(+ `http://localhost:3030/search?q=${encodeURIComponent(query)}&content_type=${contentType}&limit=${limit}&offset=${offset}`+ )++ if (!response.ok) {+ throw new Error(+ `API request failed with status ${response.status}`+ )+ }++ const data = await response.json()++ const toolCallId = nanoid()++ aiState.done({+ ...aiState.get(),+ messages: [+ ...aiState.get().messages,+ {+ id: nanoid(),+ role: 'assistant',+ content: [+ {+ type: 'tool-call',+ toolName: 'queryScreenpipeAPI',+ toolCallId,+ args: { query, contentType, limit, offset }+ }+ ]+ },+ {+ id: nanoid(),+ role: 'tool',+ content: [+ {+ type: 'tool-result',+ toolName: 'queryScreenpipeAPI',+ toolCallId,+ result: data+ }+ ]+ }+ ]+ })++ return (+ <BotCard>+ <div>+ <h3 className="text-lg font-semibold mb-2">+ Search Results ({contentType}):+ </h3>+ <ul className="list-disc pl-5">+ {data.data.map((item: any, index: number) => (+ <li key={index} className="mb-2">+ <p>+ <strong>{item.content.timestamp}</strong>:{' '}+ {item.content.text || item.content.transcription}+ </p>+ </li>+ ))}+ </ul>+ <p className="mt-2">Total results: {data.pagination.total}</p>+ </div>+ </BotCard>+ )+ } catch (error) {+ console.error('Error querying Screenpipe API:', error)+ return (+ <BotCard>+ <div className="text-red-500">+ Error querying Screenpipe API. Please try again later.+ </div>+ </BotCard>+ )+ }+ }+}+```\ No newline at end of filediff --git a/examples/ts/vercel-ai-chatbot/app/(chat)/chat/[id]/page.tsx b/examples/ts/vercel-ai-chatbot/app/(chat)/chat/[id]/page.tsxnew file mode 100644index 000000000..c8de38044--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/app/(chat)/chat/[id]/page.tsx@@ -0,0 +1,60 @@+import { type Metadata } from 'next'+import { notFound, redirect } from 'next/navigation'++import { auth } from '@/auth'+import { getChat, getMissingKeys } from '@/app/actions'+import { Chat } from '@/components/chat'+import { AI } from '@/lib/chat/actions'+import { Session } from '@/lib/types'++export interface ChatPageProps {+ params: {+ id: string+ }+}++export async function generateMetadata({+ params+}: ChatPageProps): Promise<Metadata> {+ const session = await auth()++ if (!session?.user) {+ return {}+ }++ const chat = await getChat(params.id, session.user.id)+ return {+ title: chat?.title.toString().slice(0, 50) ?? 'Chat'+ }+}++export default async function ChatPage({ params }: ChatPageProps) {+ const session = (await auth()) as Session+ const missingKeys = await getMissingKeys()++ if (!session?.user) {+ redirect(`/login?next=/chat/${params.id}`)+ }++ const userId = session.user.id as string+ const chat = await getChat(params.id, userId)++ if (!chat) {+ redirect('/')+ }++ if (chat?.userId !== session?.user?.id) {+ notFound()+ }++ return (+ <AI initialAIState={{ chatId: chat.id, messages: chat.messages }}>+ <Chat+ id={chat.id}+ session={session}+ initialMessages={chat.messages}+ missingKeys={missingKeys}+ />+ </AI>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/app/(chat)/layout.tsx b/examples/ts/vercel-ai-chatbot/app/(chat)/layout.tsxnew file mode 100644index 000000000..2825d593c--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/app/(chat)/layout.tsx@@ -0,0 +1,14 @@+import { SidebarDesktop } from '@/components/sidebar-desktop'++interface ChatLayoutProps {+ children: React.ReactNode+}++export default async function ChatLayout({ children }: ChatLayoutProps) {+ return (+ <div className="relative flex h-[calc(100vh_-_theme(spacing.16))] overflow-hidden">+ <SidebarDesktop />+ {children}+ </div>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/app/(chat)/page.tsx b/examples/ts/vercel-ai-chatbot/app/(chat)/page.tsxnew file mode 100644index 000000000..21b79f91d--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/app/(chat)/page.tsx@@ -0,0 +1,22 @@+import { nanoid } from '@/lib/utils'+import { Chat } from '@/components/chat'+import { AI } from '@/lib/chat/actions'+import { auth } from '@/auth'+import { Session } from '@/lib/types'+import { getMissingKeys } from '@/app/actions'++export const metadata = {+ title: 'Next.js AI Chatbot'+}++export default async function IndexPage() {+ const id = nanoid()+ const session = (await auth()) as Session+ const missingKeys = await getMissingKeys()++ return (+ <AI initialAIState={{ chatId: id, messages: [] }}>+ <Chat id={id} session={session} missingKeys={missingKeys} />+ </AI>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/app/actions.ts b/examples/ts/vercel-ai-chatbot/app/actions.tsnew file mode 100644index 000000000..c624f561e--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/app/actions.ts@@ -0,0 +1,156 @@+'use server'++import { revalidatePath } from 'next/cache'+import { redirect } from 'next/navigation'+import { kv } from '@vercel/kv'++import { auth } from '@/auth'+import { type Chat } from '@/lib/types'++export async function getChats(userId?: string | null) {+ if (!userId) {+ return []+ }++ try {+ const pipeline = kv.pipeline()+ const chats: string[] = await kv.zrange(`user:chat:${userId}`, 0, -1, {+ rev: true+ })++ for (const chat of chats) {+ pipeline.hgetall(chat)+ }++ const results = await pipeline.exec()++ return results as Chat[]+ } catch (error) {+ return []+ }+}++export async function getChat(id: string, userId: string) {+ const chat = await kv.hgetall<Chat>(`chat:${id}`)++ if (!chat || (userId && chat.userId !== userId)) {+ return null+ }++ return chat+}++export async function removeChat({ id, path }: { id: string; path: string }) {+ const session = await auth()++ if (!session) {+ return {+ error: 'Unauthorized'+ }+ }++ //Convert uid to string for consistent comparison with session.user.id+ const uid = String(await kv.hget(`chat:${id}`, 'userId'))++ if (uid !== session?.user?.id) {+ return {+ error: 'Unauthorized'+ }+ }++ await kv.del(`chat:${id}`)+ await kv.zrem(`user:chat:${session.user.id}`, `chat:${id}`)++ revalidatePath('/')+ return revalidatePath(path)+}++export async function clearChats() {+ const session = await auth()++ if (!session?.user?.id) {+ return {+ error: 'Unauthorized'+ }+ }++ const chats: string[] = await kv.zrange(`user:chat:${session.user.id}`, 0, -1)+ if (!chats.length) {+ return redirect('/')+ }+ const pipeline = kv.pipeline()++ for (const chat of chats) {+ pipeline.del(chat)+ pipeline.zrem(`user:chat:${session.user.id}`, chat)+ }++ await pipeline.exec()++ revalidatePath('/')+ return redirect('/')+}++export async function getSharedChat(id: string) {+ const chat = await kv.hgetall<Chat>(`chat:${id}`)++ if (!chat || !chat.sharePath) {+ return null+ }++ return chat+}++export async function shareChat(id: string) {+ const session = await auth()++ if (!session?.user?.id) {+ return {+ error: 'Unauthorized'+ }+ }++ const chat = await kv.hgetall<Chat>(`chat:${id}`)++ if (!chat || chat.userId !== session.user.id) {+ return {+ error: 'Something went wrong'+ }+ }++ const payload = {+ ...chat,+ sharePath: `/share/${chat.id}`+ }++ await kv.hmset(`chat:${chat.id}`, payload)++ return payload+}++export async function saveChat(chat: Chat) {+ const session = await auth()++ if (session && session.user) {+ const pipeline = kv.pipeline()+ pipeline.hmset(`chat:${chat.id}`, chat)+ pipeline.zadd(`user:chat:${chat.userId}`, {+ score: Date.now(),+ member: `chat:${chat.id}`+ })+ await pipeline.exec()+ } else {+ return+ }+}++export async function refreshHistory(path: string) {+ redirect(path)+}++export async function getMissingKeys() {+ const keysRequired = ['OPENAI_API_KEY']+ return keysRequired+ .map(key => (process.env[key] ? '' : key))+ .filter(key => key !== '')+}diff --git a/examples/ts/vercel-ai-chatbot/app/globals.css b/examples/ts/vercel-ai-chatbot/app/globals.cssnew file mode 100644index 000000000..0b46ea13c--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/app/globals.css@@ -0,0 +1,76 @@+@tailwind base;+@tailwind components;+@tailwind utilities;++@layer base {+ :root {+ --background: 0 0% 100%;+ --foreground: 240 10% 3.9%;++ --card: 0 0% 100%;+ --card-foreground: 240 10% 3.9%;++ --popover: 0 0% 100%;+ --popover-foreground: 240 10% 3.9%;++ --primary: 240 5.9% 10%;+ --primary-foreground: 0 0% 98%;++ --secondary: 240 4.8% 95.9%;+ --secondary-foreground: 240 5.9% 10%;++ --muted: 240 4.8% 95.9%;+ --muted-foreground: 240 3.8% 46.1%;++ --accent: 240 4.8% 95.9%;+ --accent-foreground: 240 5.9% 10%;++ --destructive: 0 84.2% 60.2%;+ --destructive-foreground: 0 0% 98%;++ --border: 240 5.9% 90%;+ --input: 240 5.9% 90%;+ --ring: 240 10% 3.9%;++ --radius: 0.5rem;+ }++ .dark {+ --background: 240 10% 3.9%;+ --foreground: 0 0% 98%;++ --card: 240 10% 3.9%;+ --card-foreground: 0 0% 98%;++ --popover: 240 10% 3.9%;+ --popover-foreground: 0 0% 98%;++ --primary: 0 0% 98%;+ --primary-foreground: 240 5.9% 10%;++ --secondary: 240 3.7% 15.9%;+ --secondary-foreground: 0 0% 98%;++ --muted: 240 3.7% 15.9%;+ --muted-foreground: 240 5% 64.9%;++ --accent: 240 3.7% 15.9%;+ --accent-foreground: 0 0% 98%;++ --destructive: 0 62.8% 30.6%;+ --destructive-foreground: 0 0% 98%;++ --border: 240 3.7% 15.9%;+ --input: 240 3.7% 15.9%;+ --ring: 240 4.9% 83.9%;+ }+}++@layer base {+ * {+ @apply border-border;+ }+ body {+ @apply bg-background text-foreground;+ }+}\ No newline at end of filediff --git a/examples/ts/vercel-ai-chatbot/app/layout.tsx b/examples/ts/vercel-ai-chatbot/app/layout.tsxnew file mode 100644index 000000000..a32b2230f--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/app/layout.tsx@@ -0,0 +1,64 @@+import { GeistSans } from 'geist/font/sans'+import { GeistMono } from 'geist/font/mono'++import '@/app/globals.css'+import { cn } from '@/lib/utils'+import { TailwindIndicator } from '@/components/tailwind-indicator'+import { Providers } from '@/components/providers'+import { Header } from '@/components/header'+import { Toaster } from '@/components/ui/sonner'++export const metadata = {+ metadataBase: process.env.VERCEL_URL+ ? new URL(`https://${process.env.VERCEL_URL}`)+ : undefined,+ title: {+ default: 'Next.js AI Chatbot',+ template: `%s - Next.js AI Chatbot`+ },+ description: 'An AI-powered chatbot template built with Next.js and Vercel.',+ icons: {+ icon: '/favicon.ico',+ shortcut: '/favicon-16x16.png',+ apple: '/apple-touch-icon.png'+ }+}++export const viewport = {+ themeColor: [+ { media: '(prefers-color-scheme: light)', color: 'white' },+ { media: '(prefers-color-scheme: dark)', color: 'black' }+ ]+}++interface RootLayoutProps {+ children: React.ReactNode+}++export default function RootLayout({ children }: RootLayoutProps) {+ return (+ <html lang="en" suppressHydrationWarning>+ <body+ className={cn(+ 'font-sans antialiased',+ GeistSans.variable,+ GeistMono.variable+ )}+ >+ <Toaster position="top-center" />+ <Providers+ attribute="class"+ defaultTheme="system"+ enableSystem+ disableTransitionOnChange+ >+ <div className="flex flex-col min-h-screen">+ <Header />+ <main className="flex flex-col flex-1 bg-muted/50">{children}</main>+ </div>+ <TailwindIndicator />+ </Providers>+ </body>+ </html>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/app/login/actions.ts b/examples/ts/vercel-ai-chatbot/app/login/actions.tsnew file mode 100644index 000000000..f23e22022--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/app/login/actions.ts@@ -0,0 +1,71 @@+'use server'++import { signIn } from '@/auth'+import { User } from '@/lib/types'+import { AuthError } from 'next-auth'+import { z } from 'zod'+import { kv } from '@vercel/kv'+import { ResultCode } from '@/lib/utils'++export async function getUser(email: string) {+ const user = await kv.hgetall<User>(`user:${email}`)+ return user+}++interface Result {+ type: string+ resultCode: ResultCode+}++export async function authenticate(+ _prevState: Result | undefined,+ formData: FormData+): Promise<Result | undefined> {+ try {+ const email = formData.get('email')+ const password = formData.get('password')++ const parsedCredentials = z+ .object({+ email: z.string().email(),+ password: z.string().min(6)+ })+ .safeParse({+ email,+ password+ })++ if (parsedCredentials.success) {+ await signIn('credentials', {+ email,+ password,+ redirect: false+ })++ return {+ type: 'success',+ resultCode: ResultCode.UserLoggedIn+ }+ } else {+ return {+ type: 'error',+ resultCode: ResultCode.InvalidCredentials+ }+ }+ } catch (error) {+ if (error instanceof AuthError) {+ switch (error.type) {+ case 'CredentialsSignin':+ return {+ type: 'error',+ resultCode: ResultCode.InvalidCredentials+ }+ default:+ return {+ type: 'error',+ resultCode: ResultCode.UnknownError+ }+ }+ }+ }+}diff --git a/examples/ts/vercel-ai-chatbot/app/login/page.tsx b/examples/ts/vercel-ai-chatbot/app/login/page.tsxnew file mode 100644index 000000000..1fba27bea--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/app/login/page.tsx@@ -0,0 +1,18 @@+import { auth } from '@/auth'+import LoginForm from '@/components/login-form'+import { Session } from '@/lib/types'+import { redirect } from 'next/navigation'++export default async function LoginPage() {+ const session = (await auth()) as Session++ if (session) {+ redirect('/')+ }++ return (+ <main className="flex flex-col p-4">+ <LoginForm />+ </main>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/app/new/page.tsx b/examples/ts/vercel-ai-chatbot/app/new/page.tsxnew file mode 100644index 000000000..d23589481--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/app/new/page.tsx@@ -0,0 +1,5 @@+import { redirect } from 'next/navigation'++export default async function NewPage() {+ redirect('/')+}diff --git a/examples/ts/vercel-ai-chatbot/app/opengraph-image.png b/examples/ts/vercel-ai-chatbot/app/opengraph-image.pngnew file mode 100644index 000000000..278b197efBinary files /dev/null and b/examples/ts/vercel-ai-chatbot/app/opengraph-image.png differdiff --git a/examples/ts/vercel-ai-chatbot/app/share/[id]/page.tsx b/examples/ts/vercel-ai-chatbot/app/share/[id]/page.tsxnew file mode 100644index 000000000..d80f0c842--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/app/share/[id]/page.tsx@@ -0,0 +1,58 @@+import { type Metadata } from 'next'+import { notFound, redirect } from 'next/navigation'++import { formatDate } from '@/lib/utils'+import { getSharedChat } from '@/app/actions'+import { ChatList } from '@/components/chat-list'+import { FooterText } from '@/components/footer'+import { AI, UIState, getUIStateFromAIState } from '@/lib/chat/actions'++export const runtime = 'edge'+export const preferredRegion = 'home'++interface SharePageProps {+ params: {+ id: string+ }+}++export async function generateMetadata({+ params+}: SharePageProps): Promise<Metadata> {+ const chat = await getSharedChat(params.id)++ return {+ title: chat?.title.slice(0, 50) ?? 'Chat'+ }+}++export default async function SharePage({ params }: SharePageProps) {+ const chat = await getSharedChat(params.id)++ if (!chat || !chat?.sharePath) {+ notFound()+ }++ const uiState: UIState = getUIStateFromAIState(chat)++ return (+ <>+ <div className="flex-1 space-y-6">+ <div className="border-b bg-background px-4 py-6 md:px-6 md:py-8">+ <div className="mx-auto max-w-2xl">+ <div className="space-y-1 md:-mx-8">+ <h1 className="text-2xl font-bold">{chat.title}</h1>+ <div className="text-sm text-muted-foreground">+ {formatDate(chat.createdAt)} · {chat.messages.length} messages+ </div>+ </div>+ </div>+ </div>+ <AI>+ <ChatList messages={uiState} isShared={true} />+ </AI>+ </div>+ <FooterText className="py-8" />+ </>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/app/signup/actions.ts b/examples/ts/vercel-ai-chatbot/app/signup/actions.tsnew file mode 100644index 000000000..492586ae4--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/app/signup/actions.ts@@ -0,0 +1,111 @@+'use server'++import { signIn } from '@/auth'+import { ResultCode, getStringFromBuffer } from '@/lib/utils'+import { z } from 'zod'+import { kv } from '@vercel/kv'+import { getUser } from '../login/actions'+import { AuthError } from 'next-auth'++export async function createUser(+ email: string,+ hashedPassword: string,+ salt: string+) {+ const existingUser = await getUser(email)++ if (existingUser) {+ return {+ type: 'error',+ resultCode: ResultCode.UserAlreadyExists+ }+ } else {+ const user = {+ id: crypto.randomUUID(),+ email,+ password: hashedPassword,+ salt+ }++ await kv.hmset(`user:${email}`, user)++ return {+ type: 'success',+ resultCode: ResultCode.UserCreated+ }+ }+}++interface Result {+ type: string+ resultCode: ResultCode+}++export async function signup(+ _prevState: Result | undefined,+ formData: FormData+): Promise<Result | undefined> {+ const email = formData.get('email') as string+ const password = formData.get('password') as string++ const parsedCredentials = z+ .object({+ email: z.string().email(),+ password: z.string().min(6)+ })+ .safeParse({+ email,+ password+ })++ if (parsedCredentials.success) {+ const salt = crypto.randomUUID()++ const encoder = new TextEncoder()+ const saltedPassword = encoder.encode(password + salt)+ const hashedPasswordBuffer = await crypto.subtle.digest(+ 'SHA-256',+ saltedPassword+ )+ const hashedPassword = getStringFromBuffer(hashedPasswordBuffer)++ try {+ const result = await createUser(email, hashedPassword, salt)++ if (result.resultCode === ResultCode.UserCreated) {+ await signIn('credentials', {+ email,+ password,+ redirect: false+ })+ }++ return result+ } catch (error) {+ if (error instanceof AuthError) {+ switch (error.type) {+ case 'CredentialsSignin':+ return {+ type: 'error',+ resultCode: ResultCode.InvalidCredentials+ }+ default:+ return {+ type: 'error',+ resultCode: ResultCode.UnknownError+ }+ }+ } else {+ return {+ type: 'error',+ resultCode: ResultCode.UnknownError+ }+ }+ }+ } else {+ return {+ type: 'error',+ resultCode: ResultCode.InvalidCredentials+ }+ }+}diff --git a/examples/ts/vercel-ai-chatbot/app/signup/page.tsx b/examples/ts/vercel-ai-chatbot/app/signup/page.tsxnew file mode 100644index 000000000..dbac96428--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/app/signup/page.tsx@@ -0,0 +1,18 @@+import { auth } from '@/auth'+import SignupForm from '@/components/signup-form'+import { Session } from '@/lib/types'+import { redirect } from 'next/navigation'++export default async function SignupPage() {+ const session = (await auth()) as Session++ if (session) {+ redirect('/')+ }++ return (+ <main className="flex flex-col p-4">+ <SignupForm />+ </main>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/app/twitter-image.png b/examples/ts/vercel-ai-chatbot/app/twitter-image.pngnew file mode 100644index 000000000..278b197efBinary files /dev/null and b/examples/ts/vercel-ai-chatbot/app/twitter-image.png differdiff --git a/examples/ts/vercel-ai-chatbot/auth.config.ts b/examples/ts/vercel-ai-chatbot/auth.config.tsnew file mode 100644index 000000000..6e74c18bb--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/auth.config.ts@@ -0,0 +1,42 @@+import type { NextAuthConfig } from 'next-auth'++export const authConfig = {+ secret: process.env.AUTH_SECRET,+ pages: {+ signIn: '/login',+ newUser: '/signup'+ },+ callbacks: {+ async authorized({ auth, request: { nextUrl } }) {+ const isLoggedIn = !!auth?.user+ const isOnLoginPage = nextUrl.pathname.startsWith('/login')+ const isOnSignupPage = nextUrl.pathname.startsWith('/signup')++ if (isLoggedIn) {+ if (isOnLoginPage || isOnSignupPage) {+ return Response.redirect(new URL('/', nextUrl))+ }+ }++ return true+ },+ async jwt({ token, user }) {+ if (user) {+ token = { ...token, id: user.id }+ }++ return token+ },+ async session({ session, token }) {+ if (token) {+ const { id } = token as { id: string }+ const { user } = session++ session = { ...session, user: { ...user, id } }+ }++ return session+ }+ },+ providers: []+} satisfies NextAuthConfigdiff --git a/examples/ts/vercel-ai-chatbot/auth.ts b/examples/ts/vercel-ai-chatbot/auth.tsnew file mode 100644index 000000000..7542992bd--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/auth.ts@@ -0,0 +1,45 @@+import NextAuth from 'next-auth'+import Credentials from 'next-auth/providers/credentials'+import { authConfig } from './auth.config'+import { z } from 'zod'+import { getStringFromBuffer } from './lib/utils'+import { getUser } from './app/login/actions'++export const { auth, signIn, signOut } = NextAuth({+ ...authConfig,+ providers: [+ Credentials({+ async authorize(credentials) {+ const parsedCredentials = z+ .object({+ email: z.string().email(),+ password: z.string().min(6)+ })+ .safeParse(credentials)++ if (parsedCredentials.success) {+ const { email, password } = parsedCredentials.data+ const user = await getUser(email)++ if (!user) return null++ const encoder = new TextEncoder()+ const saltedPassword = encoder.encode(password + user.salt)+ const hashedPasswordBuffer = await crypto.subtle.digest(+ 'SHA-256',+ saltedPassword+ )+ const hashedPassword = getStringFromBuffer(hashedPasswordBuffer)++ if (hashedPassword === user.password) {+ return user+ } else {+ return null+ }+ }++ return null+ }+ })+ ]+})diff --git a/examples/ts/vercel-ai-chatbot/components.json b/examples/ts/vercel-ai-chatbot/components.jsonnew file mode 100644index 000000000..58b812d03--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components.json@@ -0,0 +1,17 @@+{+ "$schema": "https://ui.shadcn.com/schema.json",+ "style": "new-york",+ "rsc": true,+ "tsx": true,+ "tailwind": {+ "config": "tailwind.config.ts",+ "css": "app/globals.css",+ "baseColor": "zinc",+ "cssVariables": true,+ "prefix": ""+ },+ "aliases": {+ "components": "@/components",+ "utils": "@/lib/utils"+ }+}\ No newline at end of filediff --git a/examples/ts/vercel-ai-chatbot/components/button-scroll-to-bottom.tsx b/examples/ts/vercel-ai-chatbot/components/button-scroll-to-bottom.tsxnew file mode 100644index 000000000..3988e73b3--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/button-scroll-to-bottom.tsx@@ -0,0 +1,36 @@+'use client'++import * as React from 'react'++import { cn } from '@/lib/utils'+import { Button, type ButtonProps } from '@/components/ui/button'+import { IconArrowDown } from '@/components/ui/icons'++interface ButtonScrollToBottomProps extends ButtonProps {+ isAtBottom: boolean+ scrollToBottom: () => void+}++export function ButtonScrollToBottom({+ className,+ isAtBottom,+ scrollToBottom,+ ...props+}: ButtonScrollToBottomProps) {+ return (+ <Button+ variant="outline"+ size="icon"+ className={cn(+ 'absolute right-4 top-1 z-10 bg-background transition-opacity duration-300 sm:right-8 md:top-2',+ isAtBottom ? 'opacity-0' : 'opacity-100',+ className+ )}+ onClick={() => scrollToBottom()}+ {...props}+ >+ <IconArrowDown />+ <span className="sr-only">Scroll to bottom</span>+ </Button>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/components/chat-history.tsx b/examples/ts/vercel-ai-chatbot/components/chat-history.tsxnew file mode 100644index 000000000..88b6ff440--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/chat-history.tsx@@ -0,0 +1,49 @@+import * as React from 'react'++import Link from 'next/link'++import { cn } from '@/lib/utils'+import { SidebarList } from '@/components/sidebar-list'+import { buttonVariants } from '@/components/ui/button'+import { IconPlus } from '@/components/ui/icons'++interface ChatHistoryProps {+ userId?: string+}++export async function ChatHistory({ userId }: ChatHistoryProps) {+ return (+ <div className="flex flex-col h-full">+ <div className="flex items-center justify-between p-4">+ <h4 className="text-sm font-medium">Chat History</h4>+ </div>+ <div className="mb-2 px-2">+ <Link+ href="/"+ className={cn(+ buttonVariants({ variant: 'outline' }),+ 'h-10 w-full justify-start bg-zinc-50 px-4 shadow-none transition-colors hover:bg-zinc-200/40 dark:bg-zinc-900 dark:hover:bg-zinc-300/10'+ )}+ >+ <IconPlus className="-translate-x-2 stroke-2" />+ New Chat+ </Link>+ </div>+ <React.Suspense+ fallback={+ <div className="flex flex-col flex-1 px-4 space-y-4 overflow-auto">+ {Array.from({ length: 10 }).map((_, i) => (+ <div+ key={i}+ className="w-full h-6 rounded-md shrink-0 animate-pulse bg-zinc-200 dark:bg-zinc-800"+ />+ ))}+ </div>+ }+ >+ {/* @ts-ignore */}+ <SidebarList userId={userId} />+ </React.Suspense>+ </div>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/components/chat-list.tsx b/examples/ts/vercel-ai-chatbot/components/chat-list.tsxnew file mode 100644index 000000000..80821a1ea--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/chat-list.tsx@@ -0,0 +1,52 @@+import { Separator } from '@/components/ui/separator'+import { UIState } from '@/lib/chat/actions'+import { Session } from '@/lib/types'+import Link from 'next/link'+import { ExclamationTriangleIcon } from '@radix-ui/react-icons'++export interface ChatList {+ messages: UIState+ session?: Session+ isShared: boolean+}++export function ChatList({ messages, session, isShared }: ChatList) {+ if (!messages.length) {+ return null+ }++ return (+ <div className="relative mx-auto max-w-2xl px-4">+ {!isShared && !session ? (+ <>+ <div className="group relative mb-4 flex items-start md:-ml-12">+ <div className="bg-background flex size-[25px] shrink-0 select-none items-center justify-center rounded-md border shadow-sm">+ <ExclamationTriangleIcon />+ </div>+ <div className="ml-4 flex-1 space-y-2 overflow-hidden px-1">+ <p className="text-muted-foreground leading-normal">+ Please{' '}+ <Link href="/login" className="underline">+ log in+ </Link>{' '}+ or{' '}+ <Link href="/signup" className="underline">+ sign up+ </Link>{' '}+ to save and revisit your chat history!+ </p>+ </div>+ </div>+ <Separator className="my-4" />+ </>+ ) : null}++ {messages.map((message, index) => (+ <div key={message.id}>+ {message.display}+ {index < messages.length - 1 && <Separator className="my-4" />}+ </div>+ ))}+ </div>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/components/chat-message-actions.tsx b/examples/ts/vercel-ai-chatbot/components/chat-message-actions.tsxnew file mode 100644index 000000000..d4e4b40a4--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/chat-message-actions.tsx@@ -0,0 +1,40 @@+'use client'++import { type Message } from 'ai'++import { Button } from '@/components/ui/button'+import { IconCheck, IconCopy } from '@/components/ui/icons'+import { useCopyToClipboard } from '@/lib/hooks/use-copy-to-clipboard'+import { cn } from '@/lib/utils'++interface ChatMessageActionsProps extends React.ComponentProps<'div'> {+ message: Message+}++export function ChatMessageActions({+ message,+ className,+ ...props+}: ChatMessageActionsProps) {+ const { isCopied, copyToClipboard } = useCopyToClipboard({ timeout: 2000 })++ const onCopy = () => {+ if (isCopied) return+ copyToClipboard(message.content)+ }++ return (+ <div+ className={cn(+ 'flex items-center justify-end transition-opacity group-hover:opacity-100 md:absolute md:-right-10 md:-top-2 md:opacity-0',+ className+ )}+ {...props}+ >+ <Button variant="ghost" size="icon" onClick={onCopy}>+ {isCopied ? <IconCheck /> : <IconCopy />}+ <span className="sr-only">Copy message</span>+ </Button>+ </div>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/components/chat-message.tsx b/examples/ts/vercel-ai-chatbot/components/chat-message.tsxnew file mode 100644index 000000000..32ecd7841--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/chat-message.tsx@@ -0,0 +1,80 @@+// Inspired by Chatbot-UI and modified to fit the needs of this project+// @see https://github.com/mckaywrigley/chatbot-ui/blob/main/components/Chat/ChatMessage.tsx++import { Message } from 'ai'+import remarkGfm from 'remark-gfm'+import remarkMath from 'remark-math'++import { cn } from '@/lib/utils'+import { CodeBlock } from '@/components/ui/codeblock'+import { MemoizedReactMarkdown } from '@/components/markdown'+import { IconOpenAI, IconUser } from '@/components/ui/icons'+import { ChatMessageActions } from '@/components/chat-message-actions'++export interface ChatMessageProps {+ message: Message+}++export function ChatMessage({ message, ...props }: ChatMessageProps) {+ return (+ <div+ className={cn('group relative mb-4 flex items-start md:-ml-12')}+ {...props}+ >+ <div+ className={cn(+ 'flex size-8 shrink-0 select-none items-center justify-center rounded-md border shadow',+ message.role === 'user'+ ? 'bg-background'+ : 'bg-primary text-primary-foreground'+ )}+ >+ {message.role === 'user' ? <IconUser /> : <IconOpenAI />}+ </div>+ <div className="flex-1 px-1 ml-4 space-y-2 overflow-hidden">+ <MemoizedReactMarkdown+ className="prose break-words dark:prose-invert prose-p:leading-relaxed prose-pre:p-0"+ remarkPlugins={[remarkGfm, remarkMath]}+ components={{+ p({ children }) {+ return <p className="mb-2 last:mb-0">{children}</p>+ },+ code({ node, inline, className, children, ...props }) {+ if (children.length) {+ if (children[0] == '▍') {+ return (+ <span className="mt-1 cursor-default animate-pulse">▍</span>+ )+ }++ children[0] = (children[0] as string).replace('`▍`', '▍')+ }++ const match = /language-(\w+)/.exec(className || '')++ if (inline) {+ return (+ <code className={className} {...props}>+ {children}+ </code>+ )+ }++ return (+ <CodeBlock+ key={Math.random()}+ language={(match && match[1]) || ''}+ value={String(children).replace(/\n$/, '')}+ {...props}+ />+ )+ }+ }}+ >+ {message.content}+ </MemoizedReactMarkdown>+ <ChatMessageActions message={message} />+ </div>+ </div>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/components/chat-panel.tsx b/examples/ts/vercel-ai-chatbot/components/chat-panel.tsxnew file mode 100644index 000000000..48df7a760--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/chat-panel.tsx@@ -0,0 +1,139 @@+import * as React from 'react'++import { shareChat } from '@/app/actions'+import { Button } from '@/components/ui/button'+import { PromptForm } from '@/components/prompt-form'+import { ButtonScrollToBottom } from '@/components/button-scroll-to-bottom'+import { IconShare } from '@/components/ui/icons'+import { FooterText } from '@/components/footer'+import { ChatShareDialog } from '@/components/chat-share-dialog'+import { useAIState, useActions, useUIState } from 'ai/rsc'+import type { AI } from '@/lib/chat/actions'+import { nanoid } from 'nanoid'+import { UserMessage } from './stocks/message'++export interface ChatPanelProps {+ id?: string+ title?: string+ input: string+ setInput: (value: string) => void+ isAtBottom: boolean+ scrollToBottom: () => void+}++export function ChatPanel({+ id,+ title,+ input,+ setInput,+ isAtBottom,+ scrollToBottom+}: ChatPanelProps) {+ const [aiState] = useAIState()+ const [messages, setMessages] = useUIState<typeof AI>()+ const { submitUserMessage } = useActions()+ const [shareDialogOpen, setShareDialogOpen] = React.useState(false)++ const exampleMessages = [+ {+ heading: 'What are the',+ subheading: 'trending memecoins today?',+ message: `What are the trending memecoins today?`+ },+ {+ heading: 'What is the price of',+ subheading: '$DOGE right now?',+ message: 'What is the price of $DOGE right now?'+ },+ {+ heading: 'I would like to buy',+ subheading: '42 $DOGE',+ message: `I would like to buy 42 $DOGE`+ },+ {+ heading: 'What are some',+ subheading: `recent events about $DOGE?`,+ message: `What are some recent events about $DOGE?`+ }+ ]++ return (+ <div className="fixed inset-x-0 bottom-0 w-full bg-gradient-to-b from-muted/30 from-0% to-muted/30 to-50% duration-300 ease-in-out animate-in dark:from-background/10 dark:from-10% dark:to-background/80 peer-[[data-state=open]]:group-[]:lg:pl-[250px] peer-[[data-state=open]]:group-[]:xl:pl-[300px]">+ <ButtonScrollToBottom+ isAtBottom={isAtBottom}+ scrollToBottom={scrollToBottom}+ />++ <div className="mx-auto sm:max-w-2xl sm:px-4">+ <div className="mb-4 grid grid-cols-2 gap-2 px-4 sm:px-0">+ {messages.length === 0 &&+ exampleMessages.map((example, index) => (+ <div+ key={example.heading}+ className={`cursor-pointer rounded-lg border bg-white p-4 hover:bg-zinc-50 dark:bg-zinc-950 dark:hover:bg-zinc-900 ${+ index > 1 && 'hidden md:block'+ }`}+ onClick={async () => {+ setMessages(currentMessages => [+ ...currentMessages,+ {+ id: nanoid(),+ display: <UserMessage>{example.message}</UserMessage>+ }+ ])++ const responseMessage = await submitUserMessage(+ example.message+ )++ setMessages(currentMessages => [+ ...currentMessages,+ responseMessage+ ])+ }}+ >+ <div className="text-sm font-semibold">{example.heading}</div>+ <div className="text-sm text-zinc-600">+ {example.subheading}+ </div>+ </div>+ ))}+ </div>++ {messages?.length >= 2 ? (+ <div className="flex h-12 items-center justify-center">+ <div className="flex space-x-2">+ {id && title ? (+ <>+ <Button+ variant="outline"+ onClick={() => setShareDialogOpen(true)}+ >+ <IconShare className="mr-2" />+ Share+ </Button>+ <ChatShareDialog+ open={shareDialogOpen}+ onOpenChange={setShareDialogOpen}+ onCopy={() => setShareDialogOpen(false)}+ shareChat={shareChat}+ chat={{+ id,+ title,+ messages: aiState.messages+ }}+ />+ </>+ ) : null}+ </div>+ </div>+ ) : null}++ <div className="space-y-4 border-t bg-background px-4 py-2 shadow-lg sm:rounded-t-xl sm:border md:py-4">+ <PromptForm input={input} setInput={setInput} />+ <FooterText className="hidden sm:block" />+ </div>+ </div>+ </div>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/components/chat-share-dialog.tsx b/examples/ts/vercel-ai-chatbot/components/chat-share-dialog.tsxnew file mode 100644index 000000000..2e5f8e27b--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/chat-share-dialog.tsx@@ -0,0 +1,95 @@+'use client'++import * as React from 'react'+import { type DialogProps } from '@radix-ui/react-dialog'+import { toast } from 'sonner'++import { ServerActionResult, type Chat } from '@/lib/types'+import { Button } from '@/components/ui/button'+import {+ Dialog,+ DialogContent,+ DialogDescription,+ DialogFooter,+ DialogHeader,+ DialogTitle+} from '@/components/ui/dialog'+import { IconSpinner } from '@/components/ui/icons'+import { useCopyToClipboard } from '@/lib/hooks/use-copy-to-clipboard'++interface ChatShareDialogProps extends DialogProps {+ chat: Pick<Chat, 'id' | 'title' | 'messages'>+ shareChat: (id: string) => ServerActionResult<Chat>+ onCopy: () => void+}++export function ChatShareDialog({+ chat,+ shareChat,+ onCopy,+ ...props+}: ChatShareDialogProps) {+ const { copyToClipboard } = useCopyToClipboard({ timeout: 1000 })+ const [isSharePending, startShareTransition] = React.useTransition()++ const copyShareLink = React.useCallback(+ async (chat: Chat) => {+ if (!chat.sharePath) {+ return toast.error('Could not copy share link to clipboard')+ }++ const url = new URL(window.location.href)+ url.pathname = chat.sharePath+ copyToClipboard(url.toString())+ onCopy()+ toast.success('Share link copied to clipboard')+ },+ [copyToClipboard, onCopy]+ )++ return (+ <Dialog {...props}>+ <DialogContent>+ <DialogHeader>+ <DialogTitle>Share link to chat</DialogTitle>+ <DialogDescription>+ Anyone with the URL will be able to view the shared chat.+ </DialogDescription>+ </DialogHeader>+ <div className="p-4 space-y-1 text-sm border rounded-md">+ <div className="font-medium">{chat.title}</div>+ <div className="text-muted-foreground">+ {chat.messages.length} messages+ </div>+ </div>+ <DialogFooter className="items-center">+ <Button+ disabled={isSharePending}+ onClick={() => {+ // @ts-ignore+ startShareTransition(async () => {+ const result = await shareChat(chat.id)++ if (result && 'error' in result) {+ toast.error(result.error)+ return+ }++ copyShareLink(result)+ })+ }}+ >+ {isSharePending ? (+ <>+ <IconSpinner className="mr-2 animate-spin" />+ Copying...+ </>+ ) : (+ <>Copy link</>+ )}+ </Button>+ </DialogFooter>+ </DialogContent>+ </Dialog>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/components/chat.tsx b/examples/ts/vercel-ai-chatbot/components/chat.tsxnew file mode 100644index 000000000..c43d42a11--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/chat.tsx@@ -0,0 +1,84 @@+'use client'++import { cn } from '@/lib/utils'+import { ChatList } from '@/components/chat-list'+import { ChatPanel } from '@/components/chat-panel'+import { EmptyScreen } from '@/components/empty-screen'+import { useLocalStorage } from '@/lib/hooks/use-local-storage'+import { useEffect, useState } from 'react'+import { useUIState, useAIState } from 'ai/rsc'+import { Message, Session } from '@/lib/types'+import { usePathname, useRouter } from 'next/navigation'+import { useScrollAnchor } from '@/lib/hooks/use-scroll-anchor'+import { toast } from 'sonner'++export interface ChatProps extends React.ComponentProps<'div'> {+ initialMessages?: Message[]+ id?: string+ session?: Session+ missingKeys: string[]+}++export function Chat({ id, className, session, missingKeys }: ChatProps) {+ const router = useRouter()+ const path = usePathname()+ const [input, setInput] = useState('')+ const [messages] = useUIState()+ const [aiState] = useAIState()++ const [_, setNewChatId] = useLocalStorage('newChatId', id)++ useEffect(() => {+ if (session?.user) {+ if (!path.includes('chat') && messages.length === 1) {+ window.history.replaceState({}, '', `/chat/${id}`)+ }+ }+ }, [id, path, session?.user, messages])++ useEffect(() => {+ const messagesLength = aiState.messages?.length+ if (messagesLength === 2) {+ router.refresh()+ }+ }, [aiState.messages, router])++ useEffect(() => {+ setNewChatId(id)+ })++ useEffect(() => {+ missingKeys.map(key => {+ toast.error(`Missing ${key} environment variable!`)+ })+ }, [missingKeys])++ const { messagesRef, scrollRef, visibilityRef, isAtBottom, scrollToBottom } =+ useScrollAnchor()++ return (+ <div+ className="group w-full overflow-auto pl-0 peer-[[data-state=open]]:lg:pl-[250px] peer-[[data-state=open]]:xl:pl-[300px]"+ ref={scrollRef}+ >+ <div+ className={cn('pb-[200px] pt-4 md:pt-10', className)}+ ref={messagesRef}+ >+ {messages.length ? (+ <ChatList messages={messages} isShared={false} session={session} />+ ) : (+ <EmptyScreen />+ )}+ <div className="w-full h-px" ref={visibilityRef} />+ </div>+ <ChatPanel+ id={id}+ input={input}+ setInput={setInput}+ isAtBottom={isAtBottom}+ scrollToBottom={scrollToBottom}+ />+ </div>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/components/clear-history.tsx b/examples/ts/vercel-ai-chatbot/components/clear-history.tsxnew file mode 100644index 000000000..69cf70ec3--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/clear-history.tsx@@ -0,0 +1,75 @@+'use client'++import * as React from 'react'+import { useRouter } from 'next/navigation'+import { toast } from 'sonner'++import { ServerActionResult } from '@/lib/types'+import { Button } from '@/components/ui/button'+import {+ AlertDialog,+ AlertDialogAction,+ AlertDialogCancel,+ AlertDialogContent,+ AlertDialogDescription,+ AlertDialogFooter,+ AlertDialogHeader,+ AlertDialogTitle,+ AlertDialogTrigger+} from '@/components/ui/alert-dialog'+import { IconSpinner } from '@/components/ui/icons'++interface ClearHistoryProps {+ isEnabled: boolean+ clearChats: () => ServerActionResult<void>+}++export function ClearHistory({+ isEnabled = false,+ clearChats+}: ClearHistoryProps) {+ const [open, setOpen] = React.useState(false)+ const [isPending, startTransition] = React.useTransition()+ const router = useRouter()++ return (+ <AlertDialog open={open} onOpenChange={setOpen}>+ <AlertDialogTrigger asChild>+ <Button variant="ghost" disabled={!isEnabled || isPending}>+ {isPending && <IconSpinner className="mr-2" />}+ Clear history+ </Button>+ </AlertDialogTrigger>+ <AlertDialogContent>+ <AlertDialogHeader>+ <AlertDialogTitle>Are you absolutely sure?</AlertDialogTitle>+ <AlertDialogDescription>+ This will permanently delete your chat history and remove your data+ from our servers.+ </AlertDialogDescription>+ </AlertDialogHeader>+ <AlertDialogFooter>+ <AlertDialogCancel disabled={isPending}>Cancel</AlertDialogCancel>+ <AlertDialogAction+ disabled={isPending}+ onClick={event => {+ event.preventDefault()+ startTransition(async () => {+ const result = await clearChats()+ if (result && 'error' in result) {+ toast.error(result.error)+ return+ }++ setOpen(false)+ })+ }}+ >+ {isPending && <IconSpinner className="mr-2 animate-spin" />}+ Delete+ </AlertDialogAction>+ </AlertDialogFooter>+ </AlertDialogContent>+ </AlertDialog>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/components/empty-screen.tsx b/examples/ts/vercel-ai-chatbot/components/empty-screen.tsxnew file mode 100644index 000000000..1bdbd5957--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/empty-screen.tsx@@ -0,0 +1,38 @@+import { UseChatHelpers } from 'ai/react'++import { Button } from '@/components/ui/button'+import { ExternalLink } from '@/components/external-link'+import { IconArrowRight } from '@/components/ui/icons'++export function EmptyScreen() {+ return (+ <div className="mx-auto max-w-2xl px-4">+ <div className="flex flex-col gap-2 rounded-lg border bg-background p-8">+ <h1 className="text-lg font-semibold">+ Welcome to Next.js AI Chatbot!+ </h1>+ <p className="leading-normal text-muted-foreground">+ This is an open source AI chatbot app template built with{' '}+ <ExternalLink href="https://nextjs.org">Next.js</ExternalLink>, the{' '}+ <ExternalLink href="https://sdk.vercel.ai">+ Vercel AI SDK+ </ExternalLink>+ , and{' '}+ <ExternalLink href="https://vercel.com/storage/kv">+ Vercel KV+ </ExternalLink>+ .+ </p>+ <p className="leading-normal text-muted-foreground">+ It uses{' '}+ <ExternalLink href="https://vercel.com/blog/ai-sdk-3-generative-ui">+ React Server Components+ </ExternalLink>{' '}+ to combine text with generative UI as output of the LLM. The UI state+ is synced through the SDK so the model is aware of your interactions+ as they happen.+ </p>+ </div>+ </div>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/components/external-link.tsx b/examples/ts/vercel-ai-chatbot/components/external-link.tsxnew file mode 100644index 000000000..ba6cc0161--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/external-link.tsx@@ -0,0 +1,29 @@+export function ExternalLink({+ href,+ children+}: {+ href: string+ children: React.ReactNode+}) {+ return (+ <a+ href={href}+ target="_blank"+ className="inline-flex flex-1 justify-center gap-1 leading-4 hover:underline"+ >+ <span>{children}</span>+ <svg+ aria-hidden="true"+ height="7"+ viewBox="0 0 6 6"+ width="7"+ className="opacity-70"+ >+ <path+ d="M1.25215 5.54731L0.622742 4.9179L3.78169 1.75597H1.3834L1.38936 0.890915H5.27615V4.78069H4.40513L4.41109 2.38538L1.25215 5.54731Z"+ fill="currentColor"+ ></path>+ </svg>+ </a>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/components/footer.tsx b/examples/ts/vercel-ai-chatbot/components/footer.tsxnew file mode 100644index 000000000..5ed21579a--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/footer.tsx@@ -0,0 +1,23 @@+import React from 'react'++import { cn } from '@/lib/utils'+import { ExternalLink } from '@/components/external-link'++export function FooterText({ className, ...props }: React.ComponentProps<'p'>) {+ return (+ <p+ className={cn(+ 'px-2 text-center text-xs leading-normal text-muted-foreground',+ className+ )}+ {...props}+ >+ Open source AI chatbot built with{' '}+ <ExternalLink href="https://nextjs.org">Next.js</ExternalLink> and{' '}+ <ExternalLink href="https://github.com/vercel/ai">+ Vercel AI SDK+ </ExternalLink>+ .+ </p>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/components/header.tsx b/examples/ts/vercel-ai-chatbot/components/header.tsxnew file mode 100644index 000000000..3b41a04a4--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/header.tsx@@ -0,0 +1,80 @@+import * as React from 'react'+import Link from 'next/link'++import { cn } from '@/lib/utils'+import { auth } from '@/auth'+import { Button, buttonVariants } from '@/components/ui/button'+import {+ IconGitHub,+ IconNextChat,+ IconSeparator,+ IconVercel+} from '@/components/ui/icons'+import { UserMenu } from '@/components/user-menu'+import { SidebarMobile } from './sidebar-mobile'+import { SidebarToggle } from './sidebar-toggle'+import { ChatHistory } from './chat-history'+import { Session } from '@/lib/types'++async function UserOrLogin() {+ const session = (await auth()) as Session+ return (+ <>+ {session?.user ? (+ <>+ <SidebarMobile>+ <ChatHistory userId={session.user.id} />+ </SidebarMobile>+ <SidebarToggle />+ </>+ ) : (+ <Link href="/new" rel="nofollow">+ <IconNextChat className="size-6 mr-2 dark:hidden" inverted />+ <IconNextChat className="hidden size-6 mr-2 dark:block" />+ </Link>+ )}+ <div className="flex items-center">+ <IconSeparator className="size-6 text-muted-foreground/50" />+ {session?.user ? (+ <UserMenu user={session.user} />+ ) : (+ <Button variant="link" asChild className="-ml-2">+ <Link href="/login">Login</Link>+ </Button>+ )}+ </div>+ </>+ )+}++export function Header() {+ return (+ <header className="sticky top-0 z-50 flex items-center justify-between w-full h-16 px-4 border-b shrink-0 bg-gradient-to-b from-background/10 via-background/50 to-background/80 backdrop-blur-xl">+ <div className="flex items-center">+ <React.Suspense fallback={<div className="flex-1 overflow-auto" />}>+ <UserOrLogin />+ </React.Suspense>+ </div>+ <div className="flex items-center justify-end space-x-2">+ <a+ target="_blank"+ href="https://github.com/vercel/nextjs-ai-chatbot/"+ rel="noopener noreferrer"+ className={cn(buttonVariants({ variant: 'outline' }))}+ >+ <IconGitHub />+ <span className="hidden ml-2 md:flex">GitHub</span>+ </a>+ <a+ href="https://vercel.com/templates/Next.js/nextjs-ai-chatbot"+ target="_blank"+ className={cn(buttonVariants())}+ >+ <IconVercel className="mr-2" />+ <span className="hidden sm:block">Deploy to Vercel</span>+ <span className="sm:hidden">Deploy</span>+ </a>+ </div>+ </header>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/components/login-button.tsx b/examples/ts/vercel-ai-chatbot/components/login-button.tsxnew file mode 100644index 000000000..ae8f84274--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/login-button.tsx@@ -0,0 +1,42 @@+'use client'++import * as React from 'react'+import { signIn } from 'next-auth/react'++import { cn } from '@/lib/utils'+import { Button, type ButtonProps } from '@/components/ui/button'+import { IconGitHub, IconSpinner } from '@/components/ui/icons'++interface LoginButtonProps extends ButtonProps {+ showGithubIcon?: boolean+ text?: string+}++export function LoginButton({+ text = 'Login with GitHub',+ showGithubIcon = true,+ className,+ ...props+}: LoginButtonProps) {+ const [isLoading, setIsLoading] = React.useState(false)+ return (+ <Button+ variant="outline"+ onClick={() => {+ setIsLoading(true)+ // next-auth signIn() function doesn't work yet at Edge Runtime due to usage of BroadcastChannel+ signIn('github', { callbackUrl: `/` })+ }}+ disabled={isLoading}+ className={cn(className)}+ {...props}+ >+ {isLoading ? (+ <IconSpinner className="mr-2 animate-spin" />+ ) : showGithubIcon ? (+ <IconGitHub className="mr-2" />+ ) : null}+ {text}+ </Button>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/components/login-form.tsx b/examples/ts/vercel-ai-chatbot/components/login-form.tsxnew file mode 100644index 000000000..0a6910d63--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/login-form.tsx@@ -0,0 +1,97 @@+'use client'++import { useFormState, useFormStatus } from 'react-dom'+import { authenticate } from '@/app/login/actions'+import Link from 'next/link'+import { useEffect } from 'react'+import { toast } from 'sonner'+import { IconSpinner } from './ui/icons'+import { getMessageFromCode } from '@/lib/utils'+import { useRouter } from 'next/navigation'++export default function LoginForm() {+ const router = useRouter()+ const [result, dispatch] = useFormState(authenticate, undefined)++ useEffect(() => {+ if (result) {+ if (result.type === 'error') {+ toast.error(getMessageFromCode(result.resultCode))+ } else {+ toast.success(getMessageFromCode(result.resultCode))+ router.refresh()+ }+ }+ }, [result, router])++ return (+ <form+ action={dispatch}+ className="flex flex-col items-center gap-4 space-y-3"+ >+ <div className="w-full flex-1 rounded-lg border bg-white px-6 pb-4 pt-8 shadow-md md:w-96 dark:bg-zinc-950">+ <h1 className="mb-3 text-2xl font-bold">Please log in to continue.</h1>+ <div className="w-full">+ <div>+ <label+ className="mb-3 mt-5 block text-xs font-medium text-zinc-400"+ htmlFor="email"+ >+ </label>+ <div className="relative">+ <input+ className="peer block w-full rounded-md border bg-zinc-50 px-2 py-[9px] text-sm outline-none placeholder:text-zinc-500 dark:border-zinc-800 dark:bg-zinc-950"+ id="email"+ type="email"+ name="email"+ placeholder="Enter your email address"+ required+ />+ </div>+ </div>+ <div className="mt-4">+ <label+ className="mb-3 mt-5 block text-xs font-medium text-zinc-400"+ htmlFor="password"+ >+ Password+ </label>+ <div className="relative">+ <input+ className="peer block w-full rounded-md border bg-zinc-50 px-2 py-[9px] text-sm outline-none placeholder:text-zinc-500 dark:border-zinc-800 dark:bg-zinc-950"+ id="password"+ type="password"+ name="password"+ placeholder="Enter password"+ required+ minLength={6}+ />+ </div>+ </div>+ </div>+ <LoginButton />+ </div>++ <Link+ href="/signup"+ className="flex flex-row gap-1 text-sm text-zinc-400"+ >+ No account yet? <div className="font-semibold underline">Sign up</div>+ </Link>+ </form>+ )+}++function LoginButton() {+ const { pending } = useFormStatus()++ return (+ <button+ className="my-4 flex h-10 w-full flex-row items-center justify-center rounded-md bg-zinc-900 p-2 text-sm font-semibold text-zinc-100 hover:bg-zinc-800 dark:bg-zinc-100 dark:text-zinc-900 dark:hover:bg-zinc-200"+ aria-disabled={pending}+ >+ {pending ? <IconSpinner /> : 'Log in'}+ </button>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/components/markdown.tsx b/examples/ts/vercel-ai-chatbot/components/markdown.tsxnew file mode 100644index 000000000..d4491467a--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/markdown.tsx@@ -0,0 +1,9 @@+import { FC, memo } from 'react'+import ReactMarkdown, { Options } from 'react-markdown'++export const MemoizedReactMarkdown: FC<Options> = memo(+ ReactMarkdown,+ (prevProps, nextProps) =>+ prevProps.children === nextProps.children &&+ prevProps.className === nextProps.className+)diff --git a/examples/ts/vercel-ai-chatbot/components/prompt-form.tsx b/examples/ts/vercel-ai-chatbot/components/prompt-form.tsxnew file mode 100644index 000000000..2271edbd5--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/prompt-form.tsx@@ -0,0 +1,115 @@+'use client'++import * as React from 'react'+import Textarea from 'react-textarea-autosize'++import { useActions, useUIState } from 'ai/rsc'++import { UserMessage } from './stocks/message'+import { type AI } from '@/lib/chat/actions'+import { Button } from '@/components/ui/button'+import { IconArrowElbow, IconPlus } from '@/components/ui/icons'+import {+ Tooltip,+ TooltipContent,+ TooltipTrigger+} from '@/components/ui/tooltip'+import { useEnterSubmit } from '@/lib/hooks/use-enter-submit'+import { nanoid } from 'nanoid'+import { useRouter } from 'next/navigation'++export function PromptForm({+ input,+ setInput+}: {+ input: string+ setInput: (value: string) => void+}) {+ const router = useRouter()+ const { formRef, onKeyDown } = useEnterSubmit()+ const inputRef = React.useRef<HTMLTextAreaElement>(null)+ const { submitUserMessage } = useActions()+ const [_, setMessages] = useUIState<typeof AI>()++ React.useEffect(() => {+ if (inputRef.current) {+ inputRef.current.focus()+ }+ }, [])++ return (+ <form+ ref={formRef}+ onSubmit={async (e: any) => {+ e.preventDefault()++ // Blur focus on mobile+ if (window.innerWidth < 600) {+ e.target['message']?.blur()+ }++ const value = input.trim()+ setInput('')+ if (!value) return++ // Optimistically add user message UI+ setMessages(currentMessages => [+ ...currentMessages,+ {+ id: nanoid(),+ display: <UserMessage>{value}</UserMessage>+ }+ ])++ // Submit and get response message+ const responseMessage = await submitUserMessage(value)+ setMessages(currentMessages => [...currentMessages, responseMessage])+ }}+ >+ <div className="relative flex max-h-60 w-full grow flex-col overflow-hidden bg-background px-8 sm:rounded-md sm:border sm:px-12">+ <Tooltip>+ <TooltipTrigger asChild>+ <Button+ variant="outline"+ size="icon"+ className="absolute left-0 top-[14px] size-8 rounded-full bg-background p-0 sm:left-4"+ onClick={() => {+ router.push('/new')+ }}+ >+ <IconPlus />+ <span className="sr-only">New Chat</span>+ </Button>+ </TooltipTrigger>+ <TooltipContent>New Chat</TooltipContent>+ </Tooltip>+ <Textarea+ ref={inputRef}+ tabIndex={0}+ onKeyDown={onKeyDown}+ placeholder="Send a message."+ className="min-h-[60px] w-full resize-none bg-transparent px-4 py-[1.3rem] focus-within:outline-none sm:text-sm"+ autoFocus+ spellCheck={false}+ autoComplete="off"+ autoCorrect="off"+ name="message"+ rows={1}+ value={input}+ onChange={e => setInput(e.target.value)}+ />+ <div className="absolute right-0 top-[13px] sm:right-4">+ <Tooltip>+ <TooltipTrigger asChild>+ <Button type="submit" size="icon" disabled={input === ''}>+ <IconArrowElbow />+ <span className="sr-only">Send message</span>+ </Button>+ </TooltipTrigger>+ <TooltipContent>Send message</TooltipContent>+ </Tooltip>+ </div>+ </div>+ </form>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/components/providers.tsx b/examples/ts/vercel-ai-chatbot/components/providers.tsxnew file mode 100644index 000000000..0a8de4a15--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/providers.tsx@@ -0,0 +1,17 @@+'use client'++import * as React from 'react'+import { ThemeProvider as NextThemesProvider } from 'next-themes'+import { ThemeProviderProps } from 'next-themes/dist/types'+import { SidebarProvider } from '@/lib/hooks/use-sidebar'+import { TooltipProvider } from '@/components/ui/tooltip'++export function Providers({ children, ...props }: ThemeProviderProps) {+ return (+ <NextThemesProvider {...props}>+ <SidebarProvider>+ <TooltipProvider>{children}</TooltipProvider>+ </SidebarProvider>+ </NextThemesProvider>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/components/sidebar-actions.tsx b/examples/ts/vercel-ai-chatbot/components/sidebar-actions.tsxnew file mode 100644index 000000000..4f90f2d5d--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/sidebar-actions.tsx@@ -0,0 +1,125 @@+'use client'++import { useRouter } from 'next/navigation'+import * as React from 'react'+import { toast } from 'sonner'++import { ServerActionResult, type Chat } from '@/lib/types'+import {+ AlertDialog,+ AlertDialogAction,+ AlertDialogCancel,+ AlertDialogContent,+ AlertDialogDescription,+ AlertDialogFooter,+ AlertDialogHeader,+ AlertDialogTitle+} from '@/components/ui/alert-dialog'+import { Button } from '@/components/ui/button'+import { IconShare, IconSpinner, IconTrash } from '@/components/ui/icons'+import { ChatShareDialog } from '@/components/chat-share-dialog'+import {+ Tooltip,+ TooltipContent,+ TooltipTrigger+} from '@/components/ui/tooltip'++interface SidebarActionsProps {+ chat: Chat+ removeChat: (args: { id: string; path: string }) => ServerActionResult<void>+ shareChat: (id: string) => ServerActionResult<Chat>+}++export function SidebarActions({+ chat,+ removeChat,+ shareChat+}: SidebarActionsProps) {+ const router = useRouter()+ const [deleteDialogOpen, setDeleteDialogOpen] = React.useState(false)+ const [shareDialogOpen, setShareDialogOpen] = React.useState(false)+ const [isRemovePending, startRemoveTransition] = React.useTransition()++ return (+ <>+ <div className="">+ <Tooltip>+ <TooltipTrigger asChild>+ <Button+ variant="ghost"+ className="size-7 p-0 hover:bg-background"+ onClick={() => setShareDialogOpen(true)}+ >+ <IconShare />+ <span className="sr-only">Share</span>+ </Button>+ </TooltipTrigger>+ <TooltipContent>Share chat</TooltipContent>+ </Tooltip>+ <Tooltip>+ <TooltipTrigger asChild>+ <Button+ variant="ghost"+ className="size-7 p-0 hover:bg-background"+ disabled={isRemovePending}+ onClick={() => setDeleteDialogOpen(true)}+ >+ <IconTrash />+ <span className="sr-only">Delete</span>+ </Button>+ </TooltipTrigger>+ <TooltipContent>Delete chat</TooltipContent>+ </Tooltip>+ </div>+ <ChatShareDialog+ chat={chat}+ shareChat={shareChat}+ open={shareDialogOpen}+ onOpenChange={setShareDialogOpen}+ onCopy={() => setShareDialogOpen(false)}+ />+ <AlertDialog open={deleteDialogOpen} onOpenChange={setDeleteDialogOpen}>+ <AlertDialogContent>+ <AlertDialogHeader>+ <AlertDialogTitle>Are you absolutely sure?</AlertDialogTitle>+ <AlertDialogDescription>+ This will permanently delete your chat message and remove your+ data from our servers.+ </AlertDialogDescription>+ </AlertDialogHeader>+ <AlertDialogFooter>+ <AlertDialogCancel disabled={isRemovePending}>+ Cancel+ </AlertDialogCancel>+ <AlertDialogAction+ disabled={isRemovePending}+ onClick={event => {+ event.preventDefault()+ // @ts-ignore+ startRemoveTransition(async () => {+ const result = await removeChat({+ id: chat.id,+ path: chat.path+ })++ if (result && 'error' in result) {+ toast.error(result.error)+ return+ }++ setDeleteDialogOpen(false)+ router.refresh()+ router.push('/')+ toast.success('Chat deleted')+ })+ }}+ >+ {isRemovePending && <IconSpinner className="mr-2 animate-spin" />}+ Delete+ </AlertDialogAction>+ </AlertDialogFooter>+ </AlertDialogContent>+ </AlertDialog>+ </>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/components/sidebar-desktop.tsx b/examples/ts/vercel-ai-chatbot/components/sidebar-desktop.tsxnew file mode 100644index 000000000..7bc0e19c1--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/sidebar-desktop.tsx@@ -0,0 +1,19 @@+import { Sidebar } from '@/components/sidebar'++import { auth } from '@/auth'+import { ChatHistory } from '@/components/chat-history'++export async function SidebarDesktop() {+ const session = await auth()++ if (!session?.user?.id) {+ return null+ }++ return (+ <Sidebar className="peer absolute inset-y-0 z-30 hidden -translate-x-full border-r bg-muted duration-300 ease-in-out data-[state=open]:translate-x-0 lg:flex lg:w-[250px] xl:w-[300px]">+ {/* @ts-ignore */}+ <ChatHistory userId={session.user.id} />+ </Sidebar>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/components/sidebar-footer.tsx b/examples/ts/vercel-ai-chatbot/components/sidebar-footer.tsxnew file mode 100644index 000000000..a2e18ea66--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/sidebar-footer.tsx@@ -0,0 +1,16 @@+import { cn } from '@/lib/utils'++export function SidebarFooter({+ children,+ className,+ ...props+}: React.ComponentProps<'div'>) {+ return (+ <div+ className={cn('flex items-center justify-between p-4', className)}+ {...props}+ >+ {children}+ </div>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/components/sidebar-item.tsx b/examples/ts/vercel-ai-chatbot/components/sidebar-item.tsxnew file mode 100644index 000000000..fc7020bcc--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/sidebar-item.tsx@@ -0,0 +1,124 @@+'use client'++import * as React from 'react'++import Link from 'next/link'+import { usePathname } from 'next/navigation'++import { motion } from 'framer-motion'++import { buttonVariants } from '@/components/ui/button'+import { IconMessage, IconUsers } from '@/components/ui/icons'+import {+ Tooltip,+ TooltipContent,+ TooltipTrigger+} from '@/components/ui/tooltip'+import { useLocalStorage } from '@/lib/hooks/use-local-storage'+import { type Chat } from '@/lib/types'+import { cn } from '@/lib/utils'++interface SidebarItemProps {+ index: number+ chat: Chat+ children: React.ReactNode+}++export function SidebarItem({ index, chat, children }: SidebarItemProps) {+ const pathname = usePathname()++ const isActive = pathname === chat.path+ const [newChatId, setNewChatId] = useLocalStorage('newChatId', null)+ const shouldAnimate = index === 0 && isActive && newChatId++ if (!chat?.id) return null++ return (+ <motion.div+ className="relative h-8"+ variants={{+ initial: {+ height: 0,+ opacity: 0+ },+ animate: {+ height: 'auto',+ opacity: 1+ }+ }}+ initial={shouldAnimate ? 'initial' : undefined}+ animate={shouldAnimate ? 'animate' : undefined}+ transition={{+ duration: 0.25,+ ease: 'easeIn'+ }}+ >+ <div className="absolute left-2 top-1 flex size-6 items-center justify-center">+ {chat.sharePath ? (+ <Tooltip delayDuration={1000}>+ <TooltipTrigger+ tabIndex={-1}+ className="focus:bg-muted focus:ring-1 focus:ring-ring"+ >+ <IconUsers className="mr-2 mt-1 text-zinc-500" />+ </TooltipTrigger>+ <TooltipContent>This is a shared chat.</TooltipContent>+ </Tooltip>+ ) : (+ <IconMessage className="mr-2 mt-1 text-zinc-500" />+ )}+ </div>+ <Link+ href={chat.path}+ className={cn(+ buttonVariants({ variant: 'ghost' }),+ 'group w-full px-8 transition-colors hover:bg-zinc-200/40 dark:hover:bg-zinc-300/10',+ isActive && 'bg-zinc-200 pr-16 font-semibold dark:bg-zinc-800'+ )}+ >+ <div+ className="relative max-h-5 flex-1 select-none overflow-hidden text-ellipsis break-all"+ title={chat.title}+ >+ <span className="whitespace-nowrap">+ {shouldAnimate ? (+ chat.title.split('').map((character, index) => (+ <motion.span+ key={index}+ variants={{+ initial: {+ opacity: 0,+ x: -100+ },+ animate: {+ opacity: 1,+ x: 0+ }+ }}+ initial={shouldAnimate ? 'initial' : undefined}+ animate={shouldAnimate ? 'animate' : undefined}+ transition={{+ duration: 0.25,+ ease: 'easeIn',+ delay: index * 0.05,+ staggerChildren: 0.05+ }}+ onAnimationComplete={() => {+ if (index === chat.title.length - 1) {+ setNewChatId(null)+ }+ }}+ >+ {character}+ </motion.span>+ ))+ ) : (+ <span>{chat.title}</span>+ )}+ </span>+ </div>+ </Link>+ {isActive && <div className="absolute right-2 top-1">{children}</div>}+ </motion.div>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/components/sidebar-items.tsx b/examples/ts/vercel-ai-chatbot/components/sidebar-items.tsxnew file mode 100644index 000000000..11cc7fc47--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/sidebar-items.tsx@@ -0,0 +1,42 @@+'use client'++import { Chat } from '@/lib/types'+import { AnimatePresence, motion } from 'framer-motion'++import { removeChat, shareChat } from '@/app/actions'++import { SidebarActions } from '@/components/sidebar-actions'+import { SidebarItem } from '@/components/sidebar-item'++interface SidebarItemsProps {+ chats?: Chat[]+}++export function SidebarItems({ chats }: SidebarItemsProps) {+ if (!chats?.length) return null++ return (+ <AnimatePresence>+ {chats.map(+ (chat, index) =>+ chat && (+ <motion.div+ key={chat?.id}+ exit={{+ opacity: 0,+ height: 0+ }}+ >+ <SidebarItem index={index} chat={chat}>+ <SidebarActions+ chat={chat}+ removeChat={removeChat}+ shareChat={shareChat}+ />+ </SidebarItem>+ </motion.div>+ )+ )}+ </AnimatePresence>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/components/sidebar-list.tsx b/examples/ts/vercel-ai-chatbot/components/sidebar-list.tsxnew file mode 100644index 000000000..0a7fb1ade--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/sidebar-list.tsx@@ -0,0 +1,38 @@+import { clearChats, getChats } from '@/app/actions'+import { ClearHistory } from '@/components/clear-history'+import { SidebarItems } from '@/components/sidebar-items'+import { ThemeToggle } from '@/components/theme-toggle'+import { cache } from 'react'++interface SidebarListProps {+ userId?: string+ children?: React.ReactNode+}++const loadChats = cache(async (userId?: string) => {+ return await getChats(userId)+})++export async function SidebarList({ userId }: SidebarListProps) {+ const chats = await loadChats(userId)++ return (+ <div className="flex flex-1 flex-col overflow-hidden">+ <div className="flex-1 overflow-auto">+ {chats?.length ? (+ <div className="space-y-2 px-2">+ <SidebarItems chats={chats} />+ </div>+ ) : (+ <div className="p-8 text-center">+ <p className="text-sm text-muted-foreground">No chat history</p>+ </div>+ )}+ </div>+ <div className="flex items-center justify-between p-4">+ <ThemeToggle />+ <ClearHistory clearChats={clearChats} isEnabled={chats?.length > 0} />+ </div>+ </div>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/components/sidebar-mobile.tsx b/examples/ts/vercel-ai-chatbot/components/sidebar-mobile.tsxnew file mode 100644index 000000000..82f0aa5b7--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/sidebar-mobile.tsx@@ -0,0 +1,31 @@+'use client'++import { Sheet, SheetContent, SheetTrigger } from '@/components/ui/sheet'++import { Sidebar } from '@/components/sidebar'+import { Button } from '@/components/ui/button'++import { IconSidebar } from '@/components/ui/icons'++interface SidebarMobileProps {+ children: React.ReactNode+}++export function SidebarMobile({ children }: SidebarMobileProps) {+ return (+ <Sheet>+ <SheetTrigger asChild>+ <Button variant="ghost" className="-ml-2 flex size-9 p-0 lg:hidden">+ <IconSidebar className="size-6" />+ <span className="sr-only">Toggle Sidebar</span>+ </Button>+ </SheetTrigger>+ <SheetContent+ side="left"+ className="inset-y-0 flex h-auto w-[300px] flex-col p-0"+ >+ <Sidebar className="flex">{children}</Sidebar>+ </SheetContent>+ </Sheet>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/components/sidebar-toggle.tsx b/examples/ts/vercel-ai-chatbot/components/sidebar-toggle.tsxnew file mode 100644index 000000000..6c7500974--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/sidebar-toggle.tsx@@ -0,0 +1,24 @@+'use client'++import * as React from 'react'++import { useSidebar } from '@/lib/hooks/use-sidebar'+import { Button } from '@/components/ui/button'+import { IconSidebar } from '@/components/ui/icons'++export function SidebarToggle() {+ const { toggleSidebar } = useSidebar()++ return (+ <Button+ variant="ghost"+ className="-ml-2 hidden size-9 p-0 lg:flex"+ onClick={() => {+ toggleSidebar()+ }}+ >+ <IconSidebar className="size-6" />+ <span className="sr-only">Toggle Sidebar</span>+ </Button>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/components/sidebar.tsx b/examples/ts/vercel-ai-chatbot/components/sidebar.tsxnew file mode 100644index 000000000..52dc5bd76--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/sidebar.tsx@@ -0,0 +1,21 @@+'use client'++import * as React from 'react'++import { useSidebar } from '@/lib/hooks/use-sidebar'+import { cn } from '@/lib/utils'++export interface SidebarProps extends React.ComponentProps<'div'> {}++export function Sidebar({ className, children }: SidebarProps) {+ const { isSidebarOpen, isLoading } = useSidebar()++ return (+ <div+ data-state={isSidebarOpen && !isLoading ? 'open' : 'closed'}+ className={cn(className, 'h-full flex-col dark:bg-zinc-950')}+ >+ {children}+ </div>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/components/signup-form.tsx b/examples/ts/vercel-ai-chatbot/components/signup-form.tsxnew file mode 100644index 000000000..f5b78a966--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/signup-form.tsx@@ -0,0 +1,95 @@+'use client'++import { useFormState, useFormStatus } from 'react-dom'+import { signup } from '@/app/signup/actions'+import Link from 'next/link'+import { useEffect } from 'react'+import { toast } from 'sonner'+import { IconSpinner } from './ui/icons'+import { getMessageFromCode } from '@/lib/utils'+import { useRouter } from 'next/navigation'++export default function SignupForm() {+ const router = useRouter()+ const [result, dispatch] = useFormState(signup, undefined)++ useEffect(() => {+ if (result) {+ if (result.type === 'error') {+ toast.error(getMessageFromCode(result.resultCode))+ } else {+ toast.success(getMessageFromCode(result.resultCode))+ router.refresh()+ }+ }+ }, [result, router])++ return (+ <form+ action={dispatch}+ className="flex flex-col items-center gap-4 space-y-3"+ >+ <div className="w-full flex-1 rounded-lg border bg-white px-6 pb-4 pt-8 shadow-md md:w-96 dark:bg-zinc-950">+ <h1 className="mb-3 text-2xl font-bold">Sign up for an account!</h1>+ <div className="w-full">+ <div>+ <label+ className="mb-3 mt-5 block text-xs font-medium text-zinc-400"+ htmlFor="email"+ >+ </label>+ <div className="relative">+ <input+ className="peer block w-full rounded-md border bg-zinc-50 px-2 py-[9px] text-sm outline-none placeholder:text-zinc-500 dark:border-zinc-800 dark:bg-zinc-950"+ id="email"+ type="email"+ name="email"+ placeholder="Enter your email address"+ required+ />+ </div>+ </div>+ <div className="mt-4">+ <label+ className="mb-3 mt-5 block text-xs font-medium text-zinc-400"+ htmlFor="password"+ >+ Password+ </label>+ <div className="relative">+ <input+ className="peer block w-full rounded-md border bg-zinc-50 px-2 py-[9px] text-sm outline-none placeholder:text-zinc-500 dark:border-zinc-800 dark:bg-zinc-950"+ id="password"+ type="password"+ name="password"+ placeholder="Enter password"+ required+ minLength={6}+ />+ </div>+ </div>+ </div>+ <LoginButton />+ </div>++ <Link href="/login" className="flex flex-row gap-1 text-sm text-zinc-400">+ Already have an account?+ <div className="font-semibold underline">Log in</div>+ </Link>+ </form>+ )+}++function LoginButton() {+ const { pending } = useFormStatus()++ return (+ <button+ className="my-4 flex h-10 w-full flex-row items-center justify-center rounded-md bg-zinc-900 p-2 text-sm font-semibold text-zinc-100 hover:bg-zinc-800 dark:bg-zinc-100 dark:text-zinc-900 dark:hover:bg-zinc-200"+ aria-disabled={pending}+ >+ {pending ? <IconSpinner /> : 'Create account'}+ </button>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/components/stocks/events-skeleton.tsx b/examples/ts/vercel-ai-chatbot/components/stocks/events-skeleton.tsxnew file mode 100644index 000000000..74515cb0c--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/stocks/events-skeleton.tsx@@ -0,0 +1,31 @@+const placeholderEvents = [+ {+ date: '2022-10-01',+ headline: 'NVIDIA releases new AI-powered graphics card',+ description:+ 'NVIDIA unveils the latest graphics card infused with AI capabilities, revolutionizing gaming and rendering experiences.'+ }+]++export const EventsSkeleton = () => {+ return (+ <div className="-mt-2 flex w-full flex-col gap-2 py-4">+ {placeholderEvents.map(event => (+ <div+ key={event.date}+ className="flex shrink-0 flex-col gap-1 rounded-lg bg-zinc-800 p-4"+ >+ <div className="w-fit rounded-md bg-zinc-700 text-sm text-transparent">+ {event.date}+ </div>+ <div className="w-fit rounded-md bg-zinc-700 text-transparent">+ {event.headline}+ </div>+ <div className="w-auto rounded-md bg-zinc-700 text-transparent">+ {event.description.slice(0, 70)}...+ </div>+ </div>+ ))}+ </div>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/components/stocks/events.tsx b/examples/ts/vercel-ai-chatbot/components/stocks/events.tsxnew file mode 100644index 000000000..37652cb58--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/stocks/events.tsx@@ -0,0 +1,30 @@+import { format, parseISO } from 'date-fns'++interface Event {+ date: string+ headline: string+ description: string+}++export function Events({ props: events }: { props: Event[] }) {+ return (+ <div className="-mt-2 flex w-full flex-col gap-2 py-4">+ {events.map(event => (+ <div+ key={event.date}+ className="flex shrink-0 flex-col gap-1 rounded-lg bg-zinc-800 p-4"+ >+ <div className="text-sm text-zinc-400">+ {format(parseISO(event.date), 'dd LLL, yyyy')}+ </div>+ <div className="text-base font-bold text-zinc-200">+ {event.headline}+ </div>+ <div className="text-zinc-500">+ {event.description.slice(0, 70)}...+ </div>+ </div>+ ))}+ </div>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/components/stocks/index.tsx b/examples/ts/vercel-ai-chatbot/components/stocks/index.tsxnew file mode 100644index 000000000..13dedbe25--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/stocks/index.tsx@@ -0,0 +1,36 @@+'use client'++import dynamic from 'next/dynamic'+import { StockSkeleton } from './stock-skeleton'+import { StocksSkeleton } from './stocks-skeleton'+import { EventsSkeleton } from './events-skeleton'++export { spinner } from './spinner'+export { BotCard, BotMessage, SystemMessage } from './message'++const Stock = dynamic(() => import('./stock').then(mod => mod.Stock), {+ ssr: false,+ loading: () => <StockSkeleton />+})++const Purchase = dynamic(+ () => import('./stock-purchase').then(mod => mod.Purchase),+ {+ ssr: false,+ loading: () => (+ <div className="h-[375px] rounded-xl border bg-zinc-950 p-4 text-green-400 sm:h-[314px]" />+ )+ }+)++const Stocks = dynamic(() => import('./stocks').then(mod => mod.Stocks), {+ ssr: false,+ loading: () => <StocksSkeleton />+})++const Events = dynamic(() => import('./events').then(mod => mod.Events), {+ ssr: false,+ loading: () => <EventsSkeleton />+})++export { Stock, Purchase, Stocks, Events }diff --git a/examples/ts/vercel-ai-chatbot/components/stocks/message.tsx b/examples/ts/vercel-ai-chatbot/components/stocks/message.tsxnew file mode 100644index 000000000..8a7524553--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/stocks/message.tsx@@ -0,0 +1,134 @@+'use client'++import { IconOpenAI, IconUser } from '@/components/ui/icons'+import { cn } from '@/lib/utils'+import { spinner } from './spinner'+import { CodeBlock } from '../ui/codeblock'+import { MemoizedReactMarkdown } from '../markdown'+import remarkGfm from 'remark-gfm'+import remarkMath from 'remark-math'+import { StreamableValue, useStreamableValue } from 'ai/rsc'+import { useStreamableText } from '@/lib/hooks/use-streamable-text'++// Different types of message bubbles.++export function UserMessage({ children }: { children: React.ReactNode }) {+ return (+ <div className="group relative flex items-start md:-ml-12">+ <div className="flex size-[25px] shrink-0 select-none items-center justify-center rounded-md border bg-background shadow-sm">+ <IconUser />+ </div>+ <div className="ml-4 flex-1 space-y-2 overflow-hidden pl-2">+ {children}+ </div>+ </div>+ )+}++export function BotMessage({+ content,+ className+}: {+ content: string | StreamableValue<string>+ className?: string+}) {+ const text = useStreamableText(content)++ return (+ <div className={cn('group relative flex items-start md:-ml-12', className)}>+ <div className="flex size-[24px] shrink-0 select-none items-center justify-center rounded-md border bg-primary text-primary-foreground shadow-sm">+ <IconOpenAI />+ </div>+ <div className="ml-4 flex-1 space-y-2 overflow-hidden px-1">+ <MemoizedReactMarkdown+ className="prose break-words dark:prose-invert prose-p:leading-relaxed prose-pre:p-0"+ remarkPlugins={[remarkGfm, remarkMath]}+ components={{+ p({ children }) {+ return <p className="mb-2 last:mb-0">{children}</p>+ },+ code({ node, inline, className, children, ...props }) {+ if (children.length) {+ if (children[0] == '▍') {+ return (+ <span className="mt-1 animate-pulse cursor-default">▍</span>+ )+ }++ children[0] = (children[0] as string).replace('`▍`', '▍')+ }++ const match = /language-(\w+)/.exec(className || '')++ if (inline) {+ return (+ <code className={className} {...props}>+ {children}+ </code>+ )+ }++ return (+ <CodeBlock+ key={Math.random()}+ language={(match && match[1]) || ''}+ value={String(children).replace(/\n$/, '')}+ {...props}+ />+ )+ }+ }}+ >+ {text}+ </MemoizedReactMarkdown>+ </div>+ </div>+ )+}++export function BotCard({+ children,+ showAvatar = true+}: {+ children: React.ReactNode+ showAvatar?: boolean+}) {+ return (+ <div className="group relative flex items-start md:-ml-12">+ <div+ className={cn(+ 'flex size-[24px] shrink-0 select-none items-center justify-center rounded-md border bg-primary text-primary-foreground shadow-sm',+ !showAvatar && 'invisible'+ )}+ >+ <IconOpenAI />+ </div>+ <div className="ml-4 flex-1 pl-2">{children}</div>+ </div>+ )+}++export function SystemMessage({ children }: { children: React.ReactNode }) {+ return (+ <div+ className={+ 'mt-2 flex items-center justify-center gap-2 text-xs text-gray-500'+ }+ >+ <div className={'max-w-[600px] flex-initial p-2'}>{children}</div>+ </div>+ )+}++export function SpinnerMessage() {+ return (+ <div className="group relative flex items-start md:-ml-12">+ <div className="flex size-[24px] shrink-0 select-none items-center justify-center rounded-md border bg-primary text-primary-foreground shadow-sm">+ <IconOpenAI />+ </div>+ <div className="ml-4 h-[24px] flex flex-row items-center flex-1 space-y-2 overflow-hidden px-1">+ {spinner}+ </div>+ </div>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/components/stocks/spinner.tsx b/examples/ts/vercel-ai-chatbot/components/stocks/spinner.tsxnew file mode 100644index 000000000..8eab1d31b--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/stocks/spinner.tsx@@ -0,0 +1,16 @@+'use client'++export const spinner = (+ <svg+ fill="none"+ stroke="currentColor"+ strokeWidth="1.5"+ viewBox="0 0 24 24"+ strokeLinecap="round"+ strokeLinejoin="round"+ xmlns="http://www.w3.org/2000/svg"+ className="size-5 animate-spin stroke-zinc-400"+ >+ <path d="M12 3v3m6.366-.366-2.12 2.12M21 12h-3m.366 6.366-2.12-2.12M12 21v-3m-6.366.366 2.12-2.12M3 12h3m-.366-6.366 2.12 2.12"></path>+ </svg>+)diff --git a/examples/ts/vercel-ai-chatbot/components/stocks/stock-purchase.tsx b/examples/ts/vercel-ai-chatbot/components/stocks/stock-purchase.tsxnew file mode 100644index 000000000..0bf922ead--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/stocks/stock-purchase.tsx@@ -0,0 +1,146 @@+'use client'++import { useId, useState } from 'react'+import { useActions, useAIState, useUIState } from 'ai/rsc'+import { formatNumber } from '@/lib/utils'++import type { AI } from '@/lib/chat/actions'++interface Purchase {+ numberOfShares?: number+ symbol: string+ price: number+ status: 'requires_action' | 'completed' | 'expired'+}++export function Purchase({+ props: { numberOfShares, symbol, price, status = 'expired' }+}: {+ props: Purchase+}) {+ const [value, setValue] = useState(numberOfShares || 100)+ const [purchasingUI, setPurchasingUI] = useState<null | React.ReactNode>(null)+ const [aiState, setAIState] = useAIState<typeof AI>()+ const [, setMessages] = useUIState<typeof AI>()+ const { confirmPurchase } = useActions()++ // Unique identifier for this UI component.+ const id = useId()++ // Whenever the slider changes, we need to update the local value state and the history+ // so LLM also knows what's going on.+ function onSliderChange(e: React.ChangeEvent<HTMLInputElement>) {+ const newValue = Number(e.target.value)+ setValue(newValue)++ // Insert a hidden history info to the list.+ const message = {+ role: 'system' as const,+ content: `[User has changed to purchase ${newValue} shares of ${name}. Total cost: $${(+ newValue * price+ ).toFixed(2)}]`,++ // Identifier of this UI component, so we don't insert it many times.+ id+ }++ // If last history state is already this info, update it. This is to avoid+ // adding every slider change to the history.+ if (aiState.messages[aiState.messages.length - 1]?.id === id) {+ setAIState({+ ...aiState,+ messages: [...aiState.messages.slice(0, -1), message]+ })++ return+ }++ // If it doesn't exist, append it to history.+ setAIState({ ...aiState, messages: [...aiState.messages, message] })+ }++ return (+ <div className="p-4 text-green-400 border rounded-xl bg-zinc-950">+ <div className="inline-block float-right px-2 py-1 text-xs rounded-full bg-white/10">+ +1.23% ↑+ </div>+ <div className="text-lg text-zinc-300">{symbol}</div>+ <div className="text-3xl font-bold">${price}</div>+ {purchasingUI ? (+ <div className="mt-4 text-zinc-200">{purchasingUI}</div>+ ) : status === 'requires_action' ? (+ <>+ <div className="relative pb-6 mt-6">+ <p>Shares to purchase</p>+ <input+ id="labels-range-input"+ type="range"+ value={value}+ onChange={onSliderChange}+ min="10"+ max="1000"+ className="w-full h-1 rounded-lg appearance-none cursor-pointer bg-zinc-600 accent-green-500 dark:bg-zinc-700"+ />+ <span className="absolute text-xs bottom-1 start-0 text-zinc-400">+ 10+ </span>+ <span className="absolute text-xs -translate-x-1/2 bottom-1 start-1/3 text-zinc-400 rtl:translate-x-1/2">+ 100+ </span>+ <span className="absolute text-xs -translate-x-1/2 bottom-1 start-2/3 text-zinc-400 rtl:translate-x-1/2">+ 500+ </span>+ <span className="absolute text-xs bottom-1 end-0 text-zinc-400">+ 1000+ </span>+ </div>++ <div className="mt-6">+ <p>Total cost</p>+ <div className="flex flex-wrap items-center text-xl font-bold sm:items-end sm:gap-2 sm:text-3xl">+ <div className="flex flex-col basis-1/3 tabular-nums sm:basis-auto sm:flex-row sm:items-center sm:gap-2">+ {value}+ <span className="mb-1 text-sm font-normal text-zinc-600 sm:mb-0 dark:text-zinc-400">+ shares+ </span>+ </div>+ <div className="text-center basis-1/3 sm:basis-auto">×</div>+ <span className="flex flex-col basis-1/3 tabular-nums sm:basis-auto sm:flex-row sm:items-center sm:gap-2">+ ${price}+ <span className="mb-1 ml-1 text-sm font-normal text-zinc-600 sm:mb-0 dark:text-zinc-400">+ per share+ </span>+ </span>+ <div className="pt-2 mt-2 text-center border-t basis-full border-t-zinc-700 sm:mt-0 sm:basis-auto sm:border-0 sm:pt-0 sm:text-left">+ = <span>{formatNumber(value * price)}</span>+ </div>+ </div>+ </div>++ <button+ className="w-full px-4 py-2 mt-6 font-bold bg-green-400 rounded-lg text-zinc-900 hover:bg-green-500"+ onClick={async () => {+ const response = await confirmPurchase(symbol, price, value)+ setPurchasingUI(response.purchasingUI)++ // Insert a new system message to the UI.+ setMessages((currentMessages: any) => [+ ...currentMessages,+ response.newMessage+ ])+ }}+ >+ Purchase+ </button>+ </>+ ) : status === 'completed' ? (+ <p className="mb-2 text-white">+ You have successfully purchased {value} ${symbol}. Total cost:{' '}+ {formatNumber(value * price)}+ </p>+ ) : status === 'expired' ? (+ <p className="mb-2 text-white">Your checkout session has expired!</p>+ ) : null}+ </div>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/components/stocks/stock-skeleton.tsx b/examples/ts/vercel-ai-chatbot/components/stocks/stock-skeleton.tsxnew file mode 100644index 000000000..e7b7a93ba--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/stocks/stock-skeleton.tsx@@ -0,0 +1,22 @@+export const StockSkeleton = () => {+ return (+ <div className="rounded-xl border border-zinc-800 bg-zinc-950 p-4 text-green-400">+ <div className="float-right inline-block w-fit rounded-full bg-zinc-700 px-2 py-1 text-xs text-transparent">+ xxxxxxx+ </div>+ <div className="mb-1 w-fit rounded-md bg-zinc-700 text-lg text-transparent">+ xxxx+ </div>+ <div className="w-fit rounded-md bg-zinc-700 text-3xl font-bold text-transparent">+ xxxx+ </div>+ <div className="text mt-1 w-fit rounded-md bg-zinc-700 text-xs text-transparent">+ xxxxxx xxx xx xxxx xx xxx+ </div>++ <div className="relative -mx-4 cursor-col-resize">+ <div style={{ height: 146 }}></div>+ </div>+ </div>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/components/stocks/stock.tsx b/examples/ts/vercel-ai-chatbot/components/stocks/stock.tsxnew file mode 100644index 000000000..aef249bc6--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/stocks/stock.tsx@@ -0,0 +1,210 @@+'use client'++import { useState, useRef, useEffect, useId } from 'react'+import { scaleLinear } from 'd3-scale'+import { subMonths, format } from 'date-fns'+import { useResizeObserver } from 'usehooks-ts'+import { useAIState } from 'ai/rsc'++interface Stock {+ symbol: string+ price: number+ delta: number+}++export function Stock({ props: { symbol, price, delta } }: { props: Stock }) {+ const [aiState, setAIState] = useAIState()+ const id = useId()++ const [priceAtTime, setPriceAtTime] = useState({+ time: '00:00',+ value: price.toFixed(2),+ x: 0+ })++ const [startHighlight, setStartHighlight] = useState(0)+ const [endHighlight, setEndHighlight] = useState(0)++ const chartRef = useRef<HTMLDivElement>(null)+ const { width = 0 } = useResizeObserver({+ ref: chartRef,+ box: 'border-box'+ })++ const xToDate = scaleLinear(+ [0, width],+ [subMonths(new Date(), 6), new Date()]+ )+ const xToValue = scaleLinear(+ [0, width],+ [price - price / 2, price + price / 2]+ )++ useEffect(() => {+ if (startHighlight && endHighlight) {+ const message = {+ id,+ role: 'system' as const,+ content: `[User has highlighted dates between between ${format(+ xToDate(startHighlight),+ 'd LLL'+ )} and ${format(xToDate(endHighlight), 'd LLL, yyyy')}`+ }++ if (aiState.messages[aiState.messages.length - 1]?.id === id) {+ setAIState({+ ...aiState,+ messages: [...aiState.messages.slice(0, -1), message]+ })+ } else {+ setAIState({+ ...aiState,+ messages: [...aiState.messages, message]+ })+ }+ }+ }, [startHighlight, endHighlight])++ return (+ <div className="rounded-xl border bg-zinc-950 p-4 text-green-400">+ <div className="float-right inline-block rounded-full bg-white/10 px-2 py-1 text-xs">+ {`${delta > 0 ? '+' : ''}${((delta / price) * 100).toFixed(2)}% ${+ delta > 0 ? '↑' : '↓'+ }`}+ </div>+ <div className="text-lg text-zinc-300">{symbol}</div>+ <div className="text-3xl font-bold">${price}</div>+ <div className="text mt-1 text-xs text-zinc-500">+ Closed: Feb 27, 4:59 PM EST+ </div>++ <div+ className="relative -mx-4 cursor-col-resize"+ onPointerDown={event => {+ if (chartRef.current) {+ const { clientX } = event+ const { left } = chartRef.current.getBoundingClientRect()++ setStartHighlight(clientX - left)+ setEndHighlight(0)++ setPriceAtTime({+ time: format(xToDate(clientX), 'dd LLL yy'),+ value: xToValue(clientX).toFixed(2),+ x: clientX - left+ })+ }+ }}+ onPointerUp={event => {+ if (chartRef.current) {+ const { clientX } = event+ const { left } = chartRef.current.getBoundingClientRect()++ setEndHighlight(clientX - left)+ }+ }}+ onPointerMove={event => {+ if (chartRef.current) {+ const { clientX } = event+ const { left } = chartRef.current.getBoundingClientRect()++ setPriceAtTime({+ time: format(xToDate(clientX), 'dd LLL yy'),+ value: xToValue(clientX).toFixed(2),+ x: clientX - left+ })+ }+ }}+ onPointerLeave={() => {+ setPriceAtTime({+ time: '00:00',+ value: price.toFixed(2),+ x: 0+ })+ }}+ ref={chartRef}+ >+ {priceAtTime.x > 0 ? (+ <div+ className="pointer-events-none absolute z-10 flex w-fit select-none gap-2 rounded-md bg-zinc-800 p-2"+ style={{+ left: priceAtTime.x - 124 / 2,+ top: 30+ }}+ >+ <div className="text-xs tabular-nums">${priceAtTime.value}</div>+ <div className="text-xs tabular-nums text-zinc-400">+ {priceAtTime.time}+ </div>+ </div>+ ) : null}++ {startHighlight ? (+ <div+ className="pointer-events-none absolute h-32 w-5 select-none rounded-md border border-zinc-500 bg-zinc-500/20"+ style={{+ left: startHighlight,+ width: endHighlight+ ? endHighlight - startHighlight+ : priceAtTime.x - startHighlight,+ bottom: 0+ }}+ ></div>+ ) : null}++ <svg+ viewBox="0 0 250.0 168.0"+ height="150"+ width="100%"+ preserveAspectRatio="none"+ >+ <defs>+ <linearGradient+ id="fill-id-tsuid_31"+ x1="0%"+ x2="0%"+ y1="0%"+ y2="100%"+ >+ <stop offset="0%" stopColor="#34a853" stopOpacity="0.38"></stop>+ <stop offset="13%" stopColor="#e6f4ea" stopOpacity="0"></stop>+ </linearGradient>+ <clipPath id="range-id-tsuid_31">+ <rect height="100%" width="0" x="0" y="0"></rect>+ </clipPath>+ <defs>+ <linearGradient+ id="chart-grad-_f1bJZYLUHqWpxc8Prs2meA_33"+ x1="0%"+ x2="0%"+ y1="0%"+ y2="100%"+ >+ <stop offset="0%" stopColor="#34a853" stopOpacity="0.38"></stop>+ <stop offset="13%" stopColor="#e6f4ea" stopOpacity="0"></stop>+ </linearGradient>+ </defs>+ <clipPath id="mask-_f1bJZYLUHqWpxc8Prs2meA_32">+ <rect height="218" width="250" x="0" y="-5"></rect>+ </clipPath>+ </defs>+ <path+ d="M 0 42.86 L 0.89 46.26 L 1.78 44.3 L 2.68 44.24 L 3.57 42 L 4.46 43.42 L 5.35 43.62 L 6.25 47 L 7.14 47.65 L 8.03 47.69 L 8.92 45.55 L 9.82 43.19 L 10.71 43.9 L 11.6 42.83 L 12.49 42.81 L 13.39 46.75 L 14.28 43.06 L 15.17 40.8 L 16.06 39.72 L 16.96 39.77 L 17.85 45.77 L 18.74 44.93 L 19.63 44.35 L 20.53 40.29 L 21.42 42.77 L 22.31 42.12 L 23.2 43.4 L 24.1 47.95 L 24.99 50.15 L 25.88 48.59 L 26.77 42.18 L 27.67 44.1 L 28.56 39.91 L 29.45 44.92 L 30.34 47.62 L 31.24 48.06 L 32.13 47.67 L 33.02 56.47 L 33.91 57.74 L 34.8 65.48 L 35.7 64.47 L 36.59 47.25 L 37.48 58.26 L 38.37 52.04 L 39.27 55.8 L 40.16 92.92 L 41.05 105.2 L 41.94 102 L 42.84 106.14 L 43.73 78.71 L 44.62 104.6 L 45.51 96.58 L 46.41 67.56 L 47.3 69.53 L 48.19 69.99 L 49.08 66.75 L 49.98 69.72 L 50.87 70.13 L 51.76 71.3 L 52.65 70.03 L 53.55 67.92 L 54.44 66.41 L 55.33 97.12 L 56.22 95.93 L 57.12 95.03 L 58.01 95.09 L 58.9 65.56 L 59.79 65.12 L 60.69 82.42 L 61.58 74.7 L 62.47 71.13 L 63.36 82.43 L 64.26 96.02 L 65.15 100.36 L 66.04 98.6 L 66.93 103.37 L 67.82 102.12 L 68.72 97.08 L 69.61 89.74 L 70.5 90.7 L 71.39 93.46 L 72.29 94.24 L 73.18 97.8 L 74.07 97.88 L 74.96 96.63 L 75.86 96.27 L 76.75 97.15 L 77.64 100.12 L 78.53 100.51 L 79.43 106.59 L 80.32 104.54 L 81.21 100.31 L 82.1 118.76 L 83 106.24 L 83.89 114.8 L 84.78 174.89 L 85.67 122.28 L 86.57 149.25 L 87.46 151.47 L 88.35 153.38 L 89.24 153.5 L 90.14 149.24 L 91.03 122.44 L 91.92 122.08 L 92.81 147.16 L 93.71 147.46 L 94.6 119.13 L 95.49 117.97 L 96.38 122.22 L 97.28 116.38 L 98.17 119.53 L 99.06 119.65 L 99.95 120.15 L 100.84 120.22 L 101.74 121.28 L 102.63 121.4 L 103.52 122.97 L 104.41 122.15 L 105.31 120.6 L 106.2 116.55 L 107.09 122.23 L 107.98 120.96 L 108.88 119.54 L 109.77 120.19 L 110.66 120.99 L 111.55 119.92 L 112.45 115.69 L 113.34 116.33 L 114.23 116.07 L 115.12 115.34 L 116.02 111.34 L 116.91 107.23 L 117.8 113.21 L 118.69 98.77 L 119.59 97.04 L 120.48 96.56 L 121.37 96.36 L 122.26 99.7 L 123.16 103.33 L 124.05 100.38 L 124.94 99.68 L 125.83 99.02 L 126.73 102.56 L 127.62 103.25 L 128.51 103.38 L 129.4 104.89 L 130.3 118.07 L 131.19 100.82 L 132.08 103.06 L 132.97 103.47 L 133.86 99.8 L 134.76 111.28 L 135.65 107.73 L 136.54 107.46 L 137.43 108.08 L 138.33 109.82 L 139.22 110.94 L 140.11 111.3 L 141 108.14 L 141.9 109.35 L 142.79 108.38 L 143.68 99.08 L 144.57 99.02 L 145.47 98.61 L 146.36 99.07 L 147.25 99.26 L 148.14 95.1 L 149.04 92.08 L 149.93 92.76 L 150.82 92.87 L 151.71 83.31 L 152.61 82.93 L 153.5 84.86 L 154.39 84.12 L 155.28 94.08 L 156.18 93.31 L 157.07 94.23 L 157.96 94.58 L 158.85 99.33 L 159.75 80 L 160.64 90.28 L 161.53 84.07 L 162.42 68.37 L 163.32 76.88 L 164.21 81.78 L 165.1 80.72 L 165.99 73.89 L 166.88 77.14 L 167.78 67.58 L 168.67 59.82 L 169.56 61.91 L 170.45 61.07 L 171.35 73.74 L 172.24 77.02 L 173.13 78.61 L 174.02 71.59 L 174.92 68.24 L 175.81 72.14 L 176.7 65.37 L 177.59 76.73 L 178.49 88.02 L 179.38 88.01 L 180.27 88.27 L 181.16 86.23 L 182.06 86.14 L 182.95 89.54 L 183.84 94.16 L 184.73 97.72 L 185.63 81.52 L 186.52 92.85 L 187.41 94.14 L 188.3 93.06 L 189.2 92.64 L 190.09 92.44 L 190.98 91.75 L 191.87 90.53 L 192.77 88.27 L 193.66 85.44 L 194.55 82.26 L 195.44 85.08 L 196.34 85.65 L 197.23 53.43 L 198.12 72.01 L 199.01 38.37 L 199.9 69.43 L 200.8 74.46 L 201.69 74.22 L 202.58 82.46 L 203.47 77.01 L 204.37 87.8 L 205.26 91.56 L 206.15 76.69 L 207.04 76.46 L 207.94 78.13 L 208.83 80.06 L 209.72 92.79 L 210.61 87.74 L 211.51 88.21 L 212.4 88.47 L 213.29 87.35 L 214.18 89.69 L 215.08 77.37 L 215.97 87.95 L 216.86 75.16 L 217.75 70.47 L 218.65 85.11 L 219.54 88.1 L 220.43 88.06 L 221.32 86.34 L 222.22 76.91 L 223.11 75.33 L 224 73.6 L 224.89 25.31 L 225.79 44.14 L 226.68 43.93 L 227.57 45.13 L 228.46 44.03 L 229.36 35.73 L 230.25 33.65 L 231.14 34.81 L 232.03 17.64 L 232.92 21.13 L 233.82 19.37 L 234.71 24.66 L 235.6 23.87 L 236.49 22.56 L 237.39 28.48 L 238.28 25.33 L 239.17 28.51 L 240.06 30.83 L 240.96 35.79 L 241.85 34.6 L 242.74 31.2 L 243.63 32.97 L 244.53 33.01 L 245.42 31.38 L 246.31 30.21 L 247.2 27.75 L 248.1 25.27 L 248.99 23 L 249.88 23 L 250 23 L 2000 0 L 2000 1000 L -1000 1000"+ clipPath="url(#range-id-tsuid_31)"+ vectorEffect="non-scaling-stroke"+ stroke="none"+ strokeWidth={2}+ fill='url("#fill-id-tsuid_31")'+ ></path>+ <path+ clipPath="url(#mask-_f1bJZYLUHqWpxc8Prs2meA_32)"+ d="M 0 42.86 L 0.89 46.26 L 1.78 44.3 L 2.68 44.24 L 3.57 42 L 4.46 43.42 L 5.35 43.62 L 6.25 47 L 7.14 47.65 L 8.03 47.69 L 8.92 45.55 L 9.82 43.19 L 10.71 43.9 L 11.6 42.83 L 12.49 42.81 L 13.39 46.75 L 14.28 43.06 L 15.17 40.8 L 16.06 39.72 L 16.96 39.77 L 17.85 45.77 L 18.74 44.93 L 19.63 44.35 L 20.53 40.29 L 21.42 42.77 L 22.31 42.12 L 23.2 43.4 L 24.1 47.95 L 24.99 50.15 L 25.88 48.59 L 26.77 42.18 L 27.67 44.1 L 28.56 39.91 L 29.45 44.92 L 30.34 47.62 L 31.24 48.06 L 32.13 47.67 L 33.02 56.47 L 33.91 57.74 L 34.8 65.48 L 35.7 64.47 L 36.59 47.25 L 37.48 58.26 L 38.37 52.04 L 39.27 55.8 L 40.16 92.92 L 41.05 105.2 L 41.94 102 L 42.84 106.14 L 43.73 78.71 L 44.62 104.6 L 45.51 96.58 L 46.41 67.56 L 47.3 69.53 L 48.19 69.99 L 49.08 66.75 L 49.98 69.72 L 50.87 70.13 L 51.76 71.3 L 52.65 70.03 L 53.55 67.92 L 54.44 66.41 L 55.33 97.12 L 56.22 95.93 L 57.12 95.03 L 58.01 95.09 L 58.9 65.56 L 59.79 65.12 L 60.69 82.42 L 61.58 74.7 L 62.47 71.13 L 63.36 82.43 L 64.26 96.02 L 65.15 100.36 L 66.04 98.6 L 66.93 103.37 L 67.82 102.12 L 68.72 97.08 L 69.61 89.74 L 70.5 90.7 L 71.39 93.46 L 72.29 94.24 L 73.18 97.8 L 74.07 97.88 L 74.96 96.63 L 75.86 96.27 L 76.75 97.15 L 77.64 100.12 L 78.53 100.51 L 79.43 106.59 L 80.32 104.54 L 81.21 100.31 L 82.1 118.76 L 83 106.24 L 83.89 114.8 L 84.78 174.89 L 85.67 122.28 L 86.57 149.25 L 87.46 151.47 L 88.35 153.38 L 89.24 153.5 L 90.14 149.24 L 91.03 122.44 L 91.92 122.08 L 92.81 147.16 L 93.71 147.46 L 94.6 119.13 L 95.49 117.97 L 96.38 122.22 L 97.28 116.38 L 98.17 119.53 L 99.06 119.65 L 99.95 120.15 L 100.84 120.22 L 101.74 121.28 L 102.63 121.4 L 103.52 122.97 L 104.41 122.15 L 105.31 120.6 L 106.2 116.55 L 107.09 122.23 L 107.98 120.96 L 108.88 119.54 L 109.77 120.19 L 110.66 120.99 L 111.55 119.92 L 112.45 115.69 L 113.34 116.33 L 114.23 116.07 L 115.12 115.34 L 116.02 111.34 L 116.91 107.23 L 117.8 113.21 L 118.69 98.77 L 119.59 97.04 L 120.48 96.56 L 121.37 96.36 L 122.26 99.7 L 123.16 103.33 L 124.05 100.38 L 124.94 99.68 L 125.83 99.02 L 126.73 102.56 L 127.62 103.25 L 128.51 103.38 L 129.4 104.89 L 130.3 118.07 L 131.19 100.82 L 132.08 103.06 L 132.97 103.47 L 133.86 99.8 L 134.76 111.28 L 135.65 107.73 L 136.54 107.46 L 137.43 108.08 L 138.33 109.82 L 139.22 110.94 L 140.11 111.3 L 141 108.14 L 141.9 109.35 L 142.79 108.38 L 143.68 99.08 L 144.57 99.02 L 145.47 98.61 L 146.36 99.07 L 147.25 99.26 L 148.14 95.1 L 149.04 92.08 L 149.93 92.76 L 150.82 92.87 L 151.71 83.31 L 152.61 82.93 L 153.5 84.86 L 154.39 84.12 L 155.28 94.08 L 156.18 93.31 L 157.07 94.23 L 157.96 94.58 L 158.85 99.33 L 159.75 80 L 160.64 90.28 L 161.53 84.07 L 162.42 68.37 L 163.32 76.88 L 164.21 81.78 L 165.1 80.72 L 165.99 73.89 L 166.88 77.14 L 167.78 67.58 L 168.67 59.82 L 169.56 61.91 L 170.45 61.07 L 171.35 73.74 L 172.24 77.02 L 173.13 78.61 L 174.02 71.59 L 174.92 68.24 L 175.81 72.14 L 176.7 65.37 L 177.59 76.73 L 178.49 88.02 L 179.38 88.01 L 180.27 88.27 L 181.16 86.23 L 182.06 86.14 L 182.95 89.54 L 183.84 94.16 L 184.73 97.72 L 185.63 81.52 L 186.52 92.85 L 187.41 94.14 L 188.3 93.06 L 189.2 92.64 L 190.09 92.44 L 190.98 91.75 L 191.87 90.53 L 192.77 88.27 L 193.66 85.44 L 194.55 82.26 L 195.44 85.08 L 196.34 85.65 L 197.23 53.43 L 198.12 72.01 L 199.01 38.37 L 199.9 69.43 L 200.8 74.46 L 201.69 74.22 L 202.58 82.46 L 203.47 77.01 L 204.37 87.8 L 205.26 91.56 L 206.15 76.69 L 207.04 76.46 L 207.94 78.13 L 208.83 80.06 L 209.72 92.79 L 210.61 87.74 L 211.51 88.21 L 212.4 88.47 L 213.29 87.35 L 214.18 89.69 L 215.08 77.37 L 215.97 87.95 L 216.86 75.16 L 217.75 70.47 L 218.65 85.11 L 219.54 88.1 L 220.43 88.06 L 221.32 86.34 L 222.22 76.91 L 223.11 75.33 L 224 73.6 L 224.89 25.31 L 225.79 44.14 L 226.68 43.93 L 227.57 45.13 L 228.46 44.03 L 229.36 35.73 L 230.25 33.65 L 231.14 34.81 L 232.03 17.64 L 232.92 21.13 L 233.82 19.37 L 234.71 24.66 L 235.6 23.87 L 236.49 22.56 L 237.39 28.48 L 238.28 25.33 L 239.17 28.51 L 240.06 30.83 L 240.96 35.79 L 241.85 34.6 L 242.74 31.2 L 243.63 32.97 L 244.53 33.01 L 245.42 31.38 L 246.31 30.21 L 247.2 27.75 L 248.1 25.27 L 248.99 23 L 249.88 23 L 250 23 L 2000 0 L 2000 1000 L -1000 1000"+ vectorEffect="non-scaling-stroke"+ stroke="#34a853"+ style={{ fill: 'url(#chart-grad-_f1bJZYLUHqWpxc8Prs2meA_33)' }}+ ></path>+ </svg>+ </div>+ </div>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/components/stocks/stocks-skeleton.tsx b/examples/ts/vercel-ai-chatbot/components/stocks/stocks-skeleton.tsxnew file mode 100644index 000000000..d19ed6967--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/stocks/stocks-skeleton.tsx@@ -0,0 +1,9 @@+export const StocksSkeleton = () => {+ return (+ <div className="mb-4 flex flex-col gap-2 overflow-y-scroll pb-4 text-sm sm:flex-row">+ <div className="flex h-[60px] w-full cursor-pointer flex-row gap-2 rounded-lg bg-zinc-800 p-2 text-left hover:bg-zinc-800 sm:w-[208px]"></div>+ <div className="flex h-[60px] w-full cursor-pointer flex-row gap-2 rounded-lg bg-zinc-800 p-2 text-left hover:bg-zinc-800 sm:w-[208px]"></div>+ <div className="flex h-[60px] w-full cursor-pointer flex-row gap-2 rounded-lg bg-zinc-800 p-2 text-left hover:bg-zinc-800 sm:w-[208px]"></div>+ </div>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/components/stocks/stocks.tsx b/examples/ts/vercel-ai-chatbot/components/stocks/stocks.tsxnew file mode 100644index 000000000..a5f78262b--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/stocks/stocks.tsx@@ -0,0 +1,67 @@+'use client'++import { useActions, useUIState } from 'ai/rsc'++import type { AI } from '@/lib/chat/actions'++interface Stock {+ symbol: string+ price: number+ delta: number+}++export function Stocks({ props: stocks }: { props: Stock[] }) {+ const [, setMessages] = useUIState<typeof AI>()+ const { submitUserMessage } = useActions()++ return (+ <div>+ <div className="mb-4 flex flex-col gap-2 overflow-y-scroll pb-4 text-sm sm:flex-row">+ {stocks.map(stock => (+ <button+ key={stock.symbol}+ className="flex cursor-pointer flex-row gap-2 rounded-lg bg-zinc-800 p-2 text-left hover:bg-zinc-700 sm:w-52"+ onClick={async () => {+ const response = await submitUserMessage(`View ${stock.symbol}`)+ setMessages(currentMessages => [...currentMessages, response])+ }}+ >+ <div+ className={`text-xl ${+ stock.delta > 0 ? 'text-green-600' : 'text-red-600'+ } flex w-11 flex-row justify-center rounded-md bg-white/10 p-2`}+ >+ {stock.delta > 0 ? '↑' : '↓'}+ </div>+ <div className="flex flex-col">+ <div className="bold uppercase text-zinc-300">{stock.symbol}</div>+ <div className="text-base text-zinc-500">+ ${stock.price.toExponential(1)}+ </div>+ </div>+ <div className="ml-auto flex flex-col">+ <div+ className={`${+ stock.delta > 0 ? 'text-green-600' : 'text-red-600'+ } bold text-right uppercase`}+ >+ {` ${((stock.delta / stock.price) * 100).toExponential(1)}%`}+ </div>+ <div+ className={`${+ stock.delta > 0 ? 'text-green-700' : 'text-red-700'+ } text-right text-base`}+ >+ {stock.delta.toExponential(1)}+ </div>+ </div>+ </button>+ ))}+ </div>+ <div className="p-4 text-center text-sm text-zinc-500">+ Note: Data and latency are simulated for illustrative purposes and+ should not be considered as financial advice.+ </div>+ </div>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/components/tailwind-indicator.tsx b/examples/ts/vercel-ai-chatbot/components/tailwind-indicator.tsxnew file mode 100644index 000000000..846faa96a--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/tailwind-indicator.tsx@@ -0,0 +1,14 @@+export function TailwindIndicator() {+ if (process.env.NODE_ENV === 'production') return null++ return (+ <div className="fixed bottom-1 left-1 z-50 flex size-6 items-center justify-center rounded-full bg-gray-800 p-3 font-mono text-xs text-white">+ <div className="block sm:hidden">xs</div>+ <div className="hidden sm:block md:hidden">sm</div>+ <div className="hidden md:block lg:hidden">md</div>+ <div className="hidden lg:block xl:hidden">lg</div>+ <div className="hidden xl:block 2xl:hidden">xl</div>+ <div className="hidden 2xl:block">2xl</div>+ </div>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/components/theme-toggle.tsx b/examples/ts/vercel-ai-chatbot/components/theme-toggle.tsxnew file mode 100644index 000000000..67d3f1a2c--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/theme-toggle.tsx@@ -0,0 +1,31 @@+'use client'++import * as React from 'react'+import { useTheme } from 'next-themes'++import { Button } from '@/components/ui/button'+import { IconMoon, IconSun } from '@/components/ui/icons'++export function ThemeToggle() {+ const { setTheme, theme } = useTheme()+ const [_, startTransition] = React.useTransition()++ return (+ <Button+ variant="ghost"+ size="icon"+ onClick={() => {+ startTransition(() => {+ setTheme(theme === 'light' ? 'dark' : 'light')+ })+ }}+ >+ {!theme ? null : theme === 'dark' ? (+ <IconMoon className="transition-all" />+ ) : (+ <IconSun className="transition-all" />+ )}+ <span className="sr-only">Toggle theme</span>+ </Button>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/components/ui/alert-dialog.tsx b/examples/ts/vercel-ai-chatbot/components/ui/alert-dialog.tsxnew file mode 100644index 000000000..57760f2ee--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/ui/alert-dialog.tsx@@ -0,0 +1,141 @@+"use client"++import * as React from "react"+import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog"++import { cn } from "@/lib/utils"+import { buttonVariants } from "@/components/ui/button"++const AlertDialog = AlertDialogPrimitive.Root++const AlertDialogTrigger = AlertDialogPrimitive.Trigger++const AlertDialogPortal = AlertDialogPrimitive.Portal++const AlertDialogOverlay = React.forwardRef<+ React.ElementRef<typeof AlertDialogPrimitive.Overlay>,+ React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Overlay>+>(({ className, ...props }, ref) => (+ <AlertDialogPrimitive.Overlay+ className={cn(+ "fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",+ className+ )}+ {...props}+ ref={ref}+ />+))+AlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName++const AlertDialogContent = React.forwardRef<+ React.ElementRef<typeof AlertDialogPrimitive.Content>,+ React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content>+>(({ className, ...props }, ref) => (+ <AlertDialogPortal>+ <AlertDialogOverlay />+ <AlertDialogPrimitive.Content+ ref={ref}+ className={cn(+ "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",+ className+ )}+ {...props}+ />+ </AlertDialogPortal>+))+AlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName++const AlertDialogHeader = ({+ className,+ ...props+}: React.HTMLAttributes<HTMLDivElement>) => (+ <div+ className={cn(+ "flex flex-col space-y-2 text-center sm:text-left",+ className+ )}+ {...props}+ />+)+AlertDialogHeader.displayName = "AlertDialogHeader"++const AlertDialogFooter = ({+ className,+ ...props+}: React.HTMLAttributes<HTMLDivElement>) => (+ <div+ className={cn(+ "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",+ className+ )}+ {...props}+ />+)+AlertDialogFooter.displayName = "AlertDialogFooter"++const AlertDialogTitle = React.forwardRef<+ React.ElementRef<typeof AlertDialogPrimitive.Title>,+ React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Title>+>(({ className, ...props }, ref) => (+ <AlertDialogPrimitive.Title+ ref={ref}+ className={cn("text-lg font-semibold", className)}+ {...props}+ />+))+AlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName++const AlertDialogDescription = React.forwardRef<+ React.ElementRef<typeof AlertDialogPrimitive.Description>,+ React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Description>+>(({ className, ...props }, ref) => (+ <AlertDialogPrimitive.Description+ ref={ref}+ className={cn("text-sm text-muted-foreground", className)}+ {...props}+ />+))+AlertDialogDescription.displayName =+ AlertDialogPrimitive.Description.displayName++const AlertDialogAction = React.forwardRef<+ React.ElementRef<typeof AlertDialogPrimitive.Action>,+ React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Action>+>(({ className, ...props }, ref) => (+ <AlertDialogPrimitive.Action+ ref={ref}+ className={cn(buttonVariants(), className)}+ {...props}+ />+))+AlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName++const AlertDialogCancel = React.forwardRef<+ React.ElementRef<typeof AlertDialogPrimitive.Cancel>,+ React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Cancel>+>(({ className, ...props }, ref) => (+ <AlertDialogPrimitive.Cancel+ ref={ref}+ className={cn(+ buttonVariants({ variant: "outline" }),+ "mt-2 sm:mt-0",+ className+ )}+ {...props}+ />+))+AlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName++export {+ AlertDialog,+ AlertDialogPortal,+ AlertDialogOverlay,+ AlertDialogTrigger,+ AlertDialogContent,+ AlertDialogHeader,+ AlertDialogFooter,+ AlertDialogTitle,+ AlertDialogDescription,+ AlertDialogAction,+ AlertDialogCancel,+}diff --git a/examples/ts/vercel-ai-chatbot/components/ui/badge.tsx b/examples/ts/vercel-ai-chatbot/components/ui/badge.tsxnew file mode 100644index 000000000..e87d62bf1--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/ui/badge.tsx@@ -0,0 +1,36 @@+import * as React from "react"+import { cva, type VariantProps } from "class-variance-authority"++import { cn } from "@/lib/utils"++const badgeVariants = cva(+ "inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",+ {+ variants: {+ variant: {+ default:+ "border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",+ secondary:+ "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",+ destructive:+ "border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",+ outline: "text-foreground",+ },+ },+ defaultVariants: {+ variant: "default",+ },+ }+)++export interface BadgeProps+ extends React.HTMLAttributes<HTMLDivElement>,+ VariantProps<typeof badgeVariants> {}++function Badge({ className, variant, ...props }: BadgeProps) {+ return (+ <div className={cn(badgeVariants({ variant }), className)} {...props} />+ )+}++export { Badge, badgeVariants }diff --git a/examples/ts/vercel-ai-chatbot/components/ui/button.tsx b/examples/ts/vercel-ai-chatbot/components/ui/button.tsxnew file mode 100644index 000000000..547ae6e4a--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/ui/button.tsx@@ -0,0 +1,57 @@+import * as React from 'react'+import { Slot } from '@radix-ui/react-slot'+import { cva, type VariantProps } from 'class-variance-authority'++import { cn } from '@/lib/utils'++const buttonVariants = cva(+ 'inline-flex items-center justify-center 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',+ {+ 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: 'size-9'+ }+ },+ defaultVariants: {+ variant: 'default',+ size: 'default'+ }+ }+)++export interface ButtonProps+ extends React.ButtonHTMLAttributes<HTMLButtonElement>,+ VariantProps<typeof buttonVariants> {+ asChild?: boolean+}++const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(+ ({ className, variant, size, asChild = false, ...props }, ref) => {+ const Comp = asChild ? Slot : 'button'+ return (+ <Comp+ className={cn(buttonVariants({ variant, size, className }))}+ ref={ref}+ {...props}+ />+ )+ }+)+Button.displayName = 'Button'++export { Button, buttonVariants }diff --git a/examples/ts/vercel-ai-chatbot/components/ui/codeblock.tsx b/examples/ts/vercel-ai-chatbot/components/ui/codeblock.tsxnew file mode 100644index 000000000..1bde5acb5--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/ui/codeblock.tsx@@ -0,0 +1,148 @@+// Inspired by Chatbot-UI and modified to fit the needs of this project+// @see https://github.com/mckaywrigley/chatbot-ui/blob/main/components/Markdown/CodeBlock.tsx++'use client'++import { FC, memo } from 'react'+import { Prism as SyntaxHighlighter } from 'react-syntax-highlighter'+import { coldarkDark } from 'react-syntax-highlighter/dist/cjs/styles/prism'++import { useCopyToClipboard } from '@/lib/hooks/use-copy-to-clipboard'+import { IconCheck, IconCopy, IconDownload } from '@/components/ui/icons'+import { Button } from '@/components/ui/button'++interface Props {+ language: string+ value: string+}++interface languageMap {+ [key: string]: string | undefined+}++export const programmingLanguages: languageMap = {+ 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'+ // add more file extensions here, make sure the key is same as language prop in CodeBlock.tsx component+}++export const generateRandomString = (length: number, lowercase = false) => {+ const chars = 'ABCDEFGHJKLMNPQRSTUVWXY3456789' // excluding similar looking characters like Z, 2, I, 1, O, 0+ let result = ''+ for (let i = 0; i < length; i++) {+ result += chars.charAt(Math.floor(Math.random() * chars.length))+ }+ return lowercase ? result.toLowerCase() : result+}++const CodeBlock: FC<Props> = memo(({ language, value }) => {+ const { isCopied, copyToClipboard } = useCopyToClipboard({ timeout: 2000 })++ const downloadAsFile = () => {+ if (typeof window === 'undefined') {+ return+ }+ const fileExtension = programmingLanguages[language] || '.file'+ const suggestedFileName = `file-${generateRandomString(+ 3,+ true+ )}${fileExtension}`+ const fileName = window.prompt('Enter file name' || '', suggestedFileName)++ if (!fileName) {+ // User pressed cancel on prompt.+ return+ }++ const blob = new Blob([value], { type: 'text/plain' })+ const url = URL.createObjectURL(blob)+ const link = document.createElement('a')+ link.download = fileName+ link.href = url+ link.style.display = 'none'+ document.body.appendChild(link)+ link.click()+ document.body.removeChild(link)+ URL.revokeObjectURL(url)+ }++ const onCopy = () => {+ if (isCopied) return+ copyToClipboard(value)+ }++ return (+ <div className="relative w-full font-sans codeblock bg-zinc-950">+ <div className="flex items-center justify-between w-full px-6 py-2 pr-4 bg-zinc-800 text-zinc-100">+ <span className="text-xs lowercase">{language}</span>+ <div className="flex items-center space-x-1">+ <Button+ variant="ghost"+ className="hover:bg-zinc-800 focus-visible:ring-1 focus-visible:ring-slate-700 focus-visible:ring-offset-0"+ onClick={downloadAsFile}+ size="icon"+ >+ <IconDownload />+ <span className="sr-only">Download</span>+ </Button>+ <Button+ variant="ghost"+ size="icon"+ className="text-xs hover:bg-zinc-800 focus-visible:ring-1 focus-visible:ring-slate-700 focus-visible:ring-offset-0"+ onClick={onCopy}+ >+ {isCopied ? <IconCheck /> : <IconCopy />}+ <span className="sr-only">Copy code</span>+ </Button>+ </div>+ </div>+ <SyntaxHighlighter+ language={language}+ style={coldarkDark}+ PreTag="div"+ showLineNumbers+ customStyle={{+ margin: 0,+ width: '100%',+ background: 'transparent',+ padding: '1.5rem 1rem'+ }}+ lineNumberStyle={{+ userSelect: 'none'+ }}+ codeTagProps={{+ style: {+ fontSize: '0.9rem',+ fontFamily: 'var(--font-mono)'+ }+ }}+ >+ {value}+ </SyntaxHighlighter>+ </div>+ )+})+CodeBlock.displayName = 'CodeBlock'++export { CodeBlock }diff --git a/examples/ts/vercel-ai-chatbot/components/ui/dialog.tsx b/examples/ts/vercel-ai-chatbot/components/ui/dialog.tsxnew file mode 100644index 000000000..5ad11c87d--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/ui/dialog.tsx@@ -0,0 +1,122 @@+"use client"++import * as React from "react"+import * as DialogPrimitive from "@radix-ui/react-dialog"+import { Cross2Icon } from "@radix-ui/react-icons"++import { cn } from "@/lib/utils"++const Dialog = DialogPrimitive.Root++const DialogTrigger = DialogPrimitive.Trigger++const DialogPortal = DialogPrimitive.Portal++const DialogClose = DialogPrimitive.Close++const DialogOverlay = React.forwardRef<+ React.ElementRef<typeof DialogPrimitive.Overlay>,+ React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>+>(({ className, ...props }, ref) => (+ <DialogPrimitive.Overlay+ ref={ref}+ className={cn(+ "fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",+ className+ )}+ {...props}+ />+))+DialogOverlay.displayName = DialogPrimitive.Overlay.displayName++const DialogContent = React.forwardRef<+ React.ElementRef<typeof DialogPrimitive.Content>,+ React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>+>(({ className, children, ...props }, ref) => (+ <DialogPortal>+ <DialogOverlay />+ <DialogPrimitive.Content+ ref={ref}+ className={cn(+ "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",+ className+ )}+ {...props}+ >+ {children}+ <DialogPrimitive.Close className="absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground">+ <Cross2Icon className="size-4" />+ <span className="sr-only">Close</span>+ </DialogPrimitive.Close>+ </DialogPrimitive.Content>+ </DialogPortal>+))+DialogContent.displayName = DialogPrimitive.Content.displayName++const DialogHeader = ({+ className,+ ...props+}: React.HTMLAttributes<HTMLDivElement>) => (+ <div+ className={cn(+ "flex flex-col space-y-1.5 text-center sm:text-left",+ className+ )}+ {...props}+ />+)+DialogHeader.displayName = "DialogHeader"++const DialogFooter = ({+ className,+ ...props+}: React.HTMLAttributes<HTMLDivElement>) => (+ <div+ className={cn(+ "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",+ className+ )}+ {...props}+ />+)+DialogFooter.displayName = "DialogFooter"++const DialogTitle = React.forwardRef<+ React.ElementRef<typeof DialogPrimitive.Title>,+ React.ComponentPropsWithoutRef<typeof DialogPrimitive.Title>+>(({ className, ...props }, ref) => (+ <DialogPrimitive.Title+ ref={ref}+ className={cn(+ "text-lg font-semibold leading-none tracking-tight",+ className+ )}+ {...props}+ />+))+DialogTitle.displayName = DialogPrimitive.Title.displayName++const DialogDescription = React.forwardRef<+ React.ElementRef<typeof DialogPrimitive.Description>,+ React.ComponentPropsWithoutRef<typeof DialogPrimitive.Description>+>(({ className, ...props }, ref) => (+ <DialogPrimitive.Description+ ref={ref}+ className={cn("text-sm text-muted-foreground", className)}+ {...props}+ />+))+DialogDescription.displayName = DialogPrimitive.Description.displayName++export {+ Dialog,+ DialogPortal,+ DialogOverlay,+ DialogTrigger,+ DialogClose,+ DialogContent,+ DialogHeader,+ DialogFooter,+ DialogTitle,+ DialogDescription,+}diff --git a/examples/ts/vercel-ai-chatbot/components/ui/dropdown-menu.tsx b/examples/ts/vercel-ai-chatbot/components/ui/dropdown-menu.tsxnew file mode 100644index 000000000..1ff35de90--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/ui/dropdown-menu.tsx@@ -0,0 +1,205 @@+"use client"++import * as React from "react"+import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu"+import {+ CheckIcon,+ ChevronRightIcon,+ DotFilledIcon,+} from "@radix-ui/react-icons"++import { cn } from "@/lib/utils"++const DropdownMenu = DropdownMenuPrimitive.Root++const DropdownMenuTrigger = DropdownMenuPrimitive.Trigger++const DropdownMenuGroup = DropdownMenuPrimitive.Group++const DropdownMenuPortal = DropdownMenuPrimitive.Portal++const DropdownMenuSub = DropdownMenuPrimitive.Sub++const DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup++const DropdownMenuSubTrigger = React.forwardRef<+ React.ElementRef<typeof DropdownMenuPrimitive.SubTrigger>,+ React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubTrigger> & {+ inset?: boolean+ }+>(({ className, inset, children, ...props }, ref) => (+ <DropdownMenuPrimitive.SubTrigger+ ref={ref}+ className={cn(+ "flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",+ inset && "pl-8",+ className+ )}+ {...props}+ >+ {children}+ <ChevronRightIcon className="ml-auto size-4" />+ </DropdownMenuPrimitive.SubTrigger>+))+DropdownMenuSubTrigger.displayName =+ DropdownMenuPrimitive.SubTrigger.displayName++const DropdownMenuSubContent = React.forwardRef<+ React.ElementRef<typeof DropdownMenuPrimitive.SubContent>,+ React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubContent>+>(({ className, ...props }, ref) => (+ <DropdownMenuPrimitive.SubContent+ ref={ref}+ className={cn(+ "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",+ className+ )}+ {...props}+ />+))+DropdownMenuSubContent.displayName =+ DropdownMenuPrimitive.SubContent.displayName++const DropdownMenuContent = React.forwardRef<+ React.ElementRef<typeof DropdownMenuPrimitive.Content>,+ React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content>+>(({ className, sideOffset = 4, ...props }, ref) => (+ <DropdownMenuPrimitive.Portal>+ <DropdownMenuPrimitive.Content+ ref={ref}+ sideOffset={sideOffset}+ className={cn(+ "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",+ className+ )}+ {...props}+ />+ </DropdownMenuPrimitive.Portal>+))+DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName++const DropdownMenuItem = React.forwardRef<+ React.ElementRef<typeof DropdownMenuPrimitive.Item>,+ React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Item> & {+ inset?: boolean+ }+>(({ className, inset, ...props }, ref) => (+ <DropdownMenuPrimitive.Item+ ref={ref}+ className={cn(+ "relative flex cursor-default select-none items-center 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",+ inset && "pl-8",+ className+ )}+ {...props}+ />+))+DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName++const DropdownMenuCheckboxItem = React.forwardRef<+ React.ElementRef<typeof DropdownMenuPrimitive.CheckboxItem>,+ React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.CheckboxItem>+>(({ className, children, checked, ...props }, ref) => (+ <DropdownMenuPrimitive.CheckboxItem+ ref={ref}+ className={cn(+ "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",+ className+ )}+ checked={checked}+ {...props}+ >+ <span className="absolute left-2 flex size-3.5 items-center justify-center">+ <DropdownMenuPrimitive.ItemIndicator>+ <CheckIcon className="size-4" />+ </DropdownMenuPrimitive.ItemIndicator>+ </span>+ {children}+ </DropdownMenuPrimitive.CheckboxItem>+))+DropdownMenuCheckboxItem.displayName =+ DropdownMenuPrimitive.CheckboxItem.displayName++const DropdownMenuRadioItem = React.forwardRef<+ React.ElementRef<typeof DropdownMenuPrimitive.RadioItem>,+ React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.RadioItem>+>(({ className, children, ...props }, ref) => (+ <DropdownMenuPrimitive.RadioItem+ ref={ref}+ className={cn(+ "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",+ className+ )}+ {...props}+ >+ <span className="absolute left-2 flex size-3.5 items-center justify-center">+ <DropdownMenuPrimitive.ItemIndicator>+ <DotFilledIcon className="size-4 fill-current" />+ </DropdownMenuPrimitive.ItemIndicator>+ </span>+ {children}+ </DropdownMenuPrimitive.RadioItem>+))+DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName++const DropdownMenuLabel = React.forwardRef<+ React.ElementRef<typeof DropdownMenuPrimitive.Label>,+ React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Label> & {+ inset?: boolean+ }+>(({ className, inset, ...props }, ref) => (+ <DropdownMenuPrimitive.Label+ ref={ref}+ className={cn(+ "px-2 py-1.5 text-sm font-semibold",+ inset && "pl-8",+ className+ )}+ {...props}+ />+))+DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName++const DropdownMenuSeparator = React.forwardRef<+ React.ElementRef<typeof DropdownMenuPrimitive.Separator>,+ React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Separator>+>(({ className, ...props }, ref) => (+ <DropdownMenuPrimitive.Separator+ ref={ref}+ className={cn("-mx-1 my-1 h-px bg-muted", className)}+ {...props}+ />+))+DropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName++const DropdownMenuShortcut = ({+ className,+ ...props+}: React.HTMLAttributes<HTMLSpanElement>) => {+ return (+ <span+ className={cn("ml-auto text-xs tracking-widest opacity-60", className)}+ {...props}+ />+ )+}+DropdownMenuShortcut.displayName = "DropdownMenuShortcut"++export {+ DropdownMenu,+ DropdownMenuTrigger,+ DropdownMenuContent,+ DropdownMenuItem,+ DropdownMenuCheckboxItem,+ DropdownMenuRadioItem,+ DropdownMenuLabel,+ DropdownMenuSeparator,+ DropdownMenuShortcut,+ DropdownMenuGroup,+ DropdownMenuPortal,+ DropdownMenuSub,+ DropdownMenuSubContent,+ DropdownMenuSubTrigger,+ DropdownMenuRadioGroup,+}diff --git a/examples/ts/vercel-ai-chatbot/components/ui/icons.tsx b/examples/ts/vercel-ai-chatbot/components/ui/icons.tsxnew file mode 100644index 000000000..9d5e67936--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/ui/icons.tsx@@ -0,0 +1,507 @@+'use client'++import * as React from 'react'++import { cn } from '@/lib/utils'++function IconNextChat({+ className,+ inverted,+ ...props+}: React.ComponentProps<'svg'> & { inverted?: boolean }) {+ const id = React.useId()++ return (+ <svg+ viewBox="0 0 17 17"+ fill="none"+ xmlns="http://www.w3.org/2000/svg"+ className={cn('size-4', className)}+ {...props}+ >+ <defs>+ <linearGradient+ id={`gradient-${id}-1`}+ x1="10.6889"+ y1="10.3556"+ x2="13.8445"+ y2="14.2667"+ gradientUnits="userSpaceOnUse"+ >+ <stop stopColor={inverted ? 'white' : 'black'} />+ <stop+ offset={1}+ stopColor={inverted ? 'white' : 'black'}+ stopOpacity={0}+ />+ </linearGradient>+ <linearGradient+ id={`gradient-${id}-2`}+ x1="11.7555"+ y1="4.8"+ x2="11.7376"+ y2="9.50002"+ gradientUnits="userSpaceOnUse"+ >+ <stop stopColor={inverted ? 'white' : 'black'} />+ <stop+ offset={1}+ stopColor={inverted ? 'white' : 'black'}+ stopOpacity={0}+ />+ </linearGradient>+ </defs>+ <path+ d="M1 16L2.58314 11.2506C1.83084 9.74642 1.63835 8.02363 2.04013 6.39052C2.4419 4.75741 3.41171 3.32057 4.776 2.33712C6.1403 1.35367 7.81003 0.887808 9.4864 1.02289C11.1628 1.15798 12.7364 1.8852 13.9256 3.07442C15.1148 4.26363 15.842 5.83723 15.9771 7.5136C16.1122 9.18997 15.6463 10.8597 14.6629 12.224C13.6794 13.5883 12.2426 14.5581 10.6095 14.9599C8.97637 15.3616 7.25358 15.1692 5.74942 14.4169L1 16Z"+ fill={inverted ? 'black' : 'white'}+ stroke={inverted ? 'black' : 'white'}+ strokeWidth={2}+ strokeLinecap="round"+ strokeLinejoin="round"+ />+ <mask+ id="mask0_91_2047"+ style={{ maskType: 'alpha' }}+ maskUnits="userSpaceOnUse"+ x={1}+ y={0}+ width={16}+ height={16}+ >+ <circle cx={9} cy={8} r={8} fill={inverted ? 'black' : 'white'} />+ </mask>+ <g mask="url(#mask0_91_2047)">+ <circle cx={9} cy={8} r={8} fill={inverted ? 'black' : 'white'} />+ <path+ d="M14.2896 14.0018L7.146 4.8H5.80005V11.1973H6.87681V6.16743L13.4444 14.6529C13.7407 14.4545 14.0231 14.2369 14.2896 14.0018Z"+ fill={`url(#gradient-${id}-1)`}+ />+ <rect+ x="11.2222"+ y="4.8"+ width="1.06667"+ height="6.4"+ fill={`url(#gradient-${id}-2)`}+ />+ </g>+ </svg>+ )+}++function IconOpenAI({ className, ...props }: React.ComponentProps<'svg'>) {+ return (+ <svg+ fill="currentColor"+ viewBox="0 0 24 24"+ role="img"+ xmlns="http://www.w3.org/2000/svg"+ className={cn('size-4', className)}+ {...props}+ >+ <title>OpenAI icon</title>+ <path d="M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z" />+ </svg>+ )+}++function IconVercel({ className, ...props }: React.ComponentProps<'svg'>) {+ return (+ <svg+ aria-label="Vercel logomark"+ role="img"+ viewBox="0 0 74 64"+ className={cn('size-4', className)}+ {...props}+ >+ <path+ d="M37.5896 0.25L74.5396 64.25H0.639648L37.5896 0.25Z"+ fill="currentColor"+ ></path>+ </svg>+ )+}++function IconGitHub({ className, ...props }: React.ComponentProps<'svg'>) {+ return (+ <svg+ role="img"+ viewBox="0 0 24 24"+ xmlns="http://www.w3.org/2000/svg"+ fill="currentColor"+ className={cn('size-4', className)}+ {...props}+ >+ <title>GitHub</title>+ <path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12" />+ </svg>+ )+}++function IconSeparator({ className, ...props }: React.ComponentProps<'svg'>) {+ return (+ <svg+ fill="none"+ shapeRendering="geometricPrecision"+ stroke="currentColor"+ strokeLinecap="round"+ strokeLinejoin="round"+ strokeWidth="1"+ viewBox="0 0 24 24"+ aria-hidden="true"+ className={cn('size-4', className)}+ {...props}+ >+ <path d="M16.88 3.549L7.12 20.451"></path>+ </svg>+ )+}++function IconArrowDown({ className, ...props }: React.ComponentProps<'svg'>) {+ return (+ <svg+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 256 256"+ fill="currentColor"+ className={cn('size-4', className)}+ {...props}+ >+ <path d="m205.66 149.66-72 72a8 8 0 0 1-11.32 0l-72-72a8 8 0 0 1 11.32-11.32L120 196.69V40a8 8 0 0 1 16 0v156.69l58.34-58.35a8 8 0 0 1 11.32 11.32Z" />+ </svg>+ )+}++function IconArrowRight({ className, ...props }: React.ComponentProps<'svg'>) {+ return (+ <svg+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 256 256"+ fill="currentColor"+ className={cn('size-4', className)}+ {...props}+ >+ <path d="m221.66 133.66-72 72a8 8 0 0 1-11.32-11.32L196.69 136H40a8 8 0 0 1 0-16h156.69l-58.35-58.34a8 8 0 0 1 11.32-11.32l72 72a8 8 0 0 1 0 11.32Z" />+ </svg>+ )+}++function IconUser({ className, ...props }: React.ComponentProps<'svg'>) {+ return (+ <svg+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 256 256"+ fill="currentColor"+ className={cn('size-4', className)}+ {...props}+ >+ <path d="M230.92 212c-15.23-26.33-38.7-45.21-66.09-54.16a72 72 0 1 0-73.66 0c-27.39 8.94-50.86 27.82-66.09 54.16a8 8 0 1 0 13.85 8c18.84-32.56 52.14-52 89.07-52s70.23 19.44 89.07 52a8 8 0 1 0 13.85-8ZM72 96a56 56 0 1 1 56 56 56.06 56.06 0 0 1-56-56Z" />+ </svg>+ )+}++function IconPlus({ className, ...props }: React.ComponentProps<'svg'>) {+ return (+ <svg+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 256 256"+ fill="currentColor"+ className={cn('size-4', className)}+ {...props}+ >+ <path d="M224 128a8 8 0 0 1-8 8h-80v80a8 8 0 0 1-16 0v-80H40a8 8 0 0 1 0-16h80V40a8 8 0 0 1 16 0v80h80a8 8 0 0 1 8 8Z" />+ </svg>+ )+}++function IconArrowElbow({ className, ...props }: React.ComponentProps<'svg'>) {+ return (+ <svg+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 256 256"+ fill="currentColor"+ className={cn('size-4', className)}+ {...props}+ >+ <path d="M200 32v144a8 8 0 0 1-8 8H67.31l34.35 34.34a8 8 0 0 1-11.32 11.32l-48-48a8 8 0 0 1 0-11.32l48-48a8 8 0 0 1 11.32 11.32L67.31 168H184V32a8 8 0 0 1 16 0Z" />+ </svg>+ )+}++function IconSpinner({ className, ...props }: React.ComponentProps<'svg'>) {+ return (+ <svg+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 256 256"+ fill="currentColor"+ className={cn('size-4 animate-spin', className)}+ {...props}+ >+ <path d="M232 128a104 104 0 0 1-208 0c0-41 23.81-78.36 60.66-95.27a8 8 0 0 1 6.68 14.54C60.15 61.59 40 93.27 40 128a88 88 0 0 0 176 0c0-34.73-20.15-66.41-51.34-80.73a8 8 0 0 1 6.68-14.54C208.19 49.64 232 87 232 128Z" />+ </svg>+ )+}++function IconMessage({ className, ...props }: React.ComponentProps<'svg'>) {+ return (+ <svg+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 256 256"+ fill="currentColor"+ className={cn('size-4', className)}+ {...props}+ >+ <path d="M216 48H40a16 16 0 0 0-16 16v160a15.84 15.84 0 0 0 9.25 14.5A16.05 16.05 0 0 0 40 240a15.89 15.89 0 0 0 10.25-3.78.69.69 0 0 0 .13-.11L82.5 208H216a16 16 0 0 0 16-16V64a16 16 0 0 0-16-16ZM40 224Zm176-32H82.5a16 16 0 0 0-10.3 3.75l-.12.11L40 224V64h176Z" />+ </svg>+ )+}++function IconTrash({ className, ...props }: React.ComponentProps<'svg'>) {+ return (+ <svg+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 256 256"+ fill="currentColor"+ className={cn('size-4', className)}+ {...props}+ >+ <path d="M216 48h-40v-8a24 24 0 0 0-24-24h-48a24 24 0 0 0-24 24v8H40a8 8 0 0 0 0 16h8v144a16 16 0 0 0 16 16h128a16 16 0 0 0 16-16V64h8a8 8 0 0 0 0-16ZM96 40a8 8 0 0 1 8-8h48a8 8 0 0 1 8 8v8H96Zm96 168H64V64h128Zm-80-104v64a8 8 0 0 1-16 0v-64a8 8 0 0 1 16 0Zm48 0v64a8 8 0 0 1-16 0v-64a8 8 0 0 1 16 0Z" />+ </svg>+ )+}++function IconRefresh({ className, ...props }: React.ComponentProps<'svg'>) {+ return (+ <svg+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 256 256"+ fill="currentColor"+ className={cn('size-4', className)}+ {...props}+ >+ <path d="M197.67 186.37a8 8 0 0 1 0 11.29C196.58 198.73 170.82 224 128 224c-37.39 0-64.53-22.4-80-39.85V208a8 8 0 0 1-16 0v-48a8 8 0 0 1 8-8h48a8 8 0 0 1 0 16H55.44C67.76 183.35 93 208 128 208c36 0 58.14-21.46 58.36-21.68a8 8 0 0 1 11.31.05ZM216 40a8 8 0 0 0-8 8v23.85C192.53 54.4 165.39 32 128 32c-42.82 0-68.58 25.27-69.66 26.34a8 8 0 0 0 11.3 11.34C69.86 69.46 92 48 128 48c35 0 60.24 24.65 72.56 40H168a8 8 0 0 0 0 16h48a8 8 0 0 0 8-8V48a8 8 0 0 0-8-8Z" />+ </svg>+ )+}++function IconStop({ className, ...props }: React.ComponentProps<'svg'>) {+ return (+ <svg+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 256 256"+ fill="currentColor"+ className={cn('size-4', className)}+ {...props}+ >+ <path d="M128 24a104 104 0 1 0 104 104A104.11 104.11 0 0 0 128 24Zm0 192a88 88 0 1 1 88-88 88.1 88.1 0 0 1-88 88Zm24-120h-48a8 8 0 0 0-8 8v48a8 8 0 0 0 8 8h48a8 8 0 0 0 8-8v-48a8 8 0 0 0-8-8Zm-8 48h-32v-32h32Z" />+ </svg>+ )+}++function IconSidebar({ className, ...props }: React.ComponentProps<'svg'>) {+ return (+ <svg+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 256 256"+ fill="currentColor"+ className={cn('size-4', className)}+ {...props}+ >+ <path d="M216 40H40a16 16 0 0 0-16 16v144a16 16 0 0 0 16 16h176a16 16 0 0 0 16-16V56a16 16 0 0 0-16-16ZM40 56h40v144H40Zm176 144H96V56h120v144Z" />+ </svg>+ )+}++function IconMoon({ className, ...props }: React.ComponentProps<'svg'>) {+ return (+ <svg+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 256 256"+ fill="currentColor"+ className={cn('size-4', className)}+ {...props}+ >+ <path d="M233.54 142.23a8 8 0 0 0-8-2 88.08 88.08 0 0 1-109.8-109.8 8 8 0 0 0-10-10 104.84 104.84 0 0 0-52.91 37A104 104 0 0 0 136 224a103.09 103.09 0 0 0 62.52-20.88 104.84 104.84 0 0 0 37-52.91 8 8 0 0 0-1.98-7.98Zm-44.64 48.11A88 88 0 0 1 65.66 67.11a89 89 0 0 1 31.4-26A106 106 0 0 0 96 56a104.11 104.11 0 0 0 104 104 106 106 0 0 0 14.92-1.06 89 89 0 0 1-26.02 31.4Z" />+ </svg>+ )+}++function IconSun({ className, ...props }: React.ComponentProps<'svg'>) {+ return (+ <svg+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 256 256"+ fill="currentColor"+ className={cn('size-4', className)}+ {...props}+ >+ <path d="M120 40V16a8 8 0 0 1 16 0v24a8 8 0 0 1-16 0Zm72 88a64 64 0 1 1-64-64 64.07 64.07 0 0 1 64 64Zm-16 0a48 48 0 1 0-48 48 48.05 48.05 0 0 0 48-48ZM58.34 69.66a8 8 0 0 0 11.32-11.32l-16-16a8 8 0 0 0-11.32 11.32Zm0 116.68-16 16a8 8 0 0 0 11.32 11.32l16-16a8 8 0 0 0-11.32-11.32ZM192 72a8 8 0 0 0 5.66-2.34l16-16a8 8 0 0 0-11.32-11.32l-16 16A8 8 0 0 0 192 72Zm5.66 114.34a8 8 0 0 0-11.32 11.32l16 16a8 8 0 0 0 11.32-11.32ZM48 128a8 8 0 0 0-8-8H16a8 8 0 0 0 0 16h24a8 8 0 0 0 8-8Zm80 80a8 8 0 0 0-8 8v24a8 8 0 0 0 16 0v-24a8 8 0 0 0-8-8Zm112-88h-24a8 8 0 0 0 0 16h24a8 8 0 0 0 0-16Z" />+ </svg>+ )+}++function IconCopy({ className, ...props }: React.ComponentProps<'svg'>) {+ return (+ <svg+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 256 256"+ fill="currentColor"+ className={cn('size-4', className)}+ {...props}+ >+ <path d="M216 32H88a8 8 0 0 0-8 8v40H40a8 8 0 0 0-8 8v128a8 8 0 0 0 8 8h128a8 8 0 0 0 8-8v-40h40a8 8 0 0 0 8-8V40a8 8 0 0 0-8-8Zm-56 176H48V96h112Zm48-48h-32V88a8 8 0 0 0-8-8H96V48h112Z" />+ </svg>+ )+}++function IconCheck({ className, ...props }: React.ComponentProps<'svg'>) {+ return (+ <svg+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 256 256"+ fill="currentColor"+ className={cn('size-4', className)}+ {...props}+ >+ <path d="m229.66 77.66-128 128a8 8 0 0 1-11.32 0l-56-56a8 8 0 0 1 11.32-11.32L96 188.69 218.34 66.34a8 8 0 0 1 11.32 11.32Z" />+ </svg>+ )+}++function IconDownload({ className, ...props }: React.ComponentProps<'svg'>) {+ return (+ <svg+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 256 256"+ fill="currentColor"+ className={cn('size-4', className)}+ {...props}+ >+ <path d="M224 152v56a16 16 0 0 1-16 16H48a16 16 0 0 1-16-16v-56a8 8 0 0 1 16 0v56h160v-56a8 8 0 0 1 16 0Zm-101.66 5.66a8 8 0 0 0 11.32 0l40-40a8 8 0 0 0-11.32-11.32L136 132.69V40a8 8 0 0 0-16 0v92.69l-26.34-26.35a8 8 0 0 0-11.32 11.32Z" />+ </svg>+ )+}++function IconClose({ className, ...props }: React.ComponentProps<'svg'>) {+ return (+ <svg+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 256 256"+ fill="currentColor"+ className={cn('size-4', className)}+ {...props}+ >+ <path d="M205.66 194.34a8 8 0 0 1-11.32 11.32L128 139.31l-66.34 66.35a8 8 0 0 1-11.32-11.32L116.69 128 50.34 61.66a8 8 0 0 1 11.32-11.32L128 116.69l66.34-66.35a8 8 0 0 1 11.32 11.32L139.31 128Z" />+ </svg>+ )+}++function IconEdit({ className, ...props }: React.ComponentProps<'svg'>) {+ return (+ <svg+ xmlns="http://www.w3.org/2000/svg"+ fill="none"+ viewBox="0 0 24 24"+ strokeWidth={1.5}+ stroke="currentColor"+ className={cn('size-4', className)}+ {...props}+ >+ <path+ strokeLinecap="round"+ strokeLinejoin="round"+ d="M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L10.582 16.07a4.5 4.5 0 01-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 011.13-1.897l8.932-8.931zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0115.75 21H5.25A2.25 2.25 0 013 18.75V8.25A2.25 2.25 0 015.25 6H10"+ />+ </svg>+ )+}++function IconShare({ className, ...props }: React.ComponentProps<'svg'>) {+ return (+ <svg+ xmlns="http://www.w3.org/2000/svg"+ fill="currentColor"+ className={cn('size-4', className)}+ viewBox="0 0 256 256"+ {...props}+ >+ <path d="m237.66 106.35-80-80A8 8 0 0 0 144 32v40.35c-25.94 2.22-54.59 14.92-78.16 34.91-28.38 24.08-46.05 55.11-49.76 87.37a12 12 0 0 0 20.68 9.58c11-11.71 50.14-48.74 107.24-52V192a8 8 0 0 0 13.66 5.65l80-80a8 8 0 0 0 0-11.3ZM160 172.69V144a8 8 0 0 0-8-8c-28.08 0-55.43 7.33-81.29 21.8a196.17 196.17 0 0 0-36.57 26.52c5.8-23.84 20.42-46.51 42.05-64.86C99.41 99.77 127.75 88 152 88a8 8 0 0 0 8-8V51.32L220.69 112Z" />+ </svg>+ )+}++function IconUsers({ className, ...props }: React.ComponentProps<'svg'>) {+ return (+ <svg+ xmlns="http://www.w3.org/2000/svg"+ fill="currentColor"+ className={cn('size-4', className)}+ viewBox="0 0 256 256"+ {...props}+ >+ <path d="M117.25 157.92a60 60 0 1 0-66.5 0 95.83 95.83 0 0 0-47.22 37.71 8 8 0 1 0 13.4 8.74 80 80 0 0 1 134.14 0 8 8 0 0 0 13.4-8.74 95.83 95.83 0 0 0-47.22-37.71ZM40 108a44 44 0 1 1 44 44 44.05 44.05 0 0 1-44-44Zm210.14 98.7a8 8 0 0 1-11.07-2.33A79.83 79.83 0 0 0 172 168a8 8 0 0 1 0-16 44 44 0 1 0-16.34-84.87 8 8 0 1 1-5.94-14.85 60 60 0 0 1 55.53 105.64 95.83 95.83 0 0 1 47.22 37.71 8 8 0 0 1-2.33 11.07Z" />+ </svg>+ )+}++function IconExternalLink({+ className,+ ...props+}: React.ComponentProps<'svg'>) {+ return (+ <svg+ xmlns="http://www.w3.org/2000/svg"+ fill="currentColor"+ className={cn('size-4', className)}+ viewBox="0 0 256 256"+ {...props}+ >+ <path d="M224 104a8 8 0 0 1-16 0V59.32l-66.33 66.34a8 8 0 0 1-11.32-11.32L196.68 48H152a8 8 0 0 1 0-16h64a8 8 0 0 1 8 8Zm-40 24a8 8 0 0 0-8 8v72H48V80h72a8 8 0 0 0 0-16H48a16 16 0 0 0-16 16v128a16 16 0 0 0 16 16h128a16 16 0 0 0 16-16v-72a8 8 0 0 0-8-8Z" />+ </svg>+ )+}++function IconChevronUpDown({+ className,+ ...props+}: React.ComponentProps<'svg'>) {+ return (+ <svg+ xmlns="http://www.w3.org/2000/svg"+ fill="currentColor"+ className={cn('size-4', className)}+ viewBox="0 0 256 256"+ {...props}+ >+ <path d="M181.66 170.34a8 8 0 0 1 0 11.32l-48 48a8 8 0 0 1-11.32 0l-48-48a8 8 0 0 1 11.32-11.32L128 212.69l42.34-42.35a8 8 0 0 1 11.32 0Zm-96-84.68L128 43.31l42.34 42.35a8 8 0 0 0 11.32-11.32l-48-48a8 8 0 0 0-11.32 0l-48 48a8 8 0 0 0 11.32 11.32Z" />+ </svg>+ )+}++export {+ IconEdit,+ IconNextChat,+ IconOpenAI,+ IconVercel,+ IconGitHub,+ IconSeparator,+ IconArrowDown,+ IconArrowRight,+ IconUser,+ IconPlus,+ IconArrowElbow,+ IconSpinner,+ IconMessage,+ IconTrash,+ IconRefresh,+ IconStop,+ IconSidebar,+ IconMoon,+ IconSun,+ IconCopy,+ IconCheck,+ IconDownload,+ IconClose,+ IconShare,+ IconUsers,+ IconExternalLink,+ IconChevronUpDown+}diff --git a/examples/ts/vercel-ai-chatbot/components/ui/input.tsx b/examples/ts/vercel-ai-chatbot/components/ui/input.tsxnew file mode 100644index 000000000..a92b8e0e5--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/ui/input.tsx@@ -0,0 +1,25 @@+import * as React from "react"++import { cn } from "@/lib/utils"++export interface InputProps+ extends React.InputHTMLAttributes<HTMLInputElement> {}++const Input = React.forwardRef<HTMLInputElement, InputProps>(+ ({ className, type, ...props }, ref) => {+ return (+ <input+ type={type}+ className={cn(+ "flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",+ className+ )}+ ref={ref}+ {...props}+ />+ )+ }+)+Input.displayName = "Input"++export { Input }diff --git a/examples/ts/vercel-ai-chatbot/components/ui/label.tsx b/examples/ts/vercel-ai-chatbot/components/ui/label.tsxnew file mode 100644index 000000000..534182176--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/ui/label.tsx@@ -0,0 +1,26 @@+"use client"++import * as React from "react"+import * as LabelPrimitive from "@radix-ui/react-label"+import { cva, type VariantProps } from "class-variance-authority"++import { cn } from "@/lib/utils"++const labelVariants = cva(+ "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"+)++const Label = React.forwardRef<+ React.ElementRef<typeof LabelPrimitive.Root>,+ React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root> &+ VariantProps<typeof labelVariants>+>(({ className, ...props }, ref) => (+ <LabelPrimitive.Root+ ref={ref}+ className={cn(labelVariants(), className)}+ {...props}+ />+))+Label.displayName = LabelPrimitive.Root.displayName++export { Label }diff --git a/examples/ts/vercel-ai-chatbot/components/ui/select.tsx b/examples/ts/vercel-ai-chatbot/components/ui/select.tsxnew file mode 100644index 000000000..f48924211--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/ui/select.tsx@@ -0,0 +1,164 @@+"use client"++import * as React from "react"+import {+ CaretSortIcon,+ CheckIcon,+ ChevronDownIcon,+ ChevronUpIcon,+} from "@radix-ui/react-icons"+import * as SelectPrimitive from "@radix-ui/react-select"++import { cn } from "@/lib/utils"++const Select = SelectPrimitive.Root++const SelectGroup = SelectPrimitive.Group++const SelectValue = SelectPrimitive.Value++const SelectTrigger = React.forwardRef<+ React.ElementRef<typeof SelectPrimitive.Trigger>,+ React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>+>(({ className, children, ...props }, ref) => (+ <SelectPrimitive.Trigger+ ref={ref}+ className={cn(+ "flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",+ className+ )}+ {...props}+ >+ {children}+ <SelectPrimitive.Icon asChild>+ <CaretSortIcon className="size-4 opacity-50" />+ </SelectPrimitive.Icon>+ </SelectPrimitive.Trigger>+))+SelectTrigger.displayName = SelectPrimitive.Trigger.displayName++const SelectScrollUpButton = React.forwardRef<+ React.ElementRef<typeof SelectPrimitive.ScrollUpButton>,+ React.ComponentPropsWithoutRef<typeof SelectPrimitive.ScrollUpButton>+>(({ className, ...props }, ref) => (+ <SelectPrimitive.ScrollUpButton+ ref={ref}+ className={cn(+ "flex cursor-default items-center justify-center py-1",+ className+ )}+ {...props}+ >+ <ChevronUpIcon />+ </SelectPrimitive.ScrollUpButton>+))+SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName++const SelectScrollDownButton = React.forwardRef<+ React.ElementRef<typeof SelectPrimitive.ScrollDownButton>,+ React.ComponentPropsWithoutRef<typeof SelectPrimitive.ScrollDownButton>+>(({ className, ...props }, ref) => (+ <SelectPrimitive.ScrollDownButton+ ref={ref}+ className={cn(+ "flex cursor-default items-center justify-center py-1",+ className+ )}+ {...props}+ >+ <ChevronDownIcon />+ </SelectPrimitive.ScrollDownButton>+))+SelectScrollDownButton.displayName =+ SelectPrimitive.ScrollDownButton.displayName++const SelectContent = React.forwardRef<+ React.ElementRef<typeof SelectPrimitive.Content>,+ React.ComponentPropsWithoutRef<typeof SelectPrimitive.Content>+>(({ className, children, position = "popper", ...props }, ref) => (+ <SelectPrimitive.Portal>+ <SelectPrimitive.Content+ ref={ref}+ className={cn(+ "relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover 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",+ position === "popper" &&+ "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",+ className+ )}+ position={position}+ {...props}+ >+ <SelectScrollUpButton />+ <SelectPrimitive.Viewport+ className={cn(+ "p-1",+ position === "popper" &&+ "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"+ )}+ >+ {children}+ </SelectPrimitive.Viewport>+ <SelectScrollDownButton />+ </SelectPrimitive.Content>+ </SelectPrimitive.Portal>+))+SelectContent.displayName = SelectPrimitive.Content.displayName++const SelectLabel = React.forwardRef<+ React.ElementRef<typeof SelectPrimitive.Label>,+ React.ComponentPropsWithoutRef<typeof SelectPrimitive.Label>+>(({ className, ...props }, ref) => (+ <SelectPrimitive.Label+ ref={ref}+ className={cn("px-2 py-1.5 text-sm font-semibold", className)}+ {...props}+ />+))+SelectLabel.displayName = SelectPrimitive.Label.displayName++const SelectItem = React.forwardRef<+ React.ElementRef<typeof SelectPrimitive.Item>,+ React.ComponentPropsWithoutRef<typeof SelectPrimitive.Item>+>(({ className, children, ...props }, ref) => (+ <SelectPrimitive.Item+ ref={ref}+ className={cn(+ "relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",+ className+ )}+ {...props}+ >+ <span className="absolute right-2 flex size-3.5 items-center justify-center">+ <SelectPrimitive.ItemIndicator>+ <CheckIcon className="size-4" />+ </SelectPrimitive.ItemIndicator>+ </span>+ <SelectPrimitive.ItemText>{children}</SelectPrimitive.ItemText>+ </SelectPrimitive.Item>+))+SelectItem.displayName = SelectPrimitive.Item.displayName++const SelectSeparator = React.forwardRef<+ React.ElementRef<typeof SelectPrimitive.Separator>,+ React.ComponentPropsWithoutRef<typeof SelectPrimitive.Separator>+>(({ className, ...props }, ref) => (+ <SelectPrimitive.Separator+ ref={ref}+ className={cn("-mx-1 my-1 h-px bg-muted", className)}+ {...props}+ />+))+SelectSeparator.displayName = SelectPrimitive.Separator.displayName++export {+ Select,+ SelectGroup,+ SelectValue,+ SelectTrigger,+ SelectContent,+ SelectLabel,+ SelectItem,+ SelectSeparator,+ SelectScrollUpButton,+ SelectScrollDownButton,+}diff --git a/examples/ts/vercel-ai-chatbot/components/ui/separator.tsx b/examples/ts/vercel-ai-chatbot/components/ui/separator.tsxnew file mode 100644index 000000000..12d81c4a8--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/ui/separator.tsx@@ -0,0 +1,31 @@+"use client"++import * as React from "react"+import * as SeparatorPrimitive from "@radix-ui/react-separator"++import { cn } from "@/lib/utils"++const Separator = React.forwardRef<+ React.ElementRef<typeof SeparatorPrimitive.Root>,+ React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>+>(+ (+ { className, orientation = "horizontal", decorative = true, ...props },+ ref+ ) => (+ <SeparatorPrimitive.Root+ ref={ref}+ decorative={decorative}+ orientation={orientation}+ className={cn(+ "shrink-0 bg-border",+ orientation === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]",+ className+ )}+ {...props}+ />+ )+)+Separator.displayName = SeparatorPrimitive.Root.displayName++export { Separator }diff --git a/examples/ts/vercel-ai-chatbot/components/ui/sheet.tsx b/examples/ts/vercel-ai-chatbot/components/ui/sheet.tsxnew file mode 100644index 000000000..a16275cb3--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/ui/sheet.tsx@@ -0,0 +1,140 @@+"use client"++import * as React from "react"+import * as SheetPrimitive from "@radix-ui/react-dialog"+import { Cross2Icon } from "@radix-ui/react-icons"+import { cva, type VariantProps } from "class-variance-authority"++import { cn } from "@/lib/utils"++const Sheet = SheetPrimitive.Root++const SheetTrigger = SheetPrimitive.Trigger++const SheetClose = SheetPrimitive.Close++const SheetPortal = SheetPrimitive.Portal++const SheetOverlay = React.forwardRef<+ React.ElementRef<typeof SheetPrimitive.Overlay>,+ React.ComponentPropsWithoutRef<typeof SheetPrimitive.Overlay>+>(({ className, ...props }, ref) => (+ <SheetPrimitive.Overlay+ className={cn(+ "fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",+ className+ )}+ {...props}+ ref={ref}+ />+))+SheetOverlay.displayName = SheetPrimitive.Overlay.displayName++const sheetVariants = cva(+ "fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",+ {+ variants: {+ side: {+ top: "inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",+ bottom:+ "inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",+ left: "inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",+ right:+ "inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm",+ },+ },+ defaultVariants: {+ side: "right",+ },+ }+)++interface SheetContentProps+ extends React.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>,+ VariantProps<typeof sheetVariants> {}++const SheetContent = React.forwardRef<+ React.ElementRef<typeof SheetPrimitive.Content>,+ SheetContentProps+>(({ side = "right", className, children, ...props }, ref) => (+ <SheetPortal>+ <SheetOverlay />+ <SheetPrimitive.Content+ ref={ref}+ className={cn(sheetVariants({ side }), className)}+ {...props}+ >+ {children}+ <SheetPrimitive.Close className="absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary">+ <Cross2Icon className="size-4" />+ <span className="sr-only">Close</span>+ </SheetPrimitive.Close>+ </SheetPrimitive.Content>+ </SheetPortal>+))+SheetContent.displayName = SheetPrimitive.Content.displayName++const SheetHeader = ({+ className,+ ...props+}: React.HTMLAttributes<HTMLDivElement>) => (+ <div+ className={cn(+ "flex flex-col space-y-2 text-center sm:text-left",+ className+ )}+ {...props}+ />+)+SheetHeader.displayName = "SheetHeader"++const SheetFooter = ({+ className,+ ...props+}: React.HTMLAttributes<HTMLDivElement>) => (+ <div+ className={cn(+ "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",+ className+ )}+ {...props}+ />+)+SheetFooter.displayName = "SheetFooter"++const SheetTitle = React.forwardRef<+ React.ElementRef<typeof SheetPrimitive.Title>,+ React.ComponentPropsWithoutRef<typeof SheetPrimitive.Title>+>(({ className, ...props }, ref) => (+ <SheetPrimitive.Title+ ref={ref}+ className={cn("text-lg font-semibold text-foreground", className)}+ {...props}+ />+))+SheetTitle.displayName = SheetPrimitive.Title.displayName++const SheetDescription = React.forwardRef<+ React.ElementRef<typeof SheetPrimitive.Description>,+ React.ComponentPropsWithoutRef<typeof SheetPrimitive.Description>+>(({ className, ...props }, ref) => (+ <SheetPrimitive.Description+ ref={ref}+ className={cn("text-sm text-muted-foreground", className)}+ {...props}+ />+))+SheetDescription.displayName = SheetPrimitive.Description.displayName++export {+ Sheet,+ SheetPortal,+ SheetOverlay,+ SheetTrigger,+ SheetClose,+ SheetContent,+ SheetHeader,+ SheetFooter,+ SheetTitle,+ SheetDescription,+}diff --git a/examples/ts/vercel-ai-chatbot/components/ui/sonner.tsx b/examples/ts/vercel-ai-chatbot/components/ui/sonner.tsxnew file mode 100644index 000000000..452f4d9f0--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/ui/sonner.tsx@@ -0,0 +1,31 @@+"use client"++import { useTheme } from "next-themes"+import { Toaster as Sonner } from "sonner"++type ToasterProps = React.ComponentProps<typeof Sonner>++const Toaster = ({ ...props }: ToasterProps) => {+ const { theme = "system" } = useTheme()++ return (+ <Sonner+ theme={theme as ToasterProps["theme"]}+ className="toaster group"+ toastOptions={{+ classNames: {+ toast:+ "group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",+ description: "group-[.toast]:text-muted-foreground",+ actionButton:+ "group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",+ cancelButton:+ "group-[.toast]:bg-muted group-[.toast]:text-muted-foreground",+ },+ }}+ {...props}+ />+ )+}++export { Toaster }diff --git a/examples/ts/vercel-ai-chatbot/components/ui/switch.tsx b/examples/ts/vercel-ai-chatbot/components/ui/switch.tsxnew file mode 100644index 000000000..37d61e4bf--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/ui/switch.tsx@@ -0,0 +1,29 @@+"use client"++import * as React from "react"+import * as SwitchPrimitives from "@radix-ui/react-switch"++import { cn } from "@/lib/utils"++const Switch = React.forwardRef<+ React.ElementRef<typeof SwitchPrimitives.Root>,+ React.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root>+>(({ className, ...props }, ref) => (+ <SwitchPrimitives.Root+ className={cn(+ "peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",+ className+ )}+ {...props}+ ref={ref}+ >+ <SwitchPrimitives.Thumb+ className={cn(+ "pointer-events-none block size-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0"+ )}+ />+ </SwitchPrimitives.Root>+))+Switch.displayName = SwitchPrimitives.Root.displayName++export { Switch }diff --git a/examples/ts/vercel-ai-chatbot/components/ui/textarea.tsx b/examples/ts/vercel-ai-chatbot/components/ui/textarea.tsxnew file mode 100644index 000000000..d1258e47a--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/ui/textarea.tsx@@ -0,0 +1,24 @@+import * as React from "react"++import { cn } from "@/lib/utils"++export interface TextareaProps+ extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {}++const Textarea = React.forwardRef<HTMLTextAreaElement, TextareaProps>(+ ({ className, ...props }, ref) => {+ return (+ <textarea+ className={cn(+ "flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",+ className+ )}+ ref={ref}+ {...props}+ />+ )+ }+)+Textarea.displayName = "Textarea"++export { Textarea }diff --git a/examples/ts/vercel-ai-chatbot/components/ui/tooltip.tsx b/examples/ts/vercel-ai-chatbot/components/ui/tooltip.tsxnew file mode 100644index 000000000..9e7482103--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/ui/tooltip.tsx@@ -0,0 +1,30 @@+"use client"++import * as React from "react"+import * as TooltipPrimitive from "@radix-ui/react-tooltip"++import { cn } from "@/lib/utils"++const TooltipProvider = TooltipPrimitive.Provider++const Tooltip = TooltipPrimitive.Root++const TooltipTrigger = TooltipPrimitive.Trigger++const TooltipContent = React.forwardRef<+ React.ElementRef<typeof TooltipPrimitive.Content>,+ React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>+>(({ className, sideOffset = 4, ...props }, ref) => (+ <TooltipPrimitive.Content+ ref={ref}+ sideOffset={sideOffset}+ className={cn(+ "z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground 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",+ className+ )}+ {...props}+ />+))+TooltipContent.displayName = TooltipPrimitive.Content.displayName++export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider }diff --git a/examples/ts/vercel-ai-chatbot/components/user-menu.tsx b/examples/ts/vercel-ai-chatbot/components/user-menu.tsxnew file mode 100644index 000000000..3ad28f034--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/components/user-menu.tsx@@ -0,0 +1,53 @@+import { type Session } from '@/lib/types'++import { Button } from '@/components/ui/button'+import {+ DropdownMenu,+ DropdownMenuContent,+ DropdownMenuItem,+ DropdownMenuSeparator,+ DropdownMenuTrigger+} from '@/components/ui/dropdown-menu'+import { signOut } from '@/auth'++export interface UserMenuProps {+ user: Session['user']+}++function getUserInitials(name: string) {+ const [firstName, lastName] = name.split(' ')+ return lastName ? `${firstName[0]}${lastName[0]}` : firstName.slice(0, 2)+}++export function UserMenu({ user }: UserMenuProps) {+ return (+ <div className="flex items-center justify-between">+ <DropdownMenu>+ <DropdownMenuTrigger asChild>+ <Button variant="ghost" className="pl-0">+ <div className="flex size-7 shrink-0 select-none items-center justify-center rounded-full bg-muted/50 text-xs font-medium uppercase text-muted-foreground">+ {getUserInitials(user.email)}+ </div>+ <span className="ml-2 hidden md:block">{user.email}</span>+ </Button>+ </DropdownMenuTrigger>+ <DropdownMenuContent sideOffset={8} align="start" className="w-fit">+ <DropdownMenuItem className="flex-col items-start">+ <div className="text-xs text-zinc-500">{user.email}</div>+ </DropdownMenuItem>+ <DropdownMenuSeparator />+ <form+ action={async () => {+ 'use server'+ await signOut()+ }}+ >+ <button className=" relative flex w-full cursor-pointer select-none items-center rounded-sm px-2 py-1.5 text-xs outline-none transition-colors hover:bg-red-500 hover:text-white focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50">+ Sign Out+ </button>+ </form>+ </DropdownMenuContent>+ </DropdownMenu>+ </div>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/lib/chat/actions.tsx b/examples/ts/vercel-ai-chatbot/lib/chat/actions.tsxnew file mode 100644index 000000000..a7aa57729--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/lib/chat/actions.tsx@@ -0,0 +1,703 @@+import 'server-only'++import {+ createAI,+ createStreamableUI,+ getMutableAIState,+ getAIState,+ streamUI,+ createStreamableValue+} from 'ai/rsc'+import { openai } from '@ai-sdk/openai'++import {+ spinner,+ BotCard,+ BotMessage,+ SystemMessage,+ Stock,+ Purchase+} from '@/components/stocks'++import { z } from 'zod'+import { EventsSkeleton } from '@/components/stocks/events-skeleton'+import { Events } from '@/components/stocks/events'+import { StocksSkeleton } from '@/components/stocks/stocks-skeleton'+import { Stocks } from '@/components/stocks/stocks'+import { StockSkeleton } from '@/components/stocks/stock-skeleton'+import {+ formatNumber,+ runAsyncFnWithoutBlocking,+ sleep,+ nanoid+} from '@/lib/utils'+import { saveChat } from '@/app/actions'+import { SpinnerMessage, UserMessage } from '@/components/stocks/message'+import { Chat, Message } from '@/lib/types'+import { auth } from '@/auth'++async function confirmPurchase(symbol: string, price: number, amount: number) {+ 'use server'++ const aiState = getMutableAIState<typeof AI>()++ const purchasing = createStreamableUI(+ <div className="inline-flex items-start gap-1 md:items-center">+ {spinner}+ <p className="mb-2">+ Purchasing {amount} ${symbol}...+ </p>+ </div>+ )++ const systemMessage = createStreamableUI(null)++ runAsyncFnWithoutBlocking(async () => {+ await sleep(1000)++ purchasing.update(+ <div className="inline-flex items-start gap-1 md:items-center">+ {spinner}+ <p className="mb-2">+ Purchasing {amount} ${symbol}... working on it...+ </p>+ </div>+ )++ await sleep(1000)++ purchasing.done(+ <div>+ <p className="mb-2">+ You have successfully purchased {amount} ${symbol}. Total cost:{' '}+ {formatNumber(amount * price)}+ </p>+ </div>+ )++ systemMessage.done(+ <SystemMessage>+ You have purchased {amount} shares of {symbol} at ${price}. Total cost ={' '}+ {formatNumber(amount * price)}.+ </SystemMessage>+ )++ aiState.done({+ ...aiState.get(),+ messages: [+ ...aiState.get().messages,+ {+ id: nanoid(),+ role: 'system',+ content: `[User has purchased ${amount} shares of ${symbol} at ${price}. Total cost = ${+ amount * price+ }]`+ }+ ]+ })+ })++ return {+ purchasingUI: purchasing.value,+ newMessage: {+ id: nanoid(),+ display: systemMessage.value+ }+ }+}++async function submitUserMessage(content: string) {+ 'use server'++ const aiState = getMutableAIState<typeof AI>()++ aiState.update({+ ...aiState.get(),+ messages: [+ ...aiState.get().messages,+ {+ id: nanoid(),+ role: 'user',+ content+ }+ ]+ })++ let textStream: undefined | ReturnType<typeof createStreamableValue<string>>+ let textNode: undefined | React.ReactNode++ const result = await streamUI({+ model: openai('gpt-3.5-turbo'),+ initial: <SpinnerMessage />,+ system: `\+ You are a stock trading conversation bot and you can help users buy stocks, step by step.+ You and the user can discuss stock prices and the user can adjust the amount of stocks they want to buy, or place an order, in the UI.++ Messages inside [] means that it's a UI element or a user event. For example:+ - "[Price of AAPL = 100]" means that an interface of the stock price of AAPL is shown to the user.+ - "[User has changed the amount of AAPL to 10]" means that the user has changed the amount of AAPL to 10 in the UI.++ If the user requests purchasing a stock, call \`show_stock_purchase_ui\` to show the purchase UI.+ If the user just wants the price, call \`show_stock_price\` to show the price.+ If you want to show trending stocks, call \`list_stocks\`.+ If you want to show events, call \`get_events\`.+ If the user wants to sell stock, or complete another impossible task, respond that you are a demo and cannot do that.++ Besides that, you can also chat with users and do some calculations if needed.`,+ messages: [+ ...aiState.get().messages.map((message: any) => ({+ role: message.role,+ content: message.content,+ name: message.name+ }))+ ],+ text: ({ content, done, delta }) => {+ if (!textStream) {+ textStream = createStreamableValue('')+ textNode = <BotMessage content={textStream.value} />+ }++ if (done) {+ textStream.done()+ aiState.done({+ ...aiState.get(),+ messages: [+ ...aiState.get().messages,+ {+ id: nanoid(),+ role: 'assistant',+ content+ }+ ]+ })+ } else {+ textStream.update(delta)+ }++ return textNode+ },+ tools: {+ listStocks: {+ description: 'List three imaginary stocks that are trending.',+ parameters: z.object({+ stocks: z.array(+ z.object({+ symbol: z.string().describe('The symbol of the stock'),+ price: z.number().describe('The price of the stock'),+ delta: z.number().describe('The change in price of the stock')+ })+ )+ }),+ generate: async function* ({ stocks }) {+ yield (+ <BotCard>+ <StocksSkeleton />+ </BotCard>+ )++ await sleep(1000)++ const toolCallId = nanoid()++ aiState.done({+ ...aiState.get(),+ messages: [+ ...aiState.get().messages,+ {+ id: nanoid(),+ role: 'assistant',+ content: [+ {+ type: 'tool-call',+ toolName: 'listStocks',+ toolCallId,+ args: { stocks }+ }+ ]+ },+ {+ id: nanoid(),+ role: 'tool',+ content: [+ {+ type: 'tool-result',+ toolName: 'listStocks',+ toolCallId,+ result: stocks+ }+ ]+ }+ ]+ })++ return (+ <BotCard>+ <Stocks props={stocks} />+ </BotCard>+ )+ }+ },+ showStockPrice: {+ description:+ 'Get the current stock price of a given stock or currency. Use this to show the price to the user.',+ parameters: z.object({+ symbol: z+ .string()+ .describe(+ 'The name or symbol of the stock or currency. e.g. DOGE/AAPL/USD.'+ ),+ price: z.number().describe('The price of the stock.'),+ delta: z.number().describe('The change in price of the stock')+ }),+ generate: async function* ({ symbol, price, delta }) {+ yield (+ <BotCard>+ <StockSkeleton />+ </BotCard>+ )++ await sleep(1000)++ const toolCallId = nanoid()++ aiState.done({+ ...aiState.get(),+ messages: [+ ...aiState.get().messages,+ {+ id: nanoid(),+ role: 'assistant',+ content: [+ {+ type: 'tool-call',+ toolName: 'showStockPrice',+ toolCallId,+ args: { symbol, price, delta }+ }+ ]+ },+ {+ id: nanoid(),+ role: 'tool',+ content: [+ {+ type: 'tool-result',+ toolName: 'showStockPrice',+ toolCallId,+ result: { symbol, price, delta }+ }+ ]+ }+ ]+ })++ return (+ <BotCard>+ <Stock props={{ symbol, price, delta }} />+ </BotCard>+ )+ }+ },+ showStockPurchase: {+ description:+ 'Show price and the UI to purchase a stock or currency. Use this if the user wants to purchase a stock or currency.',+ parameters: z.object({+ symbol: z+ .string()+ .describe(+ 'The name or symbol of the stock or currency. e.g. DOGE/AAPL/USD.'+ ),+ price: z.number().describe('The price of the stock.'),+ numberOfShares: z+ .number()+ .optional()+ .describe(+ 'The **number of shares** for a stock or currency to purchase. Can be optional if the user did not specify it.'+ )+ }),+ generate: async function* ({ symbol, price, numberOfShares = 100 }) {+ const toolCallId = nanoid()++ if (numberOfShares <= 0 || numberOfShares > 1000) {+ aiState.done({+ ...aiState.get(),+ messages: [+ ...aiState.get().messages,+ {+ id: nanoid(),+ role: 'assistant',+ content: [+ {+ type: 'tool-call',+ toolName: 'showStockPurchase',+ toolCallId,+ args: { symbol, price, numberOfShares }+ }+ ]+ },+ {+ id: nanoid(),+ role: 'tool',+ content: [+ {+ type: 'tool-result',+ toolName: 'showStockPurchase',+ toolCallId,+ result: {+ symbol,+ price,+ numberOfShares,+ status: 'expired'+ }+ }+ ]+ },+ {+ id: nanoid(),+ role: 'system',+ content: `[User has selected an invalid amount]`+ }+ ]+ })++ return <BotMessage content={'Invalid amount'} />+ } else {+ aiState.done({+ ...aiState.get(),+ messages: [+ ...aiState.get().messages,+ {+ id: nanoid(),+ role: 'assistant',+ content: [+ {+ type: 'tool-call',+ toolName: 'showStockPurchase',+ toolCallId,+ args: { symbol, price, numberOfShares }+ }+ ]+ },+ {+ id: nanoid(),+ role: 'tool',+ content: [+ {+ type: 'tool-result',+ toolName: 'showStockPurchase',+ toolCallId,+ result: {+ symbol,+ price,+ numberOfShares+ }+ }+ ]+ }+ ]+ })++ return (+ <BotCard>+ <Purchase+ props={{+ numberOfShares,+ symbol,+ price: +price,+ status: 'requires_action'+ }}+ />+ </BotCard>+ )+ }+ }+ },+ getEvents: {+ description:+ 'List funny imaginary events between user highlighted dates that describe stock activity.',+ parameters: z.object({+ events: z.array(+ z.object({+ date: z+ .string()+ .describe('The date of the event, in ISO-8601 format'),+ headline: z.string().describe('The headline of the event'),+ description: z.string().describe('The description of the event')+ })+ )+ }),+ generate: async function* ({ events }) {+ yield (+ <BotCard>+ <EventsSkeleton />+ </BotCard>+ )++ await sleep(1000)++ const toolCallId = nanoid()++ aiState.done({+ ...aiState.get(),+ messages: [+ ...aiState.get().messages,+ {+ id: nanoid(),+ role: 'assistant',+ content: [+ {+ type: 'tool-call',+ toolName: 'getEvents',+ toolCallId,+ args: { events }+ }+ ]+ },+ {+ id: nanoid(),+ role: 'tool',+ content: [+ {+ type: 'tool-result',+ toolName: 'getEvents',+ toolCallId,+ result: events+ }+ ]+ }+ ]+ })++ return (+ <BotCard>+ <Events props={events} />+ </BotCard>+ )+ }+ },+ queryScreenpipeAPI: {+ description:+ 'Query the Screenpipe API for OCR that appeared on user s screen and audio transcriptions from his mic',+ parameters: z.object({+ query: z.string().describe('The search query which match exact keywords. Try to use a single keyword that would match the user intent'),+ contentType: z+ .enum(['ocr', 'audio'])+ .describe('The type of content to search for'),+ limit: z+ .number()+ .optional()+ .describe('The number of results to return (default: 5)'),+ offset: z+ .number()+ .optional()+ .describe('The offset for pagination (default: 0)')+ }),+ generate: async function* ({+ query,+ contentType,+ limit = 5,+ offset = 0+ }) {+ console.log("screenpipe-chatbot will use content type: ", contentType)+ console.log("screenpipe-chatbot will use query: ", query)+ console.log("screenpipe-chatbot will use limit: ", limit)+ console.log("screenpipe-chatbot will use offset: ", offset)+ yield (+ <BotCard>+ <div className="inline-flex items-start gap-1 md:items-center">+ {spinner}+ <p className="mb-2">Searching for {contentType} content...</p>+ </div>+ </BotCard>+ )++ try {+ const response = await fetch(+ `http://localhost:3030/search?q=${encodeURIComponent(query)}&content_type=${contentType}&limit=${limit}&offset=${offset}`+ )++ if (!response.ok) {+ throw new Error(+ `API request failed with status ${response.status}`+ )+ }++ const data = await response.json()++ const toolCallId = nanoid()++ aiState.done({+ ...aiState.get(),+ messages: [+ ...aiState.get().messages,+ {+ id: nanoid(),+ role: 'assistant',+ content: [+ {+ type: 'tool-call',+ toolName: 'queryScreenpipeAPI',+ toolCallId,+ args: { query, contentType, limit, offset }+ }+ ]+ },+ {+ id: nanoid(),+ role: 'tool',+ content: [+ {+ type: 'tool-result',+ toolName: 'queryScreenpipeAPI',+ toolCallId,+ result: data+ }+ ]+ }+ ]+ })++ return (+ <BotCard>+ <div>+ <h3 className="text-lg font-semibold mb-2">+ Search Results ({contentType}):+ </h3>+ <ul className="list-disc pl-5">+ {data.data.map((item: any, index: number) => (+ <li key={index} className="mb-2">+ <p>+ <strong>{item.content.timestamp}</strong>:{' '}+ {item.content.text || item.content.transcription}+ </p>+ </li>+ ))}+ </ul>+ <p className="mt-2">Total results: {data.pagination.total}</p>+ </div>+ </BotCard>+ )+ } catch (error) {+ console.error('Error querying Screenpipe API:', error)+ return (+ <BotCard>+ <div className="text-red-500">+ Error querying Screenpipe API. Please try again later.+ </div>+ </BotCard>+ )+ }+ }+ }+ }+ })++ return {+ id: nanoid(),+ display: result.value+ }+}++export type AIState = {+ chatId: string+ messages: Message[]+}++export type UIState = {+ id: string+ display: React.ReactNode+}[]++export const AI = createAI<AIState, UIState>({+ actions: {+ submitUserMessage,+ confirmPurchase+ },+ initialUIState: [],+ initialAIState: { chatId: nanoid(), messages: [] },+ onGetUIState: async () => {+ 'use server'++ const session = await auth()++ if (session && session.user) {+ const aiState = getAIState() as Chat++ if (aiState) {+ const uiState = getUIStateFromAIState(aiState)+ return uiState+ }+ } else {+ return+ }+ },+ onSetAIState: async ({ state }) => {+ 'use server'++ const session = await auth()++ if (session && session.user) {+ const { chatId, messages } = state++ const createdAt = new Date()+ const userId = session.user.id as string+ const path = `/chat/${chatId}`++ const firstMessageContent = messages[0].content as string+ const title = firstMessageContent.substring(0, 100)++ const chat: Chat = {+ id: chatId,+ title,+ userId,+ createdAt,+ messages,+ path+ }++ await saveChat(chat)+ } else {+ return+ }+ }+})++export const getUIStateFromAIState = (aiState: Chat) => {+ return aiState.messages+ .filter(message => message.role !== 'system')+ .map((message, index) => ({+ id: `${aiState.chatId}-${index}`,+ display:+ message.role === 'tool' ? (+ message.content.map(tool => {+ return tool.toolName === 'listStocks' ? (+ <BotCard>+ {/* TODO: Infer types based on the tool result*/}+ {/* @ts-expect-error */}+ <Stocks props={tool.result} />+ </BotCard>+ ) : tool.toolName === 'showStockPrice' ? (+ <BotCard>+ {/* @ts-expect-error */}+ <Stock props={tool.result} />+ </BotCard>+ ) : tool.toolName === 'showStockPurchase' ? (+ <BotCard>+ {/* @ts-expect-error */}+ <Purchase props={tool.result} />+ </BotCard>+ ) : tool.toolName === 'getEvents' ? (+ <BotCard>+ {/* @ts-expect-error */}+ <Events props={tool.result} />+ </BotCard>+ ) : null+ })+ ) : message.role === 'user' ? (+ <UserMessage>{message.content as string}</UserMessage>+ ) : message.role === 'assistant' &&+ typeof message.content === 'string' ? (+ <BotMessage content={message.content} />+ ) : null+ }))+}diff --git a/examples/ts/vercel-ai-chatbot/lib/hooks/use-copy-to-clipboard.tsx b/examples/ts/vercel-ai-chatbot/lib/hooks/use-copy-to-clipboard.tsxnew file mode 100644index 000000000..62f7156dc--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/lib/hooks/use-copy-to-clipboard.tsx@@ -0,0 +1,33 @@+'use client'++import * as React from 'react'++export interface useCopyToClipboardProps {+ timeout?: number+}++export function useCopyToClipboard({+ timeout = 2000+}: useCopyToClipboardProps) {+ const [isCopied, setIsCopied] = React.useState<Boolean>(false)++ const copyToClipboard = (value: string) => {+ if (typeof window === 'undefined' || !navigator.clipboard?.writeText) {+ return+ }++ if (!value) {+ return+ }++ navigator.clipboard.writeText(value).then(() => {+ setIsCopied(true)++ setTimeout(() => {+ setIsCopied(false)+ }, timeout)+ })+ }++ return { isCopied, copyToClipboard }+}diff --git a/examples/ts/vercel-ai-chatbot/lib/hooks/use-enter-submit.tsx b/examples/ts/vercel-ai-chatbot/lib/hooks/use-enter-submit.tsxnew file mode 100644index 000000000..d66b2d325--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/lib/hooks/use-enter-submit.tsx@@ -0,0 +1,23 @@+import { useRef, type RefObject } from 'react'++export function useEnterSubmit(): {+ formRef: RefObject<HTMLFormElement>+ onKeyDown: (event: React.KeyboardEvent<HTMLTextAreaElement>) => void+} {+ const formRef = useRef<HTMLFormElement>(null)++ const handleKeyDown = (+ event: React.KeyboardEvent<HTMLTextAreaElement>+ ): void => {+ if (+ event.key === 'Enter' &&+ !event.shiftKey &&+ !event.nativeEvent.isComposing+ ) {+ formRef.current?.requestSubmit()+ event.preventDefault()+ }+ }++ return { formRef, onKeyDown: handleKeyDown }+}diff --git a/examples/ts/vercel-ai-chatbot/lib/hooks/use-local-storage.ts b/examples/ts/vercel-ai-chatbot/lib/hooks/use-local-storage.tsnew file mode 100644index 000000000..19f6b7e96--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/lib/hooks/use-local-storage.ts@@ -0,0 +1,24 @@+import { useEffect, useState } from 'react'++export const useLocalStorage = <T>(+ key: string,+ initialValue: T+): [T, (value: T) => void] => {+ const [storedValue, setStoredValue] = useState(initialValue)++ useEffect(() => {+ // Retrieve from localStorage+ const item = window.localStorage.getItem(key)+ if (item) {+ setStoredValue(JSON.parse(item))+ }+ }, [key])++ const setValue = (value: T) => {+ // Save state+ setStoredValue(value)+ // Save to localStorage+ window.localStorage.setItem(key, JSON.stringify(value))+ }+ return [storedValue, setValue]+}diff --git a/examples/ts/vercel-ai-chatbot/lib/hooks/use-scroll-anchor.tsx b/examples/ts/vercel-ai-chatbot/lib/hooks/use-scroll-anchor.tsxnew file mode 100644index 000000000..a52402736--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/lib/hooks/use-scroll-anchor.tsx@@ -0,0 +1,86 @@+import { useCallback, useEffect, useRef, useState } from 'react'++export const useScrollAnchor = () => {+ const messagesRef = useRef<HTMLDivElement>(null)+ const scrollRef = useRef<HTMLDivElement>(null)+ const visibilityRef = useRef<HTMLDivElement>(null)++ const [isAtBottom, setIsAtBottom] = useState(true)+ const [isVisible, setIsVisible] = useState(false)++ const scrollToBottom = useCallback(() => {+ if (messagesRef.current) {+ messagesRef.current.scrollIntoView({+ block: 'end',+ behavior: 'smooth'+ })+ }+ }, [])++ useEffect(() => {+ if (messagesRef.current) {+ if (isAtBottom && !isVisible) {+ messagesRef.current.scrollIntoView({+ block: 'end'+ })+ }+ }+ }, [isAtBottom, isVisible])++ useEffect(() => {+ const { current } = scrollRef++ if (current) {+ const handleScroll = (event: Event) => {+ const target = event.target as HTMLDivElement+ const offset = 25+ const isAtBottom =+ target.scrollTop + target.clientHeight >= target.scrollHeight - offset++ setIsAtBottom(isAtBottom)+ }++ current.addEventListener('scroll', handleScroll, {+ passive: true+ })++ return () => {+ current.removeEventListener('scroll', handleScroll)+ }+ }+ }, [])++ useEffect(() => {+ if (visibilityRef.current) {+ let observer = new IntersectionObserver(+ entries => {+ entries.forEach(entry => {+ if (entry.isIntersecting) {+ setIsVisible(true)+ } else {+ setIsVisible(false)+ }+ })+ },+ {+ rootMargin: '0px 0px -150px 0px'+ }+ )++ observer.observe(visibilityRef.current)++ return () => {+ observer.disconnect()+ }+ }+ })++ return {+ messagesRef,+ scrollRef,+ visibilityRef,+ scrollToBottom,+ isAtBottom,+ isVisible+ }+}diff --git a/examples/ts/vercel-ai-chatbot/lib/hooks/use-sidebar.tsx b/examples/ts/vercel-ai-chatbot/lib/hooks/use-sidebar.tsxnew file mode 100644index 000000000..4a52baf19--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/lib/hooks/use-sidebar.tsx@@ -0,0 +1,60 @@+'use client'++import * as React from 'react'++const LOCAL_STORAGE_KEY = 'sidebar'++interface SidebarContext {+ isSidebarOpen: boolean+ toggleSidebar: () => void+ isLoading: boolean+}++const SidebarContext = React.createContext<SidebarContext | undefined>(+ undefined+)++export function useSidebar() {+ const context = React.useContext(SidebarContext)+ if (!context) {+ throw new Error('useSidebarContext must be used within a SidebarProvider')+ }+ return context+}++interface SidebarProviderProps {+ children: React.ReactNode+}++export function SidebarProvider({ children }: SidebarProviderProps) {+ const [isSidebarOpen, setSidebarOpen] = React.useState(true)+ const [isLoading, setLoading] = React.useState(true)++ React.useEffect(() => {+ const value = localStorage.getItem(LOCAL_STORAGE_KEY)+ if (value) {+ setSidebarOpen(JSON.parse(value))+ }+ setLoading(false)+ }, [])++ const toggleSidebar = () => {+ setSidebarOpen(value => {+ const newState = !value+ localStorage.setItem(LOCAL_STORAGE_KEY, JSON.stringify(newState))+ return newState+ })+ }++ if (isLoading) {+ return null+ }++ return (+ <SidebarContext.Provider+ value={{ isSidebarOpen, toggleSidebar, isLoading }}+ >+ {children}+ </SidebarContext.Provider>+ )+}diff --git a/examples/ts/vercel-ai-chatbot/lib/hooks/use-streamable-text.ts b/examples/ts/vercel-ai-chatbot/lib/hooks/use-streamable-text.tsnew file mode 100644index 000000000..1b301a3a1--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/lib/hooks/use-streamable-text.ts@@ -0,0 +1,25 @@+import { StreamableValue, readStreamableValue } from 'ai/rsc'+import { useEffect, useState } from 'react'++export const useStreamableText = (+ content: string | StreamableValue<string>+) => {+ const [rawContent, setRawContent] = useState(+ typeof content === 'string' ? content : ''+ )++ useEffect(() => {+ ;(async () => {+ if (typeof content === 'object') {+ let value = ''+ for await (const delta of readStreamableValue(content)) {+ if (typeof delta === 'string') {+ setRawContent((value = value + delta))+ }+ }+ }+ })()+ }, [content])++ return rawContent+}diff --git a/examples/ts/vercel-ai-chatbot/lib/types.ts b/examples/ts/vercel-ai-chatbot/lib/types.tsnew file mode 100644index 000000000..d892a0c5a--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/lib/types.ts@@ -0,0 +1,41 @@+import { CoreMessage } from 'ai'++export type Message = CoreMessage & {+ id: string+}++export interface Chat extends Record<string, any> {+ id: string+ title: string+ createdAt: Date+ userId: string+ path: string+ messages: Message[]+ sharePath?: string+}++export type ServerActionResult<Result> = Promise<+ | Result+ | {+ error: string+ }+>++export interface Session {+ user: {+ id: string+ email: string+ }+}++export interface AuthResult {+ type: string+ message: string+}++export interface User extends Record<string, any> {+ id: string+ email: string+ password: string+ salt: string+}diff --git a/examples/ts/vercel-ai-chatbot/lib/utils.ts b/examples/ts/vercel-ai-chatbot/lib/utils.tsnew file mode 100644index 000000000..a0a213fed--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/lib/utils.ts@@ -0,0 +1,89 @@+import { clsx, type ClassValue } from 'clsx'+import { customAlphabet } from 'nanoid'+import { twMerge } from 'tailwind-merge'++export function cn(...inputs: ClassValue[]) {+ return twMerge(clsx(inputs))+}++export const nanoid = customAlphabet(+ '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz',+ 7+) // 7-character random string++export async function fetcher<JSON = any>(+ input: RequestInfo,+ init?: RequestInit+): Promise<JSON> {+ const res = await fetch(input, init)++ if (!res.ok) {+ const json = await res.json()+ if (json.error) {+ const error = new Error(json.error) as Error & {+ status: number+ }+ error.status = res.status+ throw error+ } else {+ throw new Error('An unexpected error occurred')+ }+ }++ return res.json()+}++export function formatDate(input: string | number | Date): string {+ const date = new Date(input)+ return date.toLocaleDateString('en-US', {+ month: 'long',+ day: 'numeric',+ year: 'numeric'+ })+}++export const formatNumber = (value: number) =>+ new Intl.NumberFormat('en-US', {+ style: 'currency',+ currency: 'USD'+ }).format(value)++export const runAsyncFnWithoutBlocking = (+ fn: (...args: any) => Promise<any>+) => {+ fn()+}++export const sleep = (ms: number) =>+ new Promise(resolve => setTimeout(resolve, ms))++export const getStringFromBuffer = (buffer: ArrayBuffer) =>+ Array.from(new Uint8Array(buffer))+ .map(b => b.toString(16).padStart(2, '0'))+ .join('')++export enum ResultCode {+ InvalidCredentials = 'INVALID_CREDENTIALS',+ InvalidSubmission = 'INVALID_SUBMISSION',+ UserAlreadyExists = 'USER_ALREADY_EXISTS',+ UnknownError = 'UNKNOWN_ERROR',+ UserCreated = 'USER_CREATED',+ UserLoggedIn = 'USER_LOGGED_IN'+}++export const getMessageFromCode = (resultCode: string) => {+ switch (resultCode) {+ case ResultCode.InvalidCredentials:+ return 'Invalid credentials!'+ case ResultCode.InvalidSubmission:+ return 'Invalid submission, please try again!'+ case ResultCode.UserAlreadyExists:+ return 'User already exists, please log in!'+ case ResultCode.UserCreated:+ return 'User created, welcome!'+ case ResultCode.UnknownError:+ return 'Something went wrong, please try again!'+ case ResultCode.UserLoggedIn:+ return 'Logged in!'+ }+}diff --git a/examples/ts/vercel-ai-chatbot/middleware.ts b/examples/ts/vercel-ai-chatbot/middleware.tsnew file mode 100644index 000000000..e663a3164--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/middleware.ts@@ -0,0 +1,8 @@+import NextAuth from 'next-auth'+import { authConfig } from './auth.config'++export default NextAuth(authConfig).auth++export const config = {+ matcher: ['/((?!api|_next/static|_next/image|.*\\.png$).*)']+}diff --git a/examples/ts/vercel-ai-chatbot/next-env.d.ts b/examples/ts/vercel-ai-chatbot/next-env.d.tsnew file mode 100644index 000000000..4f11a03dc--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/next-env.d.ts@@ -0,0 +1,5 @@+/// <reference types="next" />+/// <reference types="next/image-types/global" />++// NOTE: This file should not be edited+// see https://nextjs.org/docs/basic-features/typescript for more information.diff --git a/examples/ts/vercel-ai-chatbot/next.config.js b/examples/ts/vercel-ai-chatbot/next.config.jsnew file mode 100644index 000000000..9b7d60b3b--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/next.config.js@@ -0,0 +1,13 @@+/** @type {import('next').NextConfig} */+module.exports = {+ images: {+ remotePatterns: [+ {+ protocol: 'https',+ hostname: 'avatars.githubusercontent.com',+ port: '',+ pathname: '**'+ }+ ]+ }+}diff --git a/examples/ts/vercel-ai-chatbot/package.json b/examples/ts/vercel-ai-chatbot/package.jsonnew file mode 100644index 000000000..22e5a1878--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/package.json@@ -0,0 +1,77 @@+{+ "private": true,+ "scripts": {+ "dev": "next dev --turbo",+ "build": "next build",+ "start": "next start",+ "lint": "next lint",+ "lint:fix": "next lint --fix",+ "preview": "next build && next start",+ "seed": "node -r dotenv/config ./scripts/seed.mjs",+ "type-check": "tsc --noEmit",+ "format:write": "prettier --write \"{app,lib,components}/**/*.{ts,tsx,mdx}\" --cache",+ "format:check": "prettier --check \"{app,lib,components}**/*.{ts,tsx,mdx}\" --cache"+ },+ "dependencies": {+ "@ai-sdk/openai": "^0.0.34",+ "@radix-ui/react-alert-dialog": "^1.1.1",+ "@radix-ui/react-dialog": "^1.1.1",+ "@radix-ui/react-dropdown-menu": "^2.1.1",+ "@radix-ui/react-icons": "^1.3.0",+ "@radix-ui/react-label": "^2.1.0",+ "@radix-ui/react-select": "^2.1.1",+ "@radix-ui/react-separator": "^1.1.0",+ "@radix-ui/react-slot": "^1.1.0",+ "@radix-ui/react-switch": "^1.1.0",+ "@radix-ui/react-tooltip": "^1.1.2",+ "@vercel/analytics": "^1.3.1",+ "@vercel/kv": "^2.0.0",+ "@vercel/og": "^0.6.2",+ "ai": "^3.2.16",+ "class-variance-authority": "^0.7.0",+ "clsx": "^2.1.1",+ "d3-scale": "^4.0.2",+ "date-fns": "^3.6.0",+ "focus-trap-react": "^10.2.3",+ "framer-motion": "^11.2.12",+ "geist": "^1.3.0",+ "nanoid": "^5.0.7",+ "next": "14.2.4",+ "next-auth": "5.0.0-beta.4",+ "next-themes": "^0.3.0",+ "openai": "^4.52.2",+ "react": "^18.3.1",+ "react-dom": "^18.3.1",+ "react-intersection-observer": "^9.10.3",+ "react-markdown": "^8.0.7",+ "react-syntax-highlighter": "^15.5.0",+ "react-textarea-autosize": "^8.5.3",+ "remark-gfm": "^3.0.1",+ "remark-math": "^5.1.1",+ "sonner": "^1.5.0",+ "usehooks-ts": "^3.1.0",+ "zod": "^3.23.8"+ },+ "devDependencies": {+ "@tailwindcss/typography": "^0.5.13",+ "@types/d3-scale": "^4.0.8",+ "@types/node": "^20.14.9",+ "@types/react": "^18.3.3",+ "@types/react-dom": "^18.3.0",+ "@types/react-syntax-highlighter": "^15.5.13",+ "@typescript-eslint/parser": "^7.14.1",+ "autoprefixer": "^10.4.19",+ "dotenv": "^16.4.5",+ "eslint": "^8.56.0",+ "eslint-config-next": "14.1.0",+ "eslint-config-prettier": "^9.1.0",+ "eslint-plugin-tailwindcss": "^3.14.0",+ "postcss": "^8.4.39",+ "prettier": "^3.3.2",+ "tailwind-merge": "^2.3.0",+ "tailwindcss": "^3.4.4",+ "tailwindcss-animate": "^1.0.7",+ "typescript": "^5.5.2"+ },+ "packageManager": "[email protected]"+}diff --git a/examples/ts/vercel-ai-chatbot/pnpm-lock.yaml b/examples/ts/vercel-ai-chatbot/pnpm-lock.yamlnew file mode 100644index 000000000..ab851df1e--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/pnpm-lock.yaml@@ -0,0 +1,5977 @@+lockfileVersion: '6.0'++settings:+ autoInstallPeers: true+ excludeLinksFromLockfile: false++dependencies:+ '@ai-sdk/openai':+ specifier: ^0.0.34+ version: 0.0.34([email protected])+ '@radix-ui/react-alert-dialog':+ specifier: ^1.1.1+ version: 1.1.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-dialog':+ specifier: ^1.1.1+ version: 1.1.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-dropdown-menu':+ specifier: ^2.1.1+ version: 2.1.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-icons':+ specifier: ^1.3.0+ version: 1.3.0([email protected])+ '@radix-ui/react-label':+ specifier: ^2.1.0+ version: 2.1.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-select':+ specifier: ^2.1.1+ version: 2.1.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-separator':+ specifier: ^1.1.0+ version: 1.1.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-slot':+ specifier: ^1.1.0+ version: 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-switch':+ specifier: ^1.1.0+ version: 1.1.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-tooltip':+ specifier: ^1.1.2+ version: 1.1.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@vercel/analytics':+ specifier: ^1.3.1+ version: 1.3.1([email protected])([email protected])+ '@vercel/kv':+ specifier: ^2.0.0+ version: 2.0.0+ '@vercel/og':+ specifier: ^0.6.2+ version: 0.6.2+ ai:+ specifier: ^3.2.16+ version: 3.2.16([email protected])([email protected])([email protected])([email protected])([email protected])+ class-variance-authority:+ specifier: ^0.7.0+ version: 0.7.0+ clsx:+ specifier: ^2.1.1+ version: 2.1.1+ d3-scale:+ specifier: ^4.0.2+ version: 4.0.2+ date-fns:+ specifier: ^3.6.0+ version: 3.6.0+ focus-trap-react:+ specifier: ^10.2.3+ framer-motion:+ specifier: ^11.2.12+ version: 11.2.12([email protected])([email protected])+ geist:+ specifier: ^1.3.0+ version: 1.3.0([email protected])+ nanoid:+ specifier: ^5.0.7+ version: 5.0.7+ next:+ specifier: 14.2.4+ version: 14.2.4([email protected])([email protected])+ next-auth:+ specifier: 5.0.0-beta.4+ version: 5.0.0-beta.4([email protected])([email protected])+ next-themes:+ specifier: ^0.3.0+ version: 0.3.0([email protected])([email protected])+ openai:+ specifier: ^4.52.2+ version: 4.52.2+ react:+ specifier: ^18.3.1+ version: 18.3.1+ react-dom:+ specifier: ^18.3.1+ version: 18.3.1([email protected])+ react-intersection-observer:+ specifier: ^9.10.3+ version: 9.10.3([email protected])([email protected])+ react-markdown:+ specifier: ^8.0.7+ version: 8.0.7(@types/[email protected])([email protected])+ react-syntax-highlighter:+ specifier: ^15.5.0+ version: 15.5.0([email protected])+ react-textarea-autosize:+ specifier: ^8.5.3+ version: 8.5.3(@types/[email protected])([email protected])+ remark-gfm:+ specifier: ^3.0.1+ version: 3.0.1+ remark-math:+ specifier: ^5.1.1+ version: 5.1.1+ sonner:+ specifier: ^1.5.0+ version: 1.5.0([email protected])([email protected])+ usehooks-ts:+ specifier: ^3.1.0+ version: 3.1.0([email protected])+ zod:+ specifier: ^3.23.8+ version: 3.23.8++devDependencies:+ '@tailwindcss/typography':+ specifier: ^0.5.13+ version: 0.5.13([email protected])+ '@types/d3-scale':+ specifier: ^4.0.8+ version: 4.0.8+ '@types/node':+ specifier: ^20.14.9+ version: 20.14.9+ '@types/react':+ specifier: ^18.3.3+ version: 18.3.3+ '@types/react-dom':+ specifier: ^18.3.0+ version: 18.3.0+ '@types/react-syntax-highlighter':+ specifier: ^15.5.13+ version: 15.5.13+ '@typescript-eslint/parser':+ specifier: ^7.14.1+ version: 7.14.1([email protected])([email protected])+ autoprefixer:+ specifier: ^10.4.19+ version: 10.4.19([email protected])+ dotenv:+ specifier: ^16.4.5+ version: 16.4.5+ eslint:+ specifier: ^8.56.0+ version: 8.57.0+ eslint-config-next:+ specifier: 14.1.0+ version: 14.1.0([email protected])([email protected])+ eslint-config-prettier:+ specifier: ^9.1.0+ version: 9.1.0([email protected])+ eslint-plugin-tailwindcss:+ specifier: ^3.14.0+ version: 3.17.4([email protected])+ postcss:+ specifier: ^8.4.39+ version: 8.4.39+ prettier:+ specifier: ^3.3.2+ version: 3.3.2+ tailwind-merge:+ specifier: ^2.3.0+ version: 2.3.0+ tailwindcss:+ specifier: ^3.4.4+ version: 3.4.4+ tailwindcss-animate:+ specifier: ^1.0.7+ version: 1.0.7([email protected])+ typescript:+ specifier: ^5.5.2+ version: 5.5.2++packages:++ /@ai-sdk/[email protected]([email protected]):+ resolution: {integrity: sha512-ArVGvhfp66zYqFBWS/rRL/3ushcjsDXQJ5HdcJaCbv9YCrFJzgSZwFj2tWMdBMeQn3O7SGgGsIT75zFgXJDIqQ==}+ engines: {node: '>=18'}+ peerDependencies:+ zod: ^3.0.0+ dependencies:+ '@ai-sdk/provider': 0.0.11+ '@ai-sdk/provider-utils': 1.0.0([email protected])+ zod: 3.23.8+ dev: false++ /@ai-sdk/[email protected]([email protected]):+ resolution: {integrity: sha512-Akq7MmGQII8xAuoVjJns/n/2BTUrF6qaXIj/3nEuXk/hPSdETlLWRSrjrTmLpte1VIPE5ecNzTALST+6nz47UQ==}+ engines: {node: '>=18'}+ peerDependencies:+ zod: ^3.0.0+ peerDependenciesMeta:+ zod:+ optional: true+ dependencies:+ '@ai-sdk/provider': 0.0.11+ eventsource-parser: 1.1.2+ nanoid: 3.3.6+ secure-json-parse: 2.7.0+ zod: 3.23.8+ dev: false++ /@ai-sdk/[email protected]:+ resolution: {integrity: sha512-VTipPQ92Moa5Ovg/nZIc8yNoIFfukZjUHZcQMduJbiUh3CLQyrBAKTEV9AwjPy8wgVxj3+GZjon0yyOJKhfp5g==}+ engines: {node: '>=18'}+ dependencies:+ json-schema: 0.4.0+ dev: false++ resolution: {integrity: sha512-PUPjI4XB8or2m2NvRU8SBzGfSwjlJ19Mdde8LkeppFoNj++53kgM4BiniAsVRl8v8WNGZ55rrsLyY5g8h+gfeA==}+ engines: {node: '>=18'}+ peerDependencies:+ react: ^18 || ^19+ zod: ^3.0.0+ peerDependenciesMeta:+ react:+ optional: true+ zod:+ optional: true+ dependencies:+ '@ai-sdk/provider-utils': 1.0.0([email protected])+ '@ai-sdk/ui-utils': 0.0.9([email protected])+ react: 18.3.1+ swr: 2.2.0([email protected])+ zod: 3.23.8+ dev: false++ /@ai-sdk/[email protected]([email protected]):+ resolution: {integrity: sha512-8L4YoNNmDWmdnqtKnFdmaDZ+bIf1m160NXSPMEDhhWvp+t1SGMS/eLemuYEkDnlO18hhM/0IKX8lbQEyz7QYPQ==}+ engines: {node: '>=18'}+ peerDependencies:+ solid-js: ^1.7.7+ peerDependenciesMeta:+ solid-js:+ optional: true+ dependencies:+ '@ai-sdk/ui-utils': 0.0.9([email protected])+ transitivePeerDependencies:+ - zod+ dev: false++ resolution: {integrity: sha512-pSgIQhu0H2MRuoi/oj/5sq7UIK7Nm1oLRmZQ0tz2iQeqO2uo3Pe0si4n7lo8gb8gOMCyqJtqteb13A7rAlusfQ==}+ engines: {node: '>=18'}+ peerDependencies:+ svelte: ^3.0.0 || ^4.0.0+ peerDependenciesMeta:+ svelte:+ optional: true+ dependencies:+ '@ai-sdk/provider-utils': 1.0.0([email protected])+ '@ai-sdk/ui-utils': 0.0.9([email protected])+ sswr: 2.1.0([email protected])+ svelte: 4.2.18+ transitivePeerDependencies:+ - zod+ dev: false++ /@ai-sdk/[email protected]([email protected]):+ resolution: {integrity: sha512-RdC68yG1abpFQgpm3Tcn4hMbRzpRj0BXbphhwSpMwHqPQu4c/n82tYYJvhGB+rRXs/qLftLBS1NtrhqEYSVZTg==}+ engines: {node: '>=18'}+ peerDependencies:+ zod: ^3.0.0+ peerDependenciesMeta:+ zod:+ optional: true+ dependencies:+ '@ai-sdk/provider-utils': 1.0.0([email protected])+ secure-json-parse: 2.7.0+ zod: 3.23.8+ dev: false++ resolution: {integrity: sha512-YXqrFCIo8iOCsTBagEAAH6YIgveZCvS66Lm+WcyYVC5ehwx4Hn2vSayaRUiqQiHxDkF/IdETURRKki/cGbp/eg==}+ engines: {node: '>=18'}+ peerDependencies:+ vue: ^3.3.4+ peerDependenciesMeta:+ vue:+ optional: true+ dependencies:+ '@ai-sdk/ui-utils': 0.0.9([email protected])+ swrv: 1.0.4([email protected])+ vue: 3.4.31([email protected])+ transitivePeerDependencies:+ - zod+ dev: false++ /@alloc/[email protected]:+ resolution: {integrity: sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==}+ engines: {node: '>=10'}+ dev: true++ /@ampproject/[email protected]:+ resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==}+ engines: {node: '>=6.0.0'}+ dependencies:+ '@jridgewell/gen-mapping': 0.3.5+ '@jridgewell/trace-mapping': 0.3.25+ dev: false++ /@auth/[email protected]:+ resolution: {integrity: sha512-GsNhsP1xE/3FoNS3dVkPjqRljLNJ4iyL2OLv3klQGNvw3bMpROFcK4lqhx7+pPHiamnVaYt2vg1xbB+lsNaevg==}+ peerDependencies:+ nodemailer: ^6.8.0+ peerDependenciesMeta:+ nodemailer:+ optional: true+ dependencies:+ '@panva/hkdf': 1.2.0+ cookie: 0.6.0+ jose: 5.6.2+ oauth4webapi: 2.11.1+ preact: 10.11.3+ preact-render-to-string: 5.2.3([email protected])+ dev: false++ /@babel/[email protected]:+ resolution: {integrity: sha512-7MbVt6xrwFQbunH2DNQsAP5sTGxfqQtErvBIvIMi6EQnbgUOuVYanvREcmFrOPhoXBrTtjhhP+lW+o5UfK+tDg==}+ engines: {node: '>=6.9.0'}+ dev: false++ /@babel/[email protected]:+ resolution: {integrity: sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==}+ engines: {node: '>=6.9.0'}+ dev: false++ /@babel/[email protected]:+ resolution: {integrity: sha512-9uUYRm6OqQrCqQdG1iCBwBPZgN8ciDBro2nIOFaiRz1/BCxaI7CNvQbDHvsArAC7Tw9Hda/B3U+6ui9u4HWXPw==}+ engines: {node: '>=6.0.0'}+ hasBin: true+ dependencies:+ '@babel/types': 7.24.7+ dev: false++ /@babel/[email protected]:+ resolution: {integrity: sha512-UwgBRMjJP+xv857DCngvqXI3Iq6J4v0wXmwc6sapg+zyhbwmQX67LUEFrkK5tbyJ30jGuG3ZvWpBiB9LCy1kWw==}+ engines: {node: '>=6.9.0'}+ dependencies:+ regenerator-runtime: 0.14.1++ /@babel/[email protected]:+ resolution: {integrity: sha512-XEFXSlxiG5td2EJRe8vOmRbaXVgfcBlszKujvVmWIK/UpywWljQCfzAv3RQCGujWQ1RD4YYWEAqDXfuJiy8f5Q==}+ engines: {node: '>=6.9.0'}+ dependencies:+ '@babel/helper-string-parser': 7.24.7+ '@babel/helper-validator-identifier': 7.24.7+ to-fast-properties: 2.0.0+ dev: false++ /@eslint-community/[email protected]([email protected]):+ resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==}+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}+ peerDependencies:+ eslint: ^6.0.0 || ^7.0.0 || >=8.0.0+ dependencies:+ eslint: 8.57.0+ eslint-visitor-keys: 3.4.3+ dev: true++ /@eslint-community/[email protected]:+ resolution: {integrity: sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A==}+ engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}+ dev: true++ /@eslint/[email protected]:+ resolution: {integrity: sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==}+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}+ dependencies:+ ajv: 6.12.6+ debug: 4.3.5+ espree: 9.6.1+ globals: 13.24.0+ ignore: 5.3.1+ import-fresh: 3.3.0+ js-yaml: 4.1.0+ minimatch: 3.1.2+ strip-json-comments: 3.1.1+ transitivePeerDependencies:+ - supports-color+ dev: true++ /@eslint/[email protected]:+ resolution: {integrity: sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==}+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}+ dev: true++ /@floating-ui/[email protected]:+ resolution: {integrity: sha512-a4IowK4QkXl4SCWTGUR0INAfEOX3wtsYw3rKK5InQEHMGObkR8Xk44qYQD9P4r6HHw0iIfK6GUKECmY8sTkqRA==}+ dependencies:+ '@floating-ui/utils': 0.2.4+ dev: false++ /@floating-ui/[email protected]:+ resolution: {integrity: sha512-wmVfPG5o2xnKDU4jx/m4w5qva9FWHcnZ8BvzEe90D/RpwsJaTAVYPEPdQ8sbr/N8zZTAHlZUTQdqg8ZUbzHmng==}+ dependencies:+ '@floating-ui/core': 1.6.4+ '@floating-ui/utils': 0.2.4+ dev: false++ resolution: {integrity: sha512-4h84MJt3CHrtG18mGsXuLCHMrug49d7DFkU0RMIyshRveBeyV2hmV/pDaF2Uxtu8kgq5r46llp5E5FQiR0K2Yg==}+ peerDependencies:+ react: '>=16.8.0'+ react-dom: '>=16.8.0'+ dependencies:+ '@floating-ui/dom': 1.6.7+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ dev: false++ /@floating-ui/[email protected]:+ resolution: {integrity: sha512-dWO2pw8hhi+WrXq1YJy2yCuWoL20PddgGaqTgVe4cOS9Q6qklXCiA1tJEqX6BEwRNSCP84/afac9hd4MS+zEUA==}+ dev: false++ /@humanwhocodes/[email protected]:+ resolution: {integrity: sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==}+ engines: {node: '>=10.10.0'}+ deprecated: Use @eslint/config-array instead+ dependencies:+ '@humanwhocodes/object-schema': 2.0.3+ debug: 4.3.5+ minimatch: 3.1.2+ transitivePeerDependencies:+ - supports-color+ dev: true++ /@humanwhocodes/[email protected]:+ resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==}+ engines: {node: '>=12.22'}+ dev: true++ /@humanwhocodes/[email protected]:+ resolution: {integrity: sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==}+ deprecated: Use @eslint/object-schema instead+ dev: true++ /@isaacs/[email protected]:+ resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==}+ engines: {node: '>=12'}+ dependencies:+ string-width: 5.1.2+ string-width-cjs: /[email protected]+ strip-ansi: 7.1.0+ strip-ansi-cjs: /[email protected]+ wrap-ansi: 8.1.0+ wrap-ansi-cjs: /[email protected]+ dev: true++ /@jridgewell/[email protected]:+ resolution: {integrity: sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==}+ engines: {node: '>=6.0.0'}+ dependencies:+ '@jridgewell/set-array': 1.2.1+ '@jridgewell/sourcemap-codec': 1.4.15+ '@jridgewell/trace-mapping': 0.3.25++ /@jridgewell/[email protected]:+ resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==}+ engines: {node: '>=6.0.0'}++ /@jridgewell/[email protected]:+ resolution: {integrity: sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==}+ engines: {node: '>=6.0.0'}++ /@jridgewell/[email protected]:+ resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==}++ /@jridgewell/[email protected]:+ resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==}+ dependencies:+ '@jridgewell/resolve-uri': 3.1.2+ '@jridgewell/sourcemap-codec': 1.4.15++ /@next/[email protected]:+ resolution: {integrity: sha512-3EtkY5VDkuV2+lNmKlbkibIJxcO4oIHEhBWne6PaAp+76J9KoSsGvNikp6ivzAT8dhhBMYrm6op2pS1ApG0Hzg==}+ dev: false++ /@next/[email protected]:+ resolution: {integrity: sha512-x4FavbNEeXx/baD/zC/SdrvkjSby8nBn8KcCREqk6UuwvwoAPZmaV8TFCAuo/cpovBRTIY67mHhe86MQQm/68Q==}+ dependencies:+ glob: 10.3.10+ dev: true++ /@next/[email protected]:+ resolution: {integrity: sha512-AH3mO4JlFUqsYcwFUHb1wAKlebHU/Hv2u2kb1pAuRanDZ7pD/A/KPD98RHZmwsJpdHQwfEc/06mgpSzwrJYnNg==}+ engines: {node: '>= 10'}+ cpu: [arm64]+ os: [darwin]+ requiresBuild: true+ dev: false+ optional: true++ /@next/[email protected]:+ resolution: {integrity: sha512-QVadW73sWIO6E2VroyUjuAxhWLZWEpiFqHdZdoQ/AMpN9YWGuHV8t2rChr0ahy+irKX5mlDU7OY68k3n4tAZTg==}+ engines: {node: '>= 10'}+ cpu: [x64]+ os: [darwin]+ requiresBuild: true+ dev: false+ optional: true++ /@next/[email protected]:+ resolution: {integrity: sha512-KT6GUrb3oyCfcfJ+WliXuJnD6pCpZiosx2X3k66HLR+DMoilRb76LpWPGb4tZprawTtcnyrv75ElD6VncVamUQ==}+ engines: {node: '>= 10'}+ cpu: [arm64]+ os: [linux]+ requiresBuild: true+ dev: false+ optional: true++ /@next/[email protected]:+ resolution: {integrity: sha512-Alv8/XGSs/ytwQcbCHwze1HmiIkIVhDHYLjczSVrf0Wi2MvKn/blt7+S6FJitj3yTlMwMxII1gIJ9WepI4aZ/A==}+ engines: {node: '>= 10'}+ cpu: [arm64]+ os: [linux]+ requiresBuild: true+ dev: false+ optional: true++ /@next/[email protected]:+ resolution: {integrity: sha512-ze0ShQDBPCqxLImzw4sCdfnB3lRmN3qGMB2GWDRlq5Wqy4G36pxtNOo2usu/Nm9+V2Rh/QQnrRc2l94kYFXO6Q==}+ engines: {node: '>= 10'}+ cpu: [x64]+ os: [linux]+ requiresBuild: true+ dev: false+ optional: true++ /@next/[email protected]:+ resolution: {integrity: sha512-8dwC0UJoc6fC7PX70csdaznVMNr16hQrTDAMPvLPloazlcaWfdPogq+UpZX6Drqb1OBlwowz8iG7WR0Tzk/diQ==}+ engines: {node: '>= 10'}+ cpu: [x64]+ os: [linux]+ requiresBuild: true+ dev: false+ optional: true++ /@next/[email protected]:+ resolution: {integrity: sha512-jxyg67NbEWkDyvM+O8UDbPAyYRZqGLQDTPwvrBBeOSyVWW/jFQkQKQ70JDqDSYg1ZDdl+E3nkbFbq8xM8E9x8A==}+ engines: {node: '>= 10'}+ cpu: [arm64]+ os: [win32]+ requiresBuild: true+ dev: false+ optional: true++ /@next/[email protected]:+ resolution: {integrity: sha512-twrmN753hjXRdcrZmZttb/m5xaCBFa48Dt3FbeEItpJArxriYDunWxJn+QFXdJ3hPkm4u7CKxncVvnmgQMY1ag==}+ engines: {node: '>= 10'}+ cpu: [ia32]+ os: [win32]+ requiresBuild: true+ dev: false+ optional: true++ /@next/[email protected]:+ resolution: {integrity: sha512-tkLrjBzqFTP8DVrAAQmZelEahfR9OxWpFR++vAI9FBhCiIxtwHwBHC23SBHCTURBtwB4kc/x44imVOnkKGNVGg==}+ engines: {node: '>= 10'}+ cpu: [x64]+ os: [win32]+ requiresBuild: true+ dev: false+ optional: true++ /@nodelib/[email protected]:+ resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}+ engines: {node: '>= 8'}+ dependencies:+ '@nodelib/fs.stat': 2.0.5+ run-parallel: 1.2.0+ dev: true++ /@nodelib/[email protected]:+ resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==}+ engines: {node: '>= 8'}+ dev: true++ /@nodelib/[email protected]:+ resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==}+ engines: {node: '>= 8'}+ dependencies:+ '@nodelib/fs.scandir': 2.1.5+ fastq: 1.17.1+ dev: true++ /@panva/[email protected]:+ resolution: {integrity: sha512-97ZQvZJ4gJhi24Io6zI+W7B67I82q1I8i3BSzQ4OyZj1z4OW87/ruF26lrMES58inTKLy2KgVIDcx8PU4AaANQ==}+ dev: false++ /@pkgjs/[email protected]:+ resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==}+ engines: {node: '>=14'}+ requiresBuild: true+ dev: true+ optional: true++ /@radix-ui/[email protected]:+ resolution: {integrity: sha512-V3gRzhVNU1ldS5XhAPTom1fOIo4ccrjjJgmE+LI2h/WaFpHmx0MQApT+KZHnx8abG6Avtfcz4WoEciMnpFT3HQ==}+ dev: false++ /@radix-ui/[email protected]:+ resolution: {integrity: sha512-4Z8dn6Upk0qk4P74xBhZ6Hd/w0mPEzOOLxy4xiPXOXqjF7jZS0VAKk7/x/H6FyY2zCkYJqePf1G5KmkmNJ4RBA==}+ dev: false++ /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):+ resolution: {integrity: sha512-wmCoJwj7byuVuiLKqDLlX7ClSUU0vd9sdCeM+2Ls+uf13+cpSJoMgwysHq1SGVVkJj5Xn0XWi1NoRCdkMpr6Mw==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true+ dependencies:+ '@radix-ui/primitive': 1.1.0+ '@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-dialog': 1.1.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-slot': 1.1.0(@types/[email protected])([email protected])+ '@types/react': 18.3.3+ '@types/react-dom': 18.3.0+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ dev: false++ /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):+ resolution: {integrity: sha512-FmlW1rCg7hBpEBwFbjHwCW6AmWLQM6g/v0Sn8XbP9NvmSZ2San1FpQeyPtufzOMSIx7Y4dzjlHoifhp+7NkZhw==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true+ dependencies:+ '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@types/react': 18.3.3+ '@types/react-dom': 18.3.0+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ dev: false++ /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):+ resolution: {integrity: sha512-GZsZslMJEyo1VKm5L1ZJY8tGDxZNPAoUeQUIbKeJfoi7Q4kmig5AsgLMYYuyYbfjd8fBmFORAIwYAkXMnXZgZw==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true+ dependencies:+ '@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-slot': 1.1.0(@types/[email protected])([email protected])+ '@types/react': 18.3.3+ '@types/react-dom': 18.3.0+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ dev: false++ resolution: {integrity: sha512-b4inOtiaOnYf9KWyO3jAeeCG6FeyfY6ldiEPanbUjWd+xIk5wZeHa8yVwmrJ2vderhu/BQvzCrJI0lHd+wIiqw==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ dependencies:+ '@types/react': 18.3.3+ react: 18.3.1+ dev: false++ resolution: {integrity: sha512-OKrckBy+sMEgYM/sMmqmErVn0kZqrHPJze+Ql3DzYsDDp0hl0L62nx/2122/Bvps1qz645jlcu2tD9lrRSdf8A==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ dependencies:+ '@types/react': 18.3.3+ react: 18.3.1+ dev: false++ /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):+ resolution: {integrity: sha512-zysS+iU4YP3STKNS6USvFVqI4qqx8EpiwmT5TuCApVEBca+eRCbONi4EgzfNSuVnOXvC5UPHHMjs8RXO6DH9Bg==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true+ dependencies:+ '@radix-ui/primitive': 1.1.0+ '@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-focus-guards': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-focus-scope': 1.1.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-portal': 1.1.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-presence': 1.1.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-slot': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])+ '@types/react': 18.3.3+ '@types/react-dom': 18.3.0+ aria-hidden: 1.2.4+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ react-remove-scroll: 2.5.7(@types/[email protected])([email protected])+ dev: false++ resolution: {integrity: sha512-BUuBvgThEiAXh2DWu93XsT+a3aWrGqolGlqqw5VU1kG7p/ZH2cuDlM1sRLNnY3QcBS69UIz2mcKhMxDsdewhjg==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ dependencies:+ '@types/react': 18.3.3+ react: 18.3.1+ dev: false++ /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):+ resolution: {integrity: sha512-/UovfmmXGptwGcBQawLzvn2jOfM0t4z3/uKffoBlj724+n3FvBbZ7M0aaBOmkp6pqFYpO4yx8tSVJjx3Fl2jig==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true+ dependencies:+ '@radix-ui/primitive': 1.1.0+ '@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-use-escape-keydown': 1.1.0(@types/[email protected])([email protected])+ '@types/react': 18.3.3+ '@types/react-dom': 18.3.0+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ dev: false++ /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):+ resolution: {integrity: sha512-y8E+x9fBq9qvteD2Zwa4397pUVhYsh9iq44b5RD5qu1GMJWBCBuVg1hMyItbc6+zH00TxGRqd9Iot4wzf3OoBQ==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true+ dependencies:+ '@radix-ui/primitive': 1.1.0+ '@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-menu': 2.1.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])+ '@types/react': 18.3.3+ '@types/react-dom': 18.3.0+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ dev: false++ resolution: {integrity: sha512-w6XZNUPVv6xCpZUqb/yN9DL6auvpGX3C/ee6Hdi16v2UUy25HV2Q5bcflsiDyT/g5RwbPQ/GIT1vLkeRb+ITBw==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ dependencies:+ '@types/react': 18.3.3+ react: 18.3.1+ dev: false++ /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):+ resolution: {integrity: sha512-200UD8zylvEyL8Bx+z76RJnASR2gRMuxlgFCPAe/Q/679a/r0eK3MBVYMb7vZODZcffZBdob1EGnky78xmVvcA==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true+ dependencies:+ '@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])+ '@types/react': 18.3.3+ '@types/react-dom': 18.3.0+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ dev: false++ /@radix-ui/[email protected]([email protected]):+ resolution: {integrity: sha512-jQxj/0LKgp+j9BiTXz3O3sgs26RNet2iLWmsPyRz2SIcR4q/4SbazXfnYwbAr+vLYKSfc7qxzyGQA1HLlYiuNw==}+ peerDependencies:+ react: ^16.x || ^17.x || ^18.x+ dependencies:+ react: 18.3.1+ dev: false++ resolution: {integrity: sha512-EJUrI8yYh7WOjNOqpoJaf1jlFIH2LvtgAl+YcFqNCa+4hj64ZXmPkAKOFs/ukjz3byN6bdb/AVUqHkI8/uWWMA==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ dependencies:+ '@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])+ '@types/react': 18.3.3+ react: 18.3.1+ dev: false++ /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):+ resolution: {integrity: sha512-peLblDlFw/ngk3UWq0VnYaOLy6agTZZ+MUO/WhVfm14vJGML+xH4FAl2XQGLqdefjNb7ApRg6Yn7U42ZhmYXdw==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true+ dependencies:+ '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@types/react': 18.3.3+ '@types/react-dom': 18.3.0+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ dev: false++ /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):+ resolution: {integrity: sha512-oa3mXRRVjHi6DZu/ghuzdylyjaMXLymx83irM7hTxutQbD+7IhPKdMdRHD26Rm+kHRrWcrUkkRPv5pd47a2xFQ==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true+ dependencies:+ '@radix-ui/primitive': 1.1.0+ '@radix-ui/react-collection': 1.1.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-focus-guards': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-focus-scope': 1.1.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-popper': 1.2.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-portal': 1.1.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-presence': 1.1.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-roving-focus': 1.1.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-slot': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])+ '@types/react': 18.3.3+ '@types/react-dom': 18.3.0+ aria-hidden: 1.2.4+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ react-remove-scroll: 2.5.7(@types/[email protected])([email protected])+ dev: false++ /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):+ resolution: {integrity: sha512-ZnRMshKF43aBxVWPWvbj21+7TQCvhuULWJ4gNIKYpRlQt5xGRhLx66tMp8pya2UkGHTSlhpXwmjqltDYHhw7Vg==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true+ dependencies:+ '@floating-ui/react-dom': 2.1.1([email protected])([email protected])+ '@radix-ui/react-arrow': 1.1.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-use-rect': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-use-size': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/rect': 1.1.0+ '@types/react': 18.3.3+ '@types/react-dom': 18.3.0+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ dev: false++ /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):+ resolution: {integrity: sha512-A3UtLk85UtqhzFqtoC8Q0KvR2GbXF3mtPgACSazajqq6A41mEQgo53iPzY4i6BwDxlIFqWIhiQ2G729n+2aw/g==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true+ dependencies:+ '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])+ '@types/react': 18.3.3+ '@types/react-dom': 18.3.0+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ dev: false++ /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):+ resolution: {integrity: sha512-Gq6wuRN/asf9H/E/VzdKoUtT8GC9PQc9z40/vEr0VCJ4u5XvvhWIrSsCB6vD2/cH7ugTdSfYq9fLJCcM00acrQ==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true+ dependencies:+ '@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])+ '@types/react': 18.3.3+ '@types/react-dom': 18.3.0+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ dev: false++ /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):+ resolution: {integrity: sha512-ZSpFm0/uHa8zTvKBDjLFWLo8dkr4MBsiDLz0g3gMUwqgLHz9rTaRRGYDgvZPtBJgYCBKXkS9fzmoySgr8CO6Cw==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true+ dependencies:+ '@radix-ui/react-slot': 1.1.0(@types/[email protected])([email protected])+ '@types/react': 18.3.3+ '@types/react-dom': 18.3.0+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ dev: false++ /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):+ resolution: {integrity: sha512-EA6AMGeq9AEeQDeSH0aZgG198qkfHSbvWTf1HvoDmOB5bBG/qTxjYMWUKMnYiV6J/iP/J8MEFSuB2zRU2n7ODA==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true+ dependencies:+ '@radix-ui/primitive': 1.1.0+ '@radix-ui/react-collection': 1.1.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])+ '@types/react': 18.3.3+ '@types/react-dom': 18.3.0+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ dev: false++ /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):+ resolution: {integrity: sha512-8iRDfyLtzxlprOo9IicnzvpsO1wNCkuwzzCM+Z5Rb5tNOpCdMvcc2AkzX0Fz+Tz9v6NJ5B/7EEgyZveo4FBRfQ==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true+ dependencies:+ '@radix-ui/number': 1.1.0+ '@radix-ui/primitive': 1.1.0+ '@radix-ui/react-collection': 1.1.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-focus-guards': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-focus-scope': 1.1.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-popper': 1.2.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-portal': 1.1.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-slot': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-use-previous': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-visually-hidden': 1.1.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@types/react': 18.3.3+ '@types/react-dom': 18.3.0+ aria-hidden: 1.2.4+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ react-remove-scroll: 2.5.7(@types/[email protected])([email protected])+ dev: false++ /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):+ resolution: {integrity: sha512-3uBAs+egzvJBDZAzvb/n4NxxOYpnspmWxO2u5NbZ8Y6FM/NdrGSF9bop3Cf6F6C71z1rTSn8KV0Fo2ZVd79lGA==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true+ dependencies:+ '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@types/react': 18.3.3+ '@types/react-dom': 18.3.0+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ dev: false++ resolution: {integrity: sha512-FUCf5XMfmW4dtYl69pdS4DbxKy8nj4M7SafBgPllysxmdachynNflAdp/gCsnYWNDnge6tI9onzMp5ARYc1KNw==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ dependencies:+ '@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])+ '@types/react': 18.3.3+ react: 18.3.1+ dev: false++ /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):+ resolution: {integrity: sha512-OBzy5WAj641k0AOSpKQtreDMe+isX0MQJ1IVyF03ucdF3DunOnROVrjWs8zsXUxC3zfZ6JL9HFVCUlMghz9dJw==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true+ dependencies:+ '@radix-ui/primitive': 1.1.0+ '@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-use-previous': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-use-size': 1.1.0(@types/[email protected])([email protected])+ '@types/react': 18.3.3+ '@types/react-dom': 18.3.0+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ dev: false++ /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):+ resolution: {integrity: sha512-9XRsLwe6Yb9B/tlnYCPVUd/TFS4J7HuOZW345DCeC6vKIxQGMZdx21RK4VoZauPD5frgkXTYVS5y90L+3YBn4w==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true+ dependencies:+ '@radix-ui/primitive': 1.1.0+ '@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-popper': 1.2.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-portal': 1.1.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-presence': 1.1.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-slot': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-visually-hidden': 1.1.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@types/react': 18.3.3+ '@types/react-dom': 18.3.0+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ dev: false++ resolution: {integrity: sha512-CasTfvsy+frcFkbXtSJ2Zu9JHpN8TYKxkgJGWbjiZhFivxaeW7rMeZt7QELGVLaYVfFMsKHjb7Ak0nMEe+2Vfw==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ dependencies:+ '@types/react': 18.3.3+ react: 18.3.1+ dev: false++ resolution: {integrity: sha512-MtfMVJiSr2NjzS0Aa90NPTnvTSg6C/JLCV7ma0W6+OMV78vd8OyRpID+Ng9LxzsPbLeuBnWBA1Nq30AtBIDChw==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ dependencies:+ '@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])+ '@types/react': 18.3.3+ react: 18.3.1+ dev: false++ resolution: {integrity: sha512-L7vwWlR1kTTQ3oh7g1O0CBF3YCyyTj8NmhLR+phShpyA50HCfBFKVJTpshm9PzLiKmehsrQzTYTpX9HvmC9rhw==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ dependencies:+ '@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])+ '@types/react': 18.3.3+ react: 18.3.1+ dev: false++ resolution: {integrity: sha512-+FPE0rOdziWSrH9athwI1R0HDVbWlEhd+FR+aSDk4uWGmSJ9Z54sdZVDQPZAinJhJXwfT+qnj969mCsT2gfm5w==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ dependencies:+ '@types/react': 18.3.3+ react: 18.3.1+ dev: false++ resolution: {integrity: sha512-Z/e78qg2YFnnXcW88A4JmTtm4ADckLno6F7OXotmkQfeuCVaKuYzqAATPhVzl3delXE7CxIV8shofPn3jPc5Og==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ dependencies:+ '@types/react': 18.3.3+ react: 18.3.1+ dev: false++ resolution: {integrity: sha512-0Fmkebhr6PiseyZlYAOtLS+nb7jLmpqTrJyv61Pe68MKYW6OWdRE2kI70TaYY27u7H0lajqM3hSMMLFq18Z7nQ==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ dependencies:+ '@radix-ui/rect': 1.1.0+ '@types/react': 18.3.3+ react: 18.3.1+ dev: false++ resolution: {integrity: sha512-XW3/vWuIXHa+2Uwcc2ABSfcCledmXhhQPlGbfcRXbiUQI5Icjcg19BGCZVKKInYbvUCut/ufbbLLPFC5cbb1hw==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ dependencies:+ '@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])+ '@types/react': 18.3.3+ react: 18.3.1+ dev: false++ /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):+ resolution: {integrity: sha512-N8MDZqtgCgG5S3aV60INAB475osJousYpZ4cTJ2cFbMpdHS5Y6loLTH8LPtkj2QN0x93J30HT/M3qJXM0+lyeQ==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true+ dependencies:+ '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@types/react': 18.3.3+ '@types/react-dom': 18.3.0+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ dev: false++ /@radix-ui/[email protected]:+ resolution: {integrity: sha512-A9+lCBZoaMJlVKcRBz2YByCG+Cp2t6nAnMnNba+XiWxnj6r4JUFqfsgwocMBZU9LPtdxC6wB56ySYpc7LQIoJg==}+ dev: false++ /@resvg/[email protected]:+ resolution: {integrity: sha512-C7c51Nn4yTxXFKvgh2txJFNweaVcfUPQxwEUFw4aWsCmfiBDJsTSwviIF8EcwjQ6k8bPyMWCl1vw4BdxE569Cg==}+ engines: {node: '>= 10'}+ dev: false++ /@rushstack/[email protected]:+ resolution: {integrity: sha512-qC/xYId4NMebE6w/V33Fh9gWxLgURiNYgVNObbJl2LZv0GUUItCcCqC5axQSwRaAgaxl2mELq1rMzlswaQ0Zxg==}+ dev: true++ /@shuding/[email protected]:+ resolution: {integrity: sha512-3NgmNyH3l/Hv6EvsWJbsvpcpUba6R8IREQ83nH83cyakCw7uM1arZKNfHwv1Wz6jgqrF/j4x5ELvR6PnK9nTcA==}+ engines: {node: '>= 8.0.0'}+ hasBin: true+ dependencies:+ fflate: 0.7.4+ string.prototype.codepointat: 0.2.1+ dev: false++ /@swc/[email protected]:+ resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==}+ dev: false++ /@swc/[email protected]:+ resolution: {integrity: sha512-KGYxvIOXcceOAbEk4bi/dVLEK9z8sZ0uBB3Il5b1rhfClSpcX0yfRO0KmTkqR2cnQDymwLB+25ZyMzICg/cm/A==}+ dependencies:+ '@swc/counter': 0.1.3+ tslib: 2.6.3+ dev: false++ /@tailwindcss/[email protected]([email protected]):+ resolution: {integrity: sha512-ADGcJ8dX21dVVHIwTRgzrcunY6YY9uSlAHHGVKvkA+vLc5qLwEszvKts40lx7z0qc4clpjclwLeK5rVCV2P/uw==}+ peerDependencies:+ tailwindcss: '>=3.0.0 || insiders'+ dependencies:+ lodash.castarray: 4.4.0+ lodash.isplainobject: 4.0.6+ lodash.merge: 4.6.2+ postcss-selector-parser: 6.0.10+ tailwindcss: 3.4.4+ dev: true++ /@types/[email protected]:+ resolution: {integrity: sha512-gkK1VVTr5iNiYJ7vWDI+yUFFlszhNMtVeneJ6lUTKPjprsvLLI9/tgEGiXJOnlINJA8FyA88gfnQsHbybVZrYQ==}+ dependencies:+ '@types/d3-time': 3.0.3+ dev: true++ /@types/[email protected]:+ resolution: {integrity: sha512-2p6olUZ4w3s+07q3Tm2dbiMZy5pCDfYwtLXXHUnVzXgQlZ/OyPtUz6OL382BkOuGlLXqfT+wqv8Fw2v8/0geBw==}+ dev: true++ /@types/[email protected]:+ resolution: {integrity: sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==}+ dependencies:+ '@types/ms': 0.7.34+ dev: false++ /@types/[email protected]:+ resolution: {integrity: sha512-xFdR6tkm0MWvBfO8xXCSsinYxHcqkQUlcHeSpMC2ukzOb6lwQAfDmW+Qt0AvlGd8HpsS28qKsB+oPeJn9I39jg==}+ dev: false++ /@types/[email protected]:+ resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==}+ dev: false++ /@types/[email protected]:+ resolution: {integrity: sha512-McWspRw8xx8J9HurkVBfYj0xKoE25tOFlHGdx4MJ5xORQrMGZNqJhVQWaIbm6Oyla5kYOXtDiopzKRJzEOkwJw==}+ dependencies:+ '@types/unist': 2.0.10+ dev: false++ /@types/[email protected]:+ resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==}+ dev: true++ /@types/[email protected]:+ resolution: {integrity: sha512-HMwFiRujE5PjrgwHQ25+bsLJgowjGjm5Z8FVSf0N6PwgJrwxH0QxzHYDcKsTfV3wva0vzrpqMTJS2jXPr5BMEQ==}+ dev: false++ /@types/[email protected]:+ resolution: {integrity: sha512-LnwD+mUEfxWMa1QpDraczIn6k0Ee3SMicuYSSzS6ZYl2gKS09EClnJYGd8Du6rfc5r/GZEk5o1mRb8TaTj03sQ==}+ dependencies:+ '@types/unist': 2.0.10+ dev: false++ /@types/[email protected]:+ resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==}+ dev: false++ /@types/[email protected]:+ resolution: {integrity: sha512-24xFj9R5+rfQJLRyM56qh+wnVSYhyXC2tkoBndtY0U+vubqNsYXGjufB2nn8Q6gt0LrARwL6UBtMCSVCwl4B1g==}+ dependencies:+ '@types/node': 20.14.9+ form-data: 4.0.0+ dev: false++ /@types/[email protected]:+ resolution: {integrity: sha512-nPwTRDKUctxw3di5b4TfT3I0sWDiWoPQCZjXhvdkINntwr8lcoVCKsTgnXeRubKIlfnV+eN/HYk6Jb40tbcEAQ==}+ dependencies:+ undici-types: 5.26.5+ dev: false++ /@types/[email protected]:+ resolution: {integrity: sha512-06OCtnTXtWOZBJlRApleWndH4JsRVs1pDCc8dLSQp+7PpUpX3ePdHyeNSFTeSe7FtKyQkrlPvHwJOW3SLd8Oyg==}+ dependencies:+ undici-types: 5.26.5++ /@types/[email protected]:+ resolution: {integrity: sha512-5zvhXYtRNRluoE/jAp4GVsSduVUzNWKkOZrCDBWYtE7biZywwdC2AcEzg+cSMLFRfVgeAFqpfNabiPjxFddV1Q==}++ /@types/[email protected]:+ resolution: {integrity: sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==}+ dependencies:+ '@types/react': 18.3.3++ /@types/[email protected]:+ resolution: {integrity: sha512-uLGJ87j6Sz8UaBAooU0T6lWJ0dBmjZgN1PZTrj05TNql2/XpC6+4HhMT5syIdFUUt+FASfCeLLv4kBygNU+8qA==}+ dependencies:+ '@types/react': 18.3.3+ dev: true++ /@types/[email protected]:+ resolution: {integrity: sha512-hti/R0pS0q1/xx+TsI73XIqk26eBsISZ2R0wUijXIngRK9R/e7Xw/cXVxQK7R5JjW+SV4zGcn5hXjudkN/pLIw==}+ dependencies:+ '@types/prop-types': 15.7.12+ csstype: 3.1.3++ /@types/[email protected]:+ resolution: {integrity: sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==}+ dev: false++ resolution: {integrity: sha512-tbsV1jPne5CkFQCgPBcDOt30ItF7aJoZL997JSF7MhGQqOeT3svWRYxiqlfA5RUdlHN6Fi+EI9bxqbdyAUZjYQ==}+ engines: {node: ^16.0.0 || >=18.0.0}+ peerDependencies:+ eslint: ^7.0.0 || ^8.0.0+ typescript: '*'+ peerDependenciesMeta:+ typescript:+ optional: true+ dependencies:+ '@typescript-eslint/scope-manager': 6.21.0+ '@typescript-eslint/types': 6.21.0+ '@typescript-eslint/typescript-estree': 6.21.0([email protected])+ '@typescript-eslint/visitor-keys': 6.21.0+ debug: 4.3.5+ eslint: 8.57.0+ typescript: 5.5.2+ transitivePeerDependencies:+ - supports-color+ dev: true++ resolution: {integrity: sha512-8lKUOebNLcR0D7RvlcloOacTOWzOqemWEWkKSVpMZVF/XVcwjPR+3MD08QzbW9TCGJ+DwIc6zUSGZ9vd8cO1IA==}+ engines: {node: ^18.18.0 || >=20.0.0}+ peerDependencies:+ eslint: ^8.56.0+ typescript: '*'+ peerDependenciesMeta:+ typescript:+ optional: true+ dependencies:+ '@typescript-eslint/scope-manager': 7.14.1+ '@typescript-eslint/types': 7.14.1+ '@typescript-eslint/typescript-estree': 7.14.1([email protected])+ '@typescript-eslint/visitor-keys': 7.14.1+ debug: 4.3.5+ eslint: 8.57.0+ typescript: 5.5.2+ transitivePeerDependencies:+ - supports-color+ dev: true++ /@typescript-eslint/[email protected]:+ resolution: {integrity: sha512-OwLUIWZJry80O99zvqXVEioyniJMa+d2GrqpUTqi5/v5D5rOrppJVBPa0yKCblcigC0/aYAzxxqQ1B+DS2RYsg==}+ engines: {node: ^16.0.0 || >=18.0.0}+ dependencies:+ '@typescript-eslint/types': 6.21.0+ '@typescript-eslint/visitor-keys': 6.21.0+ dev: true++ /@typescript-eslint/[email protected]:+ resolution: {integrity: sha512-gPrFSsoYcsffYXTOZ+hT7fyJr95rdVe4kGVX1ps/dJ+DfmlnjFN/GcMxXcVkeHDKqsq6uAcVaQaIi3cFffmAbA==}+ engines: {node: ^18.18.0 || >=20.0.0}+ dependencies:+ '@typescript-eslint/types': 7.14.1+ '@typescript-eslint/visitor-keys': 7.14.1+ dev: true++ /@typescript-eslint/[email protected]:+ resolution: {integrity: sha512-1kFmZ1rOm5epu9NZEZm1kckCDGj5UJEf7P1kliH4LKu/RkwpsfqqGmY2OOcUs18lSlQBKLDYBOGxRVtrMN5lpg==}+ engines: {node: ^16.0.0 || >=18.0.0}+ dev: true++ /@typescript-eslint/[email protected]:+ resolution: {integrity: sha512-mL7zNEOQybo5R3AavY+Am7KLv8BorIv7HCYS5rKoNZKQD9tsfGUpO4KdAn3sSUvTiS4PQkr2+K0KJbxj8H9NDg==}+ engines: {node: ^18.18.0 || >=20.0.0}+ dev: true++ /@typescript-eslint/[email protected]([email protected]):+ resolution: {integrity: sha512-6npJTkZcO+y2/kr+z0hc4HwNfrrP4kNYh57ek7yCNlrBjWQ1Y0OS7jiZTkgumrvkX5HkEKXFZkkdFNkaW2wmUQ==}+ engines: {node: ^16.0.0 || >=18.0.0}+ peerDependencies:+ typescript: '*'+ peerDependenciesMeta:+ typescript:+ optional: true+ dependencies:+ '@typescript-eslint/types': 6.21.0+ '@typescript-eslint/visitor-keys': 6.21.0+ debug: 4.3.5+ globby: 11.1.0+ is-glob: 4.0.3+ minimatch: 9.0.3+ semver: 7.6.2+ ts-api-utils: 1.3.0([email protected])+ typescript: 5.5.2+ transitivePeerDependencies:+ - supports-color+ dev: true++ /@typescript-eslint/[email protected]([email protected]):+ resolution: {integrity: sha512-k5d0VuxViE2ulIO6FbxxSZaxqDVUyMbXcidC8rHvii0I56XZPv8cq+EhMns+d/EVIL41sMXqRbK3D10Oza1bbA==}+ engines: {node: ^18.18.0 || >=20.0.0}+ peerDependencies:+ typescript: '*'+ peerDependenciesMeta:+ typescript:+ optional: true+ dependencies:+ '@typescript-eslint/types': 7.14.1+ '@typescript-eslint/visitor-keys': 7.14.1+ debug: 4.3.5+ globby: 11.1.0+ is-glob: 4.0.3+ minimatch: 9.0.5+ semver: 7.6.2+ ts-api-utils: 1.3.0([email protected])+ typescript: 5.5.2+ transitivePeerDependencies:+ - supports-color+ dev: true++ /@typescript-eslint/[email protected]:+ resolution: {integrity: sha512-JJtkDduxLi9bivAB+cYOVMtbkqdPOhZ+ZI5LC47MIRrDV4Yn2o+ZnW10Nkmr28xRpSpdJ6Sm42Hjf2+REYXm0A==}+ engines: {node: ^16.0.0 || >=18.0.0}+ dependencies:+ '@typescript-eslint/types': 6.21.0+ eslint-visitor-keys: 3.4.3+ dev: true++ /@typescript-eslint/[email protected]:+ resolution: {integrity: sha512-Crb+F75U1JAEtBeQGxSKwI60hZmmzaqA3z9sYsVm8X7W5cwLEm5bRe0/uXS6+MR/y8CVpKSR/ontIAIEPFcEkA==}+ engines: {node: ^18.18.0 || >=20.0.0}+ dependencies:+ '@typescript-eslint/types': 7.14.1+ eslint-visitor-keys: 3.4.3+ dev: true++ /@ungap/[email protected]:+ resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==}+ dev: true++ /@upstash/[email protected]:+ resolution: {integrity: sha512-7sDQQqvVnnV+2PUVGjocITa34CULGLoWhmfSY/LtpxNYv24EsgOk9VXhmGXIyzJBcXxB614wOF6ccEN0Lr7fqQ==}+ dependencies:+ crypto-js: 4.2.0+ dev: false++ resolution: {integrity: sha512-xhSlYgAuJ6Q4WQGkzYTLmXwhYl39sWjoMA3nHxfkvG+WdBT25c563a7QhwwKivEOZtPJXifYHR1m2ihoisbWyA==}+ peerDependencies:+ next: '>= 13'+ react: ^18 || ^19+ peerDependenciesMeta:+ next:+ optional: true+ react:+ optional: true+ dependencies:+ next: 14.2.4([email protected])([email protected])+ react: 18.3.1+ server-only: 0.0.1+ dev: false++ /@vercel/[email protected]:+ resolution: {integrity: sha512-zdVrhbzZBYo5d1Hfn4bKtqCeKf0FuzW8rSHauzQVMUgv1+1JOwof2mWcBuI+YMJy8s0G0oqAUfQ7HgUDzb8EbA==}+ engines: {node: '>=14.6'}+ dependencies:+ '@upstash/redis': 1.31.6+ dev: false++ /@vercel/[email protected]:+ resolution: {integrity: sha512-OTe0KE37F5Y2eTys6eMnfopC+P4qr2ooXUTFyFPTplYSPwowmFk/HLD1FXtbKLjqsIH0SgekcJWad+C5uX4nkg==}+ engines: {node: '>=16'}+ dependencies:+ '@resvg/resvg-wasm': 2.4.0+ satori: 0.10.9+ yoga-wasm-web: 0.3.3+ dev: false++ /@vue/[email protected]:+ resolution: {integrity: sha512-skOiodXWTV3DxfDhB4rOf3OGalpITLlgCeOwb+Y9GJpfQ8ErigdBUHomBzvG78JoVE8MJoQsb+qhZiHfKeNeEg==}+ dependencies:+ '@babel/parser': 7.24.7+ '@vue/shared': 3.4.31+ entities: 4.5.0+ estree-walker: 2.0.2+ source-map-js: 1.2.0+ dev: false++ /@vue/[email protected]:+ resolution: {integrity: sha512-wK424WMXsG1IGMyDGyLqB+TbmEBFM78hIsOJ9QwUVLGrcSk0ak6zYty7Pj8ftm7nEtdU/DGQxAXp0/lM/2cEpQ==}+ dependencies:+ '@vue/compiler-core': 3.4.31+ '@vue/shared': 3.4.31+ dev: false++ /@vue/[email protected]:+ resolution: {integrity: sha512-einJxqEw8IIJxzmnxmJBuK2usI+lJonl53foq+9etB2HAzlPjAS/wa7r0uUpXw5ByX3/0uswVSrjNb17vJm1kQ==}+ dependencies:+ '@babel/parser': 7.24.7+ '@vue/compiler-core': 3.4.31+ '@vue/compiler-dom': 3.4.31+ '@vue/compiler-ssr': 3.4.31+ '@vue/shared': 3.4.31+ estree-walker: 2.0.2+ magic-string: 0.30.10+ postcss: 8.4.39+ source-map-js: 1.2.0+ dev: false++ /@vue/[email protected]:+ resolution: {integrity: sha512-RtefmITAje3fJ8FSg1gwgDhdKhZVntIVbwupdyZDSifZTRMiWxWehAOTCc8/KZDnBOcYQ4/9VWxsTbd3wT0hAA==}+ dependencies:+ '@vue/compiler-dom': 3.4.31+ '@vue/shared': 3.4.31+ dev: false++ /@vue/[email protected]:+ resolution: {integrity: sha512-VGkTani8SOoVkZNds1PfJ/T1SlAIOf8E58PGAhIOUDYPC4GAmFA2u/E14TDAFcf3vVDKunc4QqCe/SHr8xC65Q==}+ dependencies:+ '@vue/shared': 3.4.31+ dev: false++ /@vue/[email protected]:+ resolution: {integrity: sha512-LDkztxeUPazxG/p8c5JDDKPfkCDBkkiNLVNf7XZIUnJ+66GVGkP+TIh34+8LtPisZ+HMWl2zqhIw0xN5MwU1cw==}+ dependencies:+ '@vue/reactivity': 3.4.31+ '@vue/shared': 3.4.31+ dev: false++ /@vue/[email protected]:+ resolution: {integrity: sha512-2Auws3mB7+lHhTFCg8E9ZWopA6Q6L455EcU7bzcQ4x6Dn4cCPuqj6S2oBZgN2a8vJRS/LSYYxwFFq2Hlx3Fsaw==}+ dependencies:+ '@vue/reactivity': 3.4.31+ '@vue/runtime-core': 3.4.31+ '@vue/shared': 3.4.31+ csstype: 3.1.3+ dev: false++ /@vue/[email protected]([email protected]):+ resolution: {integrity: sha512-D5BLbdvrlR9PE3by9GaUp1gQXlCNadIZytMIb8H2h3FMWJd4oUfkUTEH2wAr3qxoRz25uxbTcbqd3WKlm9EHQA==}+ peerDependencies:+ vue: 3.4.31+ dependencies:+ '@vue/compiler-ssr': 3.4.31+ '@vue/shared': 3.4.31+ vue: 3.4.31([email protected])+ dev: false++ /@vue/[email protected]:+ resolution: {integrity: sha512-Yp3wtJk//8cO4NItOPpi3QkLExAr/aLBGZMmTtW9WpdwBCJpRM6zj9WgWktXAl8IDIozwNMByT45JP3tO3ACWA==}+ dev: false++ resolution: {integrity: sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==}+ engines: {node: '>=6.5'}+ dependencies:+ event-target-shim: 5.0.1+ dev: false++ resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==}+ peerDependencies:+ acorn: ^6.0.0 || ^7.0.0 || ^8.0.0+ dependencies:+ acorn: 8.12.0+ dev: true++ resolution: {integrity: sha512-RTvkC4w+KNXrM39/lWCUaG0IbRkWdCv7W/IOW9oU6SawyxulvkQy5HQPVTKxEjczcUvapcrw3cFx/60VN/NRNw==}+ engines: {node: '>=0.4.0'}+ hasBin: true++ resolution: {integrity: sha512-5GG/5IbQQpC9FpkRGsSvZI5QYeSCzlJHdpBQntCsuTOxhKD8lqKhrleg2Yi7yvMIf82Ycmmqln9U8V9qwEiJew==}+ engines: {node: '>= 8.0.0'}+ dependencies:+ humanize-ms: 1.2.1+ dev: false++ /[email protected]([email protected])([email protected])([email protected])([email protected])([email protected]):+ resolution: {integrity: sha512-kNqnmSQxUm3dcxLv/NoOusoMAq7EK/zahB/N//wkGoawgYqfOUpvz3+uS/FG52tZwMyy4YblVoeuBHpfPWzNDw==}+ engines: {node: '>=18'}+ peerDependencies:+ openai: ^4.42.0+ react: ^18 || ^19+ svelte: ^3.0.0 || ^4.0.0+ zod: ^3.0.0+ peerDependenciesMeta:+ openai:+ optional: true+ react:+ optional: true+ svelte:+ optional: true+ zod:+ optional: true+ dependencies:+ '@ai-sdk/provider': 0.0.11+ '@ai-sdk/provider-utils': 1.0.0([email protected])+ '@ai-sdk/react': 0.0.16([email protected])([email protected])+ '@ai-sdk/solid': 0.0.11([email protected])+ '@ai-sdk/svelte': 0.0.12([email protected])([email protected])+ '@ai-sdk/ui-utils': 0.0.9([email protected])+ '@ai-sdk/vue': 0.0.11([email protected])([email protected])+ eventsource-parser: 1.1.2+ json-schema: 0.4.0+ jsondiffpatch: 0.6.0+ nanoid: 3.3.6+ openai: 4.52.2+ react: 18.3.1+ secure-json-parse: 2.7.0+ sswr: 2.1.0([email protected])+ svelte: 4.2.18+ zod: 3.23.8+ zod-to-json-schema: 3.22.5([email protected])+ transitivePeerDependencies:+ - solid-js+ - vue+ dev: false++ resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==}+ dependencies:+ fast-deep-equal: 3.1.3+ fast-json-stable-stringify: 2.1.0+ json-schema-traverse: 0.4.1+ uri-js: 4.4.1+ dev: true++ resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==}+ engines: {node: '>=8'}+ dev: true++ resolution: {integrity: sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==}+ engines: {node: '>=12'}+ dev: true++ resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==}+ engines: {node: '>=8'}+ dependencies:+ color-convert: 2.0.1+ dev: true++ resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==}+ engines: {node: '>=12'}+ dev: true++ resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==}+ dev: true++ resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==}+ engines: {node: '>= 8'}+ dependencies:+ normalize-path: 3.0.0+ picomatch: 2.3.1+ dev: true++ resolution: {integrity: sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==}+ dev: true++ resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==}+ dev: true++ resolution: {integrity: sha512-y+CcFFwelSXpLZk/7fMB2mUbGtX9lKycf1MWJ7CaTIERyitVlyQx6C+sxcROU2BAJ24OiZyK+8wj2i8AlBoS3A==}+ engines: {node: '>=10'}+ dependencies:+ tslib: 2.6.3+ dev: false++ resolution: {integrity: sha512-R5iJ5lkuHybztUfuOAznmboyjWq8O6sqNqtK7CLOqdydi54VNbORp49mb14KbWgG1QD3JFO9hJdZ+y4KutfdOQ==}+ dependencies:+ deep-equal: 2.2.3+ dev: true++ resolution: {integrity: sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==}+ dependencies:+ dequal: 2.0.3+ dev: false++ resolution: {integrity: sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.7+ is-array-buffer: 3.0.4+ dev: true++ resolution: {integrity: sha512-itaWrbYbqpGXkGhZPGUulwnhVf5Hpy1xiCFsGqyIGglbBxmG5vSjxQen3/WGOjPpNEv1RtBLKxbmVXm8HpJStQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.7+ define-properties: 1.2.1+ es-abstract: 1.23.3+ es-object-atoms: 1.0.0+ get-intrinsic: 1.2.4+ is-string: 1.0.7+ dev: true++ resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==}+ engines: {node: '>=8'}+ dev: true++ resolution: {integrity: sha512-CVvd6FHg1Z3POpBLxO6E6zr+rSKEQ9L6rZHAaY7lLfhKsWYUBBOuMs0e9o24oopj6H+geRCX0YJ+TJLBK2eHyQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.7+ define-properties: 1.2.1+ es-abstract: 1.23.3+ es-errors: 1.3.0+ es-object-atoms: 1.0.0+ es-shim-unscopables: 1.0.2+ dev: true++ resolution: {integrity: sha512-zfETvRFA8o7EiNn++N5f/kaCw221hrpGsDmcpndVupkPzEc1Wuf3VgC0qby1BbHs7f5DVYjgtEU2LLh5bqeGfQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.7+ define-properties: 1.2.1+ es-abstract: 1.23.3+ es-errors: 1.3.0+ es-object-atoms: 1.0.0+ es-shim-unscopables: 1.0.2+ dev: true++ resolution: {integrity: sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.7+ define-properties: 1.2.1+ es-abstract: 1.23.3+ es-shim-unscopables: 1.0.2+ dev: true++ resolution: {integrity: sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.7+ define-properties: 1.2.1+ es-abstract: 1.23.3+ es-shim-unscopables: 1.0.2+ dev: true++ resolution: {integrity: sha512-wwDCoT4Ck4Cz7sLtgUmzR5UV3YF5mFHUlbChCzZBQZ+0m2cl/DH3tKgvphv1nKgFsJ48oCSg6p91q2Vm0I/ZMA==}+ dependencies:+ call-bind: 1.0.7+ define-properties: 1.2.1+ es-abstract: 1.23.3+ es-shim-unscopables: 1.0.2+ dev: true++ resolution: {integrity: sha512-p6Fx8B7b7ZhL/gmUsAy0D15WhvDccw3mnGNbZpi3pmeJdxtWsj2jEaI4Y6oo3XiHfzuSgPwKc04MYt6KgvC/wA==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.7+ define-properties: 1.2.1+ es-abstract: 1.23.3+ es-errors: 1.3.0+ es-shim-unscopables: 1.0.2+ dev: true++ resolution: {integrity: sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A==}+ engines: {node: '>= 0.4'}+ dependencies:+ array-buffer-byte-length: 1.0.1+ call-bind: 1.0.7+ define-properties: 1.2.1+ es-abstract: 1.23.3+ es-errors: 1.3.0+ get-intrinsic: 1.2.4+ is-array-buffer: 3.0.4+ is-shared-array-buffer: 1.0.3+ dev: true++ resolution: {integrity: sha512-OH/2E5Fg20h2aPrbe+QL8JZQFko0YZaF+j4mnQ7BGhfavO7OpSLa8a0y9sBwomHdSbkhTS8TQNayBfnW5DwbvQ==}+ dev: true++ resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==}+ dev: false++ resolution: {integrity: sha512-BaENR2+zBZ8xXhM4pUaKUxlVdxZ0EZhjvbopwnXmxRUfqDmwSpC2lAi/QXvx7NRdPCo1WKEcEF6mV64si1z4Ew==}+ engines: {node: ^10 || ^12 || >=14}+ hasBin: true+ peerDependencies:+ postcss: ^8.1.0+ dependencies:+ browserslist: 4.23.1+ caniuse-lite: 1.0.30001639+ fraction.js: 4.3.7+ normalize-range: 0.1.2+ picocolors: 1.0.1+ postcss: 8.4.39+ postcss-value-parser: 4.2.0+ dev: true++ resolution: {integrity: sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ possible-typed-array-names: 1.0.0+ dev: true++ resolution: {integrity: sha512-QbUdXJVTpvUTHU7871ppZkdOLBeGUKBQWHkHrvN2V9IQWGMt61zf3B45BtzjxEJzYuj0JBjBZP/hmYS/R9pmAw==}+ engines: {node: '>=4'}+ dev: true++ resolution: {integrity: sha512-goKlv8DZrK9hUh975fnHzhNIO4jUnFCfv/dszV5VwUGDFjI6vQ2VwoyjYjYNEbBE8AH87TduWP5uyDR1D+Iteg==}+ dependencies:+ deep-equal: 2.2.3+ dev: true++ resolution: {integrity: sha512-+60uv1hiVFhHZeO+Lz0RYzsVHy5Wr1ayX0mwda9KPDVLNJgZ1T9Ny7VmFbLDzxsH0D87I86vgj3gFrjTJUYznw==}+ dependencies:+ dequal: 2.0.3+ dev: false++ resolution: {integrity: sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==}+ dev: false++ resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}+ dev: true++ resolution: {integrity: sha512-3XSA2cR/h/73EzlXXdU6YNycmYI7+kicTxks4eJg2g39biHR84slg2+des+p7iHYhbRg/udIS4TD53WabcOUkw==}+ engines: {node: '>= 0.4'}+ dev: false++ resolution: {integrity: sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==}+ engines: {node: '>=8'}+ dev: true++ resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==}+ dependencies:+ balanced-match: 1.0.2+ concat-map: 0.0.1+ dev: true++ resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==}+ dependencies:+ balanced-match: 1.0.2+ dev: true++ resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==}+ engines: {node: '>=8'}+ dependencies:+ fill-range: 7.1.1+ dev: true++ resolution: {integrity: sha512-TUfofFo/KsK/bWZ9TWQ5O26tsWW4Uhmt8IYklbnUa70udB6P2wA7w7o4PY4muaEPBQaAX+CEnmmIA41NVHtPVw==}+ engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}+ hasBin: true+ dependencies:+ caniuse-lite: 1.0.30001639+ electron-to-chromium: 1.4.815+ node-releases: 2.0.14+ update-browserslist-db: 1.0.16([email protected])+ dev: true++ resolution: {integrity: sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==}+ engines: {node: '>=10.16.0'}+ dependencies:+ streamsearch: 1.1.0+ dev: false++ resolution: {integrity: sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==}+ engines: {node: '>= 0.4'}+ dependencies:+ es-define-property: 1.0.0+ es-errors: 1.3.0+ function-bind: 1.1.2+ get-intrinsic: 1.2.4+ set-function-length: 1.2.2+ dev: true++ resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==}+ engines: {node: '>=6'}+ dev: true++ resolution: {integrity: sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==}+ engines: {node: '>= 6'}+ dev: true++ resolution: {integrity: sha512-dU+Tx2fsypxTgtLoE36npi3UqcjSSMNYfkqgmoEhtZrraP5VWq0K7FkWVTYa8eMPtnU/G2txVsfdCJTn9uzpuQ==}+ dev: false++ resolution: {integrity: sha512-eFHflNTBIlFwP2AIKaYuBQN/apnUoKNhBdza8ZnW/h2di4LCZ4xFqYlxUxo+LQ76KFI1PGcC1QDxMbxTZpSCAg==}++ resolution: {integrity: sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==}+ dev: false++ resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==}+ engines: {node: '>=10'}+ dependencies:+ ansi-styles: 4.3.0+ supports-color: 7.2.0+ dev: true++ resolution: {integrity: sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==}+ engines: {node: ^12.17.0 || ^14.13 || >=16.0.0}+ dev: false++ resolution: {integrity: sha512-3Xnr+7ZFS1uxeiUDvV02wQ+QDbc55o97tIV5zHScSPJpcLm/r0DFPcoY3tYRp+VZukxuMeKgXYmsXQHO05zQeA==}+ dev: false++ resolution: {integrity: sha512-iBMyeEHxfVnIakwOuDXpVkc54HijNgCyQB2w0VfGQThle6NXn50zU6V/u+LDhxHcDUPojn6Kpga3PTAD8W1bQw==}+ dev: false++ resolution: {integrity: sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==}+ dev: false++ resolution: {integrity: sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==}+ dev: false++ resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==}+ engines: {node: '>= 8.10.0'}+ dependencies:+ anymatch: 3.1.3+ braces: 3.0.3+ glob-parent: 5.1.2+ is-binary-path: 2.1.0+ is-glob: 4.0.3+ normalize-path: 3.0.0+ readdirp: 3.6.0+ optionalDependencies:+ fsevents: 2.3.3+ dev: true++ resolution: {integrity: sha512-jFI8IQw4hczaL4ALINxqLEXQbWcNjoSkloa4IaufXCJr6QawJyw7tuRysRsrE8w2p/4gGaxKIt/hX3qz/IbD1A==}+ dependencies:+ clsx: 2.0.0+ dev: false++ resolution: {integrity: sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==}+ dev: false++ resolution: {integrity: sha512-rQ1+kcj+ttHG0MKVGBUXwayCCF1oh39BF5COIpRzuCEv8Mwjv0XucrI2ExNTOn9IlLifGClWQcU9BrZORvtw6Q==}+ engines: {node: '>=6'}+ dev: false++ resolution: {integrity: sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==}+ engines: {node: '>=6'}+ dev: false++ resolution: {integrity: sha512-7qJWqItLA8/VPVlKJlFXU+NBlo/qyfs39aJcuMT/2ere32ZqvF5OSxgdM5xOfJJ7O429gg2HM47y8v9P+9wrNw==}+ dependencies:+ '@jridgewell/sourcemap-codec': 1.4.15+ '@types/estree': 1.0.5+ acorn: 8.12.0+ estree-walker: 3.0.3+ periscopic: 3.1.0+ dev: false++ resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==}+ engines: {node: '>=7.0.0'}+ dependencies:+ color-name: 1.1.4+ dev: true++ resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==}++ resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==}+ engines: {node: '>= 0.8'}+ dependencies:+ delayed-stream: 1.0.0+ dev: false++ resolution: {integrity: sha512-GHuDRO12Sypu2cV70d1dkA2EUmXHgntrzbpvOB+Qy+49ypNfGgFQIC2fhhXbnyrJRynDCAARsT7Ou0M6hirpfw==}+ dev: false++ resolution: {integrity: sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==}+ dev: false++ resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==}+ engines: {node: '>= 6'}+ dev: true++ resolution: {integrity: sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==}+ engines: {node: '>= 12'}+ dev: false++ resolution: {integrity: sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=}+ dev: true++ resolution: {integrity: sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==}+ engines: {node: '>= 0.6'}+ dev: false++ resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==}+ engines: {node: '>= 8'}+ dependencies:+ path-key: 3.1.1+ shebang-command: 2.0.0+ which: 2.0.2+ dev: true++ resolution: {integrity: sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q==}+ dev: false++ resolution: {integrity: sha512-2EZLisiZQ+7m4wwur/qiYJRniHX4K5Tc9w93MT3AS0WS1u5kaZ4FKXlOTBhOjc+CgEgPiGY+fX1yWD8UwpEqUA==}+ dev: false++ resolution: {integrity: sha512-9jaqR6e7Ohds+aWwmhe6wILJ99xYQbfmK9QQB9CcMjDbTxPZjwEmUQpU91OG05Xgm8BahT5fW+svbsQGjS/zPg==}+ dev: false++ resolution: {integrity: sha512-FyyrDHZKEjXDpNJYvVsV960FiqQyXc/LlYmsxl2BcdMb2WPx0OGRVgTg55rPSyLSNMqP52R9r8geSp7apN3Ofg==}+ engines: {node: '>=4'}+ dev: false++ resolution: {integrity: sha512-e8RKaLXMOFii+02mOlqwjbD00KSEKqblnpO9e++1aXS1fPQOpS1YoqdVHBqPjHNoxeF2mimzVqawm2KCbEdtHQ==}+ dependencies:+ camelize: 1.0.1+ css-color-keywords: 1.0.0+ postcss-value-parser: 4.2.0+ dev: false++ resolution: {integrity: sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==}+ engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0}+ dependencies:+ mdn-data: 2.0.30+ source-map-js: 1.2.0+ dev: false++ resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==}+ engines: {node: '>=4'}+ hasBin: true+ dev: true++ resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==}++ resolution: {integrity: sha512-tdQAmyA18i4J7wprpYq8ClcxZy3SC31QMeByyCFyRt7BVHdREQZ5lpzoe5mFEYZUWe+oq8HBvk9JjpibyEV4Jg==}+ engines: {node: '>=12'}+ dependencies:+ internmap: 2.0.3+ dev: false++ resolution: {integrity: sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==}+ engines: {node: '>=12'}+ dev: false++ resolution: {integrity: sha512-YyUI6AEuY/Wpt8KWLgZHsIU86atmikuoOmCfommt0LYHiQSPjvX2AcFc38PX0CBpr2RCyZhjex+NS/LPOv6YqA==}+ engines: {node: '>=12'}+ dev: false++ resolution: {integrity: sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==}+ engines: {node: '>=12'}+ dependencies:+ d3-color: 3.1.0+ dev: false++ resolution: {integrity: sha512-GZW464g1SH7ag3Y7hXjf8RoUuAFIqklOAq3MRl4OaWabTFJY9PN/E1YklhXLh+OQ3fM9yS2nOkCoS+WLZ6kvxQ==}+ engines: {node: '>=12'}+ dependencies:+ d3-array: 3.2.4+ d3-format: 3.1.0+ d3-interpolate: 3.0.1+ d3-time: 3.1.0+ d3-time-format: 4.1.0+ dev: false++ resolution: {integrity: sha512-dJxPBlzC7NugB2PDLwo9Q8JiTR3M3e4/XANkreKSUxF8vvXKqm1Yfq4Q5dl8budlunRVlUUaDUgFt7eA8D6NLg==}+ engines: {node: '>=12'}+ dependencies:+ d3-time: 3.1.0+ dev: false++ resolution: {integrity: sha512-VqKjzBLejbSMT4IgbmVgDjpkYrNWUYJnbCGo874u7MMKIWsILRX+OpX/gTk8MqjpT1A/c6HY2dCA77ZN0lkQ2Q==}+ engines: {node: '>=12'}+ dependencies:+ d3-array: 3.2.4+ dev: false++ resolution: {integrity: sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==}+ dev: true++ resolution: {integrity: sha512-0lht7OugA5x3iJLOWFhWK/5ehONdprk0ISXqVFn/NFrDu+cuc8iADFrGQz5BnRK7LLU3JmkbXSxaqX+/mXYtUA==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.7+ es-errors: 1.3.0+ is-data-view: 1.0.1+ dev: true++ resolution: {integrity: sha512-4J7wRJD3ABAzr8wP+OcIcqq2dlUKp4DVflx++hs5h5ZKydWMI6/D/fAot+yh6g2tHh8fLFTvNOaVN357NvSrOQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.7+ es-errors: 1.3.0+ is-data-view: 1.0.1+ dev: true++ resolution: {integrity: sha512-t/Ygsytq+R995EJ5PZlD4Cu56sWa8InXySaViRzw9apusqsOO2bQP+SbYzAhR0pFKoB+43lYy8rWban9JSuXnA==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.7+ es-errors: 1.3.0+ is-data-view: 1.0.1+ dev: true++ resolution: {integrity: sha512-fRHTG8g/Gif+kSh50gaGEdToemgfj74aRX3swtiouboip5JDLAyDE9F11nHMIcvOaXeOC6D7SpNhi7uFyB7Uww==}+ dev: false++ resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==}+ peerDependencies:+ supports-color: '*'+ peerDependenciesMeta:+ supports-color:+ optional: true+ dependencies:+ ms: 2.1.3+ dev: true++ resolution: {integrity: sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==}+ engines: {node: '>=6.0'}+ peerDependencies:+ supports-color: '*'+ peerDependenciesMeta:+ supports-color:+ optional: true+ dependencies:+ ms: 2.1.2++ resolution: {integrity: sha512-O8x12RzrUF8xyVcY0KJowWsmaJxQbmy0/EtnNtHRpsOcT7dFk5W598coHqBVpmWo1oQQfsCqfCmkZN5DJrZVdg==}+ dependencies:+ character-entities: 2.0.2+ dev: false++ resolution: {integrity: sha512-ZIwpnevOurS8bpT4192sqAowWM76JDKSHYzMLty3BZGSswgq6pBaH3DhCSW5xVAZICZyKdOBPjwww5wfgT/6PA==}+ engines: {node: '>= 0.4'}+ dependencies:+ array-buffer-byte-length: 1.0.1+ call-bind: 1.0.7+ es-get-iterator: 1.1.3+ get-intrinsic: 1.2.4+ is-arguments: 1.1.1+ is-array-buffer: 3.0.4+ is-date-object: 1.0.5+ is-regex: 1.1.4+ is-shared-array-buffer: 1.0.3+ isarray: 2.0.5+ object-is: 1.1.6+ object-keys: 1.1.1+ object.assign: 4.1.5+ regexp.prototype.flags: 1.5.2+ side-channel: 1.0.6+ which-boxed-primitive: 1.0.2+ which-collection: 1.0.2+ which-typed-array: 1.1.15+ dev: true++ resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==}+ dev: true++ resolution: {integrity: sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==}+ engines: {node: '>= 0.4'}+ dependencies:+ es-define-property: 1.0.0+ es-errors: 1.3.0+ gopd: 1.0.1+ dev: true++ resolution: {integrity: sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==}+ engines: {node: '>= 0.4'}+ dependencies:+ define-data-property: 1.1.4+ has-property-descriptors: 1.0.2+ object-keys: 1.1.1+ dev: true++ resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==}+ engines: {node: '>=0.4.0'}+ dev: false++ resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==}+ engines: {node: '>=6'}+ dev: false++ resolution: {integrity: sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ==}+ dev: false++ resolution: {integrity: sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==}+ dev: true++ resolution: {integrity: sha512-IayShXAgj/QMXgB0IWmKx+rOPuGMhqm5w6jvFxmVenXKIzRqTAAsbBPT3kWQeGANj3jGgvcvv4yK6SxqYmikgw==}+ dev: false++ resolution: {integrity: sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A==}+ engines: {node: '>=0.3.1'}+ dev: false++ resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==}+ engines: {node: '>=8'}+ dependencies:+ path-type: 4.0.0+ dev: true++ resolution: {integrity: sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==}+ dev: true++ resolution: {integrity: sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==}+ engines: {node: '>=0.10.0'}+ dependencies:+ esutils: 2.0.3+ dev: true++ resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==}+ engines: {node: '>=6.0.0'}+ dependencies:+ esutils: 2.0.3+ dev: true++ resolution: {integrity: sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==}+ engines: {node: '>=12'}+ dev: true++ resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==}+ dev: true++ resolution: {integrity: sha512-OvpTT2ItpOXJL7IGcYakRjHCt8L5GrrN/wHCQsRB4PQa1X9fe+X9oen245mIId7s14xvArCGSTIq644yPUKKLg==}+ dev: true++ resolution: {integrity: sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==}+ dev: false++ resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==}+ dev: true++ resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==}+ dev: true++ resolution: {integrity: sha512-dwDPwZL0dmye8Txp2gzFmA6sxALaSvdRDjPH0viLcKrtlOL3tw62nWWweVD1SdILDTJrbrL6tdWVN58Wo6U3eA==}+ engines: {node: '>=10.13.0'}+ dependencies:+ graceful-fs: 4.2.11+ tapable: 2.2.1+ dev: true++ resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==}+ engines: {node: '>=0.12'}+ dev: false++ resolution: {integrity: sha512-e+HfNH61Bj1X9/jLc5v1owaLYuHdeHHSQlkhCBiTK8rBvKaULl/beGMxwrMXjpYrv4pz22BlY570vVePA2ho4A==}+ engines: {node: '>= 0.4'}+ dependencies:+ array-buffer-byte-length: 1.0.1+ arraybuffer.prototype.slice: 1.0.3+ available-typed-arrays: 1.0.7+ call-bind: 1.0.7+ data-view-buffer: 1.0.1+ data-view-byte-length: 1.0.1+ data-view-byte-offset: 1.0.0+ es-define-property: 1.0.0+ es-errors: 1.3.0+ es-object-atoms: 1.0.0+ es-set-tostringtag: 2.0.3+ es-to-primitive: 1.2.1+ function.prototype.name: 1.1.6+ get-intrinsic: 1.2.4+ get-symbol-description: 1.0.2+ globalthis: 1.0.4+ gopd: 1.0.1+ has-property-descriptors: 1.0.2+ has-proto: 1.0.3+ has-symbols: 1.0.3+ hasown: 2.0.2+ internal-slot: 1.0.7+ is-array-buffer: 3.0.4+ is-callable: 1.2.7+ is-data-view: 1.0.1+ is-negative-zero: 2.0.3+ is-regex: 1.1.4+ is-shared-array-buffer: 1.0.3+ is-string: 1.0.7+ is-typed-array: 1.1.13+ is-weakref: 1.0.2+ object-inspect: 1.13.2+ object-keys: 1.1.1+ object.assign: 4.1.5+ regexp.prototype.flags: 1.5.2+ safe-array-concat: 1.1.2+ safe-regex-test: 1.0.3+ string.prototype.trim: 1.2.9+ string.prototype.trimend: 1.0.8+ string.prototype.trimstart: 1.0.8+ typed-array-buffer: 1.0.2+ typed-array-byte-length: 1.0.1+ typed-array-byte-offset: 1.0.2+ typed-array-length: 1.0.6+ unbox-primitive: 1.0.2+ which-typed-array: 1.1.15+ dev: true++ resolution: {integrity: sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ get-intrinsic: 1.2.4+ dev: true++ resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==}+ engines: {node: '>= 0.4'}+ dev: true++ resolution: {integrity: sha512-sPZmqHBe6JIiTfN5q2pEi//TwxmAFHwj/XEuYjTuse78i8KxaqMTTzxPoFKuzRpDpTJ+0NAbpfenkmH2rePtuw==}+ dependencies:+ call-bind: 1.0.7+ get-intrinsic: 1.2.4+ has-symbols: 1.0.3+ is-arguments: 1.1.1+ is-map: 2.0.3+ is-set: 2.0.3+ is-string: 1.0.7+ isarray: 2.0.5+ stop-iteration-iterator: 1.0.0+ dev: true++ resolution: {integrity: sha512-zoMwbCcH5hwUkKJkT8kDIBZSz9I6mVG//+lDCinLCGov4+r7NIy0ld8o03M0cJxl2spVf6ESYVS6/gpIfq1FFw==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.7+ define-properties: 1.2.1+ es-abstract: 1.23.3+ es-errors: 1.3.0+ es-set-tostringtag: 2.0.3+ function-bind: 1.1.2+ get-intrinsic: 1.2.4+ globalthis: 1.0.4+ has-property-descriptors: 1.0.2+ has-proto: 1.0.3+ has-symbols: 1.0.3+ internal-slot: 1.0.7+ iterator.prototype: 1.1.2+ safe-array-concat: 1.1.2+ dev: true++ resolution: {integrity: sha512-MZ4iQ6JwHOBQjahnjwaC1ZtIBH+2ohjamzAO3oaHcXYup7qxjF2fixyH+Q71voWHeOkI2q/TnJao/KfXYIZWbw==}+ engines: {node: '>= 0.4'}+ dependencies:+ es-errors: 1.3.0+ dev: true++ resolution: {integrity: sha512-3T8uNMC3OQTHkFUsFq8r/BwAXLHvU/9O9mE0fBc/MY5iq/8H7ncvO947LmYA6ldWw9Uh8Yhf25zu6n7nML5QWQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ get-intrinsic: 1.2.4+ has-tostringtag: 1.0.2+ hasown: 2.0.2+ dev: true++ resolution: {integrity: sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw==}+ dependencies:+ hasown: 2.0.2+ dev: true++ resolution: {integrity: sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==}+ engines: {node: '>= 0.4'}+ dependencies:+ is-callable: 1.2.7+ is-date-object: 1.0.5+ is-symbol: 1.0.4+ dev: true++ resolution: {integrity: sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==}+ engines: {node: '>=6'}+ dev: true++ resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==}+ dev: false++ resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==}+ engines: {node: '>=10'}+ dev: true++ resolution: {integrity: sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==}+ engines: {node: '>=12'}+ dev: false++ resolution: {integrity: sha512-SBX2ed7DoRFXC6CQSLc/SbLY9Ut6HxNB2wPTcoIWjUMd7aF7O/SIE7111L8FdZ9TXsNV4pulUDnfthpyPtbFUg==}+ peerDependencies:+ eslint: ^7.23.0 || ^8.0.0+ typescript: '>=3.3.1'+ peerDependenciesMeta:+ typescript:+ optional: true+ dependencies:+ '@next/eslint-plugin-next': 14.1.0+ '@rushstack/eslint-patch': 1.10.3+ '@typescript-eslint/parser': 6.21.0([email protected])([email protected])+ eslint: 8.57.0+ eslint-import-resolver-node: 0.3.9+ eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])+ eslint-plugin-import: 2.29.1(@typescript-eslint/[email protected])([email protected])+ eslint-plugin-jsx-a11y: 6.9.0([email protected])+ eslint-plugin-react: 7.34.3([email protected])+ eslint-plugin-react-hooks: 4.6.2([email protected])+ typescript: 5.5.2+ transitivePeerDependencies:+ - eslint-import-resolver-webpack+ - supports-color+ dev: true++ resolution: {integrity: sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw==}+ hasBin: true+ peerDependencies:+ eslint: '>=7.0.0'+ dependencies:+ eslint: 8.57.0+ dev: true++ resolution: {integrity: sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==}+ dependencies:+ debug: 3.2.7+ is-core-module: 2.14.0+ resolve: 1.22.8+ transitivePeerDependencies:+ - supports-color+ dev: true++ /[email protected](@typescript-eslint/[email protected])([email protected])([email protected])([email protected]):+ resolution: {integrity: sha512-xgdptdoi5W3niYeuQxKmzVDTATvLYqhpwmykwsh7f6HIOStGWEIL9iqZgQDF9u9OEzrRwR8no5q2VT+bjAujTg==}+ engines: {node: ^14.18.0 || >=16.0.0}+ peerDependencies:+ eslint: '*'+ eslint-plugin-import: '*'+ dependencies:+ debug: 4.3.5+ enhanced-resolve: 5.17.0+ eslint: 8.57.0+ eslint-module-utils: 2.8.1(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])+ eslint-plugin-import: 2.29.1(@typescript-eslint/[email protected])([email protected])+ fast-glob: 3.3.2+ get-tsconfig: 4.7.5+ is-core-module: 2.14.0+ is-glob: 4.0.3+ transitivePeerDependencies:+ - '@typescript-eslint/parser'+ - eslint-import-resolver-node+ - eslint-import-resolver-webpack+ - supports-color+ dev: true++ /[email protected](@typescript-eslint/[email protected])([email protected])([email protected])([email protected]):+ resolution: {integrity: sha512-rXDXR3h7cs7dy9RNpUlQf80nX31XWJEyGq1tRMo+6GsO5VmTe4UTwtmonAD4ZkAsrfMVDA2wlGJ3790Ys+D49Q==}+ engines: {node: '>=4'}+ peerDependencies:+ '@typescript-eslint/parser': '*'+ eslint: '*'+ eslint-import-resolver-node: '*'+ eslint-import-resolver-typescript: '*'+ eslint-import-resolver-webpack: '*'+ peerDependenciesMeta:+ '@typescript-eslint/parser':+ optional: true+ eslint:+ optional: true+ eslint-import-resolver-node:+ optional: true+ eslint-import-resolver-typescript:+ optional: true+ eslint-import-resolver-webpack:+ optional: true+ dependencies:+ '@typescript-eslint/parser': 6.21.0([email protected])([email protected])+ debug: 3.2.7+ eslint: 8.57.0+ eslint-import-resolver-node: 0.3.9+ eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])+ transitivePeerDependencies:+ - supports-color+ dev: true++ resolution: {integrity: sha512-rXDXR3h7cs7dy9RNpUlQf80nX31XWJEyGq1tRMo+6GsO5VmTe4UTwtmonAD4ZkAsrfMVDA2wlGJ3790Ys+D49Q==}+ engines: {node: '>=4'}+ peerDependencies:+ '@typescript-eslint/parser': '*'+ eslint: '*'+ eslint-import-resolver-node: '*'+ eslint-import-resolver-typescript: '*'+ eslint-import-resolver-webpack: '*'+ peerDependenciesMeta:+ '@typescript-eslint/parser':+ optional: true+ eslint:+ optional: true+ eslint-import-resolver-node:+ optional: true+ eslint-import-resolver-typescript:+ optional: true+ eslint-import-resolver-webpack:+ optional: true+ dependencies:+ '@typescript-eslint/parser': 7.14.1([email protected])([email protected])+ debug: 3.2.7+ eslint: 8.57.0+ eslint-import-resolver-node: 0.3.9+ transitivePeerDependencies:+ - supports-color+ dev: true++ resolution: {integrity: sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==}+ engines: {node: '>=4'}+ peerDependencies:+ '@typescript-eslint/parser': '*'+ eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8+ peerDependenciesMeta:+ '@typescript-eslint/parser':+ optional: true+ dependencies:+ '@typescript-eslint/parser': 7.14.1([email protected])([email protected])+ array-includes: 3.1.8+ array.prototype.findlastindex: 1.2.5+ array.prototype.flat: 1.3.2+ array.prototype.flatmap: 1.3.2+ debug: 3.2.7+ doctrine: 2.1.0+ eslint: 8.57.0+ eslint-import-resolver-node: 0.3.9+ eslint-module-utils: 2.8.1(@typescript-eslint/[email protected])([email protected])([email protected])+ hasown: 2.0.2+ is-core-module: 2.14.0+ is-glob: 4.0.3+ minimatch: 3.1.2+ object.fromentries: 2.0.8+ object.groupby: 1.0.3+ object.values: 1.2.0+ semver: 6.3.1+ tsconfig-paths: 3.15.0+ transitivePeerDependencies:+ - eslint-import-resolver-typescript+ - eslint-import-resolver-webpack+ - supports-color+ dev: true++ resolution: {integrity: sha512-nOFOCaJG2pYqORjK19lqPqxMO/JpvdCZdPtNdxY3kvom3jTvkAbOvQvD8wuD0G8BYR0IGAGYDlzqWJOh/ybn2g==}+ engines: {node: '>=4.0'}+ peerDependencies:+ eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8+ dependencies:+ aria-query: 5.1.3+ array-includes: 3.1.8+ array.prototype.flatmap: 1.3.2+ ast-types-flow: 0.0.8+ axe-core: 4.9.1+ axobject-query: 3.1.1+ damerau-levenshtein: 1.0.8+ emoji-regex: 9.2.2+ es-iterator-helpers: 1.0.19+ eslint: 8.57.0+ hasown: 2.0.2+ jsx-ast-utils: 3.3.5+ language-tags: 1.0.9+ minimatch: 3.1.2+ object.fromentries: 2.0.8+ safe-regex-test: 1.0.3+ string.prototype.includes: 2.0.0+ dev: true++ resolution: {integrity: sha512-QzliNJq4GinDBcD8gPB5v0wh6g8q3SUi6EFF0x8N/BL9PoVs0atuGc47ozMRyOWAKdwaZ5OnbOEa3WR+dSGKuQ==}+ engines: {node: '>=10'}+ peerDependencies:+ eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0+ dependencies:+ eslint: 8.57.0+ dev: true++ resolution: {integrity: sha512-aoW4MV891jkUulwDApQbPYTVZmeuSyFrudpbTAQuj5Fv8VL+o6df2xIGpw8B0hPjAaih1/Fb0om9grCdyFYemA==}+ engines: {node: '>=4'}+ peerDependencies:+ eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8+ dependencies:+ array-includes: 3.1.8+ array.prototype.findlast: 1.2.5+ array.prototype.flatmap: 1.3.2+ array.prototype.toreversed: 1.1.2+ array.prototype.tosorted: 1.1.4+ doctrine: 2.1.0+ es-iterator-helpers: 1.0.19+ eslint: 8.57.0+ estraverse: 5.3.0+ jsx-ast-utils: 3.3.5+ minimatch: 3.1.2+ object.entries: 1.1.8+ object.fromentries: 2.0.8+ object.hasown: 1.1.4+ object.values: 1.2.0+ prop-types: 15.8.1+ resolve: 2.0.0-next.5+ semver: 6.3.1+ string.prototype.matchall: 4.0.11+ dev: true++ resolution: {integrity: sha512-gJAEHmCq2XFfUP/+vwEfEJ9igrPeZFg+skeMtsxquSQdxba9XRk5bn0Bp9jxG1VV9/wwPKi1g3ZjItu6MIjhNg==}+ engines: {node: '>=18.12.0'}+ peerDependencies:+ tailwindcss: ^3.4.0+ dependencies:+ fast-glob: 3.3.2+ postcss: 8.4.39+ tailwindcss: 3.4.4+ dev: true++ resolution: {integrity: sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==}+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}+ dependencies:+ esrecurse: 4.3.0+ estraverse: 5.3.0+ dev: true++ resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==}+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}+ dev: true++ resolution: {integrity: sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==}+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}+ hasBin: true+ dependencies:+ '@eslint-community/eslint-utils': 4.4.0([email protected])+ '@eslint-community/regexpp': 4.11.0+ '@eslint/eslintrc': 2.1.4+ '@eslint/js': 8.57.0+ '@humanwhocodes/config-array': 0.11.14+ '@humanwhocodes/module-importer': 1.0.1+ '@nodelib/fs.walk': 1.2.8+ '@ungap/structured-clone': 1.2.0+ ajv: 6.12.6+ chalk: 4.1.2+ cross-spawn: 7.0.3+ debug: 4.3.5+ doctrine: 3.0.0+ escape-string-regexp: 4.0.0+ eslint-scope: 7.2.2+ eslint-visitor-keys: 3.4.3+ espree: 9.6.1+ esquery: 1.5.0+ esutils: 2.0.3+ fast-deep-equal: 3.1.3+ file-entry-cache: 6.0.1+ find-up: 5.0.0+ glob-parent: 6.0.2+ globals: 13.24.0+ graphemer: 1.4.0+ ignore: 5.3.1+ imurmurhash: 0.1.4+ is-glob: 4.0.3+ is-path-inside: 3.0.3+ js-yaml: 4.1.0+ json-stable-stringify-without-jsonify: 1.0.1+ levn: 0.4.1+ lodash.merge: 4.6.2+ minimatch: 3.1.2+ natural-compare: 1.4.0+ optionator: 0.9.4+ strip-ansi: 6.0.1+ text-table: 0.2.0+ transitivePeerDependencies:+ - supports-color+ dev: true++ resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==}+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}+ dependencies:+ acorn: 8.12.0+ acorn-jsx: 5.3.2([email protected])+ eslint-visitor-keys: 3.4.3+ dev: true++ resolution: {integrity: sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==}+ engines: {node: '>=0.10'}+ dependencies:+ estraverse: 5.3.0+ dev: true++ resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==}+ engines: {node: '>=4.0'}+ dependencies:+ estraverse: 5.3.0+ dev: true++ resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==}+ engines: {node: '>=4.0'}+ dev: true++ resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==}+ dev: false++ resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==}+ dependencies:+ '@types/estree': 1.0.5+ dev: false++ resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==}+ engines: {node: '>=0.10.0'}+ dev: true++ resolution: {integrity: sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==}+ engines: {node: '>=6'}+ dev: false++ resolution: {integrity: sha512-v0eOBUbiaFojBu2s2NPBfYUoRR9GjcDNvCXVaqEf5vVfpIAh9f8RCo4vXTP8c63QRKCFwoLpMpTdPwwhEKVgzA==}+ engines: {node: '>=14.18'}+ dev: false++ resolution: {integrity: sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==}+ dev: false++ resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==}+ dev: true++ resolution: {integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==}+ engines: {node: '>=8.6.0'}+ dependencies:+ '@nodelib/fs.stat': 2.0.5+ '@nodelib/fs.walk': 1.2.8+ glob-parent: 5.1.2+ merge2: 1.4.1+ micromatch: 4.0.7+ dev: true++ resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==}+ dev: true++ resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==}+ dev: true++ resolution: {integrity: sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==}+ dependencies:+ reusify: 1.0.4+ dev: true++ resolution: {integrity: sha512-CJ0HCB5tL5fYTEA7ToAq5+kTwd++Borf1/bifxd9iT70QcXr4MRrO3Llf8Ifs70q+SJcGHFtnIE/Nw6giCtECA==}+ dependencies:+ format: 0.2.2+ dev: false++ resolution: {integrity: sha512-5u2V/CDW15QM1XbbgS+0DfPxVB+jUKhWEKuuFuHncbk3tEEqzmoXL+2KyOFuKGqOnmdIy0/davWF1CkuwtibCw==}+ dev: false++ resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==}+ engines: {node: ^10.12.0 || >=12.0.0}+ dependencies:+ flat-cache: 3.2.0+ dev: true++ resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==}+ engines: {node: '>=8'}+ dependencies:+ to-regex-range: 5.0.1+ dev: true++ resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==}+ engines: {node: '>=10'}+ dependencies:+ locate-path: 6.0.0+ path-exists: 4.0.0+ dev: true++ resolution: {integrity: sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==}+ engines: {node: ^10.12.0 || >=12.0.0}+ dependencies:+ flatted: 3.3.1+ keyv: 4.5.4+ rimraf: 3.0.2+ dev: true++ resolution: {integrity: sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==}+ dev: true++ resolution: {integrity: sha512-YXBpFu/hIeSu6NnmV2xlXzOYxuWkoOtar9jzgp3lOmjWLWY59C/b8DtDHEAV4SPU07Nd/t+nS/SBNGkhUBFmEw==}+ peerDependencies:+ prop-types: ^15.8.1+ react: '>=16.3.0'+ react-dom: '>=16.3.0'+ dependencies:+ focus-trap: 7.5.4+ prop-types: 15.8.1+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ tabbable: 6.2.0+ dev: false++ resolution: {integrity: sha512-N7kHdlgsO/v+iD/dMoJKtsSqs5Dz/dXZVebRgJw23LDk+jMi/974zyiOYDziY2JPp8xivq9BmUGwIJMiuSBi7w==}+ dependencies:+ tabbable: 6.2.0+ dev: false++ resolution: {integrity: sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==}+ dependencies:+ is-callable: 1.2.7+ dev: true++ resolution: {integrity: sha512-PXUUyLqrR2XCWICfv6ukppP96sdFwWbNEnfEMt7jNsISjMsvaLNinAHNDYyvkyU+SZG2BTSbT5NjG+vZslfGTA==}+ engines: {node: '>=14'}+ dependencies:+ cross-spawn: 7.0.3+ signal-exit: 4.1.0+ dev: true++ resolution: {integrity: sha512-qfqtYan3rxrnCk1VYaA4H+Ms9xdpPqvLZa6xmMgFvhO32x7/3J/ExcTd6qpxM0vH2GdMI+poehyBZvqfMTto8A==}+ dev: false++ resolution: {integrity: sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==}+ engines: {node: '>= 6'}+ dependencies:+ asynckit: 0.4.0+ combined-stream: 1.0.8+ mime-types: 2.1.35+ dev: false++ resolution: {integrity: sha512-wzsgA6WOq+09wrU1tsJ09udeR/YZRaeArL9e1wPbFg3GG2yDnC2ldKpxs4xunpFF9DgqCqOIra3bc1HWrJ37Ww==}+ engines: {node: '>=0.4.x'}+ dev: false++ resolution: {integrity: sha512-0iirZp3uVDjVGt9p49aTaqjk84TrglENEDuqfdlZQ1roC9CWlPk6Avf8EEnZNcAqPonwkG35x4n3ww/1THYAeQ==}+ engines: {node: '>= 12.20'}+ dependencies:+ node-domexception: 1.0.0+ web-streams-polyfill: 4.0.0-beta.3+ dev: false++ resolution: {integrity: sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==}+ dev: true++ resolution: {integrity: sha512-lCjkV4nA9rWOy2bhR4RZzkp2xpB++kFmUZ6D44V9VQaxk+JDmbDd5lq+u58DjJIIllE8AZEXp9OG/TyDN4FB/w==}+ peerDependencies:+ '@emotion/is-prop-valid': '*'+ react: ^18.0.0+ react-dom: ^18.0.0+ peerDependenciesMeta:+ '@emotion/is-prop-valid':+ optional: true+ react:+ optional: true+ react-dom:+ optional: true+ dependencies:+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ tslib: 2.6.3+ dev: false++ resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==}+ dev: true++ resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==}+ engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}+ os: [darwin]+ requiresBuild: true+ dev: true+ optional: true++ resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==}+ dev: true++ resolution: {integrity: sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.7+ define-properties: 1.2.1+ es-abstract: 1.23.3+ functions-have-names: 1.2.3+ dev: true++ resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==}+ dev: true++ resolution: {integrity: sha512-IoGBfcqVEYB4bEwsfHd35jF4+X9LHRPYZymHL4YOltHSs9LJa24DYs1Z7rEMQ/lsEvaAIc61Y9aUxgcJaQ8lrg==}+ peerDependencies:+ next: '>=13.2.0 <15.0.0-0'+ dependencies:+ next: 14.2.4([email protected])([email protected])+ dev: false++ resolution: {integrity: sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ es-errors: 1.3.0+ function-bind: 1.1.2+ has-proto: 1.0.3+ has-symbols: 1.0.3+ hasown: 2.0.2+ dev: true++ resolution: {integrity: sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==}+ engines: {node: '>=6'}+ dev: false++ resolution: {integrity: sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.7+ es-errors: 1.3.0+ get-intrinsic: 1.2.4+ dev: true++ resolution: {integrity: sha512-ZCuZCnlqNzjb4QprAzXKdpp/gh6KTxSJuw3IBsPnV/7fV4NxC9ckB+vPTt8w7fJA0TaSD7c55BR47JD6MEDyDw==}+ dependencies:+ resolve-pkg-maps: 1.0.0+ dev: true++ resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==}+ engines: {node: '>= 6'}+ dependencies:+ is-glob: 4.0.3+ dev: true++ resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==}+ engines: {node: '>=10.13.0'}+ dependencies:+ is-glob: 4.0.3+ dev: true++ resolution: {integrity: sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==}+ engines: {node: '>=16 || 14 >=14.17'}+ hasBin: true+ dependencies:+ foreground-child: 3.2.1+ jackspeak: 2.3.6+ minimatch: 9.0.5+ minipass: 7.1.2+ path-scurry: 1.11.1+ dev: true++ resolution: {integrity: sha512-GwMlUF6PkPo3Gk21UxkCohOv0PLcIXVtKyLlpEI28R/cO/4eNOdmLk3CMW1wROV/WR/EsZOWAfBbBOqYvs88/w==}+ engines: {node: '>=16 || 14 >=14.18'}+ hasBin: true+ dependencies:+ foreground-child: 3.2.1+ jackspeak: 3.4.0+ minimatch: 9.0.5+ minipass: 7.1.2+ package-json-from-dist: 1.0.0+ path-scurry: 1.11.1+ dev: true++ resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==}+ deprecated: Glob versions prior to v9 are no longer supported+ dependencies:+ fs.realpath: 1.0.0+ inflight: 1.0.6+ inherits: 2.0.4+ minimatch: 3.1.2+ once: 1.4.0+ path-is-absolute: 1.0.1+ dev: true++ resolution: {integrity: sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==}+ engines: {node: '>=8'}+ dependencies:+ type-fest: 0.20.2+ dev: true++ resolution: {integrity: sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ define-properties: 1.2.1+ gopd: 1.0.1+ dev: true++ resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==}+ engines: {node: '>=10'}+ dependencies:+ array-union: 2.1.0+ dir-glob: 3.0.1+ fast-glob: 3.3.2+ ignore: 5.3.1+ merge2: 1.4.1+ slash: 3.0.0+ dev: true++ resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==}+ dependencies:+ get-intrinsic: 1.2.4+ dev: true++ resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==}++ resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==}+ dev: true++ resolution: {integrity: sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==}+ dev: true++ resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==}+ engines: {node: '>=8'}+ dev: true++ resolution: {integrity: sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==}+ dependencies:+ es-define-property: 1.0.0+ dev: true++ resolution: {integrity: sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==}+ engines: {node: '>= 0.4'}+ dev: true++ resolution: {integrity: sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==}+ engines: {node: '>= 0.4'}+ dev: true++ resolution: {integrity: sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==}+ engines: {node: '>= 0.4'}+ dependencies:+ has-symbols: 1.0.3+ dev: true++ resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ function-bind: 1.1.2+ dev: true++ resolution: {integrity: sha512-7j6mrk/qqkSehsM92wQjdIgWM2/BW61u/53G6xmC8i1OmEdKLHbk419QKQUjz6LglWsfqoiHmyMRkP1BGjecNQ==}+ dev: false++ resolution: {integrity: sha512-nAxA0v8+vXSBDt3AnRUNjyRIQ0rD+ntpbAp4LnPkumc5M9yUbSMa4XDU9Q6etY4f1Wp4bNgvc1yjiZtsTTrSng==}+ dev: false++ resolution: {integrity: sha512-nDM6bvd7lIqDUiYEiu5Sl/+6ReP0BMk/2f4U/Rooccxkj0P5nm+acM5PrGJ/t5I8qPGiqZSE6hVAwZEdZIvP4w==}+ dependencies:+ '@types/hast': 2.3.10+ comma-separated-tokens: 1.0.8+ hast-util-parse-selector: 2.2.5+ property-information: 5.6.0+ space-separated-tokens: 1.1.5+ dev: false++ resolution: {integrity: sha512-Ox1pJVrDCyGHMG9CFg1tmrRUMRPRsAWYc/PinY0XzJU4K7y7vjNoLKIQ7BR5UJMCxNN8EM1MNDmHWA/B3aZUuw==}+ engines: {node: '>=6'}+ dev: false++ resolution: {integrity: sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==}+ dev: false++ resolution: {integrity: sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==}+ dependencies:+ ms: 2.1.3+ dev: false++ resolution: {integrity: sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==}+ engines: {node: '>= 4'}+ dev: true++ resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==}+ engines: {node: '>=6'}+ dependencies:+ parent-module: 1.0.1+ resolve-from: 4.0.0+ dev: true++ resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==}+ engines: {node: '>=0.8.19'}+ dev: true++ resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==}+ deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.+ dependencies:+ once: 1.4.0+ wrappy: 1.0.2+ dev: true++ resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==}+ dev: true++ resolution: {integrity: sha512-7NXolsK4CAS5+xvdj5OMMbI962hU/wvwoxk+LWR9Ek9bVtyuuYScDN6eS0rUm6TxApFpw7CX1o4uJzcd4AyD3Q==}+ dev: false++ resolution: {integrity: sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==}+ engines: {node: '>= 0.4'}+ dependencies:+ es-errors: 1.3.0+ hasown: 2.0.2+ side-channel: 1.0.6+ dev: true++ resolution: {integrity: sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==}+ engines: {node: '>=12'}+ dev: false++ resolution: {integrity: sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==}+ dependencies:+ loose-envify: 1.4.0+ dev: false++ resolution: {integrity: sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg==}+ dev: false++ resolution: {integrity: sha512-UzoZUr+XfVz3t3v4KyGEniVL9BDRoQtY7tOyrRybkVNjDFWyo1yhXNGrrBTQxp3ib9BLAWs7k2YKBQsFRkZG9A==}+ dependencies:+ is-alphabetical: 1.0.4+ is-decimal: 1.0.4+ dev: false++ resolution: {integrity: sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.7+ has-tostringtag: 1.0.2+ dev: true++ resolution: {integrity: sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.7+ get-intrinsic: 1.2.4+ dev: true++ resolution: {integrity: sha512-Y1JXKrfykRJGdlDwdKlLpLyMIiWqWvuSd17TvZk68PLAOGOoF4Xyav1z0Xhoi+gCYjZVeC5SI+hYFOfvXmGRCA==}+ engines: {node: '>= 0.4'}+ dependencies:+ has-tostringtag: 1.0.2+ dev: true++ resolution: {integrity: sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==}+ dependencies:+ has-bigints: 1.0.2+ dev: true++ resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==}+ engines: {node: '>=8'}+ dependencies:+ binary-extensions: 2.3.0+ dev: true++ resolution: {integrity: sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.7+ has-tostringtag: 1.0.2+ dev: true++ resolution: {integrity: sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==}+ engines: {node: '>=4'}+ dev: false++ resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==}+ engines: {node: '>= 0.4'}+ dev: true++ resolution: {integrity: sha512-a5dFJih5ZLYlRtDc0dZWP7RiKr6xIKzmn/oAYCDvdLThadVgyJwlaoQPmRtMSpz+rk0OGAgIu+TcM9HUF0fk1A==}+ engines: {node: '>= 0.4'}+ dependencies:+ hasown: 2.0.2+ dev: true++ resolution: {integrity: sha512-AHkaJrsUVW6wq6JS8y3JnM/GJF/9cf+k20+iDzlSaJrinEo5+7vRiteOSwBhHRiAyQATN1AmY4hwzxJKPmYf+w==}+ engines: {node: '>= 0.4'}+ dependencies:+ is-typed-array: 1.1.13+ dev: true++ resolution: {integrity: sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ has-tostringtag: 1.0.2+ dev: true++ resolution: {integrity: sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw==}+ dev: false++ resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==}+ engines: {node: '>=0.10.0'}+ dev: true++ resolution: {integrity: sha512-0by5vtUJs8iFQb5TYUHHPudOR+qXYIMKtiUzvLIZITZUjknFmziyBJuLhVRc+Ds0dREFlskDNJKYIdIzu/9pfw==}+ dependencies:+ call-bind: 1.0.7+ dev: true++ resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==}+ engines: {node: '>=8'}+ dev: true++ resolution: {integrity: sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==}+ engines: {node: '>= 0.4'}+ dependencies:+ has-tostringtag: 1.0.2+ dev: true++ resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==}+ engines: {node: '>=0.10.0'}+ dependencies:+ is-extglob: 2.1.1+ dev: true++ resolution: {integrity: sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw==}+ dev: false++ resolution: {integrity: sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==}+ engines: {node: '>= 0.4'}+ dev: true++ resolution: {integrity: sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==}+ engines: {node: '>= 0.4'}+ dev: true++ resolution: {integrity: sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ has-tostringtag: 1.0.2+ dev: true++ resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==}+ engines: {node: '>=0.12.0'}+ dev: true++ resolution: {integrity: sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==}+ engines: {node: '>=8'}+ dev: true++ resolution: {integrity: sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==}+ engines: {node: '>=12'}+ dev: false++ resolution: {integrity: sha512-v3rht/LgVcsdZa3O2Nqs+NMowLOxeOm7Ay9+/ARQ2F+qEoANRcqrjAZKGN0v8ymUetZGgkp26LTnGT7H0Qo9Pg==}+ dependencies:+ '@types/estree': 1.0.5+ dev: false++ resolution: {integrity: sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.7+ has-tostringtag: 1.0.2+ dev: true++ resolution: {integrity: sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==}+ engines: {node: '>= 0.4'}+ dev: true++ resolution: {integrity: sha512-nA2hv5XIhLR3uVzDDfCIknerhx8XUKnstuOERPNNIinXG7v9u+ohXF67vxm4TPTEPU6lm61ZkwP3c9PCB97rhg==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.7+ dev: true++ resolution: {integrity: sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==}+ engines: {node: '>= 0.4'}+ dependencies:+ has-tostringtag: 1.0.2+ dev: true++ resolution: {integrity: sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==}+ engines: {node: '>= 0.4'}+ dependencies:+ has-symbols: 1.0.3+ dev: true++ resolution: {integrity: sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==}+ engines: {node: '>= 0.4'}+ dependencies:+ which-typed-array: 1.1.15+ dev: true++ resolution: {integrity: sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==}+ engines: {node: '>= 0.4'}+ dev: true++ resolution: {integrity: sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==}+ dependencies:+ call-bind: 1.0.7+ dev: true++ resolution: {integrity: sha512-LvIm3/KWzS9oRFHugab7d+M/GcBXuXX5xZkzPmN+NxihdQlZUQ4dWuSV1xR/sq6upL1TJEDrfBgRepHFdBtSNQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.7+ get-intrinsic: 1.2.4+ dev: true++ resolution: {integrity: sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==}+ dev: true++ resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==}+ dev: true++ resolution: {integrity: sha512-DR33HMMr8EzwuRL8Y9D3u2BMj8+RqSE850jfGu59kS7tbmPLzGkZmVSfyCFSDxuZiEY6Rzt3T2NA/qU+NwVj1w==}+ dependencies:+ define-properties: 1.2.1+ get-intrinsic: 1.2.4+ has-symbols: 1.0.3+ reflect.getprototypeof: 1.0.6+ set-function-name: 2.0.2+ dev: true++ resolution: {integrity: sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==}+ engines: {node: '>=14'}+ dependencies:+ '@isaacs/cliui': 8.0.2+ optionalDependencies:+ '@pkgjs/parseargs': 0.11.0+ dev: true++ resolution: {integrity: sha512-JVYhQnN59LVPFCEcVa2C3CrEKYacvjRfqIQl+h8oi91aLYQVWRYbxjPcv1bUiUy/kLmQaANrYfNMCO3kuEDHfw==}+ engines: {node: '>=14'}+ dependencies:+ '@isaacs/cliui': 8.0.2+ optionalDependencies:+ '@pkgjs/parseargs': 0.11.0+ dev: true++ resolution: {integrity: sha512-2yTgeWTWzMWkHu6Jp9NKgePDaYHbntiwvYuuJLbbN9vl7DC9DvXKOB2BC3ZZ92D3cvV/aflH0osDfwpHepQ53w==}+ hasBin: true+ dev: true++ resolution: {integrity: sha512-F1t1/WZJ4JdmCE/XoMYw1dPOW5g8JF0xGm6Ox2fwaCAPlCzt+4Bh0EWP59iQuZNHHauDkCdjx+kCZSh5z/PGow==}+ dev: false++ resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==}++ resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==}+ hasBin: true+ dependencies:+ argparse: 2.0.1+ dev: true++ resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==}+ dev: true++ resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==}+ dev: true++ resolution: {integrity: sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==}+ dev: false++ resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==}+ dev: true++ resolution: {integrity: sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==}+ hasBin: true+ dependencies:+ minimist: 1.2.8+ dev: true++ resolution: {integrity: sha512-3QItJOXp2AP1uv7waBkao5nCvhEv+QmJAd38Ybq7wNI74Q+BBmnLn4EDKz6yI9xGAIQoUF87qHt+kc1IVxB4zQ==}+ engines: {node: ^18.0.0 || >=20.0.0}+ hasBin: true+ dependencies:+ '@types/diff-match-patch': 1.0.36+ chalk: 5.3.0+ diff-match-patch: 1.0.5+ dev: false++ resolution: {integrity: sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==}+ engines: {node: '>=4.0'}+ dependencies:+ array-includes: 3.1.8+ array.prototype.flat: 1.3.2+ object.assign: 4.1.5+ object.values: 1.2.0+ dev: true++ resolution: {integrity: sha512-ZiqaC04tp2O5utMsl2TEZTXxa6WSC4yo0fv5ML++D3QZv/vx2Mct0mTlRx3O+uUkjfuAgOkzsCmq5MiUEsDDdA==}+ hasBin: true+ dependencies:+ commander: 8.3.0+ dev: false++ resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==}+ dependencies:+ json-buffer: 3.0.1+ dev: true++ resolution: {integrity: sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==}+ engines: {node: '>=6'}+ dev: false++ resolution: {integrity: sha512-0K65Lea881pHotoGEa5gDlMxt3pctLi2RplBb7Ezh4rRdLEOtgi7n4EwK9lamnUCkKBqaeKRVebTq6BAxSkpXQ==}+ dev: true++ resolution: {integrity: sha512-MbjN408fEndfiQXbFQ1vnd+1NoLDsnQW41410oQBXiyXDMYH5z505juWa4KUE1LqxRC7DgOgZDbKLxHIwm27hA==}+ engines: {node: '>=0.10'}+ dependencies:+ language-subtag-registry: 0.3.23+ dev: true++ resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==}+ engines: {node: '>= 0.8.0'}+ dependencies:+ prelude-ls: 1.2.1+ type-check: 0.4.0+ dev: true++ resolution: {integrity: sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==}+ engines: {node: '>=10'}+ dev: true++ resolution: {integrity: sha512-eop+wDAvpItUys0FWkHIKeC9ybYrTGbU41U5K7+bttZZeohvnY7M9dZ5kB21GNWiFT2q1OoPTvncPCgSOVO5ow==}+ engines: {node: '>=14'}+ dev: true++ resolution: {integrity: sha512-MHp03UImeVhB7XZtjd0E4n6+3xr5Dq/9xI/5FptGk5FrbDR3zagPa2DS6U8ks/3HjbKWG9Q1M2ufOzxV2qLYSQ==}+ dependencies:+ base64-js: 0.0.8+ unicode-trie: 2.0.0+ dev: false++ resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==}+ dev: true++ resolution: {integrity: sha512-SW13ws7BjaeJ6p7Q6CO2nchbYEc3X3J6WrmTTDto7yMPqVSZTUyY5Tjbid+Ab8gLnATtygYtiDIJGQRRn2ZOiA==}+ dev: false++ resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==}+ engines: {node: '>=10'}+ dependencies:+ p-locate: 5.0.0+ dev: true++ resolution: {integrity: sha512-aVx8ztPv7/2ULbArGJ2Y42bG1mEQ5mGjpdvrbJcJFU3TbYybe+QlLS4pst9zV52ymy2in1KpFPiZnAOATxD4+Q==}+ dev: true++ resolution: {integrity: sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==}+ dev: false++ resolution: {integrity: sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==}+ dev: true++ resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==}+ dev: true++ resolution: {integrity: sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==}+ dev: false++ resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==}+ hasBin: true+ dependencies:+ js-tokens: 4.0.0++ resolution: {integrity: sha512-8Ktj+prEb1RoCPkEOrPMYUN/nCggB7qAWe3a7OpMjWQkh3l2RD5wKRQ+o8Q8YuI9RG/xs95waaI/E6ym/7NsTw==}+ dependencies:+ fault: 1.0.4+ highlight.js: 10.7.3+ dev: false++ resolution: {integrity: sha512-CQl19J/g+Hbjbv4Y3mFNNXFEL/5t/KCg8POCuUqd4rMKjGG+j1ybER83hxV58zL+dFI1PTkt3GNFSHRt+d8qEQ==}+ engines: {node: 14 || >=16.14}+ dev: true++ resolution: {integrity: sha512-iIRwTIf0QKV3UAnYK4PU8uiEc4SRh5jX0mwpIwETPpHdhVM4f53RSwS/vXvN1JhGX+Cs7B8qIq3d6AH49O5fAQ==}+ dependencies:+ '@jridgewell/sourcemap-codec': 1.4.15+ dev: false++ resolution: {integrity: sha512-Z1NL3Tb1M9wH4XESsCDEksWoKTdlUafKc4pt0GRwjUyXaCFZ+dc3g2erqB6zm3szA2IUSi7VnPI+o/9jnxh9hw==}+ dev: false++ resolution: {integrity: sha512-8SVPMuHqlPME/z3gqVwWY4zVXn8lqKv/pAhC57FuJ40ImXyBpmO5ukh98zB2v7Blql2FiHjHv9LVztSIqjY+MA==}+ dependencies:+ '@types/mdast': 3.0.15+ '@types/unist': 2.0.10+ unist-util-visit: 4.1.2+ dev: false++ resolution: {integrity: sha512-MTtdFRz/eMDHXzeK6W3dO7mXUlF82Gom4y0oOgvHhh/HXZAGvIQDUvQ0SuUx+j2tv44b8xTHOm8K/9OoRFnXKw==}+ dependencies:+ '@types/mdast': 3.0.15+ escape-string-regexp: 5.0.0+ unist-util-is: 5.2.1+ unist-util-visit-parents: 5.1.3+ dev: false++ resolution: {integrity: sha512-4xTO/M8c82qBcnQc1tgpNtubGUW/Y1tBQ1B0i5CtSoelOLKFYlElIr3bvgREYYO5iRqbMY1YuqZng0GVOI8Qww==}+ dependencies:+ '@types/mdast': 3.0.15+ '@types/unist': 2.0.10+ decode-named-character-reference: 1.0.2+ mdast-util-to-string: 3.2.0+ micromark: 3.2.0+ micromark-util-decode-numeric-character-reference: 1.1.0+ micromark-util-decode-string: 1.1.0+ micromark-util-normalize-identifier: 1.1.0+ micromark-util-symbol: 1.1.0+ micromark-util-types: 1.1.0+ unist-util-stringify-position: 3.0.3+ uvu: 0.5.6+ transitivePeerDependencies:+ - supports-color+ dev: false++ resolution: {integrity: sha512-My8KJ57FYEy2W2LyNom4n3E7hKTuQk/0SES0u16tjA9Z3oFkF4RrC/hPAPgjlSpezsOvI8ObcXcElo92wn5IGA==}+ dependencies:+ '@types/mdast': 3.0.15+ ccount: 2.0.1+ mdast-util-find-and-replace: 2.2.2+ micromark-util-character: 1.2.0+ dev: false++ resolution: {integrity: sha512-56D19KOGbE00uKVj3sgIykpwKL179QsVFwx/DCW0u/0+URsryacI4MAdNJl0dh+u2PSsD9FtxPFbHCzJ78qJFQ==}+ dependencies:+ '@types/mdast': 3.0.15+ mdast-util-to-markdown: 1.5.0+ micromark-util-normalize-identifier: 1.1.0+ dev: false++ resolution: {integrity: sha512-DAPhYzTYrRcXdMjUtUjKvW9z/FNAMTdU0ORyMcbmkwYNbKocDpdk+PX1L1dQgOID/+vVs1uBQ7ElrBQfZ0cuiQ==}+ dependencies:+ '@types/mdast': 3.0.15+ mdast-util-to-markdown: 1.5.0+ dev: false++ resolution: {integrity: sha512-jjcpmNnQvrmN5Vx7y7lEc2iIOEytYv7rTvu+MeyAsSHTASGCCRA79Igg2uKssgOs1i1po8s3plW0sTu1wkkLGg==}+ dependencies:+ '@types/mdast': 3.0.15+ markdown-table: 3.0.3+ mdast-util-from-markdown: 1.3.1+ mdast-util-to-markdown: 1.5.0+ transitivePeerDependencies:+ - supports-color+ dev: false++ resolution: {integrity: sha512-PFTA1gzfp1B1UaiJVyhJZA1rm0+Tzn690frc/L8vNX1Jop4STZgOE6bxUhnzdVSB+vm2GU1tIsuQcA9bxTQpMQ==}+ dependencies:+ '@types/mdast': 3.0.15+ mdast-util-to-markdown: 1.5.0+ dev: false++ resolution: {integrity: sha512-qvZ608nBppZ4icQlhQQIAdc6S3Ffj9RGmzwUKUWuEICFnd1LVkN3EktF7ZHAgfcEdvZB5owU9tQgt99e2TlLjg==}+ dependencies:+ mdast-util-from-markdown: 1.3.1+ mdast-util-gfm-autolink-literal: 1.0.3+ mdast-util-gfm-footnote: 1.0.2+ mdast-util-gfm-strikethrough: 1.0.3+ mdast-util-gfm-table: 1.0.7+ mdast-util-gfm-task-list-item: 1.0.2+ mdast-util-to-markdown: 1.5.0+ transitivePeerDependencies:+ - supports-color+ dev: false++ resolution: {integrity: sha512-8gmkKVp9v6+Tgjtq6SYx9kGPpTf6FVYRa53/DLh479aldR9AyP48qeVOgNZ5X7QUK7nOy4yw7vg6mbiGcs9jWQ==}+ dependencies:+ '@types/mdast': 3.0.15+ longest-streak: 3.1.0+ mdast-util-to-markdown: 1.5.0+ dev: false++ resolution: {integrity: sha512-WmI1gTXUBJo4/ZmSk79Wcb2HcjPJBzM1nlI/OUWA8yk2X9ik3ffNbBGsU+09BFmXaL1IBb9fiuvq6/KMiNycSg==}+ dependencies:+ '@types/mdast': 3.0.15+ unist-util-is: 5.2.1+ dev: false++ resolution: {integrity: sha512-pits93r8PhnIoU4Vy9bjW39M2jJ6/tdHyja9rrot9uujkN7UTU9SDnE6WNJz/IGyQk3XHX6yNNtrBH6cQzm8Hw==}+ dependencies:+ '@types/hast': 2.3.10+ '@types/mdast': 3.0.15+ mdast-util-definitions: 5.1.2+ micromark-util-sanitize-uri: 1.2.0+ trim-lines: 3.0.1+ unist-util-generated: 2.0.1+ unist-util-position: 4.0.4+ unist-util-visit: 4.1.2+ dev: false++ resolution: {integrity: sha512-bbv7TPv/WC49thZPg3jXuqzuvI45IL2EVAr/KxF0BSdHsU0ceFHOmwQn6evxAh1GaoK/6GQ1wp4R4oW2+LFL/A==}+ dependencies:+ '@types/mdast': 3.0.15+ '@types/unist': 2.0.10+ longest-streak: 3.1.0+ mdast-util-phrasing: 3.0.1+ mdast-util-to-string: 3.2.0+ micromark-util-decode-string: 1.1.0+ unist-util-visit: 4.1.2+ zwitch: 2.0.4+ dev: false++ resolution: {integrity: sha512-V4Zn/ncyN1QNSqSBxTrMOLpjr+IKdHl2v3KVLoWmDPscP4r9GcCi71gjgvUV1SFSKh92AjAG4peFuBl2/YgCJg==}+ dependencies:+ '@types/mdast': 3.0.15+ dev: false++ resolution: {integrity: sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==}+ dev: false++ resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==}+ engines: {node: '>= 8'}+ dev: true++ resolution: {integrity: sha512-BgHO1aRbolh2hcrzL2d1La37V0Aoz73ymF8rAcKnohLy93titmv62E0gP8Hrx9PKcKrqCZ1BbLGbP3bEhoXYlw==}+ dependencies:+ decode-named-character-reference: 1.0.2+ micromark-factory-destination: 1.1.0+ micromark-factory-label: 1.1.0+ micromark-factory-space: 1.1.0+ micromark-factory-title: 1.1.0+ micromark-factory-whitespace: 1.1.0+ micromark-util-character: 1.2.0+ micromark-util-chunked: 1.1.0+ micromark-util-classify-character: 1.1.0+ micromark-util-html-tag-name: 1.2.0+ micromark-util-normalize-identifier: 1.1.0+ micromark-util-resolve-all: 1.1.0+ micromark-util-subtokenize: 1.1.0+ micromark-util-symbol: 1.1.0+ micromark-util-types: 1.1.0+ uvu: 0.5.6+ dev: false++ resolution: {integrity: sha512-z3wJSLrDf8kRDOh2qBtoTRD53vJ+CWIyo7uyZuxf/JAbNJjiHsOpG1y5wxk8drtv3ETAHutCu6N3thkOOgueWg==}+ dependencies:+ micromark-util-character: 1.2.0+ micromark-util-sanitize-uri: 1.2.0+ micromark-util-symbol: 1.1.0+ micromark-util-types: 1.1.0+ dev: false++ resolution: {integrity: sha512-Yxn7z7SxgyGWRNa4wzf8AhYYWNrwl5q1Z8ii+CSTTIqVkmGZF1CElX2JI8g5yGoM3GAman9/PVCUFUSJ0kB/8Q==}+ dependencies:+ micromark-core-commonmark: 1.1.0+ micromark-factory-space: 1.1.0+ micromark-util-character: 1.2.0+ micromark-util-normalize-identifier: 1.1.0+ micromark-util-sanitize-uri: 1.2.0+ micromark-util-symbol: 1.1.0+ micromark-util-types: 1.1.0+ uvu: 0.5.6+ dev: false++ resolution: {integrity: sha512-sX0FawVE1o3abGk3vRjOH50L5TTLr3b5XMqnP9YDRb34M0v5OoZhG+OHFz1OffZ9dlwgpTBKaT4XW/AsUVnSDw==}+ dependencies:+ micromark-util-chunked: 1.1.0+ micromark-util-classify-character: 1.1.0+ micromark-util-resolve-all: 1.1.0+ micromark-util-symbol: 1.1.0+ micromark-util-types: 1.1.0+ uvu: 0.5.6+ dev: false++ resolution: {integrity: sha512-3ZORTHtcSnMQEKtAOsBQ9/oHp9096pI/UvdPtN7ehKvrmZZ2+bbWhi0ln+I9drmwXMt5boocn6OlwQzNXeVeqw==}+ dependencies:+ micromark-factory-space: 1.1.0+ micromark-util-character: 1.2.0+ micromark-util-symbol: 1.1.0+ micromark-util-types: 1.1.0+ uvu: 0.5.6+ dev: false++ resolution: {integrity: sha512-5XWB9GbAUSHTn8VPU8/1DBXMuKYT5uOgEjJb8gN3mW0PNW5OPHpSdojoqf+iq1xo7vWzw/P8bAHY0n6ijpXF7g==}+ dependencies:+ micromark-util-types: 1.1.0+ dev: false++ resolution: {integrity: sha512-RMFXl2uQ0pNQy6Lun2YBYT9g9INXtWJULgbt01D/x8/6yJ2qpKyzdZD3pi6UIkzF++Da49xAelVKUeUMqd5eIQ==}+ dependencies:+ micromark-factory-space: 1.1.0+ micromark-util-character: 1.2.0+ micromark-util-symbol: 1.1.0+ micromark-util-types: 1.1.0+ uvu: 0.5.6+ dev: false++ resolution: {integrity: sha512-vb9OoHqrhCmbRidQv/2+Bc6pkP0FrtlhurxZofvOEy5o8RtuuvTq+RQ1Vw5ZDNrVraQZu3HixESqbG+0iKk/MQ==}+ dependencies:+ micromark-extension-gfm-autolink-literal: 1.0.5+ micromark-extension-gfm-footnote: 1.1.2+ micromark-extension-gfm-strikethrough: 1.0.7+ micromark-extension-gfm-table: 1.0.7+ micromark-extension-gfm-tagfilter: 1.0.2+ micromark-extension-gfm-task-list-item: 1.0.5+ micromark-util-combine-extensions: 1.1.0+ micromark-util-types: 1.1.0+ dev: false++ resolution: {integrity: sha512-es0CcOV89VNS9wFmyn+wyFTKweXGW4CEvdaAca6SWRWPyYCbBisnjaHLjWO4Nszuiud84jCpkHsqAJoa768Pvg==}+ dependencies:+ '@types/katex': 0.16.7+ katex: 0.16.10+ micromark-factory-space: 1.1.0+ micromark-util-character: 1.2.0+ micromark-util-symbol: 1.1.0+ micromark-util-types: 1.1.0+ uvu: 0.5.6+ dev: false++ resolution: {integrity: sha512-XaNDROBgx9SgSChd69pjiGKbV+nfHGDPVYFs5dOoDd7ZnMAE+Cuu91BCpsY8RT2NP9vo/B8pds2VQNCLiu0zhg==}+ dependencies:+ micromark-util-character: 1.2.0+ micromark-util-symbol: 1.1.0+ micromark-util-types: 1.1.0+ dev: false++ resolution: {integrity: sha512-OLtyez4vZo/1NjxGhcpDSbHQ+m0IIGnT8BoPamh+7jVlzLJBH98zzuCoUeMxvM6WsNeh8wx8cKvqLiPHEACn0w==}+ dependencies:+ micromark-util-character: 1.2.0+ micromark-util-symbol: 1.1.0+ micromark-util-types: 1.1.0+ uvu: 0.5.6+ dev: false++ resolution: {integrity: sha512-cRzEj7c0OL4Mw2v6nwzttyOZe8XY/Z8G0rzmWQZTBi/jjwyw/U4uqKtUORXQrR5bAZZnbTI/feRV/R7hc4jQYQ==}+ dependencies:+ micromark-util-character: 1.2.0+ micromark-util-types: 1.1.0+ dev: false++ resolution: {integrity: sha512-J7n9R3vMmgjDOCY8NPw55jiyaQnH5kBdV2/UXCtZIpnHH3P6nHUKaH7XXEYuWwx/xUJcawa8plLBEjMPU24HzQ==}+ dependencies:+ micromark-factory-space: 1.1.0+ micromark-util-character: 1.2.0+ micromark-util-symbol: 1.1.0+ micromark-util-types: 1.1.0+ dev: false++ resolution: {integrity: sha512-v2WlmiymVSp5oMg+1Q0N1Lxmt6pMhIHD457whWM7/GUlEks1hI9xj5w3zbc4uuMKXGisksZk8DzP2UyGbGqNsQ==}+ dependencies:+ micromark-factory-space: 1.1.0+ micromark-util-character: 1.2.0+ micromark-util-symbol: 1.1.0+ micromark-util-types: 1.1.0+ dev: false++ resolution: {integrity: sha512-lXraTwcX3yH/vMDaFWCQJP1uIszLVebzUa3ZHdrgxr7KEU/9mL4mVgCpGbyhvNLNlauROiNUq7WN5u7ndbY6xg==}+ dependencies:+ micromark-util-symbol: 1.1.0+ micromark-util-types: 1.1.0+ dev: false++ resolution: {integrity: sha512-Ye01HXpkZPNcV6FiyoW2fGZDUw4Yc7vT0E9Sad83+bEDiCJ1uXu0S3mr8WLpsz3HaG3x2q0HM6CTuPdcZcluFQ==}+ dependencies:+ micromark-util-symbol: 1.1.0+ dev: false++ resolution: {integrity: sha512-SL0wLxtKSnklKSUplok1WQFoGhUdWYKggKUiqhX+Swala+BtptGCu5iPRc+xvzJ4PXE/hwM3FNXsfEVgoZsWbw==}+ dependencies:+ micromark-util-character: 1.2.0+ micromark-util-symbol: 1.1.0+ micromark-util-types: 1.1.0+ dev: false++ resolution: {integrity: sha512-Q20sp4mfNf9yEqDL50WwuWZHUrCO4fEyeDCnMGmG5Pr0Cz15Uo7KBs6jq+dq0EgX4DPwwrh9m0X+zPV1ypFvUA==}+ dependencies:+ micromark-util-chunked: 1.1.0+ micromark-util-types: 1.1.0+ dev: false++ resolution: {integrity: sha512-m9V0ExGv0jB1OT21mrWcuf4QhP46pH1KkfWy9ZEezqHKAxkj4mPCy3nIH1rkbdMlChLHX531eOrymlwyZIf2iw==}+ dependencies:+ micromark-util-symbol: 1.1.0+ dev: false++ resolution: {integrity: sha512-YphLGCK8gM1tG1bd54azwyrQRjCFcmgj2S2GoJDNnh4vYtnL38JS8M4gpxzOPNyHdNEpheyWXCTnnTDY3N+NVQ==}+ dependencies:+ decode-named-character-reference: 1.0.2+ micromark-util-character: 1.2.0+ micromark-util-decode-numeric-character-reference: 1.1.0+ micromark-util-symbol: 1.1.0+ dev: false++ resolution: {integrity: sha512-EuEzTWSTAj9PA5GOAs992GzNh2dGQO52UvAbtSOMvXTxv3Criqb6IOzJUBCmEqrrXSblJIJBbFFv6zPxpreiJw==}+ dev: false++ resolution: {integrity: sha512-VTQzcuQgFUD7yYztuQFKXT49KghjtETQ+Wv/zUjGSGBioZnkA4P1XXZPT1FHeJA6RwRXSF47yvJ1tsJdoxwO+Q==}+ dev: false++ resolution: {integrity: sha512-N+w5vhqrBihhjdpM8+5Xsxy71QWqGn7HYNUvch71iV2PM7+E3uWGox1Qp90loa1ephtCxG2ftRV/Conitc6P2Q==}+ dependencies:+ micromark-util-symbol: 1.1.0+ dev: false++ resolution: {integrity: sha512-b/G6BTMSg+bX+xVCshPTPyAu2tmA0E4X98NSR7eIbeC6ycCqCeE7wjfDIgzEbkzdEVJXRtOG4FbEm/uGbCRouA==}+ dependencies:+ micromark-util-types: 1.1.0+ dev: false++ resolution: {integrity: sha512-QO4GXv0XZfWey4pYFndLUKEAktKkG5kZTdUNaTAkzbuJxn2tNBOr+QtxR2XpWaMhbImT2dPzyLrPXLlPhph34A==}+ dependencies:+ micromark-util-character: 1.2.0+ micromark-util-encode: 1.1.0+ micromark-util-symbol: 1.1.0+ dev: false++ resolution: {integrity: sha512-kUQHyzRoxvZO2PuLzMt2P/dwVsTiivCK8icYTeR+3WgbuPqfHgPPy7nFKbeqRivBvn/3N3GBiNC+JRTMSxEC7A==}+ dependencies:+ micromark-util-chunked: 1.1.0+ micromark-util-symbol: 1.1.0+ micromark-util-types: 1.1.0+ uvu: 0.5.6+ dev: false++ resolution: {integrity: sha512-uEjpEYY6KMs1g7QfJ2eX1SQEV+ZT4rUD3UcF6l57acZvLNK7PBZL+ty82Z1qhK1/yXIY4bdx04FKMgR0g4IAag==}+ dev: false++ resolution: {integrity: sha512-ukRBgie8TIAcacscVHSiddHjO4k/q3pnedmzMQ4iwDcK0FtFCohKOlFbaOL/mPgfnPsL3C1ZyxJa4sbWrBl3jg==}+ dev: false++ resolution: {integrity: sha512-uD66tJj54JLYq0De10AhWycZWGQNUvDI55xPgk2sQM5kn1JYlhbCMTtEeT27+vAhW2FBQxLlOmS3pmA7/2z4aA==}+ dependencies:+ '@types/debug': 4.1.12+ debug: 4.3.5+ decode-named-character-reference: 1.0.2+ micromark-core-commonmark: 1.1.0+ micromark-factory-space: 1.1.0+ micromark-util-character: 1.2.0+ micromark-util-chunked: 1.1.0+ micromark-util-combine-extensions: 1.1.0+ micromark-util-decode-numeric-character-reference: 1.1.0+ micromark-util-encode: 1.1.0+ micromark-util-normalize-identifier: 1.1.0+ micromark-util-resolve-all: 1.1.0+ micromark-util-sanitize-uri: 1.2.0+ micromark-util-subtokenize: 1.1.0+ micromark-util-symbol: 1.1.0+ micromark-util-types: 1.1.0+ uvu: 0.5.6+ transitivePeerDependencies:+ - supports-color+ dev: false++ resolution: {integrity: sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==}+ engines: {node: '>=8.6'}+ dependencies:+ braces: 3.0.3+ picomatch: 2.3.1+ dev: true++ resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==}+ engines: {node: '>= 0.6'}+ dev: false++ resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==}+ engines: {node: '>= 0.6'}+ dependencies:+ mime-db: 1.52.0+ dev: false++ resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==}+ dependencies:+ brace-expansion: 1.1.11+ dev: true++ resolution: {integrity: sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==}+ engines: {node: '>=16 || 14 >=14.17'}+ dependencies:+ brace-expansion: 2.0.1+ dev: true++ resolution: {integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==}+ engines: {node: '>=16 || 14 >=14.17'}+ dependencies:+ brace-expansion: 2.0.1+ dev: true++ resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==}+ dev: true++ resolution: {integrity: sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==}+ engines: {node: '>=16 || 14 >=14.17'}+ dev: true++ resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==}+ engines: {node: '>=4'}+ dev: false++ resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==}++ resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}++ resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==}+ dependencies:+ any-promise: 1.3.0+ object-assign: 4.1.1+ thenify-all: 1.6.0+ dev: true++ resolution: {integrity: sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==}+ engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}+ hasBin: true+ dev: false++ resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==}+ engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}+ hasBin: true++ resolution: {integrity: sha512-oLxFY2gd2IqnjcYyOXD8XGCftpGtZP2AbHbOkthDkvRywH5ayNtPVy9YlOPcHckXzbLTCHpkb7FB+yuxKV13pQ==}+ engines: {node: ^18 || >=20}+ hasBin: true+ dev: false++ resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}+ dev: true++ resolution: {integrity: sha512-vgocjvwPA8gxd/zrIP/vr9lJ/HeNe+C56lPP1D3sdyenHt8KncQV6ro7q0xCsDp1fcOKx7WAWVZH5o8aMxDzgw==}+ peerDependencies:+ next: ^14+ nodemailer: ^6.6.5+ react: ^18.2.0+ peerDependenciesMeta:+ nodemailer:+ optional: true+ dependencies:+ '@auth/core': 0.18.4+ next: 14.2.4([email protected])([email protected])+ react: 18.3.1+ dev: false++ resolution: {integrity: sha512-/QHIrsYpd6Kfk7xakK4svpDI5mmXP0gfvCoJdGpZQ2TOrQZmsW0QxjaiLn8wbIKjtm4BTSqLoix4lxYYOnLJ/w==}+ peerDependencies:+ react: ^16.8 || ^17 || ^18+ react-dom: ^16.8 || ^17 || ^18+ dependencies:+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ dev: false++ resolution: {integrity: sha512-R8/V7vugY+822rsQGQCjoLhMuC9oFj9SOi4Cl4b2wjDrseD0LRZ10W7R6Czo4w9ZznVSshKjuIomsRjvm9EKJQ==}+ engines: {node: '>=18.17.0'}+ hasBin: true+ peerDependencies:+ '@opentelemetry/api': ^1.1.0+ '@playwright/test': ^1.41.2+ react: ^18.2.0+ react-dom: ^18.2.0+ sass: ^1.3.0+ peerDependenciesMeta:+ '@opentelemetry/api':+ optional: true+ '@playwright/test':+ optional: true+ sass:+ optional: true+ dependencies:+ '@next/env': 14.2.4+ '@swc/helpers': 0.5.5+ busboy: 1.6.0+ caniuse-lite: 1.0.30001639+ graceful-fs: 4.2.11+ postcss: 8.4.31+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ styled-jsx: 5.1.1([email protected])+ optionalDependencies:+ '@next/swc-darwin-arm64': 14.2.4+ '@next/swc-darwin-x64': 14.2.4+ '@next/swc-linux-arm64-gnu': 14.2.4+ '@next/swc-linux-arm64-musl': 14.2.4+ '@next/swc-linux-x64-gnu': 14.2.4+ '@next/swc-linux-x64-musl': 14.2.4+ '@next/swc-win32-arm64-msvc': 14.2.4+ '@next/swc-win32-ia32-msvc': 14.2.4+ '@next/swc-win32-x64-msvc': 14.2.4+ transitivePeerDependencies:+ - '@babel/core'+ - babel-plugin-macros+ dev: false++ resolution: {integrity: sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==}+ engines: {node: '>=10.5.0'}+ dev: false++ resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==}+ engines: {node: 4.x || >=6.0.0}+ peerDependencies:+ encoding: ^0.1.0+ peerDependenciesMeta:+ encoding:+ optional: true+ dependencies:+ whatwg-url: 5.0.0+ dev: false++ resolution: {integrity: sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==}+ dev: true++ resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==}+ engines: {node: '>=0.10.0'}+ dev: true++ resolution: {integrity: sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==}+ engines: {node: '>=0.10.0'}+ dev: true++ resolution: {integrity: sha512-aNzOnL98bL6izG97zgnZs1PFEyO4WDVRhz2Pd066NPak44w5ESLRCYmJIyey8avSBPOMtBjhF3ZDDm7bIb7UOg==}+ dev: false++ resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==}+ engines: {node: '>=0.10.0'}++ resolution: {integrity: sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==}+ engines: {node: '>= 6'}+ dev: true++ resolution: {integrity: sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==}+ engines: {node: '>= 0.4'}+ dev: true++ resolution: {integrity: sha512-F8cZ+KfGlSGi09lJT7/Nd6KJZ9ygtvYC0/UYYLI9nmQKLMnydpB9yvbv9K1uSkEu7FU9vYPmVwLg328tX+ot3Q==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.7+ define-properties: 1.2.1+ dev: true++ resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==}+ engines: {node: '>= 0.4'}+ dev: true++ resolution: {integrity: sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.7+ define-properties: 1.2.1+ has-symbols: 1.0.3+ object-keys: 1.1.1+ dev: true++ resolution: {integrity: sha512-cmopxi8VwRIAw/fkijJohSfpef5PdN0pMQJN6VC/ZKvn0LIknWD8KtgY6KlQdEc4tIjcQ3HxSMmnvtzIscdaYQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.7+ define-properties: 1.2.1+ es-object-atoms: 1.0.0+ dev: true++ resolution: {integrity: sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.7+ define-properties: 1.2.1+ es-abstract: 1.23.3+ es-object-atoms: 1.0.0+ dev: true++ resolution: {integrity: sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.7+ define-properties: 1.2.1+ es-abstract: 1.23.3+ dev: true++ resolution: {integrity: sha512-FZ9LZt9/RHzGySlBARE3VF+gE26TxR38SdmqOqliuTnl9wrKulaQs+4dee1V+Io8VfxqzAfHu6YuRgUy8OHoTg==}+ engines: {node: '>= 0.4'}+ dependencies:+ define-properties: 1.2.1+ es-abstract: 1.23.3+ es-object-atoms: 1.0.0+ dev: true++ resolution: {integrity: sha512-yBYjY9QX2hnRmZHAjG/f13MzmBzxzYgQhFrke06TTyKY5zSTEqkOeukBzIdVA3j3ulu8Qa3MbVFShV7T2RmGtQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.7+ define-properties: 1.2.1+ es-object-atoms: 1.0.0+ dev: true++ resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==}+ dependencies:+ wrappy: 1.0.2+ dev: true++ resolution: {integrity: sha512-mMc0XgFuVSkcm0lRIi8zaw++otC82ZlfkCur1qguXYWPETr/+ZwL9A/vvp3YahX+shpaT6j03dwsmUyLAfmEfg==}+ hasBin: true+ dependencies:+ '@types/node': 18.19.39+ '@types/node-fetch': 2.6.11+ abort-controller: 3.0.0+ agentkeepalive: 4.5.0+ form-data-encoder: 1.7.2+ formdata-node: 4.4.1+ node-fetch: 2.7.0+ web-streams-polyfill: 3.3.3+ transitivePeerDependencies:+ - encoding+ dev: false++ resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==}+ engines: {node: '>= 0.8.0'}+ dependencies:+ deep-is: 0.1.4+ fast-levenshtein: 2.0.6+ levn: 0.4.1+ prelude-ls: 1.2.1+ type-check: 0.4.0+ word-wrap: 1.2.5+ dev: true++ resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==}+ engines: {node: '>=10'}+ dependencies:+ yocto-queue: 0.1.0+ dev: true++ resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==}+ engines: {node: '>=10'}+ dependencies:+ p-limit: 3.1.0+ dev: true++ resolution: {integrity: sha512-dATvCeZN/8wQsGywez1mzHtTlP22H8OEfPrVMLNr4/eGa+ijtLn/6M5f0dY8UKNrC2O9UCU6SSoG3qRKnt7STw==}+ dev: true++ resolution: {integrity: sha512-NUcwaKxUxWrZLpDG+z/xZaCgQITkA/Dv4V/T6bw7VON6l1Xz/VnrBqrYjZQ12TamKHzITTfOEIYUj48y2KXImA==}+ dev: false++ resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==}+ engines: {node: '>=6'}+ dependencies:+ callsites: 3.1.0+ dev: true++ resolution: {integrity: sha512-bwS/GGIFV3b6KS4uwpzCFj4w297Yl3uqnSgIPsoQkx7GMLROXfMnWvxfNkL0oh8HVhZA4hvJoEoEIqonfJ3BWg==}+ dependencies:+ color-name: 1.1.4+ hex-rgb: 4.3.0+ dev: false++ resolution: {integrity: sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ==}+ dependencies:+ character-entities: 1.2.4+ character-entities-legacy: 1.1.4+ character-reference-invalid: 1.1.4+ is-alphanumerical: 1.0.4+ is-decimal: 1.0.4+ is-hexadecimal: 1.0.4+ dev: false++ resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==}+ engines: {node: '>=8'}+ dev: true++ resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==}+ engines: {node: '>=0.10.0'}+ dev: true++ resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==}+ engines: {node: '>=8'}+ dev: true++ resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==}+ dev: true++ resolution: {integrity: sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==}+ engines: {node: '>=16 || 14 >=14.18'}+ dependencies:+ lru-cache: 10.3.0+ minipass: 7.1.2+ dev: true++ resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==}+ engines: {node: '>=8'}+ dev: true++ resolution: {integrity: sha512-vKiQ8RRtkl9P+r/+oefh25C3fhybptkHKCZSPlcXiJux2tJF55GnEj3BVn4A5gKfq9NWWXXrxkHBwVPUfH0opw==}+ dependencies:+ '@types/estree': 1.0.5+ estree-walker: 3.0.3+ is-reference: 3.0.2+ dev: false++ resolution: {integrity: sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==}++ resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==}+ engines: {node: '>=8.6'}+ dev: true++ resolution: {integrity: sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==}+ engines: {node: '>=0.10.0'}+ dev: true++ resolution: {integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==}+ engines: {node: '>= 6'}+ dev: true++ resolution: {integrity: sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==}+ engines: {node: '>= 0.4'}+ dev: true++ resolution: {integrity: sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==}+ engines: {node: '>=14.0.0'}+ peerDependencies:+ postcss: ^8.0.0+ dependencies:+ postcss: 8.4.39+ postcss-value-parser: 4.2.0+ read-cache: 1.0.0+ resolve: 1.22.8+ dev: true++ resolution: {integrity: sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==}+ engines: {node: ^12 || ^14 || >= 16}+ peerDependencies:+ postcss: ^8.4.21+ dependencies:+ camelcase-css: 2.0.1+ postcss: 8.4.39+ dev: true++ resolution: {integrity: sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==}+ engines: {node: '>= 14'}+ peerDependencies:+ postcss: '>=8.0.9'+ ts-node: '>=9.0.0'+ peerDependenciesMeta:+ postcss:+ optional: true+ ts-node:+ optional: true+ dependencies:+ lilconfig: 3.1.2+ postcss: 8.4.39+ yaml: 2.4.5+ dev: true++ resolution: {integrity: sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==}+ engines: {node: '>=12.0'}+ peerDependencies:+ postcss: ^8.2.14+ dependencies:+ postcss: 8.4.39+ postcss-selector-parser: 6.1.0+ dev: true++ resolution: {integrity: sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w==}+ engines: {node: '>=4'}+ dependencies:+ cssesc: 3.0.0+ util-deprecate: 1.0.2+ dev: true++ resolution: {integrity: sha512-UMz42UD0UY0EApS0ZL9o1XnLhSTtvvvLe5Dc2H2O56fvRZi+KulDyf5ctDhhtYJBGKStV2FL1fy6253cmLgqVQ==}+ engines: {node: '>=4'}+ dependencies:+ cssesc: 3.0.0+ util-deprecate: 1.0.2+ dev: true++ resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==}++ resolution: {integrity: sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==}+ engines: {node: ^10 || ^12 || >=14}+ dependencies:+ nanoid: 3.3.7+ picocolors: 1.0.1+ source-map-js: 1.2.0+ dev: false++ resolution: {integrity: sha512-0vzE+lAiG7hZl1/9I8yzKLx3aR9Xbof3fBHKunvMfOCYAtMhrsnccJY2iTURb9EZd5+pLuiNV9/c/GZJOHsgIw==}+ engines: {node: ^10 || ^12 || >=14}+ dependencies:+ nanoid: 3.3.7+ picocolors: 1.0.1+ source-map-js: 1.2.0++ resolution: {integrity: sha512-aPDxUn5o3GhWdtJtW0svRC2SS/l8D9MAgo2+AWml+BhDImb27ALf04Q2d+AHqUUOc6RdSXFIBVa2gxzgMKgtZA==}+ peerDependencies:+ preact: '>=10'+ dependencies:+ preact: 10.11.3+ pretty-format: 3.8.0+ dev: false++ resolution: {integrity: sha512-eY93IVpod/zG3uMF22Unl8h9KkrcKIRs2EGar8hwLZZDU1lkjph303V9HZBwufh2s736U6VXuhD109LYqPoffg==}+ dev: false++ resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==}+ engines: {node: '>= 0.8.0'}+ dev: true++ resolution: {integrity: sha512-rAVeHYMcv8ATV5d508CFdn+8/pHPpXeIid1DdrPwXnaAdH7cqjVbpJaT5eq4yRAFU/lsbwYwSF/n5iNrdJHPQA==}+ engines: {node: '>=14'}+ hasBin: true+ dev: true++ resolution: {integrity: sha512-WuxUnVtlWL1OfZFQFuqvnvs6MiAGk9UNsBostyBOB0Is9wb5uRESevA6rnl/rkksXaGX3GzZhPup5d6Vp1nFew==}+ dev: false++ resolution: {integrity: sha512-t13BGPUlFDR7wRB5kQDG4jjl7XeuH6jbJGt11JHPL96qwsEHNX2+68tFXqc1/k+/jALsbSWJKUOT/hcYAZ5LkA==}+ engines: {node: '>=6'}+ dev: false++ resolution: {integrity: sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==}+ engines: {node: '>=6'}+ dev: false++ resolution: {integrity: sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==}+ dependencies:+ loose-envify: 1.4.0+ object-assign: 4.1.1+ react-is: 16.13.1++ resolution: {integrity: sha512-YUHSPk+A30YPv+0Qf8i9Mbfe/C0hdPXk1s1jPVToV8pk8BQtpw10ct89Eo7OWkutrwqvT0eicAxlOg3dOAu8JA==}+ dependencies:+ xtend: 4.0.2+ dev: false++ resolution: {integrity: sha512-PgTgs/BlvHxOu8QuEN7wi5A0OmXaBcHpmCSTehcs6Uuu9IkDIEo13Hy7n898RHfrQ49vKCoGeWZSaAK01nwVig==}+ dev: false++ resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==}+ engines: {node: '>=6'}+ dev: true++ resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==}+ dev: true++ resolution: {integrity: sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==}+ peerDependencies:+ react: ^18.3.1+ dependencies:+ loose-envify: 1.4.0+ react: 18.3.1+ scheduler: 0.23.2+ dev: false++ resolution: {integrity: sha512-9NYfKwPZRovB6QJee7fDg0zz/SyYrqXtn5xTZU0vwLtLVBtfu9aZt1pVmr825REE49VPDZ7Lm5SNHjJBOTZHpA==}+ peerDependencies:+ react: ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0+ react-dom: ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0+ peerDependenciesMeta:+ react-dom:+ optional: true+ dependencies:+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ dev: false++ resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==}++ resolution: {integrity: sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==}+ dev: false++ resolution: {integrity: sha512-bvWbzG4MtOU62XqBx3Xx+zB2raaFFsq4mYiAzfjXJMEz2sixgeAfraA3tvzULF02ZdOMUOKTBFFaZJDDrq+BJQ==}+ peerDependencies:+ '@types/react': '>=16'+ react: '>=16'+ dependencies:+ '@types/hast': 2.3.10+ '@types/prop-types': 15.7.12+ '@types/react': 18.3.3+ '@types/unist': 2.0.10+ comma-separated-tokens: 2.0.3+ hast-util-whitespace: 2.0.1+ prop-types: 15.8.1+ property-information: 6.5.0+ react: 18.3.1+ react-is: 18.3.1+ remark-parse: 10.0.2+ remark-rehype: 10.1.0+ space-separated-tokens: 2.0.2+ style-to-object: 0.4.4+ unified: 10.1.2+ unist-util-visit: 4.1.2+ vfile: 5.3.7+ transitivePeerDependencies:+ - supports-color+ dev: false++ resolution: {integrity: sha512-DtSYaao4mBmX+HDo5YWYdBWQwYIQQshUV/dVxFxK+KM26Wjwp1gZ6rv6OC3oujI6Bfu6Xyg3TwK533AQutsn/g==}+ engines: {node: '>=10'}+ peerDependencies:+ '@types/react': ^16.8.0 || ^17.0.0 || ^18.0.0+ react: ^16.8.0 || ^17.0.0 || ^18.0.0+ peerDependenciesMeta:+ '@types/react':+ optional: true+ dependencies:+ '@types/react': 18.3.3+ react: 18.3.1+ react-style-singleton: 2.2.1(@types/[email protected])([email protected])+ tslib: 2.6.3+ dev: false++ resolution: {integrity: sha512-FnrTWO4L7/Bhhf3CYBNArEG/yROV0tKmTv7/3h9QCFvH6sndeFf1wPqOcbFVu5VAulS5dV1wGT3GZZ/1GawqiA==}+ engines: {node: '>=10'}+ peerDependencies:+ '@types/react': ^16.8.0 || ^17.0.0 || ^18.0.0+ react: ^16.8.0 || ^17.0.0 || ^18.0.0+ peerDependenciesMeta:+ '@types/react':+ optional: true+ dependencies:+ '@types/react': 18.3.3+ react: 18.3.1+ react-remove-scroll-bar: 2.3.6(@types/[email protected])([email protected])+ react-style-singleton: 2.2.1(@types/[email protected])([email protected])+ tslib: 2.6.3+ use-callback-ref: 1.3.2(@types/[email protected])([email protected])+ use-sidecar: 1.1.2(@types/[email protected])([email protected])+ dev: false++ resolution: {integrity: sha512-ZWj0fHEMyWkHzKYUr2Bs/4zU6XLmq9HsgBURm7g5pAVfyn49DgUiNgY2d4lXRlYSiCif9YBGpQleewkcqddc7g==}+ engines: {node: '>=10'}+ peerDependencies:+ '@types/react': ^16.8.0 || ^17.0.0 || ^18.0.0+ react: ^16.8.0 || ^17.0.0 || ^18.0.0+ peerDependenciesMeta:+ '@types/react':+ optional: true+ dependencies:+ '@types/react': 18.3.3+ get-nonce: 1.0.1+ invariant: 2.2.4+ react: 18.3.1+ tslib: 2.6.3+ dev: false++ resolution: {integrity: sha512-+zq2myprEnQmH5yw6Gqc8lD55QHnpKaU8TOcFeC/Lg/MQSs8UknEA0JC4nTZGFAXC2J2Hyj/ijJ7NlabyPi2gg==}+ peerDependencies:+ react: '>= 0.14.0'+ dependencies:+ '@babel/runtime': 7.24.7+ highlight.js: 10.7.3+ lowlight: 1.20.0+ prismjs: 1.29.0+ react: 18.3.1+ refractor: 3.6.0+ dev: false++ resolution: {integrity: sha512-XT1024o2pqCuZSuBt9FwHlaDeNtVrtCXu0Rnz88t1jUGheCLa3PhjE1GH8Ctm2axEtvdCl5SUHYschyQ0L5QHQ==}+ engines: {node: '>=10'}+ peerDependencies:+ react: ^16.8.0 || ^17.0.0 || ^18.0.0+ dependencies:+ '@babel/runtime': 7.24.7+ react: 18.3.1+ use-composed-ref: 1.3.0([email protected])+ use-latest: 1.2.1(@types/[email protected])([email protected])+ transitivePeerDependencies:+ - '@types/react'+ dev: false++ resolution: {integrity: sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==}+ engines: {node: '>=0.10.0'}+ dependencies:+ loose-envify: 1.4.0+ dev: false++ resolution: {integrity: sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==}+ dependencies:+ pify: 2.3.0+ dev: true++ resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==}+ engines: {node: '>=8.10.0'}+ dependencies:+ picomatch: 2.3.1+ dev: true++ resolution: {integrity: sha512-fmfw4XgoDke3kdI6h4xcUz1dG8uaiv5q9gcEwLS4Pnth2kxT+GZ7YehS1JTMGBQmtV7Y4GFGbs2re2NqhdozUg==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.7+ define-properties: 1.2.1+ es-abstract: 1.23.3+ es-errors: 1.3.0+ get-intrinsic: 1.2.4+ globalthis: 1.0.4+ which-builtin-type: 1.1.3+ dev: true++ resolution: {integrity: sha512-MY9W41IOWxxk31o+YvFCNyNzdkc9M20NoZK5vq6jkv4I/uh2zkWcfudj0Q1fovjUQJrNewS9NMzeTtqPf+n5EA==}+ dependencies:+ hastscript: 6.0.0+ parse-entities: 2.0.0+ prismjs: 1.27.0+ dev: false++ resolution: {integrity: sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==}++ resolution: {integrity: sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.7+ define-properties: 1.2.1+ es-errors: 1.3.0+ set-function-name: 2.0.2+ dev: true++ resolution: {integrity: sha512-lEFDoi2PICJyNrACFOfDD3JlLkuSbOa5Wd8EPt06HUdptv8Gn0bxYTdbU/XXQ3swAPkEaGxxPN9cbnMHvVu1Ig==}+ dependencies:+ '@types/mdast': 3.0.15+ mdast-util-gfm: 2.0.2+ micromark-extension-gfm: 2.0.3+ unified: 10.1.2+ transitivePeerDependencies:+ - supports-color+ dev: false++ resolution: {integrity: sha512-cE5T2R/xLVtfFI4cCePtiRn+e6jKMtFDR3P8V3qpv8wpKjwvHoBA4eJzvX+nVrnlNy0911bdGmuspCSwetfYHw==}+ dependencies:+ '@types/mdast': 3.0.15+ mdast-util-math: 2.0.2+ micromark-extension-math: 2.1.2+ unified: 10.1.2+ dev: false++ resolution: {integrity: sha512-3ydxgHa/ZQzG8LvC7jTXccARYDcRld3VfcgIIFs7bI6vbRSxJJmzgLEIIoYKyrfhaY+ujuWaf/PJiMZXoiCXgw==}+ dependencies:+ '@types/mdast': 3.0.15+ mdast-util-from-markdown: 1.3.1+ unified: 10.1.2+ transitivePeerDependencies:+ - supports-color+ dev: false++ resolution: {integrity: sha512-EFmR5zppdBp0WQeDVZ/b66CWJipB2q2VLNFMabzDSGR66Z2fQii83G5gTBbgGEnEEA0QRussvrFHxk1HWGJskw==}+ dependencies:+ '@types/hast': 2.3.10+ '@types/mdast': 3.0.15+ mdast-util-to-hast: 12.3.0+ unified: 10.1.2+ dev: false++ resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==}+ engines: {node: '>=4'}+ dev: true++ resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==}+ dev: true++ resolution: {integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==}+ hasBin: true+ dependencies:+ is-core-module: 2.14.0+ path-parse: 1.0.7+ supports-preserve-symlinks-flag: 1.0.0+ dev: true++ resolution: {integrity: sha512-U7WjGVG9sH8tvjW5SmGbQuui75FiyjAX72HX15DwBBwF9dNiQZRQAg9nnPhYy+TUnE0+VcrttuvNI8oSxZcocA==}+ hasBin: true+ dependencies:+ is-core-module: 2.14.0+ path-parse: 1.0.7+ supports-preserve-symlinks-flag: 1.0.0+ dev: true++ resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==}+ engines: {iojs: '>=1.0.0', node: '>=0.10.0'}+ dev: true++ resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==}+ deprecated: Rimraf versions prior to v4 are no longer supported+ hasBin: true+ dependencies:+ glob: 7.2.3+ dev: true++ resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==}+ dependencies:+ queue-microtask: 1.2.3+ dev: true++ resolution: {integrity: sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==}+ engines: {node: '>=6'}+ dependencies:+ mri: 1.2.0+ dev: false++ resolution: {integrity: sha512-vj6RsCsWBCf19jIeHEfkRMw8DPiBb+DMXklQ/1SGDHOMlHdPUkZXFQ2YdplS23zESTijAcurb1aSgJA3AgMu1Q==}+ engines: {node: '>=0.4'}+ dependencies:+ call-bind: 1.0.7+ get-intrinsic: 1.2.4+ has-symbols: 1.0.3+ isarray: 2.0.5+ dev: true++ resolution: {integrity: sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.7+ es-errors: 1.3.0+ is-regex: 1.1.4+ dev: true++ resolution: {integrity: sha512-XU9EELUEZuioT4acLIpCXxHcFzrsC8muvg0MY28d+TlqwxbkTzBmWbw+3+hnCzXT7YZ0Qm8k3eXktDaEu+qmEw==}+ engines: {node: '>=16'}+ dependencies:+ '@shuding/opentype.js': 1.4.0-beta.0+ css-background-parser: 0.1.0+ css-box-shadow: 1.0.0-3+ css-to-react-native: 3.2.0+ emoji-regex: 10.3.0+ escape-html: 1.0.3+ linebreak: 1.1.0+ parse-css-color: 0.2.1+ postcss-value-parser: 4.2.0+ yoga-wasm-web: 0.3.3+ dev: false++ resolution: {integrity: sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==}+ dependencies:+ loose-envify: 1.4.0+ dev: false++ resolution: {integrity: sha512-6aU+Rwsezw7VR8/nyvKTx8QpWH9FrcYiXXlqC4z5d5XQBDRqtbfsRjnwGyqbi3gddNtWHuEk9OANUotL26qKUw==}+ dev: false++ resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==}+ hasBin: true+ dev: true++ resolution: {integrity: sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==}+ engines: {node: '>=10'}+ hasBin: true+ dev: true++ resolution: {integrity: sha512-qepMx2JxAa5jjfzxG79yPPq+8BuFToHd1hm7kI+Z4zAq1ftQiP7HcxMhDDItrbtwVeLg/cY2JnKnrcFkmiswNA==}+ dev: false++ resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==}+ engines: {node: '>= 0.4'}+ dependencies:+ define-data-property: 1.1.4+ es-errors: 1.3.0+ function-bind: 1.1.2+ get-intrinsic: 1.2.4+ gopd: 1.0.1+ has-property-descriptors: 1.0.2+ dev: true++ resolution: {integrity: sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ define-data-property: 1.1.4+ es-errors: 1.3.0+ functions-have-names: 1.2.3+ has-property-descriptors: 1.0.2+ dev: true++ resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==}+ engines: {node: '>=8'}+ dependencies:+ shebang-regex: 3.0.0+ dev: true++ resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==}+ engines: {node: '>=8'}+ dev: true++ resolution: {integrity: sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.7+ es-errors: 1.3.0+ get-intrinsic: 1.2.4+ object-inspect: 1.13.2+ dev: true++ resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==}+ engines: {node: '>=14'}+ dev: true++ resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==}+ engines: {node: '>=8'}+ dev: true++ resolution: {integrity: sha512-FBjhG/gnnbN6FY0jaNnqZOMmB73R+5IiyYAw8yBj7L54ER7HB3fOSE5OFiQiE2iXWxeXKvg6fIP4LtVppHEdJA==}+ peerDependencies:+ react: ^18.0.0+ react-dom: ^18.0.0+ dependencies:+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ dev: false++ resolution: {integrity: sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==}+ engines: {node: '>=0.10.0'}++ resolution: {integrity: sha512-q/JSVd1Lptzhf5bkYm4ob4iWPjx0KiRe3sRFBNrVqbJkFaBm5vbbowy1mymoPNLRa52+oadOhJ+K49wsSeSjTA==}+ dev: false++ resolution: {integrity: sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==}+ dev: false++ resolution: {integrity: sha512-Cqc355SYlTAaUt8iDPaC/4DPPXK925PePLMxyBKuWd5kKc5mwsG3nT9+Mq2tyguL5s7b4Jg+IRMpTRsNTAfpSQ==}+ peerDependencies:+ svelte: ^4.0.0 || ^5.0.0-next.0+ dependencies:+ svelte: 4.2.18+ swrev: 4.0.0+ dev: false++ resolution: {integrity: sha512-iCGQj+0l0HOdZ2AEeBADlsRC+vsnDsZsbdSiH1yNSjcfKM7fdpCMfqAL/dwF5BLiw/XhRft/Wax6zQbhq2BcjQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ internal-slot: 1.0.7+ dev: true++ resolution: {integrity: sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==}+ engines: {node: '>=10.0.0'}+ dev: false++ resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==}+ engines: {node: '>=8'}+ dependencies:+ emoji-regex: 8.0.0+ is-fullwidth-code-point: 3.0.0+ strip-ansi: 6.0.1+ dev: true++ resolution: {integrity: sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==}+ engines: {node: '>=12'}+ dependencies:+ eastasianwidth: 0.2.0+ emoji-regex: 9.2.2+ strip-ansi: 7.1.0+ dev: true++ resolution: {integrity: sha512-2cBVCj6I4IOvEnjgO/hWqXjqBGsY+zwPmHl12Srk9IXSZ56Jwwmy+66XO5Iut/oQVR7t5ihYdLB0GMa4alEUcg==}+ dev: false++ resolution: {integrity: sha512-E34CkBgyeqNDcrbU76cDjL5JLcVrtSdYq0MEh/B10r17pRP4ciHLwTgnuLV8Ay6cgEMLkcBkFCKyFZ43YldYzg==}+ dependencies:+ define-properties: 1.2.1+ es-abstract: 1.23.3+ dev: true++ resolution: {integrity: sha512-NUdh0aDavY2og7IbBPenWqR9exH+E26Sv8e0/eTe1tltDGZL+GtBkDAnnyBtmekfK6/Dq3MkcGtzXFEd1LQrtg==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.7+ define-properties: 1.2.1+ es-abstract: 1.23.3+ es-errors: 1.3.0+ es-object-atoms: 1.0.0+ get-intrinsic: 1.2.4+ gopd: 1.0.1+ has-symbols: 1.0.3+ internal-slot: 1.0.7+ regexp.prototype.flags: 1.5.2+ set-function-name: 2.0.2+ side-channel: 1.0.6+ dev: true++ resolution: {integrity: sha512-klHuCNxiMZ8MlsOihJhJEBJAiMVqU3Z2nEXWfWnIqjN0gEFS9J9+IxKozWWtQGcgoa1WUZzLjKPTr4ZHNFTFxw==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.7+ define-properties: 1.2.1+ es-abstract: 1.23.3+ es-object-atoms: 1.0.0+ dev: true++ resolution: {integrity: sha512-p73uL5VCHCO2BZZ6krwwQE3kCzM7NKmis8S//xEC6fQonchbum4eP6kR4DLEjQFO3Wnj3Fuo8NM0kOSjVdHjZQ==}+ dependencies:+ call-bind: 1.0.7+ define-properties: 1.2.1+ es-object-atoms: 1.0.0+ dev: true++ resolution: {integrity: sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.7+ define-properties: 1.2.1+ es-object-atoms: 1.0.0+ dev: true++ resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==}+ engines: {node: '>=8'}+ dependencies:+ ansi-regex: 5.0.1+ dev: true++ resolution: {integrity: sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==}+ engines: {node: '>=12'}+ dependencies:+ ansi-regex: 6.0.1+ dev: true++ resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==}+ engines: {node: '>=4'}+ dev: true++ resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==}+ engines: {node: '>=8'}+ dev: true++ resolution: {integrity: sha512-HYNoHZa2GorYNyqiCaBgsxvcJIn7OHq6inEga+E6Ke3m5JkoqpQbnFssk4jwe+K7AhGa2fcha4wSOf1Kn01dMg==}+ dependencies:+ inline-style-parser: 0.1.1+ dev: false++ resolution: {integrity: sha512-pW7uC1l4mBZ8ugbiZrcIsiIvVx1UmTfw7UkC3Um2tmfUq9Bhk8IiyEIPl6F8agHgjzku6j0xQEZbfA5uSgSaCw==}+ engines: {node: '>= 12.0.0'}+ peerDependencies:+ '@babel/core': '*'+ babel-plugin-macros: '*'+ react: '>= 16.8.0 || 17.x.x || ^18.0.0-0'+ peerDependenciesMeta:+ '@babel/core':+ optional: true+ babel-plugin-macros:+ optional: true+ dependencies:+ client-only: 0.0.1+ react: 18.3.1+ dev: false++ resolution: {integrity: sha512-8EbVDiu9iN/nESwxeSxDKe0dunta1GOlHufmSSXxMD2z2/tMZpDMpvXQGsc+ajGo8y2uYUmixaSRUc/QPoQ0GA==}+ engines: {node: '>=16 || 14 >=14.17'}+ hasBin: true+ dependencies:+ '@jridgewell/gen-mapping': 0.3.5+ commander: 4.1.1+ glob: 10.4.2+ lines-and-columns: 1.2.4+ mz: 2.7.0+ pirates: 4.0.6+ ts-interface-checker: 0.1.13+ dev: true++ resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==}+ engines: {node: '>=8'}+ dependencies:+ has-flag: 4.0.0+ dev: true++ resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==}+ engines: {node: '>= 0.4'}+ dev: true++ resolution: {integrity: sha512-d0FdzYIiAePqRJEb90WlJDkjUEx42xhivxN8muUBmfZnP+tzUgz12DJ2hRJi8sIHCME7jeK1PTMgKPSfTd8JrA==}+ engines: {node: '>=16'}+ dependencies:+ '@ampproject/remapping': 2.3.0+ '@jridgewell/sourcemap-codec': 1.4.15+ '@jridgewell/trace-mapping': 0.3.25+ '@types/estree': 1.0.5+ acorn: 8.12.0+ aria-query: 5.3.0+ axobject-query: 4.0.0+ code-red: 1.0.4+ css-tree: 2.3.1+ estree-walker: 3.0.3+ is-reference: 3.0.2+ locate-character: 3.0.0+ magic-string: 0.30.10+ periscopic: 3.1.0+ dev: false++ resolution: {integrity: sha512-AjqHOv2lAhkuUdIiBu9xbuettzAzWXmCEcLONNKJRba87WAefz8Ca9d6ds/SzrPc235n1IxWYdhJ2zF3MNUaoQ==}+ peerDependencies:+ react: ^16.11.0 || ^17.0.0 || ^18.0.0+ dependencies:+ react: 18.3.1+ use-sync-external-store: 1.2.2([email protected])+ dev: false++ resolution: {integrity: sha512-LqVcOHSB4cPGgitD1riJ1Hh4vdmITOp+BkmfmXRh4hSF/t7EnS4iD+SOTmq7w5pPm/SiPeto4ADbKS6dHUDWFA==}+ dev: false++ resolution: {integrity: sha512-zjEkcP8Ywmj+xOJW3lIT65ciY/4AL4e/Or7Gj0MzU3zBJNMdJiT8geVZhINavnlHRMMCcJLHhraLTAiDOTmQ9g==}+ peerDependencies:+ vue: '>=3.2.26 < 4'+ dependencies:+ vue: 3.4.31([email protected])+ dev: false++ resolution: {integrity: sha512-Cat63mxsVJlzYvN51JmVXIgNoUokrIaT2zLclCXjRd8boZ0004U4KCs/sToJ75C6sdlByWxpYnb5Boif1VSFew==}+ dev: false++ resolution: {integrity: sha512-vkYrLpIP+lgR0tQCG6AP7zZXCTLc1Lnv/CCRT3BqJ9CZ3ui2++GPaGb1x/ILsINIMSYqqvrpqjUFsMNLlW99EA==}+ dependencies:+ '@babel/runtime': 7.24.7+ dev: true++ resolution: {integrity: sha512-bl6mpH3T7I3UFxuvDEXLxy/VuFxBk5bbzplh7tXI68mwMokNYd1t9qPBHlnyTwfa4JGC4zP516I1hYYtQ/vspA==}+ peerDependencies:+ tailwindcss: '>=3.0.0 || insiders'+ dependencies:+ tailwindcss: 3.4.4+ dev: true++ resolution: {integrity: sha512-ZoyXOdJjISB7/BcLTR6SEsLgKtDStYyYZVLsUtWChO4Ps20CBad7lfJKVDiejocV4ME1hLmyY0WJE3hSDcmQ2A==}+ engines: {node: '>=14.0.0'}+ hasBin: true+ dependencies:+ '@alloc/quick-lru': 5.2.0+ arg: 5.0.2+ chokidar: 3.6.0+ didyoumean: 1.2.2+ dlv: 1.1.3+ fast-glob: 3.3.2+ glob-parent: 6.0.2+ is-glob: 4.0.3+ jiti: 1.21.6+ lilconfig: 2.1.0+ micromatch: 4.0.7+ normalize-path: 3.0.0+ object-hash: 3.0.0+ picocolors: 1.0.1+ postcss: 8.4.39+ postcss-import: 15.1.0([email protected])+ postcss-js: 4.0.1([email protected])+ postcss-load-config: 4.0.2([email protected])+ postcss-nested: 6.0.1([email protected])+ postcss-selector-parser: 6.1.0+ resolve: 1.22.8+ sucrase: 3.35.0+ transitivePeerDependencies:+ - ts-node+ dev: true++ resolution: {integrity: sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==}+ engines: {node: '>=6'}+ dev: true++ resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==}+ dev: true++ resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==}+ engines: {node: '>=0.8'}+ dependencies:+ thenify: 3.3.1+ dev: true++ resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==}+ dependencies:+ any-promise: 1.3.0+ dev: true++ resolution: {integrity: sha512-pkY1fj1cKHb2seWDy0B16HeWyczlJA9/WW3u3c4z/NiWDsO3DOU5D7nhTLE9CF0yXv/QZFY7sEJmj24dK+Rrqw==}+ dev: false++ resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==}+ engines: {node: '>=4'}+ dev: false++ resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==}+ engines: {node: '>=8.0'}+ dependencies:+ is-number: 7.0.0+ dev: true++ resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==}+ dev: false++ resolution: {integrity: sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==}+ dev: false++ resolution: {integrity: sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==}+ dev: false++ resolution: {integrity: sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==}+ engines: {node: '>=16'}+ peerDependencies:+ typescript: '>=4.2.0'+ dependencies:+ typescript: 5.5.2+ dev: true++ resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==}+ dev: true++ resolution: {integrity: sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==}+ dependencies:+ '@types/json5': 0.0.29+ json5: 1.0.2+ minimist: 1.2.8+ strip-bom: 3.0.0+ dev: true++ resolution: {integrity: sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==}+ dev: false++ resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==}+ engines: {node: '>= 0.8.0'}+ dependencies:+ prelude-ls: 1.2.1+ dev: true++ resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==}+ engines: {node: '>=10'}+ dev: true++ resolution: {integrity: sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.7+ es-errors: 1.3.0+ is-typed-array: 1.1.13+ dev: true++ resolution: {integrity: sha512-3iMJ9q0ao7WE9tWcaYKIptkNBuOIcZCCT0d4MRvuuH88fEoEH62IuQe0OtraD3ebQEoTRk8XCBoknUNc1Y67pw==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.7+ for-each: 0.3.3+ gopd: 1.0.1+ has-proto: 1.0.3+ is-typed-array: 1.1.13+ dev: true++ resolution: {integrity: sha512-Ous0vodHa56FviZucS2E63zkgtgrACj7omjwd/8lTEMEPFFyjfixMZ1ZXenpgCFBBt4EC1J2XsyVS2gkG0eTFA==}+ engines: {node: '>= 0.4'}+ dependencies:+ available-typed-arrays: 1.0.7+ call-bind: 1.0.7+ for-each: 0.3.3+ gopd: 1.0.1+ has-proto: 1.0.3+ is-typed-array: 1.1.13+ dev: true++ resolution: {integrity: sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.7+ for-each: 0.3.3+ gopd: 1.0.1+ has-proto: 1.0.3+ is-typed-array: 1.1.13+ possible-typed-array-names: 1.0.0+ dev: true++ resolution: {integrity: sha512-NcRtPEOsPFFWjobJEtfihkLCZCXZt/os3zf8nTxjVH3RvTSxjrCamJpbExGvYOF+tFHc3pA65qpdwPbzjohhew==}+ engines: {node: '>=14.17'}+ hasBin: true++ resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==}+ dependencies:+ call-bind: 1.0.7+ has-bigints: 1.0.2+ has-symbols: 1.0.3+ which-boxed-primitive: 1.0.2+ dev: true++ resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==}++ resolution: {integrity: sha512-x7bc76x0bm4prf1VLg79uhAzKw8DVboClSN5VxJuQ+LKDOVEW9CdH+VY7SP+vX7xCYQqzzgQpFqz15zeLvAtZQ==}+ dependencies:+ pako: 0.2.9+ tiny-inflate: 1.0.3+ dev: false++ resolution: {integrity: sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q==}+ dependencies:+ '@types/unist': 2.0.10+ bail: 2.0.2+ extend: 3.0.2+ is-buffer: 2.0.5+ is-plain-obj: 4.1.0+ trough: 2.2.0+ vfile: 5.3.7+ dev: false++ resolution: {integrity: sha512-qF72kLmPxAw0oN2fwpWIqbXAVyEqUzDHMsbtPvOudIlUzXYFIeQIuxXQCRCFh22B7cixvU0MG7m3MW8FTq/S+A==}+ dev: false++ resolution: {integrity: sha512-u9njyyfEh43npf1M+yGKDGVPbY/JWEemg5nH05ncKPfi+kBbKBJoTdsogMu33uhytuLlv9y0O7GH7fEdwLdLQw==}+ dependencies:+ '@types/unist': 2.0.10+ dev: false++ resolution: {integrity: sha512-kUBE91efOWfIVBo8xzh/uZQ7p9ffYRtUbMRZBNFYwf0RK8koUMx6dGUfwylLOKmaT2cs4wSW96QoYUSXAyEtpg==}+ dependencies:+ '@types/unist': 2.0.10+ dev: false++ resolution: {integrity: sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==}+ dependencies:+ '@types/unist': 2.0.10+ dev: false++ resolution: {integrity: sha512-x6+y8g7wWMyQhL1iZfhIPhDAs7Xwbn9nRosDXl7qoPTSCy0yNxnKc+hWokFifWQIDGi154rdUqKvbCa4+1kLhg==}+ dependencies:+ '@types/unist': 2.0.10+ unist-util-is: 5.2.1+ dev: false++ resolution: {integrity: sha512-MSd8OUGISqHdVvfY9TPhyK2VdUrPgxkUtWSuMHF6XAAFuL4LokseigBnZtPnJMu+FbynTkFNnFlyjxpVKujMRg==}+ dependencies:+ '@types/unist': 2.0.10+ unist-util-is: 5.2.1+ unist-util-visit-parents: 5.1.3+ dev: false++ resolution: {integrity: sha512-KVbTxlBYlckhF5wgfyZXTWnMn7MMZjMu9XG8bPlliUOP9ThaF4QnhP8qrjrH7DRzHfSk0oQv1wToW+iA5GajEQ==}+ hasBin: true+ peerDependencies:+ browserslist: '>= 4.21.0'+ dependencies:+ browserslist: 4.23.1+ escalade: 3.1.2+ picocolors: 1.0.1+ dev: true++ resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==}+ dependencies:+ punycode: 2.3.1+ dev: true++ resolution: {integrity: sha512-elOQwe6Q8gqZgDA8mrh44qRTQqpIHDcZ3hXTLjBe1i4ph8XpNJnO+aQf3NaG+lriLopI4HMx9VjQLfPQ6vhnoA==}+ engines: {node: '>=10'}+ peerDependencies:+ '@types/react': ^16.8.0 || ^17.0.0 || ^18.0.0+ react: ^16.8.0 || ^17.0.0 || ^18.0.0+ peerDependenciesMeta:+ '@types/react':+ optional: true+ dependencies:+ '@types/react': 18.3.3+ react: 18.3.1+ tslib: 2.6.3+ dev: false++ resolution: {integrity: sha512-GLMG0Jc/jiKov/3Ulid1wbv3r54K9HlMW29IWcDFPEqFkSO2nS0MuefWgMJpeHQ9YJeXDL3ZUF+P3jdXlZX/cQ==}+ peerDependencies:+ react: ^16.8.0 || ^17.0.0 || ^18.0.0+ dependencies:+ react: 18.3.1+ dev: false++ resolution: {integrity: sha512-49L8yCO3iGT/ZF9QttjwLF/ZD9Iwto5LnH5LmEdk/6cFmXddqi2ulF0edxTwjj+7mqvpVVGQWvbXZdn32wRSHA==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8.0 || ^17.0.0 || ^18.0.0+ peerDependenciesMeta:+ '@types/react':+ optional: true+ dependencies:+ '@types/react': 18.3.3+ react: 18.3.1+ dev: false++ resolution: {integrity: sha512-xA+AVm/Wlg3e2P/JiItTziwS7FK92LWrDB0p+hgXloIMuVCeJJ8v6f0eeHyPZaJrM+usM1FkFfbNCrJGs8A/zw==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8.0 || ^17.0.0 || ^18.0.0+ peerDependenciesMeta:+ '@types/react':+ optional: true+ dependencies:+ '@types/react': 18.3.3+ react: 18.3.1+ use-isomorphic-layout-effect: 1.1.2(@types/[email protected])([email protected])+ dev: false++ resolution: {integrity: sha512-epTbsLuzZ7lPClpz2TyryBfztm7m+28DlEv2ZCQ3MDr5ssiwyOwGH/e5F9CkfWjJ1t4clvI58yF822/GUkjjhw==}+ engines: {node: '>=10'}+ peerDependencies:+ '@types/react': ^16.9.0 || ^17.0.0 || ^18.0.0+ react: ^16.8.0 || ^17.0.0 || ^18.0.0+ peerDependenciesMeta:+ '@types/react':+ optional: true+ dependencies:+ '@types/react': 18.3.3+ detect-node-es: 1.1.0+ react: 18.3.1+ tslib: 2.6.3+ dev: false++ resolution: {integrity: sha512-PElTlVMwpblvbNqQ82d2n6RjStvdSoNe9FG28kNfz3WiXilJm4DdNkEzRhCZuIDwY8U08WVihhGR5iRqAwfDiw==}+ peerDependencies:+ react: ^16.8.0 || ^17.0.0 || ^18.0.0+ dependencies:+ react: 18.3.1+ dev: false++ resolution: {integrity: sha512-bBIa7yUyPhE1BCc0GmR96VU/15l/9gP1Ch5mYdLcFBaFGQsdmXkvjV0TtOqW1yUd6VjIwDunm+flSciCQXujiw==}+ engines: {node: '>=16.15.0'}+ peerDependencies:+ react: ^16.8.0 || ^17 || ^18+ dependencies:+ lodash.debounce: 4.0.8+ react: 18.3.1+ dev: false++ resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==}+ dev: true++ resolution: {integrity: sha512-+g8ENReyr8YsOc6fv/NVJs2vFdHBnBNdfE49rshrTzDWOlUx4Gq7KOS2GD8eqhy2j+Ejq29+SbKH8yjkAqXqoA==}+ engines: {node: '>=8'}+ hasBin: true+ dependencies:+ dequal: 2.0.3+ diff: 5.2.0+ kleur: 4.1.5+ sade: 1.8.1+ dev: false++ resolution: {integrity: sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw==}+ dependencies:+ '@types/unist': 2.0.10+ unist-util-stringify-position: 3.0.3+ dev: false++ resolution: {integrity: sha512-r7qlzkgErKjobAmyNIkkSpizsFPYiUPuJb5pNW1RB4JcYVZhs4lIbVqk8XPk033CV/1z8ss5pkax8SuhGpcG8g==}+ dependencies:+ '@types/unist': 2.0.10+ is-buffer: 2.0.5+ unist-util-stringify-position: 3.0.3+ vfile-message: 3.1.4+ dev: false++ resolution: {integrity: sha512-njqRrOy7W3YLAlVqSKpBebtZpDVg21FPoaq1I7f/+qqBThK9ChAIjkRWgeP6Eat+8C+iia4P3OYqpATP21BCoQ==}+ peerDependencies:+ typescript: '*'+ peerDependenciesMeta:+ typescript:+ optional: true+ dependencies:+ '@vue/compiler-dom': 3.4.31+ '@vue/compiler-sfc': 3.4.31+ '@vue/runtime-dom': 3.4.31+ '@vue/server-renderer': 3.4.31([email protected])+ '@vue/shared': 3.4.31+ typescript: 5.5.2+ dev: false++ resolution: {integrity: sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==}+ engines: {node: '>= 8'}+ dev: false++ resolution: {integrity: sha512-QW95TCTaHmsYfHDybGMwO5IJIM93I/6vTRk+daHTWFPhwh+C8Cg7j7XyKrwrj8Ib6vYXe0ocYNrmzY4xAAN6ug==}+ engines: {node: '>= 14'}+ dev: false++ resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==}+ dev: false++ resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==}+ dependencies:+ tr46: 0.0.3+ webidl-conversions: 3.0.1+ dev: false++ resolution: {integrity: sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==}+ dependencies:+ is-bigint: 1.0.4+ is-boolean-object: 1.1.2+ is-number-object: 1.0.7+ is-string: 1.0.7+ is-symbol: 1.0.4+ dev: true++ resolution: {integrity: sha512-YmjsSMDBYsM1CaFiayOVT06+KJeXf0o5M/CAd4o1lTadFAtacTUM49zoYxr/oroopFDfhvN6iEcBxUyc3gvKmw==}+ engines: {node: '>= 0.4'}+ dependencies:+ function.prototype.name: 1.1.6+ has-tostringtag: 1.0.2+ is-async-function: 2.0.0+ is-date-object: 1.0.5+ is-finalizationregistry: 1.0.2+ is-generator-function: 1.0.10+ is-regex: 1.1.4+ is-weakref: 1.0.2+ isarray: 2.0.5+ which-boxed-primitive: 1.0.2+ which-collection: 1.0.2+ which-typed-array: 1.1.15+ dev: true++ resolution: {integrity: sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==}+ engines: {node: '>= 0.4'}+ dependencies:+ is-map: 2.0.3+ is-set: 2.0.3+ is-weakmap: 2.0.2+ is-weakset: 2.0.3+ dev: true++ resolution: {integrity: sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==}+ engines: {node: '>= 0.4'}+ dependencies:+ available-typed-arrays: 1.0.7+ call-bind: 1.0.7+ for-each: 0.3.3+ gopd: 1.0.1+ has-tostringtag: 1.0.2+ dev: true++ resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==}+ engines: {node: '>= 8'}+ hasBin: true+ dependencies:+ isexe: 2.0.0+ dev: true++ resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==}+ engines: {node: '>=0.10.0'}+ dev: true++ resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==}+ engines: {node: '>=10'}+ dependencies:+ ansi-styles: 4.3.0+ string-width: 4.2.3+ strip-ansi: 6.0.1+ dev: true++ resolution: {integrity: sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==}+ engines: {node: '>=12'}+ dependencies:+ ansi-styles: 6.2.1+ string-width: 5.1.2+ strip-ansi: 7.1.0+ dev: true++ resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==}+ dev: true++ resolution: {integrity: sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==}+ engines: {node: '>=0.4'}+ dev: false++ resolution: {integrity: sha512-aBx2bnqDzVOyNKfsysjA2ms5ZlnjSAW2eG3/L5G/CSujfjLJTJsEw1bGw8kCf04KodQWk1pxlGnZ56CRxiawmg==}+ engines: {node: '>= 14'}+ hasBin: true+ dev: true++ resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==}+ engines: {node: '>=10'}+ dev: true++ resolution: {integrity: sha512-N+d4UJSJbt/R3wqY7Coqs5pcV0aUj2j9IaQ3rNj9bVCLld8tTGKRa2USARjnvZJWVx1NDmQev8EknoczaOQDOA==}+ dev: false++ resolution: {integrity: sha512-+akaPo6a0zpVCCseDed504KBJUQpEW5QZw7RMneNmKw+fGaML1Z9tUNLnHHAC8x6dzVRO1eB2oEMyZRnuBZg7Q==}+ peerDependencies:+ zod: ^3.22.4+ dependencies:+ zod: 3.23.8+ dev: false++ resolution: {integrity: sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==}+ dev: false++ resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==}+ dev: falsediff --git a/examples/ts/vercel-ai-chatbot/postcss.config.js b/examples/ts/vercel-ai-chatbot/postcss.config.jsnew file mode 100644index 000000000..33ad091d2--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/postcss.config.js@@ -0,0 +1,6 @@+module.exports = {+ plugins: {+ tailwindcss: {},+ autoprefixer: {},+ },+}diff --git a/examples/ts/vercel-ai-chatbot/prettier.config.cjs b/examples/ts/vercel-ai-chatbot/prettier.config.cjsnew file mode 100644index 000000000..842ca6b5f--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/prettier.config.cjs@@ -0,0 +1,34 @@+/** @type {import('prettier').Config} */+module.exports = {+ endOfLine: 'lf',+ semi: false,+ useTabs: false,+ singleQuote: true,+ arrowParens: 'avoid',+ tabWidth: 2,+ trailingComma: 'none',+ importOrder: [+ '^(react/(.*)$)|^(react$)',+ '^(next/(.*)$)|^(next$)',+ '<THIRD_PARTY_MODULES>',+ '',+ '^types$',+ '^@/types/(.*)$',+ '^@/config/(.*)$',+ '^@/lib/(.*)$',+ '^@/hooks/(.*)$',+ '^@/components/ui/(.*)$',+ '^@/components/(.*)$',+ '^@/registry/(.*)$',+ '^@/styles/(.*)$',+ '^@/app/(.*)$',+ '',+ '^[./]'+ ],+ importOrderSeparation: false,+ importOrderSortSpecifiers: true,+ importOrderBuiltinModulesToTop: true,+ importOrderParserPlugins: ['typescript', 'jsx', 'decorators-legacy'],+ importOrderMergeDuplicateImports: true,+ importOrderCombineTypeAndValueImports: true+}diff --git a/examples/ts/vercel-ai-chatbot/public/apple-touch-icon.png b/examples/ts/vercel-ai-chatbot/public/apple-touch-icon.pngnew file mode 100644index 000000000..0eb831fd3Binary files /dev/null and b/examples/ts/vercel-ai-chatbot/public/apple-touch-icon.png differdiff --git a/examples/ts/vercel-ai-chatbot/public/favicon-16x16.png b/examples/ts/vercel-ai-chatbot/public/favicon-16x16.pngnew file mode 100644index 000000000..620c7d81fBinary files /dev/null and b/examples/ts/vercel-ai-chatbot/public/favicon-16x16.png differdiff --git a/examples/ts/vercel-ai-chatbot/public/favicon.ico b/examples/ts/vercel-ai-chatbot/public/favicon.iconew file mode 100644index 000000000..7452b5dc6Binary files /dev/null and b/examples/ts/vercel-ai-chatbot/public/favicon.ico differdiff --git a/examples/ts/vercel-ai-chatbot/public/next.svg b/examples/ts/vercel-ai-chatbot/public/next.svgnew file mode 100644index 000000000..5174b28c5--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/public/next.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 394 80"><path fill="#000" d="M262 0h68.5v12.7h-27.2v66.6h-13.6V12.7H262V0ZM149 0v12.7H94v20.4h44.3v12.6H94v21h55v12.6H80.5V0h68.7zm34.3 0h-17.8l63.8 79.4h17.9l-32-39.7 32-39.6h-17.9l-23 28.6-23-28.6zm18.3 56.7-9-11-27.1 33.7h17.8l18.3-22.7z"/><path fill="#000" d="M81 79.3 17 0H0v79.3h13.6V17l50.2 62.3H81Zm252.6-.4c-1 0-1.8-.4-2.5-1s-1.1-1.6-1.1-2.6.3-1.8 1-2.5 1.6-1 2.6-1 1.8.3 2.5 1a3.4 3.4 0 0 1 .6 4.3 3.7 3.7 0 0 1-3 1.8zm23.2-33.5h6v23.3c0 2.1-.4 4-1.3 5.5a9.1 9.1 0 0 1-3.8 3.5c-1.6.8-3.5 1.3-5.7 1.3-2 0-3.7-.4-5.3-1s-2.8-1.8-3.7-3.2c-.9-1.3-1.4-3-1.4-5h6c.1.8.3 1.6.7 2.2s1 1.2 1.6 1.5c.7.4 1.5.5 2.4.5 1 0 1.8-.2 2.4-.6a4 4 0 0 0 1.6-1.8c.3-.8.5-1.8.5-3V45.5zm30.9 9.1a4.4 4.4 0 0 0-2-3.3 7.5 7.5 0 0 0-4.3-1.1c-1.3 0-2.4.2-3.3.5-.9.4-1.6 1-2 1.6a3.5 3.5 0 0 0-.3 4c.3.5.7.9 1.3 1.2l1.8 1 2 .5 3.2.8c1.3.3 2.5.7 3.7 1.2a13 13 0 0 1 3.2 1.8 8.1 8.1 0 0 1 3 6.5c0 2-.5 3.7-1.5 5.1a10 10 0 0 1-4.4 3.5c-1.8.8-4.1 1.2-6.8 1.2-2.6 0-4.9-.4-6.8-1.2-2-.8-3.4-2-4.5-3.5a10 10 0 0 1-1.7-5.6h6a5 5 0 0 0 3.5 4.6c1 .4 2.2.6 3.4.6 1.3 0 2.5-.2 3.5-.6 1-.4 1.8-1 2.4-1.7a4 4 0 0 0 .8-2.4c0-.9-.2-1.6-.7-2.2a11 11 0 0 0-2.1-1.4l-3.2-1-3.8-1c-2.8-.7-5-1.7-6.6-3.2a7.2 7.2 0 0 1-2.4-5.7 8 8 0 0 1 1.7-5 10 10 0 0 1 4.3-3.5c2-.8 4-1.2 6.4-1.2 2.3 0 4.4.4 6.2 1.2 1.8.8 3.2 2 4.3 3.4 1 1.4 1.5 3 1.5 5h-5.8z"/></svg>\ No newline at end of filediff --git a/examples/ts/vercel-ai-chatbot/public/thirteen.svg b/examples/ts/vercel-ai-chatbot/public/thirteen.svgnew file mode 100644index 000000000..8977c1bd1--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/public/thirteen.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" width="40" height="31" fill="none"><g opacity=".9"><path fill="url(#a)" d="M13 .4v29.3H7V6.3h-.2L0 10.5V5L7.2.4H13Z"/><path fill="url(#b)" d="M28.8 30.1c-2.2 0-4-.3-5.7-1-1.7-.8-3-1.8-4-3.1a7.7 7.7 0 0 1-1.4-4.6h6.2c0 .8.3 1.4.7 2 .4.5 1 .9 1.7 1.2.7.3 1.6.4 2.5.4 1 0 1.7-.2 2.5-.5.7-.3 1.3-.8 1.7-1.4.4-.6.6-1.2.6-2s-.2-1.5-.7-2.1c-.4-.6-1-1-1.8-1.4-.8-.4-1.8-.5-2.9-.5h-2.7v-4.6h2.7a6 6 0 0 0 2.5-.5 4 4 0 0 0 1.7-1.3c.4-.6.6-1.3.6-2a3.5 3.5 0 0 0-2-3.3 5.6 5.6 0 0 0-4.5 0 4 4 0 0 0-1.7 1.2c-.4.6-.6 1.2-.6 2h-6c0-1.7.6-3.2 1.5-4.5 1-1.3 2.2-2.3 3.8-3C25 .4 26.8 0 28.8 0s3.8.4 5.3 1.1c1.5.7 2.7 1.7 3.6 3a7.2 7.2 0 0 1 1.2 4.2c0 1.6-.5 3-1.5 4a7 7 0 0 1-4 2.2v.2c2.2.3 3.8 1 5 2.2a6.4 6.4 0 0 1 1.6 4.6c0 1.7-.5 3.1-1.4 4.4a9.7 9.7 0 0 1-4 3.1c-1.7.8-3.7 1.1-5.8 1.1Z"/></g><defs><linearGradient id="a" x1="20" x2="20" y1="0" y2="30.1" gradientUnits="userSpaceOnUse"><stop/><stop offset="1" stop-color="#3D3D3D"/></linearGradient><linearGradient id="b" x1="20" x2="20" y1="0" y2="30.1" gradientUnits="userSpaceOnUse"><stop/><stop offset="1" stop-color="#3D3D3D"/></linearGradient></defs></svg>\ No newline at end of filediff --git a/examples/ts/vercel-ai-chatbot/public/vercel.svg b/examples/ts/vercel-ai-chatbot/public/vercel.svgnew file mode 100644index 000000000..d2f842227--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/public/vercel.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 283 64"><path fill="black" d="M141 16c-11 0-19 7-19 18s9 18 20 18c7 0 13-3 16-7l-7-5c-2 3-6 4-9 4-5 0-9-3-10-7h28v-3c0-11-8-18-19-18zm-9 15c1-4 4-7 9-7s8 3 9 7h-18zm117-15c-11 0-19 7-19 18s9 18 20 18c6 0 12-3 16-7l-8-5c-2 3-5 4-8 4-5 0-9-3-11-7h28l1-3c0-11-8-18-19-18zm-10 15c2-4 5-7 10-7s8 3 9 7h-19zm-39 3c0 6 4 10 10 10 4 0 7-2 9-5l8 5c-3 5-9 8-17 8-11 0-19-7-19-18s8-18 19-18c8 0 14 3 17 8l-8 5c-2-3-5-5-9-5-6 0-10 4-10 10zm83-29v46h-9V5h9zM37 0l37 64H0L37 0zm92 5-27 48L74 5h10l18 30 17-30h10zm59 12v10l-3-1c-6 0-10 4-10 10v15h-9V17h9v9c0-5 6-9 13-9z"/></svg>\ No newline at end of filediff --git a/examples/ts/vercel-ai-chatbot/tailwind.config.ts b/examples/ts/vercel-ai-chatbot/tailwind.config.tsnew file mode 100644index 000000000..14261e021--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/tailwind.config.ts@@ -0,0 +1,81 @@+/** @type {import('tailwindcss').Config} */+module.exports = {+ darkMode: ['class'],+ content: [+ './pages/**/*.{ts,tsx}',+ './components/**/*.{ts,tsx}',+ './app/**/*.{ts,tsx}',+ './src/**/*.{ts,tsx}'+ ],+ prefix: '',+ theme: {+ container: {+ center: true,+ padding: '2rem',+ screens: {+ '2xl': '1400px'+ }+ },+ extend: {+ fontFamily: {+ sans: ['var(--font-geist-sans)'],+ mono: ['var(--font-geist-mono)']+ },+ colors: {+ border: 'hsl(var(--border))',+ input: 'hsl(var(--input))',+ ring: 'hsl(var(--ring))',+ background: 'hsl(var(--background))',+ foreground: 'hsl(var(--foreground))',+ primary: {+ DEFAULT: 'hsl(var(--primary))',+ foreground: 'hsl(var(--primary-foreground))'+ },+ secondary: {+ DEFAULT: 'hsl(var(--secondary))',+ foreground: 'hsl(var(--secondary-foreground))'+ },+ destructive: {+ DEFAULT: 'hsl(var(--destructive))',+ foreground: 'hsl(var(--destructive-foreground))'+ },+ muted: {+ DEFAULT: 'hsl(var(--muted))',+ foreground: 'hsl(var(--muted-foreground))'+ },+ accent: {+ DEFAULT: 'hsl(var(--accent))',+ foreground: 'hsl(var(--accent-foreground))'+ },+ popover: {+ DEFAULT: 'hsl(var(--popover))',+ foreground: 'hsl(var(--popover-foreground))'+ },+ card: {+ DEFAULT: 'hsl(var(--card))',+ foreground: 'hsl(var(--card-foreground))'+ }+ },+ borderRadius: {+ lg: 'var(--radius)',+ md: 'calc(var(--radius) - 2px)',+ sm: 'calc(var(--radius) - 4px)'+ },+ keyframes: {+ 'accordion-down': {+ from: { height: '0' },+ to: { height: 'var(--radix-accordion-content-height)' }+ },+ 'accordion-up': {+ from: { height: 'var(--radix-accordion-content-height)' },+ to: { height: '0' }+ }+ },+ animation: {+ 'accordion-down': 'accordion-down 0.2s ease-out',+ 'accordion-up': 'accordion-up 0.2s ease-out'+ }+ }+ },+ plugins: [require('tailwindcss-animate'), require('@tailwindcss/typography')]+}diff --git a/examples/ts/vercel-ai-chatbot/tsconfig.json b/examples/ts/vercel-ai-chatbot/tsconfig.jsonnew file mode 100644index 000000000..9f91b9bae--- /dev/null+++ b/examples/ts/vercel-ai-chatbot/tsconfig.json@@ -0,0 +1,35 @@+{+ "compilerOptions": {+ "lib": ["dom", "dom.iterable", "esnext"],+ "allowJs": true,+ "skipLibCheck": true,+ "strict": true,+ "forceConsistentCasingInFileNames": true,+ "noEmit": true,+ "incremental": true,+ "esModuleInterop": true,+ "module": "esnext",+ "moduleResolution": "node",+ "resolveJsonModule": true,+ "isolatedModules": true,+ "jsx": "preserve",+ "baseUrl": ".",+ "paths": {+ "@/*": ["./*"]+ },+ "plugins": [+ {+ "name": "next"+ }+ ],+ "strictNullChecks": true+ },+ "include": [+ "next-env.d.ts",+ "next-auth.d.ts",+ "**/*.ts",+ "**/*.tsx",+ ".next/types/**/*.ts"+ ],+ "exclude": ["node_modules"]+}diff --git a/screenpipe-server/src/server.rs b/screenpipe-server/src/server.rsindex e1f57262c..b22759856 100644--- a/screenpipe-server/src/server.rs+++ b/screenpipe-server/src/server.rs@@ -263,12 +263,6 @@ impl Server {// curl "http://localhost:3030/recent?limit=5&offset=0&start_date=$start_date&end_date=$end_date"-// # 7. Get frame without thumbnail-// curl "http://localhost:3030/frame/123"--// # 8. Get frame with thumbnail-// curl "http://localhost:3030/frame/123?thumbnail=true"-// # 9. Search with no query (should return all results)// curl "http://localhost:3030/search?limit=5&offset=0"