Skip to content

armgit / pdfcn

Public Imported from GitHub
0

Beautiful pdf components, built on Takumi and Forme. 100% Free, Zero config, one command setup.

chore: update dependencies and improve navigation layout

Aniket-508201efddb8771
diff --git a/app/(app)/docs/[[...slug]]/page.tsx b/app/(app)/docs/[[...slug]]/page.tsx
index d1e6b84..f5cbf5e 100644
--- a/app/(app)/docs/[[...slug]]/page.tsx
+++ b/app/(app)/docs/[[...slug]]/page.tsx
@@ -7,6 +7,7 @@ import {
DocsBaseSwitcher,
getDocsBaseSwitcherProps,
} from "@/components/docs-base-switcher";
+import { DocsAds } from "@/components/docs-ads";
import { DocsCopyPage } from "@/components/docs-copy-page";
import { DocsKeyboardShortcuts } from "@/components/docs-keyboard-shortcuts";
import { DocsNavLink } from "@/components/docs-nav-link";
@@ -181,6 +182,7 @@ const Page = async (props: { params: Promise<{ slug?: string[] }> }) => {
</div>
) : null}
</div>
+ <DocsAds slot="content" />
<div className="w-full flex-1 *:data-[slot=alert]:first:mt-0">
{baseSwitcher && (
<DocsBaseSwitcher {...baseSwitcher} className="mb-4" />
@@ -218,6 +220,7 @@ const Page = async (props: { params: Promise<{ slug?: string[] }> }) => {
</div>
) : null}
<DocsTocFooter docId={page.path} className="mx-8" />
+ <DocsAds slot="sidebar" className="mx-8 shrink-0" />
</div>
</div>
</PageTransition>
diff --git a/components/carbon-ads.tsx b/components/carbon-ads.tsx
new file mode 100644
index 0000000..bfd6252
--- /dev/null
+++ b/components/carbon-ads.tsx
@@ -0,0 +1,101 @@
+"use client";
+
+import { usePathname } from "next/navigation";
+import { useEffect, useRef, useState } from "react";
+
+import { cn } from "@/lib/utils";
+
+declare global {
+ interface Window {
+ _carbonads?: {
+ refresh: () => void;
+ };
+ }
+}
+
+const SCRIPT_ID = "_carbonads_js";
+
+let host: HTMLDivElement | null = null;
+let blocked = false;
+let onBlocked: (() => void) | null = null;
+let lastPathname: string | null = null;
+
+const getHost = (src: string) => {
+ if (host) {
+ return host;
+ }
+
+ const script = document.createElement("script");
+ script.id = SCRIPT_ID;
+ script.async = true;
+ script.src = src;
+ script.addEventListener("error", () => {
+ blocked = true;
+ onBlocked?.();
+ });
+
+ host = document.createElement("div");
+ host.dataset.slot = "carbon-ads-host";
+ host.append(script);
+
+ return host;
+};
+
+export interface CarbonAdsProps {
+ serve?: string;
+ placement?: string;
+ format?: "cover" | "responsive";
+ className?: string;
+}
+
+export const CarbonAds = ({
+ serve = "CWBIT5QM",
+ placement = "pdfcndev",
+ format = "responsive",
+ className,
+}: CarbonAdsProps) => {
+ const pathname = usePathname();
+ const containerRef = useRef<HTMLDivElement>(null);
+ const [isBlocked, setIsBlocked] = useState(blocked);
+
+ useEffect(() => {
+ const container = containerRef.current;
+ if (!container) {
+ return;
+ }
+
+ onBlocked = () => setIsBlocked(true);
+
+ const element = getHost(
+ `//cdn.carbonads.com/carbon.js?serve=${serve}&placement=${placement}&format=${format}`
+ );
+ if (element.parentElement !== container) {
+ container.append(element);
+ }
+
+ return () => {
+ onBlocked = null;
+ };
+ }, [serve, placement, format]);
+
+ useEffect(() => {
+ if (lastPathname !== null && lastPathname !== pathname) {
+ window._carbonads?.refresh();
+ }
+ lastPathname = pathname;
+ }, [pathname]);
+
+ if (isBlocked) {
+ return null;
+ }
+
+ return (
+ <div
+ ref={containerRef}
+ className={cn(
+ "flex items-center justify-center overflow-hidden",
+ className
+ )}
+ />
+ );
+};
diff --git a/components/docs-ads.tsx b/components/docs-ads.tsx
new file mode 100644
index 0000000..9e8a19e
--- /dev/null
+++ b/components/docs-ads.tsx
@@ -0,0 +1,23 @@
+"use client";
+
+import type { CarbonAdsProps } from "@/components/carbon-ads";
+import { CarbonAds } from "@/components/carbon-ads";
+import { useMediaQuery } from "@/hooks/use-media-query";
+
+const AD_SERVE = "CWBI4K7J";
+const AD_PLACEMENT = "wwwpdfcndev";
+const SIDEBAR_QUERY = "(min-width: 1280px)";
+
+interface DocsAdsProps extends Omit<CarbonAdsProps, "placement" | "serve"> {
+ slot: "content" | "sidebar";
+}
+
+export const DocsAds = ({ slot, ...props }: DocsAdsProps) => {
+ const hasSidebar = useMediaQuery(SIDEBAR_QUERY);
+
+ if (hasSidebar === undefined || hasSidebar !== (slot === "sidebar")) {
+ return null;
+ }
+
+ return <CarbonAds serve={AD_SERVE} placement={AD_PLACEMENT} {...props} />;
+};
diff --git a/components/labs-nav.tsx b/components/labs-nav.tsx
index 08bbba8..6bdf3ff 100644
--- a/components/labs-nav.tsx
+++ b/components/labs-nav.tsx
@@ -29,10 +29,14 @@ import { cn } from "@/lib/utils";
type SectionId = (typeof LABS_NAV_SECTIONS)[number]["id"];
const SECTION_WIDTH: Partial<Record<SectionId, string>> = {
- registries: "w-40",
+ registries: "w-72",
skills: "w-72",
};
+const SECTION_LIST: Partial<Record<SectionId, string>> = {
+ registries: "columns-2 gap-x-6 space-y-1",
+};
+
const latestCardClassName = cn(
"flex flex-col gap-4 rounded-lg border border-border bg-background p-4",
"text-base font-normal no-underline transition-colors",
@@ -145,16 +149,18 @@ const DesktopSection = ({
title,
items,
className,
+ listClassName,
}: {
title: string;
items: readonly LabsNavLinkItem[];
className?: string;
+ listClassName?: string;
}) => (
- <div className={cn("flex flex-col gap-3", className)}>
+ <div className={cn("flex flex-col gap-3 w-44", className)}>
<SectionTitle>{title}</SectionTitle>
- <ul className="flex flex-col gap-1">
+ <ul className={cn("columns-1 gap-1", listClassName)}>
{items.map((item) => (
- <li key={item.href} className="w-full">
+ <li key={item.href} className="w-full break-inside-avoid">
<LabsNavLink item={item}>
{({ label, onMouseEnter, onMouseLeave }) => (
<NavigationMenuLink
@@ -308,7 +314,7 @@ const LabsNavDesktop = () => {
<div className="flex gap-8 py-4 pl-3">
<div className="flex w-64 flex-col gap-3">
<SectionTitle>Latest</SectionTitle>
- <LatestCard item={LABS_LATEST} nameClassName="min-h-22">
+ <LatestCard item={LABS_LATEST} nameClassName="min-h-8">
{({ content, onMouseEnter, onMouseLeave }) => (
<NavigationMenuLink
href={addQueryParams(
@@ -331,7 +337,8 @@ const LabsNavDesktop = () => {
key={section.id}
title={section.title}
items={section.items}
- className={SECTION_WIDTH[section.id] ?? "w-44"}
+ className={SECTION_WIDTH[section.id]}
+ listClassName={SECTION_LIST[section.id]}
/>
))}
</div>
diff --git a/constants/nav.ts b/constants/nav.ts
index 91434f2..a4f960d 100644
--- a/constants/nav.ts
+++ b/constants/nav.ts
@@ -7,9 +7,9 @@ export interface LabsNavLink {
}
export const LABS_LATEST = {
- description: "Beautiful rich text editors, made simple",
- href: "https://editorcn.vercel.app",
- name: "editorcn",
+ description: "Beautiful shaders, made simple",
+ href: "https://shadercn.run",
+ name: "shadercn",
} as const satisfies LabsNavLink;
export const LABS_REGISTRIES = [
@@ -19,6 +19,7 @@ export const LABS_REGISTRIES = [
{ href: "https://ogimagecn.com", name: "ogimagecn" },
{ href: "https://agentcn.run", name: "agentcn" },
{ href: "https://mcpcn.dev", name: "mcpcn" },
+ { href: "https://editorcn.vercel.app", name: "editorcn" },
] as const satisfies readonly LabsNavLink[];
export const LABS_TEMPLATES = [
diff --git a/hooks/use-media-query.ts b/hooks/use-media-query.ts
new file mode 100644
index 0000000..5d07aa7
--- /dev/null
+++ b/hooks/use-media-query.ts
@@ -0,0 +1,15 @@
+import { useEffect, useState } from "react";
+
+export const useMediaQuery = (query: string) => {
+ const [matches, setMatches] = useState<boolean | undefined>();
+
+ useEffect(() => {
+ const mql = window.matchMedia(query);
+ const onChange = () => setMatches(mql.matches);
+ mql.addEventListener("change", onChange);
+ setMatches(mql.matches);
+ return () => mql.removeEventListener("change", onChange);
+ }, [query]);
+
+ return matches;
+};
diff --git a/lib/utils.ts b/lib/utils.ts
index 95c9b6c..c682d72 100644
--- a/lib/utils.ts
+++ b/lib/utils.ts
@@ -1,10 +1,8 @@
-import { clsx } from "clsx";
-import type { ClassValue } from "clsx";
-import { twMerge } from "tailwind-merge";
+import { cn } from "cn";
import { SITE } from "@/constants/site";
-export const cn = (...inputs: ClassValue[]) => twMerge(clsx(inputs));
+export { cn };
export const absoluteUrl = (path: string) => `${SITE.URL}${path}`;
diff --git a/package.json b/package.json
index 2cacfeb..1f28d33 100644
--- a/package.json
+++ b/package.json
@@ -21,8 +21,8 @@
"@vercel/analytics": "^2.0.1",
"@web-kits/audio": "^0.1.0",
"class-variance-authority": "^0.7.1",
- "clsx": "^2.1.1",
"cmdk": "^1.1.1",
+ "cn": "^0.2.6",
"fumadocs-core": "^16.8.4",
"fumadocs-mdx": "^14.3.1",
"jiti": "^2.6.1",
@@ -30,7 +30,7 @@
"lru-cache": "^11.3.5",
"lucide-react": "1.11.0",
"motion": "^12.38.0",
- "next": "16.3.0",
+ "next": "16.3.4",
"next-themes": "0.4.6",
"pdfjs-dist": "5.4.296",
"postcss": "^8.5.10",
@@ -44,7 +44,6 @@
"shiki": "^4.0.2",
"sonner": "^2.0.7",
"sucrase": "^3.35.1",
- "tailwind-merge": "^3.5.0",
"takumi-pdf": "^0.11.0",
"ts-morph": "^26.0.0",
"use-webmcp-tool": "^0.2.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 88ef0ce..2846d6a 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -22,25 +22,25 @@ importers:
version: 2.10.0([email protected])
'@vercel/analytics':
specifier: ^2.0.1
'@web-kits/audio':
specifier: ^0.1.0
version: 0.1.0([email protected])
class-variance-authority:
specifier: ^0.7.1
version: 0.7.1
- clsx:
- specifier: ^2.1.1
- version: 2.1.1
cmdk:
specifier: ^1.1.1
+ cn:
+ specifier: ^0.2.6
+ version: 0.2.6
fumadocs-core:
specifier: ^16.8.4
fumadocs-mdx:
specifier: ^14.3.1
jiti:
specifier: ^2.6.1
version: 2.6.1
@@ -57,8 +57,8 @@ importers:
specifier: ^12.38.0
next:
- specifier: 16.3.0
+ specifier: 16.3.4
next-themes:
specifier: 0.4.6
@@ -98,9 +98,6 @@ importers:
sucrase:
specifier: ^3.35.1
version: 3.35.1
- tailwind-merge:
- specifier: ^3.5.0
- version: 3.5.0
takumi-pdf:
specifier: ^0.11.0
version: 0.11.0([email protected])
@@ -676,160 +673,160 @@ packages:
resolution: {integrity: sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ==}
engines: {node: '>=18'}
- resolution: {integrity: sha512-RMnFX7YQsMoh7lWfcM4NEHHymBX/rLuKNPVM84XE9ONPcaSCDgE7CHIHpSgPcO2xcRthgBy1HfNO319mwhIAkg==}
+ resolution: {integrity: sha512-Uhfl4V4lhP2nbUVF9+hyH1+luj86f1gUFeo8ALYxFoULoU+G87D43BfeMP8XHsk9boxAnCY/bf2EHwhA7MuGsA==}
engines: {node: '>=20.9.0'}
cpu: [arm64]
os: [darwin]
- resolution: {integrity: sha512-Xo+5uFBtLN0BKqieTxiFzFPQAUlBbbH5iBKyRX/z1JrbnYsHTfKJnUfL8+p2TPXr1pXqao4eeL4Rl144uDpK9w==}
+ resolution: {integrity: sha512-hWniXY3bG5qKpkKrAwPe4y+VTPmf086YQAnkxWh7uA1YrlRouWGa0M0Mxj3ZjnXFkv7/TD1bTy9lGUK26vRvWw==}
engines: {node: '>=20.9.0'}
cpu: [x64]
os: [darwin]
- resolution: {integrity: sha512-lUxcqWIj2wMQ9BrwNjngcr1gWUr5xgaGThBRqPPalIC2n67Cqj1uPh8NnA/ZhAg8hUbKl+kVHKwgUIwe6ZYPrg==}
+ resolution: {integrity: sha512-lIsKw/BU+kjB4eZjxrYrZmwOJYi3Ajrv66iAlBmUPyKc3HpnloevB1g3wxGD9P/5BbQ1brBGl65VRRrCvQDEqA==}
engines: {node: '>=20.9.0'}
os: [freebsd]
- resolution: {integrity: sha512-9J6ypZFpQBj4YnePGoq/S38w6nz+vqg5WZLrLGY4YuSemdMq47GMLBPO42MzwdGwpg/agZ7xzZcFHa48xlywfg==}
+ resolution: {integrity: sha512-suTBPTDGrI9WodccaDdwZItTSaBYASlBk1NSfElSHrUfzu3szG6lvIF58+WiFvnfzuK8ZBFS5zE00PxqxnRiPg==}
cpu: [arm64]
os: [darwin]
- resolution: {integrity: sha512-m2pW1n6cns9VaubNwsZ+c3CRYjxNQWgJ5gPlnL1nbBcpkBvFm6SCFN5o0psFHI8w9n11NKhFkeEDns98tiqbEw==}
+ resolution: {integrity: sha512-FVJZ5mITMobmXIz/hPDTw0EintTW5H3WfrxwLqEqjiIihlu+hVRyGrFQ60xl0Lxn7Bt3zdpevPaQi0HEzqz9fw==}
cpu: [x64]
os: [darwin]
- resolution: {integrity: sha512-dqVSFynCox4C/J8kT16V7SIFAns0IjgLwkvYT7p8LQVmJ5OS5b6tI9IGflxTeuBS//zXeFIUbwt5dwxyZ17cnA==}
+ resolution: {integrity: sha512-0DaL0A6Xu6sQSQFwe4iVCrKWU2cCTItnRsYsCdxAMm9NF6twAA9BKnoqy4hqz4+azQ0JHuA26qiUKsf1XJ/v5A==}
cpu: [arm64]
os: [linux]
libc: [glibc]
- resolution: {integrity: sha512-1eMLzy92I4J6rmi4mAT8yC3HxOtniyGELlzGbNMLLeqe052ahFQ0h6LFq+lh5DsDIdYViIDst08abvSbcEdLXQ==}
+ resolution: {integrity: sha512-3rbU4vqXXc3hY/OiXdl52xZvT0F1yEngWfvqudtPJg/KkyiaQw2DRsFrNzpmLvfavbwOq3qXn36GP8obHRULQA==}
cpu: [arm]
os: [linux]
libc: [glibc]
- resolution: {integrity: sha512-3z0NHDxD6n5I9gc05U1eW1AyRm+Gznzq3naMrthPNqE6oYykcogW0l/jfpJdjYnuNl8R7yI9pNbE1XiUeyq0Aw==}
+ resolution: {integrity: sha512-cdn1OvUBwsXhbC0zSzJnNzf5MZ/mTrobawDvNXBTxe8VtqKAm0sRuEY2Evzovb/w9JMk4TvRxqt1mekSuJz64w==}
cpu: [ppc64]
os: [linux]
libc: [glibc]
- resolution: {integrity: sha512-bsb4rI+NldGOsXuej2r8OdSS8+zXDVaCWxyWrcv6kneTOlgAHtZABRzBBCwdsPiD90J4myNJuHpg6kA20ImW/w==}
+ resolution: {integrity: sha512-HjPVx7yKz+0lqdhDlTw1tt90wamBoxhiXpvl1XZpJLiHH4RCJ5yDTqH+VlYPv2fwFs89JFw4c1IexYOcQUi4IQ==}
cpu: [riscv64]
os: [linux]
libc: [glibc]
- resolution: {integrity: sha512-/ABshyj8gCpyIrNXnHn4LorDJ0HHm1VhXPBlxZ8zAtfVPAaSafXPGn+sUSIRiwaSBy0mmFjSjiXI5mkcwdChKQ==}
+ resolution: {integrity: sha512-neWLh+3yCNThxnfy3c4BbVBeGgt9aftno+XbT56iK28RgeDs3UOFWviLWlUu0bArYVYJaFDK+RRohbicUNCm8Q==}
cpu: [s390x]
os: [linux]
libc: [glibc]
- resolution: {integrity: sha512-ITPEtgffGJ0S6G9dRyw/366tJQqFRcHWPHhC+Stpg3Z8AEMrDrTr2lhdz4f/Y/HMbRh//7Z5mBzEpVdi62Oc3w==}
+ resolution: {integrity: sha512-4vKmvAst9nrowcqquKFAyZJUDolUaIp8uRiN0mWFguJ1IplC9/pitXtlnnlU4aa/eJw3J7i67V+pwUL+wZGdsA==}
cpu: [x64]
os: [linux]
libc: [glibc]
- resolution: {integrity: sha512-zE9EdiUzUmg5mDT5a1rk5fYJ6GWPloTwWBYDS14naqHsL+EaMpDj1AWnpLgh3u0YCORv2Tt50wrcrpYqkP97Kw==}
+ resolution: {integrity: sha512-Y9kQaLMuNoB0bPYOOdcZMaseNrFpPodIWWMrx+CZyydf2xn68j9WYc6sWWRrDwNkzCQjKYfc68L7jKjGlHMibw==}
cpu: [arm64]
os: [linux]
libc: [musl]
- resolution: {integrity: sha512-m0lrLiUt+lBYnCFr8qV/65yMR4E/c7/wf78I5eKTdkEakFAlZ9QlzEM3QIhhAwVeUhLAHLcCq7a7Vszq/oFNZQ==}
+ resolution: {integrity: sha512-fj8Mv0HHfD1Rr+4I68+3agJynxDWtBFgicTbSOb9Bke6pIwzGcJ+RX/yHjmiEGFMCavY/dxvem7MyNaJF+wDiw==}
cpu: [x64]
os: [linux]
libc: [musl]
- resolution: {integrity: sha512-QgKDspHPnrU+GQ55XPhGwyhC8acLVOOSyAvo1oVfFmrIXLkDNmGWzAfDZ4xK8oSA1qBQrALcHX0G5UZni/SuFQ==}
+ resolution: {integrity: sha512-De4jpEnAU8Hd5oT0j1G3uL4ZvTuipVMn7YC6vPaJhy6/7EwEae0SVAoBrUMYQbkLGDm85taVWwuPc1a44LTzCQ==}
engines: {node: '>=20.9.0'}
cpu: [arm64]
os: [linux]
libc: [glibc]
- resolution: {integrity: sha512-affVWCTLooy8TSxbDx2qkzuDeaWLNVBA+P//FNBirHsXpP2fuBhk5AuboYUnrDnzoXes8GFjpTx0SBFOCRg+FA==}
+ resolution: {integrity: sha512-7OAS8gI0EReKGVN2HssHlM6umJgxF5VI3xN0p9FA91p/YO+ou5hiNghLdZ5BEHztwaaK5+bLKRf8x/o2L2nk9A==}
engines: {node: '>=20.9.0'}
cpu: [arm]
os: [linux]
libc: [glibc]
- resolution: {integrity: sha512-sMd8rDxmpLOwv/7N44klFjOD5DUO7FLdjiXDI0hoxYaf7Ar262dQIEkosE98bps+5HPLtp/EvNqeqQtOycP/IA==}
+ resolution: {integrity: sha512-2oYZJeIl4kCcMGk4ouZVjnkCtFrpQFlNEtJ6GbxzhHQchwH0NH/qEb9ykmOl29dqwMq+JhFdZn+1ak2FKhI9fQ==}
engines: {node: '>=20.9.0'}
cpu: [ppc64]
os: [linux]
libc: [glibc]
- resolution: {integrity: sha512-0Eob78yjlYPfL5vMNWAW55l3R9Y6BQS/gOfe0ZcP9mEz9ohhKSt4im1hayiknXgf8AWrFqMvJcKIdmLmEe7yeQ==}
+ resolution: {integrity: sha512-cPbNChoRURAWdebDIHSenxRpgEdy7JkPydSnUxRm9VvKD7m0/xVaR/8Fzlu81pk5nHEvHH87UZUA7cTtwnbJSA==}
engines: {node: '>=20.9.0'}
cpu: [riscv64]
os: [linux]
libc: [glibc]
- resolution: {integrity: sha512-KgAxQ0DxpNOq1rG2t5cgTgShJFGSuU7XO45cqC+1NVOuZnP6tlgZRuSYOfNupGkHID0o3cJOsw4DVeJpMovcGw==}
+ resolution: {integrity: sha512-RY0JFY8Fd6RonCBtHz+DvadaPkXDSI1AUn6yWL9TipqkZ1vY8w8evqdgyDFnkm4/K1ve1TvZiaePP5oSd4+WVQ==}
engines: {node: '>=20.9.0'}
cpu: [s390x]
os: [linux]
libc: [glibc]
- resolution: {integrity: sha512-8pqvxubL2PGdhlPy6GLqzDYMUjyRmKAwKHYKixpdJYBUK7PJ0C029XdsnpFIdgRZG68fZiGdHVWcKPvtiPB4cA==}
+ resolution: {integrity: sha512-9qvvEAuk8k89TfWUoX2htWjbAMX8p+NxCppjpcg5k6xMsjhBQPTsoIh36h9Qde4WRuGpJeYnOjdosDn/cnv+OA==}
engines: {node: '>=20.9.0'}
cpu: [x64]
os: [linux]
libc: [glibc]
- resolution: {integrity: sha512-Vz0iQjzzcSX3HCbfwFfCSG/9SCIqyO0mH2sXyiHaAYfBk0cRsCWXRyQYX0ovCK/PAQBbTzQ0dsPQHh5MAFL59w==}
+ resolution: {integrity: sha512-KB5jxpfWQTr0nc3xdHtWChdbifHrBGsd2SM62Eyxrl8afikm+f5qGBU75SJIZBT/S1MC8XyacdlXBMSWq6OURA==}
engines: {node: '>=20.9.0'}
cpu: [arm64]
os: [linux]
libc: [musl]
- resolution: {integrity: sha512-6O1NPKcDVj9QEdg7Hx549EX8U0rp6yXQERqru6yRN7fGBn32UvIRJUlWnk+8xDCiG76hXVBbX82NZ/ZKr0euIg==}
+ resolution: {integrity: sha512-f+eZJZIQNEEd26RPSW+76chwOf1XtA2Y/O+5ocVyLliHkeih3e+jhLVBdNTd2rS3IbNXK8+ug93Vf5ZXtF5Lxg==}
engines: {node: '>=20.9.0'}
cpu: [x64]
os: [linux]
libc: [musl]
- resolution: {integrity: sha512-cZ0XkcYGpHZkqW6iCkqTcmUC0CD9DhD5d/qeZlZkfRBn6GnHniZXLUo5+9xw8Iv76YE6LQFN9YNBlKREcCG76w==}
+ resolution: {integrity: sha512-zQnl4Kwp7Q6NHsENtU2T/00Zi+w3AQNwz3+UaTyVBy2FpXrzXzGjndpK61onhZjRtRpQXxCTeqw19bVyXOh7jA==}
engines: {node: '>=20.9.0'}
- resolution: {integrity: sha512-2rnq7bX3NzeR2T4YWgz8qiG4h3TSdMe+vN1iQXpJleSJ3SM5zQ8Fy2SyyXAWlbxpEZ2Y+Z4u1BePgJEYbSy80Q==}
+ resolution: {integrity: sha512-ESfNkywmCfPNyaZjxooddJQiQ+l/nTpGEOGthxiLnIHXC/CmcBixnfwUleX9mCz9ovrUUvKMap/pm8RYbzfwaA==}
engines: {node: '>=20.9.0'}
cpu: [wasm32]
- resolution: {integrity: sha512-4bPwFdMbeC4JQ8L8LOyWp6nsHcboP5fxkp6iPOXz2Vg49R42TuMs2whkJ5OAP4/Ul035qOzy0AecOF9VOscn4w==}
+ resolution: {integrity: sha512-iNdlBX9gLVvqe2I3uIJSIKTq6wckP/DYxZtcqxm09x5Gi24DnFBmPAWZmr60ZyYMG0xlzo6goG3670ar+RXvRw==}
engines: {node: '>=20.9.0'}
cpu: [arm64]
os: [win32]
- resolution: {integrity: sha512-r53mXsBN6lFUDiST764SvgwUdHAqM4rPAiDzAmf4fLoB6X/rkfyTrLCg6+g17wJJiCmB3JYgHuUldCWUIRFSXw==}
+ resolution: {integrity: sha512-kqRsbaa5CS6KHlpxnN7WhE6vAAugXyZButpRdvDWetlv6Qv4N9WTcrWzF7tXfB9T7MsoadqdI8hmwLq6UlLvtw==}
engines: {node: ^20.9.0}
cpu: [ia32]
os: [win32]
- resolution: {integrity: sha512-D4y1vNeZrIIJCN+uHaWVtH86B+aCrdMYYjicy9pXHvbGZeGYLLSd3wdVuC37FxVXlU1ARsk84eKWfWMXGYEqvA==}
+ resolution: {integrity: sha512-XtmnYhBcrORsJ4XJngyzr/EWP0hRZLAZRFaApdKuviyqF78+ylxh2y06ZmtULAMOnObJ3ucpN0AcwSWnMowTRg==}
engines: {node: '>=20.9.0'}
cpu: [x64]
os: [win32]
@@ -977,57 +974,57 @@ packages:
resolution: {integrity: sha512-xglYA6q3XO5P3BNJYxVZ1IV7DLVjp1Py6nwag88YntrS+3vKHyYcMqXVS4ZztJmwz2uGvz1FWhI/4LgbR5uQDA==}
engines: {node: '>= 10'}
- resolution: {integrity: sha512-o9r1S0BNiNreHP9Vs+Qnqd9kviDkJh8xIACY7UFZSmiGbbQRzPBBosvHzAU4TULHOIuOj/18RSsyz2qrREmIFw==}
+ resolution: {integrity: sha512-cjWZnUUa6jZq2kFaNe/ZyJdZonOZ/QoN0Zka2nz/FLOrfx14pQuM9c5RaSVkWMqgdt4ksgPAMWPyHSs/CyV48Q==}
- resolution: {integrity: sha512-55hpqq18bEVAlxedlTt3tFqZmKg2nUXT1kn1G/BGEy0R13h3LwtwHPVzzjG6P4LLeOHE32PFDQUVaJEWvBEZBw==}
+ resolution: {integrity: sha512-iBr3I5LZNk5/bgl5//iTgD2tcym14MX0Xo7fD//u9dYAEgGzza1y9oywluPtf74YnOswVdH1908aK9xVz7zQTw==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [darwin]
- resolution: {integrity: sha512-SOi96kSaF5T+0wW4koiM1bWzSPwjzTesC1p3df+FjdOi5LIQkBK/blxh7HdoKnNuI4PURF1OO7TZqtfnbWDSgw==}
+ resolution: {integrity: sha512-2dpiSyl2Jw/NrBPaU2MAKGSa+2MR82pJIn4Sm5Rjr+gxAeuh0z158Su3Z2O8zn7UNNq+ej4bToed6RcRN/Lydg==}
engines: {node: '>= 10'}
cpu: [x64]
os: [darwin]
- resolution: {integrity: sha512-P0gZAoPMF4dyTRzhmkV4PrqVzSOB6t4mC1oI3c4dqijJ+OVEVx5clIXAKR4/uQpsqw2KKM/0D5tVumcR2r5blg==}
+ resolution: {integrity: sha512-+t+U8HZT+fApePCS5h89CSH3datz29MkzyfCn+6fpsZBG/oiEOhINcb9rtkv6sdpToLGFn2e6146NzaKCXkqrA==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
libc: [glibc]
- resolution: {integrity: sha512-tXXGKJw0m37O0eKJARVTX/TheKPhz0QFVtVVZXmOig+9YKLQOSP6hvf2pxv5DO7CLEJyTHx3Pg043CDQkv1G4Q==}
+ resolution: {integrity: sha512-mx03GNs1ocQA5JQ4FxDMmIsNkdrZh8cuezKCrId28e5/gIPU/l7Kcy2+vmCCzdjnnmXJy+iOAu+7K0QppO6Urg==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
libc: [musl]
- resolution: {integrity: sha512-pjGxK5EY7yWml78ALejFkWmgHsU7wbFQrISiugpH6FbUJhgEvw3xFZ/EBAtLl7QtL0WdQKiG9eWJ3mOKGTukHw==}
+ resolution: {integrity: sha512-YIhGY6fSMfha52bnVxnzc9zaVBzJg+cqQTOD8tXIBSx4fuv0pVMxQTE0PaS59YhnMOiYiG09IMwxJAf/CFm/Dw==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
libc: [glibc]
- resolution: {integrity: sha512-sjo++Xx+lomlPs3HRsHWhVDyGG6ms1kGW5EtHLERdII8AyG1i+f6aq68xHREO6AEMlhjTNEWBSmfJfqm9orf7g==}
+ resolution: {integrity: sha512-+eaaX6axpDb0yF1GCpiERe6njplvdC+nks/fKfcHu3XPGRrald8P3/X7yv7QLdjA51knnxwl9pxdIJsg+w1L+Q==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
libc: [musl]
- resolution: {integrity: sha512-C5JSgiO54wURdaxdEUIXqkz04uMqC9UmPX1gtDrV/5Tf1UowdWYI8uA5hfFbPolTlp0q4KZ60xlHePNibf0VIw==}
+ resolution: {integrity: sha512-0jcXW7Xs/uzICrmgV3MhDYDeRy++1CqnpDIerlPIqYO4bhzB4WNbX/aRnQclustsAyTkFKB0z6rbcjmNg5tR8A==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [win32]
- resolution: {integrity: sha512-fDOggsweNb5SSw0ZKVk6U+gxSyGFFlIBY/LBc1r8GUj4u/6t6oArL+Pmkg0MBnsgR+KkdsURilVH4F3GXUGepA==}
+ resolution: {integrity: sha512-vvBzwu1pYQCp92maZCFCIw/XgOTMR5tur9GjakwIo2cmwRTMKajRZZDS9+e4KsUZWKu1E007WUeAFXRRjZeuzw==}
engines: {node: '>= 10'}
cpu: [x64]
os: [win32]
@@ -2069,8 +2066,8 @@ packages:
'@standard-schema/[email protected]':
resolution: {integrity: sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==}
- resolution: {integrity: sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g==}
+ resolution: {integrity: sha512-5lSsMOTXURePglDfvuAQUqkGek9Hg2kksOYay2m0+XR++b2NWYL/4sWyuvVBIs8oKnJaxkdi9whaL/sqN13afw==}
'@tailwindcss/[email protected]':
resolution: {integrity: sha512-Ai7+yQPxz3ddrDQzFfBKdHEVBg0w3Zl83jnjuwxnZOsnH9pGn93QHQtpU0p/8rYWxvbFZHneni6p1BSLK4DkGA==}
@@ -2452,6 +2449,11 @@ packages:
react: ^18 || ^19 || ^19.0.0-rc
react-dom: ^18 || ^19 || ^19.0.0-rc
+ resolution: {integrity: sha512-+i4L0zUGgRcEnhsxueVrP7iBGxBx5iD0WOTYg1MwFEu2ZyCmH5Ov2V1cul2Ht5UchRQQgftCf4be/RxspuW6QQ==}
+ engines: {node: '>=20'}
+ hasBin: true
+
resolution: {integrity: sha512-Oofo0pq3IKnsFtuHqSF7TqBfr71aeyZDVJ0HpmqB7FBM2qEigL0iPONSCZSO9pE9dZTAxANe5XHG9Uy0YMv8cg==}
@@ -3681,8 +3683,8 @@ packages:
react: ^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc
react-dom: ^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc
- resolution: {integrity: sha512-NEdGOzH+08eTXMUp9UYkA99Nhi5N6Thrhc1jgFOQgfgnGK/dA2hRwBpXep+exdFQrnwlRf/3Wixyp8lLBUpE2A==}
+ resolution: {integrity: sha512-/Ztf6CeRH+ejEXUrYtqI4gkS66eFIHuSwqi60RgcpWKodxFZx2/dqVCMKBwILfAHXQ+F1b1vAudgj3mnxqtoIA==}
engines: {node: '>=20.9.0'}
hasBin: true
peerDependencies:
@@ -4142,8 +4144,8 @@ packages:
resolution: {integrity: sha512-ZpNOz7IMI5aezbMEWNxBvl2aJ1ek6NuAMqpL/FUnk5IuRxERl8ohYEnqqAmhPOcur8RbGuCoqTZLQ3Oi4Xkf8A==}
hasBin: true
- resolution: {integrity: sha512-ej0zVHuZGHCiABXcNxeYhpRnPNPAcvbG8RMdBAhDAxLKkCRVSpK3Iyu7qbqw3JMzoj0REeM6f3tJLtVwl0023Q==}
+ resolution: {integrity: sha512-n++8XWcj+jCOr2IOl7h8LbKnGBDY4aPbmprMONBNFdn0ImXqpGVv5zliDs0V9HbmbCQLpbuo2ej9rAoOQTvMDA==}
engines: {node: '>=20.9.0'}
peerDependencies:
'@types/node': '*'
@@ -5063,108 +5065,108 @@ snapshots:
optional: true
optionalDependencies:
- '@img/sharp-libvips-darwin-arm64': 1.3.2
+ '@img/sharp-libvips-darwin-arm64': 1.3.3
optional: true
optionalDependencies:
- '@img/sharp-libvips-darwin-x64': 1.3.2
+ '@img/sharp-libvips-darwin-x64': 1.3.3
optional: true
dependencies:
- '@img/sharp-wasm32': 0.35.3
+ '@img/sharp-wasm32': 0.35.4
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optionalDependencies:
- '@img/sharp-libvips-linux-arm64': 1.3.2
+ '@img/sharp-libvips-linux-arm64': 1.3.3
optional: true
optionalDependencies:
- '@img/sharp-libvips-linux-arm': 1.3.2
+ '@img/sharp-libvips-linux-arm': 1.3.3
optional: true
optionalDependencies:
- '@img/sharp-libvips-linux-ppc64': 1.3.2
+ '@img/sharp-libvips-linux-ppc64': 1.3.3
optional: true
optionalDependencies:
- '@img/sharp-libvips-linux-riscv64': 1.3.2
+ '@img/sharp-libvips-linux-riscv64': 1.3.3
optional: true
optionalDependencies:
- '@img/sharp-libvips-linux-s390x': 1.3.2
+ '@img/sharp-libvips-linux-s390x': 1.3.3
optional: true
optionalDependencies:
- '@img/sharp-libvips-linux-x64': 1.3.2
+ '@img/sharp-libvips-linux-x64': 1.3.3
optional: true
optionalDependencies:
- '@img/sharp-libvips-linuxmusl-arm64': 1.3.2
+ '@img/sharp-libvips-linuxmusl-arm64': 1.3.3
optional: true
optionalDependencies:
- '@img/sharp-libvips-linuxmusl-x64': 1.3.2
+ '@img/sharp-libvips-linuxmusl-x64': 1.3.3
optional: true
dependencies:
'@emnapi/runtime': 1.11.3
optional: true
dependencies:
- '@img/sharp-wasm32': 0.35.3
+ '@img/sharp-wasm32': 0.35.4
optional: true
optional: true
optional: true
optional: true
'@inquirer/[email protected]': {}
@@ -5322,30 +5324,30 @@ snapshots:
'@napi-rs/canvas-win32-x64-msvc': 0.1.100
optional: true
- '@next/[email protected]': {}
+ '@next/[email protected]': {}
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
'@noble/[email protected]': {}
@@ -6304,7 +6306,7 @@ snapshots:
'@standard-schema/[email protected]': {}
dependencies:
tslib: 2.8.1
@@ -6439,9 +6441,9 @@ snapshots:
'@ungap/[email protected]': {}
optionalDependencies:
react: 19.2.5
@@ -6617,6 +6619,8 @@ snapshots:
- '@types/react'
- '@types/react-dom'
+
@@ -7046,7 +7050,7 @@ snapshots:
optional: true
dependencies:
'@orama/orama': 3.1.18
estree-util-value-to-estree: 3.5.0
@@ -7072,21 +7076,21 @@ snapshots:
'@types/mdast': 4.0.4
'@types/react': 19.2.14
lucide-react: 1.11.0([email protected])
react: 19.2.5
react-dom: 19.2.5([email protected])
zod: 4.3.6
transitivePeerDependencies:
- supports-color
dependencies:
'@mdx-js/mdx': 3.1.1
'@standard-schema/spec': 1.1.0
chokidar: 5.0.0
esbuild: 0.28.0
estree-util-value-to-estree: 3.5.0
js-yaml: 4.1.1
mdast-util-mdx: 3.0.0
mdast-util-to-markdown: 2.1.2
@@ -7103,7 +7107,7 @@ snapshots:
'@types/mdast': 4.0.4
'@types/mdx': 2.0.13
'@types/react': 19.2.14
react: 19.2.5
transitivePeerDependencies:
- supports-color
@@ -8066,10 +8070,10 @@ snapshots:
react: 19.2.5
react-dom: 19.2.5([email protected])
dependencies:
- '@next/env': 16.3.0
- '@swc/helpers': 0.5.15
+ '@next/env': 16.3.4
+ '@swc/helpers': 0.5.23
baseline-browser-mapping: 2.10.22
caniuse-lite: 1.0.30001790
postcss: 8.5.23
@@ -8077,15 +8081,15 @@ snapshots:
react-dom: 19.2.5([email protected])
styled-jsx: 5.1.6(@babel/[email protected])([email protected])
optionalDependencies:
- '@next/swc-darwin-arm64': 16.3.0
- '@next/swc-darwin-x64': 16.3.0
- '@next/swc-linux-arm64-gnu': 16.3.0
- '@next/swc-linux-arm64-musl': 16.3.0
- '@next/swc-linux-x64-gnu': 16.3.0
- '@next/swc-linux-x64-musl': 16.3.0
- '@next/swc-win32-arm64-msvc': 16.3.0
- '@next/swc-win32-x64-msvc': 16.3.0
- sharp: 0.35.3(@types/[email protected])
+ '@next/swc-darwin-arm64': 16.3.4
+ '@next/swc-darwin-x64': 16.3.4
+ '@next/swc-linux-arm64-gnu': 16.3.4
+ '@next/swc-linux-arm64-musl': 16.3.4
+ '@next/swc-linux-x64-gnu': 16.3.4
+ '@next/swc-linux-x64-musl': 16.3.4
+ '@next/swc-win32-arm64-msvc': 16.3.4
+ '@next/swc-win32-x64-msvc': 16.3.4
+ sharp: 0.35.4(@types/[email protected])
transitivePeerDependencies:
- '@babel/core'
- '@types/node'
@@ -8716,37 +8720,37 @@ snapshots:
- supports-color
- typescript
dependencies:
'@img/colour': 1.1.0
detect-libc: 2.1.2
semver: 7.8.5
optionalDependencies:
- '@img/sharp-darwin-arm64': 0.35.3
- '@img/sharp-darwin-x64': 0.35.3
- '@img/sharp-freebsd-wasm32': 0.35.3
- '@img/sharp-libvips-darwin-arm64': 1.3.2
- '@img/sharp-libvips-darwin-x64': 1.3.2
- '@img/sharp-libvips-linux-arm': 1.3.2
- '@img/sharp-libvips-linux-arm64': 1.3.2
- '@img/sharp-libvips-linux-ppc64': 1.3.2
- '@img/sharp-libvips-linux-riscv64': 1.3.2
- '@img/sharp-libvips-linux-s390x': 1.3.2
- '@img/sharp-libvips-linux-x64': 1.3.2
- '@img/sharp-libvips-linuxmusl-arm64': 1.3.2
- '@img/sharp-libvips-linuxmusl-x64': 1.3.2
- '@img/sharp-linux-arm': 0.35.3
- '@img/sharp-linux-arm64': 0.35.3
- '@img/sharp-linux-ppc64': 0.35.3
- '@img/sharp-linux-riscv64': 0.35.3
- '@img/sharp-linux-s390x': 0.35.3
- '@img/sharp-linux-x64': 0.35.3
- '@img/sharp-linuxmusl-arm64': 0.35.3
- '@img/sharp-linuxmusl-x64': 0.35.3
- '@img/sharp-webcontainers-wasm32': 0.35.3
- '@img/sharp-win32-arm64': 0.35.3
- '@img/sharp-win32-ia32': 0.35.3
- '@img/sharp-win32-x64': 0.35.3
+ '@img/sharp-darwin-arm64': 0.35.4
+ '@img/sharp-darwin-x64': 0.35.4
+ '@img/sharp-freebsd-wasm32': 0.35.4
+ '@img/sharp-libvips-darwin-arm64': 1.3.3
+ '@img/sharp-libvips-darwin-x64': 1.3.3
+ '@img/sharp-libvips-linux-arm': 1.3.3
+ '@img/sharp-libvips-linux-arm64': 1.3.3
+ '@img/sharp-libvips-linux-ppc64': 1.3.3
+ '@img/sharp-libvips-linux-riscv64': 1.3.3
+ '@img/sharp-libvips-linux-s390x': 1.3.3
+ '@img/sharp-libvips-linux-x64': 1.3.3
+ '@img/sharp-libvips-linuxmusl-arm64': 1.3.3
+ '@img/sharp-libvips-linuxmusl-x64': 1.3.3
+ '@img/sharp-linux-arm': 0.35.4
+ '@img/sharp-linux-arm64': 0.35.4
+ '@img/sharp-linux-ppc64': 0.35.4
+ '@img/sharp-linux-riscv64': 0.35.4
+ '@img/sharp-linux-s390x': 0.35.4
+ '@img/sharp-linux-x64': 0.35.4
+ '@img/sharp-linuxmusl-arm64': 0.35.4
+ '@img/sharp-linuxmusl-x64': 0.35.4
+ '@img/sharp-webcontainers-wasm32': 0.35.4
+ '@img/sharp-win32-arm64': 0.35.4
+ '@img/sharp-win32-ia32': 0.35.4
+ '@img/sharp-win32-x64': 0.35.4
'@types/node': 25.6.0
optional: true