Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
🚧 Integrations (#1971)
Luke Vellaf68ee5731daf
diff --git a/.vscode/settings.json b/.vscode/settings.jsonindex e1fc626ef..9e558bade 100644--- a/.vscode/settings.json+++ b/.vscode/settings.json@@ -19,5 +19,5 @@"typescript.tsserver.log": "verbose","typescript.tsserver.trace": "messages","references.preferredLocation": "view",- "editor.defaultFormatter": "biomejs.biome"+ "editor.defaultFormatter": "biomejs.biome",}diff --git a/apps/web/package.json b/apps/web/package.jsonindex 714f021d1..34f8a83b2 100644--- a/apps/web/package.json+++ b/apps/web/package.json@@ -16,7 +16,7 @@"docker:start": "./scripts/docker-start.sh"},"dependencies": {- "@ai-sdk/openai":"^2.0.28",+ "@ai-sdk/openai": "^2.0.28","@auth/prisma-adapter": "^2.7.4","@aws-sdk/client-s3": "^3.645.0","@aws-sdk/s3-request-presigner": "^3.645.0",@@ -56,6 +56,7 @@"@vercel/functions": "^2.0.0","@vercel/kv": "^3.0.0","ai": "^5.0.41",+ "arctic": "^3.7.0","autoprefixer": "^10.4.13","calendar-link": "^2.6.0","class-variance-authority": "^0.7.1",@@ -64,6 +65,7 @@"crypto": "^1.0.1","dayjs": "^1.11.13","es-toolkit": "^1.39.9",+ "googleapis": "^160.0.0","hono": "^4.9.7","hono-rate-limiter": "^0.2.1","i18next": "^24.2.2",diff --git a/apps/web/public/locales/en/app.json b/apps/web/public/locales/en/app.jsonindex 346038daf..e3836aeb9 100644--- a/apps/web/public/locales/en/app.json+++ b/apps/web/public/locales/en/app.json@@ -499,5 +499,27 @@"spaceSettings": "Space Settings","generalSettingsAdminRoleRequired": "You need to be an admin to make changes to this space.","localeSyncToast": "Your language preferences have changed",- "spaceInviteMember": "Invite Member"-}+ "spaceInviteMember": "Invite Member",+ "calendars": "Calendars",+ "calendarsDescription": "Manage your calendar connections",+ "defaultCalendar": "Default Calendar",+ "defaultCalendarDescription": "Select the calendar that we should create events in",+ "defaultCalendarNone": "No calendar selected",+ "noCalendars": "No calendars found",+ "noCalendarsDescription": "No calendars found",+ "syncCalendar": "Sync calendar",+ "disconnectCalendar": "Disconnect calendar",+ "checkForConflicts": "Toggle which calendars to check for conflicts",+ "syncCalendarLoading": "Syncing calendar…",+ "syncCalendarSuccess": "Calendar synced",+ "syncCalendarError": "There was an issue syncing your calendar",+ "disconnectingCalendar": "Disconnecting calendar...",+ "calendarDisconnectedSuccess": "Calendar disconnected successfully",+ "calendarDisconnectedError": "Failed to disconnect calendar",+ "settingCalendarSelection": "Setting calendar selection...",+ "calendarSelectionSetSuccess": "Calendar selection set successfully",+ "calendarSelectionSetError": "Failed to set calendar selection",+ "connectCalendar": "Connect Calendar",+ "connectGoogleCalendar": "Google Calendar",+ "connectMicrosoftCalendar": "Microsoft Calendar"+}\ No newline at end of filediff --git a/apps/web/src/app/[locale]/(space)/settings/calendars/components/calendar-connection-list.tsx b/apps/web/src/app/[locale]/(space)/settings/calendars/components/calendar-connection-list.tsxnew file mode 100644index 000000000..460da0c05--- /dev/null+++ b/apps/web/src/app/[locale]/(space)/settings/calendars/components/calendar-connection-list.tsx@@ -0,0 +1,187 @@+"use client";++import { Button } from "@rallly/ui/button";+import {+ DropdownMenu,+ DropdownMenuContent,+ DropdownMenuItem,+ DropdownMenuTrigger,+} from "@rallly/ui/dropdown-menu";+import { Icon } from "@rallly/ui/icon";+import { toast } from "@rallly/ui/sonner";+import { Switch } from "@rallly/ui/switch";+import { Tooltip, TooltipContent, TooltipTrigger } from "@rallly/ui/tooltip";+import { CalendarIcon, MoreHorizontalIcon, RefreshCcwIcon } from "lucide-react";+import {+ EmptyState,+ EmptyStateDescription,+ EmptyStateIcon,+ EmptyStateTitle,+} from "@/components/empty-state";+import { Spinner } from "@/components/spinner";+import { Trans } from "@/components/trans";+import { CalendarProviderIcon } from "@/features/calendars/components/calendar-provider-icon";+import { useTranslation } from "@/i18n/client";+import { trpc } from "@/trpc/client";++export function CalendarConnectionList() {+ const { data: connections } = trpc.calendars.list.useQuery();+ const disconnectCalendar = trpc.calendars.disconnect.useMutation();+ const syncCalendar = trpc.calendars.sync.useMutation();+ const { t } = useTranslation();+ const setCalendarSelection = trpc.calendars.setSelection.useMutation();++ if (connections === undefined) {+ return <Spinner />;+ }++ if (connections.length === 0) {+ return (+ <EmptyState>+ <EmptyStateIcon>+ <CalendarIcon />+ </EmptyStateIcon>+ <EmptyStateTitle>+ <Trans i18nKey="noCalendars" defaults="No calendars found" />+ </EmptyStateTitle>+ <EmptyStateDescription>+ <Trans+ i18nKey="noCalendarsDescription"+ defaults="No calendars found"+ />+ </EmptyStateDescription>+ </EmptyState>+ );+ }++ return (+ <div className="space-y-4">+ {connections.map((calendar) => (+ <div className="space-y-4 rounded-xl border p-4" key={calendar.id}>+ <div className="flex items-center gap-x-4">+ <div>+ <CalendarProviderIcon provider={calendar.provider} size={32} />+ </div>+ <div className="flex-1">+ <p className="font-semibold text-sm">{calendar.displayName}</p>+ <p className="text-muted-foreground text-sm">{calendar.email}</p>+ </div>+ <div className="flex items-center gap-2">+ <Tooltip>+ <TooltipTrigger asChild>+ <Button+ loading={syncCalendar.isPending}+ variant="ghost"+ size="icon"+ onClick={() => {+ toast.promise(+ syncCalendar.mutateAsync({ id: calendar.id }),+ {+ loading: t("syncCalendarLoading", {+ defaultValue: "Syncing calendar…",+ }),+ success: t("syncCalendarSuccess", {+ defaultValue: "Calendar synced",+ }),+ error: t("syncCalendarError", {+ defaultValue:+ "There was an issue syncing your calendar",+ }),+ },+ );+ }}+ >+ <Icon>+ <RefreshCcwIcon />+ </Icon>+ </Button>+ </TooltipTrigger>+ <TooltipContent>+ <Trans i18nKey="syncCalendar" defaults="Sync calendar" />+ </TooltipContent>+ </Tooltip>+ <DropdownMenu>+ <DropdownMenuTrigger asChild>+ <Button variant="ghost" size="icon">+ <Icon>+ <MoreHorizontalIcon />+ </Icon>+ </Button>+ </DropdownMenuTrigger>+ <DropdownMenuContent align="end">+ <DropdownMenuItem+ variant="destructive"+ onSelect={() => {+ toast.promise(+ disconnectCalendar.mutateAsync({+ id: calendar.id,+ }),+ {+ loading: t("disconnectingCalendar", {+ defaultValue: "Disconnecting calendar...",+ }),+ success: t("calendarDisconnectedSuccess", {+ defaultValue: "Calendar disconnected successfully",+ }),+ error: t("calendarDisconnectedError", {+ defaultValue: "Failed to disconnect calendar",+ }),+ },+ );+ }}+ >+ <Trans+ i18nKey="disconnectCalendar"+ defaults="Disconnect calendar"+ />+ </DropdownMenuItem>+ </DropdownMenuContent>+ </DropdownMenu>+ </div>+ </div>+ <hr />+ <div className="space-y-4">+ <p className="text-muted-foreground text-sm">+ <Trans+ i18nKey="checkForConflicts"+ defaults="Toggle which calendars to check for conflicts"+ />+ </p>+ <ul className="space-y-2">+ {calendar.providerCalendars.map((c) => {+ return (+ <li key={c.id} className="flex items-center gap-x-4">+ <Switch+ defaultChecked={c.isSelected}+ onCheckedChange={(checked) => {+ toast.promise(+ setCalendarSelection.mutateAsync({+ calendarId: c.id,+ isSelected: checked,+ }),+ {+ loading: t("settingCalendarSelection", {+ defaultValue: "Setting calendar selection...",+ }),+ success: t("calendarSelectionSetSuccess", {+ defaultValue:+ "Calendar selection set successfully",+ }),+ error: t("calendarSelectionSetError", {+ defaultValue: "Failed to set calendar selection",+ }),+ },+ );+ }}+ />+ <span className="text-sm">{c.name}</span>+ </li>+ );+ })}+ </ul>+ </div>+ </div>+ ))}+ </div>+ );+}diff --git a/apps/web/src/app/[locale]/(space)/settings/calendars/components/connect-calendar-dropdown.tsx b/apps/web/src/app/[locale]/(space)/settings/calendars/components/connect-calendar-dropdown.tsxnew file mode 100644index 000000000..718b6d2b6--- /dev/null+++ b/apps/web/src/app/[locale]/(space)/settings/calendars/components/connect-calendar-dropdown.tsx@@ -0,0 +1,63 @@+"use client";++import { Button } from "@rallly/ui/button";+import {+ DropdownMenu,+ DropdownMenuContent,+ DropdownMenuItem,+ DropdownMenuTrigger,+} from "@rallly/ui/dropdown-menu";+import { Icon } from "@rallly/ui/icon";+import { ChevronDownIcon, PlusIcon } from "lucide-react";+import Image from "next/image";+import { Trans } from "@/components/trans";+import { connectToCalendar } from "@/features/calendars/client";++export function ConnectCalendarDropdown() {+ return (+ <DropdownMenu>+ <DropdownMenuTrigger asChild>+ <Button>+ <Icon>+ <PlusIcon />+ </Icon>+ <Trans i18nKey="connectCalendar" defaults="Connect Calendar" />+ <Icon>+ <ChevronDownIcon />+ </Icon>+ </Button>+ </DropdownMenuTrigger>+ <DropdownMenuContent align="end">+ <DropdownMenuItem+ onSelect={() => {+ connectToCalendar("google-calendar");+ }}+ >+ <Image+ src="/static/google-calendar.svg"+ width={16}+ height={16}+ alt="Google Calendar"+ />+ <Trans i18nKey="connectGoogleCalendar" defaults="Google Calendar" />+ </DropdownMenuItem>+ <DropdownMenuItem+ onSelect={() => {+ connectToCalendar("outlook");+ }}+ >+ <Image+ src="/static/outlook.svg"+ width={16}+ height={16}+ alt="Microsoft Calendar"+ />+ <Trans+ i18nKey="connectMicrosoftCalendar"+ defaults="Microsoft Calendar"+ />+ </DropdownMenuItem>+ </DropdownMenuContent>+ </DropdownMenu>+ );+}diff --git a/apps/web/src/app/[locale]/(space)/settings/calendars/components/default-calendar-select.tsx b/apps/web/src/app/[locale]/(space)/settings/calendars/components/default-calendar-select.tsxnew file mode 100644index 000000000..344bc714a--- /dev/null+++ b/apps/web/src/app/[locale]/(space)/settings/calendars/components/default-calendar-select.tsx@@ -0,0 +1,44 @@+"use client";++import {+ Select,+ SelectContent,+ SelectGroup,+ SelectItem,+ SelectLabel,+ SelectTrigger,+ SelectValue,+} from "@rallly/ui/select";+import { Trans } from "@/components/trans";+import { trpc } from "@/trpc/client";++export function DefaultCalendarSelect() {+ const { data: defaultCalendar } = trpc.calendars.getDefault.useQuery();+ const { data: connections } = trpc.calendars.list.useQuery();++ return (+ <Select value={defaultCalendar?.defaultDestinationCalendarId ?? "none"}>+ <SelectTrigger>+ <SelectValue />+ </SelectTrigger>+ <SelectContent>+ <SelectItem value="none">+ <Trans+ i18nKey="defaultCalendarNone"+ defaults="No calendar selected"+ />+ </SelectItem>+ {connections?.map((connection) => (+ <SelectGroup key={connection.id}>+ <SelectLabel>{connection.email}</SelectLabel>+ {connection.providerCalendars.map((calendar) => (+ <SelectItem key={calendar.id} value={calendar.id}>+ {calendar.name}+ </SelectItem>+ ))}+ </SelectGroup>+ ))}+ </SelectContent>+ </Select>+ );+}diff --git a/apps/web/src/app/[locale]/(space)/settings/calendars/page.tsx b/apps/web/src/app/[locale]/(space)/settings/calendars/page.tsxnew file mode 100644index 000000000..a852b5536--- /dev/null+++ b/apps/web/src/app/[locale]/(space)/settings/calendars/page.tsx@@ -0,0 +1,88 @@+import { dehydrate, HydrationBoundary } from "@tanstack/react-query";+import type { Metadata } from "next";+import { notFound } from "next/navigation";+import {+ PageSection,+ PageSectionContent,+ PageSectionDescription,+ PageSectionDivider,+ PageSectionHeader,+ PageSectionTitle,+} from "@/app/components/page-layout";+import {+ SettingsPage,+ SettingsPageContent,+ SettingsPageDescription,+ SettingsPageHeader,+ SettingsPageTitle,+} from "@/app/components/settings-layout";+import { Trans } from "@/components/trans";+import { getTranslation } from "@/i18n/server";+import { isFeatureEnabled } from "@/lib/feature-flags/server";+import { createSSRHelper } from "@/trpc/server/create-ssr-helper";+import { CalendarConnectionList } from "./components/calendar-connection-list";+import { ConnectCalendarDropdown } from "./components/connect-calendar-dropdown";+import { DefaultCalendarSelect } from "./components/default-calendar-select";++export default async function CalendarsPage() {+ const isCalendarsEnabled = isFeatureEnabled("calendars");++ if (!isCalendarsEnabled) {+ return notFound();+ }++ const trpc = await createSSRHelper();++ await trpc.calendars.list.prefetch();++ return (+ <HydrationBoundary state={dehydrate(trpc.queryClient)}>+ <SettingsPage>+ <div className="flex justify-between">+ <SettingsPageHeader>+ <SettingsPageTitle>+ <Trans i18nKey="calendars" defaults="Calendars" />+ </SettingsPageTitle>+ <SettingsPageDescription>+ <Trans+ i18nKey="calendarsDescription"+ defaults="Manage your calendar connections"+ />+ </SettingsPageDescription>+ </SettingsPageHeader>+ <div>+ <ConnectCalendarDropdown />+ </div>+ </div>+ <SettingsPageContent>+ <PageSection variant="card">+ <PageSectionHeader>+ <PageSectionTitle>+ <Trans i18nKey="defaultCalendar" defaults="Default Calendar" />+ </PageSectionTitle>+ <PageSectionDescription>+ <Trans+ i18nKey="defaultCalendarDescription"+ defaults="Select the calendar that we should create events in"+ />+ </PageSectionDescription>+ </PageSectionHeader>+ <PageSectionContent>+ <DefaultCalendarSelect />+ </PageSectionContent>+ </PageSection>+ <PageSectionDivider />+ <CalendarConnectionList />+ </SettingsPageContent>+ </SettingsPage>+ </HydrationBoundary>+ );+}++export async function generateMetadata(): Promise<Metadata> {+ const { t } = await getTranslation();+ return {+ title: t("calendars", "Calendars"),+ description: t("calendarsDescription", "Manage your calendar connections"),+ };+}diff --git a/apps/web/src/app/[locale]/(space)/settings/components/sidebar.tsx b/apps/web/src/app/[locale]/(space)/settings/components/sidebar.tsxindex e1b79d374..d4cebc7b1 100644--- a/apps/web/src/app/[locale]/(space)/settings/components/sidebar.tsx+++ b/apps/web/src/app/[locale]/(space)/settings/components/sidebar.tsx@@ -8,6 +8,7 @@ import {} from "@rallly/ui/sidebar";import {BoltIcon,+ CalendarIcon,CreditCardIcon,PanelsTopLeftIcon,Settings2Icon,@@ -43,6 +44,17 @@ export function AccountSidebarMenu() {},];+ const isCalendarsEnabled = useFeatureFlag("calendars");++ if (isCalendarsEnabled) {+ menuItems.push({+ id: "calendars",+ label: t("calendars", { defaultValue: "Calendars" }),+ icon: <CalendarIcon />,+ href: "/settings/calendars",+ });+ }+return (<SidebarMenu>{menuItems.map((item) => (diff --git a/apps/web/src/app/api/integrations/[...connection]/route.ts b/apps/web/src/app/api/integrations/[...connection]/route.tsnew file mode 100644index 000000000..a3ab3317d--- /dev/null+++ b/apps/web/src/app/api/integrations/[...connection]/route.ts@@ -0,0 +1,74 @@+import { env } from "@/env";+import {+ createCalendarConnection,+ syncCalendars,+} from "@/features/calendars/mutations";+import { saveOAuthCredentials } from "@/features/credentials/mutations";+import { GoogleOAuthClient } from "@/lib/oauth/providers/google";+import { OAuthIntegration } from "@/lib/oauth/server";+import { auth } from "@/next-auth";++type Integration = "google-calendar" | "outlook-calendar";++const { handler } = OAuthIntegration<Integration>({+ baseUrl: "/api/integrations",+ getIntegration: ({ integrationId, callbackUrl }) => {+ switch (integrationId) {+ case "google-calendar": {+ if (!env.GOOGLE_CLIENT_ID || !env.GOOGLE_CLIENT_SECRET) {+ return null;+ }+ return new GoogleOAuthClient({+ clientId: env.GOOGLE_CLIENT_ID,+ clientSecret: env.GOOGLE_CLIENT_SECRET,+ callbackUrl,+ scopes: [+ "https://www.googleapis.com/auth/calendar.readonly",+ "https://www.googleapis.com/auth/calendar.events",+ "https://www.googleapis.com/auth/userinfo.email",+ "https://www.googleapis.com/auth/userinfo.profile",+ ],+ onConnect: async ({+ provider,+ tokens,+ providerAccountId,+ userInfo,+ }) => {+ const session = await auth();+ if (!session?.user) {+ throw new Error("User not found");+ }++ const userId = session.user.id;++ // save credentials to database+ const credential = await saveOAuthCredentials({+ userId,+ provider,+ providerAccountId,+ tokens,+ });++ // create calendar connection+ const connection = await createCalendarConnection({+ userId,+ provider,+ integrationId,+ credentialId: credential.id,+ providerAccountId,+ userInfo,+ displayName: "Google Calendar",+ });++ await syncCalendars({ userId, connectionId: connection.id });+ },+ });+ }+ default:+ return null;+ }+ },+});++export const GET = handler;+export const POST = handler;diff --git a/apps/web/src/env.ts b/apps/web/src/env.tsindex 86cb50811..cf0f882b8 100644--- a/apps/web/src/env.ts+++ b/apps/web/src/env.ts@@ -12,6 +12,7 @@ export const env = createEnv({.enum(["development", "production", "test"]).default("development"),SECRET_PASSWORD: z.string().min(32),+ API_SECRET: z.string().min(32).optional(),/*** OIDC Configuration*/@@ -85,6 +86,19 @@ export const env = createEnv({*/LICENSE_API_URL: z.string().optional(),LICENSE_API_AUTH_TOKEN: z.string().optional(),++ /**+ * Google Integration+ */+ GOOGLE_CLIENT_ID: z.string().optional(),+ GOOGLE_CLIENT_SECRET: z.string().optional(),++ /**+ * Microsoft Integration+ */+ MICROSOFT_TENANT_ID: z.string().optional().default("common"),+ MICROSOFT_CLIENT_ID: z.string().optional(),+ MICROSOFT_CLIENT_SECRET: z.string().optional(),},/** Environment variables available on the client (and server).@@ -107,6 +121,7 @@ export const env = createEnv({DATABASE_URL: process.env.DATABASE_URL,NODE_ENV: process.env.NODE_ENV,SECRET_PASSWORD: process.env.SECRET_PASSWORD,+ API_SECRET: process.env.API_SECRET,OIDC_NAME: process.env.OIDC_NAME,OIDC_DISCOVERY_URL: process.env.OIDC_DISCOVERY_URL,OIDC_CLIENT_ID: process.env.OIDC_CLIENT_ID,@@ -145,6 +160,11 @@ export const env = createEnv({MODERATION_ENABLED: process.env.MODERATION_ENABLED,LICENSE_API_URL: process.env.LICENSE_API_URL,LICENSE_API_AUTH_TOKEN: process.env.LICENSE_API_AUTH_TOKEN,+ GOOGLE_CLIENT_ID: process.env.GOOGLE_CLIENT_ID,+ GOOGLE_CLIENT_SECRET: process.env.GOOGLE_CLIENT_SECRET,+ MICROSOFT_TENANT_ID: process.env.MICROSOFT_TENANT_ID,+ MICROSOFT_CLIENT_ID: process.env.MICROSOFT_CLIENT_ID,+ MICROSOFT_CLIENT_SECRET: process.env.MICROSOFT_CLIENT_SECRET,},skipValidation: !!process.env.SKIP_ENV_VALIDATION,});diff --git a/apps/web/src/features/calendars/assets/google-calendar.svg b/apps/web/src/features/calendars/assets/google-calendar.svgnew file mode 100644index 000000000..c32c0c772--- /dev/null+++ b/apps/web/src/features/calendars/assets/google-calendar.svg@@ -0,0 +1,28 @@+<?xml version="1.0" encoding="utf-8"?>+<!-- Generator: Adobe Illustrator 23.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->+<svg version="1.1" id="Livello_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"+ viewBox="0 0 200 200" enable-background="new 0 0 200 200" xml:space="preserve">+<g>+ <g transform="translate(3.75 3.75)">+ <path fill="#FFFFFF" d="M148.882,43.618l-47.368-5.263l-57.895,5.263L38.355,96.25l5.263,52.632l52.632,6.579l52.632-6.579+ l5.263-53.947L148.882,43.618z"/>+ <path fill="#1A73E8" d="M65.211,125.276c-3.934-2.658-6.658-6.539-8.145-11.671l9.132-3.763c0.829,3.158,2.276,5.605,4.342,7.342+ c2.053,1.737,4.553,2.592,7.474,2.592c2.987,0,5.553-0.908,7.697-2.724s3.224-4.132,3.224-6.934c0-2.868-1.132-5.211-3.395-7.026+ s-5.105-2.724-8.5-2.724h-5.276v-9.039H76.5c2.921,0,5.382-0.789,7.382-2.368c2-1.579,3-3.737,3-6.487+ c0-2.447-0.895-4.395-2.684-5.855s-4.053-2.197-6.803-2.197c-2.684,0-4.816,0.711-6.395,2.145s-2.724,3.197-3.447,5.276+ l-9.039-3.763c1.197-3.395,3.395-6.395,6.618-8.987c3.224-2.592,7.342-3.895,12.342-3.895c3.697,0,7.026,0.711,9.974,2.145+ c2.947,1.434,5.263,3.421,6.934,5.947c1.671,2.539,2.5,5.382,2.5,8.539c0,3.224-0.776,5.947-2.329,8.184+ c-1.553,2.237-3.461,3.947-5.724,5.145v0.539c2.987,1.25,5.421,3.158,7.342,5.724c1.908,2.566,2.868,5.632,2.868,9.211+ s-0.908,6.776-2.724,9.579c-1.816,2.803-4.329,5.013-7.513,6.618c-3.197,1.605-6.789,2.421-10.776,2.421+ C73.408,129.263,69.145,127.934,65.211,125.276z"/>+ <path fill="#1A73E8" d="M121.25,79.961l-9.974,7.25l-5.013-7.605l17.987-12.974h6.895v61.197h-9.895L121.25,79.961z"/>+ <path fill="#EA4335" d="M148.882,196.25l47.368-47.368l-23.684-10.526l-23.684,10.526l-10.526,23.684L148.882,196.25z"/>+ <path fill="#34A853" d="M33.092,172.566l10.526,23.684h105.263v-47.368H43.618L33.092,172.566z"/>+ <path fill="#4285F4" d="M12.039-3.75C3.316-3.75-3.75,3.316-3.75,12.039v136.842l23.684,10.526l23.684-10.526V43.618h105.263+ l10.526-23.684L148.882-3.75H12.039z"/>+ <path fill="#188038" d="M-3.75,148.882v31.579c0,8.724,7.066,15.789,15.789,15.789h31.579v-47.368H-3.75z"/>+ <path fill="#FBBC04" d="M148.882,43.618v105.263h47.368V43.618l-23.684-10.526L148.882,43.618z"/>+ <path fill="#1967D2" d="M196.25,43.618V12.039c0-8.724-7.066-15.789-15.789-15.789h-31.579v47.368H196.25z"/>+ </g>+</g>+</svg>diff --git a/apps/web/src/features/calendars/assets/outlook.svg b/apps/web/src/features/calendars/assets/outlook.svgnew file mode 100644index 000000000..586f39ffb--- /dev/null+++ b/apps/web/src/features/calendars/assets/outlook.svg@@ -0,0 +1,35 @@+<?xml version="1.0" encoding="UTF-8"?>+<!-- Generator: Adobe Illustrator 23.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">+<svg version="1.1" id="Livello_1" xmlns:x="http://ns.adobe.com/Extensibility/1.0/" xmlns:i="http://ns.adobe.com/AdobeIllustrator/10.0/" xmlns:graph="http://ns.adobe.com/Graphs/1.0/" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 1831.085 1703.335" enable-background="new 0 0 1831.085 1703.335" xml:space="preserve">+<path fill="#0A2767" d="M1831.083,894.25c0.1-14.318-7.298-27.644-19.503-35.131h-0.213l-0.767-0.426l-634.492-375.585 c-2.74-1.851-5.583-3.543-8.517-5.067c-24.498-12.639-53.599-12.639-78.098,0c-2.934,1.525-5.777,3.216-8.517,5.067L446.486,858.693 l-0.766,0.426c-19.392,12.059-25.337,37.556-13.278,56.948c3.553,5.714,8.447,10.474,14.257,13.868l634.492,375.585 c2.749,1.835,5.592,3.527,8.517,5.068c24.498,12.639,53.599,12.639,78.098,0c2.925-1.541,5.767-3.232,8.517-5.068l634.492-375.585 C1823.49,922.545,1831.228,908.923,1831.083,894.25z"/>+<path fill="#0364B8" d="M520.453,643.477h416.38v381.674h-416.38V643.477z M1745.917,255.5V80.908 c1-43.652-33.552-79.862-77.203-80.908H588.204C544.552,1.046,510,37.256,511,80.908V255.5l638.75,170.333L1745.917,255.5z"/>+<path fill="#0078D4" d="M511,255.5h425.833v383.25H511V255.5z"/>+<path fill="#28A8EA" d="M1362.667,255.5H936.833v383.25L1362.667,1022h383.25V638.75L1362.667,255.5z"/>+<path fill="#0078D4" d="M936.833,638.75h425.833V1022H936.833V638.75z"/>+<path fill="#0364B8" d="M936.833,1022h425.833v383.25H936.833V1022z"/>+<path fill="#14447D" d="M520.453,1025.151h416.38v346.969h-416.38V1025.151z"/>+<path fill="#0078D4" d="M1362.667,1022h383.25v383.25h-383.25V1022z"/>+<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="1128.4584" y1="811.0833" x2="1128.4584" y2="1.9982" gradientTransform="matrix(1 0 0 -1 0 1705.3334)">+ <stop offset="0" style="stop-color:#35B8F1"/>+ <stop offset="1" style="stop-color:#28A8EA"/>+</linearGradient>+<path fill="url(#SVGID_1_)" d="M1811.58,927.593l-0.809,0.426l-634.492,356.848c-2.768,1.703-5.578,3.321-8.517,4.769 c-10.777,5.132-22.481,8.029-34.407,8.517l-34.663-20.27c-2.929-1.47-5.773-3.105-8.517-4.897L447.167,906.003h-0.298 l-21.036-11.753v722.384c0.328,48.196,39.653,87.006,87.849,86.7h1230.914c0.724,0,1.363-0.341,2.129-0.341 c10.18-0.651,20.216-2.745,29.808-6.217c4.145-1.756,8.146-3.835,11.966-6.217c2.853-1.618,7.75-5.152,7.75-5.152 c21.814-16.142,34.726-41.635,34.833-68.772V894.25C1831.068,908.067,1823.616,920.807,1811.58,927.593z"/>+<path opacity="0.5" fill="#0A2767" enable-background="new " d="M1797.017,891.397v44.287l-663.448,456.791L446.699,906.301 c0-0.235-0.191-0.426-0.426-0.426l0,0l-63.023-37.899v-31.938l25.976-0.426l54.932,31.512l1.277,0.426l4.684,2.981 c0,0,645.563,368.346,647.267,369.197l24.698,14.478c2.129-0.852,4.258-1.703,6.813-2.555 c1.278-0.852,640.879-360.681,640.879-360.681L1797.017,891.397z"/>+<path fill="#1490DF" d="M1811.58,927.593l-0.809,0.468l-634.492,356.848c-2.768,1.703-5.578,3.321-8.517,4.769 c-24.641,12.038-53.457,12.038-78.098,0c-2.918-1.445-5.76-3.037-8.517-4.769L446.657,928.061l-0.766-0.468 c-12.25-6.642-19.93-19.409-20.057-33.343v722.384c0.305,48.188,39.616,87.004,87.803,86.7c0.001,0,0.002,0,0.004,0h1229.636 c48.188,0.307,87.5-38.509,87.807-86.696c0-0.001,0-0.002,0-0.004V894.25C1831.068,908.067,1823.616,920.807,1811.58,927.593z"/>+<path opacity="0.1" enable-background="new " d="M1185.52,1279.629l-9.496,5.323c-2.752,1.752-5.595,3.359-8.517,4.812 c-10.462,5.135-21.838,8.146-33.47,8.857l241.405,285.479l421.107,101.476c11.539-8.716,20.717-20.178,26.7-33.343L1185.52,1279.629 z"/>+<path opacity="0.05" enable-background="new " d="M1228.529,1255.442l-52.505,29.51c-2.752,1.752-5.595,3.359-8.517,4.812 c-10.462,5.135-21.838,8.146-33.47,8.857l113.101,311.838l549.538,74.989c21.649-16.254,34.394-41.743,34.407-68.815v-9.326 L1228.529,1255.442z"/>+<path fill="#28A8EA" d="M514.833,1703.333h1228.316c18.901,0.096,37.335-5.874,52.59-17.033l-697.089-408.331 c-2.929-1.47-5.773-3.105-8.517-4.897L447.125,906.088h-0.298l-20.993-11.838v719.914 C425.786,1663.364,465.632,1703.286,514.833,1703.333C514.832,1703.333,514.832,1703.333,514.833,1703.333z"/>+<path opacity="0.1" enable-background="new " d="M1022,418.722v908.303c-0.076,31.846-19.44,60.471-48.971,72.392 c-9.148,3.931-19,5.96-28.957,5.962H425.833V383.25H511v-42.583h433.073C987.092,340.83,1021.907,375.702,1022,418.722z"/>+<path opacity="0.2" enable-background="new " d="M979.417,461.305v908.302c0.107,10.287-2.074,20.469-6.388,29.808 c-11.826,29.149-40.083,48.273-71.54,48.417H425.833V383.25h475.656c12.356-0.124,24.533,2.958,35.344,8.943 C962.937,405.344,979.407,432.076,979.417,461.305z"/>+<path opacity="0.2" enable-background="new " d="M979.417,461.305v823.136c-0.208,43-34.928,77.853-77.927,78.225H425.833V383.25 h475.656c12.356-0.124,24.533,2.958,35.344,8.943C962.937,405.344,979.407,432.076,979.417,461.305z"/>+<path opacity="0.2" enable-background="new " d="M936.833,461.305v823.136c-0.046,43.067-34.861,78.015-77.927,78.225H425.833 V383.25h433.072c43.062,0.023,77.951,34.951,77.927,78.013C936.833,461.277,936.833,461.291,936.833,461.305z"/>+<linearGradient id="SVGID_2_" gradientUnits="userSpaceOnUse" x1="162.7469" y1="1383.0741" x2="774.0864" y2="324.2592" gradientTransform="matrix(1 0 0 -1 0 1705.3334)">+ <stop offset="0" style="stop-color:#1784D9"/>+ <stop offset="0.5" style="stop-color:#107AD5"/>+ <stop offset="1" style="stop-color:#0A63C9"/>+</linearGradient>+<path fill="url(#SVGID_2_)" d="M78.055,383.25h780.723c43.109,0,78.055,34.947,78.055,78.055v780.723 c0,43.109-34.946,78.055-78.055,78.055H78.055c-43.109,0-78.055-34.947-78.055-78.055V461.305 C0,418.197,34.947,383.25,78.055,383.25z"/>+<path fill="#FFFFFF" d="M243.96,710.631c19.238-40.988,50.29-75.289,89.17-98.495c43.057-24.651,92.081-36.94,141.675-35.515 c45.965-0.997,91.321,10.655,131.114,33.683c37.414,22.312,67.547,55.004,86.742,94.109c20.904,43.09,31.322,90.512,30.405,138.396 c1.013,50.043-9.706,99.628-31.299,144.783c-19.652,40.503-50.741,74.36-89.425,97.388c-41.327,23.734-88.367,35.692-136.011,34.578 c-46.947,1.133-93.303-10.651-134.01-34.067c-37.738-22.341-68.249-55.07-87.892-94.28c-21.028-42.467-31.57-89.355-30.745-136.735 C212.808,804.859,223.158,755.686,243.96,710.631z M339.006,941.858c10.257,25.912,27.651,48.385,50.163,64.812 c22.93,16.026,50.387,24.294,78.353,23.591c29.783,1.178,59.14-7.372,83.634-24.358c22.227-16.375,39.164-38.909,48.715-64.812 c10.677-28.928,15.946-59.572,15.543-90.404c0.33-31.127-4.623-62.084-14.649-91.554c-8.855-26.607-25.246-50.069-47.182-67.537 c-23.88-17.79-53.158-26.813-82.91-25.55c-28.572-0.74-56.644,7.593-80.184,23.804c-22.893,16.496-40.617,39.168-51.1,65.365 c-23.255,60.049-23.376,126.595-0.341,186.728L339.006,941.858z"/>+<path fill="#50D9FF" d="M1362.667,255.5h383.25v383.25h-383.25V255.5z"/>+</svg>\ No newline at end of filediff --git a/apps/web/src/features/calendars/client.tsx b/apps/web/src/features/calendars/client.tsxnew file mode 100644index 000000000..b49bfe5d9--- /dev/null+++ b/apps/web/src/features/calendars/client.tsx@@ -0,0 +1,29 @@+"use client";++interface ConnectOptions {+ /**+ * URL to redirect to after successful connection+ */+ redirectTo?: string;+}++/**+ * Initiate calendar connection OAuth flow+ * @param integrationId - Calendar integration ID to connect+ * @param options - Connection options+ */+export const connectToCalendar = (+ integrationId: string,+ options: ConnectOptions = {},+) => {+ const redirectTo = options.redirectTo || window.location.pathname;++ const url = new URL(+ `/api/integrations/auth/${integrationId}`,+ window.location.origin,+ );++ url.searchParams.set("redirect", redirectTo);++ window.location.href = url.toString();+};diff --git a/apps/web/src/features/calendars/components/calendar-provider-icon.tsx b/apps/web/src/features/calendars/components/calendar-provider-icon.tsxnew file mode 100644index 000000000..30b10c0c3--- /dev/null+++ b/apps/web/src/features/calendars/components/calendar-provider-icon.tsx@@ -0,0 +1,23 @@+import GoogleCalendarIcon from "@/features/calendars/assets/google-calendar.svg";+import OutlookIcon from "@/features/calendars/assets/outlook.svg";++export function CalendarProviderIcon({+ provider,+ size,+}: {+ provider: string;+ size: number;+}) {+ switch (provider) {+ case "google":+ return (+ <GoogleCalendarIcon width={size} height={size} alt="Google Calendar" />+ );+ case "microsoft":+ return (+ <OutlookIcon width={size} height={size} alt="Microsoft Calendar" />+ );+ default:+ return null;+ }+}diff --git a/apps/web/src/features/calendars/constants.ts b/apps/web/src/features/calendars/constants.tsnew file mode 100644index 000000000..ba1878f35--- /dev/null+++ b/apps/web/src/features/calendars/constants.ts@@ -0,0 +1 @@+export const isCalendarsEnabled = process.env.CALENDARS_ENABLED === "true";diff --git a/apps/web/src/features/calendars/mutations.ts b/apps/web/src/features/calendars/mutations.tsnew file mode 100644index 000000000..4df691b79--- /dev/null+++ b/apps/web/src/features/calendars/mutations.ts@@ -0,0 +1,206 @@+import { prisma } from "@rallly/database";+import { loadCredential } from "@/features/credentials/queries";+import type { UserInfo } from "@/lib/oauth/types";+import { createCalendarService } from "./service";++export const createCalendarConnection = async (params: {+ userId: string;+ provider: string;+ providerAccountId: string;+ integrationId: string;+ credentialId: string;+ displayName: string;+ userInfo: UserInfo;+}) => {+ const {+ userId,+ provider,+ credentialId,+ integrationId,+ providerAccountId,+ userInfo,+ } = params;++ const connection = await prisma.calendarConnection.upsert({+ where: {+ user_provider_account_unique: {+ userId,+ provider,+ providerAccountId,+ },+ },+ create: {+ userId,+ provider,+ integrationId,+ credentialId,+ providerAccountId,+ email: userInfo.email,+ displayName: params.displayName,+ },+ update: {+ credentialId,+ email: userInfo.email,+ },+ });++ return connection;+};++export const disconnectCalendarConnection = async (+ userId: string,+ id: string,+) => {+ const connection = await prisma.calendarConnection.findFirst({+ where: { id, userId },+ });++ if (!connection) {+ return {+ success: false,+ error: "Calendar connection not found" as const,+ };+ }++ return await prisma.calendarConnection.delete({+ where: { id },+ });+};++/**+ * Syncs calendars from the provider, including detection of deleted calendars.+ * When a calendar is deleted on Google, it will be marked as deleted in our database.+ */+export const syncCalendars = async ({+ userId,+ connectionId,+}: {+ userId: string;+ connectionId: string;+}) => {+ const connection = await prisma.calendarConnection.findFirst({+ where: { id: connectionId, userId },+ });++ if (!connection) {+ return {+ success: false,+ error: "Calendar connection not found" as const,+ };+ }++ const credential = await loadCredential(connection.credentialId);++ if (!credential) {+ return {+ success: false,+ error: "Credential not found" as const,+ };+ }++ const calendarService = await createCalendarService({+ provider: connection.provider,+ credentials: credential.secret,+ });++ const calendars = await calendarService.listCalendars();++ await prisma.$transaction(async (tx) => {+ // Get current calendar IDs from the provider response+ const providerCalendarIds = calendars.map((cal) => cal.id);++ // Mark any calendars not in the response as deleted+ // (This handles calendars deleted from Google that aren't returned even with showDeleted=true)+ const deletedCalendars = await tx.providerCalendar.findMany({+ where: {+ calendarConnectionId: connection.id,+ providerCalendarId: {+ notIn: providerCalendarIds,+ },+ isDeleted: false,+ },+ select: { id: true },+ });++ if (deletedCalendars.length > 0) {+ const deletedCalendarIds = deletedCalendars.map((cal) => cal.id);++ // Clear any users who have a deleted calendar as their default destination+ await tx.user.updateMany({+ where: {+ defaultDestinationCalendarId: {+ in: deletedCalendarIds,+ },+ },+ data: {+ defaultDestinationCalendarId: null,+ },+ });++ await tx.providerCalendar.updateMany({+ where: { id: { in: deletedCalendarIds } },+ data: { isDeleted: true, lastSyncedAt: new Date() },+ });+ }++ // Upsert calendars from the provider response+ for (const calendar of calendars) {+ await tx.providerCalendar.upsert({+ where: {+ connection_calendar_unique: {+ calendarConnectionId: connection.id,+ providerCalendarId: calendar.id,+ },+ },+ create: {+ calendarConnectionId: connection.id,+ providerCalendarId: calendar.id,+ name: calendar.name,+ timeZone: calendar.timeZone,+ isPrimary: calendar.isPrimary,+ isSelected: calendar.isSelected,+ isDeleted: calendar.isDeleted ?? false,+ isWritable: calendar.isWritable,+ providerData: calendar._rawData,+ },+ update: {+ // Only update provider-controlled fields, preserve user customizations+ name: calendar.name,+ timeZone: calendar.timeZone,+ isPrimary: calendar.isPrimary,+ isDeleted: calendar.isDeleted ?? false,+ isWritable: calendar.isWritable,+ lastSyncedAt: new Date(),+ providerData: calendar._rawData,+ },+ });+ }+ });++ return { success: true };+};++export const setCalendarSelection = async (params: {+ userId: string;+ calendarId: string;+ isSelected: boolean;+}) => {+ const { calendarId, isSelected } = params;++ const calendar = await prisma.providerCalendar.findFirst({+ where: { id: calendarId },+ });++ if (!calendar) {+ return { success: false, error: "Calendar not found" as const };+ }++ await prisma.providerCalendar.update({+ where: { id: calendarId },+ data: {+ isSelected,+ },+ });++ return { success: true };+};diff --git a/apps/web/src/features/calendars/queries.ts b/apps/web/src/features/calendars/queries.tsnew file mode 100644index 000000000..b696e4c98--- /dev/null+++ b/apps/web/src/features/calendars/queries.ts@@ -0,0 +1,36 @@+import { prisma } from "@rallly/database";++export const getCalendars = async (userId: string) => {+ return await prisma.calendarConnection.findMany({+ where: {+ userId,+ },+ select: {+ id: true,+ displayName: true,+ email: true,+ provider: true,+ integrationId: true,+ providerCalendars: {+ where: {+ isDeleted: false,+ },+ select: {+ id: true,+ name: true,+ isSelected: true,+ },+ orderBy: {+ name: "asc",+ },+ },+ },+ });+};++export const getDefaultCalendar = async (userId: string) => {+ return await prisma.user.findUnique({+ where: { id: userId },+ select: { defaultDestinationCalendarId: true },+ });+};diff --git a/apps/web/src/features/calendars/schema.ts b/apps/web/src/features/calendars/schema.tsnew file mode 100644index 000000000..e829b051a--- /dev/null+++ b/apps/web/src/features/calendars/schema.ts@@ -0,0 +1,52 @@+import { z } from "zod";++export const calendarProviderSchema = z.enum(["google", "microsoft"]);+export type CalendarProvider = z.infer<typeof calendarProviderSchema>;++export const calendarConnectionStatusSchema = z.enum([+ "active",+ "expired",+ "error",+ "revoked",+]);++export const timeSlotSchema = z.object({+ start: z.date(),+ end: z.date(),+ isBusy: z.boolean(),+ title: z.string().optional(),+});++export const availabilityRequestSchema = z.object({+ startTime: z.date(),+ endTime: z.date(),+ connectionIds: z.array(z.string()).optional(),+});++export const oauthTokensSchema = z.object({+ accessToken: z.string(),+ refreshToken: z.string().optional(),+ expiresAt: z.date().optional(),+ scopes: z.array(z.string()),+});++export const userInfoSchema = z.object({+ id: z.string(),+ email: z.string().email(),+ name: z.string().optional(),+});++export const calendarSchema = z.object({+ id: z.string(),+ name: z.string(),+ primary: z.boolean().optional(),+});++export const calendarEventSchema = z.object({+ id: z.string(),+ title: z.string(),+ start: z.date(),+ end: z.date(),+ isAllDay: z.boolean(),+ isBusy: z.boolean(),+});diff --git a/apps/web/src/features/calendars/service.ts b/apps/web/src/features/calendars/service.tsnew file mode 100644index 000000000..12f54ea77--- /dev/null+++ b/apps/web/src/features/calendars/service.ts@@ -0,0 +1,21 @@+import { GoogleCalendarService } from "@/features/calendars/services/google-calendar";++type CalendarServiceProvider = {+ provider: string;+ credentials: unknown;+};++export const createCalendarService = async (+ service: CalendarServiceProvider,+) => {+ switch (service.provider) {+ case "google":+ return new GoogleCalendarService({+ credentials: GoogleCalendarService.credentialsSchema.parse(+ service.credentials,+ ),+ });+ default:+ throw new Error(`Unsupported provider: ${service.provider}`);+ }+};diff --git a/apps/web/src/features/calendars/services/google-calendar.ts b/apps/web/src/features/calendars/services/google-calendar.tsnew file mode 100644index 000000000..686b31582--- /dev/null+++ b/apps/web/src/features/calendars/services/google-calendar.ts@@ -0,0 +1,47 @@+import type { calendar_v3 } from "googleapis";+import { google } from "googleapis";+import z from "zod";+import type {+ CalendarInfo,+ CalendarService,+} from "@/features/calendars/services/types";+import type { GoogleServiceParams } from "@/features/google/service";+import { GoogleService } from "@/features/google/service";++export class GoogleCalendarService+ extends GoogleService+ implements CalendarService+{+ private readonly client: calendar_v3.Calendar;+ static credentialsSchema = z.object({+ accessToken: z.string(),+ refreshToken: z.string().optional(),+ });+ constructor(params: GoogleServiceParams) {+ super(params);++ this.client = google.calendar({+ version: "v3",+ auth: this.oauth2Client,+ });+ }++ async listCalendars(): Promise<CalendarInfo[]> {+ const calendarList = await this.client.calendarList.list();++ if (!calendarList.data.items) {+ return [];+ }++ return calendarList.data.items.map((item) => ({+ id: item.id as string,+ timeZone: item.timeZone ?? undefined,+ name: item.summary ?? "No name",+ isPrimary: Boolean(item.primary),+ isSelected: Boolean(item.selected),+ isDeleted: Boolean(item.deleted),+ isWritable: item.accessRole === "owner" || item.accessRole === "writer",+ _rawData: item,+ }));+ }+}diff --git a/apps/web/src/features/calendars/services/types.ts b/apps/web/src/features/calendars/services/types.tsnew file mode 100644index 000000000..7e7551766--- /dev/null+++ b/apps/web/src/features/calendars/services/types.ts@@ -0,0 +1,15 @@+export interface CalendarService {+ listCalendars: () => Promise<CalendarInfo[]>;+}++export type CalendarInfo = {+ id: string;+ name: string;+ timeZone?: string;+ isPrimary: boolean;+ isSelected: boolean;+ isDeleted: boolean;+ isWritable: boolean;+ // biome-ignore lint/suspicious/noExplicitAny: any is used to store the raw data from the provider+ _rawData: any;+};diff --git a/apps/web/src/features/credentials/mutations.ts b/apps/web/src/features/credentials/mutations.tsnew file mode 100644index 000000000..171ad55a1--- /dev/null+++ b/apps/web/src/features/credentials/mutations.ts@@ -0,0 +1,54 @@+import { prisma } from "@rallly/database";+import { encrypt } from "@rallly/utils/encryption";+import { env } from "@/env";+import type { OAuthTokens } from "@/lib/oauth/types";++export async function saveOAuthCredentials({+ userId,+ provider,+ providerAccountId,+ tokens,+}: {+ userId: string;+ provider: string;+ providerAccountId: string;+ tokens: OAuthTokens;+}) {+ // check if we already have credentials for this provider/account+ const credential = await prisma.credential.findUnique({+ where: {+ user_provider_account_unique: {+ userId,+ provider,+ providerAccountId,+ },+ },+ });++ if (credential) {+ const updatedCredential = await prisma.credential.update({+ where: { id: credential.id },+ data: {+ secret: encrypt(JSON.stringify(tokens), env.SECRET_PASSWORD),+ scopes: tokens.scopes,+ expiresAt: tokens.expiresAt,+ },+ });++ return updatedCredential;+ } else {+ const credential = await prisma.credential.create({+ data: {+ type: "OAUTH",+ userId,+ provider,+ providerAccountId,+ secret: encrypt(JSON.stringify(tokens), env.SECRET_PASSWORD),+ scopes: tokens.scopes,+ expiresAt: tokens.expiresAt,+ },+ });++ return credential;+ }+}diff --git a/apps/web/src/features/credentials/queries.ts b/apps/web/src/features/credentials/queries.tsnew file mode 100644index 000000000..03e937963--- /dev/null+++ b/apps/web/src/features/credentials/queries.ts@@ -0,0 +1,49 @@+import { prisma } from "@rallly/database";+import { decrypt } from "@rallly/utils/encryption";+import { env } from "@/env";+import type { OAuthCredentials } from "@/features/credentials/schema";+import { oauthCredentialsSchema } from "@/features/credentials/schema";++interface BaseCredentialsInfo {+ id: string;+ provider: string;+}++interface OAuthCredentialsInfo extends BaseCredentialsInfo {+ type: "oauth";+ secret: OAuthCredentials;+ scopes: string[];+ expiresAt: Date | undefined;+}++type CredentialsInfo = OAuthCredentialsInfo;++export const loadCredential = async (+ credentialId: string,+): Promise<CredentialsInfo | null> => {+ const credential = await prisma.credential.findUnique({+ where: {+ id: credentialId,+ },+ });++ if (!credential) {+ return null;+ }++ switch (credential.type) {+ case "OAUTH":+ return {+ id: credential.id,+ type: "oauth",+ provider: credential.provider,+ secret: oauthCredentialsSchema.parse(+ JSON.parse(decrypt(credential.secret, env.SECRET_PASSWORD)),+ ),+ scopes: credential.scopes,+ expiresAt: credential.expiresAt ?? undefined,+ };+ default:+ return null;+ }+};diff --git a/apps/web/src/features/credentials/schema.ts b/apps/web/src/features/credentials/schema.tsnew file mode 100644index 000000000..9c97d3d54--- /dev/null+++ b/apps/web/src/features/credentials/schema.ts@@ -0,0 +1,14 @@+import { z } from "zod";++export const credentialTypeSchema = z.enum(["oauth"]);+export type CredentialType = z.infer<typeof credentialTypeSchema>;++export const oauthCredentialsSchema = z.object({+ accessToken: z.string(),+ refreshToken: z.string().optional(),+ expiresAt: z.string().optional(),+ scopes: z.array(z.string()),+});++export type OAuthCredentials = z.infer<typeof oauthCredentialsSchema>;+export type Credentials = OAuthCredentials;diff --git a/apps/web/src/features/google/service.ts b/apps/web/src/features/google/service.tsnew file mode 100644index 000000000..25ec002dc--- /dev/null+++ b/apps/web/src/features/google/service.ts@@ -0,0 +1,28 @@+import "server-only";++import type { Auth } from "googleapis";+import { google } from "googleapis";+import { env } from "@/env";++export type GoogleServiceParams = {+ credentials: {+ accessToken: string;+ refreshToken?: string;+ };+};++export class GoogleService {+ oauth2Client: Auth.OAuth2Client;++ constructor(private readonly params: GoogleServiceParams) {+ this.oauth2Client = new google.auth.OAuth2({+ clientId: env.GOOGLE_CLIENT_ID,+ clientSecret: env.GOOGLE_CLIENT_SECRET,+ });++ this.oauth2Client.setCredentials({+ access_token: params.credentials.accessToken,+ refresh_token: params.credentials.refreshToken,+ });+ }+}diff --git a/apps/web/src/lib/feature-flags/config.ts b/apps/web/src/lib/feature-flags/config.tsindex 54b5cdc73..89b60f32d 100644--- a/apps/web/src/lib/feature-flags/config.ts+++ b/apps/web/src/lib/feature-flags/config.ts@@ -1,6 +1,7 @@import "server-only";import { env } from "@/env";import { isBillingEnabled } from "@/features/billing/constants";+import { isCalendarsEnabled } from "@/features/calendars/constants";import { isFeedbackEnabled } from "@/features/feedback/constants";import type { FeatureFlagConfig } from "@/lib/feature-flags/types";import { isStorageEnabled } from "@/lib/storage";@@ -14,4 +15,5 @@ export const featureFlagConfig: FeatureFlagConfig = {feedback: isFeedbackEnabled,emailLogin: isEmailLoginEnabled,registration: isEmailLoginEnabled && isRegistrationEnabled,+ calendars: isCalendarsEnabled,};diff --git a/apps/web/src/lib/feature-flags/types.ts b/apps/web/src/lib/feature-flags/types.tsindex 6d266e569..c3ce3f8b5 100644--- a/apps/web/src/lib/feature-flags/types.ts+++ b/apps/web/src/lib/feature-flags/types.ts@@ -4,6 +4,7 @@ export interface FeatureFlagConfig {feedback: boolean;emailLogin: boolean;registration: boolean;+ calendars: boolean;}export type Feature = keyof FeatureFlagConfig;diff --git a/apps/web/src/lib/oauth/client.tsx b/apps/web/src/lib/oauth/client.tsxnew file mode 100644index 000000000..6bcebde60--- /dev/null+++ b/apps/web/src/lib/oauth/client.tsx@@ -0,0 +1,10 @@+"use client";++export function connect(provider: string) {+ const url = new URL(+ `/api/integrations/auth/${provider}`,+ window.location.origin,+ );+ url.searchParams.set("redirect", window.location.pathname);+ window.location.href = url.toString();+}diff --git a/apps/web/src/lib/oauth/providers/base.ts b/apps/web/src/lib/oauth/providers/base.tsnew file mode 100644index 000000000..1b2adeff3--- /dev/null+++ b/apps/web/src/lib/oauth/providers/base.ts@@ -0,0 +1,52 @@+import type { OAuthTokens, UserInfo } from "@/lib/oauth/types";++/**+ * Creates a standard OAuth error+ */+export function OAuthError(+ message: string,+ code?: string,+ details?: unknown,+): Error {+ const error = new Error(message) as Error & {+ code?: string;+ details?: unknown;+ };+ error.code = code;+ error.details = details;+ return error;+}++/**+ * Handles OAuth errors consistently+ */+export function handleOAuthError(error: unknown): never {+ if (error instanceof Error) {+ throw error;+ }++ if (typeof error === "object" && error !== null) {+ // biome-ignore lint/suspicious/noExplicitAny: temporary - we will rewrite this with better error handling or perhaps even use effect ts+ const err = error as any;+ throw OAuthError(+ err.message || err.error_description || "OAuth operation failed",+ err.error || "OAUTH_ERROR",+ error,+ );+ }++ throw OAuthError("Unknown OAuth error", "UNKNOWN_ERROR", error);+}++export interface OAuthService {+ provider: string;+ scopes: string[];+ onConnect?: (params: {+ providerAccountId: string;+ userInfo: UserInfo;+ provider: string;+ tokens: OAuthTokens;+ }) => Promise<void>;+ getAuthorizationUrl(state: string, codeVerifier: string): URL;+ exchangeCode(code: string, codeVerifier: string): Promise<OAuthTokens>;+}diff --git a/apps/web/src/lib/oauth/providers/google.ts b/apps/web/src/lib/oauth/providers/google.tsnew file mode 100644index 000000000..f90d6155c--- /dev/null+++ b/apps/web/src/lib/oauth/providers/google.ts@@ -0,0 +1,124 @@+import "server-only";++import { Google } from "arctic";+import { google } from "googleapis";+import type { OAuthClient, OAuthTokens, UserInfo } from "../types";+import { handleOAuthError } from "./base";++interface GoogleOAuthClientConfig {+ clientId: string;+ clientSecret: string;+ callbackUrl?: string;+ scopes: string[];+ onConnect?: (params: {+ providerAccountId: string;+ userInfo: UserInfo;+ provider: string;+ tokens: OAuthTokens;+ }) => Promise<void>;+}++export class GoogleOAuthClient implements OAuthClient {+ provider = "google";+ private client: Google;+ private clientId: string;+ private clientSecret: string;+ scopes: string[];+ onConnect?: (params: {+ providerAccountId: string;+ userInfo: UserInfo;+ provider: string;+ tokens: OAuthTokens;+ }) => Promise<void>;+ constructor({+ clientId,+ clientSecret,+ scopes,+ callbackUrl = "",+ onConnect,+ }: GoogleOAuthClientConfig) {+ this.client = new Google(clientId, clientSecret, callbackUrl);+ this.clientId = clientId;+ this.clientSecret = clientSecret;+ this.scopes = scopes;+ this.onConnect = onConnect;+ }++ getAuthorizationUrl(state: string, codeVerifier: string): URL {+ const authUrl = this.client.createAuthorizationURL(+ state,+ codeVerifier,+ this.scopes,+ );++ authUrl.searchParams.set("access_type", "offline");+ authUrl.searchParams.set("prompt", "consent");++ return authUrl;+ }++ async exchangeCode(code: string, codeVerifier: string): Promise<OAuthTokens> {+ try {+ const tokens = await this.client.validateAuthorizationCode(+ code,+ codeVerifier,+ );++ return {+ accessToken: tokens.accessToken(),+ refreshToken: tokens.hasRefreshToken()+ ? tokens.refreshToken()+ : undefined,+ expiresAt: tokens.accessTokenExpiresAt(),+ scopes: tokens.scopes(),+ };+ } catch (error) {+ handleOAuthError(error);+ }+ }++ async getUserInfo(tokens: OAuthTokens): Promise<UserInfo> {+ try {+ const oauth2Client = new google.auth.OAuth2({+ clientId: this.clientId,+ clientSecret: this.clientSecret,+ });+ oauth2Client.setCredentials({+ access_token: tokens.accessToken,+ refresh_token: tokens.refreshToken,+ });++ const oauth2 = google.oauth2({ version: "v2", auth: oauth2Client });+ const { data: userInfo } = await oauth2.userinfo.get();++ if (!userInfo.id || !userInfo.email) {+ throw new Error("Missing required user information from Google");+ }++ return {+ id: userInfo.id,+ email: userInfo.email,+ name: userInfo.name || undefined,+ };+ } catch (error) {+ handleOAuthError(error);+ }+ }++ async refreshAccessToken(refreshToken: string): Promise<OAuthTokens> {+ try {+ const tokens = await this.client.refreshAccessToken(refreshToken);++ return {+ accessToken: tokens.accessToken(),+ refreshToken: tokens.hasRefreshToken()+ ? tokens.refreshToken()+ : undefined,+ expiresAt: tokens.accessTokenExpiresAt(),+ scopes: tokens.scopes(),+ };+ } catch (error) {+ handleOAuthError(error);+ }+ }+}diff --git a/apps/web/src/lib/oauth/server.ts b/apps/web/src/lib/oauth/server.tsnew file mode 100644index 000000000..2bea74716--- /dev/null+++ b/apps/web/src/lib/oauth/server.ts@@ -0,0 +1,169 @@+import "server-only";++import { zValidator } from "@hono/zod-validator";+import { generateCodeVerifier, generateState } from "arctic";+import { Hono } from "hono";+import { getCookie, setCookie } from "hono/cookie";+import { handle } from "hono/vercel";+import { z } from "zod";+import type { CreateOAuthOptions } from "./types";++export function OAuthIntegration<T extends string>(+ options: CreateOAuthOptions<T>,+) {+ const {+ baseUrl,+ getIntegration,+ cookieConfig = {+ prefix: "oauth.",+ maxAge: 600, // 10 minutes+ secure: true,+ sameSite: "lax",+ },+ } = options;++ const { prefix = "oauth.", ...cookieOptions } = cookieConfig;+ const CODE_VERIFIER = `${prefix}code-verifier`;+ const REDIRECT_TO = `${prefix}redirect-to`;+ const STATE = `${prefix}state`;++ const app = new Hono().basePath(baseUrl);++ // Create schema with available provider names+ const validateParams = zValidator(+ "param",+ z.object({+ id: z.string(),+ }),+ );++ // Authorization endpoint+ app.get("/auth/:id", validateParams, async (c) => {+ try {+ const { id } = c.req.valid("param");++ const callbackUrl = new URL(`${baseUrl}/callback/${id}`, c.req.url);++ const integration = getIntegration({+ integrationId: id as T,+ callbackUrl: callbackUrl.toString(),+ });++ if (!integration) {+ return c.json({ error: `${id} integration not configured` }, 500);+ }++ const state = generateState();+ const codeVerifier = generateCodeVerifier();+ const redirectTo = c.req.query("redirect") || "/";++ const authorizationUrl = integration.getAuthorizationUrl(+ state,+ codeVerifier,+ );++ // Set secure cookies+ setCookie(c, STATE, state, {+ httpOnly: true,+ secure: cookieOptions.secure,+ sameSite: cookieOptions.sameSite,+ maxAge: cookieOptions.maxAge,+ path: "/",+ });++ setCookie(c, CODE_VERIFIER, codeVerifier, {+ httpOnly: true,+ secure: cookieOptions.secure,+ sameSite: cookieOptions.sameSite,+ maxAge: cookieOptions.maxAge,+ path: "/",+ });++ setCookie(c, REDIRECT_TO, redirectTo, {+ httpOnly: true,+ secure: cookieOptions.secure,+ sameSite: cookieOptions.sameSite,+ maxAge: cookieOptions.maxAge,+ path: "/",+ });++ return c.redirect(authorizationUrl.toString());+ } catch (error) {+ console.error("OAuth auth initiation failed:", error);++ return c.json({ error: "Failed to initiate OAuth connection" }, 404);+ }+ });++ // OAuth callback endpoint+ app.get("/callback/:id", validateParams, async (c) => {+ try {+ const { id } = c.req.valid("param");++ const callbackUrl = new URL(`${baseUrl}/callback/${id}`, c.req.url);++ const integration = getIntegration({+ integrationId: id as T,+ callbackUrl: callbackUrl.toString(),+ });++ if (!integration) {+ return c.json({ error: `${id} integration not configured` }, 404);+ }++ const code = c.req.query("code");+ const state = c.req.query("state");+ const storedState = getCookie(c, STATE);+ const codeVerifier = getCookie(c, CODE_VERIFIER);+ const storedRedirect = getCookie(c, REDIRECT_TO) || "/";++ const redirectTo =+ storedRedirect.startsWith("/") && !storedRedirect.startsWith("//")+ ? storedRedirect+ : "/";++ // Validate OAuth callback parameters+ if (+ !code ||+ !state ||+ !storedState ||+ state !== storedState ||+ !codeVerifier+ ) {+ const errorUrl = new URL(redirectTo, c.req.url);+ errorUrl.searchParams.set("error", "invalid_request");+ return c.redirect(errorUrl.toString());+ }++ // Exchange code for tokens+ const tokens = await integration.exchangeCode(code, codeVerifier);++ const userInfo = await integration.getUserInfo(tokens);++ await integration.onConnect?.({+ providerAccountId: userInfo.id,+ userInfo,+ provider: integration.provider,+ tokens,+ });++ // Redirect with success+ const successUrl = new URL(redirectTo, c.req.url);+ successUrl.searchParams.set("connected", "true");+ successUrl.searchParams.set("integration", id);++ return c.redirect(successUrl.toString());+ } catch (error) {+ console.error("OAuth connection failed:", error);++ const redirectTo = getCookie(c, REDIRECT_TO) || "/";+ const errorUrl = new URL(redirectTo, c.req.url);+ errorUrl.searchParams.set("error", "connection_failed");+ return c.redirect(errorUrl.toString());+ }+ });++ return {+ handler: handle(app),+ };+}diff --git a/apps/web/src/lib/oauth/types.ts b/apps/web/src/lib/oauth/types.tsnew file mode 100644index 000000000..be2485242--- /dev/null+++ b/apps/web/src/lib/oauth/types.ts@@ -0,0 +1,58 @@+export interface OAuthTokens {+ accessToken: string;+ refreshToken?: string;+ expiresAt?: Date;+ scopes: string[];+}++export interface UserInfo {+ id: string;+ email: string;+ name?: string;+}++/**+ * Base OAuth connection with required fields+ * Extend this for specific integration types+ */+export interface OAuthConnection {+ id: string;+ userId: string;+ provider: string;+ providerAccountId: string;+ email: string;+ displayName?: string;+ createdAt: Date;+ updatedAt: Date;+}++export interface OAuthClient {+ provider: string;+ onConnect?: (params: {+ providerAccountId: string;+ userInfo: UserInfo;+ provider: string;+ tokens: OAuthTokens;+ }) => Promise<void>;+ getAuthorizationUrl: (state: string, codeVerifier: string) => URL;+ exchangeCode: (code: string, codeVerifier: string) => Promise<OAuthTokens>;+ getUserInfo: (tokens: OAuthTokens) => Promise<UserInfo>;+ refreshAccessToken: (refreshToken: string) => Promise<OAuthTokens>;+}++export interface CreateOAuthOptions<T extends string> {+ baseUrl: string;+ getIntegration: ({+ integrationId,+ callbackUrl,+ }: {+ integrationId: T;+ callbackUrl: string;+ }) => OAuthClient | null;+ cookieConfig?: {+ prefix?: string;+ maxAge?: number;+ secure?: boolean;+ sameSite?: "strict" | "lax" | "none";+ };+}diff --git a/apps/web/src/trpc/routers/calendars.ts b/apps/web/src/trpc/routers/calendars.tsnew file mode 100644index 000000000..ee3b80466--- /dev/null+++ b/apps/web/src/trpc/routers/calendars.ts@@ -0,0 +1,41 @@+import { z } from "zod";+import {+ disconnectCalendarConnection,+ setCalendarSelection,+ syncCalendars,+} from "@/features/calendars/mutations";+import { getCalendars, getDefaultCalendar } from "@/features/calendars/queries";+import { privateProcedure, router } from "../trpc";++export const calendars = router({+ list: privateProcedure.query(async ({ ctx }) => {+ return getCalendars(ctx.user.id);+ }),+ disconnect: privateProcedure+ .input(z.object({ id: z.string() }))+ .mutation(async ({ ctx, input }) => {+ return disconnectCalendarConnection(ctx.user.id, input.id);+ }),+ sync: privateProcedure+ .input(z.object({ id: z.string() }))+ .mutation(async ({ ctx, input }) => {+ return syncCalendars({ userId: ctx.user.id, connectionId: input.id });+ }),+ getDefault: privateProcedure.query(async ({ ctx }) => {+ return getDefaultCalendar(ctx.user.id);+ }),+ setSelection: privateProcedure+ .input(+ z.object({+ calendarId: z.string(),+ isSelected: z.boolean(),+ }),+ )+ .mutation(async ({ ctx, input }) => {+ return setCalendarSelection({+ userId: ctx.user.id,+ calendarId: input.calendarId,+ isSelected: input.isSelected,+ });+ }),+});diff --git a/apps/web/src/trpc/routers/index.ts b/apps/web/src/trpc/routers/index.tsindex 5a2ed056a..a7c0172db 100644--- a/apps/web/src/trpc/routers/index.ts+++ b/apps/web/src/trpc/routers/index.ts@@ -5,6 +5,7 @@ import utc from "dayjs/plugin/utc";import { mergeRouters, router } from "../trpc";import { auth } from "./auth";+import { calendars } from "./calendars";import { events } from "./events";import { polls } from "./polls";import { user } from "./user";@@ -19,6 +20,7 @@ export const appRouter = mergeRouters(events,polls,user,+ calendars,}),);diff --git a/apps/web/src/utils/try-catch.ts b/apps/web/src/utils/try-catch.tsnew file mode 100644index 000000000..b61e7e57a--- /dev/null+++ b/apps/web/src/utils/try-catch.ts@@ -0,0 +1,24 @@+// Types for the result object with discriminated union+type Success<T> = {+ data: T;+ error: null;+};++type Failure<E> = {+ data: null;+ error: E;+};++export type Result<T, E = Error> = Success<T> | Failure<E>;++// Main wrapper function+export async function tryCatch<T, E = Error>(+ promise: Promise<T>,+): Promise<Result<T, E>> {+ try {+ const data = await promise;+ return { data, error: null };+ } catch (error) {+ return { data: null, error: error as E };+ }+}diff --git a/packages/database/prisma/migrations/20251007051830_add_integration_models/migration.sql b/packages/database/prisma/migrations/20251007051830_add_integration_models/migration.sqlnew file mode 100644index 000000000..bdae15c26--- /dev/null+++ b/packages/database/prisma/migrations/20251007051830_add_integration_models/migration.sql@@ -0,0 +1,92 @@+-- CreateEnum+CREATE TYPE "CredentialType" AS ENUM ('OAUTH');++-- AlterTable+ALTER TABLE "users" ADD COLUMN "default_destination_calendar_id" TEXT;++-- CreateTable+CREATE TABLE "credentials" (+ "id" TEXT NOT NULL,+ "user_id" TEXT NOT NULL,+ "provider" TEXT NOT NULL,+ "provider_account_id" TEXT NOT NULL,+ "type" "CredentialType" NOT NULL,+ "secret" TEXT NOT NULL,+ "scopes" TEXT[],+ "expires_at" TIMESTAMP(3),+ "created_at" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,+ "updated_at" TIMESTAMP(3) NOT NULL,++ CONSTRAINT "credentials_pkey" PRIMARY KEY ("id")+);++-- CreateTable+CREATE TABLE "calendar_connections" (+ "id" TEXT NOT NULL,+ "user_id" TEXT NOT NULL,+ "provider" TEXT NOT NULL,+ "integration_id" TEXT NOT NULL,+ "provider_account_id" TEXT NOT NULL,+ "email" TEXT NOT NULL,+ "display_name" TEXT,+ "created_at" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,+ "updated_at" TIMESTAMP(3) NOT NULL,+ "credential_id" TEXT NOT NULL,++ CONSTRAINT "calendar_connections_pkey" PRIMARY KEY ("id")+);++-- CreateTable+CREATE TABLE "provider_calendars" (+ "id" TEXT NOT NULL,+ "calendar_connection_id" TEXT NOT NULL,+ "provider_calendar_id" TEXT NOT NULL,+ "name" TEXT NOT NULL,+ "primary" BOOLEAN NOT NULL DEFAULT false,+ "time_zone" TEXT,+ "selected" BOOLEAN NOT NULL DEFAULT false,+ "deleted" BOOLEAN NOT NULL DEFAULT false,+ "writable" BOOLEAN NOT NULL DEFAULT false,+ "provider_data" JSONB,+ "last_synced_at" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,+ "created_at" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,+ "updated_at" TIMESTAMP(3) NOT NULL,++ CONSTRAINT "provider_calendars_pkey" PRIMARY KEY ("id")+);++-- CreateIndex+CREATE INDEX "credential_expiry_idx" ON "credentials"("expires_at");++-- CreateIndex+CREATE UNIQUE INDEX "credentials_user_id_provider_provider_account_id_key" ON "credentials"("user_id", "provider", "provider_account_id");++-- CreateIndex+CREATE UNIQUE INDEX "calendar_connections_user_id_provider_provider_account_id_key" ON "calendar_connections"("user_id", "provider", "provider_account_id");++-- CreateIndex+CREATE INDEX "connection_selected_idx" ON "provider_calendars"("calendar_connection_id", "selected");++-- CreateIndex+CREATE INDEX "primary_calendar_idx" ON "provider_calendars"("primary");++-- CreateIndex+CREATE INDEX "sync_time_idx" ON "provider_calendars"("last_synced_at");++-- CreateIndex+CREATE UNIQUE INDEX "provider_calendars_calendar_connection_id_provider_calendar_key" ON "provider_calendars"("calendar_connection_id", "provider_calendar_id");++-- AddForeignKey+ALTER TABLE "credentials" ADD CONSTRAINT "credentials_user_id_fkey" FOREIGN KEY ("user_id") REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE;++-- AddForeignKey+ALTER TABLE "calendar_connections" ADD CONSTRAINT "calendar_connections_credential_id_fkey" FOREIGN KEY ("credential_id") REFERENCES "credentials"("id") ON DELETE CASCADE ON UPDATE CASCADE;++-- AddForeignKey+ALTER TABLE "calendar_connections" ADD CONSTRAINT "calendar_connections_user_id_fkey" FOREIGN KEY ("user_id") REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE;++-- AddForeignKey+ALTER TABLE "provider_calendars" ADD CONSTRAINT "provider_calendars_calendar_connection_id_fkey" FOREIGN KEY ("calendar_connection_id") REFERENCES "calendar_connections"("id") ON DELETE CASCADE ON UPDATE CASCADE;++-- AddForeignKey+ALTER TABLE "users" ADD CONSTRAINT "users_default_destination_calendar_id_fkey" FOREIGN KEY ("default_destination_calendar_id") REFERENCES "provider_calendars"("id") ON DELETE SET NULL ON UPDATE CASCADE;diff --git a/packages/database/prisma/models/integrations.prisma b/packages/database/prisma/models/integrations.prismanew file mode 100644index 000000000..3051a5180--- /dev/null+++ b/packages/database/prisma/models/integrations.prisma@@ -0,0 +1,86 @@+enum CredentialType {+ OAUTH+}++model Credential {+ id String @id @default(cuid())+ userId String @map("user_id")+ provider String+ providerAccountId String @map("provider_account_id")+ type CredentialType+ secret String @map("secret")+ scopes String[]+ expiresAt DateTime? @map("expires_at")+ createdAt DateTime @default(now()) @map("created_at")+ updatedAt DateTime @updatedAt @map("updated_at")++ // Relationships+ calendarConnections CalendarConnection[]+ user User @relation(fields: [userId], references: [id], onDelete: Cascade)++ // Constraints and indexes+ @@unique([userId, provider, providerAccountId], name: "user_provider_account_unique")+ @@index([expiresAt], name: "credential_expiry_idx")+ @@map("credentials")+}+++model CalendarConnection {+ id String @id @default(cuid())+ userId String @map("user_id")+ provider String+ integrationId String @map("integration_id")+ providerAccountId String @map("provider_account_id")+ email String+ displayName String? @map("display_name")++ createdAt DateTime @default(now()) @map("created_at")+ updatedAt DateTime @updatedAt @map("updated_at")++ // Relationships+ credential Credential @relation(fields: [credentialId], references: [id], onDelete: Cascade)+ credentialId String @map("credential_id")+ user User @relation(fields: [userId], references: [id], onDelete: Cascade)+ providerCalendars ProviderCalendar[]++ // Constraints and indexes+ @@unique([userId, provider, providerAccountId], name: "user_provider_account_unique")+ @@map("calendar_connections")+}++model ProviderCalendar {+ id String @id @default(cuid())+ calendarConnectionId String @map("calendar_connection_id")++ // Provider's calendar data - common fields across all providers+ providerCalendarId String @map("provider_calendar_id")+ name String+ isPrimary Boolean @default(false) @map("primary")+ timeZone String? @map("time_zone")++ // Selection and sync preferences+ isSelected Boolean @default(false) @map("selected")++ // Provider state tracking+ isDeleted Boolean @default(false) @map("deleted")+ isWritable Boolean @default(false) @map("writable")++ // Provider-specific metadata stored as JSON+ providerData Json? @map("provider_data")++ // Timestamps+ lastSyncedAt DateTime @default(now()) @map("last_synced_at")+ createdAt DateTime @default(now()) @map("created_at")+ updatedAt DateTime @updatedAt @map("updated_at")++ // Relationships+ calendarConnection CalendarConnection @relation(fields: [calendarConnectionId], references: [id], onDelete: Cascade)+ userDefaultDestination User[] @relation("UserDefaultDestinationCalendar")++ // Indexes and constraints+ @@unique([calendarConnectionId, providerCalendarId], name: "connection_calendar_unique")+ @@index([calendarConnectionId, isSelected], name: "connection_selected_idx")+ @@index([isPrimary], name: "primary_calendar_idx")+ @@index([lastSyncedAt], name: "sync_time_idx")+ @@map("provider_calendars")+}diff --git a/packages/database/prisma/models/user.prisma b/packages/database/prisma/models/user.prismaindex fe82e825c..07ba6dcc5 100644--- a/packages/database/prisma/models/user.prisma+++ b/packages/database/prisma/models/user.prisma@@ -58,14 +58,21 @@ model User {paymentMethods PaymentMethod[]spaceMemberInvites SpaceMemberInvite[]- subscriptions Subscription[] @relation("UserToSubscription")- spaces Space[] @relation("UserSpaces")- memberOf SpaceMember[]+ subscriptions Subscription[] @relation("UserToSubscription")+ spaces Space[] @relation("UserSpaces")+ memberOf SpaceMember[]pollViews PollView[]scheduledEvents ScheduledEvent[]scheduledEventInvites ScheduledEventInvite[]+ calendarConnections CalendarConnection[]+ credentials Credential[]++ // Default destination calendar for new events+ defaultDestinationCalendarId String? @map("default_destination_calendar_id")+ defaultDestinationCalendar ProviderCalendar? @relation("UserDefaultDestinationCalendar", fields: [defaultDestinationCalendarId], references: [id], onDelete: SetNull)+@@map("users")}diff --git a/packages/utils/src/encryption.test.ts b/packages/utils/src/encryption.test.tsnew file mode 100644index 000000000..1f3fff929--- /dev/null+++ b/packages/utils/src/encryption.test.ts@@ -0,0 +1,292 @@+import { decrypt, encrypt } from "./encryption";++describe("encryption", () => {+ const testPassword = "test-password-123";+ const testData = "sensitive data that needs encryption";++ describe("encrypt", () => {+ it("should return a base64 encoded string", () => {+ const encrypted = encrypt(testData, testPassword);++ expect(typeof encrypted).toBe("string");+ expect(() => Buffer.from(encrypted, "base64")).not.toThrow();+ });++ it("should produce different outputs for the same input (non-deterministic)", () => {+ const encrypted1 = encrypt(testData, testPassword);+ const encrypted2 = encrypt(testData, testPassword);++ expect(encrypted1).not.toBe(encrypted2);+ });++ it("should handle empty strings", () => {+ const encrypted = encrypt("", testPassword);++ expect(typeof encrypted).toBe("string");+ expect(encrypted.length).toBeGreaterThan(0);+ });++ it("should handle unicode characters", () => {+ const unicodeData = "🔐 測試 データ ñáéíóú";+ const encrypted = encrypt(unicodeData, testPassword);++ expect(typeof encrypted).toBe("string");+ expect(() => Buffer.from(encrypted, "base64")).not.toThrow();+ });++ it("should handle long strings", () => {+ const longData = "a".repeat(10000);+ const encrypted = encrypt(longData, testPassword);++ expect(typeof encrypted).toBe("string");+ expect(() => Buffer.from(encrypted, "base64")).not.toThrow();+ });+ });++ describe("decrypt", () => {+ it("should correctly decrypt encrypted data", () => {+ const encrypted = encrypt(testData, testPassword);+ const decrypted = decrypt(encrypted, testPassword);++ expect(decrypted).toBe(testData);+ });++ it("should handle empty strings", () => {+ const encrypted = encrypt("", testPassword);+ const decrypted = decrypt(encrypted, testPassword);++ expect(decrypted).toBe("");+ });++ it("should handle unicode characters", () => {+ const unicodeData = "🔐 測試 データ ñáéíóú";+ const encrypted = encrypt(unicodeData, testPassword);+ const decrypted = decrypt(encrypted, testPassword);++ expect(decrypted).toBe(unicodeData);+ });++ it("should handle long strings", () => {+ const longData = "a".repeat(10000);+ const encrypted = encrypt(longData, testPassword);+ const decrypted = decrypt(encrypted, testPassword);++ expect(decrypted).toBe(longData);+ });+ });++ describe("roundtrip encryption/decryption", () => {+ const testCases = [+ { name: "simple text", data: "hello world" },+ { name: "empty string", data: "" },+ { name: "numbers", data: "1234567890" },+ { name: "special characters", data: "!@#$%^&*()_+-=[]{}|;:,.<>?" },+ { name: "unicode", data: "🔐 測試 データ ñáéíóú" },+ { name: "json-like", data: '{"key": "value", "array": [1, 2, 3]}' },+ { name: "multiline", data: "line1\nline2\rline3\r\nline4" },+ { name: "whitespace", data: " \t\n " },+ ];++ testCases.forEach(({ name, data }) => {+ it(`should correctly encrypt and decrypt ${name}`, () => {+ const encrypted = encrypt(data, testPassword);+ const decrypted = decrypt(encrypted, testPassword);++ expect(decrypted).toBe(data);+ });+ });+ });++ describe("password validation", () => {+ it("should fail to decrypt with wrong password", () => {+ const encrypted = encrypt(testData, testPassword);++ expect(() => {+ decrypt(encrypted, "wrong-password");+ }).toThrow();+ });++ it("should work with different passwords", () => {+ const password1 = "password1";+ const password2 = "password2";++ const encrypted1 = encrypt(testData, password1);+ const encrypted2 = encrypt(testData, password2);++ expect(decrypt(encrypted1, password1)).toBe(testData);+ expect(decrypt(encrypted2, password2)).toBe(testData);++ // Cross-decryption should fail+ expect(() => decrypt(encrypted1, password2)).toThrow();+ expect(() => decrypt(encrypted2, password1)).toThrow();+ });++ it("should handle empty password", () => {+ const encrypted = encrypt(testData, "");+ const decrypted = decrypt(encrypted, "");++ expect(decrypted).toBe(testData);+ });+ });++ describe("error handling", () => {+ it("should throw error for invalid base64 data", () => {+ expect(() => {+ decrypt("not-valid-base64!", testPassword);+ }).toThrow();+ });++ it("should throw error for truncated data", () => {+ const encrypted = encrypt(testData, testPassword);+ const truncated = encrypted.slice(0, -10); // Remove last 10 characters++ expect(() => {+ decrypt(truncated, testPassword);+ }).toThrow();+ });++ it("should throw error for empty encrypted data", () => {+ expect(() => {+ decrypt("", testPassword);+ }).toThrow();+ });++ it("should throw error for unsupported version", () => {+ // Create a buffer with version 99 (unsupported)+ const buffer = Buffer.alloc(100);+ buffer[0] = 99; // Unsupported version+ const invalidVersionData = buffer.toString("base64");++ expect(() => {+ decrypt(invalidVersionData, testPassword);+ }).toThrow("Unsupported encryption version: 99");+ });++ it("should throw error for data too short to contain all components", () => {+ // Create data that's too short (less than version + salt + iv + authTag)+ const shortBuffer = Buffer.alloc(10);+ shortBuffer[0] = 1; // Valid version but data too short+ const shortData = shortBuffer.toString("base64");++ expect(() => {+ decrypt(shortData, testPassword);+ }).toThrow();+ });+ });++ describe("security properties", () => {+ it("should produce different salts for each encryption", () => {+ const encrypted1 = encrypt(testData, testPassword);+ const encrypted2 = encrypt(testData, testPassword);++ const buffer1 = Buffer.from(encrypted1, "base64");+ const buffer2 = Buffer.from(encrypted2, "base64");++ // Extract salt (bytes 1-32, after version byte)+ const salt1 = buffer1.subarray(1, 33);+ const salt2 = buffer2.subarray(1, 33);++ expect(salt1.equals(salt2)).toBe(false);+ });++ it("should produce different IVs for each encryption", () => {+ const encrypted1 = encrypt(testData, testPassword);+ const encrypted2 = encrypt(testData, testPassword);++ const buffer1 = Buffer.from(encrypted1, "base64");+ const buffer2 = Buffer.from(encrypted2, "base64");++ // Extract IV (bytes 33-45, after version + salt)+ const iv1 = buffer1.subarray(33, 45);+ const iv2 = buffer2.subarray(33, 45);++ expect(iv1.equals(iv2)).toBe(false);+ });++ it("should include version information", () => {+ const encrypted = encrypt(testData, testPassword);+ const buffer = Buffer.from(encrypted, "base64");++ // First byte should be version 1+ expect(buffer[0]).toBe(1);+ });++ it("should handle very long passwords", () => {+ const longPassword = "a".repeat(1000);+ const encrypted = encrypt(testData, longPassword);+ const decrypted = decrypt(encrypted, longPassword);++ expect(decrypted).toBe(testData);+ });++ it("should handle passwords with unicode characters", () => {+ const unicodePassword = "🔑 パスワード señora ñúñez";+ const encrypted = encrypt(testData, unicodePassword);+ const decrypted = decrypt(encrypted, unicodePassword);++ expect(decrypted).toBe(testData);+ });+ });++ describe("data integrity", () => {+ it("should detect tampering with encrypted data", () => {+ const encrypted = encrypt(testData, testPassword);+ const buffer = Buffer.from(encrypted, "base64");+ // Tamper with the last byte (encrypted data)+ const lastIndex = buffer.length - 1;+ if (lastIndex >= 0 && buffer[lastIndex] !== undefined) {+ buffer[lastIndex] ^= 1;+ }+ const tamperedData = buffer.toString("base64");++ expect(() => {+ decrypt(tamperedData, testPassword);+ }).toThrow();+ });++ it("should detect tampering with auth tag", () => {+ const encrypted = encrypt(testData, testPassword);+ const buffer = Buffer.from(encrypted, "base64");++ // Tamper with auth tag (bytes 45-61, after version + salt + iv)+ if (buffer.length > 50 && buffer[50] !== undefined) {+ buffer[50] ^= 1;+ }+ const tamperedData = buffer.toString("base64");++ expect(() => {+ decrypt(tamperedData, testPassword);+ }).toThrow();+ });++ it("should detect tampering with IV", () => {+ const encrypted = encrypt(testData, testPassword);+ const buffer = Buffer.from(encrypted, "base64");++ // Tamper with IV (bytes 33-45, after version + salt)+ if (buffer.length > 40 && buffer[40] !== undefined) {+ buffer[40] ^= 1;+ }+ const tamperedData = buffer.toString("base64");++ expect(() => {+ decrypt(tamperedData, testPassword);+ }).toThrow();+ });++ it("should detect tampering with salt", () => {+ const encrypted = encrypt(testData, testPassword);+ const buffer = Buffer.from(encrypted, "base64");++ // Tamper with salt (bytes 1-33, after version)+ if (buffer.length > 10 && buffer[10] !== undefined) {+ buffer[10] ^= 1;+ }+ const tamperedData = buffer.toString("base64");++ expect(() => {+ decrypt(tamperedData, testPassword);+ }).toThrow();+ });+ });+});diff --git a/packages/utils/src/encryption.ts b/packages/utils/src/encryption.tsnew file mode 100644index 000000000..c941bdf1b--- /dev/null+++ b/packages/utils/src/encryption.ts@@ -0,0 +1,104 @@+import crypto from "node:crypto";++const ALGORITHM = "aes-256-gcm";+const IV_LENGTH = 12; // GCM typically uses 12-byte IVs (NIST SP 800-38D)+const SALT_LENGTH = 32;+const AUTH_TAG_LENGTH = 16;+const VERSION_LENGTH = 1; // For future algorithm migrations+// OWASP 2024 recommendation: minimum 210,000 iterations for PBKDF2-SHA256+const PBKDF2_ITERATIONS = 210000;+const CURRENT_VERSION = 1;++/**+ * Encrypts sensitive data using AES-256-GCM+ * @param text - The plaintext to encrypt+ * @param password - The encryption key (should be from SECRET_PASSWORD env var)+ * @returns Base64 encoded string containing salt, iv, authTag, and encrypted data+ */+export function encrypt(text: string, password: string): string {+ const salt = crypto.randomBytes(SALT_LENGTH);+ const iv = crypto.randomBytes(IV_LENGTH);++ // Derive key from password using PBKDF2+ const key = crypto.pbkdf2Sync(+ password,+ salt,+ PBKDF2_ITERATIONS,+ 32,+ "sha256",+ );++ const cipher = crypto.createCipheriv(ALGORITHM, key, iv, {+ authTagLength: AUTH_TAG_LENGTH,+ });++ const ciphertext = Buffer.concat([+ cipher.update(text, "utf8"),+ cipher.final(),+ ]);++ const authTag = cipher.getAuthTag();++ // Combine version, salt, iv, authTag, and encrypted data+ const version = Buffer.from([CURRENT_VERSION]);+ const combined = Buffer.concat([version, salt, iv, authTag, ciphertext]);++ return combined.toString("base64");+}++/**+ * Decrypts data encrypted with the encrypt function+ * @param encryptedData - Base64 encoded encrypted data+ * @param password - The decryption key (should be from SECRET_PASSWORD env var)+ * @returns The decrypted plaintext+ */+export function decrypt(encryptedData: string, password: string): string {+ const combined = Buffer.from(encryptedData, "base64");+ if (combined.length < VERSION_LENGTH) {+ throw new Error("Invalid encrypted payload");+ }+ // Extract version first+ const version = combined.readUInt8(0);++ if (version !== CURRENT_VERSION) {+ throw new Error(`Unsupported encryption version: ${version}`);+ }++ // Extract components (offset by version)+ const headerLen = VERSION_LENGTH + SALT_LENGTH + IV_LENGTH + AUTH_TAG_LENGTH;+ if (combined.length < headerLen) {+ throw new Error("Invalid encrypted payload");+ }+ const salt = combined.subarray(VERSION_LENGTH, VERSION_LENGTH + SALT_LENGTH);+ const iv = combined.subarray(+ VERSION_LENGTH + SALT_LENGTH,+ VERSION_LENGTH + SALT_LENGTH + IV_LENGTH,+ );+ const authTag = combined.subarray(+ VERSION_LENGTH + SALT_LENGTH + IV_LENGTH,+ VERSION_LENGTH + SALT_LENGTH + IV_LENGTH + AUTH_TAG_LENGTH,+ );+ const encrypted = combined.subarray(+ VERSION_LENGTH + SALT_LENGTH + IV_LENGTH + AUTH_TAG_LENGTH,+ );++ // Derive key from password using PBKDF2+ const key = crypto.pbkdf2Sync(+ password,+ salt,+ PBKDF2_ITERATIONS,+ 32,+ "sha256",+ );++ const decipher = crypto.createDecipheriv(ALGORITHM, key, iv, {+ authTagLength: AUTH_TAG_LENGTH,+ });+ decipher.setAuthTag(authTag);++ const plaintext = Buffer.concat([+ decipher.update(encrypted),+ decipher.final(),+ ]).toString("utf8");+ return plaintext;+}diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex ab452087a..7f1e75a6b 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -113,7 +113,7 @@ importers:version: 5.1.5next:specifier: ^15.4.6- version: 15.4.6(@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])+ version: 15.4.6(@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])next-mdx-remote:specifier: ^5.0.0@@ -195,7 +195,7 @@ importers:version: 5.2.1([email protected]([email protected]))'@next/env':specifier: ^15.3.1- version: 15.3.1+ version: 15.4.6'@panva/hkdf':specifier: ^1.2.1version: 1.2.1@@ -240,7 +240,7 @@ importers:version: link:../../packages/utils'@sentry/nextjs':specifier: ^9.14.0- version: 9.14.0(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])+ version: 9.14.0(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])'@svgr/webpack':specifier: ^8.1.0version: 8.1.0([email protected])@@ -261,7 +261,7 @@ importers:'@trpc/next':specifier: ^11.1.2- version: 11.1.2(@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected](@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected]))(@trpc/[email protected]([email protected]))([email protected](@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected])+ version: 11.1.2(@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected](@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected]))(@trpc/[email protected]([email protected]))([email protected](@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected])'@trpc/react-query':specifier: ^11.1.2version: 11.1.2(@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected])@@ -283,9 +283,12 @@ importers:ai:specifier: ^5.0.41version: 5.0.41([email protected])+ arctic:+ specifier: ^3.7.0+ version: 3.7.0autoprefixer:specifier: ^10.4.13- version: 10.4.21([email protected])+ version: 10.4.21([email protected])calendar-link:specifier: ^2.6.0version: 2.8.0@@ -306,7 +309,10 @@ importers:version: 1.11.13es-toolkit:specifier: ^1.39.9- version: 1.39.9+ version: 1.39.10+ googleapis:+ specifier: ^160.0.0+ version: 160.0.0hono:specifier: ^4.9.7version: 4.9.7@@ -330,7 +336,7 @@ importers:version: 10.7.16iron-session:specifier: ^6.3.1- version: 6.3.1([email protected])([email protected](@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))+ version: 6.3.1([email protected])([email protected](@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))jose:specifier: ^5.9.6version: 5.10.0@@ -360,19 +366,19 @@ importers:version: 5.1.5next:specifier: ^15.4.6- version: 15.4.6(@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])+ version: 15.4.6(@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])next-auth:specifier: ^5.0.0-beta.25- version: 5.0.0-beta.27([email protected](@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])+ version: 5.0.0-beta.27([email protected](@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])next-safe-action:specifier: ^8.0.7- version: 8.0.7([email protected](@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])+ version: 8.0.7([email protected](@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])php-serialize:specifier: ^4.1.1version: 4.1.1postcss:specifier: ^8.4.31- version: 8.5.3+ version: 8.5.6react:specifier: ^19.1.0version: 19.1.0@@ -421,7 +427,7 @@ importers:devDependencies:'@babel/core':specifier: ^7.26.10- version: 7.26.10+ version: 7.28.3'@next/bundle-analyzer':specifier: ^15.4.6version: 15.4.6@@ -1036,18 +1042,10 @@ packages:resolution: {integrity: sha512-60X7qkglvrap8mn1lh2ebxXdZYtUcpd7gsmy9kLaBJ4i/WdY8PqTSdxyA8qraikqKQK5C1KRBKXqznrVapyNaw==}engines: {node: '>=6.9.0'}- '@babel/[email protected]':- resolution: {integrity: sha512-vMqyb7XCDMPvJFFOaT9kxtiRh42GwlZEg1/uIgtZshS5a/8OaduUfCi7kynKgc3Tw/6Uo2D+db9qBttghhmxwQ==}- engines: {node: '>=6.9.0'}-'@babel/[email protected]':resolution: {integrity: sha512-yDBHV9kQNcr2/sUr9jghVyz9C3Y5G2zUM2H2lo+9mKv4sFgbA8s8Z9t8D1jiTkGoO/NoIfKMyKWr4s6CN23ZwQ==}engines: {node: '>=6.9.0'}- '@babel/[email protected]':- resolution: {integrity: sha512-VybsKvpiN1gU1sdMZIp7FcqphVVKEwcuj02x73uvcHE0PTihx1nlBcowYWhDwjpoAXRv43+gDzyggGnn1XZhVw==}- engines: {node: '>=6.9.0'}-'@babel/[email protected]':resolution: {integrity: sha512-3lSpxGgvnmZznmBkCRnVREPUFJv2wrv9iAoFDvADJc0ypmdOxdUtcLeBgBJ6zE0PMeTKnxeQzyk0xTBq4Ep7zw==}engines: {node: '>=6.9.0'}@@ -1097,12 +1095,6 @@ packages:resolution: {integrity: sha512-0gSFWUPNXNopqtIPQvlD5WgXYI5GY2kP2cCvoT8kczjbfcfuIljTbcWrulD1CIPIX2gt1wghbDy08yE1p+/r3w==}engines: {node: '>=6.9.0'}- '@babel/[email protected]':- resolution: {integrity: sha512-xO+xu6B5K2czEnQye6BHA7DolFFmS3LB7stHZFaOLb1pAwO1HWLS8fXA+eh0A2yIvltPVmx3eNNDBJA2SLHXFw==}- engines: {node: '>=6.9.0'}- peerDependencies:- '@babel/core': ^7.0.0-'@babel/[email protected]':resolution: {integrity: sha512-gytXUbs8k2sXS9PnQptz5o0QnpLL51SwASIORY6XaBKF88nsOT0Zw9szLqlSGQDP/4TljBAD5y98p2U1fqkdsw==}engines: {node: '>=6.9.0'}@@ -1165,10 +1157,6 @@ packages:resolution: {integrity: sha512-ETzz9UTjQSTmw39GboatdymDq4XIQbR8ySgVrylRhPOFpsd+JrKHIuF0de7GCWmem+T4uC5z7EZguod7Wj4A4g==}engines: {node: '>=6.9.0'}- '@babel/[email protected]':- resolution: {integrity: sha512-U5eyP/CTFPuNE3qk+WZMxFkp/4zUzdceQlfzf7DdGdhp+Fezd7HD+i8Y24ZuTMKX3wQBld449jijbGq6OdGNQg==}- engines: {node: '>=6.9.0'}-'@babel/[email protected]':resolution: {integrity: sha512-PTNtvUQihsAsDHMOP5pfobP8C6CM4JWXmP8DrEIt46c3r2bf87Ua1zoqevsMo9g+tWDwgWrFP5EIxuBx5RudAw==}engines: {node: '>=6.9.0'}@@ -1629,10 +1617,6 @@ packages:resolution: {integrity: sha512-VtPOkrdPHZsKc/clNqyi9WUA8TINkZ4cGk63UUE3u4pmB2k+ZMQRDuIOagv8UVd6j7k0T3+RRIb7beKTebNbcw==}engines: {node: '>=6.9.0'}- '@babel/[email protected]':- resolution: {integrity: sha512-2ncevenBqXI6qRMukPlXwHKHchC7RyMuu4xv5JBXRfOGVcTy1mXCD12qrp7Jsoxll1EV3+9sE4GugBVRjT2jFA==}- engines: {node: '>=6.9.0'}-'@babel/[email protected]':resolution: {integrity: sha512-LPDZ85aEJyYSd18/DkjNh4/y1ntkE5KwUHWTiqgRxruuZL2F1yuHligVHLvcHY2vMHXttKFpJn6LwfI7cw7ODw==}engines: {node: '>=6.9.0'}@@ -1641,10 +1625,6 @@ packages:resolution: {integrity: sha512-9Vrcx5ZW6UwK5tvqsj0nGpp/XzqthkT0dqIc9g1AdtygFToNtTF67XzYS//dm+SAK9cp3B9R4ZO/46p63SCjlQ==}engines: {node: '>=6.9.0'}- '@babel/[email protected]':- resolution: {integrity: sha512-19lYZFzYVQkkHkl4Cy4WrAVcqBkgvV2YM2TU3xG6DIwO7O3ecbDPfW3yM3bjAGcqcQHi+CCtjMR3dIEHxsd6bA==}- engines: {node: '>=6.9.0'}-'@babel/[email protected]':resolution: {integrity: sha512-7w4kZYHneL3A6NP2nxzHvT3HCZ7puDZZjFMqDpBPECub79sTtSO5CGXDkKrTQq8ksAwfD/XI2MRFX23njdDaIQ==}engines: {node: '>=6.9.0'}@@ -2711,9 +2691,6 @@ packages:'@next/[email protected]':resolution: {integrity: sha512-+SFtMgoiYP3WoSswuNmxJOCwi06TdWE733D+WPjpXIe4LXGULwEaofiiAy6kbS0+XjM5xF5n3lKuBwN2SnqD9g==}- '@next/[email protected]':- resolution: {integrity: sha512-cwK27QdzrMblHSn9DZRV+DQscHXRuJv6MydlJRpFSqJWZrTYMLzKDeyueJNN9MGd8NNiUKzDQADAf+dMLXX7YQ==}-'@next/[email protected]':resolution: {integrity: sha512-yHDKVTcHrZy/8TWhj0B23ylKv5ypocuCwey9ZqPyv4rPdUdRzpGCkSi03t04KBPyU96kxVtUqx6O3nE1kpxASQ==}@@ -3022,6 +2999,24 @@ packages:peerDependencies:'@opentelemetry/api': ^1.1.0+ '@oslojs/[email protected]':+ resolution: {integrity: sha512-zw/wn0sj0j0QKbIXfIlnEcTviaCzYOY3V5rAyjR6YtOByFtJiT574+8p9Wlach0lZH9fddD4yb9laEAIl4vXQA==}++ '@oslojs/[email protected]':+ resolution: {integrity: sha512-9RCU6OwXU6p67H4NODbuxv2S3eenuQ4/WFLrsq+K/k682xrznH5EVWA7N4VFk9VYVcbFtKqur5YQQZc0ySGhsQ==}++ '@oslojs/[email protected]':+ resolution: {integrity: sha512-7n08G8nWjAr/Yu3vu9zzrd0L9XnrJfpMioQcvCMxBIiF5orECHe5/3J0jmXRVvgfqMm/+4oxlQ+Sq39COYLcNQ==}++ '@oslojs/[email protected]':+ resolution: {integrity: sha512-hkjo6MuIK/kQR5CrGNdAPZhS01ZCXuWDRJ187zh6qqF2+yMHZpD9fAYpX8q2bOO6Ryhl3XpCT6kUX76N8hhm4Q==}++ '@oslojs/[email protected]':+ resolution: {integrity: sha512-70wQhgYmndg4GCPxPPxPGevRKqTIJ2Nh4OkiMWmDAVYsTQ+Ta7Sq+rPevXyXGdzr30/qZBnyOalCszoMxlyldQ==}++ '@oslojs/[email protected]':+ resolution: {integrity: sha512-bLE7BtHrURedCn4Mco3ma9L4Y1GR2SMBuIvjWr7rmQ4/W/4Jy70TIAgZ+0nIlk0xHz1vNP8x8DCns45Sb2XRbg==}+'@panva/[email protected]':resolution: {integrity: sha512-6oclG6Y3PiDFcoyk8srjLfVKyMfVCKJ27JwNPViuXziFpmdz+MZnZN/aKY0JGXgYuO/VghU0jcOAZgWXZ1Dmrw==}@@ -5109,6 +5104,9 @@ packages:resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==}engines: {node: '>= 8'}+ resolution: {integrity: sha512-ZMQ+f6VazDgUJOd+qNV+H7GohNSYal1mVjm5kEaZfE2Ifb7Ss70w+Q7xpJC87qZDkMZIXYf0pTIYZA0OPasSbw==}+resolution: {integrity: sha512-ZWc51jO3qegGkVh8Hwpv636EkbesNV5ZNQPCtRa+0qytRYPEs9IYT9qITY9buezqUH5uqyzlWLcufrzU2rffdg==}@@ -5263,6 +5261,9 @@ packages:resolution: {integrity: sha512-aVNobHnJqLiUelTaHat9DZ1qM2w0C0Eym4LPI/3JxOnSokGVdsl1T1kN7TFvsEAD8G47A6VKQ0TVHqbBnYMJlQ==}engines: {node: '>=12.0.0'}+ resolution: {integrity: sha512-Ko0uX15oIUS7wJ3Rb30Fs6SkVbLmPBAKdlm7q9+ak9bbIeFf0MwuBsQV6z7+X768/cHsfg+WlysDWJcmthjsjQ==}+resolution: {integrity: sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==}engines: {node: '>=8'}@@ -5301,6 +5302,9 @@ packages:resolution: {integrity: sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==}+ resolution: {integrity: sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==}+resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==}@@ -5689,6 +5693,10 @@ packages:resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==}+ resolution: {integrity: sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==}+ engines: {node: '>= 12'}+resolution: {integrity: sha512-7hvf7/GW8e86rW0ptuwS3OcBGDjIi6SZva7hCyWC0yYry2cOPmLIjXAUHI6DK2HsnwJd9ifmt57i8eV2n4YNpw==}engines: {node: '>= 14'}@@ -5892,6 +5900,9 @@ packages:resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==}+ resolution: {integrity: sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==}+resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==}@@ -5995,9 +6006,6 @@ packages:resolution: {integrity: sha512-E0iGnTtbDhkeczB0T+mxmoVlT4YNweEKBLq7oaU4p11mecdsZpNWOglI4895Vh4usbQ+LsJiuLuI2L0Vdmfm2w==}- resolution: {integrity: sha512-9OtbkZmTA2Qc9groyA1PUNeb6knVTkvB2RSdr/LcJXDL8IdEakaxwXLHXa7VX/Wj0GmdMJPR3WhnPGhiP3E+qg==}-resolution: {integrity: sha512-4CyanoAudUSBAn5K13H4JhsMH6L9ZP7XbLVe/dKybkxMO7eDyLsT8UHl9TRNrU2Gr9nz+FovfSIjuXWJ81uVwQ==}@@ -6187,6 +6195,10 @@ packages:picomatch:optional: true+ resolution: {integrity: sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==}+ engines: {node: ^12.20 || >= 14.13}+resolution: {integrity: sha512-FJqqoDBR00Mdj9ppamLa/Y7vxm+PRmNWA67N846RvsoYVMKB4q3y/de5PA7gUmRMYK/8CMz2GDZQmCRN1wBcWA==}@@ -6231,6 +6243,10 @@ packages:resolution: {integrity: sha512-wzsgA6WOq+09wrU1tsJ09udeR/YZRaeArL9e1wPbFg3GG2yDnC2ldKpxs4xunpFF9DgqCqOIra3bc1HWrJ37Ww==}engines: {node: '>=0.4.x'}+ resolution: {integrity: sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==}+ engines: {node: '>=12.20.0'}+resolution: {integrity: sha512-alTFZZQDKMporBH77856pXgzhEzaUVmLCDk+egLgIgHst3Tpndzz8MnKe+GzRJRfvVdn69HhpW7cmXzvtLvJAw==}@@ -6294,9 +6310,17 @@ packages:resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==}+ resolution: {integrity: sha512-Odju3uBUJyVCkW64nLD4wKLhbh93bh6vIg/ZIXkWiLPBrdgtc65+tls/qml+un3pr6JqYVFDZbbmLDQT68rTOQ==}+ engines: {node: '>=18'}+resolution: {integrity: sha512-VNx3UEGr+ILJTiMs1+xc5SX1cMgJCrXezKPa003APUWNqQqaF6n25W8VcR7nHN6yRWbvvUTwCpZCFJeWC2kXlw==}+ resolution: {integrity: sha512-UcO3kefx6dCcZkgcTGgVOTFb7b1LlQ02hY1omMjjrrBzkajRMCFgYOjs7J71WqnuG1k2b+9ppGL7FsOfhZMQKQ==}+ engines: {node: '>=18'}+resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==}engines: {node: '>=6.9.0'}@@ -6379,6 +6403,22 @@ packages:resolution: {integrity: sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==}engines: {node: '>= 0.4'}+ resolution: {integrity: sha512-ylSE3RlCRZfZB56PFJSfUCuiuPq83Fx8hqu1KPWGK8FVdSaxlp/qkeMMX/DT/18xkwXIHvXEXkZsljRwfrdEfQ==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-rcX58I7nqpu4mbKztFeOAObbomBbHU2oIb/d3tJfF3dizGSApqtSwYJigGCooHdnMyQBIw8BrWyK96w3YXgr6A==}+ engines: {node: '>=14'}++ resolution: {integrity: sha512-66if47It7y+Sab3HMkwEXx1kCq9qUC9px8ZXoj1CMrmLmUw81GpbnsNlXnlyZyGbGPGcj+tDD9XsZ23m7GLaJQ==}+ engines: {node: '>=18.0.0'}++ resolution: {integrity: sha512-lAGFQVSeYvWKCxeCQKo20xWFFDgnWuJYbLn92IgLrT4UTYVOGdrZ9XTqgWJf316isE9KdfuDY5X8Tu4ZrXSFig==}+ engines: {node: '>=18'}+resolution: {integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==}engines: {node: '>= 0.4'}@@ -6398,6 +6438,10 @@ packages:resolution: {integrity: sha512-5v6yZd4JK3eMI3FqqCouswVqwugaA9r4dNZB1wwcmrD02QkV5H0y7XBQW8QwQqEaZY1pM9aqORSORhJRdNK44Q==}engines: {node: '>=6.0'}+ resolution: {integrity: sha512-+CqsMbHPiSTdtSO14O51eMNlrp9N79gmeqmXeouJOhfucAedHw9noVe/n5uJk3tbKE6a+6ZCQg3RPhVhHByAIw==}+ engines: {node: '>=18'}+resolution: {integrity: sha512-MyTel3FXOdh1qhw1yKhpimQrAmur9q1X0ZigLmCOxouQD+BD3za9/89O+HfbgBQvvh4igEbp0/PUWO+VqGYG1g==}@@ -6966,6 +7010,9 @@ packages:engines: {node: '>=6'}hasBin: true+ resolution: {integrity: sha512-SiPv/8VpZuWbvLSMtTDU8hEfrZWg/mH/nV/b4o0CYbSxu1UIQPLdwKOCIyLQX+VIPO5vrLX3i8qtqFyhdPSUSQ==}+resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==}@@ -6998,6 +7045,12 @@ packages:resolution: {integrity: sha512-p/nXbhSEcu3pZRdkW1OfJhpsVtW1gd4Wa1fnQc9YLiTfAjn0312eMKimbdIQzuZl9aa9xUGaRlP9T/CJE/ditQ==}engines: {node: '>=0.10.0'}+ resolution: {integrity: sha512-hRF04fqJIP8Abbkq5NKGN0Bbr3JxlQ+qhZufXVr0DvujKy93ZCbXZMHDL4EOtodSbCWxOqR8MS1tXA5hwqCXDg==}++ resolution: {integrity: sha512-KDncfTmOZoOMTFG4mBlG0qUIOlc03fmzH+ru6RgYVZhPkyiy/92Owlt/8UEN+a4TXR1FQetfIpJE8ApdvdVxTg==}+resolution: {integrity: sha512-XCHRdUw4lf3SKBaJe4EvgqIuWwkPSo9XoeO8GjQW94Bp7TWv9hNhzZjZ+OH9yf1UmLygb7DIT5GSFQiyt16zYg==}hasBin: true@@ -7615,6 +7668,11 @@ packages:resolution: {integrity: sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==}+ resolution: {integrity: sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==}+ engines: {node: '>=10.5.0'}+ deprecated: Use your platform's native DOMException instead+resolution: {integrity: sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==}engines: {node: 4.x || >=6.0.0}@@ -7633,6 +7691,10 @@ packages:encoding:optional: true+ resolution: {integrity: sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA==}+ engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}+resolution: {integrity: sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==}@@ -7929,10 +7991,6 @@ packages:resolution: {integrity: sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==}engines: {node: ^10 || ^12 || >=14}- resolution: {integrity: sha512-dle9A3yYxlBSrt8Fu+IpjGT8SY8hN0mlaA6GY8t0P5PjIOZemULz/E2Bnm/2dcUOena75OTNkHI76uZBNUUq3A==}- engines: {node: ^10 || ^12 || >=14}-resolution: {integrity: sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==}engines: {node: ^10 || ^12 || >=14}@@ -9187,6 +9245,9 @@ packages:resolution: {integrity: sha512-HXgFDgDommxn5/bIv0cnQZsPhHDA90NPHD6+c/v21U5+Sx5hoP8+dP9IZXBU1gIfvdRfhG8cel9QNPeionfcCQ==}+ resolution: {integrity: sha512-XdVKMF4SJ0nP/O7XIPB0JwAEuT9lDIYnNsK8yGVe43y0AWoKeJNdv3ZNWh7ksJ6KqQFjOO6ox/VEitLnaVNufw==}+resolution: {integrity: sha512-H/A06tKD7sS1O1X2SshBVeA5FLycRpjqiBeqGKmBwBDBy28EnRjORxTNe269KSSr5un5qyWi1iL61wLxpd+ZOg==}@@ -9348,6 +9409,10 @@ packages:resolution: {integrity: sha512-bKr1DkiNa2krS7qxNtdrtHAmzuYGFQLiQ13TsorsdT6ULTkPLKuu5+GsFpDlg6JFjUTwX2DyhMPG2be8uPrqsQ==}+ resolution: {integrity: sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==}+ engines: {node: '>= 8'}+resolution: {integrity: sha512-r4DIlprAGwJ7YM11VZp4R884m0Vmgr6EAKe3P+kO0PPj3Unqyvv59rczf6UiGcb9Z8QxZVcqKNwv/g0WNdWwsw==}@@ -10196,26 +10261,6 @@ snapshots:'@babel/[email protected]': {}- '@babel/[email protected]':- dependencies:- '@ampproject/remapping': 2.3.0- '@babel/code-frame': 7.26.2- '@babel/generator': 7.27.0- '@babel/helper-compilation-targets': 7.27.0- '@babel/helper-module-transforms': 7.26.0(@babel/[email protected])- '@babel/helpers': 7.27.0- '@babel/parser': 7.27.0- '@babel/template': 7.27.0- '@babel/traverse': 7.27.0- '@babel/types': 7.27.0- convert-source-map: 2.0.0- debug: 4.4.0- gensync: 1.0.0-beta.2- json5: 2.2.3- semver: 6.3.1- transitivePeerDependencies:- - supports-color-'@babel/[email protected]':dependencies:'@ampproject/remapping': 2.3.0@@ -10236,14 +10281,6 @@ snapshots:transitivePeerDependencies:- supports-color- '@babel/[email protected]':- dependencies:- '@babel/parser': 7.27.0- '@babel/types': 7.27.0- '@jridgewell/gen-mapping': 0.3.8- '@jridgewell/trace-mapping': 0.3.25- jsesc: 3.1.0-'@babel/[email protected]':dependencies:'@babel/parser': 7.28.3@@ -10254,7 +10291,7 @@ snapshots:'@babel/[email protected]':dependencies:- '@babel/types': 7.27.0+ '@babel/types': 7.28.2'@babel/[email protected]':dependencies:@@ -10272,30 +10309,30 @@ snapshots:lru-cache: 5.1.1semver: 6.3.1- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-annotate-as-pure': 7.25.9'@babel/helper-member-expression-to-functions': 7.25.9'@babel/helper-optimise-call-expression': 7.25.9- '@babel/helper-replace-supers': 7.26.5(@babel/[email protected])+ '@babel/helper-replace-supers': 7.26.5(@babel/[email protected])'@babel/helper-skip-transparent-expression-wrappers': 7.25.9- '@babel/traverse': 7.27.0+ '@babel/traverse': 7.28.3semver: 6.3.1transitivePeerDependencies:- supports-color- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-annotate-as-pure': 7.25.9regexpu-core: 6.2.0semver: 6.3.1- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10- '@babel/helper-compilation-targets': 7.27.0+ '@babel/core': 7.28.3+ '@babel/helper-compilation-targets': 7.27.2'@babel/helper-plugin-utils': 7.26.5debug: 4.4.0lodash.debounce: 4.0.8@@ -10307,15 +10344,15 @@ snapshots:'@babel/[email protected]':dependencies:- '@babel/traverse': 7.27.0- '@babel/types': 7.27.0+ '@babel/traverse': 7.28.3+ '@babel/types': 7.28.2transitivePeerDependencies:- supports-color'@babel/[email protected]':dependencies:- '@babel/traverse': 7.27.0- '@babel/types': 7.27.0+ '@babel/traverse': 7.28.3+ '@babel/types': 7.28.2transitivePeerDependencies:- supports-color@@ -10326,15 +10363,6 @@ snapshots:transitivePeerDependencies:- supports-color- '@babel/[email protected](@babel/[email protected])':- dependencies:- '@babel/core': 7.26.10- '@babel/helper-module-imports': 7.25.9- '@babel/helper-validator-identifier': 7.25.9- '@babel/traverse': 7.27.0- transitivePeerDependencies:- - supports-color-'@babel/[email protected](@babel/[email protected])':dependencies:'@babel/core': 7.28.3@@ -10346,34 +10374,34 @@ snapshots:'@babel/[email protected]':dependencies:- '@babel/types': 7.27.0+ '@babel/types': 7.28.2'@babel/[email protected]': {}'@babel/[email protected]': {}- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-annotate-as-pure': 7.25.9'@babel/helper-wrap-function': 7.25.9- '@babel/traverse': 7.27.0+ '@babel/traverse': 7.28.3transitivePeerDependencies:- supports-color- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-member-expression-to-functions': 7.25.9'@babel/helper-optimise-call-expression': 7.25.9- '@babel/traverse': 7.27.0+ '@babel/traverse': 7.28.3transitivePeerDependencies:- supports-color'@babel/[email protected]':dependencies:- '@babel/traverse': 7.27.0- '@babel/types': 7.27.0+ '@babel/traverse': 7.28.3+ '@babel/types': 7.28.2transitivePeerDependencies:- supports-color@@ -10391,17 +10419,12 @@ snapshots:'@babel/[email protected]':dependencies:- '@babel/template': 7.27.0- '@babel/traverse': 7.27.0- '@babel/types': 7.27.0+ '@babel/template': 7.27.2+ '@babel/traverse': 7.28.3+ '@babel/types': 7.28.2transitivePeerDependencies:- supports-color- '@babel/[email protected]':- dependencies:- '@babel/template': 7.27.0- '@babel/types': 7.27.0-'@babel/[email protected]':dependencies:'@babel/template': 7.27.2@@ -10409,346 +10432,346 @@ snapshots:'@babel/[email protected]':dependencies:- '@babel/types': 7.27.0+ '@babel/types': 7.28.2'@babel/[email protected]':dependencies:- '@babel/types': 7.27.0+ '@babel/types': 7.28.2'@babel/[email protected]':dependencies:'@babel/types': 7.28.2- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5- '@babel/traverse': 7.27.0+ '@babel/traverse': 7.28.3transitivePeerDependencies:- supports-color- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5- '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.25.9(@babel/[email protected])':+ '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.25.9(@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5'@babel/helper-skip-transparent-expression-wrappers': 7.25.9- '@babel/plugin-transform-optional-chaining': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-optional-chaining': 7.25.9(@babel/[email protected])transitivePeerDependencies:- supports-color- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5- '@babel/traverse': 7.27.0+ '@babel/traverse': 7.28.3transitivePeerDependencies:- supports-color- '@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2(@babel/[email protected])':+ '@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2(@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10- '@babel/helper-create-regexp-features-plugin': 7.27.0(@babel/[email protected])+ '@babel/core': 7.28.3+ '@babel/helper-create-regexp-features-plugin': 7.27.0(@babel/[email protected])'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5- '@babel/helper-remap-async-to-generator': 7.25.9(@babel/[email protected])- '@babel/traverse': 7.27.0+ '@babel/helper-remap-async-to-generator': 7.25.9(@babel/[email protected])+ '@babel/traverse': 7.28.3transitivePeerDependencies:- supports-color- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-module-imports': 7.25.9'@babel/helper-plugin-utils': 7.26.5- '@babel/helper-remap-async-to-generator': 7.25.9(@babel/[email protected])+ '@babel/helper-remap-async-to-generator': 7.25.9(@babel/[email protected])transitivePeerDependencies:- supports-color- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10- '@babel/helper-create-class-features-plugin': 7.27.0(@babel/[email protected])+ '@babel/core': 7.28.3+ '@babel/helper-create-class-features-plugin': 7.27.0(@babel/[email protected])'@babel/helper-plugin-utils': 7.26.5transitivePeerDependencies:- supports-color- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10- '@babel/helper-create-class-features-plugin': 7.27.0(@babel/[email protected])+ '@babel/core': 7.28.3+ '@babel/helper-create-class-features-plugin': 7.27.0(@babel/[email protected])'@babel/helper-plugin-utils': 7.26.5transitivePeerDependencies:- supports-color- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-annotate-as-pure': 7.25.9- '@babel/helper-compilation-targets': 7.27.0+ '@babel/helper-compilation-targets': 7.27.2'@babel/helper-plugin-utils': 7.26.5- '@babel/helper-replace-supers': 7.26.5(@babel/[email protected])- '@babel/traverse': 7.27.0+ '@babel/helper-replace-supers': 7.26.5(@babel/[email protected])+ '@babel/traverse': 7.28.3globals: 11.12.0transitivePeerDependencies:- supports-color- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5- '@babel/template': 7.27.0+ '@babel/template': 7.27.2- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10- '@babel/helper-create-regexp-features-plugin': 7.27.0(@babel/[email protected])+ '@babel/core': 7.28.3+ '@babel/helper-create-regexp-features-plugin': 7.27.0(@babel/[email protected])'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10- '@babel/helper-create-regexp-features-plugin': 7.27.0(@babel/[email protected])+ '@babel/core': 7.28.3+ '@babel/helper-create-regexp-features-plugin': 7.27.0(@babel/[email protected])'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5'@babel/helper-skip-transparent-expression-wrappers': 7.25.9transitivePeerDependencies:- supports-color- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10- '@babel/helper-compilation-targets': 7.27.0+ '@babel/core': 7.28.3+ '@babel/helper-compilation-targets': 7.27.2'@babel/helper-plugin-utils': 7.26.5- '@babel/traverse': 7.27.0+ '@babel/traverse': 7.28.3transitivePeerDependencies:- supports-color- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10- '@babel/helper-module-transforms': 7.26.0(@babel/[email protected])+ '@babel/core': 7.28.3+ '@babel/helper-module-transforms': 7.28.3(@babel/[email protected])'@babel/helper-plugin-utils': 7.26.5transitivePeerDependencies:- supports-color- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10- '@babel/helper-module-transforms': 7.26.0(@babel/[email protected])+ '@babel/core': 7.28.3+ '@babel/helper-module-transforms': 7.28.3(@babel/[email protected])'@babel/helper-plugin-utils': 7.26.5transitivePeerDependencies:- supports-color- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10- '@babel/helper-module-transforms': 7.26.0(@babel/[email protected])+ '@babel/core': 7.28.3+ '@babel/helper-module-transforms': 7.28.3(@babel/[email protected])'@babel/helper-plugin-utils': 7.26.5'@babel/helper-validator-identifier': 7.25.9- '@babel/traverse': 7.27.0+ '@babel/traverse': 7.28.3transitivePeerDependencies:- supports-color- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10- '@babel/helper-module-transforms': 7.26.0(@babel/[email protected])+ '@babel/core': 7.28.3+ '@babel/helper-module-transforms': 7.28.3(@babel/[email protected])'@babel/helper-plugin-utils': 7.26.5transitivePeerDependencies:- supports-color- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10- '@babel/helper-create-regexp-features-plugin': 7.27.0(@babel/[email protected])+ '@babel/core': 7.28.3+ '@babel/helper-create-regexp-features-plugin': 7.27.0(@babel/[email protected])'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10- '@babel/helper-compilation-targets': 7.27.0+ '@babel/core': 7.28.3+ '@babel/helper-compilation-targets': 7.27.2'@babel/helper-plugin-utils': 7.26.5- '@babel/plugin-transform-parameters': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-parameters': 7.25.9(@babel/[email protected])- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5- '@babel/helper-replace-supers': 7.26.5(@babel/[email protected])+ '@babel/helper-replace-supers': 7.26.5(@babel/[email protected])transitivePeerDependencies:- supports-color- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5'@babel/helper-skip-transparent-expression-wrappers': 7.25.9transitivePeerDependencies:- supports-color- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10- '@babel/helper-create-class-features-plugin': 7.27.0(@babel/[email protected])+ '@babel/core': 7.28.3+ '@babel/helper-create-class-features-plugin': 7.27.0(@babel/[email protected])'@babel/helper-plugin-utils': 7.26.5transitivePeerDependencies:- supports-color- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-annotate-as-pure': 7.25.9- '@babel/helper-create-class-features-plugin': 7.27.0(@babel/[email protected])+ '@babel/helper-create-class-features-plugin': 7.27.0(@babel/[email protected])'@babel/helper-plugin-utils': 7.26.5transitivePeerDependencies:- supports-color- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10- '@babel/plugin-transform-react-jsx': 7.25.9(@babel/[email protected])+ '@babel/core': 7.28.3+ '@babel/plugin-transform-react-jsx': 7.25.9(@babel/[email protected])transitivePeerDependencies:- supports-color@@ -10762,204 +10785,204 @@ snapshots:'@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.27.1- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-annotate-as-pure': 7.25.9'@babel/helper-module-imports': 7.25.9'@babel/helper-plugin-utils': 7.26.5- '@babel/plugin-syntax-jsx': 7.25.9(@babel/[email protected])- '@babel/types': 7.27.0+ '@babel/plugin-syntax-jsx': 7.25.9(@babel/[email protected])+ '@babel/types': 7.28.2transitivePeerDependencies:- supports-color- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-annotate-as-pure': 7.25.9'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5regenerator-transform: 0.15.2- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10- '@babel/helper-create-regexp-features-plugin': 7.27.0(@babel/[email protected])+ '@babel/core': 7.28.3+ '@babel/helper-create-regexp-features-plugin': 7.27.0(@babel/[email protected])'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5'@babel/helper-skip-transparent-expression-wrappers': 7.25.9transitivePeerDependencies:- supports-color- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-annotate-as-pure': 7.25.9- '@babel/helper-create-class-features-plugin': 7.27.0(@babel/[email protected])+ '@babel/helper-create-class-features-plugin': 7.27.0(@babel/[email protected])'@babel/helper-plugin-utils': 7.26.5'@babel/helper-skip-transparent-expression-wrappers': 7.25.9- '@babel/plugin-syntax-typescript': 7.25.9(@babel/[email protected])+ '@babel/plugin-syntax-typescript': 7.25.9(@babel/[email protected])transitivePeerDependencies:- supports-color- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10- '@babel/helper-create-regexp-features-plugin': 7.27.0(@babel/[email protected])+ '@babel/core': 7.28.3+ '@babel/helper-create-regexp-features-plugin': 7.27.0(@babel/[email protected])'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10- '@babel/helper-create-regexp-features-plugin': 7.27.0(@babel/[email protected])+ '@babel/core': 7.28.3+ '@babel/helper-create-regexp-features-plugin': 7.27.0(@babel/[email protected])'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10- '@babel/helper-create-regexp-features-plugin': 7.27.0(@babel/[email protected])+ '@babel/core': 7.28.3+ '@babel/helper-create-regexp-features-plugin': 7.27.0(@babel/[email protected])'@babel/helper-plugin-utils': 7.26.5- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:'@babel/compat-data': 7.26.8- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-compilation-targets': 7.27.0'@babel/helper-plugin-utils': 7.26.5'@babel/helper-validator-option': 7.25.9- '@babel/plugin-bugfix-firefox-class-in-computed-class-key': 7.25.9(@babel/[email protected])- '@babel/plugin-bugfix-safari-class-field-initializer-scope': 7.25.9(@babel/[email protected])- '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression': 7.25.9(@babel/[email protected])- '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining': 7.25.9(@babel/[email protected])- '@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly': 7.25.9(@babel/[email protected])- '@babel/plugin-proposal-private-property-in-object': 7.21.0-placeholder-for-preset-env.2(@babel/[email protected])- '@babel/plugin-syntax-import-assertions': 7.26.0(@babel/[email protected])- '@babel/plugin-syntax-import-attributes': 7.26.0(@babel/[email protected])- '@babel/plugin-syntax-unicode-sets-regex': 7.18.6(@babel/[email protected])- '@babel/plugin-transform-arrow-functions': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-async-generator-functions': 7.26.8(@babel/[email protected])- '@babel/plugin-transform-async-to-generator': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-block-scoped-functions': 7.26.5(@babel/[email protected])- '@babel/plugin-transform-block-scoping': 7.27.0(@babel/[email protected])- '@babel/plugin-transform-class-properties': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-class-static-block': 7.26.0(@babel/[email protected])- '@babel/plugin-transform-classes': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-computed-properties': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-destructuring': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-dotall-regex': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-duplicate-keys': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-duplicate-named-capturing-groups-regex': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-dynamic-import': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-exponentiation-operator': 7.26.3(@babel/[email protected])- '@babel/plugin-transform-export-namespace-from': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-for-of': 7.26.9(@babel/[email protected])- '@babel/plugin-transform-function-name': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-json-strings': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-literals': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-logical-assignment-operators': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-member-expression-literals': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-modules-amd': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-modules-commonjs': 7.26.3(@babel/[email protected])- '@babel/plugin-transform-modules-systemjs': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-modules-umd': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-named-capturing-groups-regex': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-new-target': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-nullish-coalescing-operator': 7.26.6(@babel/[email protected])- '@babel/plugin-transform-numeric-separator': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-object-rest-spread': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-object-super': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-optional-catch-binding': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-optional-chaining': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-parameters': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-private-methods': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-private-property-in-object': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-property-literals': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-regenerator': 7.27.0(@babel/[email protected])- '@babel/plugin-transform-regexp-modifiers': 7.26.0(@babel/[email protected])- '@babel/plugin-transform-reserved-words': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-shorthand-properties': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-spread': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-sticky-regex': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-template-literals': 7.26.8(@babel/[email protected])- '@babel/plugin-transform-typeof-symbol': 7.27.0(@babel/[email protected])- '@babel/plugin-transform-unicode-escapes': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-unicode-property-regex': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-unicode-regex': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-unicode-sets-regex': 7.25.9(@babel/[email protected])- '@babel/preset-modules': 0.1.6-no-external-plugins(@babel/[email protected])- babel-plugin-polyfill-corejs2: 0.4.13(@babel/[email protected])- babel-plugin-polyfill-corejs3: 0.11.1(@babel/[email protected])- babel-plugin-polyfill-regenerator: 0.6.4(@babel/[email protected])+ '@babel/plugin-bugfix-firefox-class-in-computed-class-key': 7.25.9(@babel/[email protected])+ '@babel/plugin-bugfix-safari-class-field-initializer-scope': 7.25.9(@babel/[email protected])+ '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression': 7.25.9(@babel/[email protected])+ '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining': 7.25.9(@babel/[email protected])+ '@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly': 7.25.9(@babel/[email protected])+ '@babel/plugin-proposal-private-property-in-object': 7.21.0-placeholder-for-preset-env.2(@babel/[email protected])+ '@babel/plugin-syntax-import-assertions': 7.26.0(@babel/[email protected])+ '@babel/plugin-syntax-import-attributes': 7.26.0(@babel/[email protected])+ '@babel/plugin-syntax-unicode-sets-regex': 7.18.6(@babel/[email protected])+ '@babel/plugin-transform-arrow-functions': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-async-generator-functions': 7.26.8(@babel/[email protected])+ '@babel/plugin-transform-async-to-generator': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-block-scoped-functions': 7.26.5(@babel/[email protected])+ '@babel/plugin-transform-block-scoping': 7.27.0(@babel/[email protected])+ '@babel/plugin-transform-class-properties': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-class-static-block': 7.26.0(@babel/[email protected])+ '@babel/plugin-transform-classes': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-computed-properties': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-destructuring': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-dotall-regex': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-duplicate-keys': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-duplicate-named-capturing-groups-regex': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-dynamic-import': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-exponentiation-operator': 7.26.3(@babel/[email protected])+ '@babel/plugin-transform-export-namespace-from': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-for-of': 7.26.9(@babel/[email protected])+ '@babel/plugin-transform-function-name': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-json-strings': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-literals': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-logical-assignment-operators': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-member-expression-literals': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-modules-amd': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-modules-commonjs': 7.26.3(@babel/[email protected])+ '@babel/plugin-transform-modules-systemjs': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-modules-umd': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-named-capturing-groups-regex': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-new-target': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-nullish-coalescing-operator': 7.26.6(@babel/[email protected])+ '@babel/plugin-transform-numeric-separator': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-object-rest-spread': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-object-super': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-optional-catch-binding': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-optional-chaining': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-parameters': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-private-methods': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-private-property-in-object': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-property-literals': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-regenerator': 7.27.0(@babel/[email protected])+ '@babel/plugin-transform-regexp-modifiers': 7.26.0(@babel/[email protected])+ '@babel/plugin-transform-reserved-words': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-shorthand-properties': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-spread': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-sticky-regex': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-template-literals': 7.26.8(@babel/[email protected])+ '@babel/plugin-transform-typeof-symbol': 7.27.0(@babel/[email protected])+ '@babel/plugin-transform-unicode-escapes': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-unicode-property-regex': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-unicode-regex': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-unicode-sets-regex': 7.25.9(@babel/[email protected])+ '@babel/preset-modules': 0.1.6-no-external-plugins(@babel/[email protected])+ babel-plugin-polyfill-corejs2: 0.4.13(@babel/[email protected])+ babel-plugin-polyfill-corejs3: 0.11.1(@babel/[email protected])+ babel-plugin-polyfill-regenerator: 0.6.4(@babel/[email protected])core-js-compat: 3.41.0semver: 6.3.1transitivePeerDependencies:- supports-color- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5- '@babel/types': 7.27.0+ '@babel/types': 7.28.2esutils: 2.0.3- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5'@babel/helper-validator-option': 7.25.9- '@babel/plugin-transform-react-display-name': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-react-jsx': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-react-jsx-development': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-react-pure-annotations': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-react-display-name': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-react-jsx': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-react-jsx-development': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-react-pure-annotations': 7.25.9(@babel/[email protected])transitivePeerDependencies:- supports-color- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@babel/helper-plugin-utils': 7.26.5'@babel/helper-validator-option': 7.25.9- '@babel/plugin-syntax-jsx': 7.25.9(@babel/[email protected])- '@babel/plugin-transform-modules-commonjs': 7.26.3(@babel/[email protected])- '@babel/plugin-transform-typescript': 7.27.0(@babel/[email protected])+ '@babel/plugin-syntax-jsx': 7.25.9(@babel/[email protected])+ '@babel/plugin-transform-modules-commonjs': 7.26.3(@babel/[email protected])+ '@babel/plugin-transform-typescript': 7.27.0(@babel/[email protected])transitivePeerDependencies:- supports-color@@ -10967,12 +10990,6 @@ snapshots:dependencies:regenerator-runtime: 0.14.1- '@babel/[email protected]':- dependencies:- '@babel/code-frame': 7.26.2- '@babel/parser': 7.27.0- '@babel/types': 7.27.0-'@babel/[email protected]':dependencies:'@babel/code-frame': 7.27.1@@ -10981,23 +10998,11 @@ snapshots:'@babel/[email protected]':dependencies:- '@babel/code-frame': 7.26.2- '@babel/generator': 7.27.0- '@babel/parser': 7.27.0- '@babel/template': 7.27.0- '@babel/types': 7.27.0- debug: 4.4.0- globals: 11.12.0- transitivePeerDependencies:- - supports-color-- '@babel/[email protected]':- dependencies:- '@babel/code-frame': 7.26.2- '@babel/generator': 7.27.0- '@babel/parser': 7.27.0- '@babel/template': 7.27.0- '@babel/types': 7.27.0+ '@babel/code-frame': 7.27.1+ '@babel/generator': 7.28.3+ '@babel/parser': 7.28.3+ '@babel/template': 7.27.2+ '@babel/types': 7.28.2debug: 4.4.0globals: 11.12.0transitivePeerDependencies:@@ -12016,8 +12021,6 @@ snapshots:'@next/[email protected]': {}- '@next/[email protected]': {}-'@next/[email protected]': {}'@next/[email protected]':@@ -12335,6 +12338,25 @@ snapshots:'@opentelemetry/api': 1.9.0'@opentelemetry/core': 1.30.1(@opentelemetry/[email protected])+ '@oslojs/[email protected]':+ dependencies:+ '@oslojs/binary': 1.0.0++ '@oslojs/[email protected]': {}++ '@oslojs/[email protected]':+ dependencies:+ '@oslojs/asn1': 1.0.0+ '@oslojs/binary': 1.0.0++ '@oslojs/[email protected]': {}++ '@oslojs/[email protected]': {}++ '@oslojs/[email protected]':+ dependencies:+ '@oslojs/encoding': 0.4.1+'@panva/[email protected]': {}'@peculiar/[email protected]':@@ -13225,7 +13247,7 @@ snapshots:'@sentry/[email protected]':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3'@sentry/babel-plugin-component-annotate': 3.3.1'@sentry/cli': 2.42.2dotenv: 16.5.0@@ -13279,7 +13301,7 @@ snapshots:'@sentry/[email protected]': {}- '@sentry/[email protected](@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])':+ '@sentry/[email protected](@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])':dependencies:'@opentelemetry/api': 1.9.0'@opentelemetry/semantic-conventions': 1.32.0@@ -13292,7 +13314,7 @@ snapshots:'@sentry/vercel-edge': 9.14.0'@sentry/webpack-plugin': 3.3.1([email protected])chalk: 3.0.0- next: 15.4.6(@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])+ next: 15.4.6(@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])resolve: 1.22.8rollup: 4.35.0stacktrace-parser: 0.1.11@@ -13906,54 +13928,54 @@ snapshots:'@stoplight/yaml-ast-parser': 0.0.50tslib: 2.8.1- '@svgr/[email protected](@babel/[email protected])':+ '@svgr/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3- '@svgr/[email protected](@babel/[email protected])':+ '@svgr/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3- '@svgr/[email protected](@babel/[email protected])':+ '@svgr/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3- '@svgr/[email protected](@babel/[email protected])':+ '@svgr/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3- '@svgr/[email protected](@babel/[email protected])':+ '@svgr/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3- '@svgr/[email protected](@babel/[email protected])':+ '@svgr/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3- '@svgr/[email protected](@babel/[email protected])':+ '@svgr/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3- '@svgr/[email protected](@babel/[email protected])':+ '@svgr/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3- '@svgr/[email protected](@babel/[email protected])':+ '@svgr/[email protected](@babel/[email protected])':dependencies:- '@babel/core': 7.26.10- '@svgr/babel-plugin-add-jsx-attribute': 8.0.0(@babel/[email protected])- '@svgr/babel-plugin-remove-jsx-attribute': 8.0.0(@babel/[email protected])- '@svgr/babel-plugin-remove-jsx-empty-expression': 8.0.0(@babel/[email protected])- '@svgr/babel-plugin-replace-jsx-attribute-value': 8.0.0(@babel/[email protected])- '@svgr/babel-plugin-svg-dynamic-title': 8.0.0(@babel/[email protected])- '@svgr/babel-plugin-svg-em-dimensions': 8.0.0(@babel/[email protected])- '@svgr/babel-plugin-transform-react-native-svg': 8.1.0(@babel/[email protected])- '@svgr/babel-plugin-transform-svg-component': 8.0.0(@babel/[email protected])+ '@babel/core': 7.28.3+ '@svgr/babel-plugin-add-jsx-attribute': 8.0.0(@babel/[email protected])+ '@svgr/babel-plugin-remove-jsx-attribute': 8.0.0(@babel/[email protected])+ '@svgr/babel-plugin-remove-jsx-empty-expression': 8.0.0(@babel/[email protected])+ '@svgr/babel-plugin-replace-jsx-attribute-value': 8.0.0(@babel/[email protected])+ '@svgr/babel-plugin-svg-dynamic-title': 8.0.0(@babel/[email protected])+ '@svgr/babel-plugin-svg-em-dimensions': 8.0.0(@babel/[email protected])+ '@svgr/babel-plugin-transform-react-native-svg': 8.1.0(@babel/[email protected])+ '@svgr/babel-plugin-transform-svg-component': 8.0.0(@babel/[email protected])'@svgr/[email protected]([email protected])':dependencies:- '@babel/core': 7.26.10- '@svgr/babel-preset': 8.1.0(@babel/[email protected])+ '@babel/core': 7.28.3+ '@svgr/babel-preset': 8.1.0(@babel/[email protected])camelcase: 6.3.0cosmiconfig: 8.3.6([email protected])snake-case: 3.0.4@@ -13963,13 +13985,13 @@ snapshots:'@svgr/[email protected]':dependencies:- '@babel/types': 7.27.0+ '@babel/types': 7.28.2entities: 4.5.0dependencies:- '@babel/core': 7.26.10- '@svgr/babel-preset': 8.1.0(@babel/[email protected])+ '@babel/core': 7.28.3+ '@svgr/babel-preset': 8.1.0(@babel/[email protected])'@svgr/core': 8.1.0([email protected])'@svgr/hast-util-to-babel-ast': 8.0.0svg-parser: 2.0.4@@ -13987,11 +14009,11 @@ snapshots:'@svgr/[email protected]([email protected])':dependencies:- '@babel/core': 7.26.10- '@babel/plugin-transform-react-constant-elements': 7.25.9(@babel/[email protected])- '@babel/preset-env': 7.26.9(@babel/[email protected])- '@babel/preset-react': 7.26.3(@babel/[email protected])- '@babel/preset-typescript': 7.27.0(@babel/[email protected])+ '@babel/core': 7.28.3+ '@babel/plugin-transform-react-constant-elements': 7.25.9(@babel/[email protected])+ '@babel/preset-env': 7.26.9(@babel/[email protected])+ '@babel/preset-react': 7.26.3(@babel/[email protected])+ '@babel/preset-typescript': 7.27.0(@babel/[email protected])'@svgr/core': 8.1.0([email protected])'@svgr/plugin-jsx': 8.1.0(@svgr/[email protected]([email protected]))@@ -14095,11 +14117,11 @@ snapshots:'@trpc/server': 11.1.2([email protected])typescript: 5.8.3- '@trpc/[email protected](@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected](@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected]))(@trpc/[email protected]([email protected]))([email protected](@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected])':+ '@trpc/[email protected](@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected](@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected]))(@trpc/[email protected]([email protected]))([email protected](@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected])':dependencies:'@trpc/server': 11.1.2([email protected])- next: 15.4.6(@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])+ next: 15.4.6(@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])react: 19.1.0react-dom: 19.1.0([email protected])typescript: 5.8.3@@ -14142,12 +14164,12 @@ snapshots:'@types/[email protected]':dependencies:- '@babel/types': 7.27.0+ '@babel/types': 7.28.2'@types/[email protected]':dependencies:- '@babel/parser': 7.27.0- '@babel/types': 7.27.0+ '@babel/parser': 7.28.3+ '@babel/types': 7.28.2'@types/[email protected]':dependencies:@@ -14388,7 +14410,7 @@ snapshots:'@vercel/[email protected]([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])':optionalDependencies:- next: 15.4.6(@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])+ next: 15.4.6(@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])react: 19.1.0'@vercel/[email protected](@aws-sdk/[email protected])':@@ -14660,6 +14682,12 @@ snapshots:normalize-path: 3.0.0picomatch: 2.3.1+ dependencies:+ '@oslojs/crypto': 1.0.1+ '@oslojs/encoding': 1.1.0+ '@oslojs/jwt': 0.2.0+@@ -14724,16 +14752,6 @@ snapshots:- dependencies:- browserslist: 4.24.4- caniuse-lite: 1.0.30001715- fraction.js: 4.3.7- normalize-range: 0.1.2- picocolors: 1.1.1- postcss: 8.5.3- postcss-value-parser: 4.2.0-dependencies:browserslist: 4.24.4@@ -14760,27 +14778,27 @@ snapshots:- [email protected](@babel/[email protected]):+ [email protected](@babel/[email protected]):dependencies:'@babel/compat-data': 7.26.8- '@babel/core': 7.26.10- '@babel/helper-define-polyfill-provider': 0.6.4(@babel/[email protected])+ '@babel/core': 7.28.3+ '@babel/helper-define-polyfill-provider': 0.6.4(@babel/[email protected])semver: 6.3.1transitivePeerDependencies:- supports-color- [email protected](@babel/[email protected]):+ [email protected](@babel/[email protected]):dependencies:- '@babel/core': 7.26.10- '@babel/helper-define-polyfill-provider': 0.6.4(@babel/[email protected])+ '@babel/core': 7.28.3+ '@babel/helper-define-polyfill-provider': 0.6.4(@babel/[email protected])core-js-compat: 3.41.0transitivePeerDependencies:- supports-color- [email protected](@babel/[email protected]):+ [email protected](@babel/[email protected]):dependencies:- '@babel/core': 7.26.10- '@babel/helper-define-polyfill-provider': 0.6.4(@babel/[email protected])+ '@babel/core': 7.28.3+ '@babel/helper-define-polyfill-provider': 0.6.4(@babel/[email protected])transitivePeerDependencies:- supports-color@@ -14823,6 +14841,8 @@ snapshots:dependencies:open: 8.4.2+ [email protected]: {}+@@ -14880,6 +14900,8 @@ snapshots:+ [email protected]: {}+@@ -15255,6 +15277,8 @@ snapshots:+ [email protected]: {}+@@ -15434,6 +15458,10 @@ snapshots:+ dependencies:+ safe-buffer: 5.2.1+@@ -15590,8 +15618,6 @@ snapshots:- [email protected]: {}-dependencies:'@types/estree-jsx': 1.0.5@@ -15876,6 +15902,11 @@ snapshots:optionalDependencies:picomatch: 4.0.2+ dependencies:+ node-domexception: 1.0.0+ web-streams-polyfill: 3.3.3+@@ -15921,6 +15952,10 @@ snapshots:+ dependencies:+ fetch-blob: 3.2.0+@@ -15974,8 +16009,24 @@ snapshots:+ dependencies:+ extend: 3.0.2+ https-proxy-agent: 7.0.6+ node-fetch: 3.3.2+ transitivePeerDependencies:+ - supports-color++ dependencies:+ gaxios: 7.1.1+ google-logging-utils: 1.1.1+ json-bigint: 1.0.0+ transitivePeerDependencies:+ - supports-color+@@ -16080,6 +16131,37 @@ snapshots:define-properties: 1.2.1gopd: 1.2.0+ dependencies:+ base64-js: 1.5.1+ ecdsa-sig-formatter: 1.0.11+ gaxios: 7.1.1+ gcp-metadata: 7.0.1+ google-logging-utils: 1.1.1+ gtoken: 8.0.0+ jws: 4.0.0+ transitivePeerDependencies:+ - supports-color++ [email protected]: {}++ dependencies:+ extend: 3.0.2+ gaxios: 7.1.1+ google-auth-library: 10.3.0+ qs: 6.14.0+ url-template: 2.0.8+ transitivePeerDependencies:+ - supports-color++ dependencies:+ google-auth-library: 10.3.0+ googleapis-common: 8.0.0+ transitivePeerDependencies:+ - supports-color+@@ -16119,6 +16201,13 @@ snapshots:section-matter: 1.0.0strip-bom-string: 1.0.0+ dependencies:+ gaxios: 7.1.1+ jws: 4.0.0+ transitivePeerDependencies:+ - supports-color+dependencies:through2: 2.0.5@@ -16564,7 +16653,7 @@ snapshots:- [email protected]([email protected])([email protected](@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])):+ [email protected]([email protected])([email protected](@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])):dependencies:'@peculiar/webcrypto': 1.5.0'@types/cookie': 0.5.4@@ -16575,7 +16664,7 @@ snapshots:iron-webcrypto: 0.2.8optionalDependencies:express: 4.21.2- next: 15.4.6(@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])+ next: 15.4.6(@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])dependencies:@@ -16842,6 +16931,10 @@ snapshots:+ dependencies:+ bignumber.js: 9.3.1+@@ -16868,6 +16961,17 @@ snapshots:+ dependencies:+ buffer-equal-constant-time: 1.0.1+ ecdsa-sig-formatter: 1.0.11+ safe-buffer: 5.2.1++ dependencies:+ jwa: 2.0.1+ safe-buffer: 5.2.1+dependencies:commander: 8.3.0@@ -17606,10 +17710,10 @@ snapshots:- [email protected]([email protected](@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]):+ [email protected]([email protected](@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected]):dependencies:'@auth/core': 0.39.0([email protected])- next: 15.4.6(@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])+ next: 15.4.6(@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])react: 19.1.0optionalDependencies:nodemailer: 6.10.1@@ -17644,15 +17748,15 @@ snapshots:- acorn- supports-color- [email protected]([email protected](@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]):+ [email protected]([email protected](@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]):dependencies:- next: 15.4.6(@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])+ next: 15.4.6(@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])react: 19.1.0react-dom: 19.1.0([email protected])[email protected]([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]):dependencies:- next: 15.4.6(@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])+ next: 15.4.6(@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])react: 19.1.0react-dom: 19.1.0([email protected])@@ -17671,7 +17775,7 @@ snapshots:postcss: 8.4.31react: 19.1.0react-dom: 19.1.0([email protected])- styled-jsx: 5.1.6(@babel/[email protected])([email protected])+ styled-jsx: 5.1.6(@babel/[email protected])([email protected])optionalDependencies:'@next/swc-darwin-arm64': 15.2.4'@next/swc-darwin-x64': 15.2.4@@ -17688,7 +17792,7 @@ snapshots:- '@babel/core'- babel-plugin-macros- [email protected](@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]):+ [email protected](@babel/[email protected])(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]):dependencies:'@next/env': 15.4.6'@swc/helpers': 0.5.15@@ -17696,7 +17800,7 @@ snapshots:postcss: 8.4.31react: 19.1.0react-dom: 19.1.0([email protected])- styled-jsx: 5.1.6(@babel/[email protected])([email protected])+ styled-jsx: 5.1.6(@babel/[email protected])([email protected])optionalDependencies:'@next/swc-darwin-arm64': 15.4.6'@next/swc-darwin-x64': 15.4.6@@ -17732,6 +17836,8 @@ snapshots:lower-case: 2.0.2tslib: 2.8.1+ [email protected]: {}+dependencies:whatwg-url: 5.0.0@@ -17740,6 +17846,12 @@ snapshots:dependencies:whatwg-url: 5.0.0+ dependencies:+ data-uri-to-buffer: 4.0.1+ fetch-blob: 3.2.0+ formdata-polyfill: 4.0.10+@@ -17984,28 +18096,28 @@ snapshots:dependencies:- postcss: 8.5.3+ postcss: 8.5.6postcss-value-parser: 4.2.0read-cache: 1.0.0resolve: 1.22.10dependencies:camelcase-css: 2.0.1- postcss: 8.5.3+ postcss: 8.5.6dependencies:lilconfig: 3.1.3yaml: 2.7.1optionalDependencies:- postcss: 8.5.3+ postcss: 8.5.6dependencies:- postcss: 8.5.3+ postcss: 8.5.6postcss-selector-parser: 6.1.2@@ -18026,12 +18138,6 @@ snapshots:picocolors: 1.1.1source-map-js: 1.2.1- dependencies:- nanoid: 3.3.11- picocolors: 1.1.1- source-map-js: 1.2.1-dependencies:nanoid: 3.3.11@@ -19202,12 +19308,12 @@ snapshots:dependencies:inline-style-parser: 0.2.4dependencies:client-only: 0.0.1react: 19.1.0optionalDependencies:- '@babel/core': 7.26.10+ '@babel/core': 7.28.3@@ -19275,11 +19381,11 @@ snapshots:normalize-path: 3.0.0object-hash: 3.0.0picocolors: 1.1.1- postcss: 8.5.3- 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.2.0([email protected])+ postcss: 8.5.6+ 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.2.0([email protected])postcss-selector-parser: 6.1.2resolve: 1.22.10sucrase: 3.35.0@@ -19651,6 +19757,8 @@ snapshots:+ [email protected]: {}+@@ -19764,7 +19872,7 @@ snapshots:dependencies:esbuild: 0.21.5- postcss: 8.5.3+ postcss: 8.5.6rollup: 4.40.0optionalDependencies:'@types/node': 20.17.50@@ -19828,6 +19936,8 @@ snapshots:+ [email protected]: {}+