Connect, collaborate, and grow with a community of TypeScript developers
feat(aot): Leaderboard UI (#1647)
Devinda Senanayakadd2ceab3c79a
diff --git a/apps/aot/package.json b/apps/aot/package.jsonindex a059cb2f..52d5ef60 100644--- a/apps/aot/package.json+++ b/apps/aot/package.json@@ -18,6 +18,8 @@"dependencies": {"@hookform/resolvers": "^3.1.1","@radix-ui/react-dialog": "^1.0.4",+ "@react-three/drei": "^9.116.0",+ "@react-three/fiber": "^8.17.10","@repo/auth": "workspace:*","@repo/db": "workspace:*","@repo/monaco": "workspace:*",@@ -31,6 +33,7 @@"@trpc/client": "^11.0.0-rc.446","@trpc/react-query": "^11.0.0-rc.446","@trpc/server": "^11.0.0-rc.446",+ "@types/three": "^0.170.0","@uploadthing/react": "^6.2.2","@vercel/analytics": "^1.1.1","@vercel/edge-config": "^0.2.1",@@ -38,8 +41,10 @@"clsx": "^2.0.0","date-fns": "^2.30.0","framer-motion": "^10.12.22",+ "framer-motion-3d": "^11.11.17","lodash": "^4.17.21","lz-string": "^1.5.0",+ "maath": "^0.10.8","nanoid": "^5.0.7","next": "14.2.5","next-themes": "^0.2.1",@@ -50,6 +55,7 @@"server-only": "^0.0.1","stripe": "^17.1.0","superjson": "^2.2.1",+ "three": "^0.170.0","uploadthing": "6.3.1","zod": "3.23.3","zustand": "^4.3.9"@@ -69,6 +75,7 @@"postcss": "^8.4.31","prettier": "^3.1.1","prettier-plugin-tailwindcss": "^0.5.9",+ "r3f-perf": "^7.2.1","tailwindcss": "3.4.7","tailwindcss-animate": "^1.0.6","typescript": "^5.3.3"diff --git a/apps/aot/public/roboto-mono-v23-latin-regular.woff b/apps/aot/public/roboto-mono-v23-latin-regular.woffnew file mode 100644index 00000000..a9862e17Binary files /dev/null and b/apps/aot/public/roboto-mono-v23-latin-regular.woff differdiff --git a/apps/aot/src/app/events/2023/date_constants.ts b/apps/aot/src/app/events/(leaderboard)/2023/date_constants.tssimilarity index 100%rename from apps/aot/src/app/events/2023/date_constants.tsrename to apps/aot/src/app/events/(leaderboard)/2023/date_constants.tsdiff --git a/apps/aot/src/app/events/2023/leaderboard/[day]/layout.tsx b/apps/aot/src/app/events/(leaderboard)/2023/leaderboard/[day]/layout.tsxsimilarity index 69%rename from apps/aot/src/app/events/2023/leaderboard/[day]/layout.tsxrename to apps/aot/src/app/events/(leaderboard)/2023/leaderboard/[day]/layout.tsxindex 56a3a1b1..9a8386cf 100644--- a/apps/aot/src/app/events/2023/leaderboard/[day]/layout.tsx+++ b/apps/aot/src/app/events/(leaderboard)/2023/leaderboard/[day]/layout.tsx@@ -1,7 +1,6 @@import { isValidAdventDay } from '~/utils/time-utils';import { notFound } from 'next/navigation';-import AdventDaysRow from '../../../[year]/leaderboard/_components/advent-days-row';-import { YEAR, DAY } from '../../date_constants';+import { DAY } from '../../date_constants';export const dynamic = 'force-static';export const dynamicParams = false;@@ -21,10 +20,5 @@ export default function DailyLeaderboardLayout({if (!isValidAdventDay(day)) return notFound();- return (- <>- <AdventDaysRow year={YEAR} selectedDay={day} />- {children}- </>- );+ return children;}diff --git a/apps/aot/src/app/events/(leaderboard)/2023/leaderboard/[day]/page.tsx b/apps/aot/src/app/events/(leaderboard)/2023/leaderboard/[day]/page.tsxnew file mode 100644index 00000000..2f433c3d--- /dev/null+++ b/apps/aot/src/app/events/(leaderboard)/2023/leaderboard/[day]/page.tsx@@ -0,0 +1,12 @@+import { getFirst100SubmissionsRanked } from '../../../_components/daily-leaderboard';+import { LeaderboardPage } from '../../../_components/leaderboard-page';+import { DAY, YEAR } from '../../date_constants';++export async function generateStaticParams() {+ return Array.from({ length: DAY }).map((_, index) => ({ day: (index + 1).toString() }));+}++export default async function Page({ params: { day } }: { params: { day: string } }) {+ const data = await getFirst100SubmissionsRanked(YEAR.toString(), day);+ return <LeaderboardPage data={data} isDayPage />;+}diff --git a/apps/aot/src/app/events/2023/leaderboard/layout.tsx b/apps/aot/src/app/events/(leaderboard)/2023/leaderboard/layout.tsxsimilarity index 62%rename from apps/aot/src/app/events/2023/leaderboard/layout.tsxrename to apps/aot/src/app/events/(leaderboard)/2023/leaderboard/layout.tsxindex dcd91fbb..d0ed7580 100644--- a/apps/aot/src/app/events/2023/leaderboard/layout.tsx+++ b/apps/aot/src/app/events/(leaderboard)/2023/leaderboard/layout.tsx@@ -1,8 +1,9 @@import { hasAdventStarted } from '~/utils/time-utils';import { notFound } from 'next/navigation';import { getAllFlags } from '~/utils/feature-flag';-import { ComingSoon } from '../../../coming-soon';import { YEAR } from '../date_constants';+import { DayScroller } from '../../_components/day-scroller';+import { ComingSoon } from '~/app/coming-soon';export const dynamic = 'force-static';@@ -15,5 +16,12 @@ export default async function LeaderboardLayout({ children }: { children: React.if (!hasAdventStarted(YEAR)) return notFound();- return <>{children}</>;+ return (+ <div className="container mx-auto pt-8">+ <div className="container fixed inset-0 top-20">+ <DayScroller year={YEAR} />+ </div>+ {children}+ </div>+ );}diff --git a/apps/aot/src/app/events/2023/leaderboard/page.tsx b/apps/aot/src/app/events/(leaderboard)/2023/leaderboard/page.tsxsimilarity index 53%rename from apps/aot/src/app/events/2023/leaderboard/page.tsxrename to apps/aot/src/app/events/(leaderboard)/2023/leaderboard/page.tsxindex 1de72e15..662bd3cd 100644--- a/apps/aot/src/app/events/2023/leaderboard/page.tsx+++ b/apps/aot/src/app/events/(leaderboard)/2023/leaderboard/page.tsx@@ -1,8 +1,8 @@import { getAllFlags } from '~/utils/feature-flag';-import AdventDaysRow from '../../[year]/leaderboard/_components/advent-days-row';-import OverallLeaderboard from '../../[year]/leaderboard/_components/overall-leaderboard';import { notFound } from 'next/navigation';import { buildMetaForEventPage } from '~/utils/metadata';+import { LeaderboardPage } from '../../_components/leaderboard-page';+import { getOverallLeaderboard, getOverallTableData } from '../../_components/overall-leaderboard';import { YEAR } from '../date_constants';export async function generateMetadata() {@@ -11,16 +11,13 @@ export async function generateMetadata() {description: 'Advent of Typescript',});}-export default async function LeaderboardPage() {+export default async function Page() {const { enableAotPlatform } = await getAllFlags();if (!enableAotPlatform) {return notFound();}- return (- <>- <AdventDaysRow year={YEAR} />- <OverallLeaderboard isPast year={YEAR} />- </>- );+ const leaderboardEntries = await getOverallLeaderboard(YEAR, true);+ const data = await getOverallTableData(leaderboardEntries);+ return <LeaderboardPage data={data} isDayPage={false} />;}diff --git a/apps/aot/src/app/events/(leaderboard)/2024/date_constants.ts b/apps/aot/src/app/events/(leaderboard)/2024/date_constants.tsnew file mode 100644index 00000000..fd62659e--- /dev/null+++ b/apps/aot/src/app/events/(leaderboard)/2024/date_constants.ts@@ -0,0 +1,3 @@+export const YEAR = 2024;+// Only to be used for static generation+// export const DAY = 25;diff --git a/apps/aot/src/app/events/[year]/leaderboard/[day]/layout.tsx b/apps/aot/src/app/events/(leaderboard)/2024/leaderboard/[day]/layout.tsxsimilarity index 56%rename from apps/aot/src/app/events/[year]/leaderboard/[day]/layout.tsxrename to apps/aot/src/app/events/(leaderboard)/2024/leaderboard/[day]/layout.tsxindex 574e464c..46cabfc3 100644--- a/apps/aot/src/app/events/[year]/leaderboard/[day]/layout.tsx+++ b/apps/aot/src/app/events/(leaderboard)/2024/leaderboard/[day]/layout.tsx@@ -1,23 +1,18 @@import { isChallengeUnlocked } from '~/utils/time-utils';import { notFound } from 'next/navigation';-import AdventDaysRow from '../_components/advent-days-row';+import { YEAR } from '../../date_constants';export default function DailyLeaderboardLayout({params,children,}: {- params: { day: string; year: string };+ params: { day: string };children: React.ReactNode;}) {const day = Number(params.day);- const year = Number(params.year);+ const year = Number(YEAR);if (!isChallengeUnlocked(year, day)) return notFound();- return (- <>- <AdventDaysRow year={year} selectedDay={day} />- {children}- </>- );+ return children;}diff --git a/apps/aot/src/app/events/(leaderboard)/2024/leaderboard/[day]/page.tsx b/apps/aot/src/app/events/(leaderboard)/2024/leaderboard/[day]/page.tsxnew file mode 100644index 00000000..65d2cbe3--- /dev/null+++ b/apps/aot/src/app/events/(leaderboard)/2024/leaderboard/[day]/page.tsx@@ -0,0 +1,8 @@+import { getFirst100SubmissionsRanked } from '../../../_components/daily-leaderboard';+import { LeaderboardPage } from '../../../_components/leaderboard-page';+import { YEAR } from '../../date_constants';++export default async function Page({ params: { day } }: { params: { day: string } }) {+ const data = await getFirst100SubmissionsRanked(YEAR.toString(), day);+ return <LeaderboardPage data={data} isDayPage />;+}diff --git a/apps/aot/src/app/events/(leaderboard)/2024/leaderboard/layout.tsx b/apps/aot/src/app/events/(leaderboard)/2024/leaderboard/layout.tsxnew file mode 100644index 00000000..401e6291--- /dev/null+++ b/apps/aot/src/app/events/(leaderboard)/2024/leaderboard/layout.tsx@@ -0,0 +1,26 @@+import { getCurrentAdventDay, hasAdventStarted } from '~/utils/time-utils';+import { notFound } from 'next/navigation';+import { getAllFlags } from '~/utils/feature-flag';+import { YEAR } from '../date_constants';+import { DayScroller } from '../../_components/day-scroller';+import { ComingSoon } from '~/app/coming-soon';++export default async function LeaderboardLayout({ children }: { children: React.ReactNode }) {+ const { enableAotPlatform } = await getAllFlags();++ if (!enableAotPlatform) {+ return <ComingSoon />;+ }++ if (!hasAdventStarted(YEAR)) return notFound();+ const eventDay = getCurrentAdventDay(YEAR);++ return (+ <div className="container mx-auto pt-8">+ <div className="container fixed inset-0 top-20">+ <DayScroller year={YEAR} eventDay={eventDay} />+ </div>+ {children}+ </div>+ );+}diff --git a/apps/aot/src/app/events/(leaderboard)/2024/leaderboard/page.tsx b/apps/aot/src/app/events/(leaderboard)/2024/leaderboard/page.tsxnew file mode 100644index 00000000..662bd3cd--- /dev/null+++ b/apps/aot/src/app/events/(leaderboard)/2024/leaderboard/page.tsx@@ -0,0 +1,23 @@+import { getAllFlags } from '~/utils/feature-flag';+import { notFound } from 'next/navigation';+import { buildMetaForEventPage } from '~/utils/metadata';+import { LeaderboardPage } from '../../_components/leaderboard-page';+import { getOverallLeaderboard, getOverallTableData } from '../../_components/overall-leaderboard';+import { YEAR } from '../date_constants';++export async function generateMetadata() {+ return buildMetaForEventPage({+ title: 'Advent of Typescript',+ description: 'Advent of Typescript',+ });+}+export default async function Page() {+ const { enableAotPlatform } = await getAllFlags();+ if (!enableAotPlatform) {+ return notFound();+ }++ const leaderboardEntries = await getOverallLeaderboard(YEAR, true);+ const data = await getOverallTableData(leaderboardEntries);+ return <LeaderboardPage data={data} isDayPage={false} />;+}diff --git a/apps/aot/src/app/events/[year]/leaderboard/constants.ts b/apps/aot/src/app/events/(leaderboard)/_components/constants.tssimilarity index 100%rename from apps/aot/src/app/events/[year]/leaderboard/constants.tsrename to apps/aot/src/app/events/(leaderboard)/_components/constants.tsdiff --git a/apps/aot/src/app/events/(leaderboard)/_components/daily-leaderboard.tsx b/apps/aot/src/app/events/(leaderboard)/_components/daily-leaderboard.tsxnew file mode 100644index 00000000..0846a5b1--- /dev/null+++ b/apps/aot/src/app/events/(leaderboard)/_components/daily-leaderboard.tsx@@ -0,0 +1,43 @@+import { prisma } from '@repo/db';+import { LEADERBOARD_RANKING_LIMIT } from './constants';+import { getAotChallengeIdForAdventDay } from './getAotChallengeIds';++export const getFirst100SubmissionsRanked = async (adventYear: string, adventDay: string) => {+ // We already checked adventDay is valid in day/[day]/layout.tsx+ const challengeId = await getAotChallengeIdForAdventDay(adventYear, adventDay)!;+ const submissions = await prisma.submission.findMany({+ select: {+ id: true,+ createdAt: true,+ user: { select: { name: true, image: true, roles: true, bio: true } },+ },+ where: {+ challengeId,+ isSuccessful: true,+ user: {+ status: 'ACTIVE',+ },+ },+ distinct: ['userId'],+ orderBy: {+ createdAt: 'asc',+ },+ take: LEADERBOARD_RANKING_LIMIT,+ });+ const submissionsWithFlatUsers = submissions.map((s) => ({+ //Named score since this shape of this type is being shared with getOverallLeaderboard+ score: formatDate(s.createdAt),+ ...s.user,+ }));+ return submissionsWithFlatUsers;+};++const formatDate = (date: Date) => {+ return new Intl.DateTimeFormat('en-US', {+ timeZone: 'America/New_York',+ hour: '2-digit',+ minute: '2-digit',+ second: '2-digit',+ hourCycle: 'h23',+ }).format(new Date(date));+};diff --git a/apps/aot/src/app/events/(leaderboard)/_components/day-scroller.tsx b/apps/aot/src/app/events/(leaderboard)/_components/day-scroller.tsxnew file mode 100644index 00000000..39e052d6--- /dev/null+++ b/apps/aot/src/app/events/(leaderboard)/_components/day-scroller.tsx@@ -0,0 +1,139 @@+'use client';+import { cn } from '@repo/ui/cn';+import { Button } from '@repo/ui/components/button';+import {+ Tooltip,+ TooltipContent,+ TooltipProvider,+ TooltipTrigger,+} from '@repo/ui/components/tooltip';+import { ChevronLeft, ChevronRight } from '@repo/ui/icons';+import Link from 'next/link';+import { useSelectedLayoutSegment } from 'next/navigation';+import { useCallback, useState } from 'react';++export function DayScroller(props: { eventDay?: number; year: number }) {+ const segment = useSelectedLayoutSegment();+ const days = Array.from({ length: 25 });+ const [selectedDay, setSelectedDay] = useState(Number(segment));+ const [containerRef, setContainerRef] = useState<HTMLDivElement | null>(null);++ const scrollToSelectedDay = useCallback(+ (dayIdx: number, behavior: 'instant' | 'smooth', node: HTMLDivElement | null) => {+ const container = node;+ if (container === null) return;+ const children = container.children;+ children[dayIdx]?.scrollIntoView({+ behavior,+ inline: 'center',+ block: 'nearest',+ });+ },+ [],+ );++ const scrollAndSetRef = useCallback((node: HTMLDivElement | null) => {+ scrollToSelectedDay(selectedDay, 'instant', node);+ setContainerRef(node);+ // This function needs to be called only once to set the ref & scroll after render+ // eslint-disable-next-line react-hooks/exhaustive-deps+ }, []);++ function scroll(direction: -1 | 1) {+ const container = containerRef;+ if (container === null) return;+ container.scrollBy({ left: direction * 600, behavior: 'smooth' });+ }++ function handleDaySelect(dayIdx: number) {+ setSelectedDay(dayIdx);+ scrollToSelectedDay(dayIdx, 'smooth', containerRef);+ }++ return (+ <div className="flex flex-row space-x-4">+ <Button variant="ghost" size="icon" className="flex-none" onClick={() => scroll(-1)}>+ <ChevronLeft />+ </Button>+ <div+ ref={scrollAndSetRef}+ className="scrollbar-hide flex flex-row flex-nowrap space-x-4 overflow-x-scroll "+ >+ <div className="text-nowrap md:first:pl-[45%]">+ <Button variant="ghost" asChild onClick={() => handleDaySelect(0)}>+ <Link href={`/events/${props.year}/leaderboard`} prefetch>+ <h1+ className={cn(+ 'text-foreground text-lg uppercase tracking-wide',+ selectedDay === 0 ? 'text-foreground' : 'text-foreground/40',+ )}+ >+ Overall+ </h1>+ </Link>+ </Button>+ </div>+ <TooltipProvider>+ {days.map((_, i) => (+ <div key={i + 1} className="text-nowrap last:pr-[40%]">+ <DayLink+ year={props.year}+ setSelectedDay={handleDaySelect}+ eventDay={props.eventDay ?? 25}+ selectedDay={selectedDay}+ i={i}+ />+ </div>+ ))}+ </TooltipProvider>+ </div>++ <Button variant="ghost" size="icon" className="flex-none" onClick={() => scroll(1)}>+ <ChevronRight />+ </Button>+ </div>+ );+}++function DayLink({+ selectedDay,+ i,+ eventDay,+ setSelectedDay,+ year,+}: {+ selectedDay: number;+ i: number;+ eventDay: number;+ setSelectedDay: (val: number) => void;+ year: number;+}) {+ if (i + 1 <= eventDay) {+ return (+ <Button variant="ghost" onClick={() => setSelectedDay(i + 1)} asChild>+ <Link href={`/events/${year}/leaderboard/${i + 1}`} prefetch>+ <h1+ className={cn(+ 'text-lg uppercase tracking-wide',+ selectedDay === i + 1 ? 'text-foreground' : 'text-foreground/60',+ )}+ >+ Day {i + 1}+ </h1>+ </Link>+ </Button>+ );+ }+ return (+ <Tooltip>+ <TooltipTrigger asChild>+ <Button variant="ghost" className="cursor-not-allowed">+ <h1 className={cn('text-foreground/30 text-lg uppercase tracking-wide')}>Day {i + 1}</h1>+ </Button>+ </TooltipTrigger>+ <TooltipContent side="bottom" align="start">+ <p className="text-xs">Unlocks on December {i + 1}</p>+ </TooltipContent>+ </Tooltip>+ );+}diff --git a/apps/aot/src/app/events/[year]/leaderboard/getAotChallengeIds.ts b/apps/aot/src/app/events/(leaderboard)/_components/getAotChallengeIds.tssimilarity index 99%rename from apps/aot/src/app/events/[year]/leaderboard/getAotChallengeIds.tsrename to apps/aot/src/app/events/(leaderboard)/_components/getAotChallengeIds.tsindex 22ffe1f1..4ead2e70 100644--- a/apps/aot/src/app/events/[year]/leaderboard/getAotChallengeIds.ts+++ b/apps/aot/src/app/events/(leaderboard)/_components/getAotChallengeIds.ts@@ -21,7 +21,6 @@ export const getAotChallengeIdsSoFar = async (year: number) => {},},});-const challengeIdsSoFar = challengesSoFar.trackChallenges.map((trackChallenge) => trackChallenge.challengeId,);diff --git a/apps/aot/src/app/events/(leaderboard)/_components/leaderboard-page.tsx b/apps/aot/src/app/events/(leaderboard)/_components/leaderboard-page.tsxnew file mode 100644index 00000000..cd12f901--- /dev/null+++ b/apps/aot/src/app/events/(leaderboard)/_components/leaderboard-page.tsx@@ -0,0 +1,29 @@+import type { Role } from '@repo/db/types';+import { Stage } from './stage';+import { LeaderboardTable } from './table';++export function LeaderboardPage(props: {+ isDayPage: boolean;+ data: {+ name: string;+ roles: Role[];+ bio: string;+ image: string | null;+ score: number | string;+ }[];+}) {+ return (+ <div>+ <div className="container fixed inset-0 top-32 ">+ <div className="top-32 mx-auto h-[220px] px-4 md:left-0 md:h-[330px] md:max-w-full lg:h-[500px]">+ <Stage data={props.data.slice(0, 3)} isDayStage={props.isDayPage} />+ </div>+ </div>+ <div className="border-[hsla(0, 0%, 100%, 0.12)] mx-auto mt-[255px] max-w-screen-lg rounded-2xl rounded-b-none border border-b-0 bg-[hsla(0,0%,0%,0.07)] px-2 pt-2 shadow-[0px_-18px_131px_-78px_hsla(132,100%,53%,0.3)] backdrop-blur-sm md:mt-[350px] lg:mt-[500px] dark:bg-[hsla(0,0%,100%,0.07)]">+ <div className="bg-background relative rounded-lg rounded-b-none">+ <LeaderboardTable data={props.data} isDayTable={props.isDayPage} />+ </div>+ </div>+ </div>+ );+}diff --git a/apps/aot/src/app/events/[year]/leaderboard/_components/overall-leaderboard.tsx b/apps/aot/src/app/events/(leaderboard)/_components/overall-leaderboard.tssimilarity index 53%rename from apps/aot/src/app/events/[year]/leaderboard/_components/overall-leaderboard.tsxrename to apps/aot/src/app/events/(leaderboard)/_components/overall-leaderboard.tsindex 2deb0e8b..ca44e22f 100644--- a/apps/aot/src/app/events/[year]/leaderboard/_components/overall-leaderboard.tsx+++ b/apps/aot/src/app/events/(leaderboard)/_components/overall-leaderboard.ts@@ -1,29 +1,69 @@import { Prisma, prisma } from '@repo/db';-import { LEADERBOARD_RANKING_LIMIT } from '../constants';-import { DataTableLeaderboard } from '@repo/ui/components/data-table-leaderboard';-import { overallLeaderboardColumns, type OverallLeaderboardEntry } from './columns';+import { LEADERBOARD_RANKING_LIMIT } from './constants';import { getNextAdventDay } from '~/utils/time-utils';import { redisClient } from '@repo/redis';-import { getAotChallengeIdsSoFar } from '../getAotChallengeIds';+import { getAotChallengeIdsSoFar } from './getAotChallengeIds';-export const dynamic = 'force-dynamic';--async function getOverallLeaderboard(year: number, isPast: boolean) {- if (!isPast) {- const cachedRanking = await redisClient.get('aot-overall-leaderboard');+interface OverallLeaderboardEntry {+ userId: string;+ score: bigint | number;+ name: string;+ image: string | null;+}- if (cachedRanking) {- return JSON.parse(cachedRanking) as OverallLeaderboardEntry[];+export async function getOverallTableData(leaderboard: OverallLeaderboardEntry[]) {+ const userData = await getUserData(leaderboard);+ const rows = leaderboard.map((r) => {+ const user = userData.get(r.userId);+ if (user === undefined) {+ throw new Error(`Leaderboard entry for ${r.name} does not have a matching user record`);}- }+ return {+ name: user.name,+ image: r.image,+ bio: user.bio,+ roles: user.roles,+ score: Number(r.score),+ };+ });+ return rows;+}++async function getUserData(leaderboardEntries: OverallLeaderboardEntry[]) {+ const userData = await prisma.user.findMany({+ where: {+ name: {+ in: leaderboardEntries.map((e) => e.name),+ },+ },+ select: {+ id: true,+ name: true,+ bio: true,+ roles: true,+ },+ });+ const userMap = new Map(userData.map((u) => [u.id, u]));+ return userMap;+}++export async function getOverallLeaderboard(year: number, isPast: boolean) {+ // if (!isPast) {+ // const cachedRanking = await redisClient.get('aot-overall-leaderboard');+ //+ // if (cachedRanking) {+ // return JSON.parse(cachedRanking) as OverallLeaderboardEntry[];+ // }+ // }const challengeIdsSoFar = await getAotChallengeIdsSoFar(year);const rankingPromise = prisma.$queryRaw<OverallLeaderboardEntry[]>`SELECT+ u.id as userId,u.name,u.image,- CAST(SUM(r.points) AS SIGNED) AS totalPoints+ CAST(SUM(r.points) AS SIGNED) AS scoreFROMUser uJOIN@@ -44,8 +84,8 @@ async function getOverallLeaderboard(year: number, isPast: boolean) {WHERE \`rank\` <= ${LEADERBOARD_RANKING_LIMIT}) r ON u.id = r.userIdWHERE u.status = 'ACTIVE'- GROUP BY r.userId, u.name, u.image- ORDER BY totalPoints DESC+ GROUP BY u.id, u.name, u.image+ ORDER BY score DESCLIMIT ${LEADERBOARD_RANKING_LIMIT};`;// Prisma doesn't suppport distinct for .count()...@@ -69,22 +109,5 @@ async function getOverallLeaderboard(year: number, isPast: boolean) {{ PXAT: getNextAdventDay() },);}-return ranking;}--export default async function OverallLeaderboard({- year,- isPast = false,-}: {- year: number;- isPast?: boolean;-}) {- const top100Ranking = await getOverallLeaderboard(year, isPast);-- return (- <div className="p-4">- <DataTableLeaderboard data={top100Ranking} columns={overallLeaderboardColumns} />- </div>- );-}diff --git a/apps/aot/src/app/events/(leaderboard)/_components/stage.tsx b/apps/aot/src/app/events/(leaderboard)/_components/stage.tsxnew file mode 100644index 00000000..7023fc54--- /dev/null+++ b/apps/aot/src/app/events/(leaderboard)/_components/stage.tsx@@ -0,0 +1,226 @@+'use client';+import { Billboard, Edges, Image, PerspectiveCamera, Text } from '@react-three/drei';+import { Canvas, extend, useFrame, type Object3DNode } from '@react-three/fiber';+import { useRef } from 'react';+import { Color, LinearToneMapping, type PerspectiveCamera as PerspectiveCameraType } from 'three';+import { geometry } from 'maath';+import { useScroll, useSpring } from 'framer-motion';+import { motion } from 'framer-motion-3d';+import { useTheme } from 'next-themes';+import type { RoundedPlaneGeometry } from 'maath/dist/declarations/src/geometry';++declare module '@react-three/fiber' {+ interface ThreeElements {+ roundedPlaneGeometry: Object3DNode<RoundedPlaneGeometry, typeof RoundedPlaneGeometry>;+ }+}+extend({ RoundedPlaneGeometry: geometry.RoundedPlaneGeometry });+interface DataProps {+ data: { name: string; image: string | null; score: number | string }[];+ isDayStage: boolean;+}+export function Stage(props: DataProps) {+ return (+ <Canvas+ gl={{+ toneMapping: LinearToneMapping,+ }}+ >+ {/* <Perf position="top-right" /> */}+ <Experience data={props.data} isDayStage={props.isDayStage} />+ </Canvas>+ );+}++function Experience(props: DataProps) {+ const cameraRef = useRef<PerspectiveCameraType>(null);+ const { scrollY } = useScroll({ smooth: 0.4 });+ const scrollYProgress = useSpring(scrollY, {+ damping: 20,+ stiffness: 100,+ });+ useFrame(() => {+ if (cameraRef.current === null) return;++ const progress = Math.min(scrollYProgress.get() / 330, 1);+ cameraRef.current.position.y = 4 + progress * -10;+ cameraRef.current.lookAt(0, 2, 0);+ });++ return (+ <>+ <PerspectiveCamera makeDefault position={[0, 0, 4.2]} ref={cameraRef} zoom={1} />+ {/* <OrbitControls /> */}+ <motion.group+ scale={1.35}+ initial="initial"+ animate="animate"+ transition={{+ staggerChildren: 0.5,+ }}+ >+ <Platform+ color="red"+ x={0}+ height={1.8 + 2.5}+ heightOffset={2.5}+ userInfo={{+ username: props.data[0]?.name ?? '',+ points: props.data[0]?.score ?? '',+ image: props.data[0]?.image ?? null,+ }}+ z={0.001}+ isDayStage={props.isDayStage}+ />+ <Platform+ color="green"+ x={-1.001}+ height={1.5 + 2.5}+ heightOffset={2.5}+ userInfo={{+ username: props.data[1]?.name ?? '',+ points: props.data[1]?.score ?? '',+ image: props.data[1]?.image ?? null,+ }}+ isDayStage={props.isDayStage}+ />+ <Platform+ color="green"+ x={1.001}+ height={1.35 + 2.5}+ heightOffset={2.5}+ userInfo={{+ username: props.data[2]?.name ?? '',+ points: props.data[2]?.score ?? '',+ image: props.data[2]?.image ?? null,+ }}+ isDayStage={props.isDayStage}+ />+ </motion.group>+ </>+ );+}++function Platform(props: {+ x: number;+ z?: number;+ height: number;+ heightOffset: number;+ userInfo: { username: string; points: number | string; image: string | null };+ isDayStage: boolean;+ color: string;+}) {+ const { resolvedTheme } = useTheme();+ return (+ <motion.group+ position-z={props.z ?? 0}+ position-x={props.x}+ variants={{+ initial: {+ y: -props.height - props.heightOffset,+ },+ animate: {+ y: 0.4 - props.heightOffset,+ transition: {+ duration: 1,+ },+ },+ }}+ >+ <Billboard+ lockZ+ position-y={props.height}+ position-z={0.35}+ scale={0.7}+ onClick={() => {+ window.open(`https://typehero.dev/@${props.userInfo.username}`, '_blank')?.focus();+ }}+ onPointerOver={() => {+ document.body.style.cursor = 'pointer';+ }}+ onPointerLeave={() => {+ document.body.style.cursor = 'default';+ }}+ >+ <motion.group+ whileHover={{+ scale: 1.1,+ }}+ >+ <ImageWithFallback image={props.userInfo.image} name={props.userInfo.username} />+ <Text+ fontSize={0.14}+ position-y={0.55}+ maxWidth={1}+ font="/roboto-mono-v23-latin-regular.woff"+ anchorY="bottom"+ textAlign="center"+ color={resolvedTheme === 'dark' ? 'white' : 'black'}+ >+ {props.userInfo.username}+ </Text>+ </motion.group>+ </Billboard>+ <mesh position-y={(props.height - 1) / 2}>+ <boxGeometry args={[1, props.height, 1]} />+ <meshBasicMaterial color={resolvedTheme === 'dark' ? 'black' : 'white'} />+ <Edges+ linewidth={2}+ color={resolvedTheme === 'dark' ? props.color : props.color}+ scale={1.001}+ />+ </mesh>+ <group position-z={0.51}>+ <Text+ fontSize={0.1}+ font="/roboto-mono-v23-latin-regular.woff"+ textAlign="center"+ anchorY="top"+ position-y={props.height - 0.6}+ maxWidth={0.9}+ overflowWrap="break-word"+ color={resolvedTheme === 'dark' ? 'white' : 'black'}+ >+ {props.userInfo.points}+ </Text>+ {props.isDayStage ? null : (+ <Text+ anchorY="top"+ position-y={props.height - 0.74}+ fontSize={0.1}+ font="/roboto-mono-v23-latin-regular.woff"+ color={resolvedTheme === 'dark' ? 'white' : 'black'}+ >+ points+ </Text>+ )}+ </group>+ </motion.group>+ );+}++function ImageWithFallback(props: { image: string | null; name: string }) {+ const { resolvedTheme } = useTheme();+ if (props.image === null) {+ return (+ <mesh>+ <roundedPlaneGeometry args={[1, 1, 0.1]} />+ <Text position-z={0.01} fontSize={0.5} color="white">+ {props.name.slice(0, 1)}+ </Text>+ <meshBasicMaterial+ color={+ resolvedTheme === 'dark'+ ? new Color('hsl(132, 90%, 10%)')+ : new Color('hsl(132, 80%, 40%)')+ }+ />+ </mesh>+ );+ }+ return (+ <Image url={props.image}>+ <roundedPlaneGeometry args={[1, 1, 0.1]} />+ </Image>+ );+}diff --git a/apps/aot/src/app/events/(leaderboard)/_components/table.tsx b/apps/aot/src/app/events/(leaderboard)/_components/table.tsxnew file mode 100644index 00000000..d66be1c1--- /dev/null+++ b/apps/aot/src/app/events/(leaderboard)/_components/table.tsx@@ -0,0 +1,65 @@+import { RoleTypes, type Role } from '@repo/db/types';+import { Badge } from '@repo/ui/components/badge';+import {+ Table,+ TableBody,+ TableCell,+ TableHead,+ TableHeader,+ TableRow,+} from '@repo/ui/components/table';+import Link from 'next/link';+import { UserBadge } from '~/app/events/[year]/[day]/_components/comments/enhanced-user-badge';++export function LeaderboardTable(props: {+ data: {+ name: string;+ roles: Role[];+ bio: string;+ image: string | null;+ score: number | string;+ }[];+ isDayTable: boolean;+}) {+ return (+ <Table className="font-mono">+ <TableHeader>+ <TableRow>+ <TableHead className="w-[20%] text-center uppercase">Rank</TableHead>+ <TableHead className="w-[60%] text-center uppercase">Username</TableHead>+ <TableHead className="w-[20%] text-center uppercase">+ {props.isDayTable ? 'Time' : 'Points'}+ </TableHead>+ </TableRow>+ </TableHeader>+ <TableBody>+ {props.data.slice(3).map((d, i) => (+ <TableRow key={i} className="group">+ <TableCell className="text-center ">{i + 4}</TableCell>+ <TableCell className="flex flex-col items-center justify-center gap-1 text-center md:flex-row md:gap-2">+ <UserBadge+ className="text-wrap break-all underline-offset-4 group-hover:underline"+ user={{+ ...d,+ image: d.image ?? '',+ }}+ />+ {d.roles.some((r) => r.role === RoleTypes.SUPPORTER) ? (+ <Link href="/support" className="focus:outline-none focus-visible:ring-0">+ <Badge+ className="-ml-2 border-none bg-gradient-to-r from-yellow-500 to-yellow-600 font-bold dark:from-yellow-200 dark:to-yellow-500"+ size="xs"+ variant="outline"+ >+ <span className="text-card">Supporter</span>+ </Badge>+ </Link>+ ) : null}+ </TableCell>+ <TableCell className="text-center">{d.score}</TableCell>+ </TableRow>+ ))}+ </TableBody>+ </Table>+ );+}diff --git a/apps/aot/src/app/events/2023/leaderboard/[day]/page.tsx b/apps/aot/src/app/events/2023/leaderboard/[day]/page.tsxdeleted file mode 100644index 6b57c183..00000000--- a/apps/aot/src/app/events/2023/leaderboard/[day]/page.tsx+++ /dev/null@@ -1,6 +0,0 @@-import DailyLeaderboard from '../../../[year]/leaderboard/_components/daily-leaderboard';-import { YEAR } from '../../date_constants';--export default function Page({ params: { day } }: { params: { day: string } }) {- return <DailyLeaderboard adventYear={YEAR.toString()} adventDay={day} />;-}diff --git a/apps/aot/src/app/events/[year]/[day]/_components/comments/enhanced-user-badge.tsx b/apps/aot/src/app/events/[year]/[day]/_components/comments/enhanced-user-badge.tsxindex ae2698ad..28818c49 100644--- a/apps/aot/src/app/events/[year]/[day]/_components/comments/enhanced-user-badge.tsx+++ b/apps/aot/src/app/events/[year]/[day]/_components/comments/enhanced-user-badge.tsx@@ -25,6 +25,7 @@ interface UserBadgeProps {image: string;};hideLinks?: boolean;+ className?: string;}export function UserBadge(props: UserBadgeProps) {@@ -55,7 +56,7 @@ export function UserBadge(props: UserBadgeProps) {enabled={shouldShowHoverCard}usernameComponent={<Button- className="-ml-2 font-bold "+ className={cn('-ml-2 font-bold', props.className)}asChildvariant="ghost"size="xs"@@ -106,9 +107,13 @@ export function UserBadge(props: UserBadgeProps) {<HoverCardWrapperenabled={shouldShowHoverCard}usernameComponent={- <Link href={`/@${props.user.name}`} className="focus:outline-none focus-visible:ring-0">+ <Link+ href={`https://typehero.dev/@${props.user.name}`}+ target="_blank"+ className="focus:outline-none focus-visible:ring-0"+ ><Button- className="-ml-2 font-bold "+ className={cn('-ml-2 font-bold', props.className)}asChildvariant="ghost"size="xs"diff --git a/apps/aot/src/app/events/[year]/leaderboard/[day]/page.tsx b/apps/aot/src/app/events/[year]/leaderboard/[day]/page.tsxdeleted file mode 100644index feda7da7..00000000--- a/apps/aot/src/app/events/[year]/leaderboard/[day]/page.tsx+++ /dev/null@@ -1,7 +0,0 @@-import DailyLeaderboard from '../_components/daily-leaderboard';--// export const revalidate = 10; Need next.js v15--export default function Page({ params: { year, day } }: { params: { year: string; day: string } }) {- return <DailyLeaderboard adventYear={year} adventDay={day} />;-}diff --git a/apps/aot/src/app/events/[year]/leaderboard/_components/advent-days-row.tsx b/apps/aot/src/app/events/[year]/leaderboard/_components/advent-days-row.tsxdeleted file mode 100644index 4dad09a1..00000000--- a/apps/aot/src/app/events/[year]/leaderboard/_components/advent-days-row.tsx+++ /dev/null@@ -1,35 +0,0 @@-import Link from 'next/link';-import { getCurrentAdventDay } from '~/utils/time-utils';--export default function AdventDaysRow({- year,- selectedDay,-}: {- year: number;- selectedDay?: number;-}) {- const currentAdventDay = getCurrentAdventDay(year);-- return (- <div className="flex w-full gap-2 text-xl">- <p>Per day:</p>- <ul className="flex flex-wrap gap-2">- {Array.from({ length: currentAdventDay }, (_, index) => {- const day = index + 1;- return (- <li key={day}>- <Link- href={{ pathname: `/events/${year}/leaderboard/${day}` }}- className={`hover:text-blue-400 ${- day === selectedDay ? 'font-bold text-blue-600' : ''- }`}- >- {day}- </Link>- </li>- );- })}- </ul>- </div>- );-}diff --git a/apps/aot/src/app/events/[year]/leaderboard/_components/columns.tsx b/apps/aot/src/app/events/[year]/leaderboard/_components/columns.tsxdeleted file mode 100644index f08f21df..00000000--- a/apps/aot/src/app/events/[year]/leaderboard/_components/columns.tsx+++ /dev/null@@ -1,84 +0,0 @@-'use client';--import { UserAvatar } from '@repo/ui/components/user-avatar';-import { createColumnHelper } from '@tanstack/react-table';--/*- * Overall Leaderboard Table Columns- */--export interface OverallLeaderboardEntry {- totalPoints: number;- name: string;- image: string | null;-}--const overallLeaderboardColumnHelper = createColumnHelper<OverallLeaderboardEntry>();--export const overallLeaderboardColumns = [- overallLeaderboardColumnHelper.display({- id: 'ranking',- header: '#',- cell: (props) => props.row.index + 1,- }),- overallLeaderboardColumnHelper.accessor('name', {- header: 'User',- cell: (info) => (- <div className="flex flex-wrap items-center justify-start gap-2 sm:gap-4">- <UserAvatar className="h-8 w-8 md:h-12 md:w-12" src={info.row.original.image ?? ''} />- <span>@{info.getValue()}</span>- </div>- ),- }),- overallLeaderboardColumnHelper.accessor('totalPoints', {- header: 'Points',- cell: (info) => Number(info.getValue()),- }),-];--/*- * Daily Leaderboard Table Columns- */--export interface DailyLeaderboardEntry {- createdAt: Date;- user: { name: string; image: string | null };-}--const dailyLeaderboardColumnHelper = createColumnHelper<DailyLeaderboardEntry>();--export const dailyLeaderboardColumns = [- dailyLeaderboardColumnHelper.display({- id: 'ranking',- header: '#',- cell: (props) => props.row.index + 1,- }),- dailyLeaderboardColumnHelper.accessor('user', {- header: 'User',- cell: (info) => (- <div className="flex flex-wrap items-center justify-start gap-2 sm:gap-4">- <UserAvatar className="h-8 w-8 md:h-12 md:w-12" src={info.getValue().image ?? ''} />- <span>@{info.getValue().name}</span>- </div>- ),- }),- dailyLeaderboardColumnHelper.accessor('createdAt', {- header: 'Time solved',- cell: (info) => formatDate(info.getValue()),- }),-];--/*- * Utilities - will move later- */-const formatDate = (date: Date) => {- return new Intl.DateTimeFormat('en-US', {- timeZone: 'America/New_York',- month: 'short',- day: '2-digit',- hour: '2-digit',- minute: '2-digit',- second: '2-digit',- hourCycle: 'h23',- }).format(new Date(date));-};diff --git a/apps/aot/src/app/events/[year]/leaderboard/_components/daily-leaderboard.tsx b/apps/aot/src/app/events/[year]/leaderboard/_components/daily-leaderboard.tsxdeleted file mode 100644index 1a53dd40..00000000--- a/apps/aot/src/app/events/[year]/leaderboard/_components/daily-leaderboard.tsx+++ /dev/null@@ -1,44 +0,0 @@-import { prisma } from '@repo/db';-import { DataTableLeaderboard } from '@repo/ui/components/data-table-leaderboard';-import { LEADERBOARD_RANKING_LIMIT } from '../constants';-import { dailyLeaderboardColumns } from './columns';-import { getAotChallengeIdForAdventDay } from '../getAotChallengeIds';--export const dynamic = 'force-dynamic';--const getFirst100SubmissionsRanked = async (adventYear: string, adventDay: string) => {- // We already checked adventDay is valid in day/[day]/layout.tsx- const challengeId = await getAotChallengeIdForAdventDay(adventYear, adventDay)!;- const submissions = await prisma.submission.findMany({- select: { id: true, createdAt: true, user: { select: { name: true, image: true } } },- where: {- challengeId,- isSuccessful: true,- user: {- status: 'ACTIVE',- },- },- distinct: ['userId'],- orderBy: {- createdAt: 'asc',- },- take: LEADERBOARD_RANKING_LIMIT,- });- return submissions;-};--export default async function DailyLeaderboard({- adventYear,- adventDay,-}: {- adventYear: string;- adventDay: string;-}) {- const first100SubmissionsRanked = await getFirst100SubmissionsRanked(adventYear, adventDay);-- return (- <div className="p-4">- <DataTableLeaderboard data={first100SubmissionsRanked} columns={dailyLeaderboardColumns} />- </div>- );-}diff --git a/apps/aot/src/app/events/[year]/leaderboard/layout.tsx b/apps/aot/src/app/events/[year]/leaderboard/layout.tsxdeleted file mode 100644index 63e8b08e..00000000--- a/apps/aot/src/app/events/[year]/leaderboard/layout.tsx+++ /dev/null@@ -1,24 +0,0 @@-import { hasAdventStarted } from '~/utils/time-utils';-import { notFound } from 'next/navigation';-import { getAllFlags } from '~/utils/feature-flag';-import { ComingSoon } from '../../../coming-soon';--export default async function LeaderboardLayout({- children,- params,-}: {- children: React.ReactNode;- params: { year: string };-}) {- const { enableAotPlatform } = await getAllFlags();-- if (!enableAotPlatform) {- return <ComingSoon />;- }-- const year = Number(params.year);-- if (!hasAdventStarted(year)) return notFound();-- return <>{children}</>;-}diff --git a/apps/aot/src/app/events/[year]/leaderboard/page.tsx b/apps/aot/src/app/events/[year]/leaderboard/page.tsxdeleted file mode 100644index 4503a65d..00000000--- a/apps/aot/src/app/events/[year]/leaderboard/page.tsx+++ /dev/null@@ -1,27 +0,0 @@-import { getAllFlags } from '~/utils/feature-flag';-import AdventDaysRow from './_components/advent-days-row';-import OverallLeaderboard from './_components/overall-leaderboard';-import { notFound } from 'next/navigation';-import { buildMetaForEventPage } from '~/utils/metadata';--export async function generateMetadata() {- return buildMetaForEventPage({- title: 'Advent of Typescript',- description: 'Advent of Typescript',- });-}-export default async function LeaderboardPage({ params }: { params: { year: string } }) {- const { enableAotPlatform } = await getAllFlags();- if (!enableAotPlatform) {- return notFound();- }-- const year = Number(params.year);-- return (- <>- <AdventDaysRow year={year} />- <OverallLeaderboard year={year} />- </>- );-}diff --git a/apps/aot/src/app/globals.css b/apps/aot/src/app/globals.cssindex f30d24de..814f7d5a 100644--- a/apps/aot/src/app/globals.css+++ b/apps/aot/src/app/globals.css@@ -515,6 +515,15 @@ body.mobile-nav-active {.text-balance {text-wrap: balance;}+ /* Hide scrollbar for Chrome, Safari and Opera */+ .scrollbar-hide::-webkit-scrollbar {+ display: none;+ }+ /* Hide scrollbar for IE, Edge and Firefox */+ .scrollbar-hide {+ -ms-overflow-style: none; /* IE and Edge */+ scrollbar-width: none; /* Firefox */+ }}.animate-rotate {diff --git a/apps/aot/src/app/layout.tsx b/apps/aot/src/app/layout.tsxindex b7130887..02bbf04a 100644--- a/apps/aot/src/app/layout.tsx+++ b/apps/aot/src/app/layout.tsx@@ -7,7 +7,9 @@ import { Inter } from 'next/font/google';import { Navigation } from '~/components/navigation';import { Providers } from './providers';-const inter = Inter({ subsets: ['latin'] });+const inter = Inter({+ subsets: ['latin'],+});export const metadata: Metadata = {title: 'Advent of TypeScript',diff --git a/packages/ui/src/components/badge.tsx b/packages/ui/src/components/badge.tsxindex e5fdb388..e38fdd3c 100644--- a/packages/ui/src/components/badge.tsx+++ b/packages/ui/src/components/badge.tsx@@ -31,8 +31,10 @@ export interface BadgePropsextends React.HTMLAttributes<HTMLDivElement>,VariantProps<typeof badgeVariants> {}-function Badge({ className, variant, ...props }: BadgeProps) {- return <div className={cn(badgeVariants({ variant }), className)} {...props} />;-}+const Badge = React.forwardRef<HTMLDivElement, BadgeProps>(+ ({ variant, className, ...props }, ref) => (+ <div className={cn(badgeVariants({ variant }), className)} {...props} />+ ),+);export { Badge, badgeVariants };diff --git a/packages/ui/src/components/button.tsx b/packages/ui/src/components/button.tsxindex 59aa72e9..c0971aa9 100644--- a/packages/ui/src/components/button.tsx+++ b/packages/ui/src/components/button.tsx@@ -5,7 +5,7 @@ import { cva, type VariantProps } from 'class-variance-authority';import { cn } from '../cn';const buttonVariants = cva(- 'inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-50 disabled:cursor-not-allowed ring-offset-background',+ 'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0',{variants: {variant: {@@ -22,6 +22,7 @@ const buttonVariants = cva(xs: 'h-6 px-2 rounded-full text-xs', // pill-shapedsm: 'h-9 px-3 rounded-md',lg: 'h-11 px-8 rounded-md',+ icon: 'h-9 w-9',},},defaultVariants: {diff --git a/packages/ui/src/components/data-table-leaderboard.tsx b/packages/ui/src/components/data-table-leaderboard.tsxdeleted file mode 100644index 34055470..00000000--- a/packages/ui/src/components/data-table-leaderboard.tsx+++ /dev/null@@ -1,138 +0,0 @@-'use client';--import { flexRender, getCoreRowModel, useReactTable, type ColumnDef } from '@tanstack/react-table';-import { cn } from '../cn';-import * as React from 'react';--interface DataTableProps<TData> {- // eslint-disable-next-line @typescript-eslint/no-explicit-any- columns: ColumnDef<TData, any>[];- data: TData[];-}--export function DataTableLeaderboard<TData>({ columns, data }: DataTableProps<TData>) {- const table = useReactTable({- data,- columns,- getCoreRowModel: getCoreRowModel(),- });-- const getRankColor = (index: number) => {- if (index === 0) return 'dark:bg-[#1A1810] bg-[#FFF6E5]'; // First row (gold)- if (index === 1) return 'dark:bg-[#202021] bg-[#F0F0F0]'; // Second row (silver)- if (index === 2) return 'dark:bg-[#191411] bg-[#FDE9E1]'; // Third row (bronze)- };-- return (- <Table>- <TableHeader>- {table.getHeaderGroups().map((headerGroup) => (- <TableRow key={headerGroup.id}>- {headerGroup.headers.map((header, colIndex) => {- return (- <TableHead- key={header.id}- onClick={header.column.getToggleSortingHandler()}- className={`text-start ${colIndex === 2 ? 'text-end' : ''}`}- >- <span>- {header.isPlaceholder- ? null- : flexRender(header.column.columnDef.header, header.getContext())}- </span>- </TableHead>- );- })}- </TableRow>- ))}- </TableHeader>- <TableBody>- {table.getRowModel().rows?.length ? (- table.getRowModel().rows.map((row, rowIndex) => (- <TableRow- key={row.id}- data-state={row.getIsSelected() && 'selected'}- className={- getRankColor(rowIndex) ??- 'odd:bg-[#FAFAFA] even:bg-[#F5F5F5] dark:odd:bg-[#101010] dark:even:bg-[#1A1A1A]'- }- >- {row.getVisibleCells().map((cell, colIndex) => (- <TableCell- key={cell.id}- className={`text-start ${colIndex === 0 ? 'w-16' : ''} ${- colIndex === 2 ? 'text-end' : ''- }`}- >- {flexRender(cell.column.columnDef.cell, cell.getContext())}- </TableCell>- ))}- </TableRow>- ))- ) : (- <TableRow>- <TableCell colSpan={columns.length} className="h-24 text-center">- No results.- </TableCell>- </TableRow>- )}- </TableBody>- </Table>- );-}--const Table = React.forwardRef<HTMLTableElement, React.HTMLAttributes<HTMLTableElement>>(- ({ className, ...props }, ref) => (- <div className="w-full overflow-auto font-mono">- <table- className={cn(- 'w-full border-separate border-spacing-y-1 text-sm md:border-spacing-y-2',- className,- )}- ref={ref}- {...props}- />- </div>- ),-);-Table.displayName = 'Table';--const TableHeader = React.forwardRef<- HTMLTableSectionElement,- React.HTMLAttributes<HTMLTableSectionElement>->(({ className, ...props }, ref) => <thead className={cn(className)} ref={ref} {...props} />);-TableHeader.displayName = 'TableHeader';--const TableBody = React.forwardRef<- HTMLTableSectionElement,- React.HTMLAttributes<HTMLTableSectionElement>->(({ className, ...props }, ref) => <tbody className={cn(className)} ref={ref} {...props} />);-TableBody.displayName = 'TableBody';--const TableRow = React.forwardRef<HTMLTableRowElement, React.HTMLAttributes<HTMLTableRowElement>>(- ({ className, ...props }, ref) => <tr className={className} ref={ref} {...props} />,-);-TableRow.displayName = 'TableRow';--const TableHead = React.forwardRef<- HTMLTableCellElement,- React.ThHTMLAttributes<HTMLTableCellElement>->(({ className, ...props }, ref) => (- <th- className={cn(- 'text-muted-foreground h-12 border-b px-4 text-left align-middle font-medium',- className,- )}- ref={ref}- {...props}- />-));-TableHead.displayName = 'TableHead';--const TableCell = React.forwardRef<- HTMLTableCellElement,- React.TdHTMLAttributes<HTMLTableCellElement>->(({ className, ...props }, ref) => (- <td className={cn('px-4 py-4 align-middle', className)} ref={ref} {...props} />-));-TableCell.displayName = 'TableCell';diff --git a/packages/ui/src/components/typography/typography.tsx b/packages/ui/src/components/typography/typography.tsxindex c5105a65..0d092749 100644--- a/packages/ui/src/components/typography/typography.tsx+++ b/packages/ui/src/components/typography/typography.tsx@@ -1,4 +1,4 @@-import React from 'react';+import React, { type ElementType } from 'react';import { cva } from 'class-variance-authority';import { cn } from '../../cn';@@ -9,6 +9,7 @@ export interface TextProps<T extends TagOptions = 'text'> {weight?: 'bold' | 'default' | 'medium' | 'semi';color?: 'default' | 'primary';tag?: T;+ className?: string;}export type TagOptions = keyof JSX.IntrinsicElements;@@ -89,7 +90,7 @@ export function Text<T extends TagOptions>({}}- const Tag = tagStr as string;+ const Tag = tagStr as ElementType;return (<Tag className={cn(styles({ intent, weight, color }), className)} {...props}>diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex abe5a184..7fe53312 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -91,10 +91,10 @@ importers:version: 2.6.0-beta.12next:specifier: 14.2.5- version: 14.2.5(@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])+ version: 14.2.5(@babel/[email protected])([email protected]([email protected]))([email protected])next-themes:specifier: ^0.2.1- version: 0.2.1([email protected](@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])+ version: 0.2.1([email protected](@babel/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])react:specifier: 18.2.0version: 18.2.0@@ -158,7 +158,7 @@ importers:version: 13.4.10([email protected])([email protected])eslint-plugin-import:specifier: ^2.27.5- version: 2.27.5(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected]))([email protected])+ version: 2.27.5([email protected])postcss:specifier: ^8.4.31version: 8.4.31@@ -183,6 +183,12 @@ importers:'@radix-ui/react-dialog':specifier: ^1.0.4version: 1.0.4(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])+ '@react-three/drei':+ specifier: ^9.116.0+ version: 9.116.0(@react-three/[email protected]([email protected]([email protected]))([email protected])([email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])([email protected])+ '@react-three/fiber':+ specifier: ^8.17.10'@repo/auth':specifier: workspace:*version: link:../../packages/auth@@ -222,6 +228,9 @@ importers:'@trpc/server':specifier: ^11.0.0-rc.446version: 11.0.0-rc.477+ '@types/three':+ specifier: ^0.170.0+ version: 0.170.0'@uploadthing/react':specifier: ^6.2.2version: 6.2.2(@uploadthing/[email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])@@ -243,21 +252,27 @@ importers:framer-motion:specifier: ^10.12.22+ framer-motion-3d:+ specifier: ^11.11.17+ version: 11.11.17(@emotion/[email protected])(@react-three/[email protected]([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])lodash:specifier: ^4.17.21version: 4.17.21lz-string:specifier: ^1.5.0version: 1.5.0+ maath:+ specifier: ^0.10.8+ version: 0.10.8(@types/[email protected])([email protected])nanoid:specifier: ^5.0.7version: 5.0.7next:specifier: 14.2.5+ version: 14.2.5(@playwright/[email protected])([email protected]([email protected]))([email protected])next-themes:specifier: ^0.2.1- version: 0.2.1([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])+ version: 0.2.1([email protected](@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])react:specifier: 18.2.0version: 18.2.0@@ -279,6 +294,9 @@ importers:superjson:specifier: ^2.2.1version: 2.2.1+ three:+ specifier: ^0.170.0+ version: 0.170.0uploadthing:specifier: 6.3.1version: 6.3.1@@ -331,6 +349,9 @@ importers:prettier-plugin-tailwindcss:specifier: ^0.5.9version: 0.5.9([email protected])+ r3f-perf:+ specifier: ^7.2.1+ version: 7.2.3(@react-three/[email protected]([email protected]([email protected]))([email protected])([email protected]))(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected])tailwindcss:specifier: 3.4.7version: 3.4.7@@ -373,7 +394,7 @@ importers:version: 1.0.0next:specifier: 14.2.5+ version: 14.2.5(@playwright/[email protected])([email protected]([email protected]))([email protected])react:specifier: 18.2.0version: 18.2.0@@ -449,7 +470,7 @@ importers:version: link:../../packages/ui'@sentry/nextjs':specifier: ^7.73.0- version: 7.73.0([email protected](@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])+ version: 7.73.0([email protected](@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])'@stripe/react-stripe-js':specifier: ^2.8.0@@ -473,7 +494,7 @@ importers:'@uploadthing/react':specifier: ^6.2.2- version: 6.2.2(@uploadthing/[email protected])([email protected](@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])+ version: 6.2.2(@uploadthing/[email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])'@vercel/analytics':specifier: ^1.1.1version: 1.1.1@@ -482,10 +503,10 @@ importers:version: 0.2.1'@vercel/speed-insights':specifier: ^1.0.12- version: 1.0.12([email protected](@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])+ version: 1.0.12([email protected](@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])'@vercel/toolbar':specifier: ^0.1.18- version: 0.1.22([email protected](@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])+ version: 0.1.22([email protected](@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])algoliasearch:specifier: ^4.20.0version: 4.20.0@@ -524,10 +545,10 @@ importers:version: 5.0.7next:specifier: 14.2.5- version: 14.2.5(@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])+ version: 14.2.5(@playwright/[email protected])([email protected]([email protected]))([email protected])next-themes:specifier: ^0.2.1- version: 0.2.1([email protected](@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])+ version: 0.2.1([email protected](@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])react:specifier: 18.2.0version: 18.2.0@@ -554,7 +575,7 @@ importers:react-instantsearch-nextjs:specifier: ^0.1.5- version: 0.1.5([email protected](@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected])([email protected]([email protected]))([email protected]))+ version: 0.1.5([email protected](@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected])([email protected]([email protected]))([email protected]))react-intersection-observer:specifier: ^9.5.2version: 9.5.2([email protected])@@ -651,7 +672,7 @@ importers:version: 13.4.10([email protected])([email protected])eslint-plugin-import:specifier: ^2.27.5- version: 2.27.5(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected]))([email protected])+ version: 2.27.5([email protected])postcss:specifier: ^8.4.31version: 8.4.31@@ -1002,7 +1023,7 @@ importers:dependencies:'@next/eslint-plugin-next':specifier: canary- version: 15.0.3-canary.5+ version: 15.0.4-canary.15'@repo/tsconfig':specifier: workspace:*version: link:../config-typescript@@ -1014,7 +1035,7 @@ importers:version: 5.62.0([email protected])([email protected])'@vercel/style-guide':specifier: ^4.0.2eslint:specifier: ^8.45.0version: 8.45.0@@ -1263,6 +1284,10 @@ packages:resolution: {integrity: sha512-wDb5pWm4WDdF6LFUde3Jl8WzPA+3ZbxYqkC6xAXuD3irdEHN1k0NfTRrJD8ZD378SJ61miMLCqIOXYhd8x+AJQ==}engines: {node: '>=6.9.0'}+ '@babel/[email protected]':+ resolution: {integrity: sha512-FDSOghenHTiToteC/QRlv2q3DhPZ/oOXTBoirfWNx1Cx3TMVcGWQtMMmQcSvb/JjpNeGzx8Pq/b4fKEJuWm1sw==}+ engines: {node: '>=6.9.0'}+'@babel/[email protected]':resolution: {integrity: sha512-X7yV7eiwAxdj9k94NEylvbVHLiVG1nvzCV2EAowhxLTwODV1jl9UzZ48leOC0sH7OnuHrIkllaBgneUykIcZaw==}engines: {node: '>=6.9.0'}@@ -2078,6 +2103,9 @@ packages:resolution: {integrity: sha512-Yhlar6v9WQgUp/He7BdgzOz8lqMQ8sU+jkCq7Wx8Myc5YFJLbEe7lgui/V7G1qB1DJykHSGwreceSaD60Y0PUQ==}hasBin: true+ '@mediapipe/[email protected]':+ resolution: {integrity: sha512-CZWV/q6TTe8ta61cZXjfnnHsfWIdFhms03M9T7Cnd5y2mdpylJM0rF1qRq+wsQVRMLz1OYPVEBU9ph2Bx8cxrg==}+'@microsoft/[email protected]':resolution: {integrity: sha512-OGiIzzoBLgWWR0UdRJX98oYO+XKGf7tiK4Zk6tQ/E4IJqGCe7dvkTvgDZV5cFJUzLGDOjeAXrnZoA6QkVySuxw==}@@ -2096,6 +2124,11 @@ packages:react: ^16.8.0 || ^17.0.0 || ^18.0.0react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0+ '@monogrid/[email protected]':+ resolution: {integrity: sha512-ireqJg7cw0tUn/JePDG8rAL7RyXgUKSDbjYdiygkrnye1WuKGLAWDBwF/ICwCwJ9iZBAF5caU8gSu+c34HLGdQ==}+ peerDependencies:+ three: '>= 0.159.0'+'@netlify/[email protected]':resolution: {integrity: sha512-sRFYBaz6dJP1MdUtk/5QNmshhg5UDmB+DUssmH6v9WUG85MrwyExEfGfJA5eClXATjXm0coTvO5nLAlyCpK7QQ==}engines: {node: '>=14.0.0'}@@ -2117,8 +2150,8 @@ packages:'@next/[email protected]':resolution: {integrity: sha512-YJqyq6vk39JQfvaNtN83t/p5Jy45+bazRL+V4QI8FPd3FBqFYMEsULiwRLgSJMgFqkk4t4JbeZurz+gILEAFpA==}- '@next/[email protected]':- resolution: {integrity: sha512-iyrO0qSz/pbW2VQ2inGjXZs+t3Nqx3tNFe4zxAigNnwUA47x2M3Pd8pdMk+yP9dkVkk167quZvm6m+TAKxLzMA==}+ '@next/[email protected]':+ resolution: {integrity: sha512-zexHgBmYk8p45R2r1DWqVcLLbLx1SC/af/DkEUADZlt16aIsFEaIHRoLIEC0tZF5t9g3UyjGm5mp96PUBH0OBQ==}'@next/[email protected]':resolution: {integrity: sha512-/9zVxJ+K9lrzSGli1///ujyRfon/ZneeZ+v4ptpiPoOU+GKZnm8Wj8ELWU1Pm7GHltYRBklmXMTUqM/DqQ99FQ==}@@ -2692,6 +2725,11 @@ packages:'@types/react-dom':optional: true+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-fyQIhGDhzfc9pK2kH6Pl9c4BDJGfMkPqkyIgYDthyNYoNg3wVhoJMMh19WS4Up/1KMPFVpNsT2q3WmXn2N1m6g==}+ peerDependencies:+ react: ^16.x || ^17.x || ^18.x || ^19.0.0 || ^19.0.0-rc+'@radix-ui/[email protected]':resolution: {integrity: sha512-Q6iAB/U7Tq3NTolBBQbHTgclPmGWE3OlktGGqrClPozSw4vkQ1DfQAOtzgRPecKsMdJINE05iaoDUG8tRzCBjw==}peerDependencies:@@ -3263,6 +3301,70 @@ packages:resolution: {integrity: sha512-hMMhxk6TpOcDC5qnKzXPVJoVGEwfm+U5bGOPH+MyTTlx0F02RLQygcATBKsbP7aI/mvkmBAZoFbgPIHop7ovug==}engines: {node: '>=16.0.0'}+ '@react-spring/[email protected]':+ resolution: {integrity: sha512-Tqrwz7pIlsSDITzxoLS3n/v/YCUHQdOIKtOJf4yL6kYVSDTSmVK1LI1Q3M/uu2Sx4X3pIWF3xLUhlsA6SPNTNg==}+ peerDependencies:+ react: ^16.8.0 || ^17.0.0 || ^18.0.0++ '@react-spring/[email protected]':+ resolution: {integrity: sha512-rmEqcxRcu7dWh7MnCcMXLvrf6/SDlSokLaLTxiPlAYi11nN3B5oiCUAblO72o+9z/87j2uzxa2Inm8UbLjXA+w==}+ peerDependencies:+ react: ^16.8.0 || ^17.0.0 || ^18.0.0++ '@react-spring/[email protected]':+ resolution: {integrity: sha512-5ZenDQMC48wjUzPAm1EtwQ5Ot3bLIAwwqP2w2owG5KoNdNHpEJV263nGhCeKKmuA3vG2zLLOdu3or6kuDjA6Aw==}++ '@react-spring/[email protected]':+ resolution: {integrity: sha512-wdtoJrhUeeyD/PP/zo+np2s1Z820Ohr/BbuVYv+3dVLW7WctoiN7std8rISoYoHpUXtbkpesSKuPIw/6U1w1Pw==}+ peerDependencies:+ react: ^16.8.0 || ^17.0.0 || ^18.0.0++ '@react-spring/[email protected]':+ resolution: {integrity: sha512-RxIsCoQfUqOS3POmhVHa1wdWS0wyHAUway73uRLp3GAL5U2iYVNdnzQsep6M2NZ994BlW8TcKuMtQHUqOsy6WA==}+ peerDependencies:+ '@react-three/fiber': '>=6.0'+ react: ^16.8.0 || ^17.0.0 || ^18.0.0+ three: '>=0.126'++ '@react-spring/[email protected]':+ resolution: {integrity: sha512-HVj7LrZ4ReHWBimBvu2SKND3cDVUPWKLqRTmWe/fNY6o1owGOX0cAHbdPDTMelgBlVbrTKrre6lFkhqGZErK/g==}++ '@react-three/[email protected]':+ resolution: {integrity: sha512-dWEQJumLjr6FekA+17yjtm9dVFqpshfsdnzE5IOlPdkB149KqoJGJMZNjaAlX1GIjFULDXtGi9Q3Tv+TaySNFg==}+ peerDependencies:+ '@react-three/fiber': '>=8.0'+ react: '>=18.0'+ react-dom: '>=18.0'+ three: '>=0.137'+ peerDependenciesMeta:+ react-dom:+ optional: true++ '@react-three/[email protected]':+ resolution: {integrity: sha512-S6bqa4DqUooEkInYv/W+Jklv2zjSYCXAhm6qKpAQyOXhTEt5gBXnA7W6aoJ0bjmp9pAeaSj/AZUoz1HCSof/uA==}+ peerDependencies:+ expo: '>=43.0'+ expo-asset: '>=8.4'+ expo-file-system: '>=11.0'+ expo-gl: '>=11.0'+ react: '>=18.0'+ react-dom: '>=18.0'+ react-native: '>=0.64'+ three: '>=0.133'+ peerDependenciesMeta:+ expo:+ optional: true+ expo-asset:+ optional: true+ expo-file-system:+ optional: true+ expo-gl:+ optional: true+ react-dom:+ optional: true+ react-native:+ optional: true+'@redis/[email protected]':resolution: {integrity: sha512-aR0uffYI700OEEH4gYnitAnv3vzVGXCFvYfdpu/CJKvk4pHfLPEy/JSZyrpQ+15WhXe1yJRXLtfQ84s4mEXnPg==}engines: {node: '>=14'}@@ -3519,6 +3621,11 @@ packages:resolution: {integrity: sha512-rUV5WyJrJLoloD4NDN1V1+LDMDWOa4OTsT4yYJwQNpTU6FWxkxHpL7eu4w+DmiH8x/EAM1otkPE1+LaspIbplw==}engines: {node: '>=18'}+ '@stitches/[email protected]':+ resolution: {integrity: sha512-9g9dWI4gsSVe8bNLlb+lMkBYsnIKCZTmvqvDG+Avnn69XfmHZKiaMrx7cgTaddq7aTPPmXiTsbFcUy0xgI4+wA==}+ peerDependencies:+ react: '>= 16.3.0'+'@stripe/[email protected]':resolution: {integrity: sha512-C410jVKOATinXLalWotab6E6jlWAlbqUDWL9q1km0p5UHrvnihjjYzA8imYXc4xc4Euf9GeKDQc4n35HKZvgwg==}peerDependencies:@@ -3663,6 +3770,9 @@ packages:'@trpc/[email protected]':resolution: {integrity: sha512-K6zmjRv96fWilqm/ETehEK1DWsy5bSyrs2xbsNzCbjguMgamMhOClRHgYzJcwgLp2kasJ7QgD9YbahOhV1/u1w==}+ '@tweenjs/[email protected]':+ resolution: {integrity: sha512-vJmvvwFxYuGnF2axRtPYocag6Clbb5YS7kLL+SO/TeVFzHqDIWrNKYtcsPMibjDx9O+bu+psAy9NKfWklassUA==}+'@types/[email protected]':resolution: {integrity: sha512-Vqm22aZrCvCd6I5g1SvpW151jfqwTzEZ7XJ3yZ6xaZG31nUEOEyzzVImjRcsN8Wi/QyPxId/x8GTtgIbsy8kEw==}@@ -3708,12 +3818,18 @@ packages:'@types/[email protected]':resolution: {integrity: sha512-Ps3T8E8dZDam6fUyNiMkekK3XUsaUEik+idO9/YjPtfj2qruF8tFBXS7XhtE4iIXBLxhmLjP3SXpLhVf21I9Lw==}+ '@types/[email protected]':+ resolution: {integrity: sha512-jBqiORIzKDOToaF63Fm//haOCHuwQuLa2202RK4MozpA6lh93eCBc+/8+wZn5OzjJt3ySdc+74SXWXB55Ewtyw==}+'@types/[email protected]':resolution: {integrity: sha512-/vPO1EPOs306Cvhwv7KfVfYvOJqA/S/AXjaHQiJboCZzcNDb+TIJFN9/2C9DZ//ijSKWioNyUxD792QmDJ+HKQ==}'@types/[email protected]':resolution: {integrity: sha512-udCxb8DvjcDKfk1WTBzDsxFbLgYxmQGKrE/ricoMqHRNjSlSUCcamVTA5lIQqzY10mY5qCY0QDwBfFEwhfoDPw==}+ '@types/[email protected]':+ resolution: {integrity: sha512-AX22jp8Y7wwaBgAixaSvkoG4M/+PlAcm3Qs4OW8yT9DM4xUpWKeFhLueTAyZF39pviAdcDdeJoACapiAceqNcw==}+'@types/[email protected]':resolution: {integrity: sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==}@@ -3789,6 +3905,9 @@ packages:'@types/[email protected]':resolution: {integrity: sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==}+ '@types/[email protected]':+ resolution: {integrity: sha512-ieXiYmgSRXUDeOntE1InxjWyvEelZGP63M+cGuquuRLuIKKT1osnkXjxev9B7d1nXSug5vpunx+gNlbVxMlC9A==}+'@types/[email protected]':resolution: {integrity: sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==}@@ -3807,6 +3926,12 @@ packages:'@types/[email protected]':resolution: {integrity: sha512-GRaAEriuT4zp9N4p1i8BDBYmEyfo+xQ3yHjJU4eiK5NDa1RmUZG+unZABUTK4/Ox/M+GaHwb6Ow8rUITrtjszA==}+ '@types/[email protected]':+ resolution: {integrity: sha512-mBDYl8x+oyPX/VBb3E638N0B7xG+SPk/EAMcVPeexqus/5aTpTphQi0curhhshOqRrc9t6OPoJfEUkbymse/lQ==}++ '@types/[email protected]':+ resolution: {integrity: sha512-SN9c4kxXZonFhbX4hJrZy37yw9e7EIxcpHCxQv5JUS18wDE5ovkQKlqQEkufdJCCMfuI9BnjUJvhYeJ9x5Ra7g==}+'@types/[email protected]':resolution: {integrity: sha512-bo5fEO5toQeyCp0zVHBeggclqf5SQ/Z5blfFmjwO5dkMVGPgmiwZsJh9nu/Bo5L7IHTuGWrja6LxJVE2uB5ZrQ==}@@ -3825,12 +3950,21 @@ packages:'@types/[email protected]':resolution: {integrity: sha512-G8hZ6XJiHnuhQKR7ZmysCeJWE08o8T0AXtk5darsCaTVsYZhhgUrq53jizaR2FvsoeCwJhlmwTjkXBY5Pn/ZHw==}+ '@types/[email protected]':+ resolution: {integrity: sha512-pXNfAD3KHOdif9EQXZ9deK82HVNaXP5ZIF5RP2QG6OQFNTaY2YIetfrE9t528vEreGQvEPRDDc8muaoYeK0SxQ==}++ '@types/[email protected]':+ resolution: {integrity: sha512-CUm2uckq+zkCY7ZbFpviRttY+6f9fvwm6YqSqPfA5K22s9w7R4VnA3rzJse8kHVvuzLcTx+CjNCs2NYe0QFAyg==}+'@types/[email protected]':resolution: {integrity: sha512-cputDpIbFgLUaGQn6Vqg3/YsJwxUwHLO13v3i5ouxT4lat0khip9AEWxtERujXV9wxIB1EyF97BSJFt6vpdI8g==}'@types/[email protected]':resolution: {integrity: sha512-MFETx3tbTjE7Uk6vvnWINA/1iJ7LuMdO4fcq8UfF0pRbj01aGLduVvQcRyswuACJdpnHgg8E3rQLhaRdNEJS0w==}+ '@types/[email protected]':+ resolution: {integrity: sha512-JGpU6qiIJQKUuVSKx1GtQnHJGxRjtfGIhzO2ilq43VZZS//f1h1Sgexbdk+Lq+7569a6EYhOWrUpIruR/1Enmg==}+'@typescript-eslint/[email protected]':resolution: {integrity: sha512-AVi0uazY5quFB9hlp2Xv+ogpfpk77xzsgsIEWyVS7uK/c7MZ5tw7ZPbapa0SbfkqE0fsAMkz5UwtgMLVk2BQAg==}engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}@@ -3957,6 +4091,22 @@ packages:'@uploadthing/mime-types':optional: true+ '@use-gesture/[email protected]':+ resolution: {integrity: sha512-WcINiDt8WjqBdUXye25anHiNxPc0VOrlT8F6LLkU6cycrOGUDyY/yyFmsg3k8i5OLvv25llc0QC45GhR/C8llw==}++ '@use-gesture/[email protected]':+ resolution: {integrity: sha512-Yy19y6O2GJq8f7CHf7L0nxL8bf4PZCPaVOCgJrusOeFHY1LvHgYXnmnXg6N5iwAnbgbZCDjo60SiM6IPJi9C5g==}+ peerDependencies:+ react: '>= 16.8.0'++ '@utsubo/[email protected]':+ resolution: {integrity: sha512-WB/GEj/0h27Bz8rJ0+CBtNz5mLT79ne1OjB7PUM4n0qLBqEDwm6yBzZC3j6tasHjlBPJDYZiBVIA1glaMlgZ5g==}+ peerDependencies:+ react: '>=16.8.0'+ peerDependenciesMeta:+ react:+ optional: true+'@vercel/[email protected]':resolution: {integrity: sha512-+NqgNmSabg3IFfxYhrWCfB/H+RCUOCR5ExRudNG2+pcRehq628DJB5e1u1xqwpLtn4pAYii4D98w7kofORAGQA==}@@ -4091,6 +4241,9 @@ packages:'@webassemblyjs/[email protected]':resolution: {integrity: sha512-+X4WAlOisVWQMikjbcvY2e0rwPsKQ9F688lksZhBcPycBBuii3O7m8FACbDMWDojpAqvjIncrG8J0XHKyQfVeA==}+ '@webgpu/[email protected]':+ resolution: {integrity: sha512-ktR3u64NPjwIViNCck+z9QeyN0iPkQCUOQ07ZCV1RzlkfP+olLTeEZ95O1QHS+v4w9vJeY9xj/uJuSphsHy5rQ==}+'@xtuc/[email protected]':resolution: {integrity: sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==}@@ -4102,6 +4255,7 @@ packages:resolution: {integrity: sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA==}+ deprecated: package has been renamed to acorn-import-attributespeerDependencies:acorn: ^8@@ -4312,12 +4466,18 @@ packages:resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}+ resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==}+resolution: {integrity: sha512-JtTezzbAibu8G0R9op9zb3vcWZd9JF6M0xOYGPn0fNCd7wOpRB1mU2mH9T8gaBGbAAyIIVgB2G7xG0GP98zMAQ==}resolution: {integrity: sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ==}+ resolution: {integrity: sha512-RKshQI1R3YQ+n9YJz2QQ147P66ELpa1FQEg20Dk8oW9t2KgLbpDLLp9aGZ7y8WHSshDknG0bknqGw5/tyCs5tw==}+resolution: {integrity: sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg==}engines: {node: '>=0.6'}@@ -4374,6 +4534,9 @@ packages:resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==}+ resolution: {integrity: sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==}+resolution: {integrity: sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==}engines: {node: '>=6'}@@ -4413,6 +4576,11 @@ packages:resolution: {integrity: sha512-dU+Tx2fsypxTgtLoE36npi3UqcjSSMNYfkqgmoEhtZrraP5VWq0K7FkWVTYa8eMPtnU/G2txVsfdCJTn9uzpuQ==}+ resolution: {integrity: sha512-TpCujnP0vqPppTXXJRYpvIy0xq9Tro6jQf2iYUxlDpPCNxkvE/XGaTuwIxnhINOkVP/ob2CRYXtY3iVYXeMEzA==}+ peerDependencies:+ three: '>=0.126.1'+resolution: {integrity: sha512-LRAQHZ4yT1+f9LemSMeqdMpMxZcc4RMWdj4tiFe3G8tNkWK+E58g+/tzotb5cU6TbcVJLr4fySiAW7XmxQvZQA==}@@ -4654,6 +4822,11 @@ packages:resolution: {integrity: sha512-B0EPa1UK+qnpBZpG+7FgPCu0J2ETLpXq09o9BkLkEAhdB6Z61Qo4pJ3JYu0c+Qi+/SAL7QThqnzS06pmSSyZaw==}engines: {node: '>= 12.0.0'}+ resolution: {integrity: sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==}+ engines: {node: '>=10.14', npm: '>=6', yarn: '>=1'}+ hasBin: true+resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==}engines: {node: '>= 8'}@@ -4776,6 +4949,9 @@ packages:resolution: {integrity: sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==}engines: {node: '>=0.11'}+ resolution: {integrity: sha512-XRRe6Glud4rd/ZGQfiV1ruXSfbvfJedlV9Y6zOlP+2K04vBYiJEte6stfFkCP03aMnY5tsipamumUjL14fofug==}+resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==}peerDependencies:@@ -4870,6 +5046,9 @@ packages:resolution: {integrity: sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==}engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16}+ resolution: {integrity: sha512-HYcx/cCiOQ9o4kImrvUMKwb4fyvgCYUeHnYUqbWOldI9NACLOClAyvnhG63YpbjCo6oHEjWI3MmPrhGQl96FVA==}+resolution: {integrity: sha512-Mc7QhQ8s+cLrnUfU/Ji94vG/r8M26m8f++vyres4ZoojaRDpZ1eSIh/EpzLNwlWuvzSZ3UbDFspjFvTDXe6e/g==}engines: {node: '>=12.20'}@@ -4970,6 +5149,9 @@ packages:resolution: {integrity: sha512-IrPdXQsk2BbzvCBGBOTmmSH5SodmqZNt4ERAZDmW4CT+tL8VtvinqywuANaFu4bOMWki16nqf0e4oC0QIaDr/g==}engines: {node: '>=10'}+ resolution: {integrity: sha512-m6WCKt/erDXcw+70IJXnG7M3awwQPAsZvJGX5zY7beBqpELw6RDGkYVU0W43AFxye4pDZ5i2Lbyc/NNGqwjUVQ==}+resolution: {integrity: sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==}@@ -5516,9 +5698,15 @@ packages:resolution: {integrity: sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==}engines: {node: ^12.20 || >= 14.13}+ resolution: {integrity: sha512-IQrh3lEPM93wVCEczc9SaAOvkmcoQn/G8Bo1e8ZPlY3X3bnAxWaBdvTdvM1hP62iZp0BXWDy4vTAy4fF0+Dlpg==}+resolution: {integrity: sha512-5u2V/CDW15QM1XbbgS+0DfPxVB+jUKhWEKuuFuHncbk3tEEqzmoXL+2KyOFuKGqOnmdIy0/davWF1CkuwtibCw==}+ resolution: {integrity: sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==}+resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==}engines: {node: ^10.12.0 || >=12.0.0}@@ -5603,6 +5791,14 @@ packages:resolution: {integrity: sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==}+ resolution: {integrity: sha512-nnNDGU1VdKy27+uB1LFVVPyR1s34DrGFNEqjhQWZF+sYJ3TBN3FYb8UWtyWLUOyIHKwJdeOkylmt4nq9xwk1mA==}+ peerDependencies:+ '@react-three/fiber': 8.2.2+ react: '>=18.0'+ react-dom: '>=18.0'+ three: '>=0.133'+resolution: {integrity: sha512-bBGYPOxvxcfzS7/py9MEqDucmXBkVl2g42HNlXXPieSTSGGkr8L7+MilCnrU6uX3HrNk/tcB++1SkWE8BosHFw==}peerDependencies:@@ -5614,6 +5810,20 @@ packages:react-dom:optional: true+ resolution: {integrity: sha512-O8QzvoKiuzI5HSAHbcYuL6xU+ZLXbrH7C8Akaato4JzQbX2ULNeniqC2Vo5eiCtFktX9XsJ+7nUhxcl2E2IjpA==}+ peerDependencies:+ '@emotion/is-prop-valid': '*'+ react: ^18.0.0+ react-dom: ^18.0.0+ peerDependenciesMeta:+ '@emotion/is-prop-valid':+ optional: true+ react:+ optional: true+ react-dom:+ optional: true+resolution: {integrity: sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==}engines: {node: '>= 0.6'}@@ -5775,6 +5985,9 @@ packages:resolution: {integrity: sha512-/1WM/LNHRAOH9lZta77uGbq0dAEQM+XjNesWwhlERDVenqothRbnzTrL3/LrIoEPPjeUHC3vrS6TwoyxeHs7MQ==}engines: {node: '>=18'}+ resolution: {integrity: sha512-b/ZCF6amfAUb7dJM/MxRs7AetQEahYzJ8PtgfrmEdtw6uyGOr+ZSGtgjFm6mfsBkxJ4d2W7kg+Nlqzqvn3Bc0w==}+resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==}@@ -5895,6 +6108,9 @@ packages:resolution: {integrity: sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==}+ resolution: {integrity: sha512-wA66nnYFvQa1o4DO/BFgLNRKnBTVXpNeldGRBJ2Y0SvFtdwvFKCbqa9zhHoZLoxHhZ+jYsj3aIBkWQQCPNOhMw==}+resolution: {integrity: sha512-RqGs4wavGYJWE07t35JQccByczmNUXQT0E12ZYV1VKYu5UiAU9lsos/yBAcf840+zrUQQxgVduCR5/B8nNtibg==}hasBin: true@@ -5951,6 +6167,9 @@ packages:resolution: {integrity: sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==}engines: {node: '>=16.17.0'}+ resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==}+resolution: {integrity: sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==}engines: {node: '>= 4'}@@ -6146,6 +6365,9 @@ packages:resolution: {integrity: sha512-GljRxhWvlCNRfZyORiH77FwdFwGcMO620o37EOYC0ORWdq+WYNVqW0w2Juzew4M+L81l6/QS3t5gkkihyRqv9w==}engines: {node: '>=0.10.0'}+ resolution: {integrity: sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==}+resolution: {integrity: sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==}@@ -6206,6 +6428,11 @@ packages:resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==}+ resolution: {integrity: sha512-fXtDA0X0t0eBYAGLVM5YsgJGsJ5jEmqZEPrGbzdf5awjv0xE7nqv3TVnvtUF060Tkes15DbDAKW/I48vsb6SyA==}+ peerDependencies:+ react: '>=18.0'+resolution: {integrity: sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==}engines: {node: '>= 10.13.0'}@@ -6448,6 +6675,12 @@ packages:resolution: {integrity: sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ==}hasBin: true+ resolution: {integrity: sha512-tRvbDF0Pgqz+9XUa4jjfgAQ8/aPKmQdWXilFu2tMy4GWj4NOsx99HlULO4IeREfbO3a0sA145DZYyvXPkybm0g==}+ peerDependencies:+ '@types/three': '>=0.134.0'+ three: '>=0.134.0'+resolution: {integrity: sha512-8UnnX2PeRAPZuN12svgR9j7M1uWMovg/CEnIwIG0LFkXSJJe4PdfUGiTGl8V9bsBHFUtfVINcSyYxd7q+kx9fA==}engines: {node: '>=12'}@@ -6543,6 +6776,14 @@ packages:resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==}engines: {node: '>= 8'}+ resolution: {integrity: sha512-/TQj+JdZkeSUOl5Mk2J7eLcYTLiQm2IDzmlSvYm7ov15anEcDJ92GHqqazxTSreeNgfnYu24kiEvvv0WlbCdFQ==}+ peerDependencies:+ three: '>=0.137'++ resolution: {integrity: sha512-ZhoIoL7TNV4s5B6+rx5mC//fw8/POGyNxS/DZyCJeiZ12ScLfVwRE/GfsxwiTkMYYD5DmK2/JXnEVXqL4rF+Sw==}+resolution: {integrity: sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==}engines: {node: '>= 0.6'}@@ -7204,6 +7445,9 @@ packages:resolution: {integrity: sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==}engines: {node: ^10 || ^12 || >=14}+ resolution: {integrity: sha512-choctRBIV9EMT9WGAZHn3V7t0Z2pMQyl0EZE6pFc/6ml3ssw7Dlf/oAOvFwjm1HVsqfQN8GfeFyJ+d8tRzqueQ==}+resolution: {integrity: sha512-aPDxUn5o3GhWdtJtW0svRC2SS/l8D9MAgo2+AWml+BhDImb27ALf04Q2d+AHqUUOc6RdSXFIBVa2gxzgMKgtZA==}peerDependencies:@@ -7316,6 +7560,9 @@ packages:resolution: {integrity: sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==}engines: {node: '>=0.4.0'}+ resolution: {integrity: sha512-bN+0ehEnrXfxV2ZQvU2PetO0n4gqBD4ulq3MI1WOPLgr7/Mg9yRQkX5+0v1vagr74ZTsl7XtzlaYDo2EuCeYJw==}+resolution: {integrity: sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==}@@ -7349,6 +7596,22 @@ packages:resolution: {integrity: sha512-kJt5qhMxoszgU/62PLP1CJytzd2NKetjSRnyuj31fDd3Rlcz3fzlFdFLD1SItunPwyqEOkca6GbV612BWfaBag==}+ resolution: {integrity: sha512-4+P/N/bnO9D8nzdm3suL/NjPZK/HHdjwpvajhi8j7eB41i2ECN6lX9RXiKSpHzpsDi2ui1tBj6q7/sz5opoqXw==}+ peerDependencies:+ '@react-three/fiber': '>=8.0'+ dom: '*'+ react: '>=18.0'+ react-dom: '>=18.0'+ three: '>=0.133'+ peerDependenciesMeta:+ '@react-three/fiber':+ optional: true+ dom:+ optional: true+ react-dom:+ optional: true+resolution: {integrity: sha512-pNsHDxbGORSvuSScqNJ+3Km6QAVqk8CfsCBIEoDgpqLrkD2f3QM4I7d1ozJJ172OmIcoUcerZaNWqtLkRXTV3A==}@@ -7368,6 +7631,11 @@ packages:resolution: {integrity: sha512-lNeOl38Ws0eNxpO3+wD1I9rkHGQyj1NU1jlzv4go2CtEnEQEUfqnIvZG7W+bC/aXdJ27n5x/yUjb6RoT9tko+Q==}+ resolution: {integrity: sha512-1uWd07EME6XZvMfapwZmc7NgCZqDemcvicRi3wMJzXsQLvZ3L7fTHVyPy1bZdnWXM4iPjYuNE+uJ41MLKeTtnA==}+ peerDependencies:+ react: ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0+resolution: {integrity: sha512-7Ypx4vz0+g8ECVxr88W9zhcQpbeujJAVqL14ZnXJ3I23mOI9/oBVTQ3dkJhUmB0D6XOtCZEM6N0Gm9PMngkORw==}engines: {node: '>=10.18'}@@ -7450,12 +7718,21 @@ packages:'@types/react': '>=16'react: '>=16'+ resolution: {integrity: sha512-jLQXJ/URln51zskhgppGJ2ub7b2WFKGq3cl3NYKtlHoTG+dN2q7EzWrn3hN3EgPsTMvpR9tpq5ijdp7YwFZkag==}+resolution: {integrity: sha512-cg//jVdS49PYDgmcYoBnMMHl4XNTMuV723ZnHD2aXYtWWWqbVF3hjQ8iB+UZEuXapLbeA8P8H+1o6ZB1lcw3vg==}peerDependencies:react: ^0.14 || ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0react-dom: ^0.14 || ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0+ resolution: {integrity: sha512-HmMDKciQjYmBRGuuhIaKA1ba/7a+UsM5FzOZsMO2JYHt9Jh8reCb7j1eDC95NOyUlKM9KRyvdx0flBuDvYSBoA==}+ engines: {node: '>=0.10.0'}+ peerDependencies:+ react: ^18.0.0+resolution: {integrity: sha512-63C4YQBUt0m6ALadE9XV56hV8BgJWDmmTPY758iIJjfQKt2nYwoUrPk0LXRXcB/yIj82T1/Ixfdpdk68LwIB0A==}engines: {node: '>=10'}@@ -7587,6 +7864,9 @@ packages:resolution: {integrity: sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==}+ resolution: {integrity: sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==}+resolution: {integrity: sha512-iETxpjK6YoRWJG5o6hXLwvjYAoW+FEZn9os0PD/b6AP6xQwsa/Y7lCVgIixBbUPMfhu+i2LtdeAqVTgGlQarfA==}hasBin: true@@ -7751,6 +8031,9 @@ packages:resolution: {integrity: sha512-7RfTz38MB0n8tzmRHtUh1y0K7609CLBHpYuyZuh9rpf9FyhOd2in+6EHuqu6ul/Jebn1qD1HdYKtAMjb7uiNAQ==}engines: {node: '>=16'}+ resolution: {integrity: sha512-1r87x5fz9MXqswA2ERLo0EbOAU74DpIUO090gIasYTqlVoJeMcl+Z1Rg7WHz+qtPujhS/hGIt9kxZOYBV3faRQ==}+resolution: {integrity: sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==}@@ -7909,6 +8192,15 @@ packages:resolution: {integrity: sha512-HTEHMNieakEnoe33shBYcZ7NX83ACUjCu8c40iOGEZsngj9zRnkqS9j1pqQPXwobB0ZcVTk27REb7COQ0UR59w==}+ resolution: {integrity: sha512-g5O9B0hm9CvnM36+v7SFl39T7hmAlv541tU81ME8YeSb3i1CIP5/QdDeSB3A0la0bKNHpxpwxOVRo2wFTYEosQ==}+ peerDependencies:+ '@types/three': '*'+ three: '*'++ resolution: {integrity: sha512-hNKz8phvYLPEcRkeG1rsGmV5ChMjKDAWU7/OJJdDErPBNChQXxCo3WZurGpnWc6gZhAzEPFad1aVgyOANH1sMw==}+resolution: {integrity: sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==}engines: {node: '>= 0.8'}@@ -8021,7 +8313,7 @@ packages:resolution: {integrity: sha512-VMBFLYgFuRdfeNQSMLbxGSLfmXL/xc+OO+BZp41Za/NRDBet/BNbkRJrYzCUu0u4GU0i/ml2dtT8b9qgkw9z6Q==}engines: {node: '>= 4.0'}- deprecated: Please upgrade to v7.0.2+ of superagent. We have fixed numerous issues with streams, form-data, attach(), filesystem errors not bubbling up (ENOENT on attach()), and all tests are now passing. See the releases tab for more information at <https://github.com/visionmedia/superagent/releases>.+ deprecated: Please upgrade to v9.0.0+ as we have fixed a public vulnerability with formidable dependency. Note that v9.0.0+ requires Node.js v14.18.0+. See https://github.com/ladjs/superagent/pull/1800 for insight. This project is supported and maintained by the team at Forward Email @ https://forwardemail.netresolution: {integrity: sha512-8iGv75BYOa0xRJHK5vRLEjE2H/i4lulTjzpUXic3Eg8akftYjkmQDa8JARQ42rlczXyFR3IeRoeFCc7RxHsYZA==}@@ -8047,6 +8339,11 @@ packages:resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==}engines: {node: '>= 0.4'}+ resolution: {integrity: sha512-aqldKgX9aZqpoDp3e8/BZ8Dm7x1pJl+qI3ZKxDN0i/IQTWUwBx/ManmlVJ3wowqbno6c2bmiIfs+Um6LbsjJyQ==}+ peerDependencies:+ react: '>=17.0'+resolution: {integrity: sha512-L1dapNV6vu2s/4Sputv8xGsCdAVlb5nRDMFU/E27D44l5U6cw1g0dGd45uLc+OXjNMmF4ntiMdCimzcjFKQI8Q==}engines: {node: ^14.18.0 || >=16.0.0}@@ -8111,6 +8408,20 @@ packages:resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==}+ resolution: {integrity: sha512-BGEZTOIC14U0XIRw3tO4jY7IjP7n7v24nv9JXS1CyeVRWOCkcOMhRnmENUjuV39gktAw4Ofhr0OvIAiTspQrrw==}+ deprecated: Deprecated due to three.js version incompatibility. Please use v0.8.0, instead.+ peerDependencies:+ three: '>= 0.151.0'++ resolution: {integrity: sha512-U5qJYWgUKBFJqr1coMSbczA964uvouzBjQbtJlaI9LfMwy7hr+kc1Mfh0gqi/2872KmGu9utgff6lj8Oti8+VQ==}+ peerDependencies:+ three: '>=0.128.0'++ resolution: {integrity: sha512-FQK+LEpYc0fBD+J8g6oSEyyNzjp+Q7Ks1C568WWaoMRLW+TkNNWmenWeGgJjV105Gd+p/2ql1ZcjYvNiPZBhuQ==}+resolution: {integrity: sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg==}@@ -8155,6 +8466,19 @@ packages:resolution: {integrity: sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==}+ resolution: {integrity: sha512-UzbIrgV3fOFmFbFfWIBcBEXEyQovs+LLu15E5xGpSQbo1oZH49A+J9bul4H8H0xLtaLkRTO+LqEsmkaeDtZQfg==}+ peerDependencies:+ three: '>=0.125.0'++ resolution: {integrity: sha512-asQWCESikU58y9cz4OgIjCRlITkDTwf7ds8T9IyWxn7OB2A7XItg2UbHjfexwooTefM+BYbEC4ZKxOUBfbNVLA==}+ peerDependencies:+ three: '>=0.125.0'++ resolution: {integrity: sha512-BxNk0w6+d9NYd7El/3RzlzH/F2vovJI1FX9Zb+D7fArVM1EsUXj6+wVwJSrfucy6/HYhfbZPu/lD6Miiw9Byiw==}+resolution: {integrity: sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g==}@@ -8193,6 +8517,9 @@ packages:engines: {node: '>=18.0.0'}hasBin: true+ resolution: {integrity: sha512-lR5VHmkPhzdhrM092lI2nACsLO4QubF0/yoOhzX7c+wIpbN1GjHNzCc91QlpxBi+cnx8vVJ+Ur6vL5cEoQPFpQ==}+resolution: {integrity: sha512-NAgfgbXxX/JScWQmmQnGbPuFZq7LIswHfcMk5JwyBXQM/xmklNOxxac7MnGGIOf19Z2f6S3qHy17VIj0SeGfnA==}cpu: [x64]@@ -8494,12 +8821,25 @@ packages:peerDependencies:react: ^16.8.0 || ^17.0.0 || ^18.0.0+ resolution: {integrity: sha512-PElTlVMwpblvbNqQ82d2n6RjStvdSoNe9FG28kNfz3WiXilJm4DdNkEzRhCZuIDwY8U08WVihhGR5iRqAwfDiw==}+ peerDependencies:+ react: ^16.8.0 || ^17.0.0 || ^18.0.0+resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==}+ resolution: {integrity: sha512-6Z7Ma2aVEWisaL6TvBCy7P8rm2LQoPv6dJ7ecIaIixHcwfbJ0x7mWdbcwlIM5IGQxPZSFYeqRCqlOOeKoJYMkw==}+ engines: {node: '>= 4'}+resolution: {integrity: sha512-88ZSfcSkN04juiLqSsuyteqlSrXNFdsEPzSv3urnElDXNsZUXQN0smeTnh99x2DE15SCUQNgqKBfro54CuzHNQ==}+ resolution: {integrity: sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==}+ hasBin: true+resolution: {integrity: sha512-+g8ENReyr8YsOc6fv/NVJs2vFdHBnBNdfE49rshrTzDWOlUx4Gq7KOS2GD8eqhy2j+Ejq29+SbKH8yjkAqXqoA==}engines: {node: '>=8'}@@ -8610,6 +8950,12 @@ packages:resolution: {integrity: sha512-e0MO3wdXWKrLbL0DgGnUV7WHVuw9OUvL4hjgnPkIeEvESk74gAITi5G606JtZPp39cd8HA9VQzCIvA49LpPN5Q==}engines: {node: '>= 8'}+ resolution: {integrity: sha512-LkBXKjU5r9vAW7Gcu3T5u+5cvSvh5WwINdr0C+9jpzVB41cjQAP5ePArDtk/WHYdVj0GefCgM73BA7FlIiNtdg==}++ resolution: {integrity: sha512-9Z0JcMTFxeE+b2x1LJTdnaT8rT8aEp7MVxkNwoycNmJWwPdzoXzMh0BjJSh/AEFP+KPYZUli814h8bJZFIZ2jA==}+resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==}@@ -8742,6 +9088,15 @@ packages:resolution: {integrity: sha512-tPvq1B/2Yu/dh2uAIH2/BhUlUeLIUvAjr6dpL/75I0pCYefHgjhXk1o1Kob3kTU8C7yU1j396jFHlsVWFi9ogg==}+ resolution: {integrity: sha512-PIJDIZKtokhof+9+60cpockVOq05sJzHCriyvaLBmEJixseQ1a5Kdov6fWZfWOu5SK9c+FhH1jU0tntLxRJYMA==}+ engines: {node: '>=12.7.0'}+ peerDependencies:+ react: '>=16.8'+ peerDependenciesMeta:+ react:+ optional: true+resolution: {integrity: sha512-Tat5r8jOMG1Vcsj8uldMyqYKC5IZvQif8zetmLHs9WoZlntTHmIoNM8TpLRY31ExncuUvUOXehd0kvahkuHjDw==}engines: {node: '>=12.7.0'}@@ -8754,6 +9109,21 @@ packages:react:optional: true+ resolution: {integrity: sha512-+0PALYNJNgK6hldkgDq2vLrw5f6g/jCInz52n9RTpropGgeAf/ioFUCdtsjCqu4gNhW9D01rUQBROoRjdzyn2Q==}+ engines: {node: '>=12.7.0'}+ peerDependencies:+ '@types/react': '>=16.8'+ immer: '>=9.0.6'+ react: '>=16.8'+ peerDependenciesMeta:+ '@types/react':+ optional: true+ immer:+ optional: true+ react:+ optional: true+resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==}@@ -8983,6 +9353,10 @@ snapshots:dependencies:regenerator-runtime: 0.13.11+ '@babel/[email protected]':+ dependencies:+ regenerator-runtime: 0.14.1+'@babel/[email protected]':dependencies:'@babel/code-frame': 7.22.10@@ -9643,6 +10017,8 @@ snapshots:- encoding- supports-color+ '@mediapipe/[email protected]': {}+'@microsoft/[email protected]':dependencies:'@microsoft/tsdoc': 0.14.2@@ -9671,6 +10047,11 @@ snapshots:react: 18.2.0react-dom: 18.3.1([email protected])+ '@monogrid/[email protected]([email protected])':+ dependencies:+ promise-worker-transferable: 1.0.4+ three: 0.170.0+'@netlify/[email protected]':dependencies:'@netlify/serverless-functions-api': 1.12.3@@ -9696,7 +10077,7 @@ snapshots:dependencies:glob: 7.1.7- '@next/[email protected]':+ '@next/[email protected]':dependencies:fast-glob: 3.3.1@@ -10350,6 +10731,10 @@ snapshots:'@types/react': 18.2.20'@types/react-dom': 18.2.7+ '@radix-ui/[email protected]([email protected])':+ dependencies:+ react: 18.2.0+'@radix-ui/[email protected]([email protected])':dependencies:'@babel/runtime': 7.22.6@@ -11006,6 +11391,92 @@ snapshots:react: 18.2.0react-dom: 18.2.0([email protected])+ '@react-spring/[email protected]([email protected])':+ dependencies:+ '@react-spring/shared': 9.7.5([email protected])+ '@react-spring/types': 9.7.5+ react: 18.2.0++ '@react-spring/[email protected]([email protected])':+ dependencies:+ '@react-spring/animated': 9.7.5([email protected])+ '@react-spring/shared': 9.7.5([email protected])+ '@react-spring/types': 9.7.5+ react: 18.2.0++ '@react-spring/[email protected]': {}++ '@react-spring/[email protected]([email protected])':+ dependencies:+ '@react-spring/rafz': 9.7.5+ '@react-spring/types': 9.7.5+ react: 18.2.0++ '@react-spring/[email protected](@react-three/[email protected]([email protected]([email protected]))([email protected])([email protected]))([email protected])([email protected])':+ dependencies:+ '@react-spring/animated': 9.7.5([email protected])+ '@react-spring/core': 9.7.5([email protected])+ '@react-spring/shared': 9.7.5([email protected])+ '@react-spring/types': 9.7.5+ '@react-three/fiber': 8.17.10([email protected]([email protected]))([email protected])([email protected])+ react: 18.2.0+ three: 0.170.0++ '@react-spring/[email protected]': {}++ '@react-three/[email protected](@react-three/[email protected]([email protected]([email protected]))([email protected])([email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])([email protected])':+ dependencies:+ '@babel/runtime': 7.26.0+ '@mediapipe/tasks-vision': 0.10.17+ '@monogrid/gainmap-js': 3.0.6([email protected])+ '@react-spring/three': 9.7.5(@react-three/[email protected]([email protected]([email protected]))([email protected])([email protected]))([email protected])([email protected])+ '@react-three/fiber': 8.17.10([email protected]([email protected]))([email protected])([email protected])+ '@use-gesture/react': 10.3.1([email protected])+ camera-controls: 2.9.0([email protected])+ cross-env: 7.0.3+ detect-gpu: 5.0.56+ glsl-noise: 0.0.0+ hls.js: 1.5.17+ maath: 0.10.8(@types/[email protected])([email protected])+ meshline: 3.3.1([email protected])+ react: 18.2.0+ react-composer: 5.0.3([email protected])+ stats-gl: 2.4.2(@types/[email protected])([email protected])+ stats.js: 0.17.0+ suspend-react: 0.1.3([email protected])+ three: 0.170.0+ three-mesh-bvh: 0.7.8([email protected])+ three-stdlib: 2.34.0([email protected])+ troika-three-text: 0.50.3([email protected])+ tunnel-rat: 0.1.2([email protected])+ utility-types: 3.11.0+ uuid: 9.0.1+ zustand: 3.7.2([email protected])+ optionalDependencies:+ react-dom: 18.2.0([email protected])+ transitivePeerDependencies:+ - '@types/three'+ - immer++ '@react-three/[email protected]([email protected]([email protected]))([email protected])([email protected])':+ dependencies:+ '@babel/runtime': 7.22.6+ '@types/debounce': 1.2.4+ '@types/react-reconciler': 0.26.7+ '@types/webxr': 0.5.20+ base64-js: 1.5.1+ buffer: 6.0.3+ debounce: 1.2.1+ its-fine: 1.2.5([email protected])+ react: 18.2.0+ react-reconciler: 0.27.0([email protected])+ scheduler: 0.21.0+ suspend-react: 0.1.3([email protected])+ three: 0.170.0+ zustand: 3.7.2([email protected])+ optionalDependencies:+ react-dom: 18.2.0([email protected])+'@redis/[email protected]':dependencies:cluster-key-slot: 1.1.2@@ -11197,7 +11668,7 @@ snapshots:localforage: 1.10.0tslib: 2.6.0- '@sentry/[email protected]([email protected](@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])':+ '@sentry/[email protected]([email protected](@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])':dependencies:'@rollup/plugin-commonjs': 24.0.0([email protected])'@sentry/core': 7.73.0@@ -11209,7 +11680,7 @@ snapshots:'@sentry/vercel-edge': 7.73.0'@sentry/webpack-plugin': 1.20.0chalk: 3.0.0- next: 14.2.5(@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])+ next: 14.2.5(@playwright/[email protected])([email protected]([email protected]))([email protected])react: 18.2.0rollup: 2.78.0stacktrace-parser: 0.1.10@@ -11279,6 +11750,10 @@ snapshots:'@sindresorhus/[email protected]': {}+ '@stitches/[email protected]([email protected])':+ dependencies:+ react: 18.2.0+'@stripe/[email protected](@stripe/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@stripe/stripe-js': 4.9.0@@ -11427,6 +11902,8 @@ snapshots:'@trpc/[email protected]': {}+ '@tweenjs/[email protected]': {}+'@types/[email protected]': {}'@types/[email protected]': {}@@ -11465,12 +11942,16 @@ snapshots:'@types/[email protected]': {}+ '@types/[email protected]': {}+'@types/[email protected]':dependencies:'@types/ms': 0.7.31'@types/[email protected]': {}+ '@types/[email protected]': {}+'@types/[email protected]':dependencies:'@types/eslint': 9.6.1@@ -11548,6 +12029,8 @@ snapshots:'@types/[email protected]': {}+ '@types/[email protected]': {}+'@types/[email protected]': {}'@types/[email protected]': {}@@ -11562,6 +12045,14 @@ snapshots:dependencies:'@types/react': 18.2.20+ '@types/[email protected]':+ dependencies:+ '@types/react': 18.2.20++ '@types/[email protected]':+ dependencies:+ '@types/react': 18.2.20+'@types/[email protected]':dependencies:'@types/react': 18.2.20@@ -11582,10 +12073,23 @@ snapshots:'@types/[email protected]': {}+ '@types/[email protected]': {}++ '@types/[email protected]':+ dependencies:+ '@tweenjs/tween.js': 23.1.3+ '@types/stats.js': 0.17.3+ '@types/webxr': 0.5.20+ '@webgpu/types': 0.1.51+ fflate: 0.8.2+ meshoptimizer: 0.18.1+'@types/[email protected]': {}'@types/[email protected]': {}+ '@types/[email protected]': {}+'@typescript-eslint/[email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])':dependencies:'@eslint-community/regexpp': 4.5.1@@ -11785,20 +12289,6 @@ snapshots:'@uploadthing/[email protected]': {}- '@uploadthing/[email protected](@uploadthing/[email protected])([email protected](@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])':- dependencies:- '@uploadthing/dropzone': 0.1.1- '@uploadthing/shared': 6.2.0(@uploadthing/[email protected])- attr-accept: 2.2.2- file-selector: 0.6.0- react: 18.2.0- tailwind-merge: 1.14.0- uploadthing: 6.3.1- optionalDependencies:- next: 14.2.5(@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])- transitivePeerDependencies:- - '@uploadthing/mime-types'-'@uploadthing/[email protected](@uploadthing/[email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])':dependencies:'@uploadthing/dropzone': 0.1.1@@ -11809,7 +12299,7 @@ snapshots:tailwind-merge: 1.14.0uploadthing: 6.3.1optionalDependencies:+ next: 14.2.5(@playwright/[email protected])([email protected]([email protected]))([email protected])transitivePeerDependencies:- '@uploadthing/mime-types'@@ -11833,6 +12323,19 @@ snapshots:optionalDependencies:'@uploadthing/mime-types': 0.2.2+ '@use-gesture/[email protected]': {}++ '@use-gesture/[email protected]([email protected])':+ dependencies:+ '@use-gesture/core': 10.3.1+ react: 18.2.0++ '@utsubo/[email protected]([email protected])':+ dependencies:+ eventemitter3: 4.0.7+ optionalDependencies:+ react: 18.2.0+'@vercel/[email protected]':dependencies:server-only: 0.0.1@@ -11866,12 +12369,12 @@ snapshots:satori: 0.0.46yoga-wasm-web: 0.3.0- '@vercel/[email protected]([email protected](@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])':+ '@vercel/[email protected]([email protected](@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])':optionalDependencies:- next: 14.2.5(@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])+ next: 14.2.5(@playwright/[email protected])([email protected]([email protected]))([email protected])react: 18.2.0- '@vercel/[email protected](@next/[email protected])([email protected])([email protected])([email protected])':+ '@vercel/[email protected](@next/[email protected])([email protected])([email protected])([email protected])':dependencies:'@babel/core': 7.22.10'@babel/eslint-parser': 7.22.10(@babel/[email protected])([email protected])@@ -11893,7 +12396,7 @@ snapshots:eslint-plugin-unicorn: 43.0.2([email protected])prettier-plugin-packagejson: 2.4.3([email protected])optionalDependencies:- '@next/eslint-plugin-next': 15.0.3-canary.5+ '@next/eslint-plugin-next': 15.0.4-canary.15eslint: 8.45.0prettier: 3.1.1typescript: 5.3.3@@ -11903,7 +12406,7 @@ snapshots:- jest- supports-color- '@vercel/[email protected]([email protected](@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])':+ '@vercel/[email protected]([email protected](@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])':dependencies:'@tinyhttp/app': 1.3.0chokidar: 3.5.3@@ -11912,7 +12415,7 @@ snapshots:get-port: 5.1.1strip-ansi: 6.0.1optionalDependencies:- next: 14.2.5(@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])+ next: 14.2.5(@playwright/[email protected])([email protected]([email protected]))([email protected])react: 18.2.0'@vitest/[email protected]':@@ -12019,6 +12522,8 @@ snapshots:'@webassemblyjs/ast': 1.12.1'@xtuc/long': 4.2.2+ '@webgpu/[email protected]': {}+'@xtuc/[email protected]': {}'@xtuc/[email protected]': {}@@ -12261,10 +12766,16 @@ snapshots:+ [email protected]: {}++ dependencies:+ require-from-string: 2.0.2+@@ -12318,6 +12829,11 @@ snapshots:+ dependencies:+ base64-js: 1.5.1+ ieee754: 1.2.1+@@ -12360,6 +12876,10 @@ snapshots:+ dependencies:+ three: 0.170.0+@@ -12596,6 +13116,10 @@ snapshots:crc-32: 1.2.2readable-stream: 3.6.2+ dependencies:+ cross-spawn: 7.0.3+dependencies:path-key: 3.1.1@@ -12755,6 +13279,8 @@ snapshots:dependencies:'@babel/runtime': 7.22.6+ [email protected]: {}+dependencies:ms: 2.0.0@@ -12820,6 +13346,10 @@ snapshots:+ dependencies:+ webgl-constants: 1.1.1+@@ -12908,6 +13438,8 @@ snapshots:+ [email protected]: {}+@@ -13224,7 +13756,7 @@ snapshots:'@typescript-eslint/parser': 5.62.0([email protected])([email protected])eslint: 8.56.0eslint-import-resolver-node: 0.3.7- eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])+ eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])eslint-plugin-import: 2.27.5(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])eslint-plugin-jsx-a11y: 6.7.1([email protected])eslint-plugin-react: 7.32.2([email protected])@@ -13262,7 +13794,7 @@ snapshots:enhanced-resolve: 5.15.0eslint: 8.45.0eslint-module-utils: 2.8.0(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected]))([email protected])- eslint-plugin-import: 2.27.5(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected]))([email protected])+ eslint-plugin-import: 2.27.5([email protected])get-tsconfig: 4.6.2globby: 13.2.2is-core-module: 2.12.1@@ -13292,7 +13824,7 @@ snapshots:- eslint-import-resolver-webpack- supports-color- [email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected]):+ [email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])([email protected]):dependencies:debug: 4.3.4enhanced-resolve: 5.15.0@@ -13339,7 +13871,7 @@ snapshots:'@typescript-eslint/parser': 5.62.0([email protected])([email protected])eslint: 8.56.0eslint-import-resolver-node: 0.3.7- eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])+ eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])transitivePeerDependencies:- supports-color@@ -13424,6 +13956,29 @@ snapshots:- eslint-import-resolver-webpack- supports-color+ dependencies:+ array-includes: 3.1.6+ array.prototype.flat: 1.3.1+ array.prototype.flatmap: 1.3.1+ debug: 3.2.7+ doctrine: 2.1.0+ eslint: 8.45.0+ eslint-import-resolver-node: 0.3.7+ eslint-module-utils: 2.8.0(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])+ has: 1.0.3+ is-core-module: 2.12.1+ is-glob: 4.0.3+ minimatch: 3.1.2+ object.values: 1.1.6+ resolve: 1.22.2+ semver: 6.3.1+ tsconfig-paths: 3.14.2+ transitivePeerDependencies:+ - eslint-import-resolver-typescript+ - eslint-import-resolver-webpack+ - supports-color+[email protected](@typescript-eslint/[email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]))([email protected])([email protected]):dependencies:'@typescript-eslint/utils': 5.59.1([email protected])([email protected])@@ -13798,8 +14353,12 @@ snapshots:node-domexception: 1.0.0web-streams-polyfill: 3.2.1+ [email protected]: {}++ [email protected]: {}+dependencies:flat-cache: 3.1.1@@ -13879,6 +14438,17 @@ snapshots:+ [email protected](@emotion/[email protected])(@react-three/[email protected]([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected]):+ dependencies:+ '@react-three/fiber': 8.17.10([email protected]([email protected]))([email protected])([email protected])+ framer-motion: 11.11.17(@emotion/[email protected])([email protected]([email protected]))([email protected])+ react: 18.2.0+ react-dom: 18.2.0([email protected])+ react-merge-refs: 2.1.1+ three: 0.170.0+ transitivePeerDependencies:+ - '@emotion/is-prop-valid'+dependencies:tslib: 2.6.0@@ -13887,6 +14457,14 @@ snapshots:react: 18.2.0react-dom: 18.2.0([email protected])+ [email protected](@emotion/[email protected])([email protected]([email protected]))([email protected]):+ dependencies:+ tslib: 2.6.2+ optionalDependencies:+ '@emotion/is-prop-valid': 0.8.8+ react: 18.2.0+ react-dom: 18.2.0([email protected])+@@ -14072,6 +14650,8 @@ snapshots:slash: 5.1.0unicorn-magic: 0.1.0+ [email protected]: {}+dependencies:get-intrinsic: 1.2.1@@ -14282,6 +14862,8 @@ snapshots:+ [email protected]: {}+dependencies:mkdirp: 0.3.0@@ -14341,6 +14923,8 @@ snapshots:+ [email protected]: {}+@@ -14515,6 +15099,8 @@ snapshots:+ [email protected]: {}+@@ -14570,6 +15156,11 @@ snapshots:+ dependencies:+ '@types/react-reconciler': 0.28.8+ react: 18.2.0+dependencies:'@types/node': 20.16.15@@ -14800,6 +15391,11 @@ snapshots:+ dependencies:+ '@types/three': 0.170.0+ three: 0.170.0+dependencies:'@jridgewell/sourcemap-codec': 1.4.15@@ -14973,6 +15569,12 @@ snapshots:+ dependencies:+ three: 0.170.0++ [email protected]: {}+@@ -15297,15 +15899,15 @@ snapshots:react: 18.3.1- [email protected]([email protected](@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]):+ [email protected]([email protected](@babel/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]):dependencies:- next: 14.2.5(@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])react: 18.2.0react-dom: 18.2.0([email protected])- [email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]):+ [email protected]([email protected](@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]):dependencies:+ next: 14.2.5(@playwright/[email protected])([email protected]([email protected]))([email protected])react: 18.2.0react-dom: 18.2.0([email protected])@@ -15315,7 +15917,7 @@ snapshots:react: 18.2.0react-dom: 18.3.1([email protected])- [email protected](@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]):+ [email protected](@babel/[email protected])([email protected]([email protected]))([email protected]):dependencies:'@next/env': 14.2.5'@swc/helpers': 0.5.5@@ -15336,12 +15938,11 @@ snapshots:'@next/swc-win32-arm64-msvc': 14.2.5'@next/swc-win32-ia32-msvc': 14.2.5'@next/swc-win32-x64-msvc': 14.2.5- '@playwright/test': 1.38.0transitivePeerDependencies:- '@babel/core'- babel-plugin-macros+ [email protected](@playwright/[email protected])([email protected]([email protected]))([email protected]):dependencies:'@next/env': 14.2.5'@swc/helpers': 0.5.5@@ -15362,6 +15963,7 @@ snapshots:'@next/swc-win32-arm64-msvc': 14.2.5'@next/swc-win32-ia32-msvc': 14.2.5'@next/swc-win32-x64-msvc': 14.2.5+ '@playwright/test': 1.38.0transitivePeerDependencies:- '@babel/core'- babel-plugin-macros@@ -15865,6 +16467,8 @@ snapshots:picocolors: 1.0.0source-map-js: 1.0.2+ [email protected]: {}+dependencies:preact: 10.11.3@@ -15919,6 +16523,11 @@ snapshots:+ dependencies:+ is-promise: 2.2.2+ lie: 3.1.1+dependencies:loose-envify: 1.4.0@@ -15947,6 +16556,23 @@ snapshots:+ [email protected](@react-three/[email protected]([email protected]([email protected]))([email protected])([email protected]))(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]):+ dependencies:+ '@radix-ui/react-icons': 1.3.2([email protected])+ '@react-three/drei': 9.116.0(@react-three/[email protected]([email protected]([email protected]))([email protected])([email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])([email protected])+ '@stitches/react': 1.2.8([email protected])+ '@utsubo/events': 0.1.7([email protected])+ react: 18.2.0+ three: 0.170.0+ zustand: 4.5.5(@types/[email protected])([email protected])+ optionalDependencies:+ '@react-three/fiber': 8.17.10([email protected]([email protected]))([email protected])([email protected])+ react-dom: 18.2.0([email protected])+ transitivePeerDependencies:+ - '@types/react'+ - '@types/three'+ - immer+@@ -15967,6 +16593,11 @@ snapshots:destr: 2.0.2flat: 5.0.2+ dependencies:+ prop-types: 15.8.1+ react: 18.2.0+dependencies:react: 18.2.0@@ -16024,9 +16655,9 @@ snapshots:react: 18.2.0use-sync-external-store: 1.2.0([email protected])- [email protected]([email protected](@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected])([email protected]([email protected]))([email protected])):+ [email protected]([email protected](@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected])([email protected]([email protected]))([email protected])):dependencies:- next: 14.2.5(@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])+ next: 14.2.5(@playwright/[email protected])([email protected]([email protected]))([email protected])react-instantsearch: 7.3.0([email protected])([email protected]([email protected]))([email protected])@@ -16068,11 +16699,19 @@ snapshots:transitivePeerDependencies:- supports-color+ [email protected]: {}+dependencies:react: 18.2.0react-dom: 18.2.0([email protected])+ dependencies:+ loose-envify: 1.4.0+ react: 18.2.0+ scheduler: 0.21.0+dependencies:react: 18.2.0@@ -16258,6 +16897,8 @@ snapshots:+ [email protected]: {}+@@ -16494,6 +17135,10 @@ snapshots:postcss-value-parser: 4.2.0yoga-wasm-web: 0.3.3+ dependencies:+ loose-envify: 1.4.0+dependencies:loose-envify: 1.4.0@@ -16661,6 +17306,13 @@ snapshots:+ dependencies:+ '@types/three': 0.170.0+ three: 0.170.0++ [email protected]: {}+@@ -16818,6 +17470,10 @@ snapshots:+ dependencies:+ react: 18.2.0+dependencies:'@pkgr/utils': 2.4.2@@ -16906,6 +17562,22 @@ snapshots:dependencies:any-promise: 1.3.0+ dependencies:+ three: 0.170.0++ dependencies:+ '@types/draco3d': 1.4.10+ '@types/offscreencanvas': 2019.7.3+ '@types/webxr': 0.5.20+ draco3d: 1.5.7+ fflate: 0.6.10+ potpack: 1.0.2+ three: 0.170.0++ [email protected]: {}+@@ -16932,6 +17604,20 @@ snapshots:+ dependencies:+ bidi-js: 1.0.3+ three: 0.170.0+ troika-three-utils: 0.50.3([email protected])+ troika-worker-utils: 0.50.0+ webgl-sdf-generator: 1.1.1++ dependencies:+ three: 0.170.0++ [email protected]: {}+@@ -16984,6 +17670,13 @@ snapshots:optionalDependencies:fsevents: 2.3.3+ dependencies:+ zustand: 4.3.9([email protected])+ transitivePeerDependencies:+ - immer+ - react+optional: true@@ -17291,13 +17984,21 @@ snapshots:dependencies:react: 18.2.0+ dependencies:+ react: 18.2.0++ [email protected]: {}+dependencies:js-md5: 0.7.3js-sha1: 0.6.0+ [email protected]: {}+dependencies:dequal: 2.0.3@@ -17438,6 +18139,10 @@ snapshots:+ [email protected]: {}++ [email protected]: {}+@@ -17588,10 +18293,21 @@ snapshots:+ optionalDependencies:+ react: 18.2.0+dependencies:use-sync-external-store: 1.2.0([email protected])optionalDependencies:react: 18.2.0+ dependencies:+ use-sync-external-store: 1.2.2([email protected])+ optionalDependencies:+ '@types/react': 18.2.20+ react: 18.2.0+