commit
Port from Next.js to SvelteKit on Cloudflare
React, vanilla-extract, TanStack Query and recharts replaced with Svelte, plain CSS shared with doughmination.gay, doughmination-api's typed client and SVG charts. Public pages render on the server; signed-in pages stay client-side since the token lives in localStorage.
diff --git a/.gitignore b/.gitignore
index 53c6baa..cc9ad92 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,14 +1,12 @@
# dependencies
node_modules
-# next.js / build output
-.next/
-out/
-next-env.d.ts
+# build output
+.svelte-kit/
+build/
tsconfig.tsbuildinfo
-# cloudflare / opennext
-.open-next/
+# cloudflare
.dev.vars
.wrangler/
cloudflare-env.d.ts
diff --git a/README.md b/README.md
index dbe1a68..d06dbfc 100644
--- a/README.md
+++ b/README.md
@@ -6,59 +6,44 @@ through the Doughmination API, so pages render fresh on every request.
## Tech stack
-- [Next.js 16](https://nextjs.org/) (App Router, React 19)
-- [vanilla-extract](https://vanilla-extract.style/) for styling
-- [TanStack Query](https://tanstack.com/query) + `doughmination-api` for data
-- Deployed to **Cloudflare Workers** via [OpenNext](https://opennext.js.org/cloudflare)
+- [SvelteKit](https://svelte.dev/docs/kit) (Svelte 5)
+- Plain CSS, shared with [doughmination.gay](https://doughmination.gay)
+- `doughmination-api/server`'s typed client for data, plus its live socket
+- Deployed to **Cloudflare Workers** via `@sveltejs/adapter-cloudflare`
## Local development
```bash
-npm install
-npm run dev
+bun install
+bun run dev
```
-Runs the Next.js dev server at http://localhost:3000.
+Runs the Vite dev server at http://localhost:5173.
To preview in the real Workers runtime (closer to production):
```bash
-npm run preview
+bun run preview
```
## Deploy
-Deployed to Cloudflare Workers with the OpenNext adapter — **not** Pages / next-on-pages.
-
```bash
-npm run deploy
+bun run deploy
```
-This runs `opennextjs-cloudflare build` (which wraps `next build`) and then
-`wrangler deploy`. First run will prompt `wrangler login`.
-
-Alternatively, connect the repo as a **Workers** project in the Cloudflare
-dashboard with:
-
-- Build command: `npx opennextjs-cloudflare build`
-- Deploy command: `npx wrangler deploy`
-
-Worker config lives in [`wrangler.jsonc`](./wrangler.jsonc); adapter options in
-[`open-next.config.ts`](./open-next.config.ts). Member pages (`/[member_id]`) are
+This runs `vite build` and then `wrangler deploy`. Worker config lives in
+[`wrangler.jsonc`](./wrangler.jsonc). Member pages (`/[member_id]`) are
server-rendered on demand so Discord embeds and live data stay current with no
-rebuild.
+rebuild; signed-in pages (`/user`, `/admin`, `/owner`) render in the browser,
+since the API token lives in `localStorage`.
## Scripts
| Script | Description |
| ----------------- | ------------------------------------------ |
-| `npm run dev` | Next.js dev server (Turbopack) |
-| `npm run build` | Plain `next build` |
-| `npm run preview` | Build + serve in the local Workers runtime |
-| `npm run deploy` | Build + deploy to Cloudflare Workers |
-| `npm run lint` | ESLint |
-
-## Contributing & licence
-
-See [Contributing.md](./Contributing.md), [Security.md](./Security.md), and
-[Licence.md](./Licence.md).
+| `bun run dev` | Vite dev server |
+| `bun run build` | Production build for Workers |
+| `bun run preview` | Build + serve in the local Workers runtime |
+| `bun run deploy` | Build + deploy to Cloudflare Workers |
+| `bun run check` | svelte-check type checking |
diff --git a/public/_headers b/_headers
similarity index 73%
rename from public/_headers
rename to _headers
index 3b460e6..6faeff0 100644
--- a/public/_headers
+++ b/_headers
@@ -1,2 +1,2 @@
-/_next/static/*
+/_app/immutable/*
Cache-Control: public,max-age=31536000,immutable
diff --git a/bun.lock b/bun.lock
index 76cb1c4..02d2d3b 100644
--- a/bun.lock
+++ b/bun.lock
@@ -1,994 +1,265 @@
{
- "lockfileVersion": 1,
+ "lockfileVersion": 2,
"configVersion": 1,
"workspaces": {
"": {
- "name": "frontend",
+ "name": "doughmination-system",
"dependencies": {
- "@opennextjs/cloudflare": "^1.20.2",
- "@radix-ui/react-checkbox": "^1.3.11",
- "@radix-ui/react-label": "^2.1.15",
- "@radix-ui/react-select": "^2.3.7",
- "@radix-ui/react-separator": "^1.1.15",
- "@radix-ui/react-slot": "^1.3.3",
- "@radix-ui/react-toast": "^1.2.23",
- "@radix-ui/react-tooltip": "^1.2.16",
- "@tanstack/react-query": "^5.101.4",
- "@vanilla-extract/recipes": "^0.5.7",
- "clsx": "^2.1.1",
"doughmination-api": "^1.6.0",
- "lucide-react": "1.54.0",
- "next": "16.2.12",
- "react": "19.2.8",
- "react-dom": "19.2.8",
- "recharts": "^3.10.1",
- "sonner": "^2.0.7",
+ "iconsax": "^0.1.1",
+ "simple-icons": "npm:@icons-pack/svelte-simple-icons@^7.2.0",
},
"devDependencies": {
- "@types/node": "^26.1.2",
- "@types/react": "^19.2.18",
- "@types/react-dom": "^19.2.4",
- "@vanilla-extract/css": "^1.21.2",
- "@vanilla-extract/next-plugin": "^2.5.2",
- "typescript": "^6.0.3",
- "wrangler": "^4.120.0",
+ "@cloudflare/workers-types": "^5.20261029.1",
+ "@sveltejs/adapter-cloudflare": "8.0.1",
+ "@sveltejs/kit": "3.1.0",
+ "@sveltejs/vite-plugin-svelte": "7.3.1",
+ "svelte": "5.57.3",
+ "svelte-check": "4.7.7",
+ "typescript": "~6.0.3",
+ "vite": "8.3.5",
+ "wrangler": "4.154.0",
},
},
},
- "trustedDependencies": [
- "esbuild",
- "sharp",
- "@swc/core",
- "workerd",
- ],
"packages": {
- "@ast-grep/napi": ["@ast-grep/[email protected]", "", { "optionalDependencies": { "@ast-grep/napi-darwin-arm64": "0.40.5", "@ast-grep/napi-darwin-x64": "0.40.5", "@ast-grep/napi-linux-arm64-gnu": "0.40.5", "@ast-grep/napi-linux-arm64-musl": "0.40.5", "@ast-grep/napi-linux-x64-gnu": "0.40.5", "@ast-grep/napi-linux-x64-musl": "0.40.5", "@ast-grep/napi-win32-arm64-msvc": "0.40.5", "@ast-grep/napi-win32-ia32-msvc": "0.40.5", "@ast-grep/napi-win32-x64-msvc": "0.40.5" } }, "sha512-hJA62OeBKUQT68DD2gDyhOqJxZxycqg8wLxbqjgqSzYttCMSDL9tiAQ9abgekBYNHudbJosm9sWOEbmCDfpX2A=="],
-
- "@ast-grep/napi-darwin-arm64": ["@ast-grep/[email protected]", "", { "os": "darwin", "cpu": "arm64" }, "sha512-2F072fGN0WTq7KI3okuEnkGJVEHLbi56Bw1H6NAMf7j2mJJeQWsRyGOMcyNnUXZDeNdvoMH0OB2a5wwUegY/nQ=="],
-
- "@ast-grep/napi-darwin-x64": ["@ast-grep/[email protected]", "", { "os": "darwin", "cpu": "x64" }, "sha512-dJMidHZhhxuLBYNi6/FKI812jQ7wcFPSKkVPwviez2D+KvYagapUMAV/4dJ7FCORfguVk8Y0jpPAlYmWRT5nvA=="],
-
- "@ast-grep/napi-linux-arm64-gnu": ["@ast-grep/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-nBRCbyoS87uqkaw4Oyfe5VO+SRm2B+0g0T8ME69Qry9ShMf41a2bTdpcQx9e8scZPogq+CTwDHo3THyBV71l9w=="],
-
- "@ast-grep/napi-linux-arm64-musl": ["@ast-grep/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-/qKsmds5FMoaEj6FdNzepbmLMtlFuBLdrAn9GIWCqOIcVcYvM1Nka8+mncfeXB/MFZKOrzQsQdPTWqrrQzXLrA=="],
-
- "@ast-grep/napi-linux-x64-gnu": ["@ast-grep/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-DP4oDbq7f/1A2hRTFLhJfDFR6aI5mRWdEfKfHzRItmlKsR9WlcEl1qDJs/zX9R2EEtIDsSKRzuJNfJllY3/W8Q=="],
-
- "@ast-grep/napi-linux-x64-musl": ["@ast-grep/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-BRZUvVBPUNpWPo6Ns8chXVzxHPY+k9gpsubGTHy92Q26ecZULd/dTkWWdnvfhRqttsSQ9Pe/XQdi5+hDQ6RYcg=="],
-
- "@ast-grep/napi-win32-arm64-msvc": ["@ast-grep/[email protected]", "", { "os": "win32", "cpu": "arm64" }, "sha512-y95zSEwc7vhxmcrcH0GnK4ZHEBQrmrszRBNQovzaciF9GUqEcCACNLoBesn4V47IaOp4fYgD2/EhGRTIBFb2Ug=="],
-
- "@ast-grep/napi-win32-ia32-msvc": ["@ast-grep/[email protected]", "", { "os": "win32", "cpu": "ia32" }, "sha512-K/u8De62iUnFCzVUs7FBdTZ2Jrgc5/DLHqjpup66KxZ7GIM9/HGME/O8aSoPkpcAeCD4TiTZ11C1i5p5H98hTg=="],
-
- "@ast-grep/napi-win32-x64-msvc": ["@ast-grep/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-dqm5zg/o4Nh4VOQPEpMS23ot8HVd22gG0eg01t4CFcZeuzyuSgBlOL3N7xLbz3iH2sVkk7keuBwAzOIpTqziNQ=="],
-
- "@aws-crypto/sha1-browser": ["@aws-crypto/[email protected]", "", { "dependencies": { "@aws-crypto/supports-web-crypto": "^5.2.0", "@aws-crypto/util": "^5.2.0", "@aws-sdk/types": "^3.222.0", "@aws-sdk/util-locate-window": "^3.0.0", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.6.2" } }, "sha512-OH6lveCFfcDjX4dbAvCFSYUjJZjDr/3XJ3xHtjn3Oj5b9RjojQo8npoLeA/bNwkOkrSQ0wgrHzXk4tDRxGKJeg=="],
-
- "@aws-crypto/sha256-browser": ["@aws-crypto/[email protected]", "", { "dependencies": { "@aws-crypto/sha256-js": "^5.2.0", "@aws-crypto/supports-web-crypto": "^5.2.0", "@aws-crypto/util": "^5.2.0", "@aws-sdk/types": "^3.222.0", "@aws-sdk/util-locate-window": "^3.0.0", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.6.2" } }, "sha512-AXfN/lGotSQwu6HNcEsIASo7kWXZ5HYWvfOmSNKDsEqC4OashTp8alTmaz+F7TC2L083SFv5RdB+qU3Vs1kZqw=="],
-
- "@aws-crypto/sha256-js": ["@aws-crypto/[email protected]", "", { "dependencies": { "@aws-crypto/util": "^5.2.0", "@aws-sdk/types": "^3.222.0", "tslib": "^2.6.2" } }, "sha512-FFQQyu7edu4ufvIZ+OadFpHHOt+eSTBaYaki44c+akjg7qZg9oOQeLlk77F6tSYqjDAFClrHJk9tMf0HdVyOvA=="],
-
- "@aws-crypto/supports-web-crypto": ["@aws-crypto/[email protected]", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-iAvUotm021kM33eCdNfwIN//F77/IADDSs58i+MDaOqFrVjZo9bAal0NK7HurRuWLLpF1iLX7gbWrjHjeo+YFg=="],
-
- "@aws-crypto/util": ["@aws-crypto/[email protected]", "", { "dependencies": { "@aws-sdk/types": "^3.222.0", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.6.2" } }, "sha512-4RkU9EsI6ZpBve5fseQlGNUWKMa1RLPQ1dnjnQoe07ldfIzcsGb5hC5W0Dm7u423KWzawlrpbjXBrXCEv9zazQ=="],
-
- "@aws-sdk/checksums": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/core": "^3.977.6", "@aws-sdk/types": "^3.974.2", "@smithy/core": "^3.31.1", "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-CGznePoL+1oWCSzqmkvlYMpWQEZohPR3LntjKXXfVH+oh6Kd8d+yHLkjpiAGwPIHAxFe4OAq3aKfRnv/wqWIyA=="],
-
- "@aws-sdk/client-cloudfront": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-crypto/sha256-browser": "5.2.0", "@aws-crypto/sha256-js": "5.2.0", "@aws-sdk/core": "^3.973.6", "@aws-sdk/credential-provider-node": "^3.972.5", "@aws-sdk/middleware-host-header": "^3.972.3", "@aws-sdk/middleware-logger": "^3.972.3", "@aws-sdk/middleware-recursion-detection": "^3.972.3", "@aws-sdk/middleware-user-agent": "^3.972.6", "@aws-sdk/region-config-resolver": "^3.972.3", "@aws-sdk/types": "^3.973.1", "@aws-sdk/util-endpoints": "3.984.0", "@aws-sdk/util-user-agent-browser": "^3.972.3", "@aws-sdk/util-user-agent-node": "^3.972.4", "@smithy/config-resolver": "^4.4.6", "@smithy/core": "^3.22.0", "@smithy/fetch-http-handler": "^5.3.9", "@smithy/hash-node": "^4.2.8", "@smithy/invalid-dependency": "^4.2.8", "@smithy/middleware-content-length": "^4.2.8", "@smithy/middleware-endpoint": "^4.4.12", "@smithy/middleware-retry": "^4.4.29", "@smithy/middleware-serde": "^4.2.9", "@smithy/middleware-stack": "^4.2.8", "@smithy/node-config-provider": "^4.3.8", "@smithy/node-http-handler": "^4.4.8", "@smithy/protocol-http": "^5.3.8", "@smithy/smithy-client": "^4.11.1", "@smithy/types": "^4.12.0", "@smithy/url-parser": "^4.2.8", "@smithy/util-base64": "^4.3.0", "@smithy/util-body-length-browser": "^4.2.0", "@smithy/util-body-length-node": "^4.2.1", "@smithy/util-defaults-mode-browser": "^4.3.28", "@smithy/util-defaults-mode-node": "^4.2.31", "@smithy/util-endpoints": "^3.2.8", "@smithy/util-middleware": "^4.2.8", "@smithy/util-retry": "^4.2.8", "@smithy/util-stream": "^4.5.10", "@smithy/util-utf8": "^4.2.0", "@smithy/util-waiter": "^4.2.8", "tslib": "^2.6.2" } }, "sha512-couDuDLpJtoeWne/nYyJ+I+5ntBVdNgBVRTCoDaXuVV7OC3u/wz5Ps0+GogspEwMLEFoOJ8t691h3YXQtnpQTw=="],
-
- "@aws-sdk/client-dynamodb": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-crypto/sha256-browser": "5.2.0", "@aws-crypto/sha256-js": "5.2.0", "@aws-sdk/core": "^3.973.6", "@aws-sdk/credential-provider-node": "^3.972.5", "@aws-sdk/dynamodb-codec": "^3.972.7", "@aws-sdk/middleware-endpoint-discovery": "^3.972.3", "@aws-sdk/middleware-host-header": "^3.972.3", "@aws-sdk/middleware-logger": "^3.972.3", "@aws-sdk/middleware-recursion-detection": "^3.972.3", "@aws-sdk/middleware-user-agent": "^3.972.6", "@aws-sdk/region-config-resolver": "^3.972.3", "@aws-sdk/types": "^3.973.1", "@aws-sdk/util-endpoints": "3.984.0", "@aws-sdk/util-user-agent-browser": "^3.972.3", "@aws-sdk/util-user-agent-node": "^3.972.4", "@smithy/config-resolver": "^4.4.6", "@smithy/core": "^3.22.0", "@smithy/fetch-http-handler": "^5.3.9", "@smithy/hash-node": "^4.2.8", "@smithy/invalid-dependency": "^4.2.8", "@smithy/middleware-content-length": "^4.2.8", "@smithy/middleware-endpoint": "^4.4.12", "@smithy/middleware-retry": "^4.4.29", "@smithy/middleware-serde": "^4.2.9", "@smithy/middleware-stack": "^4.2.8", "@smithy/node-config-provider": "^4.3.8", "@smithy/node-http-handler": "^4.4.8", "@smithy/protocol-http": "^5.3.8", "@smithy/smithy-client": "^4.11.1", "@smithy/types": "^4.12.0", "@smithy/url-parser": "^4.2.8", "@smithy/util-base64": "^4.3.0", "@smithy/util-body-length-browser": "^4.2.0", "@smithy/util-body-length-node": "^4.2.1", "@smithy/util-defaults-mode-browser": "^4.3.28", "@smithy/util-defaults-mode-node": "^4.2.31", "@smithy/util-endpoints": "^3.2.8", "@smithy/util-middleware": "^4.2.8", "@smithy/util-retry": "^4.2.8", "@smithy/util-utf8": "^4.2.0", "@smithy/util-waiter": "^4.2.8", "tslib": "^2.6.2" } }, "sha512-8/Oft9MWQtbG6p9f8eY5fsKC2CcO5YVDlwive8eUYS9mEbgnyQxm68OyH26WvsSTykQ9QkIbR+fOG56RsIBODw=="],
-
- "@aws-sdk/client-lambda": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-crypto/sha256-browser": "5.2.0", "@aws-crypto/sha256-js": "5.2.0", "@aws-sdk/core": "^3.973.6", "@aws-sdk/credential-provider-node": "^3.972.5", "@aws-sdk/middleware-host-header": "^3.972.3", "@aws-sdk/middleware-logger": "^3.972.3", "@aws-sdk/middleware-recursion-detection": "^3.972.3", "@aws-sdk/middleware-user-agent": "^3.972.6", "@aws-sdk/region-config-resolver": "^3.972.3", "@aws-sdk/types": "^3.973.1", "@aws-sdk/util-endpoints": "3.984.0", "@aws-sdk/util-user-agent-browser": "^3.972.3", "@aws-sdk/util-user-agent-node": "^3.972.4", "@smithy/config-resolver": "^4.4.6", "@smithy/core": "^3.22.0", "@smithy/eventstream-serde-browser": "^4.2.8", "@smithy/eventstream-serde-config-resolver": "^4.3.8", "@smithy/eventstream-serde-node": "^4.2.8", "@smithy/fetch-http-handler": "^5.3.9", "@smithy/hash-node": "^4.2.8", "@smithy/invalid-dependency": "^4.2.8", "@smithy/middleware-content-length": "^4.2.8", "@smithy/middleware-endpoint": "^4.4.12", "@smithy/middleware-retry": "^4.4.29", "@smithy/middleware-serde": "^4.2.9", "@smithy/middleware-stack": "^4.2.8", "@smithy/node-config-provider": "^4.3.8", "@smithy/node-http-handler": "^4.4.8", "@smithy/protocol-http": "^5.3.8", "@smithy/smithy-client": "^4.11.1", "@smithy/types": "^4.12.0", "@smithy/url-parser": "^4.2.8", "@smithy/util-base64": "^4.3.0", "@smithy/util-body-length-browser": "^4.2.0", "@smithy/util-body-length-node": "^4.2.1", "@smithy/util-defaults-mode-browser": "^4.3.28", "@smithy/util-defaults-mode-node": "^4.2.31", "@smithy/util-endpoints": "^3.2.8", "@smithy/util-middleware": "^4.2.8", "@smithy/util-retry": "^4.2.8", "@smithy/util-stream": "^4.5.10", "@smithy/util-utf8": "^4.2.0", "@smithy/util-waiter": "^4.2.8", "tslib": "^2.6.2" } }, "sha512-kqwNBIGNxGVhINwgN/UQfdsQkaMjbu9PFV2EhATWouV+RT60uMjK9JENgLDwbgJmEVbbnPsh9HaZ5KKwPSdiDg=="],
-
- "@aws-sdk/client-s3": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-crypto/sha1-browser": "5.2.0", "@aws-crypto/sha256-browser": "5.2.0", "@aws-crypto/sha256-js": "5.2.0", "@aws-sdk/core": "^3.973.6", "@aws-sdk/credential-provider-node": "^3.972.5", "@aws-sdk/middleware-bucket-endpoint": "^3.972.3", "@aws-sdk/middleware-expect-continue": "^3.972.3", "@aws-sdk/middleware-flexible-checksums": "^3.972.4", "@aws-sdk/middleware-host-header": "^3.972.3", "@aws-sdk/middleware-location-constraint": "^3.972.3", "@aws-sdk/middleware-logger": "^3.972.3", "@aws-sdk/middleware-recursion-detection": "^3.972.3", "@aws-sdk/middleware-sdk-s3": "^3.972.6", "@aws-sdk/middleware-ssec": "^3.972.3", "@aws-sdk/middleware-user-agent": "^3.972.6", "@aws-sdk/region-config-resolver": "^3.972.3", "@aws-sdk/signature-v4-multi-region": "3.984.0", "@aws-sdk/types": "^3.973.1", "@aws-sdk/util-endpoints": "3.984.0", "@aws-sdk/util-user-agent-browser": "^3.972.3", "@aws-sdk/util-user-agent-node": "^3.972.4", "@smithy/config-resolver": "^4.4.6", "@smithy/core": "^3.22.0", "@smithy/eventstream-serde-browser": "^4.2.8", "@smithy/eventstream-serde-config-resolver": "^4.3.8", "@smithy/eventstream-serde-node": "^4.2.8", "@smithy/fetch-http-handler": "^5.3.9", "@smithy/hash-blob-browser": "^4.2.9", "@smithy/hash-node": "^4.2.8", "@smithy/hash-stream-node": "^4.2.8", "@smithy/invalid-dependency": "^4.2.8", "@smithy/md5-js": "^4.2.8", "@smithy/middleware-content-length": "^4.2.8", "@smithy/middleware-endpoint": "^4.4.12", "@smithy/middleware-retry": "^4.4.29", "@smithy/middleware-serde": "^4.2.9", "@smithy/middleware-stack": "^4.2.8", "@smithy/node-config-provider": "^4.3.8", "@smithy/node-http-handler": "^4.4.8", "@smithy/protocol-http": "^5.3.8", "@smithy/smithy-client": "^4.11.1", "@smithy/types": "^4.12.0", "@smithy/url-parser": "^4.2.8", "@smithy/util-base64": "^4.3.0", "@smithy/util-body-length-browser": "^4.2.0", "@smithy/util-body-length-node": "^4.2.1", "@smithy/util-defaults-mode-browser": "^4.3.28", "@smithy/util-defaults-mode-node": "^4.2.31", "@smithy/util-endpoints": "^3.2.8", "@smithy/util-middleware": "^4.2.8", "@smithy/util-retry": "^4.2.8", "@smithy/util-stream": "^4.5.10", "@smithy/util-utf8": "^4.2.0", "@smithy/util-waiter": "^4.2.8", "tslib": "^2.6.2" } }, "sha512-7ny2Slr93Y+QniuluvcfWwyDi32zWQfznynL56Tk0vVh7bWrvS/odm8WP2nInKicRVNipcJHY2YInur6Q/9V0A=="],
-
- "@aws-sdk/client-sqs": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-crypto/sha256-browser": "5.2.0", "@aws-crypto/sha256-js": "5.2.0", "@aws-sdk/core": "^3.973.6", "@aws-sdk/credential-provider-node": "^3.972.5", "@aws-sdk/middleware-host-header": "^3.972.3", "@aws-sdk/middleware-logger": "^3.972.3", "@aws-sdk/middleware-recursion-detection": "^3.972.3", "@aws-sdk/middleware-sdk-sqs": "^3.972.5", "@aws-sdk/middleware-user-agent": "^3.972.6", "@aws-sdk/region-config-resolver": "^3.972.3", "@aws-sdk/types": "^3.973.1", "@aws-sdk/util-endpoints": "3.984.0", "@aws-sdk/util-user-agent-browser": "^3.972.3", "@aws-sdk/util-user-agent-node": "^3.972.4", "@smithy/config-resolver": "^4.4.6", "@smithy/core": "^3.22.0", "@smithy/fetch-http-handler": "^5.3.9", "@smithy/hash-node": "^4.2.8", "@smithy/invalid-dependency": "^4.2.8", "@smithy/md5-js": "^4.2.8", "@smithy/middleware-content-length": "^4.2.8", "@smithy/middleware-endpoint": "^4.4.12", "@smithy/middleware-retry": "^4.4.29", "@smithy/middleware-serde": "^4.2.9", "@smithy/middleware-stack": "^4.2.8", "@smithy/node-config-provider": "^4.3.8", "@smithy/node-http-handler": "^4.4.8", "@smithy/protocol-http": "^5.3.8", "@smithy/smithy-client": "^4.11.1", "@smithy/types": "^4.12.0", "@smithy/url-parser": "^4.2.8", "@smithy/util-base64": "^4.3.0", "@smithy/util-body-length-browser": "^4.2.0", "@smithy/util-body-length-node": "^4.2.1", "@smithy/util-defaults-mode-browser": "^4.3.28", "@smithy/util-defaults-mode-node": "^4.2.31", "@smithy/util-endpoints": "^3.2.8", "@smithy/util-middleware": "^4.2.8", "@smithy/util-retry": "^4.2.8", "@smithy/util-utf8": "^4.2.0", "tslib": "^2.6.2" } }, "sha512-TDvHpOUWlpanc3xQ5Xw0y8L2hoojBFCCSmXQ/6rKqGOf1ScX3dMA+K9aF0Zp0iwjhSh4VvsHD42esl8XwQZDjA=="],
-
- "@aws-sdk/core": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/types": "^3.974.2", "@aws-sdk/xml-builder": "^3.972.37", "@aws/lambda-invoke-store": "^0.3.0", "@smithy/core": "^3.31.1", "@smithy/signature-v4": "^5.6.12", "@smithy/types": "^4.16.1", "bowser": "^2.11.0", "tslib": "^2.6.2" } }, "sha512-QiaJV4/zDrB4ZY2mfeSXSzSTc36W16sZXcGz+SPFk0CJ26gziO0cS+4LjJUMAbdeeBOvS0k0Aq1cZpfGdUXxSw=="],
-
- "@aws-sdk/credential-provider-env": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/core": "^3.977.6", "@aws-sdk/types": "^3.974.2", "@smithy/core": "^3.31.1", "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-rcIpk5kxUqDaaNa6Xk23pQ6ViY7jlqzmfFWCahQcBT97ddXaXYYwzCen9Tz1Jvo6aJft6wDl5bN44/Jw5B4oLA=="],
-
- "@aws-sdk/credential-provider-http": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/core": "^3.977.6", "@aws-sdk/types": "^3.974.2", "@smithy/core": "^3.31.1", "@smithy/fetch-http-handler": "^5.6.13", "@smithy/node-http-handler": "^4.9.13", "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-nggwJtZ4eeNsUw5IeWBMXsi1ryct5idi0K+/SCRF3kybLubOMaNTb3XCihXpWMiVpyzyPeIrl0zTkzhBH9porA=="],
-
- "@aws-sdk/credential-provider-ini": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/core": "^3.977.6", "@aws-sdk/credential-provider-env": "^3.972.67", "@aws-sdk/credential-provider-http": "^3.972.69", "@aws-sdk/credential-provider-login": "^3.972.74", "@aws-sdk/credential-provider-process": "^3.972.67", "@aws-sdk/credential-provider-sso": "^3.973.11", "@aws-sdk/credential-provider-web-identity": "^3.972.73", "@aws-sdk/nested-clients": "^3.997.41", "@aws-sdk/types": "^3.974.2", "@smithy/core": "^3.31.1", "@smithy/credential-provider-imds": "^4.4.16", "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-pNEf/OeyN5X3VmLKlgSO6TqaWmW10CvI3TfwL1XhsuhYjSLT2VDaxFnCPHnOeQXSaFisMX4jNhpETriqN8DOmg=="],
-
- "@aws-sdk/credential-provider-login": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/core": "^3.977.6", "@aws-sdk/nested-clients": "^3.997.41", "@aws-sdk/types": "^3.974.2", "@smithy/core": "^3.31.1", "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-0AQfDcf99TNmqVKv0owHrw/TQs6i4ZE5t9qmz6NvO53bE/sA/tpXhXL9AAcEP1qHc6Zzjd1UMb69+/9zdhvY3g=="],
-
- "@aws-sdk/credential-provider-node": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/credential-provider-env": "^3.972.67", "@aws-sdk/credential-provider-http": "^3.972.69", "@aws-sdk/credential-provider-ini": "^3.973.12", "@aws-sdk/credential-provider-process": "^3.972.67", "@aws-sdk/credential-provider-sso": "^3.973.11", "@aws-sdk/credential-provider-web-identity": "^3.972.73", "@aws-sdk/types": "^3.974.2", "@smithy/core": "^3.31.1", "@smithy/credential-provider-imds": "^4.4.16", "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-OgPAnfvbGAMWac6yvxJ1ihslrvDpPVwR68D2csospdNCCyPvHk9JLzYKwz48SNiS1T2znDwHauywRKRFfpyYng=="],
-
- "@aws-sdk/credential-provider-process": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/core": "^3.977.6", "@aws-sdk/types": "^3.974.2", "@smithy/core": "^3.31.1", "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-IlUEejorGTWKb4/Dm7K5Yw4QxUmXLThLhrvBmzVBqZFTbW72cv9LTcITmo1dsnYriALE4h68mOq4LB99x6sQ7Q=="],
-
- "@aws-sdk/credential-provider-sso": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/core": "^3.977.6", "@aws-sdk/nested-clients": "^3.997.41", "@aws-sdk/token-providers": "3.1103.0", "@aws-sdk/types": "^3.974.2", "@smithy/core": "^3.31.1", "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-gAQBkBZxUB84d71+pPcI9L+jh2ujhuAVxc/4FgGiWFDjkPBlMKxzd5XDtkSXTFX8Ro7ansnT88+XadasxMeCRw=="],
-
- "@aws-sdk/credential-provider-web-identity": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/core": "^3.977.6", "@aws-sdk/nested-clients": "^3.997.41", "@aws-sdk/types": "^3.974.2", "@smithy/core": "^3.31.1", "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-SnlEmQa6SjOgs6iOPLUQl1Eyq4AKiAdPQlkOhFhqNfDtDCwibMGvL6QlkSmf3o6vAUSImzdPCxowT5dfQUZP1A=="],
-
- "@aws-sdk/dynamodb-codec": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/core": "^3.977.6", "@smithy/core": "^3.31.1", "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-N4go/LzYFd6KJ+r7qqAjzmsw85PFN99RnDYZvw22FzU3VZgL5+umvncfu0M7hlzeIUKHSLL65HTJIXiLY7RJFg=="],
-
- "@aws-sdk/endpoint-cache": ["@aws-sdk/[email protected]", "", { "dependencies": { "mnemonist": "0.38.3", "tslib": "^2.6.2" } }, "sha512-LFvdgq8SriaskUcjpBMDE7J2c9RmuT5v3gU36/znV71EU5DKUis4FmGFjCMelKCCViFeVrQADBAlIiOYRhEx6Q=="],
-
- "@aws-sdk/middleware-bucket-endpoint": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/middleware-sdk-s3": "^3.972.72", "tslib": "^2.6.2" } }, "sha512-DOnfqPMWenYvKddq5xwdzykreVmmhWzSWwrybXPyxV7eHfZ4SrmZoh+l3kBgXmlm2vo9oVybPt/LhkkQrotUQA=="],
-
- "@aws-sdk/middleware-endpoint-discovery": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/endpoint-cache": "^3.972.9", "@aws-sdk/types": "^3.974.2", "@smithy/core": "^3.31.1", "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-5AJlxrsg27IGGiQauWOdVyqK55EN0EMIwXndkVHhBiPT4CtdSaz89/sAENSw+GP4KF+BOWcgycZFNjkOLmfo1A=="],
-
- "@aws-sdk/middleware-expect-continue": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/middleware-sdk-s3": "^3.972.72", "tslib": "^2.6.2" } }, "sha512-XCEYwXNiFQLweHrMvNcqAQ/ye6oiHTxKIZKX/tCX38lrPW83xkMGDV7DKpN4R8SiBqd5Y38cnwHSJdFGnigNyA=="],
-
- "@aws-sdk/middleware-flexible-checksums": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/checksums": "^3.1000.26", "tslib": "^2.6.2" } }, "sha512-BLWVpJfoHU6OGy1fHgznPCq/eP8MBDfYQdug6Ilyvp6PKe/20sU1LH+Emd/dNs7FyCmzDdtjlk4S7z734Ibydw=="],
-
- "@aws-sdk/middleware-host-header": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/core": "^3.977.6", "tslib": "^2.6.2" } }, "sha512-IitZ5m7zfdVCgV2Mg6XM90dYQ1AzIcgfiuuZpP8W+t38W4p7fkyKvBavYMn91MaWOv2Woh5ObLAF2A7n7vT5MA=="],
-
- "@aws-sdk/middleware-location-constraint": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/middleware-sdk-s3": "^3.972.72", "tslib": "^2.6.2" } }, "sha512-SQO9mbk4ancAKumhBGVrSHH9bj9p1d+Y7Jr5M0NQAYnhoS1mz2zFQhzDACcfENAw8BnRT7WVDYPI1rcFMsdTIQ=="],
-
- "@aws-sdk/middleware-logger": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/core": "^3.977.6", "tslib": "^2.6.2" } }, "sha512-z7XlQKC0/RPd9Kor3MAaVVqYXK9JUgCMwUyLFwxXqRxpj3VfA3MbvUqgRRh5jJB54hwICOT6sd0alkLC0f9zpw=="],
-
- "@aws-sdk/middleware-recursion-detection": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/core": "^3.977.6", "tslib": "^2.6.2" } }, "sha512-HjdnXlrWhL/YZLrKA6ZXJJZA/MhGIXAhPMuJYU5xCDfCToMoYZN8/tbIGUeTL6ZwJdYxsCEYRj4C8H2Xh2oB4w=="],
-
- "@aws-sdk/middleware-sdk-s3": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/core": "^3.977.6", "@aws-sdk/signature-v4-multi-region": "^3.996.43", "@aws-sdk/types": "^3.974.2", "@smithy/core": "^3.31.1", "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-lSAoVPvQxX1d8TOM6waKDBQrvvZcm4w6pCldFAsRUffEaXq6lYY0pPyew3KlLu6Xqb74DXI42hGvSsbGBLljlw=="],
-
- "@aws-sdk/middleware-sdk-sqs": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/types": "^3.974.2", "@smithy/core": "^3.31.1", "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-dlKLmJg1dLQVfFXUPS+f+SqXrRGHDVumY4gjM8sCLGao+zkDXEu8TObTyiaheKjT20ruok9Xs8oLocNItKQ0fw=="],
-
- "@aws-sdk/middleware-ssec": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/middleware-sdk-s3": "^3.972.72", "tslib": "^2.6.2" } }, "sha512-SwLYSlQXpfnCUcazZepBr1DoBy7UUTJWhazX2KWfYAgGR8tsMUiOet4wb6L8CpHEEUaRB8nBHnJ7nlrtAHhb5A=="],
-
- "@aws-sdk/middleware-user-agent": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/core": "^3.977.6", "tslib": "^2.6.2" } }, "sha512-wRRu4iEioYnddAtySab1+EctzaS25CH6xYrFcpuJvLKcOtSHkmaXSa0g+9I4cY3Z33dgzIlzsyd7K9IwmOD4+A=="],
-
- "@aws-sdk/nested-clients": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/core": "^3.977.6", "@aws-sdk/signature-v4-multi-region": "^3.996.43", "@aws-sdk/types": "^3.974.2", "@smithy/core": "^3.31.1", "@smithy/fetch-http-handler": "^5.6.13", "@smithy/node-http-handler": "^4.9.13", "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-RDHqPGQWlF6tatA/Tp3rg6oIwtgN9IVderxE+9av2Y93Dfyu+mO1hZ5Bu2jpfZg2rwdNbsssnwM+sLafIczMlQ=="],
-
- "@aws-sdk/region-config-resolver": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/core": "^3.977.6", "tslib": "^2.6.2" } }, "sha512-kynhIjb70q6omGfGj1uZEWImv6fFNwy7IVu2qCMtfbqFTStSduWRiYUI8wLJtSARxG0VThvgChxOfPsc/Ry3KQ=="],
-
- "@aws-sdk/signature-v4-multi-region": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/middleware-sdk-s3": "^3.972.6", "@aws-sdk/types": "^3.973.1", "@smithy/protocol-http": "^5.3.8", "@smithy/signature-v4": "^5.3.8", "@smithy/types": "^4.12.0", "tslib": "^2.6.2" } }, "sha512-TaWbfYCwnuOSvDSrgs7QgoaoXse49E7LzUkVOUhoezwB7bkmhp+iojADm7UepCEu4021SquD7NG1xA+WCvmldA=="],
-
- "@aws-sdk/token-providers": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/core": "^3.977.6", "@aws-sdk/nested-clients": "^3.997.41", "@aws-sdk/types": "^3.974.2", "@smithy/core": "^3.31.1", "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-N4wy26MNn31ItGVHYHPrEuCIFY4MBBjC+C5v1lJKqIUSA7OZBdhleCY53zCCrXn27hsk7YNOaTuhQu807S4AfQ=="],
-
- "@aws-sdk/types": ["@aws-sdk/[email protected]", "", { "dependencies": { "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-3W6IUtSxFbH6X7Wb7DzGCV5QiFQsd0g8bOfntpmDxQlzBoKWUMBu/JPQR0DwkE+Hpnxd6db1tXbOwdeHddG6cA=="],
-
- "@aws-sdk/util-endpoints": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/types": "^3.973.1", "@smithy/types": "^4.12.0", "@smithy/url-parser": "^4.2.8", "@smithy/util-endpoints": "^3.2.8", "tslib": "^2.6.2" } }, "sha512-9ebjLA0hMKHeVvXEtTDCCOBtwjb0bOXiuUV06HNeVdgAjH6gj4x4Zwt4IBti83TiyTGOCl5YfZqGx4ehVsasbQ=="],
-
- "@aws-sdk/util-locate-window": ["@aws-sdk/[email protected]", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-uUbMs1cBZPafD0ohUj6EwNf0fPZ534NvBxHox4hjX+0Rxq5paSYUem7+hi833pYrzrcnBATKIYpR02MDXT5M9g=="],
-
- "@aws-sdk/util-user-agent-browser": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/core": "^3.977.6", "tslib": "^2.6.2" } }, "sha512-bT04jVHgpayfLumPfBYzz/2iRzxd7Lm1Xmw5aIpbed42EDDdnAiDLpageHUWAAGP9/xNdBpCRHzBPI6uaPqATQ=="],
-
- "@aws-sdk/util-user-agent-node": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/core": "^3.977.6", "tslib": "^2.6.2" } }, "sha512-nOzS+CIIbWQN8+OyN2sufQ1/KGwPq3Rx6x+U7m2KAy98bWh7gW18RvBRnq+fnpnG7CX94lkyZzxf1qmbbS/pjA=="],
-
- "@aws-sdk/xml-builder": ["@aws-sdk/[email protected]", "", { "dependencies": { "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-zKq4HQum8JwDyEuyfuI4bbiAcU0KxP6qy+9PR/IsR92IyE/DaBAikzAS50tjxip4bqIIANpCcG+Yyj6CVhXupg=="],
-
- "@aws/lambda-invoke-store": ["@aws/[email protected]", "", {}, "sha512-sl4Bm6yiMNYrZKkqqDFWN0UfnWhlS8ivKxrYl+6t0gCLrqr8y3B2IqZZbFRkfaVVp7C/baApyh71P+LeE1A2sQ=="],
-
- "@babel/code-frame": ["@babel/[email protected]", "", { "dependencies": { "@babel/helper-validator-identifier": "^7.29.7", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" } }, "sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw=="],
-
- "@babel/compat-data": ["@babel/[email protected]", "", {}, "sha512-locTkQyKvwIEgBzVrn8693ebc97F2U8ZHjbXwDXJ5Fn2TCpNwTlKcaKLkdHop5c/icOFE7qt7Q9JC5hnKNa6Gg=="],
-
- "@babel/core": ["@babel/[email protected]", "", { "dependencies": { "@babel/code-frame": "^7.29.7", "@babel/generator": "^7.29.7", "@babel/helper-compilation-targets": "^7.29.7", "@babel/helper-module-transforms": "^7.29.7", "@babel/helpers": "^7.29.7", "@babel/parser": "^7.29.7", "@babel/template": "^7.29.7", "@babel/traverse": "^7.29.7", "@babel/types": "^7.29.7", "@jridgewell/remapping": "^2.3.5", "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", "json5": "^2.2.3", "semver": "^6.3.1" } }, "sha512-RgHBCvtjbOK2gXSNBNIkNoEc9qoVEtau3hj8gEqKQuL3HZAibKarWFEI3Lfm6EYKkLalOh8eSrj9b+ch9H/VBA=="],
-
- "@babel/generator": ["@babel/[email protected]", "", { "dependencies": { "@babel/parser": "^7.29.7", "@babel/types": "^7.29.7", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" } }, "sha512-DkXD5OJQaAQIdZ1bt3UZdEnHAn9Imd3IVBdX03UFe+ony9Ojw5pzr9YVKGDY1jt+Gcn/FnGkNf8r+Vj5NOJWtQ=="],
-
- "@babel/helper-compilation-targets": ["@babel/[email protected]", "", { "dependencies": { "@babel/compat-data": "^7.29.7", "@babel/helper-validator-option": "^7.29.7", "browserslist": "^4.24.0", "lru-cache": "^5.1.1", "semver": "^6.3.1" } }, "sha512-wem6WaBj4NaVYVdNhLPPVacES6ZJ+KBBfSkTMD3YZxbP3rm3Di85tJU5ljaUNhaOynt+Aj0xruhYuzQBt8n71g=="],
-
- "@babel/helper-globals": ["@babel/[email protected]", "", {}, "sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA=="],
-
- "@babel/helper-module-imports": ["@babel/[email protected]", "", { "dependencies": { "@babel/traverse": "^7.29.7", "@babel/types": "^7.29.7" } }, "sha512-ejHwrQQYcm9xnTivShn2IDOlIzInN34AXskvq9QicvCtEzq1Vzclu/tKF8Jq1Cg8JG2GL6/EmjgsCT7lXepE3g=="],
-
- "@babel/helper-module-transforms": ["@babel/[email protected]", "", { "dependencies": { "@babel/helper-module-imports": "^7.29.7", "@babel/helper-validator-identifier": "^7.29.7", "@babel/traverse": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-UPUVSyXbOh627KiCIGQSgwWzGeBKLkaJ9PJEdrngIwMSzxLR4jS4+f1f1jb7VzBbg8nFLaYotvVPFCTqdrmTAg=="],
-
- "@babel/helper-plugin-utils": ["@babel/[email protected]", "", {}, "sha512-G7sHYigPY17oO5SYWnfD/0MTBwVR781S/JI643e/JhUYgVgWE/61SoW3NH9KWUKyKq5LVh3npif99Wkt6j86Jw=="],
-
- "@babel/helper-string-parser": ["@babel/[email protected]", "", {}, "sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw=="],
-
- "@babel/helper-validator-identifier": ["@babel/[email protected]", "", {}, "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg=="],
-
- "@babel/helper-validator-option": ["@babel/[email protected]", "", {}, "sha512-N9ZErrD+yW5geCDtBqnOoxmR8+tNKiGuxKlDpuJxfsqpa2dFcexaziGAE/qoHLiDDreVNMupxGmSoNlyvsA3gw=="],
-
- "@babel/helpers": ["@babel/[email protected]", "", { "dependencies": { "@babel/template": "^7.29.7", "@babel/types": "^7.29.7" } }, "sha512-1k2lAGRMfHTcwuNYcCNUmaUffmQv8KWMfh2iJUUeRlwlwH4FdNG7mfPI10NPfLHJFThE4Tyr4mv7kTNZOiPuBg=="],
-
- "@babel/parser": ["@babel/[email protected]", "", { "dependencies": { "@babel/types": "^7.29.7" }, "bin": "./bin/babel-parser.js" }, "sha512-hnORnjP/1P/zFEndoeX+n+t1RwWRJiJpM/jO7FW32Kn9r5+sJB2JWOdYo4L6k78j15eCwY3Gm/7364B1EMwtNg=="],
-
- "@babel/plugin-syntax-typescript": ["@babel/[email protected]", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-ngr+82Sh0xMz25TPCZi+nC2iTzjfCdWS2ONXTp/PtSCHCgaCNBpdMqgvJ2ccdLlClVZ7sisIgB914j/JFe+RZA=="],
-
- "@babel/runtime": ["@babel/[email protected]", "", {}, "sha512-Nq8OhGWiZIZGV6hLHoyAKLLcJihP/xFeBMGJoUrxTX2psI8dCifzLhZISFb+VWS3wFMRDmCGw5R+dOySCqPLhw=="],
-
- "@babel/template": ["@babel/[email protected]", "", { "dependencies": { "@babel/code-frame": "^7.29.7", "@babel/parser": "^7.29.7", "@babel/types": "^7.29.7" } }, "sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg=="],
-
- "@babel/traverse": ["@babel/[email protected]", "", { "dependencies": { "@babel/code-frame": "^7.29.7", "@babel/generator": "^7.29.7", "@babel/helper-globals": "^7.29.7", "@babel/parser": "^7.29.7", "@babel/template": "^7.29.7", "@babel/types": "^7.29.7", "debug": "^4.3.1" } }, "sha512-EhlfNQtZ+NK22w5BM61ciuiq1m58ed33Wr1Xan//ZRTy6hgjnwyCffRYwzsGXdASJSUJ1guZILsErh1eQcl+zw=="],
-
- "@babel/types": ["@babel/[email protected]", "", { "dependencies": { "@babel/helper-string-parser": "^7.29.7", "@babel/helper-validator-identifier": "^7.29.7" } }, "sha512-4zBIxpPzowiZpusoFkyGVwakdRJUyuH5PxQ/PrqghfdFWWasvnCdPfQXHrenDai+gyLARulZjZowCOj6fjT4pA=="],
-
- "@cloudflare/kv-asset-handler": ["@cloudflare/[email protected]", "", {}, "sha512-jxQYkj8dSIzc0cD6cMMNdOc1UVjqSqu8BZdor5s8cGjW2I8BjODt/kWPVdY+u9zj3ms75Q5qaZgnxUad83+eAg=="],
-
- "@cloudflare/unenv-preset": ["@cloudflare/[email protected]", "", { "peerDependencies": { "unenv": "2.0.0-rc.24", "workerd": ">1.20260305.0 <2.0.0-0" }, "optionalPeers": ["workerd"] }, "sha512-ECxObrMfyTl5bhQf/lZCXwo5G6xX9IAUo+nDMKK4SZ8m4Jvvxp52vilxyySSWh2YTZz8+HQ07qGH/2rEom1vDw=="],
-
- "@cloudflare/workerd-darwin-64": ["@cloudflare/[email protected]", "", { "os": "darwin", "cpu": "x64" }, "sha512-wuJWbXpKvncJi1P0GKS+iYpN5tHdb7JPJJ/+6ZQe8zzovHHVMkLJPNBsgWpqeUhpM3g9qTwEKd2rglNKejuh5A=="],
-
- "@cloudflare/workerd-darwin-arm64": ["@cloudflare/[email protected]", "", { "os": "darwin", "cpu": "arm64" }, "sha512-kwoZiTpnhNrF3+APx84Q/oAqvJ3sU9yefGagwm/ASaH/2W19x0vghkW/r4qCoHCK0WW7EPugZ+aXjgPMRtlq1Q=="],
-
- "@cloudflare/workerd-linux-64": ["@cloudflare/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-r0vAxCZH+Jih9Unm1yoyiByPNWNgawcKciOHDm5Q37ZVGOkKLsT9AtLe3yLSaul76WrKqtf+JP2n0WW32VBLJg=="],
-
- "@cloudflare/workerd-linux-arm64": ["@cloudflare/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-zWgpdZtSozvIgzQNmQiDSF8yEOQJUkRAWNsDXXzAAoy+fCn8YUoSibj3mpFSbZRvbUldeBEaW6SCdC2VEMkhNQ=="],
-
- "@cloudflare/workerd-windows-64": ["@cloudflare/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-2oQz+Ksu4ji6e/+ZoYX+tWQEcxAii2p7l+iR8kx48W1llMalaufAsmVxTlk+3/vrM7D3/2c0iK448e0UQTcIMg=="],
-
- "@cspotcode/source-map-support": ["@cspotcode/[email protected]", "", { "dependencies": { "@jridgewell/trace-mapping": "0.3.9" } }, "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw=="],
-
- "@dotenvx/dotenvx": ["@dotenvx/[email protected]", "", { "dependencies": { "commander": "^11.1.0", "dotenv": "^16.4.5", "eciesjs": "^0.4.10", "execa": "^5.1.1", "fdir": "^6.2.0", "ignore": "^5.3.0", "object-treeify": "1.1.33", "picomatch": "^4.0.2", "which": "^4.0.0" }, "bin": { "dotenvx": "src/cli/dotenvx.js", "git-dotenvx": "src/cli/dotenvx.js" } }, "sha512-GeDxvtjiRuoyWVU9nQneId879zIyNdL05bS7RKiqMkfBSKpHMWHLoRyRqjYWLaXmX/llKO1hTlqHDmatkQAjPA=="],
-
- "@ecies/ciphers": ["@ecies/[email protected]", "", { "peerDependencies": { "@noble/ciphers": "^1.0.0" } }, "sha512-patgsRPKGkhhoBjETV4XxD0En4ui5fbX0hzayqI3M8tvNMGUoUvmyYAIWwlxBc1KX5cturfqByYdj5bYGRpN9g=="],
-
- "@emnapi/core": ["@emnapi/[email protected]", "", { "dependencies": { "@emnapi/wasi-threads": "1.2.2", "tslib": "^2.4.0" } }, "sha512-RSvbQmHzdKzNsLYa/wHrbc3KN4sYLKAdPZxqiM2HATqv/SBk2/ENSHpvXGaLOMcsAyz0poEGqkmmKYG3OWiJEQ=="],
-
- "@emnapi/runtime": ["@emnapi/[email protected]", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-kyOl3X0DuTiT1h2ft8r2fYO8JYtU9a9Xis/zBSiGArNaagCOWx90N1k2wxp18czFDH+OgcWGb5ZP/XMt3dcyPA=="],
-
- "@emnapi/wasi-threads": ["@emnapi/[email protected]", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-c95qOXkHdydNKhscBTebqEC1CVAZpyqOfVfBzQ1qgzyl3gfeldUjIggDbIZgDKsHLgnsM+igH7TJ/eAasaVuMA=="],
-
- "@emotion/hash": ["@emotion/[email protected]", "", {}, "sha512-MyqliTZGuOm3+5ZRSaaBGP3USLw6+EGykkwZns2EPC5g8jJ4z9OrdZY9apkl3+UP9+sdz76YYkwCKP5gh8iY3g=="],
-
- "@esbuild/aix-ppc64": ["@esbuild/[email protected]", "", { "os": "aix", "cpu": "ppc64" }, "sha512-Svl7tq8k/08+p6CXPpRjQ1fKX+1odH/BQbb48fV6fj3CWHhsoIOoY87w1oHXm0qEpkIK3ZfVgp0hed3XBXzXMQ=="],
-
- "@esbuild/android-arm": ["@esbuild/[email protected]", "", { "os": "android", "cpu": "arm" }, "sha512-0k2F129Xdio1TdJfzJ8sy1Q47vUD2NnwdhiAf7drUN1EBTfPf4hsFCtmMgu/6m8JSzsBrlmVjudMBQqOfG8usQ=="],
-
- "@esbuild/android-arm64": ["@esbuild/[email protected]", "", { "os": "android", "cpu": "arm64" }, "sha512-34EGEbCIAgosYz6goLcopX6Mo7NyGv9tfwEM2/7Ce2VcVRk568iSvniGWcUXIy7wEDR1wzolcxcriFVrWYcwBg=="],
-
- "@esbuild/android-x64": ["@esbuild/[email protected]", "", { "os": "android", "cpu": "x64" }, "sha512-dbwY7ltSMDWsRatcRpCnES4F+im88OCUgGZjy52shC7GqHRE/cYlxNbB4Z4UpJswpcc4Qxd2oE/ufM0p61IKng=="],
-
- "@esbuild/darwin-arm64": ["@esbuild/[email protected]", "", { "os": "darwin", "cpu": "arm64" }, "sha512-TZbWkQY7kvTAXbXUT7uVACR5cMHsDiSz9z7ZKAX/RTq/WJEk3QyRr0wZpNhBDX+/0CtdqUIJlOiodQcta6tY3Q=="],
-
- "@esbuild/darwin-x64": ["@esbuild/[email protected]", "", { "os": "darwin", "cpu": "x64" }, "sha512-zfdzgK9ACBNZLI/CyHTOx81SyNbM6YXn7rxSgX97VjyiPl9W1i4Ka4fgKECEoFCKGpvBj5qArWIGgQjOwkgskQ=="],
-
- "@esbuild/freebsd-arm64": ["@esbuild/[email protected]", "", { "os": "freebsd", "cpu": "arm64" }, "sha512-wG2EA8ENdEI0qhkSZMjfqrdY+ziCYCPMmtZjjIwOmXFjmyzEHn+UUxk5of+SYsjtfs3VpnlC7QLzSI5hY/rOAw=="],
-
- "@esbuild/freebsd-x64": ["@esbuild/[email protected]", "", { "os": "freebsd", "cpu": "x64" }, "sha512-i7dZ9vQgnvSCzi/rYCXNgtF/U+eKZNJBzu3eTQbRgHnM7tNSizLOkRFAl3qzVc/Op/u5YkHHa4pf/3DOYHthLQ=="],
-
- "@esbuild/linux-arm": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "arm" }, "sha512-qVXBOHQS+d5Y722GwJzJUtOLlX7km3CraOaGormF1pDtPd2C/l1SHRPgjLunLGe51Sh5YYWKMFDyV4SxgMQYTQ=="],
-
- "@esbuild/linux-arm64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-yHs+0uc8+nvEAfAfxrWQKK5peSNzBc4PegcMO0EJ2hT71uA7vB8Ihg2e77R2P7SG5uYjPbHlLLmve4LLLRCf0g=="],
-
- "@esbuild/linux-ia32": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "ia32" }, "sha512-d1z4ZuP0ajrfz/FhGT4vv278rX8KnPPJx8i5+AtK7TYbx9Le9F1hyzurZpkEyjkGa9dUGhQow4C1NmeGvqxN2w=="],
-
- "@esbuild/linux-loong64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-M5sRjUVZrkm1OAPR3dlOYzNmN+loZKGVi1VUQGrwuqLcbR6qeAz+famMhjASeH3YVKvZz+zT1jlh/keC3Rj/lg=="],
-
- "@esbuild/linux-mips64el": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-mRObBZeHh2OxcBFPWE/FjylkRgZdYuiTR3vaTozquCGOH14iP9oN4x4Ge81CoIDYQrXmIxpFumJBu5MtZpnQJQ=="],
-
- "@esbuild/linux-ppc64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "ppc64" }, "sha512-slScBsMAb3GFDcdrCgLwZtPYRoH2H/youv10QiZyRjmsP48fznoveWytSgCI/R0ZcUgpc0ZhIUEx6LHts8yrfQ=="],
-
- "@esbuild/linux-riscv64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-kw0owk1o0GFETUJyW0jc0G4Yzs0BHZn0JDZ8JRT088vjJYX777BAs1fDGxAC+q831qOs2DTC96mNsG2opdfyyQ=="],
-
- "@esbuild/linux-s390x": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "s390x" }, "sha512-/lAIjX8aYFRByhh6L5rYtPEDRqa9de/4V/juOXcta5frjvzXO4/sqEtyytse0g3zZFuWu5cDN0MkLz2qRDD2Ag=="],
-
- "@esbuild/linux-x64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-u/anNYF2mmVOEDwLtnQ1wOr3EZ9sTNGLWrsYGYwHWzGA3Si84IOkHXlbWTD1NB+9/1lcnweYKO54uhxZydNzfA=="],
-
- "@esbuild/netbsd-arm64": ["@esbuild/[email protected]", "", { "os": "none", "cpu": "arm64" }, "sha512-oks0DYbLwWMmaakTsCb+zL4E+aHRVLom9IJZOAthMQEPiQmydXHkziYEsGYRx0uNV/IjEKGAV941JzH02pflqw=="],
-
- "@esbuild/netbsd-x64": ["@esbuild/[email protected]", "", { "os": "none", "cpu": "x64" }, "sha512-aeL6lAnN89Hz43Mlh1G8ARasbuoYvSITDEx0tHh5b7jJnHcssqgjy9Yx430GDpmCa6OyrKoS0aNRjKundRizGg=="],
-
- "@esbuild/openbsd-arm64": ["@esbuild/[email protected]", "", { "os": "openbsd", "cpu": "arm64" }, "sha512-MEFJe5C3R8pwXdZ5Y21oo6m7ePiS0d9pWucn99O/wvyJZChoIQKrQDxKrGeW8F5+T0okTHesAmDeiHDTIq0V/Q=="],
-
- "@esbuild/openbsd-x64": ["@esbuild/[email protected]", "", { "os": "openbsd", "cpu": "x64" }, "sha512-i/ZLIOafE0Z8cI/XANJAixoJL/uRAoS2xOA3rb0xN+KK0K177cMAsQYkzHtBrtMXAKuAc7HGgcWiZ/sRC1Nxgw=="],
-
- "@esbuild/openharmony-arm64": ["@esbuild/[email protected]", "", { "os": "none", "cpu": "arm64" }, "sha512-ge+Z7EXFNt2BO1oAMsVpiQ8EwndV9i1xXerAeTIK7AtPs3bKFXQM7nlRxDSIUIMeueR1CNXxqztLzdNeReKBJg=="],
-
- "@esbuild/sunos-x64": ["@esbuild/[email protected]", "", { "os": "sunos", "cpu": "x64" }, "sha512-BEjgtECkL3vY+SaSQ6nzVfiALUeFxpawyp8Jmf5PtYhf1Ug40N1h/hxlhts+f1FvSvarEigdxS3BlSMI2PJLcQ=="],
-
- "@esbuild/win32-arm64": ["@esbuild/[email protected]", "", { "os": "win32", "cpu": "arm64" }, "sha512-lCv9eK/H6ZJWbE7bh2nw54CZ9M2nupBxJcTsdk/QQnWkdSjKGuxmmH8/GWrlT1eMmZfn4dGcCjRte397WqfQXA=="],
-
- "@esbuild/win32-ia32": ["@esbuild/[email protected]", "", { "os": "win32", "cpu": "ia32" }, "sha512-zvb/mB2bSCoJOpoCBgYKKpX6YM6mJBlBUVUtVj41DlZJVEB6/0CKlRYxP5wWl1C1ILiCoAU5wZZ4q1P3qeS6Eg=="],
-
- "@esbuild/win32-x64": ["@esbuild/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-bm4Mowrv+GXMlpWX++EcXw/iLyd1o3+bJkC2DkWXYVvgZCqD/bSj9ctZeAMC3cIxgjRVR2Dufaiu4YPxr5gW1A=="],
-
- "@floating-ui/core": ["@floating-ui/[email protected]", "", { "dependencies": { "@floating-ui/utils": "^0.2.12" } }, "sha512-0CIZ5itps/8x7BG8dEIhs53BvCUH2PCoogtakwRTut+Arm58sJooJ0AuZhLw2HJYIR5cMLNPBSS728sPho2khQ=="],
-
- "@floating-ui/dom": ["@floating-ui/[email protected]", "", { "dependencies": { "@floating-ui/core": "^1.8.0", "@floating-ui/utils": "^0.2.12" } }, "sha512-yXSrzeHZBTZadLOlfyhCkJHNeLJnHRnRInwdZ40L7ZiaAtrBwoYlsDrX3v5zB1Utk7CLfzcOVnVVWoXEky7Ceg=="],
-
- "@floating-ui/react-dom": ["@floating-ui/[email protected]", "", { "dependencies": { "@floating-ui/dom": "^1.8.0" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0" } }, "sha512-JDjEFGCpImxDCA7JJKviA0M9+RtmJdj0m/NVU5IMgBK+AmZouAQQ7/+2GLH0GXXY0YMw9oXPB8hKdbPYg5QLYg=="],
-
- "@floating-ui/utils": ["@floating-ui/[email protected]", "", {}, "sha512-HpCo8tmWzLVad5s2d19EhAz5zqrrQ6s69qd6moPMQvkOuSwDT1YgRfWSVuc4ennqrgv3OHppiOGMQ7oC13yIww=="],
-
- "@img/colour": ["@img/[email protected]", "", {}, "sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ=="],
-
- "@img/sharp-darwin-arm64": ["@img/[email protected]", "", { "optionalDependencies": { "@img/sharp-libvips-darwin-arm64": "1.2.4" }, "os": "darwin", "cpu": "arm64" }, "sha512-imtQ3WMJXbMY4fxb/Ndp6HBTNVtWCUI0WdobyheGf5+ad6xX8VIDO8u2xE4qc/fr08CKG/7dDseFtn6M6g/r3w=="],
-
- "@img/sharp-darwin-x64": ["@img/[email protected]", "", { "optionalDependencies": { "@img/sharp-libvips-darwin-x64": "1.2.4" }, "os": "darwin", "cpu": "x64" }, "sha512-YNEFAF/4KQ/PeW0N+r+aVVsoIY0/qxxikF2SWdp+NRkmMB7y9LBZAVqQ4yhGCm/H3H270OSykqmQMKLBhBJDEw=="],
-
- "@img/sharp-freebsd-wasm32": ["@img/[email protected]", "", { "dependencies": { "@img/sharp-wasm32": "0.35.2" }, "os": "freebsd" }, "sha512-YoAxdnd8hPUkvLHd3bWY+YA8nw3xM/RyRopYucNsWHVSan8NLVM3X2volsfoRDcXdUJPg6tXahSd7HXPK7lRnw=="],
-
- "@img/sharp-libvips-darwin-arm64": ["@img/[email protected]", "", { "os": "darwin", "cpu": "arm64" }, "sha512-zqjjo7RatFfFoP0MkQ51jfuFZBnVE2pRiaydKJ1G/rHZvnsrHAOcQALIi9sA5co5xenQdTugCvtb1cuf78Vf4g=="],
-
- "@img/sharp-libvips-darwin-x64": ["@img/[email protected]", "", { "os": "darwin", "cpu": "x64" }, "sha512-1IOd5xfVhlGwX+zXv2N93k0yMONvUlANylbJw1eTah8K/Jtpi15KC+WSiaX/nBmbm2HxRM1gZ0nSdjSsrZbGKg=="],
-
- "@img/sharp-libvips-linux-arm": ["@img/[email protected]", "", { "os": "linux", "cpu": "arm" }, "sha512-bFI7xcKFELdiNCVov8e44Ia4u2byA+l3XtsAj+Q8tfCwO6BQ8iDojYdvoPMqsKDkuoOo+X6HZA0s0q11ANMQ8A=="],
-
- "@img/sharp-libvips-linux-arm64": ["@img/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-excjX8DfsIcJ10x1Kzr4RcWe1edC9PquDRRPx3YVCvQv+U5p7Yin2s32ftzikXojb1PIFc/9Mt28/y+iRklkrw=="],
-
- "@img/sharp-libvips-linux-ppc64": ["@img/[email protected]", "", { "os": "linux", "cpu": "ppc64" }, "sha512-FMuvGijLDYG6lW+b/UvyilUWu5Ayu+3r2d1S8notiGCIyYU/76eig1UfMmkZ7vwgOrzKzlQbFSuQfgm7GYUPpA=="],
-
- "@img/sharp-libvips-linux-riscv64": ["@img/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-oVDbcR4zUC0ce82teubSm+x6ETixtKZBh/qbREIOcI3cULzDyb18Sr/Wcyx7NRQeQzOiHTNbZFF1UwPS2scyGA=="],
-
- "@img/sharp-libvips-linux-s390x": ["@img/[email protected]", "", { "os": "linux", "cpu": "s390x" }, "sha512-qmp9VrzgPgMoGZyPvrQHqk02uyjA0/QrTO26Tqk6l4ZV0MPWIW6LTkqOIov+J1yEu7MbFQaDpwdwJKhbJvuRxQ=="],
-
- "@img/sharp-libvips-linux-x64": ["@img/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-tJxiiLsmHc9Ax1bz3oaOYBURTXGIRDODBqhveVHonrHJ9/+k89qbLl0bcJns+e4t4rvaNBxaEZsFtSfAdquPrw=="],
-
- "@img/sharp-libvips-linuxmusl-arm64": ["@img/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-FVQHuwx1IIuNow9QAbYUzJ+En8KcVm9Lk5+uGUQJHaZmMECZmOlix9HnH7n1TRkXMS0pGxIJokIVB9SuqZGGXw=="],
-
- "@img/sharp-libvips-linuxmusl-x64": ["@img/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-+LpyBk7L44ZIXwz/VYfglaX/okxezESc6UxDSoyo2Ks6Jxc4Y7sGjpgU9s4PMgqgjj1gZCylTieNamqA1MF7Dg=="],
-
- "@img/sharp-linux-arm": ["@img/[email protected]", "", { "optionalDependencies": { "@img/sharp-libvips-linux-arm": "1.2.4" }, "os": "linux", "cpu": "arm" }, "sha512-9dLqsvwtg1uuXBGZKsxem9595+ujv0sJ6Vi8wcTANSFpwV/GONat5eCkzQo/1O6zRIkh0m/8+5BjrRr7jDUSZw=="],
-
- "@img/sharp-linux-arm64": ["@img/[email protected]", "", { "optionalDependencies": { "@img/sharp-libvips-linux-arm64": "1.2.4" }, "os": "linux", "cpu": "arm64" }, "sha512-bKQzaJRY/bkPOXyKx5EVup7qkaojECG6NLYswgktOZjaXecSAeCWiZwwiFf3/Y+O1HrauiE3FVsGxFg8c24rZg=="],
-
- "@img/sharp-linux-ppc64": ["@img/[email protected]", "", { "optionalDependencies": { "@img/sharp-libvips-linux-ppc64": "1.2.4" }, "os": "linux", "cpu": "ppc64" }, "sha512-7zznwNaqW6YtsfrGGDA6BRkISKAAE1Jo0QdpNYXNMHu2+0dTrPflTLNkpc8l7MUP5M16ZJcUvysVWWrMefZquA=="],
-
- "@img/sharp-linux-riscv64": ["@img/[email protected]", "", { "optionalDependencies": { "@img/sharp-libvips-linux-riscv64": "1.2.4" }, "os": "linux", "cpu": "none" }, "sha512-51gJuLPTKa7piYPaVs8GmByo7/U7/7TZOq+cnXJIHZKavIRHAP77e3N2HEl3dgiqdD/w0yUfiJnII77PuDDFdw=="],
-
- "@img/sharp-linux-s390x": ["@img/[email protected]", "", { "optionalDependencies": { "@img/sharp-libvips-linux-s390x": "1.2.4" }, "os": "linux", "cpu": "s390x" }, "sha512-nQtCk0PdKfho3eC5MrbQoigJ2gd1CgddUMkabUj+rBevs8tZ2cULOx46E7oyX+04WGfABgIwmMC0VqieTiR4jg=="],
-
- "@img/sharp-linux-x64": ["@img/[email protected]", "", { "optionalDependencies": { "@img/sharp-libvips-linux-x64": "1.2.4" }, "os": "linux", "cpu": "x64" }, "sha512-MEzd8HPKxVxVenwAa+JRPwEC7QFjoPWuS5NZnBt6B3pu7EG2Ge0id1oLHZpPJdn3OQK+BQDiw9zStiHBTJQQQQ=="],
-
- "@img/sharp-linuxmusl-arm64": ["@img/[email protected]", "", { "optionalDependencies": { "@img/sharp-libvips-linuxmusl-arm64": "1.2.4" }, "os": "linux", "cpu": "arm64" }, "sha512-fprJR6GtRsMt6Kyfq44IsChVZeGN97gTD331weR1ex1c1rypDEABN6Tm2xa1wE6lYb5DdEnk03NZPqA7Id21yg=="],
-
- "@img/sharp-linuxmusl-x64": ["@img/[email protected]", "", { "optionalDependencies": { "@img/sharp-libvips-linuxmusl-x64": "1.2.4" }, "os": "linux", "cpu": "x64" }, "sha512-Jg8wNT1MUzIvhBFxViqrEhWDGzqymo3sV7z7ZsaWbZNDLXRJZoRGrjulp60YYtV4wfY8VIKcWidjojlLcWrd8Q=="],
-
- "@img/sharp-wasm32": ["@img/[email protected]", "", { "dependencies": { "@emnapi/runtime": "^1.7.0" }, "cpu": "none" }, "sha512-OdWTEiVkY2PHwqkbBI8frFxQQFekHaSSkUIJkwzclWZe64O1X4UlUjqqqLaPbUpMOQk6FBu/HtlGXNblIs0huw=="],
-
- "@img/sharp-webcontainers-wasm32": ["@img/[email protected]", "", { "dependencies": { "@img/sharp-wasm32": "0.35.2" }, "cpu": "none" }, "sha512-QNV27pxs9wpApEiCfvHM1RDoP1w1+2KrUWWDPEhEwg+latvOrfuhWrHWZKwdSFwU6jh3myjw/yOCRsUIuOft3g=="],
-
- "@img/sharp-win32-arm64": ["@img/[email protected]", "", { "os": "win32", "cpu": "arm64" }, "sha512-WQ3AgWCWYSb2yt+IG8mnC6Jdk9Whs7O0gxphblsLvdhSpSTtmu69ZG1Gkb6NuvxsNACwiPV6cNSZNzt0KPsw7g=="],
-
- "@img/sharp-win32-ia32": ["@img/[email protected]", "", { "os": "win32", "cpu": "ia32" }, "sha512-FV9m/7NmeCmSHDD5j4+4pNI8Cp3aW+JvLoXcTUo0IqyjSfAZJ8dIUmijx1qaJsIiU+Hosw6xM5KijAWRJCSgNg=="],
-
- "@img/sharp-win32-x64": ["@img/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-+29YMsqY2/9eFEiW93eqWnuLcWcufowXewwSNIT6UwZdUUCrM3oFjMWH/Z6/TMmb4hlFenmfAVbpWeup2jryCw=="],
-
- "@isaacs/cliui": ["@isaacs/[email protected]", "", {}, "sha512-AokJm4tuBHillT+FpMtxQ60n8ObyXBatq7jD2/JA9dxbDDokKQm8KMht5ibGzLVU9IJDIKK4TPKgMHEYMn3lMg=="],
-
- "@jridgewell/gen-mapping": ["@jridgewell/[email protected]", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.0", "@jridgewell/trace-mapping": "^0.3.24" } }, "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA=="],
-
- "@jridgewell/remapping": ["@jridgewell/[email protected]", "", { "dependencies": { "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.24" } }, "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ=="],
-
- "@jridgewell/resolve-uri": ["@jridgewell/[email protected]", "", {}, "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw=="],
-
- "@jridgewell/source-map": ["@jridgewell/[email protected]", "", { "dependencies": { "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.25" } }, "sha512-ZMp1V8ZFcPG5dIWnQLr3NSI1MiCU7UETdS/A0G8V/XWHvJv3ZsFqutJn1Y5RPmAPX6F3BiE397OqveU/9NCuIA=="],
-
- "@jridgewell/sourcemap-codec": ["@jridgewell/[email protected]", "", {}, "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og=="],
-
- "@jridgewell/trace-mapping": ["@jridgewell/[email protected]", "", { "dependencies": { "@jridgewell/resolve-uri": "^3.0.3", "@jridgewell/sourcemap-codec": "^1.4.10" } }, "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ=="],
-
- "@napi-rs/wasm-runtime": ["@napi-rs/[email protected]", "", { "dependencies": { "@tybys/wasm-util": "^0.10.3" }, "peerDependencies": { "@emnapi/core": "^1.7.1", "@emnapi/runtime": "^1.7.1" } }, "sha512-ZLv/JdUfkvOy9eCnnBaGfiO+XimbjebAeO+MRQqD/B+FR1tnRN0tpKSJHRbE8sFfS6aqsXZ67TQjfwfsxULVbg=="],
-
- "@next/env": ["@next/[email protected]", "", {}, "sha512-d0Z5Bc13Fa4nR8pFAKx2jay2yhJM16vlfHbTzYnUQAxlNb6B6lmn4hjt69lYNt4kRtyYP6gEM49lPRHNbIyneg=="],
-
- "@next/swc-darwin-arm64": ["@next/[email protected]", "", { "os": "darwin", "cpu": "arm64" }, "sha512-0W1R0teHWJrqKX0FH20IzzIWAOuGtBxPGuObrxy1lE8hQvCFj49KE8a3WUg0D7sq6rn6zkM4c7YGUnhudBS6oA=="],
-
- "@next/swc-darwin-x64": ["@next/[email protected]", "", { "os": "darwin", "cpu": "x64" }, "sha512-Hy5Ls099+aFUmOLmIgPfLqNi6iCwhL3uQCssz5rWk+5Nkc6TUKCE83DY5BbNylfm3+mfwcSFnLRfrZDJhVxdtw=="],
-
- "@next/swc-linux-arm64-gnu": ["@next/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-+YqU2h1cQkHsGfvjAsrSmst8UIFBibBGm5x3Xgel8NLMiDQtNOM4sM2GOEMvG5YiOBNeN/Ykk8cQC2S0Xrqljg=="],
-
- "@next/swc-linux-arm64-musl": ["@next/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-0qjhiYBaKAqF63LA1ZWAAnKTzFUguAaZiRa5etMLGGPj/B6uEVjtIZldIzFEp3wHlB0koK6aTzqPtSdplTCjoA=="],
-
- "@next/swc-linux-x64-gnu": ["@next/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-7A3q26W+h7gnA15uqBToNuDqBEFZZcqh0mW2mn4AJh/G5pdg2RVE3n4slzLEliASZFG3NmsbEzng/x2Sh09mBg=="],
-
- "@next/swc-linux-x64-musl": ["@next/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-qSjL/uppm+cbh21s72Ss8gkiOhQ4dExWHNGOWy6eZV7STj5WsKehgxT61beSsOj+YYQuTplL376lOCdMQU5T8w=="],
-
- "@next/swc-win32-arm64-msvc": ["@next/[email protected]", "", { "os": "win32", "cpu": "arm64" }, "sha512-X6hzsOUJac/e7AWSbn9gQ9nzHld1xWP5iyjHpYWvud8pufB679O1xg4JDyKr8Xd69Jvd+kM2Der6uftiZCmjYA=="],
-
- "@next/swc-win32-x64-msvc": ["@next/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-F6fakeHuFTLOPt0bslQJdf+xtT+WIP9DVn/m4y1w1mRnVPyh3D/cNvzlRkxM444xfm+IvvYNSOrKiA2CDJ0Uxw=="],
-
- "@noble/ciphers": ["@noble/[email protected]", "", {}, "sha512-2I0gnIVPtfnMw9ee9h1dJG7tp81+8Ob3OJb3Mv37rx5L40/b0i7djjCVvGOVqc9AEIQyvyu1i6ypKdFw8R8gQw=="],
-
- "@noble/curves": ["@noble/[email protected]", "", { "dependencies": { "@noble/hashes": "1.8.0" } }, "sha512-gbKGcRUYIjA3/zCCNaWDciTMFI0dCkvou3TL8Zmy5Nc7sJ47a0jtOeZoTaMxkuqRo9cRhjOdZJXegxYE5FN/xw=="],
-
- "@noble/hashes": ["@noble/[email protected]", "", {}, "sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A=="],
-
- "@node-minify/core": ["@node-minify/[email protected]", "", { "dependencies": { "@node-minify/utils": "8.0.6", "glob": "9.3.5", "mkdirp": "1.0.4" } }, "sha512-/vxN46ieWDLU67CmgbArEvOb41zlYFOkOtr9QW9CnTrBLuTyGgkyNWC2y5+khvRw3Br58p2B5ZVSx/PxCTru6g=="],
-
- "@node-minify/terser": ["@node-minify/[email protected]", "", { "dependencies": { "@node-minify/utils": "8.0.6", "terser": "5.16.9" } }, "sha512-grQ1ipham743ch2c3++C8Isk6toJnxJSyDiwUI/IWUCh4CZFD6aYVw6UAY40IpCnjrq5aXGwiv5OZJn6Pr0hvg=="],
-
- "@node-minify/utils": ["@node-minify/[email protected]", "", { "dependencies": { "gzip-size": "6.0.0" } }, "sha512-csY4qcR7jUwiZmkreNTJhcypQfts2aY2CK+a+rXgXUImZiZiySh0FvwHjRnlqWKvg+y6ae9lHFzDRjBTmqlTIQ=="],
-
- "@opennextjs/aws": ["@opennextjs/[email protected]", "", { "dependencies": { "@ast-grep/napi": "^0.40.5", "@aws-sdk/client-cloudfront": "3.984.0", "@aws-sdk/client-dynamodb": "3.984.0", "@aws-sdk/client-lambda": "3.984.0", "@aws-sdk/client-s3": "3.984.0", "@aws-sdk/client-sqs": "3.984.0", "@node-minify/core": "^8.0.6", "@node-minify/terser": "^8.0.6", "@tsconfig/node18": "^1.0.3", "aws4fetch": "^1.0.20", "chalk": "^5.6.2", "cookie": "^1.0.2", "esbuild": "0.25.4", "express": "^5.1.0", "path-to-regexp": "^6.3.0", "urlpattern-polyfill": "^10.1.0", "yaml": "^2.8.1" }, "peerDependencies": { "next": ">=15.5.21 <16 || >=16.2.11" }, "bin": { "open-next": "dist/index.js" } }, "sha512-GuKkdUbnJhLvtwTiJlytNtWIcSYN3+Dzi+OusUlRgf+Ur7dGoXdzBopd+VFiSdTBduPOvr9lPFDg6BYNjEV3wQ=="],
-
- "@opennextjs/cloudflare": ["@opennextjs/[email protected]", "", { "dependencies": { "@ast-grep/napi": "^0.40.5", "@dotenvx/dotenvx": "1.31.0", "@opennextjs/aws": "4.1.0", "ci-info": "^4.2.0", "cloudflare": "^4.4.1", "comment-json": "^4.5.1", "enquirer": "^2.4.1", "glob": "^12.0.0", "ts-tqdm": "^0.8.6", "yargs": "^18.0.0" }, "peerDependencies": { "next": ">=15.5.21 <16 || >=16.2.11", "rclone.js": "^0.6.6", "wrangler": "^4.86.0" }, "optionalPeers": ["rclone.js"], "bin": { "opennextjs-cloudflare": "dist/cli/index.js" } }, "sha512-iFBjABnaDk3be27F5EpxyMLMGPbVnnArFx5I3Y8Rf6BSx5nBV8h0UuJiMKrx3+whDU5ahIy4d8sfbvWvMiF1Kg=="],
-
- "@oxc-project/types": ["@oxc-project/[email protected]", "", {}, "sha512-r9gHphtCs+1M7J0pw6Sn/hh/Wpa/iQrOOkrNAlVLF/gHq+/CJmHIWKKUUhdWjcD6CIa8idarspCsASiXCXvFUw=="],
-
- "@poppinss/colors": ["@poppinss/[email protected]", "", { "dependencies": { "kleur": "^4.1.5" } }, "sha512-H9xkIdFswbS8n1d6vmRd8+c10t2Qe+rZITbbDHHkQixH5+2x1FDGmi/0K+WgWiqQFKPSlIYB7jlH6Kpfn6Fleg=="],
-
- "@poppinss/dumper": ["@poppinss/[email protected]", "", { "dependencies": { "@poppinss/colors": "^4.1.5", "@sindresorhus/is": "^7.0.2", "supports-color": "^10.0.0" } }, "sha512-NBdYIb90J7LfOI32dOewKI1r7wnkiH6m920puQ3qHUeZkxNkQiFnXVWoE6YtFSv6QOiPPf7ys6i+HWWecDz7sw=="],
-
- "@poppinss/exception": ["@poppinss/[email protected]", "", {}, "sha512-dCED+QRChTVatE9ibtoaxc+WkdzOSjYTKi/+uacHWIsfodVfpsueo3+DKpgU5Px8qXjgmXkSvhXvSCz3fnP9lw=="],
-
- "@radix-ui/number": ["@radix-ui/[email protected]", "", {}, "sha512-Road2bidD0uu/1BGDOWNdPI06g0lIRy6IF9GZcIrDK2KGItfor8IQwQa+yM2ERgHM1MmHxaxpTzk0/Jp42lNfA=="],
-
- "@radix-ui/primitive": ["@radix-ui/[email protected]", "", {}, "sha512-rqWnm76nYT8HoNNqEjpgJ7Pw/DrBj5iBTrmEPo6HTX5+VJyBNOqTdv4g89G63HuR5g0AaENoAcH7Is5fF2kZ8Q=="],
-
- "@radix-ui/react-arrow": ["@radix-ui/[email protected]", "", { "dependencies": { "@radix-ui/react-primitive": "2.1.10" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-v4zggRcjadnI+ClKDuijlQEW4tw3NoaeHc/PwpKnLoLLKNUG4InLegkstooLcRIUWCs+8L22dGURCVuFfOKfnA=="],
-
- "@radix-ui/react-checkbox": ["@radix-ui/[email protected]", "", { "dependencies": { "@radix-ui/primitive": "1.1.7", "@radix-ui/react-compose-refs": "1.1.5", "@radix-ui/react-context": "1.2.2", "@radix-ui/react-presence": "1.1.10", "@radix-ui/react-primitive": "2.1.10", "@radix-ui/react-use-controllable-state": "1.2.6", "@radix-ui/react-use-size": "1.1.4" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-Gnptr9pDDQxD3hgq2dtPbtrp/c2qH1mBwIzw3X/ivrMb2e1t0jMTi606fVEqFPaQR1ggXIVQWKj3P2WW9v7zGQ=="],
-
- "@radix-ui/react-collection": ["@radix-ui/[email protected]", "", { "dependencies": { "@radix-ui/react-compose-refs": "1.1.5", "@radix-ui/react-context": "1.2.2", "@radix-ui/react-primitive": "2.1.10", "@radix-ui/react-slot": "1.3.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-9W+B9NPF0NaaPh/1NJd3+KqsnlLqU9H7T2rvww+fp+T/evVXdNAyYcnfRQZFOjkR1ajQp3yORlqnI8soawLvNA=="],
-
- "@radix-ui/react-compose-refs": ["@radix-ui/[email protected]", "", { "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-+48PbAAbq3didjJxa+OaWY2ZwgAKsNiRGyeHKszblZMQ+kcpd9pAaT11cMkGEie0vsOi3QdeTE6d5Fe3Gn61kA=="],
-
- "@radix-ui/react-context": ["@radix-ui/[email protected]", "", { "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-RHCUGwKHDr0hDGg4X7ma4JG4/+12qxw8rkh5QKdDldlCvtja6nUx1Ef/8HVrJze81lEsgLQlqjzjGNHantgnQA=="],
-
- "@radix-ui/react-direction": ["@radix-ui/[email protected]", "", { "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-5pzg4FGQNpExhnhT2zlrP1wZFaYCd1K0nYWoFAdcYoYK868IEigqMX3B3f8yIoRlAhAeDWciLI6ZdCKHF9P4Vg=="],
-
- "@radix-ui/react-dismissable-layer": ["@radix-ui/[email protected]", "", { "dependencies": { "@radix-ui/primitive": "1.1.7", "@radix-ui/react-compose-refs": "1.1.5", "@radix-ui/react-primitive": "2.1.10", "@radix-ui/react-use-callback-ref": "1.1.4", "@radix-ui/react-use-effect-event": "0.0.5" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-8g4pfOL9HoKKLWGiypT+dphVqjFfmcXO5GBnhsG6zI+lxAx/8feQpr+1LSN8Re3hiZ+XkLNS4O9ztK11/LzQ6w=="],
-
- "@radix-ui/react-focus-guards": ["@radix-ui/[email protected]", "", { "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-RNOJjfZMTyBM6xYmV3IVGXkPjIhcBAuv48POevAXwrGJhkWZ9p1rFoIS1JFooPuT193AZmRsCPhpoVJxx6OPoQ=="],
-
- "@radix-ui/react-focus-scope": ["@radix-ui/[email protected]", "", { "dependencies": { "@radix-ui/react-compose-refs": "1.1.5", "@radix-ui/react-primitive": "2.1.10", "@radix-ui/react-use-callback-ref": "1.1.4" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-wmRZ2WWLvmt6KHy2rNPOdPUjwq5xOHY02+m+udwJTn0aNIox/rkskAvJTyTLGhPK6KgrUjlJUJpgmx/+wFiFIQ=="],
-
- "@radix-ui/react-id": ["@radix-ui/[email protected]", "", { "dependencies": { "@radix-ui/react-use-layout-effect": "1.1.4" }, "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-TMQp2llA+RYn7JcjnrMnz7wN4pcVttPZnRZo52PLQsoLVKzNlVwUeHmfePgTgRluXFvlD3GD5g5MOVVTJCO0qA=="],
-
- "@radix-ui/react-label": ["@radix-ui/[email protected]", "", { "dependencies": { "@radix-ui/react-primitive": "2.1.10" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-o/rdYEwZTTo5tjknnPeyQFU45kUC4i/XyeDPP+HGyi6XqpOP6Zf5Ya5vh/Yfe9Id5JiuWnnAx2XqIeD3UYZt0g=="],
-
- "@radix-ui/react-popper": ["@radix-ui/[email protected]", "", { "dependencies": { "@floating-ui/react-dom": "^2.0.0", "@radix-ui/react-arrow": "1.1.15", "@radix-ui/react-compose-refs": "1.1.5", "@radix-ui/react-context": "1.2.2", "@radix-ui/react-primitive": "2.1.10", "@radix-ui/react-use-callback-ref": "1.1.4", "@radix-ui/react-use-layout-effect": "1.1.4", "@radix-ui/react-use-rect": "1.1.4", "@radix-ui/react-use-size": "1.1.4", "@radix-ui/rect": "1.1.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-UsJrrd7w4wuKKTdvd/DNERVlwSlUcyXzjhyDwBk+3aPOsCjOY6ZSbxuw8E6lZTjjfP8Cpd0J8VVkrYUWyGYXyg=="],
-
- "@radix-ui/react-portal": ["@radix-ui/[email protected]", "", { "dependencies": { "@radix-ui/react-primitive": "2.1.10", "@radix-ui/react-use-layout-effect": "1.1.4" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-vKQLcWypUnwZVvfV7UkGahH2g6ySe8M8R+zYBwPrv5byZ9QAW6cQVvNKo7GgmD+p8aYb6D9JBuvy8/WhOno2wQ=="],
-
- "@radix-ui/react-presence": ["@radix-ui/[email protected]", "", { "dependencies": { "@radix-ui/react-use-layout-effect": "1.1.4" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-3wyzCQ6+ubRA+D4uv9m95JYLXxmOHp05qjrkjeA7uKHHtjpPggQzc6DAb0URl7j67oR0K2foO4ip27TiX037Bw=="],
-
- "@radix-ui/react-primitive": ["@radix-ui/[email protected]", "", { "dependencies": { "@radix-ui/react-slot": "1.3.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-MucOnzh6hR5mid6VpkbglRAMYMjKLqRnGBbjXkzjK52fuQDd1qbkx78a5P40mkcnVXJdEVxm26E9OPAiUq7nBg=="],
-
- "@radix-ui/react-select": ["@radix-ui/[email protected]", "", { "dependencies": { "@radix-ui/number": "1.1.3", "@radix-ui/primitive": "1.1.7", "@radix-ui/react-collection": "1.1.15", "@radix-ui/react-compose-refs": "1.1.5", "@radix-ui/react-context": "1.2.2", "@radix-ui/react-direction": "1.1.4", "@radix-ui/react-dismissable-layer": "1.1.19", "@radix-ui/react-focus-guards": "1.1.6", "@radix-ui/react-focus-scope": "1.1.16", "@radix-ui/react-id": "1.1.4", "@radix-ui/react-popper": "1.3.7", "@radix-ui/react-portal": "1.1.17", "@radix-ui/react-presence": "1.1.10", "@radix-ui/react-primitive": "2.1.10", "@radix-ui/react-slot": "1.3.3", "@radix-ui/react-use-callback-ref": "1.1.4", "@radix-ui/react-use-controllable-state": "1.2.6", "@radix-ui/react-use-layout-effect": "1.1.4", "@radix-ui/react-use-previous": "1.1.4", "@radix-ui/react-visually-hidden": "1.2.11", "aria-hidden": "^1.2.4", "react-remove-scroll": "^2.7.2" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-WFGImkmbzcfxeIwq/+4HvRN0pizBwbwQUED4I13ezQsDdfl38ZntN6TmR8XaSzPBqoCToe8rF75j6NPNDSzhbg=="],
-
- "@radix-ui/react-separator": ["@radix-ui/[email protected]", "", { "dependencies": { "@radix-ui/react-primitive": "2.1.10" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-jOLO4lssEzWpoDu7G+Ze4VjwMRUBt291pnZD0gmalREZipnTX3wadQo7Fy48GCTfe14/YRN6rw/rOJqrE85Wxw=="],
-
- "@radix-ui/react-slot": ["@radix-ui/[email protected]", "", { "dependencies": { "@radix-ui/react-compose-refs": "1.1.5" }, "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-qx7oqnYbxnK9kYI9m317qmFmEgo6ywqWvbTogdj7cL9p3/yx4M48p7Rnw5z3H890cL/ow/EeWJsuTykeZVXP5Q=="],
-
- "@radix-ui/react-toast": ["@radix-ui/[email protected]", "", { "dependencies": { "@radix-ui/primitive": "1.1.7", "@radix-ui/react-collection": "1.1.15", "@radix-ui/react-compose-refs": "1.1.5", "@radix-ui/react-context": "1.2.2", "@radix-ui/react-dismissable-layer": "1.1.19", "@radix-ui/react-portal": "1.1.17", "@radix-ui/react-presence": "1.1.10", "@radix-ui/react-primitive": "2.1.10", "@radix-ui/react-use-callback-ref": "1.1.4", "@radix-ui/react-use-controllable-state": "1.2.6", "@radix-ui/react-use-layout-effect": "1.1.4", "@radix-ui/react-visually-hidden": "1.2.11" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-ofhyAsYaocRGOs/n0XWdUOSVzEAG6BfrMVM8z0c0kLEWY38w/0WuMFPTJP/HVaZPYkMvHZoKIIhNcjbTCBILPg=="],
-
- "@radix-ui/react-tooltip": ["@radix-ui/[email protected]", "", { "dependencies": { "@radix-ui/primitive": "1.1.7", "@radix-ui/react-compose-refs": "1.1.5", "@radix-ui/react-context": "1.2.2", "@radix-ui/react-dismissable-layer": "1.1.19", "@radix-ui/react-id": "1.1.4", "@radix-ui/react-popper": "1.3.7", "@radix-ui/react-portal": "1.1.17", "@radix-ui/react-presence": "1.1.10", "@radix-ui/react-primitive": "2.1.10", "@radix-ui/react-slot": "1.3.3", "@radix-ui/react-use-controllable-state": "1.2.6", "@radix-ui/react-use-layout-effect": "1.1.4", "@radix-ui/react-visually-hidden": "1.2.11" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-6EamKFRRnlpdadndbZ6LMwycfwkwPte1B42hs6QA0gYhjaOKqW4PZ4pjaW9UrlDX5eVt/OjncE7BFTPL5nmZhg=="],
-
- "@radix-ui/react-use-callback-ref": ["@radix-ui/[email protected]", "", { "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-R6OUY2e2fA6Yn6s+VSx5KBV6Nx8LQEhu+cz7LCej18rQ1HLyg9PSC9jP/ZNx0o6FAIK9c0F1kHylzSxKsdlkrQ=="],
-
- "@radix-ui/react-use-controllable-state": ["@radix-ui/[email protected]", "", { "dependencies": { "@radix-ui/primitive": "1.1.7", "@radix-ui/react-use-effect-event": "0.0.5", "@radix-ui/react-use-layout-effect": "1.1.4" }, "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-uEQJGT97ZA/TgP/Hydw47lHu+/vQj6z/0jA+WeTbK1o9Rx45GImjpD0tc3W5ad3D6XTSR6e1yEO0FvGq6WQfVQ=="],
-
- "@radix-ui/react-use-effect-event": ["@radix-ui/[email protected]", "", { "dependencies": { "@radix-ui/react-use-layout-effect": "1.1.4" }, "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-7cshFL8HGS/7HEiHH+9kL9HBwp2sa9yX18Knwek6KYWmXwM7pegMgta2AXMQKI+rq3JnfSj9x8wYqFMTdG1Jgg=="],
-
- "@radix-ui/react-use-layout-effect": ["@radix-ui/[email protected]", "", { "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-K20DkRkUwDnxEYMBPcg3Y6voLkEy5p5QQmszZgLngKKiC7dzBR/aEuK3w1qlx2JWDUNH6FluahYdgR3BP+QbYw=="],
-
- "@radix-ui/react-use-previous": ["@radix-ui/[email protected]", "", { "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-XoSLhbRbqxFtgJoi2fNHA3C6pDlY34x508vUpUGoFZfvePfHXHbE1lC4FYFMnJWgiCRroSTw6fOsXQoVS9RwZg=="],
-
- "@radix-ui/react-use-rect": ["@radix-ui/[email protected]", "", { "dependencies": { "@radix-ui/rect": "1.1.3" }, "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-cSOCh6JlkmfjLyNcLiu2nB4v+nm+dkZ+Q5KHWk/soo4U7ZLiEQFKHK9/YmtBHjfCEaU43IBKQOc4/uJmCaiCTQ=="],
-
- "@radix-ui/react-use-size": ["@radix-ui/[email protected]", "", { "dependencies": { "@radix-ui/react-use-layout-effect": "1.1.4" }, "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-D3anSY15EJoxrihpsXI6SMrmmonnQtR2ni7arO+Lfdg3O95b9hNXxONk8jA5C8ANdF/h5HMAxejgs8PWJ6rlhw=="],
-
- "@radix-ui/react-visually-hidden": ["@radix-ui/[email protected]", "", { "dependencies": { "@radix-ui/react-primitive": "2.1.10" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-NFS86RYYZb4/exihaESBGOpMJFz8MGLAfu3mOBSGByVnVPC9JPASfYubxd/8KbkQK0sYAv8lVQDEQukDX/qXvQ=="],
-
- "@radix-ui/rect": ["@radix-ui/[email protected]", "", {}, "sha512-JtyZR+mqgBibTo8xea3B6ZRmzZiM/YeVBtUkas6zMuXjAlfIFIW2FgqeM9eLyvEaYX66vr6DJMK+4U6LV0KhNw=="],
-
- "@reduxjs/toolkit": ["@reduxjs/[email protected]", "", { "dependencies": { "@standard-schema/spec": "^1.0.0", "@standard-schema/utils": "^0.3.0", "immer": "^11.0.0", "redux": "^5.0.1", "redux-thunk": "^3.1.0", "reselect": "^5.1.0" }, "peerDependencies": { "react": "^16.9.0 || ^17.0.0 || ^18 || ^19", "react-redux": "^7.2.1 || ^8.1.3 || ^9.0.0" }, "optionalPeers": ["react", "react-redux"] }, "sha512-KiT+RzZbp6mQET+Mg+h2c97+9j1sNflUxQkIHI7Yuzf6Peu+OYpmkn6nbHWmLLWj+1ZODUJFwGZ7gx3L9R9EOw=="],
-
- "@rolldown/binding-android-arm64": ["@rolldown/[email protected]", "", { "os": "android", "cpu": "arm64" }, "sha512-lZg8fqIv2v7FF237bwMgzGZEJvGL79/s5knJ/i6FmsGF4XXlzccZ4jb+TrFIxtSSxFtIpdsgrPZeMk1I9AFcyQ=="],
-
- "@rolldown/binding-darwin-arm64": ["@rolldown/[email protected]", "", { "os": "darwin", "cpu": "arm64" }, "sha512-51Bnx9pNiMRKSUNtBfySkNJ9vMU9Hh3I1ozDd6gyPPYzaXCfnptUcEZxXGYFn+ul2dtcMUiqGR1Yai2K10uoTw=="],
-
- "@rolldown/binding-darwin-x64": ["@rolldown/[email protected]", "", { "os": "darwin", "cpu": "x64" }, "sha512-Tm+gbfC0aHu1tBA/JvKQh32S0K6YgCHkiAF4/W6xX0K0RmNuc94VeK419dJoE65R5aRxmo+noZQSWrAMF6yb6g=="],
-
- "@rolldown/binding-freebsd-x64": ["@rolldown/[email protected]", "", { "os": "freebsd", "cpu": "x64" }, "sha512-JMzDKCCXq93YccG5gz3hvOs1oXRKAf0XYpfOS88e+wZrC8Iugj6j68867vrYZkvpDDpKn/KoKORThmchMpF6TA=="],
-
- "@rolldown/binding-linux-arm-gnueabihf": ["@rolldown/[email protected]", "", { "os": "linux", "cpu": "arm" }, "sha512-uML21j2K5TfPGutKxub+M+nLjZIrWjXQ5Grx4lCe/nimTj9B4L63zHpjXLl4y0L3mcm2htEQIb06oCG/szerNw=="],
-
- "@rolldown/binding-linux-arm64-gnu": ["@rolldown/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-navSiuTMogvnQoZoM/v+l3ZWo50/NTwSHSzheABx/RCnmUPaKwq9qSo4Br2OYRs21+Fz8uFqITZM3H4opOB0/Q=="],
-
- "@rolldown/binding-linux-arm64-musl": ["@rolldown/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-lAryqH7IteztmCXQXk0etKj4wBQ7Gx5S6LjKhsgp9zb8I5bsuvU/2llH1hDQcjsFeqIsovMVN339/8pUDDBXxA=="],
-
- "@rolldown/binding-linux-ppc64-gnu": ["@rolldown/[email protected]", "", { "os": "linux", "cpu": "ppc64" }, "sha512-fsK/sNBnxzBlL4O1JNrZakVQxPspqpED5dLtNsZS9oOKmtSpdNIzxH2kkol5HYTWJN47sE20ztMJPxfZ89qGOg=="],
-
- "@rolldown/binding-linux-s390x-gnu": ["@rolldown/[email protected]", "", { "os": "linux", "cpu": "s390x" }, "sha512-gLYb4BIadlfTOYT5gO503n8zQjXflgzpD0FcyKh0Mzx3rqCZKnHoJWV9xe1KXUJ5lx2JfcSHr/mhzS0PC/McAA=="],
-
- "@rolldown/binding-linux-x64-gnu": ["@rolldown/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-FjcpEKUyJygHgs1o50VYNvkt5+7Le/VEdYt0AkRpkL33MnyQfwr8l5mXwMmfmTbyMPr5vJLC+8/Gd9gXnwU1QQ=="],
-
- "@rolldown/binding-linux-x64-musl": ["@rolldown/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-Me+PfPI2TMeOQk0gYWfLQZtTktrmzbr8cDboqX83XKc7UrgAi55gF+2dUkWdxd19n55Essp2yeca+O9N5rBxHg=="],
-
- "@rolldown/binding-openharmony-arm64": ["@rolldown/[email protected]", "", { "os": "none", "cpu": "arm64" }, "sha512-yc5WrLzXks6zCQfn9Oxr8pORKyl/pF+QjHmW/Qx3qu0oyrrNC+y2JLTU1E2rcWYAmzlnqngWXHQjy51VzW70Vw=="],
-
- "@rolldown/binding-wasm32-wasi": ["@rolldown/[email protected]", "", { "dependencies": { "@emnapi/core": "1.11.1", "@emnapi/runtime": "1.11.1", "@napi-rs/wasm-runtime": "^1.1.6" }, "cpu": "none" }, "sha512-VbQGPX2b4r48TAMIM2cjgluIM1HYutm4pcTEJsle7iEP7sB1dFqtPLBVbdLAZCxy1txCcPxf4QFf4v8uvltPqA=="],
-
- "@rolldown/binding-win32-arm64-msvc": ["@rolldown/[email protected]", "", { "os": "win32", "cpu": "arm64" }, "sha512-gHv82k63z4qpV5+Q1y/12KrK0ltWBukVDI8nZcbT7Tt/ZlOIVwppazneq0F93oDxTo3IgAMEDIoQh3E2n6mVsw=="],
-
- "@rolldown/binding-win32-x64-msvc": ["@rolldown/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-tTZuDBPw85tEN5PQi1pnEBzDy0Z49HtScLAbD5t6hyeU92A95pRWaSMw1GZZi/RwgSgUIl0xrSlXIT/9QzvYSA=="],
-
- "@rolldown/pluginutils": ["@rolldown/[email protected]", "", {}, "sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw=="],
-
- "@sindresorhus/is": ["@sindresorhus/[email protected]", "", {}, "sha512-P1Cz1dWaFfR4IR+U13mqqiGsLFf1KbayybWwdd2vfctdV6hDpUkgCY0nKOLLTMSoRd/jJNjtbqzf13K8DCCXQw=="],
-
- "@smithy/config-resolver": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.31.1", "tslib": "^2.6.2" } }, "sha512-XMDfb7LTrlUeI9PpfMa6xzRv+yMtYFsr1LqTsR3CGpSSaaPIR5ldlAiXyLjFYmbh1/DD5NxHmDybdh6lJjJM+Q=="],
-
- "@smithy/core": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-CyogUINxvi7C7LDsh8Syo6hVJOT9ckz4rG8dRZfTJ8r91HkMY59PnNooaj7WcHyxEkxPfBAmbgztZU+xTo76lg=="],
-
- "@smithy/credential-provider-imds": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.31.1", "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-QfuLWAkLzptffFW980AFeHZFdqds2B64rpEd3uJ6lgs3xVn9QegGMUgUcj+4d7dRrAsya3r58ZKpku97WcFb4w=="],
-
- "@smithy/eventstream-serde-browser": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.31.1", "tslib": "^2.6.2" } }, "sha512-t+RmwgPwqlhzHxH9EHubIkyN2eSAuy5d4LR7gz/HsUZRHkXpHRuzjiPvD7fLIVefhgSakGoiiiJ1jUursfFkMQ=="],
-
- "@smithy/eventstream-serde-config-resolver": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.31.1", "tslib": "^2.6.2" } }, "sha512-XSqzMmc3iUO+jC50lQET3l8fX8qvt9apyQMobmHy8o9Ax4eDcIqWvXKdzGJJanJZNeqfH+Itwo6l4tspmKQekA=="],
-
- "@smithy/eventstream-serde-node": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.31.1", "tslib": "^2.6.2" } }, "sha512-xIWOCcsrQPlWzxXfdPer0cHzvEDycVKk76F1Oxl73qXq8lZuGd+lzJYWo3vkrXnrwqFya95urMmYMjDIY7hG8g=="],
-
- "@smithy/fetch-http-handler": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.31.1", "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-4fW86pEUOMbrD5nkbyl/tTvPHHWJFbuB2odl6ps9lWfHoXf9HWh3Q/Smh59qH1g7+c/BSZghX6bbUk4gsiMs8A=="],
-
- "@smithy/hash-blob-browser": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.31.1", "tslib": "^2.6.2" } }, "sha512-B3yUUqflj/L1HY1QvSLSmU+NOtG5mroO4+dXj3sjqWKxdO//wrlSpkymV+dkVpwUJvwCXtSAybdzs2WIiCArjQ=="],
-
- "@smithy/hash-node": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.31.1", "tslib": "^2.6.2" } }, "sha512-9NJHd8scrdVORvnaMHIHgPipGxLiTK3FMNUfWl0tHn2fwJIEk4rZ3OM793yIWV8L+WKu+AWQZBcVyd5qrVXy+A=="],
-
- "@smithy/hash-stream-node": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.31.1", "tslib": "^2.6.2" } }, "sha512-ZhloOl0+kyQHlmaEhYvsPbNs9ekLHsbMt82W70v0ChIQKbm1HaUAozWDph2QmA8L/PtiP6cwy+6nPTffVNjBMg=="],
-
- "@smithy/invalid-dependency": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.31.1", "tslib": "^2.6.2" } }, "sha512-fEXR2jKLnu1U9sL/Obdkxs8f3M1pLSDjM30cMmpz2L61oGnlUdx1Z9Wj+9+mID7kKldEVOUQfuXqHrK4RP90FA=="],
-
- "@smithy/is-array-buffer": ["@smithy/[email protected]", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-GGP3O9QFD24uGeAXYUjwSTXARoqpZykHadOmA8G5vfJPK0/DC67qa//0qvqrJzL1xc8WQWX7/yc7fwudjPHPhA=="],
-
- "@smithy/md5-js": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.31.1", "tslib": "^2.6.2" } }, "sha512-XdPyIiKajNJ5HoLkBYe3EP+Tc9LmyIz/o7bfcCvr7TR7wmtJqAezvyMSV7X+vjTh6l/y3dC81tIc2PirpMpbZw=="],
-
- "@smithy/middleware-content-length": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.31.1", "tslib": "^2.6.2" } }, "sha512-Q+J8iTUHr5qtoejFJCb9TTavDh7xQFVFRjy1n1edq5BFJq5b4mfziqrEqJlAscHHVdsqyFTNJXcV+b9i3oad9w=="],
-
- "@smithy/middleware-endpoint": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.31.1", "tslib": "^2.6.2" } }, "sha512-nU2N3LY6Vn46rwga1+gZQJ1Zsu+3/Qj2X+d5gKb8gSvLmojZd0sg9XWYqMDH59VeadVKOGOhMrhyzUo7ln4lGw=="],
-
- "@smithy/middleware-retry": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.31.1", "tslib": "^2.6.2" } }, "sha512-JOVvyFbNiXUuT8Id+uNIEzbkqi8IOa6zqEQgzpoQ1xYIQQFTFL/mXIiBRLlA129aoBB1EeiElkhmLZyok5axYA=="],
-
- "@smithy/middleware-serde": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.31.1", "tslib": "^2.6.2" } }, "sha512-nwYV4tBUU5kBOYec2p8vKz5pzMVWVEcalVY4ZXguUdZZEOm9LQZhT0pKsnYSQhldvWegaFKWAR45Mi4XUfv5cQ=="],
-
- "@smithy/middleware-stack": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.31.1", "tslib": "^2.6.2" } }, "sha512-IivXdOXykxp8Eq+qDL91mxEVd9CoR7wEIJqhJiwbHnmJVX6SZm2hxZt6uSDQOEh5tYHQdj6WuqmpNhV7P8C1Ww=="],
-
- "@smithy/node-config-provider": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.31.1", "tslib": "^2.6.2" } }, "sha512-N4XTMCO77u8jXq9Ms1pbFM3M9zD+ScKnvB+M7//VyawM8L6xW3/mqAPp/uMOYprW+q/b1Qen6qUKVwxTb2ymiQ=="],
-
- "@smithy/node-http-handler": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.31.1", "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-Nmd/Nl35zfYrd+a6OO2cDJb3GPh9bgTjIUhcM+JFfjpp8/osCgboDV5nCT1I01Pv6R13eSKDKLSoVa5ZB6Zsfw=="],
-
- "@smithy/protocol-http": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.31.1", "tslib": "^2.6.2" } }, "sha512-iPaxIe9mTyidyhM6WF2/gSLPezyCwSlZcqlDBj2KCoSS994iw4yf1se1xmZkWsY98ZpwjDR/ZMubOSVx+Nrokw=="],
-
- "@smithy/signature-v4": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.31.1", "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-I6KLtq3H0qqSuV9vLglfi8puHqzygzWHOnI4z/Rdoo+q50vvo18vBRdPAvvEtcaKROz7Zn6qnPa14kRfPH6PcQ=="],
-
- "@smithy/smithy-client": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.31.1", "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-UzWzH88hntrIn1wMPlmt/6vmQL+FS+pYgqvBsp4QQdgt/DUFZZD0S0xRO7kCfAfz9fqn9boVb+buFWU4LD9PJg=="],
-
- "@smithy/types": ["@smithy/[email protected]", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-0JFs3V2y2M9tKW5na/qxe69Zv+uxLMO7QBbhxF/FHu/Gp2NFZAAL9tWl9PU02xxo07pb3G9FTyjNc6D5uZrJIg=="],
-
- "@smithy/url-parser": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.31.1", "tslib": "^2.6.2" } }, "sha512-0VynNn3o4qSpRbgtG6RbT09wsN2HjsIkBvxHUX99p0t3sFj7hvqsOtPQBubawSNH4PWfwXgkD82vG166ROta7w=="],
-
- "@smithy/util-base64": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.31.1", "tslib": "^2.6.2" } }, "sha512-80e25qWKD6hJh5BenAutni2Z6dj2AiZKmht21pcROmzWzQja8yl+KqsuDSia++hwk1Ne6RrDEBwP6I+A4R0XAg=="],
-
- "@smithy/util-body-length-browser": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.31.1", "tslib": "^2.6.2" } }, "sha512-gTqO1MkKFsaKgJoGelxgWBdUlHqc9g1z6ItBVFsQU1yTO4W6BEIq/NZIDf/UTi6ueojTr2fJRetusBIbctA6KQ=="],
-
- "@smithy/util-body-length-node": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.31.1", "tslib": "^2.6.2" } }, "sha512-BTwIXGhunFzjNYpKrRJJjgfEONT8m/wyBB0IL4BWB9WqJSQa/CEMh2cPHqbqMpKwnAljPuhhbGwF2Z0qm2C04A=="],
-
- "@smithy/util-buffer-from": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/is-array-buffer": "^2.2.0", "tslib": "^2.6.2" } }, "sha512-IJdWBbTcMQ6DA0gdNhh/BwrLkDR+ADW5Kr1aZmd4k3DIF6ezMV4R2NIAmT08wQJ3yUK82thHWmC/TnK/wpMMIA=="],
-
- "@smithy/util-defaults-mode-browser": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.31.1", "tslib": "^2.6.2" } }, "sha512-en8XtoFeELWwI0pwpmUbf63bJ9WRusVozGQ59mE9YuUuW+Q/FFRfdbd/EZIf/p1oZXHerbj30ITuer7vE47TbQ=="],
-
- "@smithy/util-defaults-mode-node": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.31.1", "tslib": "^2.6.2" } }, "sha512-MAN0jEah3skK3+94QiikeLbuhnZ9GuW+JCjuIUpXGUvJG2U4N8sscypWDMUJUkKc6DYJ0UaGI5Xvb17crXwyiw=="],
-
- "@smithy/util-endpoints": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.31.1", "tslib": "^2.6.2" } }, "sha512-7dFFv+DA2Ln8s60s+JIRHHfl/Fch8HZ3FY9VjnM6I3EtigDP+bUUexNQZuexVYJXUejpQ48/JIHSiSmugFDD/A=="],
-
- "@smithy/util-middleware": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.31.1", "tslib": "^2.6.2" } }, "sha512-VuChjNaV9VteddlugHsGqFXgjQK8WIt9JxYAtdsi1i8A1PwrVAVC6DVVRqr9XbGeWnHvvWb0ywWLMjYUZwiHYg=="],
-
- "@smithy/util-retry": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.31.1", "tslib": "^2.6.2" } }, "sha512-oM/8/5H9aG1omF2CzDxE7oxiJQhkonS2Vz1Kd6/76IhvPzCoroA3RVhr0EhAhZmyY6th3WfLK0OpRrphJ3YbgQ=="],
-
- "@smithy/util-stream": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.31.1", "tslib": "^2.6.2" } }, "sha512-r/r4fqkU5fkJQaGpTrVssAHuPIwDSHrwz1KQ3rb1riYkL71OsYciHun1i0PWrJLLt+nPvroHXcaz39RdNW3XBw=="],
-
- "@smithy/util-utf8": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.31.1", "tslib": "^2.6.2" } }, "sha512-/gSbVMQlLRcneJ8D/JGbB1DNf0w4I7OpY2ldNUJ+myDmakPXEm9fy/X4swDlNYTOwBwsCKVJsogCfe7Txjnolg=="],
-
- "@smithy/util-waiter": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.31.1", "tslib": "^2.6.2" } }, "sha512-fbrKxazlmJDe70WVjM6LOiNA2IKiz8lzsF1rHoIiEj9ONf5uQTgN1srg8X+AveJHGYavqEhsDEGZP7gM1k43Rg=="],
-
- "@speed-highlight/core": ["@speed-highlight/[email protected]", "", {}, "sha512-iRoq6i6JDJP6Mt2A5JaPvzw0pgYHH6k92ij+yXiTrB7T2y9N789aWE3EHWj/5ztlJBokcCBja3iYLVdu5wgnkg=="],
-
- "@standard-schema/spec": ["@standard-schema/[email protected]", "", {}, "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w=="],
-
- "@standard-schema/utils": ["@standard-schema/[email protected]", "", {}, "sha512-e7Mew686owMaPJVNNLs55PUvgz371nKgwsc4vxE49zsODpJEnxgxRo2y/OKrqueavXgZNMDVj3DdHFlaSAeU8g=="],
-
- "@swc/core": ["@swc/[email protected]", "", { "dependencies": { "@swc/counter": "^0.1.3", "@swc/types": "^0.1.27" }, "optionalDependencies": { "@swc/core-darwin-arm64": "1.15.46", "@swc/core-darwin-x64": "1.15.46", "@swc/core-linux-arm-gnueabihf": "1.15.46", "@swc/core-linux-arm64-gnu": "1.15.46", "@swc/core-linux-arm64-musl": "1.15.46", "@swc/core-linux-ppc64-gnu": "1.15.46", "@swc/core-linux-s390x-gnu": "1.15.46", "@swc/core-linux-x64-gnu": "1.15.46", "@swc/core-linux-x64-musl": "1.15.46", "@swc/core-win32-arm64-msvc": "1.15.46", "@swc/core-win32-ia32-msvc": "1.15.46", "@swc/core-win32-x64-msvc": "1.15.46" }, "peerDependencies": { "@swc/helpers": ">=0.5.17" }, "optionalPeers": ["@swc/helpers"] }, "sha512-Ri3em2mBpq3h2zSPliCYl63otDGqek8PPEfv2nWgRQEbZ/VBCNyypVTVQ6cEbTCXBhy+WE2T3fQb08moIyuYaw=="],
-
- "@swc/core-darwin-arm64": ["@swc/[email protected]", "", { "os": "darwin", "cpu": "arm64" }, "sha512-IsISIT22EfktVJrlvIpnAxG2u/A9aob9l99HMlx80x72WlFmFPk1V3UhkEzx86eJP8hw049KTFv/RISho2cq2Q=="],
-
- "@swc/core-darwin-x64": ["@swc/[email protected]", "", { "os": "darwin", "cpu": "x64" }, "sha512-4Tj4ppVIPCmUMpmGFiGtyEriwLyJ+yi/US4WfBrP/ok8COGddDZXLEzQETnKyK46mjvr1v0jevrS23zjoff7vA=="],
-
- "@swc/core-linux-arm-gnueabihf": ["@swc/[email protected]", "", { "os": "linux", "cpu": "arm" }, "sha512-i8tUGnNjyOgMmfmgFSg4aeJLQoFyfpIHK5FjpQAwpRyQIqEUB2w1e8zIDQzY1WhOxx8NoS1S5iUL813Un4Sf5A=="],
-
- "@swc/core-linux-arm64-gnu": ["@swc/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-c0OnhqzdhfOvv6qhNCcByepB+sNYOGZyhtr2Qa6ZCHvAWTYhSRw4j/u92Stue9PbZ/6q74b9nHzi76+kVzqQHQ=="],
-
- "@swc/core-linux-arm64-musl": ["@swc/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-imyRpNEcUzFQFV2LE4jL68ErvmKEuZCbvZru77iQREunJ+bR4i658cupTgtG1mLYM3F1Tzy3Sb9xYb02KghWTg=="],
-
- "@swc/core-linux-ppc64-gnu": ["@swc/[email protected]", "", { "os": "linux", "cpu": "ppc64" }, "sha512-ctEfcl/HcUeomK33cbySiHZm98GEDIxTm1EkpBsYCiHxElYBzvTXVeuQT2YwbUXn9XCrjiw4ipyUNk33k26qRg=="],
-
- "@swc/core-linux-s390x-gnu": ["@swc/[email protected]", "", { "os": "linux", "cpu": "s390x" }, "sha512-DxlMdnt84TtRVTv7WL/thWyz9+QU8QZNNoAP9rrk0P68LziuhfePp8MjQ44zIprpTHTsEwyziIuGUUN5iSC1bQ=="],
-
- "@swc/core-linux-x64-gnu": ["@swc/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-SKxI7J6t90XPl8hRUqtJi9NfGdunN/E/vZMc7Bc0figeRdOPDBT+Tm8g7cx9xM0T0mewh2l+8dewa3Am27/P+A=="],
-
- "@swc/core-linux-x64-musl": ["@swc/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-qj9T6B7bosI0VEsrWOVXZN1OXxS8Tp63ywyrLxNdOycnUtLdkgYcoBsN5y8ImnDDsnwrEWZOy1e+J4xSe7mA3Q=="],
-
- "@swc/core-win32-arm64-msvc": ["@swc/[email protected]", "", { "os": "win32", "cpu": "arm64" }, "sha512-8p7l4c3LU+eA5g9Et1JPhNeMC1oQwXTGU+uah8DPIBX7YXzqswvaBtyKVmXefVGi/DJU1x3YJsc3mbAp9aWzSQ=="],
-
- "@swc/core-win32-ia32-msvc": ["@swc/[email protected]", "", { "os": "win32", "cpu": "ia32" }, "sha512-tUEnfr3Bn9u6FOjUb3PN9p+09qZC2j+wNDLKHzXXZn22rqGcUqR/ohCRSS+nG9B9+X+U+3FewNEHJkTmdIvMjQ=="],
-
- "@swc/core-win32-x64-msvc": ["@swc/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-Vux7UDzBJYQggSuPfcl2w9iu+IJpgpRCxHzgCaVkELnAXAE4XZMOTX9HNcaNiwfeIDqdu2rkr69RuDm6wY8neA=="],
-
- "@swc/counter": ["@swc/[email protected]", "", {}, "sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ=="],
-
- "@swc/helpers": ["@swc/[email protected]", "", { "dependencies": { "tslib": "^2.8.0" } }, "sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g=="],
-
- "@swc/types": ["@swc/[email protected]", "", { "dependencies": { "@swc/counter": "^0.1.3" } }, "sha512-K6h3iUlqeM946U4sXFYeahefR1YBbXJvko+hv8WS8/0BNJ4OHiHRywMnQUJCqkR7Y9+hqQ1TvEpiKqUhz7NEFg=="],
-
- "@tanstack/query-core": ["@tanstack/[email protected]", "", {}, "sha512-gNwcvOJcRbLWPOLG/2OBm+zM+Yv+MKsXKEOWC57USuZDEsI71hEErQsiEGx5wX9rzWWkfwM0fVSPoiIFSsxfiw=="],
-
- "@tanstack/react-query": ["@tanstack/[email protected]", "", { "dependencies": { "@tanstack/query-core": "5.101.4" }, "peerDependencies": { "react": "^18 || ^19" } }, "sha512-yRg2pfOCxIs4ZJW3XYYHU/WgtD04FHSnfHlpRT7h7pR77hwkdRG4wxbKe4aq6P0RvXUTBSQpQeadS1SUYUe+KA=="],
-
- "@tsconfig/node18": ["@tsconfig/[email protected]", "", {}, "sha512-RbwvSJQsuN9TB04AQbGULYfOGE/RnSFk/FLQ5b0NmDf5Kx2q/lABZbHQPKCO1vZ6Fiwkplu+yb9pGdLy1iGseQ=="],
-
- "@tybys/wasm-util": ["@tybys/[email protected]", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-F3fo1MYrRJYL3zER0OUOmkutjr1Vp23m7OsSgp7nq4SP6OqX6C/56XFIPAl5bt3zaBRjmW7SGz3u/6LwFpYcOg=="],
-
- "@types/d3-array": ["@types/[email protected]", "", {}, "sha512-hOLWVbm7uRza0BYXpIIW5pxfrKe0W+D5lrFiAEYR+pb6w3N2SwSMaJbXdUfSEv+dT4MfHBLtn5js0LAWaO6otw=="],
-
- "@types/d3-color": ["@types/[email protected]", "", {}, "sha512-iO90scth9WAbmgv7ogoq57O9YpKmFBbmoEoCHDB2xMBY0+/KVrqAaCDyCE16dUspeOvIxFFRI+0sEtqDqy2b4A=="],
-
- "@types/d3-ease": ["@types/[email protected]", "", {}, "sha512-NcV1JjO5oDzoK26oMzbILE6HW7uVXOHLQvHshBUW4UMdZGfiY6v5BeQwh9a9tCzv+CeefZQHJt5SRgK154RtiA=="],
-
- "@types/d3-interpolate": ["@types/[email protected]", "", { "dependencies": { "@types/d3-color": "*" } }, "sha512-mgLPETlrpVV1YRJIglr4Ez47g7Yxjl1lj7YKsiMCb27VJH9W8NVM6Bb9d8kkpG/uAQS5AmbA48q2IAolKKo1MA=="],
-
- "@types/d3-path": ["@types/[email protected]", "", {}, "sha512-VMZBYyQvbGmWyWVea0EHs/BwLgxc+MKi1zLDCONksozI4YJMcTt8ZEuIR4Sb1MMTE8MMW49v0IwI5+b7RmfWlg=="],
-
- "@types/d3-scale": ["@types/[email protected]", "", { "dependencies": { "@types/d3-time": "*" } }, "sha512-dLmtwB8zkAeO/juAMfnV+sItKjlsw2lKdZVVy6LRr0cBmegxSABiLEpGVmSJJ8O08i4+sGR6qQtb6WtuwJdvVw=="],
-
- "@types/d3-shape": ["@types/[email protected]", "", { "dependencies": { "@types/d3-path": "*" } }, "sha512-lae0iWfcDeR7qt7rA88BNiqdvPS5pFVPpo5OfjElwNaT2yyekbM0C9vK+yqBqEmHr6lDkRnYNoTBYlAgJa7a4w=="],
-
- "@types/d3-time": ["@types/[email protected]", "", {}, "sha512-yuzZug1nkAAaBlBBikKZTgzCeA+k1uy4ZFwWANOfKw5z5LRhV0gNA7gNkKm7HoK+HRN0wX3EkxGk0fpbWhmB7g=="],
-
- "@types/d3-timer": ["@types/[email protected]", "", {}, "sha512-Ps3T8E8dZDam6fUyNiMkekK3XUsaUEik+idO9/YjPtfj2qruF8tFBXS7XhtE4iIXBLxhmLjP3SXpLhVf21I9Lw=="],
-
- "@types/estree": ["@types/[email protected]", "", {}, "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg=="],
-
- "@types/json-schema": ["@types/[email protected]", "", {}, "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA=="],
-
- "@types/node": ["@types/[email protected]", "", { "dependencies": { "undici-types": "~8.3.0" } }, "sha512-Vu4a5UFA9rIIFJ7rB/Vaafh9lrCQszopTCx6KjFboXTGQbPNasehVR5TEiithSDGyd1DEiUByggTZsg8jukeIg=="],
-
- "@types/node-fetch": ["@types/[email protected]", "", { "dependencies": { "@types/node": "*", "form-data": "^4.0.4" } }, "sha512-QGpRVpzSaUs30JBSGPjOg4Uveu384erbHBoT1zeONvyCfwQxIkUshLAOqN/k9EjGviPRmWTTe6aH2qySWKTVSw=="],
-
- "@types/react": ["@types/[email protected]", "", { "dependencies": { "csstype": "^3.2.2" } }, "sha512-AnzbBERsrLKtk2XSfTbYRLjQPdy116Sty4q+T+Bp3IC4l6jNBvreVPAHmpq9qhXQM7CXZPjLVmGMw9sy+hxQ3w=="],
-
- "@types/react-dom": ["@types/[email protected]", "", { "peerDependencies": { "@types/react": "^19.2.0" } }, "sha512-Bsc+QHgp+P/F02XDzNCY9jnZNCUuLki36KT7VKrTXXLdHf+vHMNZnW1rVu5DNW/rCK+fya3DATySbLM4yhtKUw=="],
-
- "@types/use-sync-external-store": ["@types/[email protected]", "", {}, "sha512-zFDAD+tlpf2r4asuHEj0XH6pY6i0g5NeAHPn+15wk3BV6JA69eERFXC1gyGThDkVa1zCyKr5jox1+2LbV/AMLg=="],
-
- "@vanilla-extract/babel-plugin-debug-ids": ["@vanilla-extract/[email protected]", "", { "dependencies": { "@babel/core": "^7.23.9" } }, "sha512-MeDWGICAF9zA/OZLOKwhoRlsUW+fiMwnfuOAqFVohL31Agj7Q/RBWAYweqjHLgFBCsdnr6XIfwjJnmb2znEWxw=="],
-
- "@vanilla-extract/compiler": ["@vanilla-extract/[email protected]", "", { "dependencies": { "@vanilla-extract/css": "^1.21.1", "@vanilla-extract/integration": "^8.0.10", "vite": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0", "vite-node": "^3.2.2 || ^5.0.0 || ^6.0.0" } }, "sha512-VslwMJ01taDhJmMo0+A0SWn2dloMnYi0+BbvLuXXlqK4ufVRwXsq/U/Fp8ANkw3jevmQXy+JL7VtIQdjEtylDQ=="],
-
- "@vanilla-extract/css": ["@vanilla-extract/[email protected]", "", { "dependencies": { "@emotion/hash": "^0.9.0", "@vanilla-extract/private": "^1.0.9", "css-what": "^6.1.0", "csstype": "^3.2.3", "dedent": "^1.5.3", "deep-object-diff": "^1.1.9", "deepmerge": "^4.2.2", "lru-cache": "^10.4.3", "media-query-parser": "^2.0.2", "modern-ahocorasick": "^1.0.0", "picocolors": "^1.0.0" } }, "sha512-ehF/tmv2MxQwOJB1DicALUqnjZTnmY9Y7J2ccKB578JzZpYeL6sLAUqbaXo1taw1Erp0qBq0I4Kejs0uU/pBfg=="],
-
- "@vanilla-extract/integration": ["@vanilla-extract/[email protected]", "", { "dependencies": { "@babel/core": "^7.23.9", "@babel/plugin-syntax-typescript": "^7.23.3", "@vanilla-extract/babel-plugin-debug-ids": "^1.2.2", "@vanilla-extract/css": "^1.20.1", "dedent": "^1.5.3", "esbuild": "npm:esbuild@>=0.17.6 <0.29.0", "eval": "0.1.8", "find-up": "^5.0.0", "javascript-stringify": "^2.0.1", "mlly": "^1.4.2" } }, "sha512-01IB5gbrgTe8IIrtfRXXTmACl5D8Enzqp2cKbCWaMKXmnoilXXVCPbJoA96q88PXkNDXsXepCxUugMvEmL3c7A=="],
-
- "@vanilla-extract/next-plugin": ["@vanilla-extract/[email protected]", "", { "dependencies": { "@vanilla-extract/turbopack-plugin": "^0.1.3", "@vanilla-extract/webpack-plugin": "^2.3.27", "semver": "^7.6.3" }, "peerDependencies": { "next": ">=12.1.7" } }, "sha512-apq4i0atiSL4Qz4kiGdOov8ucGLLlQ1Vw7JgvppMp7FCtUBBlosRteaTGrGP7PjczRkzWsx5BR/cp8Ev81o7RQ=="],
-
- "@vanilla-extract/private": ["@vanilla-extract/[email protected]", "", {}, "sha512-gT2jbfZuaaCLrAxwXbRgIhGhcXbRZCG3v4TTUnjw0EJ7ArdBRxkq4msNJkbuRkCgfIK5ATmprB5t9ljvLeFDEA=="],
-
- "@vanilla-extract/recipes": ["@vanilla-extract/[email protected]", "", { "peerDependencies": { "@vanilla-extract/css": "^1.0.0" } }, "sha512-Fvr+htdyb6LVUu+PhH61UFPhwkjgDEk8L4Zq9oIdte42sntpKrgFy90MyTRtGwjVALmrJ0pwRUVr8UoByYeW8A=="],
-
- "@vanilla-extract/turbopack-plugin": ["@vanilla-extract/[email protected]", "", { "dependencies": { "@swc/core": "^1.13.5", "@vanilla-extract/compiler": "^0.7.0", "@vanilla-extract/integration": "^8.0.9" }, "peerDependencies": { "next": ">=12.1.7" } }, "sha512-ZTViI5/3xAviQ3aRzZMjYG50NIFVsXqvsavZF+rMxl/RYZQ42ufBT2jDRlScrIvig2V27ODESDEJRQcEX/u3+Q=="],
-
- "@vanilla-extract/webpack-plugin": ["@vanilla-extract/[email protected]", "", { "dependencies": { "@vanilla-extract/integration": "^8.0.10", "debug": "^4.3.1", "loader-utils": "^2.0.0", "picocolors": "^1.0.0" }, "peerDependencies": { "webpack": "^4.30.0 || ^5.20.2" } }, "sha512-i/GFQPifTkGYXYpkVYzScBPwXB82f+5GMLg9rh9UBgTG6M/YUebIDVjVOC9Mn5VMvc8Fk2w/FmagDRLugHA09w=="],
-
- "@webassemblyjs/ast": ["@webassemblyjs/[email protected]", "", { "dependencies": { "@webassemblyjs/helper-numbers": "1.13.2", "@webassemblyjs/helper-wasm-bytecode": "1.13.2" } }, "sha512-nuBEDgQfm1ccRp/8bCQrx1frohyufl4JlbMMZ4P1wpeOfDhF6FQkxZJ1b/e+PLwr6X1Nhw6OLme5usuBWYBvuQ=="],
-
- "@webassemblyjs/floating-point-hex-parser": ["@webassemblyjs/[email protected]", "", {}, "sha512-6oXyTOzbKxGH4steLbLNOu71Oj+C8Lg34n6CqRvqfS2O71BxY6ByfMDRhBytzknj9yGUPVJ1qIKhRlAwO1AovA=="],
-
- "@webassemblyjs/helper-api-error": ["@webassemblyjs/[email protected]", "", {}, "sha512-U56GMYxy4ZQCbDZd6JuvvNV/WFildOjsaWD3Tzzvmw/mas3cXzRJPMjP83JqEsgSbyrmaGjBfDtV7KDXV9UzFQ=="],
-
- "@webassemblyjs/helper-buffer": ["@webassemblyjs/[email protected]", "", {}, "sha512-jyH7wtcHiKssDtFPRB+iQdxlDf96m0E39yb0k5uJVhFGleZFoNw1c4aeIcVUPPbXUVJ94wwnMOAqUHyzoEPVMA=="],
-
- "@webassemblyjs/helper-numbers": ["@webassemblyjs/[email protected]", "", { "dependencies": { "@webassemblyjs/floating-point-hex-parser": "1.13.2", "@webassemblyjs/helper-api-error": "1.13.2", "@xtuc/long": "4.2.2" } }, "sha512-FE8aCmS5Q6eQYcV3gI35O4J789wlQA+7JrqTTpJqn5emA4U2hvwJmvFRC0HODS+3Ye6WioDklgd6scJ3+PLnEA=="],
-
- "@webassemblyjs/helper-wasm-bytecode": ["@webassemblyjs/[email protected]", "", {}, "sha512-3QbLKy93F0EAIXLh0ogEVR6rOubA9AoZ+WRYhNbFyuB70j3dRdwH9g+qXhLAO0kiYGlg3TxDV+I4rQTr/YNXkA=="],
-
- "@webassemblyjs/helper-wasm-section": ["@webassemblyjs/[email protected]", "", { "dependencies": { "@webassemblyjs/ast": "1.14.1", "@webassemblyjs/helper-buffer": "1.14.1", "@webassemblyjs/helper-wasm-bytecode": "1.13.2", "@webassemblyjs/wasm-gen": "1.14.1" } }, "sha512-ds5mXEqTJ6oxRoqjhWDU83OgzAYjwsCV8Lo/N+oRsNDmx/ZDpqalmrtgOMkHwxsG0iI//3BwWAErYRHtgn0dZw=="],
-
- "@webassemblyjs/ieee754": ["@webassemblyjs/[email protected]", "", { "dependencies": { "@xtuc/ieee754": "^1.2.0" } }, "sha512-4LtOzh58S/5lX4ITKxnAK2USuNEvpdVV9AlgGQb8rJDHaLeHciwG4zlGr0j/SNWlr7x3vO1lDEsuePvtcDNCkw=="],
-
- "@webassemblyjs/leb128": ["@webassemblyjs/[email protected]", "", { "dependencies": { "@xtuc/long": "4.2.2" } }, "sha512-Lde1oNoIdzVzdkNEAWZ1dZ5orIbff80YPdHx20mrHwHrVNNTjNr8E3xz9BdpcGqRQbAEa+fkrCb+fRFTl/6sQw=="],
-
- "@webassemblyjs/utf8": ["@webassemblyjs/[email protected]", "", {}, "sha512-3NQWGjKTASY1xV5m7Hr0iPeXD9+RDobLll3T9d2AO+g3my8xy5peVyjSag4I50mR1bBSN/Ct12lo+R9tJk0NZQ=="],
-
- "@webassemblyjs/wasm-edit": ["@webassemblyjs/[email protected]", "", { "dependencies": { "@webassemblyjs/ast": "1.14.1", "@webassemblyjs/helper-buffer": "1.14.1", "@webassemblyjs/helper-wasm-bytecode": "1.13.2", "@webassemblyjs/helper-wasm-section": "1.14.1", "@webassemblyjs/wasm-gen": "1.14.1", "@webassemblyjs/wasm-opt": "1.14.1", "@webassemblyjs/wasm-parser": "1.14.1", "@webassemblyjs/wast-printer": "1.14.1" } }, "sha512-RNJUIQH/J8iA/1NzlE4N7KtyZNHi3w7at7hDjvRNm5rcUXa00z1vRz3glZoULfJ5mpvYhLybmVcwcjGrC1pRrQ=="],
-
- "@webassemblyjs/wasm-gen": ["@webassemblyjs/[email protected]", "", { "dependencies": { "@webassemblyjs/ast": "1.14.1", "@webassemblyjs/helper-wasm-bytecode": "1.13.2", "@webassemblyjs/ieee754": "1.13.2", "@webassemblyjs/leb128": "1.13.2", "@webassemblyjs/utf8": "1.13.2" } }, "sha512-AmomSIjP8ZbfGQhumkNvgC33AY7qtMCXnN6bL2u2Js4gVCg8fp735aEiMSBbDR7UQIj90n4wKAFUSEd0QN2Ukg=="],
-
- "@webassemblyjs/wasm-opt": ["@webassemblyjs/[email protected]", "", { "dependencies": { "@webassemblyjs/ast": "1.14.1", "@webassemblyjs/helper-buffer": "1.14.1", "@webassemblyjs/wasm-gen": "1.14.1", "@webassemblyjs/wasm-parser": "1.14.1" } }, "sha512-PTcKLUNvBqnY2U6E5bdOQcSM+oVP/PmrDY9NzowJjislEjwP/C4an2303MCVS2Mg9d3AJpIGdUFIQQWbPds0Sw=="],
-
- "@webassemblyjs/wasm-parser": ["@webassemblyjs/[email protected]", "", { "dependencies": { "@webassemblyjs/ast": "1.14.1", "@webassemblyjs/helper-api-error": "1.13.2", "@webassemblyjs/helper-wasm-bytecode": "1.13.2", "@webassemblyjs/ieee754": "1.13.2", "@webassemblyjs/leb128": "1.13.2", "@webassemblyjs/utf8": "1.13.2" } }, "sha512-JLBl+KZ0R5qB7mCnud/yyX08jWFw5MsoalJ1pQ4EdFlgj9VdXKGuENGsiCIjegI1W7p91rUlcB/LB5yRJKNTcQ=="],
-
- "@webassemblyjs/wast-printer": ["@webassemblyjs/[email protected]", "", { "dependencies": { "@webassemblyjs/ast": "1.14.1", "@xtuc/long": "4.2.2" } }, "sha512-kPSSXE6De1XOR820C90RIo2ogvZG+c3KiHzqUoO/F34Y2shGzesfqv7o57xrxovZJH/MetF5UjroJ/R/3isoiw=="],
-
- "@xtuc/ieee754": ["@xtuc/[email protected]", "", {}, "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA=="],
-
- "@xtuc/long": ["@xtuc/[email protected]", "", {}, "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ=="],
-
- "abort-controller": ["[email protected]", "", { "dependencies": { "event-target-shim": "^5.0.0" } }, "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg=="],
-
- "accepts": ["[email protected]", "", { "dependencies": { "mime-types": "^3.0.0", "negotiator": "^1.0.0" } }, "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng=="],
-
- "acorn": ["[email protected]", "", { "bin": { "acorn": "bin/acorn" } }, "sha512-xRQbDb9BnwDafYNn6Vwl839DYVjqXYb1XVGtWAZ1kcDc6iwAL4hg3B1dZlRiuENFeO2H53gFG3in621AdERVAg=="],
-
- "acorn-import-phases": ["[email protected]", "", { "peerDependencies": { "acorn": "^8.14.0" } }, "sha512-wKmbr/DDiIXzEOiWrTTUcDm24kQ2vGfZQvM2fwg2vXqR5uW6aapr7ObPtj1th32b9u90/Pf4AItvdTh42fBmVQ=="],
-
- "agentkeepalive": ["[email protected]", "", { "dependencies": { "humanize-ms": "^1.2.1" } }, "sha512-kja8j7PjmncONqaTsB8fQ+wE2mSU2DJ9D4XKoJ5PFWIdRMa6SLSN1ff4mOr4jCbfRSsxR4keIiySJU0N9T5hIQ=="],
-
- "ajv": ["[email protected]", "", { "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", "json-schema-traverse": "^1.0.0", "require-from-string": "^2.0.2" } }, "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA=="],
-
- "ajv-formats": ["[email protected]", "", { "dependencies": { "ajv": "^8.0.0" } }, "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA=="],
-
- "ajv-keywords": ["[email protected]", "", { "dependencies": { "fast-deep-equal": "^3.1.3" }, "peerDependencies": { "ajv": "^8.8.2" } }, "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw=="],
-
- "ansi-colors": ["[email protected]", "", {}, "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw=="],
-
- "ansi-regex": ["[email protected]", "", {}, "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ=="],
-
- "ansi-styles": ["[email protected]", "", {}, "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg=="],
-
- "aria-hidden": ["[email protected]", "", { "dependencies": { "tslib": "^2.0.0" } }, "sha512-ik3ZgC9dY/lYVVM++OISsaYDeg1tb0VtP5uL3ouh1koGOaUMDPpbFIei4JkFimWUFPn90sbMNMXQAIVOlnYKJA=="],
-
- "array-timsort": ["[email protected]", "", {}, "sha512-/+3GRL7dDAGEfM6TseQk/U+mi18TU2Ms9I3UlLdUMhz2hbvGNTKdj9xniwXfUqgYhHxRx0+8UnKkvlNwVU+cWQ=="],
-
- "asynckit": ["[email protected]", "", {}, "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="],
-
- "aws4fetch": ["[email protected]", "", {}, "sha512-/djoAN709iY65ETD6LKCtyyEI04XIBP5xVvfmNxsEP0uJB5tyaGBztSryRr4HqMStr9R06PisQE7m9zDTXKu6g=="],
-
- "balanced-match": ["[email protected]", "", {}, "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA=="],
-
- "baseline-browser-mapping": ["[email protected]", "", { "bin": { "baseline-browser-mapping": "dist/cli.cjs" } }, "sha512-T3ghW+sl/ZJ8w1v/yQx3qvJ9040DWoLBz8JT/CILbAKcFyG9b2MRe75v6W5uXjv6uH1lumK2Kv46y2zSkcej0Q=="],
-
- "big.js": ["[email protected]", "", {}, "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ=="],
-
- "blake3-wasm": ["[email protected]", "", {}, "sha512-F1+K8EbfOZE49dtoPtmxUQrpXaBIl3ICvasLh+nJta0xkz+9kF/7uet9fLnwKqhDrmj6g+6K3Tw9yQPUg2ka5g=="],
-
- "body-parser": ["[email protected]", "", { "dependencies": { "bytes": "^3.1.2", "content-type": "^2.0.0", "debug": "^4.4.3", "http-errors": "^2.0.1", "iconv-lite": "^0.7.2", "on-finished": "^2.4.1", "qs": "^6.15.2", "raw-body": "^3.0.2", "type-is": "^2.1.0" } }, "sha512-2cGmJupaNgg+QUwVLAucDuWuoMZ6EX9iHDRswZ5lsNYEmwPaRknMPCLZz07yTzVq/83p4o/wzbDZbBrTvGGTIw=="],
-
- "bowser": ["[email protected]", "", {}, "sha512-tzPjzCxygAKWFOJP011oxFHs57HzIhOEracIgAePE4pqB3LikALKnSzUyU4MGs9/iCEUuHlAJTjTc5M+u7YEGg=="],
-
- "brace-expansion": ["[email protected]", "", { "dependencies": { "balanced-match": "^4.0.2" } }, "sha512-ScQ4IuvIEF1TMlP7Zt+vjJ//9zlPb2SDcxWxM3bk8s6t6GGdJ7KO1dCcTidOPJKePW30LE/2cT7wCyPho9/Wxg=="],
-
- "browserslist": ["[email protected]", "", { "dependencies": { "baseline-browser-mapping": "^2.10.42", "caniuse-lite": "^1.0.30001803", "electron-to-chromium": "^1.5.389", "node-releases": "^2.0.51", "update-browserslist-db": "^1.2.3" }, "bin": { "browserslist": "cli.js" } }, "sha512-FQBYNK15VMslhLHpA7+n+n1GOlF1kId2xcCg7/j95f24AOF6VDYMNH4mFxF7KuaTdv627faazpOAjFzMrfJOUw=="],
-
- "buffer-from": ["[email protected]", "", {}, "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ=="],
-
- "bytes": ["[email protected]", "", {}, "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg=="],
-
- "cac": ["[email protected]", "", {}, "sha512-tixWYgm5ZoOD+3g6UTea91eow5z6AAHaho3g0V9CNSNb45gM8SmflpAc+GRd1InC4AqN/07Unrgp56Y94N9hJQ=="],
-
- "call-bind-apply-helpers": ["[email protected]", "", { "dependencies": { "es-errors": "^1.3.0", "function-bind": "^1.1.2" } }, "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ=="],
-
- "call-bound": ["[email protected]", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.2", "get-intrinsic": "^1.3.0" } }, "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg=="],
-
- "caniuse-lite": ["[email protected]", "", {}, "sha512-72Cuvd95zbSYPKq6Fhg8eDJRlzgWDf7/mtoZv6Qe/DYNCEBdNxoA3+rZAU2ZhGCpZlns3EssFavaZomckT5Uuw=="],
-
- "chalk": ["[email protected]", "", {}, "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA=="],
-
- "chrome-trace-event": ["[email protected]", "", {}, "sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ=="],
+ "@cloudflare/kv-asset-handler": ["@cloudflare/[email protected]", "", {}, "sha512-jxQYkj8dSIzc0cD6cMMNdOc1UVjqSqu8BZdor5s8cGjW2I8BjODt/kWPVdY+u9zj3ms75Q5qaZgnxUad83+eAg=="],
- "ci-info": ["[email protected]", "", {}, "sha512-77PSwercCZU2Fc4sX94eF8k8Pxte6JAwL4/ICZLFjJLqegs7kCuAsqqj/70NQF6TvDpgFjkubQB2FW2ZZddvQg=="],
+ "@cloudflare/unenv-preset": ["@cloudflare/[email protected]", "", { "peerDependencies": { "unenv": "2.0.0-rc.24", "workerd": ">1.20260305.0 <2.0.0-0" }, "optionalPeers": ["workerd"] }, "sha512-JBP1+Z7ZSNG/d4mRP+y8VC5dka3tZVMLEZRvS+rzQ4DGV1EoxRFQckcJTTkXbHSQiTj0DtNI01Zwb/V2fX0mvQ=="],
- "client-only": ["[email protected]", "", {}, "sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA=="],
+ "@cloudflare/workerd-darwin-64": ["@cloudflare/[email protected]", "", { "os": "darwin", "cpu": "x64" }, "sha512-lsEx0i7nR0PNG/erUFFHmQmiidEhLfDE5uQmAL9421/y4/ycuxDDOSaxu3VGGYFFPK5sduyUeMmjIlX4CwOBFg=="],
- "cliui": ["[email protected]", "", { "dependencies": { "string-width": "^7.2.0", "strip-ansi": "^7.1.0", "wrap-ansi": "^9.0.0" } }, "sha512-k7ndgKhwoQveBL+/1tqGJYNz097I7WOvwbmmU2AR5+magtbjPWQTS1C5vzGkBC8Ym8UWRzfKUzUUqFLypY4Q+w=="],
+ "@cloudflare/workerd-darwin-arm64": ["@cloudflare/[email protected]", "", { "os": "darwin", "cpu": "arm64" }, "sha512-5e79fHgabdDD8EgmjOhJ1S+xMsf6DbC7fL7IgTBizMnzOp0P2isDn7pYmUxI9AJZE9FVQ4RUilH/I36YNg+GQQ=="],
- "cloudflare": ["[email protected]", "", { "dependencies": { "@types/node": "^18.11.18", "@types/node-fetch": "^2.6.4", "abort-controller": "^3.0.0", "agentkeepalive": "^4.2.1", "form-data-encoder": "1.7.2", "formdata-node": "^4.3.2", "node-fetch": "^2.6.7" } }, "sha512-fPcbPKx4zF45jBvQ0z7PCdgejVAPBBCZxwqk1k7krQNfpM07Cfj97/Q6wBzvYqlWXx/zt1S9+m8vnfCe06umbQ=="],
+ "@cloudflare/workerd-linux-64": ["@cloudflare/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-VHQ6jKFSihjR2+x1buby8XTdBLLJztVnYiB7OLOTYO8aDXB+c1Rd2410PdgFuFYc4AgFEk6PCJLyCLL5L1KBnw=="],
- "clsx": ["[email protected]", "", {}, "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA=="],
+ "@cloudflare/workerd-linux-arm64": ["@cloudflare/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-ilpRHzfDN8YFRM5CLRKuFw40x/LJBS89yVdhdQmxehlVDuBqjKpJB++zPFbTgKRRFaNupgnXc8RHktXAIhgCmQ=="],
- "combined-stream": ["[email protected]", "", { "dependencies": { "delayed-stream": "~1.0.0" } }, "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg=="],
+ "@cloudflare/workerd-windows-64": ["@cloudflare/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-279WLVjNsMycAwr0EZNiNEf0l2SY6NUtsN80NwZzbTHzakmiN+WSx4w38muxPm+PAU0oSPPAPXKVD+H6Hya8xw=="],
- "commander": ["[email protected]", "", {}, "sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ=="],
+ "@cloudflare/workers-types": ["@cloudflare/[email protected]", "", {}, "sha512-HwLwogkO/PnT4oXC8Y6wMQpgYbT3TEbWHytHV56F2tz9eLJBcgf4/VMjk5FYriAYHX6JOutS+tU6miuopKfCKw=="],
- "comment-json": ["[email protected]", "", { "dependencies": { "array-timsort": "^1.0.3", "esprima": "^4.0.1" } }, "sha512-R2rze/hDX30uul4NZoIZ76ImSJLFxn/1/ZxtKC1L77y2X1k+yYu1joKbAtMA2Fg3hZrTOiw0I5mwVMo0cf250w=="],
+ "@cspotcode/source-map-support": ["@cspotcode/[email protected]", "", { "dependencies": { "@jridgewell/trace-mapping": "0.3.9" } }, "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw=="],
- "confbox": ["[email protected]", "", {}, "sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w=="],
+ "@emnapi/runtime": ["@emnapi/[email protected]", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-Xz4Tpyki7XyrpbUK1jR1AhdAdaXyhhY4lZ3neLodmhpuWfy2PAQN5B46sAiU4liOXGLkHypn/qU+jvfWSCYYLA=="],
- "content-disposition": ["[email protected]", "", {}, "sha512-5jRCH9Z/+DRP7rkvY83B+yGIGX96OYdJmzngqnw2SBSxqCFPd0w2km3s5iawpGX8krnwSGmF0FW5Nhr0Hfai3g=="],
+ "@esbuild/aix-ppc64": ["@esbuild/[email protected]", "", { "os": "aix", "cpu": "ppc64" }, "sha512-XExcO+dvLKvVtNTibSTBej1NCAbaGhWn9Ww1ZPx80qsahhPFe/8jgWP0IchNe0F3HwkU7n8ejhH8bjonqht8mQ=="],
- "content-type": ["[email protected]", "", {}, "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA=="],
+ "@esbuild/android-arm": ["@esbuild/[email protected]", "", { "os": "android", "cpu": "arm" }, "sha512-kXXoiPVVGQcnIYGOeaovwOURpniDBpSq4A03qkQ+BMQqtGG6HYap3xne9C1O1yo4TR3qxlCX5IqqmX6fFo2Lqg=="],
- "convert-source-map": ["[email protected]", "", {}, "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg=="],
+ "@esbuild/android-arm64": ["@esbuild/[email protected]", "", { "os": "android", "cpu": "arm64" }, "sha512-5YfKeeI8qWfBZIX+u2xZC3Zlb3Os/gLS2sbEKM+I4ZOcsWmHS2WLysCcQZDAFRslDUU5Oiq44gf6PYN1vGwG5A=="],
- "cookie": ["[email protected]", "", {}, "sha512-ei8Aos7ja0weRpFzJnEA9UHJ/7XQmqglbRwnf2ATjcB9Wq874VKH9kfjjirM6UhU2/E5fFYadylyhFldcqSidQ=="],
+ "@esbuild/android-x64": ["@esbuild/[email protected]", "", { "os": "android", "cpu": "x64" }, "sha512-O387ite7SzUyCcy3JQX4P4bLtEA7bLLkx+esve5JHnyYfNTxcVpXZo9jhdB0lTKN44gztELTdU7nS8Nr16Fs1Q=="],
- "cookie-signature": ["[email protected]", "", {}, "sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg=="],
+ "@esbuild/darwin-arm64": ["@esbuild/[email protected]", "", { "os": "darwin", "cpu": "arm64" }, "sha512-n4KqkOQrraxHJcgjM1RvwbigfQKIKJVpM7xp+KsxiyUSrRdIXnt73VhrPAx0fV44hgfmIVKjxMN9J1t5jySVkw=="],
- "cross-spawn": ["[email protected]", "", { "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", "which": "^2.0.1" } }, "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA=="],
+ "@esbuild/darwin-x64": ["@esbuild/[email protected]", "", { "os": "darwin", "cpu": "x64" }, "sha512-uq6suIWYP37qzGddBKPw5QEQPi6HiLGsO7UmkpfyaYNQ3D+rN6w6WfwH+nuqcGXWvawGwxOEroO4YGnFh95azw=="],
- "css-what": ["[email protected]", "", {}, "sha512-u/O3vwbptzhMs3L1fQE82ZSLHQQfto5gyZzwteVIEyeaY5Fc7R4dapF/BvRoSYFeqfBk4m0V1Vafq5Pjv25wvA=="],
+ "@esbuild/freebsd-arm64": ["@esbuild/[email protected]", "", { "os": "freebsd", "cpu": "arm64" }, "sha512-n+I0BTSRIoy+d6RPKnEVwql5UwBJolytvY4mAOIEJorKlqgPII8ix6slVVrfZ5Tnj7glIZvloylbB/EJPMWEXw=="],
- "csstype": ["[email protected]", "", {}, "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ=="],
+ "@esbuild/freebsd-x64": ["@esbuild/[email protected]", "", { "os": "freebsd", "cpu": "x64" }, "sha512-78XJTJkvPs0kz2w61301PJjXl4g7q3JqiYMZ/M/yVI73EHBrCRTgkhu9oqG7vPqq+a/yadEW8aD+agKlk5xrmg=="],
- "d3-array": ["[email protected]", "", { "dependencies": { "internmap": "1 - 2" } }, "sha512-tdQAmyA18i4J7wprpYq8ClcxZy3SC31QMeByyCFyRt7BVHdREQZ5lpzoe5mFEYZUWe+oq8HBvk9JjpibyEV4Jg=="],
+ "@esbuild/linux-arm": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "arm" }, "sha512-XlDnu2q5yoqems+xay6wSAcg9DDD7K9RLKZEBOMZm3ckNpJBvOX20tSfby8KfrrhINDyv9V2YVZKY/SpoGJI8w=="],
- "d3-color": ["[email protected]", "", {}, "sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA=="],
+ "@esbuild/linux-arm64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-pW4AC0P3it8c7do9MVM4p51FzHzdM/TZrerurgRcHJ2WTa1VQ1CIq18xncfpBJw4ojkiZZrKW2yIBWBP92j6Ug=="],
- "d3-ease": ["[email protected]", "", {}, "sha512-wR/XK3D3XcLIZwpbvQwQ5fK+8Ykds1ip7A2Txe0yxncXSdq1L9skcG7blcedkOX+ZcgxGAmLX1FrRGbADwzi0w=="],
+ "@esbuild/linux-ia32": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "ia32" }, "sha512-CYbnj78HsIeA+DhgUKgFCfvNsTHFhMMrinUrMZpDXJXKN8T3XViTZ/+wtHeVxEWY8ewSzTFN+nRmSwO2tZaLUQ=="],
- "d3-format": ["[email protected]", "", {}, "sha512-AJDdYOdnyRDV5b6ArilzCPPwc1ejkHcoyFarqlPqT7zRYjhavcT3uSrqcMvsgh2CgoPbK3RCwyHaVyxYcP2Arg=="],
+ "@esbuild/linux-loong64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-buwkd8nsph4R+ajRvw0qM5Hja/TXQow3ptzWO2EbG/cqcIkHloRrdlBtQlshyYGTNFvfkfJ5tpPLVkY4DtsPfQ=="],
- "d3-interpolate": ["[email protected]", "", { "dependencies": { "d3-color": "1 - 3" } }, "sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g=="],
+ "@esbuild/linux-mips64el": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-ZVykbDyk7519VwiNb9Lcj9m8XM6v5V9uKPvrEMkkEedVewf+0itkhahp4HDpgERXhwLRpWFypsGbG/J8s0QjJA=="],
- "d3-path": ["[email protected]", "", {}, "sha512-p3KP5HCf/bvjBSSKuXid6Zqijx7wIfNW+J/maPs+iwR35at5JCbLUT0LzF1cnjbCHWhqzQTIN2Jpe8pRebIEFQ=="],
+ "@esbuild/linux-ppc64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "ppc64" }, "sha512-CAXl+Dtd9UUuJd8pKKdwh6MLm3MUMiqMPmhZ3tTSXPqfyQ3vDl6R5hZdZ/kYojK4ofXtdfSv1tFq8XzWx3heNQ=="],
- "d3-scale": ["[email protected]", "", { "dependencies": { "d3-array": "2.10.0 - 3", "d3-format": "1 - 3", "d3-interpolate": "1.2.0 - 3", "d3-time": "2.1.1 - 3", "d3-time-format": "2 - 4" } }, "sha512-GZW464g1SH7ag3Y7hXjf8RoUuAFIqklOAq3MRl4OaWabTFJY9PN/E1YklhXLh+OQ3fM9yS2nOkCoS+WLZ6kvxQ=="],
+ "@esbuild/linux-riscv64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-GeXCej4IQtU1B+QlDV8W/RRvbzI3O/Stss+/bCXv4lZls5WGRtu2a+3JkA3i4qIUlMXpcHebWpF8AkJhATowuA=="],
- "d3-shape": ["[email protected]", "", { "dependencies": { "d3-path": "^3.1.0" } }, "sha512-SaLBuwGm3MOViRq2ABk3eLoxwZELpH6zhl3FbAoJ7Vm1gofKx6El1Ib5z23NUEhF9AsGl7y+dzLe5Cw2AArGTA=="],
+ "@esbuild/linux-s390x": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "s390x" }, "sha512-3H1weTYZPxt/WOhByszQZybS9w5lKzUn1FDMsgEChbHWQwHYQQRfBxgCcZvPhjHfKyJjIievvMmEUawJrdY9Dg=="],
- "d3-time": ["[email protected]", "", { "dependencies": { "d3-array": "2 - 3" } }, "sha512-VqKjzBLejbSMT4IgbmVgDjpkYrNWUYJnbCGo874u7MMKIWsILRX+OpX/gTk8MqjpT1A/c6HY2dCA77ZN0lkQ2Q=="],
+ "@esbuild/linux-x64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-4xTZr1FUmSoQW4XIWmit3tzQrUTZM+N3P0XV8xROKYF50XfI7xeO90+1bZvNwxIufQ9hDQVRJH5YhgPVF8A/HQ=="],
- "d3-time-format": ["[email protected]", "", { "dependencies": { "d3-time": "1 - 3" } }, "sha512-dJxPBlzC7NugB2PDLwo9Q8JiTR3M3e4/XANkreKSUxF8vvXKqm1Yfq4Q5dl8budlunRVlUUaDUgFt7eA8D6NLg=="],
+ "@esbuild/netbsd-arm64": ["@esbuild/[email protected]", "", { "os": "none", "cpu": "arm64" }, "sha512-sSATRjPeDBg3pdgHoQfoYBob11Kk1FGa9lui5RIHZCoCkJa9QKlvl3/vKz2usCmYYjs7ymJR/2Nnsqe+Hjt5nw=="],
- "d3-timer": ["[email protected]", "", {}, "sha512-ndfJ/JxxMd3nw31uyKoY2naivF+r29V+Lc0svZxe1JvvIRmi8hUsrMvdOwgS1o6uBHmiz91geQ0ylPP0aj1VUA=="],
+ "@esbuild/netbsd-x64": ["@esbuild/[email protected]", "", { "os": "none", "cpu": "x64" }, "sha512-lqnzCV+mM0gIADaKihiCg6ifgfU2L3h5E33rNQBN1Y4MaVGnzryzmvvf7UHxprpQdE8hpqLolJ9Rl+SkIRDpyw=="],
- "debug": ["[email protected]", "", { "dependencies": { "ms": "^2.1.3" }, "peerDependencies": { "supports-color": "*" }, "optionalPeers": ["supports-color"] }, "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA=="],
+ "@esbuild/openbsd-arm64": ["@esbuild/[email protected]", "", { "os": "openbsd", "cpu": "arm64" }, "sha512-AL2qJILH7lNjrDmCQDvdxMfAUIv8KMNZOvrwAQ8i8//ntL9FflhOyMJ8OZSMBb8/AWXe3/5v5S20y3zCoZWKoQ=="],
- "decimal.js-light": ["[email protected]", "", {}, "sha512-qIMFpTMZmny+MMIitAB6D7iVPEorVw6YQRWkvarTkT4tBeSLLiHzcwj6q0MmYSFCiVpiqPJTJEYIrpcPzVEIvg=="],
+ "@esbuild/openbsd-x64": ["@esbuild/[email protected]", "", { "os": "openbsd", "cpu": "x64" }, "sha512-QtiuPytchRyC4rwUKhexJdQKvDuZ6hWloi3igqPQNUJCS1/v9EiO3UTOXR6A3FoMo4fnAKbWJdqaIwhOzh8qEw=="],
- "dedent": ["[email protected]", "", { "peerDependencies": { "babel-plugin-macros": "^3.1.0" }, "optionalPeers": ["babel-plugin-macros"] }, "sha512-WzMx3mW98SN+zn3hgemf4OzdmyNhhhKz5Ay0pUfQiMQ3e1g+xmTJWp/pKdwKVXhdSkAEGIIzqeuWrL3mV/AXbA=="],
+ "@esbuild/openharmony-arm64": ["@esbuild/[email protected]", "", { "os": "none", "cpu": "arm64" }, "sha512-WkhYDmpTjLvGlScA1rwjRUmhl4k8oXR3cIbtqWmELgU/dFeHHlEllxDvdWcNJV9rbzCexB5vz8gtNewWLgCT7Q=="],
- "deep-object-diff": ["[email protected]", "", {}, "sha512-Rn+RuwkmkDwCi2/oXOFS9Gsr5lJZu/yTGpK7wAaAIE75CC+LCGEZHpY6VQJa/RoJcrmaA/docWJZvYohlNkWPA=="],
+ "@esbuild/sunos-x64": ["@esbuild/[email protected]", "", { "os": "sunos", "cpu": "x64" }, "sha512-GPMSkTOtMnv2U2F8gxe4Io6qmVs+YKyp832Etqqxr0hFngmXQ3rzwytelm3GIn7T4VviRUlf3sOgBOiTdvaf7g=="],
- "deepmerge": ["[email protected]", "", {}, "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A=="],
+ "@esbuild/win32-arm64": ["@esbuild/[email protected]", "", { "os": "win32", "cpu": "arm64" }, "sha512-PIhhEkE9uPBleRBrQEJpUn7MBnibZzbGzYWPmY3x+YoVg/95zbjB4CxPPOQ8l5tYYM4mMaCthF8/1DIfBQQyWQ=="],
- "delayed-stream": ["[email protected]", "", {}, "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ=="],
+ "@esbuild/win32-ia32": ["@esbuild/[email protected]", "", { "os": "win32", "cpu": "ia32" }, "sha512-YmJbfTlvU7Sdn9BB+4PRES4oB6pxgS37MAONj+hBr/cpXS1aBPKXxNnDbu+QCWPj0o9dgyxeq79g6c5P8KeuYA=="],
- "depd": ["[email protected]", "", {}, "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw=="],
+ "@esbuild/win32-x64": ["@esbuild/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-5ebpxr3nWMzrL/rnUI755Jkuee0bHL/Gq0WTF9lvcpv73wAp5eu8MfBUgWK9bhWvZjj7yX8etf/8tI8Ney695g=="],
- "detect-libc": ["[email protected]", "", {}, "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ=="],
+ "@img/colour": ["@img/[email protected]", "", {}, "sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ=="],
- "detect-node-es": ["[email protected]", "", {}, "sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ=="],
+ "@img/sharp-darwin-arm64": ["@img/[email protected]", "", { "optionalDependencies": { "@img/sharp-libvips-darwin-arm64": "1.3.4" }, "os": "darwin", "cpu": "arm64" }, "sha512-QRUlFQ0WxvdWyqqG/WtI3iupfD5rBzmCHXSdPsY91sAtVtTo7Q4cb6zOccZ3gqEqkr0f1As1ehLqmEpDsRf+lg=="],
- "dotenv": ["[email protected]", "", {}, "sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow=="],
+ "@img/sharp-darwin-x64": ["@img/[email protected]", "", { "optionalDependencies": { "@img/sharp-libvips-darwin-x64": "1.3.4" }, "os": "darwin", "cpu": "x64" }, "sha512-+BR255RhDlpygUpOc/Jdt1nT6DQ3XG/ERo5wbcdOf5Q320dKtPCKPLR1LJs9VGXRaMa8l1uUa0tkCNOXiAxZUw=="],
- "doughmination-api": ["[email protected]", "", { "peerDependencies": { "@tanstack/react-query": "^5.0.0", "react": "^18.0.0 || ^19.0.0" } }, "sha512-WZCSzY3pmn0gZVHRUidTBCz1jXuyHlEArfUM9fl5xJMHjK5FntpJMo3fUYzA6OpvBNgwwhQNFctYYfDm50hXag=="],
+ "@img/sharp-freebsd-wasm32": ["@img/[email protected]", "", { "dependencies": { "@img/sharp-wasm32": "0.35.5" }, "os": "freebsd" }, "sha512-Y/z91nEZ4uIBX5X3nfTovjU9lHNKFYbL2lpHCLVNmXQK03VIZvXBBt0KxbPGp2SdGSF+2mQU4e+hQaWOt86iAw=="],
- "dunder-proto": ["[email protected]", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.1", "es-errors": "^1.3.0", "gopd": "^1.2.0" } }, "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A=="],
+ "@img/sharp-libvips-darwin-arm64": ["@img/[email protected]", "", { "os": "darwin", "cpu": "arm64" }, "sha512-5R89nBYiRdUlSWJxPhO+GVtaXzXSxKnRu/xqMn3KTA3L9EB9Oy/P+Nn2f2vlhPuUdy/Zusb2DarbyTpGCfEDuw=="],
- "duplexer": ["[email protected]", "", {}, "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg=="],
+ "@img/sharp-libvips-darwin-x64": ["@img/[email protected]", "", { "os": "darwin", "cpu": "x64" }, "sha512-iR2OKH80yi0U+dUplyh3/xdpFvps6YkCwsXenIJxqxR1v9o+xtKTGbS9H7cps+2Vxjc8B1j96p75NmTGjIhtpQ=="],
- "eciesjs": ["[email protected]", "", { "dependencies": { "@ecies/ciphers": "^0.2.5", "@noble/ciphers": "^1.3.0", "@noble/curves": "^1.9.7", "@noble/hashes": "^1.8.0" } }, "sha512-wG99Zcfcys9fZux7Cft8BAX/YrOJLJSZ3jyYPfhZHqN2E+Ffx+QXBDsv3gubEgPtV6dTzJMSQUwk1H98/t/0wQ=="],
+ "@img/sharp-libvips-linux-arm": ["@img/[email protected]", "", { "os": "linux", "cpu": "arm", "libc": "glibc" }, "sha512-LmRtTsOHuvM2+wlO2Db37dx5MiZhB0FvSunciw48YjdOkZz9KAiRbm8ujeMOA1INqmei5NapFxYEK1D1ZSidmw=="],
- "ee-first": ["[email protected]", "", {}, "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow=="],
+ "@img/sharp-libvips-linux-arm64": ["@img/[email protected]", "", { "os": "linux", "cpu": "arm64", "libc": "glibc" }, "sha512-Y3dgX/6lE2QhQb+Gxy0WZxfg9MEm/JBjamZpS2IklP7xIQoKN4hzAm7KcMVGtaVDt3neE9OKBC7vAfonA/Lr1A=="],
- "electron-to-chromium": ["[email protected]", "", {}, "sha512-kiDJdIUawuEIcp9XoICKp1iTYDEbgguIPq526N1Q7jIQDeQ3CqoMx71025PI/7E48Ddtw2HuWsVjY7afEgNxmg=="],
+ "@img/sharp-libvips-linux-ppc64": ["@img/[email protected]", "", { "os": "linux", "cpu": "ppc64", "libc": "glibc" }, "sha512-Le6boB8Tai0Nis+gIxIpKx68UDVVIqdR8Tin5Yf1z2LJJQLDJvCDRqRu+jC2qCoD+eIomonmOwB4smBRxfVpYQ=="],
- "emoji-regex": ["[email protected]", "", {}, "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A=="],
+ "@img/sharp-libvips-linux-riscv64": ["@img/[email protected]", "", { "os": "linux", "cpu": "none", "libc": "glibc" }, "sha512-aHkkIEHPRdQEegJN20MLmGtxYD9R2wQr3Cwpddnu5+YKMt6Uzax7S9h5gpZTo8wyrGuZSlfQ63OevL5mTyOC7Q=="],
- "emojis-list": ["[email protected]", "", {}, "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q=="],
+ "@img/sharp-libvips-linux-s390x": ["@img/[email protected]", "", { "os": "linux", "cpu": "s390x", "libc": "glibc" }, "sha512-ra/mB6MikESDUO7Yg+Mi95bFBb9GsObURuhnOv3OqknjGe9sZrG8tCe9q0xSIGrtLgvgw0gKnFWcK4blSgQOuQ=="],
- "encodeurl": ["[email protected]", "", {}, "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg=="],
+ "@img/sharp-libvips-linux-x64": ["@img/[email protected]", "", { "os": "linux", "cpu": "x64", "libc": "glibc" }, "sha512-GJ//SSXbnwSDes02umB3nDJLFcQzw8a18V8fyhqr6tV515tOEMdImjjxj1AoafMRz56F3PHgftnj1QEKSU1zkw=="],
- "enhanced-resolve": ["[email protected]", "", { "dependencies": { "graceful-fs": "^4.2.4", "tapable": "^2.3.3" } }, "sha512-PwKooW9JUzh5chmYfHM3IQl5OkK2u2Nm011MgeZrss3JmFraUx/fqrf78kk8GUMYoibx/14MdwTl/1WKkG7TpQ=="],
+ "@img/sharp-libvips-linuxmusl-arm64": ["@img/[email protected]", "", { "os": "linux", "cpu": "arm64", "libc": "musl" }, "sha512-hvulFwtjUcagsis6BBxHwGFwWoNZjgYmULGVrZcyfNbjA8hKILbRxGg15/7w5HDyXHXUos/j6baAWqnCyQ2DWA=="],
- "enquirer": ["[email protected]", "", { "dependencies": { "ansi-colors": "^4.1.1", "strip-ansi": "^6.0.1" } }, "sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ=="],
+ "@img/sharp-libvips-linuxmusl-x64": ["@img/[email protected]", "", { "os": "linux", "cpu": "x64", "libc": "musl" }, "sha512-6zXKeE/p39I1AmA3cJG35eyBGNqNddLnUXjhwBnsGjFPWqf5VKkDBEqaEkPDoTEtkxwi2vv8Tcr2mDyP4So7Fg=="],
- "error-stack-parser-es": ["[email protected]", "", {}, "sha512-5qucVt2XcuGMcEGgWI7i+yZpmpByQ8J1lHhcL7PwqCwu9FPP3VUXzT4ltHe5i2z9dePwEHcDVOAfSnHsOlCXRA=="],
+ "@img/sharp-linux-arm": ["@img/[email protected]", "", { "optionalDependencies": { "@img/sharp-libvips-linux-arm": "1.3.4" }, "os": "linux", "cpu": "arm", "libc": "glibc" }, "sha512-LEaXK2WdXVK5ykcw0buWyPMsmLLL2vpHLD6yrNSW+JGEL3BZPA4tpKN6iaMc4AxTTAoaX/sU1rOL51lcIz48ZQ=="],
- "es-define-property": ["[email protected]", "", {}, "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g=="],
+ "@img/sharp-linux-arm64": ["@img/[email protected]", "", { "optionalDependencies": { "@img/sharp-libvips-linux-arm64": "1.3.4" }, "os": "linux", "cpu": "arm64", "libc": "glibc" }, "sha512-LYVx5JTsOM2CBzmxreh+nl64/3H6Xb09iSLknqH47z2T2DFFxDeFLP5y4dJwe6H7uGQlHPyEEtIqyo3DYsRwdQ=="],
- "es-errors": ["[email protected]", "", {}, "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw=="],
+ "@img/sharp-linux-ppc64": ["@img/[email protected]", "", { "optionalDependencies": { "@img/sharp-libvips-linux-ppc64": "1.3.4" }, "os": "linux", "cpu": "ppc64", "libc": "glibc" }, "sha512-QVxAAq8evVRI9ia2vqgwrmWucn5Dfv+JdWzj75pD8omHLPSP7f8p20O8jxzjCcuCEQEOtYOZUmX1hkiZ0kdevA=="],
- "es-module-lexer": ["[email protected]", "", {}, "sha512-shc1dbU90Yl/xq1QrC7QRtfcwURZuVRfPhZbDoldJ1cn1gzDvBaBWlv0eFolj5+0znnPJz5TXLxsN77X/12KTA=="],
+ "@img/sharp-linux-riscv64": ["@img/[email protected]", "", { "optionalDependencies": { "@img/sharp-libvips-linux-riscv64": "1.3.4" }, "os": "linux", "cpu": "none", "libc": "glibc" }, "sha512-LtdreXguaavKODPIfzJ4kffx7UNt1omwtK0rch4EBbbSTXPnxWmYSayXdLJw0fJzQ97kHt1gL/yh4tvU+nCyRQ=="],
- "es-object-atoms": ["[email protected]", "", { "dependencies": { "es-errors": "^1.3.0" } }, "sha512-HWcBoN6NileqtSydK2FqHbS/LoDd2pqrnQHLyJzBj4kOp/ky2MWMN694xOfkK8/SnUsW2DH7EfyVlydKCsm1Zw=="],
+ "@img/sharp-linux-s390x": ["@img/[email protected]", "", { "optionalDependencies": { "@img/sharp-libvips-linux-s390x": "1.3.4" }, "os": "linux", "cpu": "s390x", "libc": "glibc" }, "sha512-UZasTOFiYzotTsGOCu42BfUzP6Tu6Do/947iRm1RsLKvlllxwGcn4RN27LibGWceix4Y+Pmw3jsnTcCQIgWjqA=="],
- "es-set-tostringtag": ["[email protected]", "", { "dependencies": { "es-errors": "^1.3.0", "get-intrinsic": "^1.2.6", "has-tostringtag": "^1.0.2", "hasown": "^2.0.2" } }, "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA=="],
+ "@img/sharp-linux-x64": ["@img/[email protected]", "", { "optionalDependencies": { "@img/sharp-libvips-linux-x64": "1.3.4" }, "os": "linux", "cpu": "x64", "libc": "glibc" }, "sha512-SxFtLTeJInhAA9Q836kux2vZNeOBQEx658qvbboZScr0wIARym3IcGmW7KpVD5sbVg0Ojy+udFQdayYIZyoNog=="],
- "es-toolkit": ["[email protected]", "", {}, "sha512-G5iZ6Pc/FNRY/soKZHC+TxGDD83rHUDXxzaWhGCX44vAv/tMs56WMusnm/KMNK+luUPsgA9U28cGr4RDlSzL2g=="],
+ "@img/sharp-linuxmusl-arm64": ["@img/[email protected]", "", { "optionalDependencies": { "@img/sharp-libvips-linuxmusl-arm64": "1.3.4" }, "os": "linux", "cpu": "arm64", "libc": "musl" }, "sha512-9HbMclmI1zlNkFRs3z9/eBtDjfD0sGlrX1z6b1qwmiFY5ElDLh4BC0LPBdVp7z1DXFiKlIcznf+ZlsuZzLxQqg=="],
- "esbuild": ["[email protected]", "", { "optionalDependencies": { "@esbuild/aix-ppc64": "0.28.1", "@esbuild/android-arm": "0.28.1", "@esbuild/android-arm64": "0.28.1", "@esbuild/android-x64": "0.28.1", "@esbuild/darwin-arm64": "0.28.1", "@esbuild/darwin-x64": "0.28.1", "@esbuild/freebsd-arm64": "0.28.1", "@esbuild/freebsd-x64": "0.28.1", "@esbuild/linux-arm": "0.28.1", "@esbuild/linux-arm64": "0.28.1", "@esbuild/linux-ia32": "0.28.1", "@esbuild/linux-loong64": "0.28.1", "@esbuild/linux-mips64el": "0.28.1", "@esbuild/linux-ppc64": "0.28.1", "@esbuild/linux-riscv64": "0.28.1", "@esbuild/linux-s390x": "0.28.1", "@esbuild/linux-x64": "0.28.1", "@esbuild/netbsd-arm64": "0.28.1", "@esbuild/netbsd-x64": "0.28.1", "@esbuild/openbsd-arm64": "0.28.1", "@esbuild/openbsd-x64": "0.28.1", "@esbuild/openharmony-arm64": "0.28.1", "@esbuild/sunos-x64": "0.28.1", "@esbuild/win32-arm64": "0.28.1", "@esbuild/win32-ia32": "0.28.1", "@esbuild/win32-x64": "0.28.1" }, "bin": { "esbuild": "bin/esbuild" } }, "sha512-HrJrvZv5ayxBzPfwphOoNzkzOIIlifzk0KJrGK2c8R4+LKpMtpYLQeUdjnwjWv/LZlkH2laZk+4w78pi99D4Vw=="],
+ "@img/sharp-linuxmusl-x64": ["@img/[email protected]", "", { "optionalDependencies": { "@img/sharp-libvips-linuxmusl-x64": "1.3.4" }, "os": "linux", "cpu": "x64", "libc": "musl" }, "sha512-4KOphqB035HrVdqLZfCgMzzERrQkkzOwRhl4OAkRO1YCldbaFjySXMaK534Mo0V+LndnlJk+sbUyLeU0ULyD1A=="],
- "escalade": ["[email protected]", "", {}, "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA=="],
+ "@img/sharp-wasm32": ["@img/[email protected]", "", { "dependencies": { "@emnapi/runtime": "^1.11.3" } }, "sha512-Ptsga1su4tQx+LLF1ECS9U6nz5kmrXKo6XVbtR48Ke3ZRxxgaWBu7IDtEe1quo8hiupwm6WFqxVlXaSf7IINGQ=="],
- "escape-html": ["[email protected]", "", {}, "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow=="],
+ "@img/sharp-webcontainers-wasm32": ["@img/[email protected]", "", { "dependencies": { "@img/sharp-wasm32": "0.35.5" }, "cpu": "none" }, "sha512-hfhF/FmoQyTUkA0bIKFOtw536BQSeBMe6BF6QyWlrPxT754+TFLaZ7sKKTfvvM0yJgKgaYTwnFCIZ/GuDw5SUA=="],
- "eslint-scope": ["[email protected]", "", { "dependencies": { "esrecurse": "^4.3.0", "estraverse": "^4.1.1" } }, "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw=="],
+ "@img/sharp-win32-arm64": ["@img/[email protected]", "", { "os": "win32", "cpu": "arm64" }, "sha512-X4t7g+7ZA5DKblCBEXGjUqqemj4vczING/5viFwAL8h4N3qYeyjwdCvRLHi4EdOUI+2Z7UFlp1VM+p/AuEtm6Q=="],
- "esprima": ["[email protected]", "", { "bin": { "esparse": "./bin/esparse.js", "esvalidate": "./bin/esvalidate.js" } }, "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A=="],
+ "@img/sharp-win32-ia32": ["@img/[email protected]", "", { "os": "win32", "cpu": "ia32" }, "sha512-5Zm82LoBc43nhwNybZlG7Y1KO//Zhsn306fQl29ZOuStHLGTo3BWL83q3cznX0poxSAMuYL1On/BHBxkBeKr6A=="],
- "esrecurse": ["[email protected]", "", { "dependencies": { "estraverse": "^5.2.0" } }, "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag=="],
+ "@img/sharp-win32-x64": ["@img/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-x76eH0vEiHlcMQu8Y8IenntaACtddpT6W0wmXtWrnKcnKI7ME5DdgqhAD6SEWOEl1v2zDvkZDhFA9KnURwpfqg=="],
- "estraverse": ["[email protected]", "", {}, "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw=="],
+ "@jridgewell/gen-mapping": ["@jridgewell/[email protected]", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.0", "@jridgewell/trace-mapping": "^0.3.24" } }, "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA=="],
- "etag": ["[email protected]", "", {}, "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg=="],
+ "@jridgewell/remapping": ["@jridgewell/[email protected]", "", { "dependencies": { "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.24" } }, "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ=="],
- "eval": ["[email protected]", "", { "dependencies": { "@types/node": "*", "require-like": ">= 0.1.1" } }, "sha512-EzV94NYKoO09GLXGjXj9JIlXijVck4ONSr5wiCWDvhsvj5jxSrzTmRU/9C1DyB6uToszLs8aifA6NQ7lEQdvFw=="],
+ "@jridgewell/resolve-uri": ["@jridgewell/[email protected]", "", {}, "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw=="],
- "event-target-shim": ["[email protected]", "", {}, "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ=="],
+ "@jridgewell/sourcemap-codec": ["@jridgewell/[email protected]", "", {}, "sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw=="],
- "eventemitter3": ["[email protected]", "", {}, "sha512-mlsTRyGaPBjPedk6Bvw+aqbsXDtoAyAzm5MO7JgU+yVRyMQ5O8bD4Kcci7BS85f93veegeCPkL8R4GLClnjLFw=="],
+ "@jridgewell/trace-mapping": ["@jridgewell/[email protected]", "", { "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", "@jridgewell/sourcemap-codec": "^1.4.14" } }, "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw=="],
- "events": ["[email protected]", "", {}, "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q=="],
+ "@oxc-project/types": ["@oxc-project/[email protected]", "", {}, "sha512-SeE8JPwW1xs1tHeNycjUtUBdhorRa8o4jlvjwk49R7/Z291i+4DQa7JJIgOm/TaYQZx+QrPQbVJ/9c8dMIZN8Q=="],
- "execa": ["[email protected]", "", { "dependencies": { "cross-spawn": "^7.0.3", "get-stream": "^6.0.0", "human-signals": "^2.1.0", "is-stream": "^2.0.0", "merge-stream": "^2.0.0", "npm-run-path": "^4.0.1", "onetime": "^5.1.2", "signal-exit": "^3.0.3", "strip-final-newline": "^2.0.0" } }, "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg=="],
+ "@polka/url": ["@polka/[email protected]", "", {}, "sha512-wwQAWhWSuHaag8c4q/KN/vCoeOJYshAIvMQwD4GpSb3OiZklFfvAgmj0VCBBImRpuF/aFgIRzllXlVX93Jevww=="],
- "express": ["[email protected]", "", { "dependencies": { "accepts": "^2.0.0", "body-parser": "^2.2.1", "content-disposition": "^1.0.0", "content-type": "^1.0.5", "cookie": "^0.7.1", "cookie-signature": "^1.2.1", "debug": "^4.4.0", "depd": "^2.0.0", "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "etag": "^1.8.1", "finalhandler": "^2.1.0", "fresh": "^2.0.0", "http-errors": "^2.0.0", "merge-descriptors": "^2.0.0", "mime-types": "^3.0.0", "on-finished": "^2.4.1", "once": "^1.4.0", "parseurl": "^1.3.3", "proxy-addr": "^2.0.7", "qs": "^6.14.0", "range-parser": "^1.2.1", "router": "^2.2.0", "send": "^1.1.0", "serve-static": "^2.2.0", "statuses": "^2.0.1", "type-is": "^2.0.1", "vary": "^1.1.2" } }, "sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw=="],
+ "@poppinss/colors": ["@poppinss/[email protected]", "", { "dependencies": { "kleur": "^4.1.5" } }, "sha512-H9xkIdFswbS8n1d6vmRd8+c10t2Qe+rZITbbDHHkQixH5+2x1FDGmi/0K+WgWiqQFKPSlIYB7jlH6Kpfn6Fleg=="],
- "fast-deep-equal": ["[email protected]", "", {}, "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="],
+ "@poppinss/dumper": ["@poppinss/[email protected]", "", { "dependencies": { "@poppinss/colors": "^4.1.5", "@sindresorhus/is": "^7.0.2", "supports-color": "^10.0.0" } }, "sha512-NBdYIb90J7LfOI32dOewKI1r7wnkiH6m920puQ3qHUeZkxNkQiFnXVWoE6YtFSv6QOiPPf7ys6i+HWWecDz7sw=="],
- "fast-uri": ["[email protected]", "", {}, "sha512-8JnbkQ4juDyvYs4mgFGQqg4yCYtFDtUtmp2QIQq11ZZe5CFQ5wcqm1rqDgAh/QdMySuBnPzMUiJUNZG5N/AiQw=="],
+ "@poppinss/exception": ["@poppinss/[email protected]", "", {}, "sha512-dCED+QRChTVatE9ibtoaxc+WkdzOSjYTKi/+uacHWIsfodVfpsueo3+DKpgU5Px8qXjgmXkSvhXvSCz3fnP9lw=="],
- "fdir": ["[email protected]", "", { "peerDependencies": { "picomatch": "^3 || ^4" }, "optionalPeers": ["picomatch"] }, "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg=="],
+ "@rolldown/binding-android-arm-eabi": ["@rolldown/[email protected]", "", { "os": "android", "cpu": "arm" }, "sha512-aLcgK9gIJ3YRvrrtfSBbRa27F5WrpiTaPulnFpsHPxpUHgFlSgnU4854MHwoRGEBhfRJDWCS2WQ7lIjskE9Olw=="],
- "finalhandler": ["[email protected]", "", { "dependencies": { "debug": "^4.4.0", "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "on-finished": "^2.4.1", "parseurl": "^1.3.3", "statuses": "^2.0.1" } }, "sha512-S8KoZgRZN+a5rNwqTxlZZePjT/4cnm0ROV70LedRHZ0p8u9fRID0hJUZQpkKLzro8LfmC8sx23bY6tVNxv8pQA=="],
+ "@rolldown/binding-android-arm64": ["@rolldown/[email protected]", "", { "os": "android", "cpu": "arm64" }, "sha512-xD7DdZCrbThKuxNg7ooQmvp07ys4J/pnSEMTG3/OdOWl6daC67m/Q4fL78sRHMxTH/N4fGUbYhcPM0MF5WFHkg=="],
- "find-up": ["[email protected]", "", { "dependencies": { "locate-path": "^6.0.0", "path-exists": "^4.0.0" } }, "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng=="],
+ "@rolldown/binding-darwin-arm64": ["@rolldown/[email protected]", "", { "os": "darwin", "cpu": "arm64" }, "sha512-m2WuQ6r0B4OTYxyPpNLtXaMRbRDUbG8YQV2Q3KTdSSK8Th6KHCnC8jVCJt8bvYeSB5WivkkNbc85mKadaSdOxA=="],
- "foreground-child": ["[email protected]", "", { "dependencies": { "cross-spawn": "^7.0.6", "signal-exit": "^4.0.1" } }, "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw=="],
+ "@rolldown/binding-darwin-x64": ["@rolldown/[email protected]", "", { "os": "darwin", "cpu": "x64" }, "sha512-5RtnsHM36nodM9WbMy+zip0LGS/G+y5wro5RHrpOlr4ac24+1zSi9kiV2MP1myZeZ/ifEHfulQcWjnAXzc2C2A=="],
- "form-data": ["[email protected]", "", { "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", "es-set-tostringtag": "^2.1.0", "hasown": "^2.0.4", "mime-types": "^2.1.35" } }, "sha512-vKatAh4SlVfgbv+YtmhiRjhEMJsYpsG1Y2rMQtR+SVSbytsSD1YGzDIcrAJmdFec88u/+VoGmxnl+80gL1tRCQ=="],
+ "@rolldown/binding-freebsd-x64": ["@rolldown/[email protected]", "", { "os": "freebsd", "cpu": "x64" }, "sha512-g3l09pyFqhu+135JKkbkwiKGQmwU5hUMUPJ4VdBADvuqR8d33L6H578rh8m7rtxbdp+VmX/+nzI7nvhSZlzpUQ=="],
- "form-data-encoder": ["[email protected]", "", {}, "sha512-qfqtYan3rxrnCk1VYaA4H+Ms9xdpPqvLZa6xmMgFvhO32x7/3J/ExcTd6qpxM0vH2GdMI+poehyBZvqfMTto8A=="],
+ "@rolldown/binding-linux-arm-gnueabihf": ["@rolldown/[email protected]", "", { "os": "linux", "cpu": "arm" }, "sha512-nIe3VugI97nGQtspPxDqA4sXMUpeiocKIP/CqpY/u/vgbT+alX+cVxu1C/oVBPKg4feNTmYovE91v4DgXvXNwQ=="],
- "formdata-node": ["[email protected]", "", { "dependencies": { "node-domexception": "1.0.0", "web-streams-polyfill": "4.0.0-beta.3" } }, "sha512-0iirZp3uVDjVGt9p49aTaqjk84TrglENEDuqfdlZQ1roC9CWlPk6Avf8EEnZNcAqPonwkG35x4n3ww/1THYAeQ=="],
+ "@rolldown/binding-linux-arm64-gnu": ["@rolldown/[email protected]", "", { "os": "linux", "cpu": "arm64", "libc": "glibc" }, "sha512-iTBjXx+B5QSvgI89lJfmqh4wTh8NabR1YZIIN3hNx4zSG0EVfVqkOvLulNpG4251pbd6/IAmZ/LefVk1Y4rPhw=="],
- "forwarded": ["[email protected]", "", {}, "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow=="],
+ "@rolldown/binding-linux-arm64-musl": ["@rolldown/[email protected]", "", { "os": "linux", "cpu": "arm64", "libc": "musl" }, "sha512-uN26XOnVR7rqQupG3V9oAG2EGGatWjcJHOeDOHUFCh4TBWmP2tHTFoVN13aYbwfm0aHqJAEmcwhAu6sooIjfqQ=="],
- "fresh": ["[email protected]", "", {}, "sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A=="],
+ "@rolldown/binding-linux-ppc64-gnu": ["@rolldown/[email protected]", "", { "os": "linux", "cpu": "ppc64", "libc": "glibc" }, "sha512-9nWkcdd+H+XhaA3fQIwpHnKIrfx/PQ6rO0pivr78Og07tXlUlctBBJoEYLPfhTmCR/QxEVdn6uPjHV5SymPhdw=="],
- "fs.realpath": ["[email protected]", "", {}, "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw=="],
+ "@rolldown/binding-linux-s390x-gnu": ["@rolldown/[email protected]", "", { "os": "linux", "cpu": "s390x", "libc": "glibc" }, "sha512-Ggh0ciFjLwIusLSLz7LZYEaGdxOAUJXI+Qu5JCbhPJJHEt8vP+IjRATTJheiJsdzzTYgUiHUiw3X1Ea3ZpMBdA=="],
- "fsevents": ["[email protected]", "", { "os": "darwin" }, "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw=="],
+ "@rolldown/binding-linux-x64-gnu": ["@rolldown/[email protected]", "", { "os": "linux", "cpu": "x64", "libc": "glibc" }, "sha512-FHg60rS6DBePAYZ9X9F67x+JObFdmgn6tupA1C/a3B+CufFmTD4mX+e8M75tCiAO3foR/6xwVBI0KQiI7sn/rw=="],
- "function-bind": ["[email protected]", "", {}, "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA=="],
+ "@rolldown/binding-linux-x64-musl": ["@rolldown/[email protected]", "", { "os": "linux", "cpu": "x64", "libc": "musl" }, "sha512-/cvV/7v5VGz/moiz0XKRj2dE8DzsKyhIu1KpOvJGPjRywg3yscON889UGvAe8zfiJLHup7VLjBduoGWi3HusWQ=="],
- "gensync": ["[email protected]", "", {}, "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg=="],
+ "@rolldown/binding-openharmony-arm64": ["@rolldown/[email protected]", "", { "os": "none", "cpu": "arm64" }, "sha512-MyzC5Hrv/sm+Z7TSGKP/j8001RO2xQm1zOpCNVL4j0cY/VhBZviludA2YFQ7i4lH6ZAXxQm0lcMdBzM+99mE7w=="],
- "get-caller-file": ["[email protected]", "", {}, "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg=="],
+ "@rolldown/binding-win32-arm64-msvc": ["@rolldown/[email protected]", "", { "os": "win32", "cpu": "arm64" }, "sha512-+PgYiS+AH5omy6L45ZLxybasauJaj3M8buoT83D+nzPmCayXlxUV9hydhciCKVyIg0B/v0BtXPDE1uGqNwCPpg=="],
- "get-east-asian-width": ["[email protected]", "", {}, "sha512-QRbvDIbx6YklUe6RxeTeleMR0yv3cYH6PsPZHcnVn7xv7zO1BHN8r0XETu8n6Ye3Q+ahtSarc3WgtNWmehIBfA=="],
+ "@rolldown/binding-win32-x64-msvc": ["@rolldown/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-HFZd2QNQYn1JbIi+Hpd7H+r/lkWxcfIu28nirZ6eCn2LafuvmExMlb/P96Sfx5tf7pPArw39IdhmCF8vmV+NhQ=="],
- "get-intrinsic": ["[email protected]", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.2", "es-define-property": "^1.0.1", "es-errors": "^1.3.0", "es-object-atoms": "^1.1.1", "function-bind": "^1.1.2", "get-proto": "^1.0.1", "gopd": "^1.2.0", "has-symbols": "^1.1.0", "hasown": "^2.0.2", "math-intrinsics": "^1.1.0" } }, "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ=="],
+ "@rolldown/pluginutils": ["@rolldown/[email protected]", "", {}, "sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw=="],
- "get-nonce": ["[email protected]", "", {}, "sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q=="],
+ "@sindresorhus/is": ["@sindresorhus/[email protected]", "", {}, "sha512-P1Cz1dWaFfR4IR+U13mqqiGsLFf1KbayybWwdd2vfctdV6hDpUkgCY0nKOLLTMSoRd/jJNjtbqzf13K8DCCXQw=="],
- "get-proto": ["[email protected]", "", { "dependencies": { "dunder-proto": "^1.0.1", "es-object-atoms": "^1.0.0" } }, "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g=="],
+ "@speed-highlight/core": ["@speed-highlight/[email protected]", "", {}, "sha512-qeW2e1l78afw8VhRPfPQ1Gjj+KU5XFQ/OFV5ti6eTa9bruO7mJyZtA4vw0ofqmA3tKCkROE9xLk3VZoeRc98nw=="],
- "get-stream": ["[email protected]", "", {}, "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg=="],
+ "@standard-schema/spec": ["@standard-schema/[email protected]", "", {}, "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w=="],
- "glob": ["[email protected]", "", { "dependencies": { "foreground-child": "^3.3.1", "jackspeak": "^4.1.1", "minimatch": "^10.1.1", "minipass": "^7.1.2", "package-json-from-dist": "^1.0.0", "path-scurry": "^2.0.0" }, "bin": { "glob": "dist/esm/bin.mjs" } }, "sha512-5Qcll1z7IKgHr5g485ePDdHcNQY0k2dtv/bjYy0iuyGxQw2qSOiiXUXJ+AYQpg3HNoUMHqAruX478Jeev7UULw=="],
+ "@sveltejs/acorn-typescript": ["@sveltejs/[email protected]", "", { "peerDependencies": { "acorn": "^8.9.0" } }, "sha512-wgKggnhZVL9Bfx1OaKKTrYY9BFRk6C8UAkQNUcIv1+llzYrIqy+RZm5HPKzn0NpEBvTVhTqB4kQyllZywsRBRQ=="],
- "gopd": ["[email protected]", "", {}, "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg=="],
+ "@sveltejs/adapter-cloudflare": ["@sveltejs/[email protected]", "", { "dependencies": { "@cloudflare/workers-types": "^5.20260925.1", "@rolldown/pluginutils": "^1.0.1" }, "peerDependencies": { "@sveltejs/kit": "^3.0.0-next.0", "wrangler": "^4.118.0" } }, "sha512-KISMvrFOLpn7sm7wQr26XhkVIBYQLq1wYcFZvNgHqWxyN/kVZb/ldu7+jJtWi+Ai0mNw+OPRecHadzEB5TGQ6A=="],
- "graceful-fs": ["[email protected]", "", {}, "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ=="],
+ "@sveltejs/kit": ["@sveltejs/[email protected]", "", { "dependencies": { "@rolldown/pluginutils": "^1.0.1", "@standard-schema/spec": "^1.1.0", "cookie": "^2.0.1", "devalue": "^5.9.4", "esm-env": "^1.2.2", "magic-string": "^1.2.3", "mrmime": "^2.0.1", "sirv": "^3.0.2" }, "peerDependencies": { "@opentelemetry/api": "^1.0.0", "@sveltejs/vite-plugin-svelte": "^7.0.0", "svelte": "^5.57.1", "typescript": "^6.0.0", "vite": "^8.0.12" }, "optionalPeers": ["@opentelemetry/api", "typescript"], "bin": { "svelte-kit": "svelte-kit.js" } }, "sha512-JTWlq2HQlkqx6vIoxhC0R6sc4WVqbQoRyEmr5YlqKmiYbzY1U3awtSWTmjMLlS056a49AmkQR6rnNANXIE8B0Q=="],
- "gzip-size": ["[email protected]", "", { "dependencies": { "duplexer": "^0.1.2" } }, "sha512-ax7ZYomf6jqPTQ4+XCpUGyXKHk5WweS+e05MBO4/y3WJ5RkmPXNKvX+bx1behVILVwr6JSQvZAku021CHPXG3Q=="],
+ "@sveltejs/load-config": ["@sveltejs/[email protected]", "", {}, "sha512-VT3qmUb8pRV2QrZjd8iAmtg8lf4W0TIjZbvXtz5MKei/q96teWZgGJyyidJzOjzZzvdq616eSRVeMYIQChUTAQ=="],
- "has-flag": ["[email protected]", "", {}, "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="],
+ "@sveltejs/vite-plugin-svelte": ["@sveltejs/[email protected]", "", { "dependencies": { "deepmerge": "^4.3.1", "magic-string": "^1.0.0", "obug": "^2.1.0", "vitefu": "^1.1.2" }, "peerDependencies": { "svelte": "^5.46.4", "vite": "^8.0.0-beta.7 || ^8.0.0" } }, "sha512-ZPsLN8B1e/En+Ak5s4V7srFDT532oS0qieLsQwu63NGKsS+iAjoO2Js1BochlHlglcU+Pt7WAO3C5Ee+4f6gVA=="],
- "has-symbols": ["[email protected]", "", {}, "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ=="],
+ "@tanstack/query-core": ["@tanstack/[email protected]", "", {}, "sha512-7p56vRmT/z4UJ6sctGIdl5WRUQyUv53IUpUwEKi2g97zMbO7zh8ZsCLffGAvCPBR4xD72e3VXsDyLwXHhoNTMQ=="],
- "has-tostringtag": ["[email protected]", "", { "dependencies": { "has-symbols": "^1.0.3" } }, "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw=="],
+ "@tanstack/react-query": ["@tanstack/[email protected]", "", { "dependencies": { "@tanstack/query-core": "5.105.0" }, "peerDependencies": { "@types/react": "^18 || ^19", "react": "^18 || ^19" }, "optionalPeers": ["@types/react"] }, "sha512-y+hMuDERvgg6ay1da0V1a6ZC0ZONt7dELxSFkqRZuwm7p1TTZs0MoXrPlBRflIpRoYjvzQVYxycnLImpFLhWrw=="],
- "hasown": ["[email protected]", "", { "dependencies": { "function-bind": "^1.1.2" } }, "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A=="],
+ "@types/estree": ["@types/[email protected]", "", {}, "sha512-lTyOMnOcmRBzdCv6/4zUZCrEhV0xrqQiUZBZtVcbmLHBXKLnN8q89v/wKRF/Q0HbwVsqbIG3o5HDoFl9sduM+g=="],
- "http-errors": ["[email protected]", "", { "dependencies": { "depd": "~2.0.0", "inherits": "~2.0.4", "setprototypeof": "~1.2.0", "statuses": "~2.0.2", "toidentifier": "~1.0.1" } }, "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ=="],
+ "acorn": ["[email protected]", "", { "bin": { "acorn": "bin/acorn" } }, "sha512-oJlA3XiRm7Cyk6qFD2Jn8ak9B7jSy0qy00ADO3+8dpT0LSjFihQYv4C02LFCSYJV3Q37xYwwRy5m+IpIiUzqWw=="],
- "human-signals": ["[email protected]", "", {}, "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw=="],
+ "aria-query": ["[email protected]", "", {}, "sha512-Z/ZeOgVl7bcSYZ/u/rh0fOpvEpq//LZmdbkXyc7syVzjPAhfOa9ebsdTSjEBDU4vs5nC98Kfduj1uFo0qyET3g=="],
- "humanize-ms": ["[email protected]", "", { "dependencies": { "ms": "^2.0.0" } }, "sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ=="],
+ "axobject-query": ["[email protected]", "", {}, "sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ=="],
- "iconv-lite": ["[email protected]", "", { "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" } }, "sha512-IKXpvIzjnC9XTAUbVBcMfGS0EPaIXtW6v+zr+RRp+hqULEpo0owZax6wyRwPOJbWbzjYspQwusTsfVr0ifh4uQ=="],
+ "blake3-wasm": ["[email protected]", "", {}, "sha512-F1+K8EbfOZE49dtoPtmxUQrpXaBIl3ICvasLh+nJta0xkz+9kF/7uet9fLnwKqhDrmj6g+6K3Tw9yQPUg2ka5g=="],
- "ignore": ["[email protected]", "", {}, "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g=="],
+ "chokidar": ["[email protected]", "", { "dependencies": { "readdirp": "^4.0.1" } }, "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA=="],
- "immer": ["[email protected]", "", {}, "sha512-VrNANlmnWQnh5COXIIOQXM9oOJw7naGKlBT74ZOOR6lpVXc3gFEu9FJLDFcpCJ2j+NWr8TIwtWD//T6ZX6TKiQ=="],
+ "clsx": ["[email protected]", "", {}, "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA=="],
- "inherits": ["[email protected]", "", {}, "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="],
+ "cookie": ["[email protected]", "", {}, "sha512-yuToqVvRrj6pfDXREyQAAv8SkAEk/8GS3jQRTiUMm66TVtBYmqQeoEjL2Lmq8Rpo6271vH76InTChTitEAm65w=="],
- "internmap": ["[email protected]", "", {}, "sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg=="],
+ "deepmerge": ["[email protected]", "", {}, "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A=="],
- "ipaddr.js": ["[email protected]", "", {}, "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g=="],
+ "detect-libc": ["[email protected]", "", {}, "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ=="],
- "is-promise": ["[email protected]", "", {}, "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ=="],
+ "devalue": ["[email protected]", "", {}, "sha512-sPAT4pztbu6586/hrhOnMKS17IJrvg12mXiSPSS3W5qDeN2RGgvZ0diZCm31dBbnevfVmujNO3IM2wrS4Y2Rhg=="],
- "is-stream": ["[email protected]", "", {}, "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg=="],
+ "doughmination-api": ["[email protected]", "", { "peerDependencies": { "@tanstack/react-query": "^5.0.0", "react": "^18.0.0 || ^19.0.0" } }, "sha512-WZCSzY3pmn0gZVHRUidTBCz1jXuyHlEArfUM9fl5xJMHjK5FntpJMo3fUYzA6OpvBNgwwhQNFctYYfDm50hXag=="],
- "isexe": ["[email protected]", "", {}, "sha512-6B3tLtFqtQS4ekarvLVMZ+X+VlvQekbe4taUkf/rhVO3d/h0M2rfARm/pXLcPEsjjMsFgrFgSrhQIxcSVrBz8w=="],
+ "error-stack-parser-es": ["[email protected]", "", {}, "sha512-5qucVt2XcuGMcEGgWI7i+yZpmpByQ8J1lHhcL7PwqCwu9FPP3VUXzT4ltHe5i2z9dePwEHcDVOAfSnHsOlCXRA=="],
- "jackspeak": ["[email protected]", "", { "dependencies": { "@isaacs/cliui": "^9.0.0" } }, "sha512-ykkVRwrYvFm1nb2AJfKKYPr0emF6IiXDYUaFx4Zn9ZuIH7MrzEZ3sD5RlqGXNRpHtvUHJyOnCEFxOlNDtGo7wg=="],
+ "esbuild": ["[email protected]", "", { "optionalDependencies": { "@esbuild/aix-ppc64": "0.28.2", "@esbuild/android-arm": "0.28.2", "@esbuild/android-arm64": "0.28.2", "@esbuild/android-x64": "0.28.2", "@esbuild/darwin-arm64": "0.28.2", "@esbuild/darwin-x64": "0.28.2", "@esbuild/freebsd-arm64": "0.28.2", "@esbuild/freebsd-x64": "0.28.2", "@esbuild/linux-arm": "0.28.2", "@esbuild/linux-arm64": "0.28.2", "@esbuild/linux-ia32": "0.28.2", "@esbuild/linux-loong64": "0.28.2", "@esbuild/linux-mips64el": "0.28.2", "@esbuild/linux-ppc64": "0.28.2", "@esbuild/linux-riscv64": "0.28.2", "@esbuild/linux-s390x": "0.28.2", "@esbuild/linux-x64": "0.28.2", "@esbuild/netbsd-arm64": "0.28.2", "@esbuild/netbsd-x64": "0.28.2", "@esbuild/openbsd-arm64": "0.28.2", "@esbuild/openbsd-x64": "0.28.2", "@esbuild/openharmony-arm64": "0.28.2", "@esbuild/sunos-x64": "0.28.2", "@esbuild/win32-arm64": "0.28.2", "@esbuild/win32-ia32": "0.28.2", "@esbuild/win32-x64": "0.28.2" }, "hasInstallScript": true, "bin": { "esbuild": "bin/esbuild" } }, "sha512-HKVLS8dvII+xoKW9kmqxbRKrnWEXfJJr/FZhhJmiqIB0e053QNYFqOBouTMO/k5sID4MvCiUCvv8b9M4h32wIA=="],
- "javascript-stringify": ["[email protected]", "", {}, "sha512-JVAfqNPTvNq3sB/VHQJAFxN/sPgKnsKrCwyRt15zwNCdrMMJDdcEOdubuy+DuJYYdm0ox1J4uzEuYKkN+9yhVg=="],
+ "esm-env": ["[email protected]", "", {}, "sha512-Epxrv+Nr/CaL4ZcFGPJIYLWFom+YeV1DqMLHJoEd9SYRxNbaFruBwfEX/kkHUJf55j2+TUbmDcmuilbP1TmXHA=="],
- "jest-worker": ["[email protected]", "", { "dependencies": { "@types/node": "*", "merge-stream": "^2.0.0", "supports-color": "^8.0.0" } }, "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg=="],
+ "esrap": ["[email protected]", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.4.15" }, "peerDependencies": { "@typescript-eslint/types": "^8.2.0" }, "optionalPeers": ["@typescript-eslint/types"] }, "sha512-CQPcneEHw/czj32uwQC52nYnax8H4SXt25FCM+LIwGZ49cMIxpOj3bP8wmzcI+Z0HIy5KkClaPhRLfCySzwHPA=="],
- "js-tokens": ["[email protected]", "", {}, "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="],
+ "fdir": ["[email protected]", "", { "peerDependencies": { "picomatch": "^3 || ^4" }, "optionalPeers": ["picomatch"] }, "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg=="],
- "jsesc": ["[email protected]", "", { "bin": { "jsesc": "bin/jsesc" } }, "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA=="],
+ "fsevents": ["[email protected]", "", { "os": "darwin", "hasInstallScript": true }, "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw=="],
- "json-schema-traverse": ["[email protected]", "", {}, "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug=="],
+ "iconsax": ["[email protected]", "", { "bin": { "iconsax": "bin/iconsax.js" } }, "sha512-/HXomG+SuhytKH/Yw4ZdunDGyWP02Osuk/pjony1k9CCMOsg7dUpnomu7HZUOHNu0yK0b3phErjH2IgUTJFjPA=="],
- "json5": ["[email protected]", "", { "bin": { "json5": "lib/cli.js" } }, "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg=="],
+ "is-reference": ["[email protected]", "", { "dependencies": { "@types/estree": "^1.0.6" } }, "sha512-ixkJoqQvAP88E6wLydLGGqCJsrFUnqoH6HnaczB8XmDH1oaWU+xxdptvikTgaEhtZ53Ky6YXiBuUI2WXLMCwjw=="],
"kleur": ["[email protected]", "", {}, "sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ=="],
@@ -1004,105 +275,31 @@
"lightningcss-linux-arm-gnueabihf": ["[email protected]", "", { "os": "linux", "cpu": "arm" }, "sha512-N7FVBe6iS24MlM6R/4RBTxGhQheZGs7tiQ9U32UtF75NzP5Q7xWPRqLBCKxlRQRk3rY1jCIPLzx7WzOhuUIRLQ=="],
- "lightningcss-linux-arm64-gnu": ["[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-j2v/itmy4HlNxlc6voKXYgBqNi0Ng2LShg4z7GufpEgs05P+2suBVyi9I6YHq5uoVFx9ETin3eCEhLVyXGQnKg=="],
+ "lightningcss-linux-arm64-gnu": ["[email protected]", "", { "os": "linux", "cpu": "arm64", "libc": "glibc" }, "sha512-j2v/itmy4HlNxlc6voKXYgBqNi0Ng2LShg4z7GufpEgs05P+2suBVyi9I6YHq5uoVFx9ETin3eCEhLVyXGQnKg=="],
- "lightningcss-linux-arm64-musl": ["[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-yiO5ROMuYQgXbC60yjZU5CYSFZGKXL0HFATXt9mHJn1+zW55oCtMI9NfcVhYLMFDL7gV7oBPon/EmMMGg2OvtQ=="],
+ "lightningcss-linux-arm64-musl": ["[email protected]", "", { "os": "linux", "cpu": "arm64", "libc": "musl" }, "sha512-yiO5ROMuYQgXbC60yjZU5CYSFZGKXL0HFATXt9mHJn1+zW55oCtMI9NfcVhYLMFDL7gV7oBPon/EmMMGg2OvtQ=="],
- "lightningcss-linux-x64-gnu": ["[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-ar+Ju7LmcN0Jo4FpL4hpFybwNG9/3A/Br5KW2n2jyODg3MEZXaDYADdemoNS+BDNfMgKvylJLj4S5tyRActuAg=="],
+ "lightningcss-linux-x64-gnu": ["[email protected]", "", { "os": "linux", "cpu": "x64", "libc": "glibc" }, "sha512-ar+Ju7LmcN0Jo4FpL4hpFybwNG9/3A/Br5KW2n2jyODg3MEZXaDYADdemoNS+BDNfMgKvylJLj4S5tyRActuAg=="],
- "lightningcss-linux-x64-musl": ["[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-RYiYbkokw0trfKqqzfF55lginwEPrD3OJDfTuJzFs1MK6iFnDenaz1fqLLtX4ITG3OktJQXOeTaw1awrBAlZPw=="],
+ "lightningcss-linux-x64-musl": ["[email protected]", "", { "os": "linux", "cpu": "x64", "libc": "musl" }, "sha512-RYiYbkokw0trfKqqzfF55lginwEPrD3OJDfTuJzFs1MK6iFnDenaz1fqLLtX4ITG3OktJQXOeTaw1awrBAlZPw=="],
"lightningcss-win32-arm64-msvc": ["[email protected]", "", { "os": "win32", "cpu": "arm64" }, "sha512-1K+MPfLSFVpphzpdbfkhlWk6wBrTObBzS2T6db10PNOZgR9GoVsAWzwNyuhUYYbTp23j+4RrncfujZ4uAzXvwA=="],
"lightningcss-win32-x64-msvc": ["[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-OlEICDx/Xl0FqSp4bry8zFnCvGpig3Gl4gCquvYwHuqJKEC1+n9NgDniFvqHGmMv1ZkqDJrDqKKSykTDX+ehuA=="],
- "loader-runner": ["[email protected]", "", {}, "sha512-DFEqQ3ihfS9blba08cLfYf1NRAIEm+dDjic073DRDc3/JspI/8wYmtDsHwd3+4hwvdxSK7PGaElfTmm0awWJ4w=="],
-
- "loader-utils": ["[email protected]", "", { "dependencies": { "big.js": "^5.2.2", "emojis-list": "^3.0.0", "json5": "^2.1.2" } }, "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw=="],
-
- "locate-path": ["[email protected]", "", { "dependencies": { "p-locate": "^5.0.0" } }, "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw=="],
-
- "lru-cache": ["[email protected]", "", {}, "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ=="],
-
- "lucide-react": ["[email protected]", "", { "peerDependencies": { "@types/react": "*", "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0" }, "optionalPeers": ["@types/react"] }, "sha512-kVmnVCBoLztTGe3S76xu8utwxijRLOinknNq9e8btZ0R2fm6WCgxY+weaLiA50odo/yi+apm/4B2A/LsFZhTrw=="],
-
- "math-intrinsics": ["[email protected]", "", {}, "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g=="],
-
- "media-query-parser": ["[email protected]", "", { "dependencies": { "@babel/runtime": "^7.12.5" } }, "sha512-1N4qp+jE0pL5Xv4uEcwVUhIkwdUO3S/9gML90nqKA7v7FcOS5vUtatfzok9S9U1EJU8dHWlcv95WLnKmmxZI9w=="],
-
- "media-typer": ["[email protected]", "", {}, "sha512-yz3xRaG20c6/BOzvYoDaGtPmGscs7YivItZEEqe6GbwNfHuxu9YNmvnEkMzKldAGY4/80pRcQRZSEnhquk9XuQ=="],
-
- "merge-descriptors": ["[email protected]", "", {}, "sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g=="],
-
- "merge-stream": ["[email protected]", "", {}, "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w=="],
-
- "mime-db": ["[email protected]", "", {}, "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ=="],
+ "locate-character": ["[email protected]", "", {}, "sha512-SW13ws7BjaeJ6p7Q6CO2nchbYEc3X3J6WrmTTDto7yMPqVSZTUyY5Tjbid+Ab8gLnATtygYtiDIJGQRRn2ZOiA=="],
- "mime-types": ["[email protected]", "", { "dependencies": { "mime-db": "^1.54.0" } }, "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A=="],
+ "magic-string": ["[email protected]", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.6.0" } }, "sha512-oLLC2+YvQUfAa+vxoufE/yc1icb87M9iXIRqAoR/2EhE/8cb3SF/+Gi0c2By1B+5Vz2e2vQtUvHiu1+63Znh+w=="],
- "mimic-fn": ["[email protected]", "", {}, "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg=="],
+ "miniflare": ["[email protected]", "", { "dependencies": { "@cspotcode/source-map-support": "0.8.1", "sharp": "0.35.5", "undici": "7.30.1", "workerd": "1.20261023.1", "ws": "8.21.0", "youch": "4.1.0-beta.10" } }, "sha512-hgm1AJhwC6W+iaRhvMnfs7bPOsxjKa8LXTFR2WVPA5qA9KhpyBd2LddmT+9M9tm65VZ8YWkwQGvB+cKbqJoKeA=="],
- "miniflare": ["[email protected]", "", { "dependencies": { "@cspotcode/source-map-support": "0.8.1", "sharp": "0.35.2", "undici": "7.29.0", "workerd": "1.20260801.1", "ws": "8.21.0", "youch": "4.1.0-beta.10" } }, "sha512-BHPVzIDA6mbx7LefxpvkXW7DHx9FKB9GorZatbnrrFTt3CVMU8zuUpbgyCuebwDKcTTOZos43ta8GQ0eMVEpxA=="],
+ "mri": ["[email protected]", "", {}, "sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA=="],
- "minimatch": ["[email protected]", "", { "dependencies": { "brace-expansion": "^5.0.8" } }, "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A=="],
+ "mrmime": ["[email protected]", "", {}, "sha512-Y3wQdFg2Va6etvQ5I82yUhGdsKrcYox6p7FfL1LbK2J4V01F9TGlepTIhnK24t7koZibmg82KGglhA1XK5IsLQ=="],
- "minimizer-webpack-plugin": ["[email protected]", "", { "dependencies": { "@jridgewell/trace-mapping": "^0.3.25", "jest-worker": "^27.4.5", "schema-utils": "^4.3.0", "terser": "^5.31.1" }, "peerDependencies": { "@minify-html/node": "*", "@swc/core": "*", "@swc/css": "*", "@swc/html": "*", "clean-css": "*", "cssnano": "*", "csso": "*", "esbuild": "*", "html-minifier-terser": "*", "lightningcss": "*", "postcss": "*", "uglify-js": "*", "webpack": "^5.1.0" }, "optionalPeers": ["@minify-html/node", "@swc/core", "@swc/css", "@swc/html", "clean-css", "cssnano", "csso", "esbuild", "html-minifier-terser", "lightningcss", "postcss", "uglify-js"] }, "sha512-DoeAZz8Q1C1znwsUzej1fdoi4jCf7/+Em27ouLqfK/+3m8G+D7yDhUwrc3CNhjSzGUN1kn7Iv4sWmjflQHenpw=="],
+ "nanoid": ["[email protected]", "", { "bin": { "nanoid": "bin/nanoid.cjs" } }, "sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ=="],
- "minipass": ["[email protected]", "", {}, "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A=="],
-
- "mkdirp": ["[email protected]", "", { "bin": { "mkdirp": "bin/cmd.js" } }, "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw=="],
-
- "mlly": ["[email protected]", "", { "dependencies": { "acorn": "^8.16.0", "pathe": "^2.0.3", "pkg-types": "^1.3.1", "ufo": "^1.6.3" } }, "sha512-d+ObxMQFmbt10sretNDytwt85VrbkhhUA/JBGm1MPaWJ65Cl4wOgLaB1NYvJSZ0Ef03MMEU/0xpPMXUIQ29UfA=="],
-
- "mnemonist": ["[email protected]", "", { "dependencies": { "obliterator": "^1.6.1" } }, "sha512-2K9QYubXx/NAjv4VLq1d1Ly8pWNC5L3BrixtdkyTegXWJIqY+zLNDhhX/A+ZwWt70tB1S8H4BE8FLYEFyNoOBw=="],
-
- "modern-ahocorasick": ["[email protected]", "", {}, "sha512-sEKPVl2rM+MNVkGQt3ChdmD8YsigmXdn5NifZn6jiwn9LRJpWm8F3guhaqrJT/JOat6pwpbXEk6kv+b9DMIjsQ=="],
-
- "ms": ["[email protected]", "", {}, "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="],
-
- "nanoid": ["[email protected]", "", { "bin": { "nanoid": "bin/nanoid.cjs" } }, "sha512-bzlKTyNJ7+LdGIIwy8ijFpIqEQIvafahV7eYykJ8Cvh42EdJeODoJ6gUJXpQJvej1BddH8OqTXZNE/KfbWAu8Q=="],
-
- "negotiator": ["[email protected]", "", {}, "sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg=="],
-
- "neo-async": ["[email protected]", "", {}, "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw=="],
-
- "next": ["[email protected]", "", { "dependencies": { "@next/env": "16.2.12", "@swc/helpers": "0.5.15", "baseline-browser-mapping": "^2.9.19", "caniuse-lite": "^1.0.30001579", "postcss": "8.4.31", "styled-jsx": "5.1.6" }, "optionalDependencies": { "@next/swc-darwin-arm64": "16.2.12", "@next/swc-darwin-x64": "16.2.12", "@next/swc-linux-arm64-gnu": "16.2.12", "@next/swc-linux-arm64-musl": "16.2.12", "@next/swc-linux-x64-gnu": "16.2.12", "@next/swc-linux-x64-musl": "16.2.12", "@next/swc-win32-arm64-msvc": "16.2.12", "@next/swc-win32-x64-msvc": "16.2.12", "sharp": "^0.34.5" }, "peerDependencies": { "@opentelemetry/api": "^1.1.0", "@playwright/test": "^1.51.1", "babel-plugin-react-compiler": "*", "react": "^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0", "react-dom": "^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0", "sass": "^1.3.0" }, "optionalPeers": ["@opentelemetry/api", "@playwright/test", "babel-plugin-react-compiler", "sass"], "bin": { "next": "dist/bin/next" } }, "sha512-iD59eYQWmbFcEbX7v/acG5DRym9iw1DdaPoD0WTA920naWsE25wShzJW4+UvAs8MK9EC2kBfIH6vtto1H1PHGw=="],
-
- "node-domexception": ["[email protected]", "", {}, "sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ=="],
-
- "node-fetch": ["[email protected]", "", { "dependencies": { "whatwg-url": "^5.0.0" }, "peerDependencies": { "encoding": "^0.1.0" }, "optionalPeers": ["encoding"] }, "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A=="],
-
- "node-releases": ["[email protected]", "", {}, "sha512-wRNIrw4DmVLKQlbgOMdkMx27Wrpzes2hh5Jtbi2bjPd+4wJstWIqP5A+lscnqbm0xxmT5Bpg8Lec5ItEBwx6BQ=="],
-
- "npm-run-path": ["[email protected]", "", { "dependencies": { "path-key": "^3.0.0" } }, "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw=="],
-
- "object-inspect": ["[email protected]", "", {}, "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew=="],
-
- "object-treeify": ["[email protected]", "", {}, "sha512-EFVjAYfzWqWsBMRHPMAXLCDIJnpMhdWAqR7xG6M6a2cs6PMFpl/+Z20w9zDW4vkxOFfddegBKq9Rehd0bxWE7A=="],
-
- "obliterator": ["[email protected]", "", {}, "sha512-9WXswnqINnnhOG/5SLimUlzuU1hFJUc8zkwyD59Sd+dPOMf05PmnYG/d6Q7HZ+KmgkZJa1PxRso6QdM3sTNHig=="],
-
- "obug": ["[email protected]", "", {}, "sha512-4a+OsYv9UktOJKE+l1A4OufDgdRF9PifWj+tJnHURo/P+WOxpG4GzUFL9qCalmWauao6ogiG+QvnCovwPoyAWA=="],
-
- "on-finished": ["[email protected]", "", { "dependencies": { "ee-first": "1.1.1" } }, "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg=="],
-
- "once": ["[email protected]", "", { "dependencies": { "wrappy": "1" } }, "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w=="],
-
- "onetime": ["[email protected]", "", { "dependencies": { "mimic-fn": "^2.1.0" } }, "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg=="],
-
- "p-limit": ["[email protected]", "", { "dependencies": { "yocto-queue": "^0.1.0" } }, "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ=="],
-
- "p-locate": ["[email protected]", "", { "dependencies": { "p-limit": "^3.0.2" } }, "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw=="],
-
- "package-json-from-dist": ["[email protected]", "", {}, "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw=="],
-
- "parseurl": ["[email protected]", "", {}, "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ=="],
-
- "path-exists": ["[email protected]", "", {}, "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w=="],
-
- "path-key": ["[email protected]", "", {}, "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q=="],
-
- "path-scurry": ["[email protected]", "", { "dependencies": { "lru-cache": "^11.0.0", "minipass": "^7.1.2" } }, "sha512-3O/iVVsJAPsOnpwWIeD+d6z/7PmqApyQePUtCndjatj/9I5LylHvt5qluFaBT3I5h3r1ejfR056c+FCv+NnNXg=="],
+ "obug": ["[email protected]", "", {}, "sha512-XrsrhT5sybtKI6wakr2SPOlGZWWYbUXZ7a0jT8/QOeAPau+1X/bSegNe5YR75oJmEZQbKningirmGOEJCIk61Q=="],
"path-to-regexp": ["[email protected]", "", {}, "sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ=="],
@@ -1110,396 +307,66 @@
"picocolors": ["[email protected]", "", {}, "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA=="],
- "picomatch": ["[email protected]", "", {}, "sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A=="],
-
- "pkg-types": ["[email protected]", "", { "dependencies": { "confbox": "^0.1.8", "mlly": "^1.7.4", "pathe": "^2.0.1" } }, "sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ=="],
-
- "postcss": ["[email protected]", "", { "dependencies": { "nanoid": "^3.3.6", "picocolors": "^1.0.0", "source-map-js": "^1.0.2" } }, "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ=="],
-
- "proxy-addr": ["[email protected]", "", { "dependencies": { "forwarded": "0.2.0", "ipaddr.js": "1.9.1" } }, "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg=="],
-
- "qs": ["[email protected]", "", { "dependencies": { "es-define-property": "^1.0.1", "side-channel": "^1.1.1" } }, "sha512-O9gl3zCl5h5blw1KGUzQKhA5oUXSl8rwUIM5o0S3nCXMliSvy5Dzx7/DJcI+SwgICv+IneSZwhBh1oSyEHA71A=="],
-
- "range-parser": ["[email protected]", "", {}, "sha512-hek2mFQpPuI4E1BBKrSto+BU3e3x4xuarsbiwr3+lf7p44juvFMV0XFWQAP3xUyqXA4RrXLIoaSUGbSt056ZMw=="],
+ "picomatch": ["[email protected]", "", {}, "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA=="],
- "raw-body": ["[email protected]", "", { "dependencies": { "bytes": "~3.1.2", "http-errors": "~2.0.1", "iconv-lite": "~0.7.0", "unpipe": "~1.0.0" } }, "sha512-K5zQjDllxWkf7Z5xJdV0/B0WTNqx6vxG70zJE4N0kBs4LovmEYWJzQGxC9bS9RAKu3bgM40lrd5zoLJ12MQ5BA=="],
+ "postcss": ["[email protected]", "", { "dependencies": { "nanoid": "^3.3.20", "picocolors": "^1.1.1", "source-map-js": "^1.2.2" } }, "sha512-LJlKCCAUFKOuZxipUdYw1NzIITEsPcgyOG9LkvRJvuKj/bRzbuRY0ARXvL0pWGpsZvn8jku+LMep2eU0seHp8g=="],
- "react": ["[email protected]", "", {}, "sha512-PWaYA1L/q9u2u7xYQi+Y3L3Yfnie7XyLeaJICV1MGD6LprsBxcAqGjYyr0eY3p+QdsA+x/Irkt4Qif8D63+Sbw=="],
+ "react": ["[email protected]", "", {}, "sha512-QNhWdt7nrgVWWQG58QuGsAR3jv3Hbe4mb4vz7w2csnHavciZJgda1CPNaldF6eVxv90ud3jUXpKlHL69gO38yw=="],
- "react-dom": ["[email protected]", "", { "dependencies": { "scheduler": "^0.27.0" }, "peerDependencies": { "react": "^19.2.8" } }, "sha512-rVprimfGBG3DR+Tq0IQG2DT5PxKth1WIGDmj5yPmlzr4YBe7uyE+Du4oVqTDXZSHGGGXRtTJEGSSePyQCMBglQ=="],
+ "readdirp": ["[email protected]", "", {}, "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg=="],
- "react-is": ["[email protected]", "", {}, "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="],
+ "rolldown": ["[email protected]", "", { "dependencies": { "@oxc-project/types": "=0.155.0", "@rolldown/pluginutils": "^1.0.0" }, "optionalDependencies": { "@rolldown/binding-android-arm-eabi": "1.2.15", "@rolldown/binding-android-arm64": "1.2.15", "@rolldown/binding-darwin-arm64": "1.2.15", "@rolldown/binding-darwin-x64": "1.2.15", "@rolldown/binding-freebsd-x64": "1.2.15", "@rolldown/binding-linux-arm-gnueabihf": "1.2.15", "@rolldown/binding-linux-arm64-gnu": "1.2.15", "@rolldown/binding-linux-arm64-musl": "1.2.15", "@rolldown/binding-linux-ppc64-gnu": "1.2.15", "@rolldown/binding-linux-s390x-gnu": "1.2.15", "@rolldown/binding-linux-x64-gnu": "1.2.15", "@rolldown/binding-linux-x64-musl": "1.2.15", "@rolldown/binding-openharmony-arm64": "1.2.15", "@rolldown/binding-win32-arm64-msvc": "1.2.15", "@rolldown/binding-win32-x64-msvc": "1.2.15" }, "bin": { "rolldown": "./bin/cli.mjs" } }, "sha512-6odND+fel5zVw3I4Yc2e69gvguDnX0CAAGiNDZSq4ik5WUcaLrkD2GLuog0XcODbor31hZ5ayEMgVDno+KPV5g=="],
- "react-redux": ["[email protected]", "", { "dependencies": { "@types/use-sync-external-store": "^0.0.6", "use-sync-external-store": "^1.4.0" }, "peerDependencies": { "@types/react": "^18.2.25 || ^19", "react": "^18.0 || ^19", "redux": "^5.0.0" }, "optionalPeers": ["@types/react", "redux"] }, "sha512-KQopgqFo/p/fgmAs5qz6p5RWaNAzq40WAu7fJIXnQpYxFPbJYtsJPWvGeF2rOBaY/kEuV77AVsX8TsQzKm+A/g=="],
-
- "react-remove-scroll": ["[email protected]", "", { "dependencies": { "react-remove-scroll-bar": "^2.3.7", "react-style-singleton": "^2.2.3", "tslib": "^2.1.0", "use-callback-ref": "^1.3.3", "use-sidecar": "^1.1.3" }, "peerDependencies": { "@types/react": "*", "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-Iqb9NjCCTt6Hf+vOdNIZGdTiH1QSqr27H/Ek9sv/a97gfueI/5h1s3yRi1nngzMUaOOToin5dI1dXKdXiF+u0Q=="],
-
- "react-remove-scroll-bar": ["[email protected]", "", { "dependencies": { "react-style-singleton": "^2.2.2", "tslib": "^2.0.0" }, "peerDependencies": { "@types/react": "*", "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" }, "optionalPeers": ["@types/react"] }, "sha512-9r+yi9+mgU33AKcj6IbT9oRCO78WriSj6t/cF8DWBZJ9aOGPOTEDvdUDz1FwKim7QXWwmHqtdHnRJfhAxEG46Q=="],
-
- "react-style-singleton": ["[email protected]", "", { "dependencies": { "get-nonce": "^1.0.0", "tslib": "^2.0.0" }, "peerDependencies": { "@types/react": "*", "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-b6jSvxvVnyptAiLjbkWLE/lOnR4lfTtDAl+eUC7RZy+QQWc6wRzIV2CE6xBuMmDxc2qIihtDCZD5NPOFl7fRBQ=="],
-
- "recharts": ["[email protected]", "", { "dependencies": { "@reduxjs/toolkit": "^1.9.0 || 2.x.x", "clsx": "^2.1.1", "decimal.js-light": "^2.5.1", "es-toolkit": "^1.39.3", "eventemitter3": "^5.0.1", "immer": "^11.1.8", "react-redux": "8.x.x || 9.x.x", "reselect": "5.2.0", "tiny-invariant": "^1.3.3", "use-sync-external-store": "^1.2.2", "victory-vendor": "^37.0.2" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "react-is": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, "sha512-QXFrvt6IVcw7eeZCoyXTwkIJAX3Dv1nyVhMicXJ47GsGDDpcN8z6o644DibE9XjpBTThtsomLKnTV6lc+cVFUA=="],
-
- "redux": ["[email protected]", "", {}, "sha512-M9/ELqF6fy8FwmkpnF0S3YKOqMyoWJ4+CS5Efg2ct3oY9daQvd/Pc71FpGZsVsbl3Cpb+IIcjBDUnnyBdQbq4w=="],
-
- "redux-thunk": ["[email protected]", "", { "peerDependencies": { "redux": "^5.0.0" } }, "sha512-NW2r5T6ksUKXCabzhL9z+h206HQw/NJkcLm1GPImRQ8IzfXwRGqjVhKJGauHirT0DAuyy6hjdnMZaRoAcy0Klw=="],
-
- "require-from-string": ["[email protected]", "", {}, "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw=="],
-
- "require-like": ["[email protected]", "", {}, "sha512-oyrU88skkMtDdauHDuKVrgR+zuItqr6/c//FXzvmxRGMexSDc6hNvJInGW3LL46n+8b50RykrvwSUIIQH2LQ5A=="],
-
- "reselect": ["[email protected]", "", {}, "sha512-AgZ3UOZm3YndfrJ4OYjgrT7bmCm/1iqkjvEfH/oYjzh6PD2qw4QuT3jjnXIrpdt4MTpMXclMT3lXbmRY+XRakw=="],
-
- "rolldown": ["[email protected]", "", { "dependencies": { "@oxc-project/types": "=0.139.0", "@rolldown/pluginutils": "^1.0.0" }, "optionalDependencies": { "@rolldown/binding-android-arm64": "1.1.5", "@rolldown/binding-darwin-arm64": "1.1.5", "@rolldown/binding-darwin-x64": "1.1.5", "@rolldown/binding-freebsd-x64": "1.1.5", "@rolldown/binding-linux-arm-gnueabihf": "1.1.5", "@rolldown/binding-linux-arm64-gnu": "1.1.5", "@rolldown/binding-linux-arm64-musl": "1.1.5", "@rolldown/binding-linux-ppc64-gnu": "1.1.5", "@rolldown/binding-linux-s390x-gnu": "1.1.5", "@rolldown/binding-linux-x64-gnu": "1.1.5", "@rolldown/binding-linux-x64-musl": "1.1.5", "@rolldown/binding-openharmony-arm64": "1.1.5", "@rolldown/binding-wasm32-wasi": "1.1.5", "@rolldown/binding-win32-arm64-msvc": "1.1.5", "@rolldown/binding-win32-x64-msvc": "1.1.5" }, "bin": { "rolldown": "./bin/cli.mjs" } }, "sha512-t9z29cJjXf/vxQ8dyhCSpt6H6aSwHTk8cT5I3iy6SMXuFpk5mB6PL6XfC8PCwrPTx93udwKUm9HRteAlTGBLiA=="],
-
- "router": ["[email protected]", "", { "dependencies": { "debug": "^4.4.0", "depd": "^2.0.0", "is-promise": "^4.0.0", "parseurl": "^1.3.3", "path-to-regexp": "^8.0.0" } }, "sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ=="],
-
- "safer-buffer": ["[email protected]", "", {}, "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="],
-
- "scheduler": ["[email protected]", "", {}, "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q=="],
-
- "schema-utils": ["[email protected]", "", { "dependencies": { "@types/json-schema": "^7.0.9", "ajv": "^8.9.0", "ajv-formats": "^2.1.1", "ajv-keywords": "^5.1.0" } }, "sha512-eflK8wEtyOE6+hsaRVPxvUKYCpRgzLqDTb8krvAsRIwOGlHoSgYLgBXoubGgLd2fT41/OUYdb48v4k4WWHQurA=="],
+ "sade": ["[email protected]", "", { "dependencies": { "mri": "^1.1.0" } }, "sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A=="],
"semver": ["[email protected]", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA=="],
- "send": ["[email protected]", "", { "dependencies": { "debug": "^4.4.3", "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "etag": "^1.8.1", "fresh": "^2.0.0", "http-errors": "^2.0.1", "mime-types": "^3.0.2", "ms": "^2.1.3", "on-finished": "^2.4.1", "range-parser": "^1.2.1", "statuses": "^2.0.2" } }, "sha512-1gnZf7DFcoIcajTjTwjwuDjzuz4PPcY2StKPlsGAQ1+YH20IRVrBaXSWmdjowTJ6u8Rc01PoYOGHXfP1mYcZNQ=="],
-
- "serve-static": ["[email protected]", "", { "dependencies": { "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "parseurl": "^1.3.3", "send": "^1.2.0" } }, "sha512-xRXBn0pPqQTVQiC8wyQrKs2MOlX24zQ0POGaj0kultvoOCstBQM5yvOhAVSUwOMjQtTvsPWoNCHfPGwaaQJhTw=="],
-
- "setprototypeof": ["[email protected]", "", {}, "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw=="],
+ "sharp": ["[email protected]", "", { "dependencies": { "@img/colour": "^1.1.0", "detect-libc": "^2.1.2", "semver": "^7.8.5" }, "optionalDependencies": { "@img/sharp-darwin-arm64": "0.35.5", "@img/sharp-darwin-x64": "0.35.5", "@img/sharp-freebsd-wasm32": "0.35.5", "@img/sharp-libvips-darwin-arm64": "1.3.4", "@img/sharp-libvips-darwin-x64": "1.3.4", "@img/sharp-libvips-linux-arm": "1.3.4", "@img/sharp-libvips-linux-arm64": "1.3.4", "@img/sharp-libvips-linux-ppc64": "1.3.4", "@img/sharp-libvips-linux-riscv64": "1.3.4", "@img/sharp-libvips-linux-s390x": "1.3.4", "@img/sharp-libvips-linux-x64": "1.3.4", "@img/sharp-libvips-linuxmusl-arm64": "1.3.4", "@img/sharp-libvips-linuxmusl-x64": "1.3.4", "@img/sharp-linux-arm": "0.35.5", "@img/sharp-linux-arm64": "0.35.5", "@img/sharp-linux-ppc64": "0.35.5", "@img/sharp-linux-riscv64": "0.35.5", "@img/sharp-linux-s390x": "0.35.5", "@img/sharp-linux-x64": "0.35.5", "@img/sharp-linuxmusl-arm64": "0.35.5", "@img/sharp-linuxmusl-x64": "0.35.5", "@img/sharp-webcontainers-wasm32": "0.35.5", "@img/sharp-win32-arm64": "0.35.5", "@img/sharp-win32-ia32": "0.35.5", "@img/sharp-win32-x64": "0.35.5" }, "peerDependencies": { "@types/node": "*" }, "optionalPeers": ["@types/node"] }, "sha512-Ywn4OnzGukp7CDMrp08RQ50YKmuwG47brZgIVPTvBaaAfQlRlygrRqSrxdCiL9M+LlzLBiJ68IR1QqvzHyjC7g=="],
- "sharp": ["[email protected]", "", { "dependencies": { "@img/colour": "^1.0.0", "detect-libc": "^2.1.2", "semver": "^7.7.3" }, "optionalDependencies": { "@img/sharp-darwin-arm64": "0.34.5", "@img/sharp-darwin-x64": "0.34.5", "@img/sharp-libvips-darwin-arm64": "1.2.4", "@img/sharp-libvips-darwin-x64": "1.2.4", "@img/sharp-libvips-linux-arm": "1.2.4", "@img/sharp-libvips-linux-arm64": "1.2.4", "@img/sharp-libvips-linux-ppc64": "1.2.4", "@img/sharp-libvips-linux-riscv64": "1.2.4", "@img/sharp-libvips-linux-s390x": "1.2.4", "@img/sharp-libvips-linux-x64": "1.2.4", "@img/sharp-libvips-linuxmusl-arm64": "1.2.4", "@img/sharp-libvips-linuxmusl-x64": "1.2.4", "@img/sharp-linux-arm": "0.34.5", "@img/sharp-linux-arm64": "0.34.5", "@img/sharp-linux-ppc64": "0.34.5", "@img/sharp-linux-riscv64": "0.34.5", "@img/sharp-linux-s390x": "0.34.5", "@img/sharp-linux-x64": "0.34.5", "@img/sharp-linuxmusl-arm64": "0.34.5", "@img/sharp-linuxmusl-x64": "0.34.5", "@img/sharp-wasm32": "0.34.5", "@img/sharp-win32-arm64": "0.34.5", "@img/sharp-win32-ia32": "0.34.5", "@img/sharp-win32-x64": "0.34.5" } }, "sha512-Ou9I5Ft9WNcCbXrU9cMgPBcCK8LiwLqcbywW3t4oDV37n1pzpuNLsYiAV8eODnjbtQlSDwZ2cUEeQz4E54Hltg=="],
+ "simple-icons": ["@icons-pack/[email protected]", "", { "peerDependencies": { "@sveltejs/kit": "^2.5.0", "svelte": "^5.0.0" } }, "sha512-zH4YByltlMBipdijJ1ZN4YGmxn2LKLCt+wCDC1rF0+3yor95Df090lZ5wfsN/UN4JsLjr7e6nxp6MOsEfYv/cQ=="],
- "shebang-command": ["[email protected]", "", { "dependencies": { "shebang-regex": "^3.0.0" } }, "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA=="],
+ "sirv": ["[email protected]", "", { "dependencies": { "@polka/url": "^1.0.0-next.24", "mrmime": "^2.0.0", "totalist": "^3.0.0" } }, "sha512-2wcC/oGxHis/BoHkkPwldgiPSYcpZK3JU28WoMVv55yHJgcZ8rlXvuG9iZggz+sU1d4bRgIGASwyWqjxu3FM0g=="],
- "shebang-regex": ["[email protected]", "", {}, "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A=="],
-
- "side-channel": ["[email protected]", "", { "dependencies": { "es-errors": "^1.3.0", "object-inspect": "^1.13.4", "side-channel-list": "^1.0.1", "side-channel-map": "^1.0.1", "side-channel-weakmap": "^1.0.2" } }, "sha512-6x6dK6zJdpTzF4sQeNYxwtvBzf6Eg4GtlesS94HOvTudUeyK2WXAaIfmDgsyslYrRBeFIlsi54AYsFGUuhmvrQ=="],
-
- "side-channel-list": ["[email protected]", "", { "dependencies": { "es-errors": "^1.3.0", "object-inspect": "^1.13.4" } }, "sha512-mjn/0bi/oUURjc5Xl7IaWi/OJJJumuoJFQJfDDyO46+hBWsfaVM65TBHq2eoZBhzl9EchxOijpkbRC8SVBQU0w=="],
-
- "side-channel-map": ["[email protected]", "", { "dependencies": { "call-bound": "^1.0.2", "es-errors": "^1.3.0", "get-intrinsic": "^1.2.5", "object-inspect": "^1.13.3" } }, "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA=="],
-
- "side-channel-weakmap": ["[email protected]", "", { "dependencies": { "call-bound": "^1.0.2", "es-errors": "^1.3.0", "get-intrinsic": "^1.2.5", "object-inspect": "^1.13.3", "side-channel-map": "^1.0.1" } }, "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A=="],
-
- "signal-exit": ["[email protected]", "", {}, "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ=="],
-
- "sonner": ["[email protected]", "", { "peerDependencies": { "react": "^18.0.0 || ^19.0.0 || ^19.0.0-rc", "react-dom": "^18.0.0 || ^19.0.0 || ^19.0.0-rc" } }, "sha512-W6ZN4p58k8aDKA4XPcx2hpIQXBRAgyiWVkYhT7CvK6D3iAu7xjvVyhQHg2/iaKJZ1XVJ4r7XuwGL+WGEK37i9w=="],
-
- "source-map": ["[email protected]", "", {}, "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="],
-
- "source-map-js": ["[email protected]", "", {}, "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA=="],
-
- "source-map-support": ["[email protected]", "", { "dependencies": { "buffer-from": "^1.0.0", "source-map": "^0.6.0" } }, "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w=="],
-
- "statuses": ["[email protected]", "", {}, "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw=="],
-
- "string-width": ["[email protected]", "", { "dependencies": { "get-east-asian-width": "^1.5.0", "strip-ansi": "^7.1.2" } }, "sha512-GaPUh5gfdrYzqeVNZvUfT23vYYxXzKYidUcnMtJg/3rxRV63EFZy3k6xfKlmfeJD0176lnUV/Usr3XcwSvFzpg=="],
-
- "strip-ansi": ["[email protected]", "", { "dependencies": { "ansi-regex": "^5.0.1" } }, "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A=="],
-
- "strip-final-newline": ["[email protected]", "", {}, "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA=="],
-
- "styled-jsx": ["[email protected]", "", { "dependencies": { "client-only": "0.0.1" }, "peerDependencies": { "@babel/core": "*", "babel-plugin-macros": "*", "react": ">= 16.8.0 || 17.x.x || ^18.0.0-0 || ^19.0.0-0" }, "optionalPeers": ["@babel/core", "babel-plugin-macros"] }, "sha512-qSVyDTeMotdvQYoHWLNGwRFJHC+i+ZvdBRYosOFgC+Wg1vx4frN2/RG/NA7SYqqvKNLf39P2LSRA2pu6n0XYZA=="],
+ "source-map-js": ["[email protected]", "", {}, "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw=="],
"supports-color": ["[email protected]", "", {}, "sha512-SS+jx45GF1QjgEXQx4NJZV9ImqmO2NPz5FNsIHrsDjh2YsHnawpan7SNQ1o8NuhrbHZy9AZhIoCUiCeaW/C80g=="],
- "tapable": ["[email protected]", "", {}, "sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A=="],
+ "svelte": ["[email protected]", "", { "dependencies": { "@jridgewell/remapping": "^2.3.5", "@jridgewell/sourcemap-codec": "^1.6.0", "@sveltejs/acorn-typescript": "^1.0.13", "@types/estree": "^1.0.9", "acorn": "^8.18.0", "aria-query": "5.3.1", "axobject-query": "^4.1.0", "clsx": "^2.1.1", "devalue": "^5.9.2", "esm-env": "^1.2.1", "esrap": "^2.3.6", "is-reference": "^3.0.3", "locate-character": "^3.0.0", "magic-string": "^0.30.11", "zimmerframe": "^1.1.2" } }, "sha512-5mAftM3SoDV9X0zdF386F9p2pv8iKOwi/KfBS1XnBAkVCKFzVOLHUoa8iGWAt4buoicLmyWVRpuuD5wplXOQsg=="],
- "terser": ["[email protected]", "", { "dependencies": { "@jridgewell/source-map": "^0.3.2", "acorn": "^8.5.0", "commander": "^2.20.0", "source-map-support": "~0.5.20" }, "bin": { "terser": "bin/terser" } }, "sha512-HPa/FdTB9XGI2H1/keLFZHxl6WNvAI4YalHGtDQTlMnJcoqSab1UwL4l1hGEhs6/GmLHBZIg/YgB++jcbzoOEg=="],
-
- "tiny-invariant": ["[email protected]", "", {}, "sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg=="],
+ "svelte-check": ["[email protected]", "", { "dependencies": { "@jridgewell/trace-mapping": "^0.3.25", "@sveltejs/load-config": "^0.2.3", "chokidar": "^4.0.1", "fdir": "^6.2.0", "picocolors": "^1.0.0", "sade": "^1.7.4" }, "peerDependencies": { "svelte": "^4.0.0 || ^5.0.0-next.0", "typescript": "^5.0.0 || ^6.0.0" }, "bin": { "svelte-check": "bin/svelte-check" } }, "sha512-Ge2IMdeTpbJuzNFGRiiMg0RWgbScysKQu7xwcyFJ22+DU9F5nPX51+Q3gHmGqRxYQMx2knreVWt5oCtfe0vf2g=="],
"tinyglobby": ["[email protected]", "", { "dependencies": { "fdir": "^6.5.0", "picomatch": "^4.0.4" } }, "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g=="],
- "toidentifier": ["[email protected]", "", {}, "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA=="],
-
- "tr46": ["[email protected]", "", {}, "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw=="],
-
- "ts-tqdm": ["[email protected]", "", {}, "sha512-3X3M1PZcHtgQbnwizL+xU8CAgbYbeLHrrDwL9xxcZZrV5J+e7loJm1XrXozHjSkl44J0Zg0SgA8rXbh83kCkcQ=="],
+ "totalist": ["[email protected]", "", {}, "sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ=="],
"tslib": ["[email protected]", "", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="],
- "type-is": ["[email protected]", "", { "dependencies": { "content-type": "^2.0.0", "media-typer": "^1.1.0", "mime-types": "^3.0.0" } }, "sha512-faYHw0anBbc/kWF3zFTEnxSFOAGUX9GFbOBthvDdLsIlEoWOFOtS0zgCiQYwIskL9iGXZL3kAXD8OoZ4GmMATA=="],
-
"typescript": ["[email protected]", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw=="],
- "ufo": ["[email protected]", "", {}, "sha512-JFNbkD1Svwe0KvGi8GOeLcP4kAWQ609twvCdcHxq1oSL8svv39ZuSvajcD8B+5D0eL4+s1Is2D/O6KN3qcTeRA=="],
-
- "undici": ["[email protected]", "", {}, "sha512-IDxfleLmmbSskfWSUATiN1nfn2rDuvnMOqb5CWR92iIfojA0Ud+ulOAAEQ57LPr9rWmsreUyf5lwyao+7GNNVw=="],
-
- "undici-types": ["[email protected]", "", {}, "sha512-j375ScV60dom+YkPFIfTLcOiPxkN/buHz5GobjLhixFuANaNs3C9l4GmrWqejgXWJ7BbJcFYpTEUkS1Ge8bpZQ=="],
+ "undici": ["[email protected]", "", {}, "sha512-03KrMbjIFDWQR5RNPrSw3bd1r12JpyFQl9/yxjUbJtqkjmllqC5lFjZh6ujeuJCKr8EOQvRW872Oy/az+nLYxg=="],
"unenv": ["[email protected]", "", { "dependencies": { "pathe": "^2.0.3" } }, "sha512-i7qRCmY42zmCwnYlh9H2SvLEypEFGye5iRmEMKjcGi7zk9UquigRjFtTLz0TYqr0ZGLZhaMHl/foy1bZR+Cwlw=="],
- "unpipe": ["[email protected]", "", {}, "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ=="],
-
- "update-browserslist-db": ["[email protected]", "", { "dependencies": { "escalade": "^3.2.0", "picocolors": "^1.1.1" }, "peerDependencies": { "browserslist": ">= 4.21.0" }, "bin": { "update-browserslist-db": "cli.js" } }, "sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w=="],
-
- "urlpattern-polyfill": ["[email protected]", "", {}, "sha512-IGjKp/o0NL3Bso1PymYURCJxMPNAf/ILOpendP9f5B6e1rTJgdgiOvgfoT8VxCAdY+Wisb9uhGaJJf3yZ2V9nw=="],
-
- "use-callback-ref": ["[email protected]", "", { "dependencies": { "tslib": "^2.0.0" }, "peerDependencies": { "@types/react": "*", "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-jQL3lRnocaFtu3V00JToYz/4QkNWswxijDaCVNZRiRTO3HQDLsdu1ZtmIUvV4yPp+rvWm5j0y0TG/S61cuijTg=="],
-
- "use-sidecar": ["[email protected]", "", { "dependencies": { "detect-node-es": "^1.1.0", "tslib": "^2.0.0" }, "peerDependencies": { "@types/react": "*", "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-Fedw0aZvkhynoPYlA5WXrMCAMm+nSWdZt6lzJQ7Ok8S6Q+VsHmHpRWndVRJ8Be0ZbkfPc5LRYH+5XrzXcEeLRQ=="],
-
- "use-sync-external-store": ["[email protected]", "", { "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, "sha512-Pp6GSwGP/NrPIrxVFAIkOQeyw8lFenOHijQWkUTrDvrF4ALqylP2C/KCkeS9dpUM3KvYRQhna5vt7IL95+ZQ9w=="],
-
- "vary": ["[email protected]", "", {}, "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg=="],
-
- "victory-vendor": ["[email protected]", "", { "dependencies": { "@types/d3-array": "^3.0.3", "@types/d3-ease": "^3.0.0", "@types/d3-interpolate": "^3.0.1", "@types/d3-scale": "^4.0.2", "@types/d3-shape": "^3.1.0", "@types/d3-time": "^3.0.0", "@types/d3-timer": "^3.0.0", "d3-array": "^3.1.6", "d3-ease": "^3.0.1", "d3-interpolate": "^3.0.1", "d3-scale": "^4.0.2", "d3-shape": "^3.1.0", "d3-time": "^3.0.0", "d3-timer": "^3.0.1" } }, "sha512-SbPDPdDBYp+5MJHhBCAyI7wKM3d5ivekigc2Dk2s7pgbZ9wIgIBYGVw4zGHBml/qTFbexrofXW6Gu4noGxrOwQ=="],
-
- "vite": ["[email protected]", "", { "dependencies": { "lightningcss": "^1.32.0", "picomatch": "^4.0.5", "postcss": "^8.5.17", "rolldown": "~1.1.5", "tinyglobby": "^0.2.17" }, "optionalDependencies": { "fsevents": "~2.3.3" }, "peerDependencies": { "@types/node": "^20.19.0 || >=22.12.0", "@vitejs/devtools": "^0.3.0", "esbuild": "^0.27.0 || ^0.28.0", "jiti": ">=1.21.0", "less": "^4.0.0", "sass": "^1.70.0", "sass-embedded": "^1.70.0", "stylus": ">=0.54.8", "sugarss": "^5.0.0", "terser": "^5.16.0", "tsx": "^4.8.1", "yaml": "^2.4.2" }, "optionalPeers": ["@types/node", "@vitejs/devtools", "esbuild", "jiti", "less", "sass", "sass-embedded", "stylus", "sugarss", "terser", "tsx", "yaml"], "bin": { "vite": "bin/vite.js" } }, "sha512-7ULLwsCdYx/nRyrpiEwvqb5TFHrMVZyBt+rg/OAXT7rgj/z+DtTDyKFeLAdDkubDVDKD8jOsndmy7m55XcfUsw=="],
-
- "vite-node": ["[email protected]", "", { "dependencies": { "cac": "^7.0.0", "es-module-lexer": "^2.0.0", "obug": "^2.1.1", "pathe": "^2.0.3", "vite": "^8.0.0" }, "bin": { "vite-node": "dist/cli.mjs" } }, "sha512-oj4PVrT+pDh6GYf5wfUXkcZyekYS8kKPfLPXVl8qe324Ec6l4K2DUKNadRbZ3LQl0qGcDz+PyOo7ZAh00Y+JjQ=="],
-
- "watchpack": ["[email protected]", "", { "dependencies": { "graceful-fs": "^4.1.2" } }, "sha512-6i/00NBjP4yGPs+caKSyRfpTF/8Torsu0MOW3mMzIbhgISFder8i7xbqgHlLMwJrdiN8ndBV3UA1/AfzPSr+jg=="],
-
- "web-streams-polyfill": ["[email protected]", "", {}, "sha512-QW95TCTaHmsYfHDybGMwO5IJIM93I/6vTRk+daHTWFPhwh+C8Cg7j7XyKrwrj8Ib6vYXe0ocYNrmzY4xAAN6ug=="],
-
- "webidl-conversions": ["[email protected]", "", {}, "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ=="],
+ "vite": ["[email protected]", "", { "dependencies": { "lightningcss": "^1.33.0", "picomatch": "^4.0.7", "postcss": "^8.5.30", "rolldown": "~1.2.14", "tinyglobby": "^0.2.17" }, "optionalDependencies": { "fsevents": "~2.3.3" }, "peerDependencies": { "@types/node": "^20.19.0 || >=22.12.0", "@vitejs/devtools": "^0.7.1 || ^0.8.0", "esbuild": "^0.27.0 || ^0.28.0", "jiti": ">=1.21.0", "less": "^4.0.0", "sass": "^1.70.0", "sass-embedded": "^1.70.0", "stylus": ">=0.54.8", "sugarss": "^5.0.0", "terser": "^5.16.0", "tsx": "^4.8.1", "yaml": "^2.4.2" }, "optionalPeers": ["@types/node", "@vitejs/devtools", "esbuild", "jiti", "less", "sass", "sass-embedded", "stylus", "sugarss", "terser", "tsx", "yaml"], "bin": { "vite": "bin/vite.js" } }, "sha512-z1YpjieJ9g0ebTmQpLBv/oq9E3F9EIlOe+7LahW8SrE3LTiG3udBRUXQOlYXP9b+IC2q2phHeVxj9xGlw34OEQ=="],
- "webpack": ["[email protected]", "", { "dependencies": { "@types/estree": "^1.0.8", "@types/json-schema": "^7.0.15", "@webassemblyjs/ast": "^1.14.1", "@webassemblyjs/wasm-edit": "^1.14.1", "@webassemblyjs/wasm-parser": "^1.14.1", "acorn": "^8.16.0", "acorn-import-phases": "^1.0.3", "browserslist": "^4.28.1", "chrome-trace-event": "^1.0.2", "enhanced-resolve": "^5.22.2", "es-module-lexer": "^2.1.0", "eslint-scope": "5.1.1", "events": "^3.2.0", "graceful-fs": "^4.2.11", "loader-runner": "^4.3.2", "mime-db": "^1.54.0", "minimizer-webpack-plugin": "^5.6.1", "neo-async": "^2.6.2", "schema-utils": "^4.3.3", "tapable": "^2.3.0", "watchpack": "^2.5.2", "webpack-sources": "^3.5.0" }, "peerDependencies": { "webpack-cli": "*" }, "optionalPeers": ["webpack-cli"], "bin": { "webpack": "bin/webpack.js" } }, "sha512-yur8LyJoeiWh47dErD+Ok7vlbmDsJ3UbbRPAoxbGJ54WpE2y5yVo5G/inUzujnYgw3tPmBRdn+G7PoxXaYC33w=="],
+ "vitefu": ["[email protected]", "", { "peerDependencies": { "vite": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0" }, "optionalPeers": ["vite"] }, "sha512-ub4okH7Z5KLjb6hDyjqrGXqWtWvoYdU3IGm/NorpgHncKoLTCfRIbvlhBm7r0YstIaQRYlp4yEbFqDcKSzXSSg=="],
- "webpack-sources": ["[email protected]", "", {}, "sha512-jyuiGJdtvY434z5bUZrjz67v76/ePNvFZTp9Mdz29IlH4+GPsgyGjiv0fKI+M7BdkU6ADjulUcKAd3tUK3WlEw=="],
+ "workerd": ["[email protected]", "", { "optionalDependencies": { "@cloudflare/workerd-darwin-64": "1.20261023.1", "@cloudflare/workerd-darwin-arm64": "1.20261023.1", "@cloudflare/workerd-linux-64": "1.20261023.1", "@cloudflare/workerd-linux-arm64": "1.20261023.1", "@cloudflare/workerd-windows-64": "1.20261023.1" }, "hasInstallScript": true, "bin": { "workerd": "bin/workerd" } }, "sha512-NeofJFyaYNpqKpFRJW3ApuonaerPd6/JWlfTtLDYf2A6ygqrDEFnYgEXmc0hhOxqnJsSM+kXJN6VebPojzRrsg=="],
- "whatwg-url": ["[email protected]", "", { "dependencies": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" } }, "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw=="],
-
- "which": ["[email protected]", "", { "dependencies": { "isexe": "^3.1.1" }, "bin": { "node-which": "bin/which.js" } }, "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg=="],
-
- "workerd": ["[email protected]", "", { "optionalDependencies": { "@cloudflare/workerd-darwin-64": "1.20260801.1", "@cloudflare/workerd-darwin-arm64": "1.20260801.1", "@cloudflare/workerd-linux-64": "1.20260801.1", "@cloudflare/workerd-linux-arm64": "1.20260801.1", "@cloudflare/workerd-windows-64": "1.20260801.1" }, "bin": { "workerd": "bin/workerd" } }, "sha512-/g9JGTyqnHtoIscpBHqKD8swE2V4StBs2i69PmLiOhH45OP95jCFICl4F1hKlgN57rqfni5LiCitttoX5OOkVA=="],
-
- "wrangler": ["[email protected]", "", { "dependencies": { "@cloudflare/kv-asset-handler": "0.5.0", "@cloudflare/unenv-preset": "2.16.1", "blake3-wasm": "2.1.5", "esbuild": "0.28.1", "miniflare": "5.20260801.1-alpha", "path-to-regexp": "6.3.0", "unenv": "2.0.0-rc.24", "workerd": "1.20260801.1" }, "optionalDependencies": { "fsevents": "2.3.3" }, "peerDependencies": { "@cloudflare/workers-types": "^5.20260801.1" }, "optionalPeers": ["@cloudflare/workers-types"], "bin": { "wrangler": "bin/wrangler.js", "wrangler2": "bin/wrangler.js", "cf-wrangler": "bin/cf-wrangler.js" } }, "sha512-cBmu/MeaB/fPacC0JpATs4duTOCagBxrZo+vBzuTX06tLzwSyAHE1drlHUZ8rP0VqVz1fy3ReGYTiHdKkoHltg=="],
-
- "wrap-ansi": ["[email protected]", "", { "dependencies": { "ansi-styles": "^6.2.1", "string-width": "^7.0.0", "strip-ansi": "^7.1.0" } }, "sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww=="],
-
- "wrappy": ["[email protected]", "", {}, "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="],
+ "wrangler": ["[email protected]", "", { "dependencies": { "@cloudflare/kv-asset-handler": "0.5.0", "@cloudflare/unenv-preset": "2.16.2", "blake3-wasm": "2.1.5", "esbuild": "0.28.2", "miniflare": "5.20261023.1-beta", "path-to-regexp": "6.3.0", "unenv": "2.0.0-rc.24", "workerd": "1.20261023.1" }, "optionalDependencies": { "fsevents": "2.3.3" }, "peerDependencies": { "@cloudflare/workers-types": "^5.20261023.1" }, "optionalPeers": ["@cloudflare/workers-types"], "bin": { "wrangler": "bin/wrangler.js", "wrangler2": "bin/wrangler.js", "cf-wrangler": "bin/cf-wrangler.js" } }, "sha512-duA4dckBE/51ibAlGh2mUYcvGiu7sZFcn61I+KfNEeK5KQzKKEth9Xf5ROatoPBOebYPz0gfknXOCjBhwLOo8Q=="],
"ws": ["[email protected]", "", { "peerDependencies": { "bufferutil": "^4.0.1", "utf-8-validate": ">=5.0.2" }, "optionalPeers": ["bufferutil", "utf-8-validate"] }, "sha512-Vsp28b7DRcimFQvrqu2Wek3z1iYxDCWqHYB8Qsnk/S4RfaCQzPGPyBNuVjJV3cd6UiKtUtp6sNM77gWvzcCH+g=="],
- "y18n": ["[email protected]", "", {}, "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA=="],
-
- "yallist": ["[email protected]", "", {}, "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g=="],
-
- "yaml": ["[email protected]", "", { "bin": { "yaml": "bin.mjs" } }, "sha512-2AvhNX3mb8zd6Zy7INTtSpl1F15HW6Wnqj0srWlkKLcpYl/gMIMJiyuGq2KeI2YFxUPjdlB+3Lc10seMLtL4cA=="],
-
- "yargs": ["[email protected]", "", { "dependencies": { "cliui": "^9.0.1", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", "string-width": "^8.2.1", "y18n": "^5.0.5", "yargs-parser": "^22.0.0" } }, "sha512-2rAgRKu54VsHkqI0/tYkmluGXHD4KW7yZoycuqDQ15QOTnc2VVfy0nN/1eMhnQLO00A+dwtK20xuCnc1YGeUyg=="],
-
- "yargs-parser": ["[email protected]", "", {}, "sha512-rwu/ClNdSMpkSrUb+d6BRsSkLUq1fmfsY6TOpYzTwvwkg1/NRG85KBy3kq++A8LKQwX6lsu+aWad+2khvuXrqw=="],
-
- "yocto-queue": ["[email protected]", "", {}, "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q=="],
-
"youch": ["[email protected]", "", { "dependencies": { "@poppinss/colors": "^4.1.5", "@poppinss/dumper": "^0.6.4", "@speed-highlight/core": "^1.2.7", "cookie": "^1.0.2", "youch-core": "^0.3.3" } }, "sha512-rLfVLB4FgQneDr0dv1oddCVZmKjcJ6yX6mS4pU82Mq/Dt9a3cLZQ62pDBL4AUO+uVrCvtWz3ZFUL2HFAFJ/BXQ=="],
"youch-core": ["[email protected]", "", { "dependencies": { "@poppinss/exception": "^1.2.2", "error-stack-parser-es": "^1.0.5" } }, "sha512-ho7XuGjLaJ2hWHoK8yFnsUGy2Y5uDpqSTq1FkHLK4/oqKtyUU1AFbOOxY4IpC9f0fTLjwYbslUz0Po5BpD1wrA=="],
- "@aws-crypto/sha1-browser/@smithy/util-utf8": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/util-buffer-from": "^2.2.0", "tslib": "^2.6.2" } }, "sha512-R8Rdn8Hy72KKcebgLiv8jQcQkXoLMOGGv5uI1/k0l+snqkOzQ1R0ChUBCxWMlBsFMekWjq0wRudIweFs7sKT5A=="],
-
- "@aws-crypto/sha256-browser/@smithy/util-utf8": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/util-buffer-from": "^2.2.0", "tslib": "^2.6.2" } }, "sha512-R8Rdn8Hy72KKcebgLiv8jQcQkXoLMOGGv5uI1/k0l+snqkOzQ1R0ChUBCxWMlBsFMekWjq0wRudIweFs7sKT5A=="],
-
- "@aws-crypto/util/@smithy/util-utf8": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/util-buffer-from": "^2.2.0", "tslib": "^2.6.2" } }, "sha512-R8Rdn8Hy72KKcebgLiv8jQcQkXoLMOGGv5uI1/k0l+snqkOzQ1R0ChUBCxWMlBsFMekWjq0wRudIweFs7sKT5A=="],
-
- "@aws-sdk/middleware-sdk-s3/@aws-sdk/signature-v4-multi-region": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/types": "^3.974.2", "@smithy/signature-v4": "^5.6.12", "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-lKekx8bLBXSv4O+cslk9Zfnw2XKSkWBs3uWL5QGhH2ZAQfNS7FE0vcSSN2vD/AhxX54ZTywWxR4STThoeOXlBA=="],
-
- "@aws-sdk/nested-clients/@aws-sdk/signature-v4-multi-region": ["@aws-sdk/[email protected]", "", { "dependencies": { "@aws-sdk/types": "^3.974.2", "@smithy/signature-v4": "^5.6.12", "@smithy/types": "^4.16.1", "tslib": "^2.6.2" } }, "sha512-lKekx8bLBXSv4O+cslk9Zfnw2XKSkWBs3uWL5QGhH2ZAQfNS7FE0vcSSN2vD/AhxX54ZTywWxR4STThoeOXlBA=="],
-
- "@babel/core/semver": ["[email protected]", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="],
-
- "@babel/generator/@jridgewell/trace-mapping": ["@jridgewell/[email protected]", "", { "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", "@jridgewell/sourcemap-codec": "^1.4.14" } }, "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw=="],
-
- "@babel/helper-compilation-targets/lru-cache": ["[email protected]", "", { "dependencies": { "yallist": "^3.0.2" } }, "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w=="],
-
- "@babel/helper-compilation-targets/semver": ["[email protected]", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="],
-
- "@img/sharp-freebsd-wasm32/@img/sharp-wasm32": ["@img/[email protected]", "", { "dependencies": { "@emnapi/runtime": "^1.11.1" } }, "sha512-Mrv4JQNYVQ94xH+jzZ9r+gowleN8mv2FTgKT+PI6bx5C0G8TdNYndu161pg2i7uoBwxy2ImPMHrJOM2LZef7Bw=="],
-
- "@img/sharp-webcontainers-wasm32/@img/sharp-wasm32": ["@img/[email protected]", "", { "dependencies": { "@emnapi/runtime": "^1.11.1" } }, "sha512-Mrv4JQNYVQ94xH+jzZ9r+gowleN8mv2FTgKT+PI6bx5C0G8TdNYndu161pg2i7uoBwxy2ImPMHrJOM2LZef7Bw=="],
-
- "@jridgewell/gen-mapping/@jridgewell/trace-mapping": ["@jridgewell/[email protected]", "", { "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", "@jridgewell/sourcemap-codec": "^1.4.14" } }, "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw=="],
-
- "@jridgewell/remapping/@jridgewell/trace-mapping": ["@jridgewell/[email protected]", "", { "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", "@jridgewell/sourcemap-codec": "^1.4.14" } }, "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw=="],
-
- "@jridgewell/source-map/@jridgewell/trace-mapping": ["@jridgewell/[email protected]", "", { "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", "@jridgewell/sourcemap-codec": "^1.4.14" } }, "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw=="],
-
- "@node-minify/core/glob": ["[email protected]", "", { "dependencies": { "fs.realpath": "^1.0.0", "minimatch": "^8.0.2", "minipass": "^4.2.4", "path-scurry": "^1.6.1" } }, "sha512-e1LleDykUz2Iu+MTYdkSsuWX8lvAjAcs0Xef0lNIu0S2wOAzuTxCJtcd9S3cijlwYF18EsU3rzb8jPVobxDh9Q=="],
-
- "@opennextjs/aws/esbuild": ["[email protected]", "", { "optionalDependencies": { "@esbuild/aix-ppc64": "0.25.4", "@esbuild/android-arm": "0.25.4", "@esbuild/android-arm64": "0.25.4", "@esbuild/android-x64": "0.25.4", "@esbuild/darwin-arm64": "0.25.4", "@esbuild/darwin-x64": "0.25.4", "@esbuild/freebsd-arm64": "0.25.4", "@esbuild/freebsd-x64": "0.25.4", "@esbuild/linux-arm": "0.25.4", "@esbuild/linux-arm64": "0.25.4", "@esbuild/linux-ia32": "0.25.4", "@esbuild/linux-loong64": "0.25.4", "@esbuild/linux-mips64el": "0.25.4", "@esbuild/linux-ppc64": "0.25.4", "@esbuild/linux-riscv64": "0.25.4", "@esbuild/linux-s390x": "0.25.4", "@esbuild/linux-x64": "0.25.4", "@esbuild/netbsd-arm64": "0.25.4", "@esbuild/netbsd-x64": "0.25.4", "@esbuild/openbsd-arm64": "0.25.4", "@esbuild/openbsd-x64": "0.25.4", "@esbuild/sunos-x64": "0.25.4", "@esbuild/win32-arm64": "0.25.4", "@esbuild/win32-ia32": "0.25.4", "@esbuild/win32-x64": "0.25.4" }, "bin": { "esbuild": "bin/esbuild" } }, "sha512-8pgjLUcUjcgDg+2Q4NYXnPbo/vncAY4UmyaCm0jZevERqCHZIaWwdJHkf8XQtu4AxSKCdvrUbT0XUr1IdZzI8Q=="],
-
- "@rolldown/binding-wasm32-wasi/@emnapi/runtime": ["@emnapi/[email protected]", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-vgj7R3y3Wgx24IQaGPA/R6YFXLHVMOZ0uVEyIQPaWs+rd1AzfEMXlAC22FYwO1XkKR6NPsq7mUandH8oIRdZFw=="],
-
- "@vanilla-extract/compiler/@vanilla-extract/css": ["@vanilla-extract/[email protected]", "", { "dependencies": { "@emotion/hash": "^0.9.0", "@vanilla-extract/private": "^1.0.9", "css-what": "^6.1.0", "csstype": "^3.2.3", "dedent": "^1.5.3", "deep-object-diff": "^1.1.9", "deepmerge": "^4.2.2", "lru-cache": "^10.4.3", "media-query-parser": "^2.0.2", "modern-ahocorasick": "^1.0.0", "picocolors": "^1.0.0" } }, "sha512-T6z6oeT+o0OwqukE6kLs9w5ooB75b8NPRadyU9pPTml83l40TPN+mscPt2OQ9P9cYfwEBMfsfivwiJujs2mzmg=="],
-
- "@vanilla-extract/integration/@vanilla-extract/css": ["@vanilla-extract/[email protected]", "", { "dependencies": { "@emotion/hash": "^0.9.0", "@vanilla-extract/private": "^1.0.9", "css-what": "^6.1.0", "csstype": "^3.2.3", "dedent": "^1.5.3", "deep-object-diff": "^1.1.9", "deepmerge": "^4.2.2", "lru-cache": "^10.4.3", "media-query-parser": "^2.0.2", "modern-ahocorasick": "^1.0.0", "picocolors": "^1.0.0" } }, "sha512-T6z6oeT+o0OwqukE6kLs9w5ooB75b8NPRadyU9pPTml83l40TPN+mscPt2OQ9P9cYfwEBMfsfivwiJujs2mzmg=="],
-
- "body-parser/content-type": ["[email protected]", "", {}, "sha512-j/O/d7GcZCyNl7/hwZAb606rzqkyvaDctLmckbxLzHvFBzTJHuGEdodATcP3yIRoDrLHkIATJuvzbFlp/ki2cQ=="],
-
- "cliui/string-width": ["[email protected]", "", { "dependencies": { "emoji-regex": "^10.3.0", "get-east-asian-width": "^1.0.0", "strip-ansi": "^7.1.0" } }, "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ=="],
-
- "cliui/strip-ansi": ["[email protected]", "", { "dependencies": { "ansi-regex": "^6.2.2" } }, "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w=="],
-
- "cloudflare/@types/node": ["@types/[email protected]", "", { "dependencies": { "undici-types": "~5.26.4" } }, "sha512-GRaXQx6jGfL8sKfaIDD6OupbIHBr9jv7Jnaml9tB7l4v068PAOXqfcujMMo5PhbIs6ggR1XODELqahT2R8v0fg=="],
-
- "cross-spawn/which": ["[email protected]", "", { "dependencies": { "isexe": "^2.0.0" }, "bin": { "node-which": "./bin/node-which" } }, "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA=="],
-
- "esrecurse/estraverse": ["[email protected]", "", {}, "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA=="],
-
- "eval/@types/node": ["@types/[email protected]", "", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-6oYBAi5ikg4Pl+kGsoYtawUMBT2zZMCvPNF7pVLnHZfd1zf38DRiWn/gT01RYCdUqkv7Fhr+C9ot4/tb+2sVvA=="],
-
- "express/cookie": ["[email protected]", "", {}, "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w=="],
-
- "foreground-child/signal-exit": ["[email protected]", "", {}, "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw=="],
-
- "form-data/mime-types": ["[email protected]", "", { "dependencies": { "mime-db": "1.52.0" } }, "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw=="],
-
- "jest-worker/@types/node": ["@types/[email protected]", "", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-6oYBAi5ikg4Pl+kGsoYtawUMBT2zZMCvPNF7pVLnHZfd1zf38DRiWn/gT01RYCdUqkv7Fhr+C9ot4/tb+2sVvA=="],
-
- "jest-worker/supports-color": ["[email protected]", "", { "dependencies": { "has-flag": "^4.0.0" } }, "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q=="],
-
- "miniflare/sharp": ["[email protected]", "", { "dependencies": { "@img/colour": "^1.1.0", "detect-libc": "^2.1.2", "semver": "^7.8.4" }, "optionalDependencies": { "@img/sharp-darwin-arm64": "0.35.2", "@img/sharp-darwin-x64": "0.35.2", "@img/sharp-freebsd-wasm32": "0.35.2", "@img/sharp-libvips-darwin-arm64": "1.3.1", "@img/sharp-libvips-darwin-x64": "1.3.1", "@img/sharp-libvips-linux-arm": "1.3.1", "@img/sharp-libvips-linux-arm64": "1.3.1", "@img/sharp-libvips-linux-ppc64": "1.3.1", "@img/sharp-libvips-linux-riscv64": "1.3.1", "@img/sharp-libvips-linux-s390x": "1.3.1", "@img/sharp-libvips-linux-x64": "1.3.1", "@img/sharp-libvips-linuxmusl-arm64": "1.3.1", "@img/sharp-libvips-linuxmusl-x64": "1.3.1", "@img/sharp-linux-arm": "0.35.2", "@img/sharp-linux-arm64": "0.35.2", "@img/sharp-linux-ppc64": "0.35.2", "@img/sharp-linux-riscv64": "0.35.2", "@img/sharp-linux-s390x": "0.35.2", "@img/sharp-linux-x64": "0.35.2", "@img/sharp-linuxmusl-arm64": "0.35.2", "@img/sharp-linuxmusl-x64": "0.35.2", "@img/sharp-webcontainers-wasm32": "0.35.2", "@img/sharp-win32-arm64": "0.35.2", "@img/sharp-win32-ia32": "0.35.2", "@img/sharp-win32-x64": "0.35.2" } }, "sha512-FVtFjtBCMiJS6yb5CX7Sop45WFMpeGw6oRKuJnXYgf/f1ms/D7LE/ZUSNxnW7rZ/dbslQWYkoqFHGPaDBtaK4w=="],
-
- "minimizer-webpack-plugin/@jridgewell/trace-mapping": ["@jridgewell/[email protected]", "", { "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", "@jridgewell/sourcemap-codec": "^1.4.14" } }, "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw=="],
-
- "minimizer-webpack-plugin/terser": ["[email protected]", "", { "dependencies": { "@jridgewell/source-map": "^0.3.3", "acorn": "^8.15.0", "commander": "^2.20.0", "source-map-support": "~0.5.20" }, "bin": { "terser": "bin/terser" } }, "sha512-SNiDnXyHSrxVcIOtVbULzcTmniUiwcV7Nwdyj1twVubeTmbjoa8p69KKDpfkdoOavuM4/GRm1+ykI8qqnavHoA=="],
-
- "path-scurry/lru-cache": ["[email protected]", "", {}, "sha512-4pfM1Ff0x50o0tQwb5ucw/RzNyD0/YJME6IVcStalZuMWxdt3sR3huStTtxz4PUmvZfRguvDejasvQ2kifR11g=="],
-
- "router/path-to-regexp": ["[email protected]", "", {}, "sha512-qRcuIdP69NPm4qbACK+aDogI5CBDMi1jKe0ry5rSQJz8JVLsC7jV8XpiJjGRLLol3N+R5ihGYcrPLTno6pAdBA=="],
-
- "string-width/strip-ansi": ["[email protected]", "", { "dependencies": { "ansi-regex": "^6.2.2" } }, "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w=="],
-
- "terser/commander": ["[email protected]", "", {}, "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ=="],
-
- "type-is/content-type": ["[email protected]", "", {}, "sha512-j/O/d7GcZCyNl7/hwZAb606rzqkyvaDctLmckbxLzHvFBzTJHuGEdodATcP3yIRoDrLHkIATJuvzbFlp/ki2cQ=="],
-
- "vite/postcss": ["[email protected]", "", { "dependencies": { "nanoid": "^3.3.16", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" } }, "sha512-lW616l85ucIQL+FocMmL7pQFPqBmwejrCMg+iPxyImlrANNJG9NHq/RkyCZopDhd8C3LA03PHRJDjkbGu8vvug=="],
-
- "wrap-ansi/string-width": ["[email protected]", "", { "dependencies": { "emoji-regex": "^10.3.0", "get-east-asian-width": "^1.0.0", "strip-ansi": "^7.1.0" } }, "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ=="],
-
- "wrap-ansi/strip-ansi": ["[email protected]", "", { "dependencies": { "ansi-regex": "^6.2.2" } }, "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w=="],
-
- "@node-minify/core/glob/minimatch": ["[email protected]", "", { "dependencies": { "brace-expansion": "^2.0.1" } }, "sha512-V+1uQNdzybxa14e/p00HZnQNNcTjnRJjDxg2V8wtkjFctq4M7hXFws4oekyTP0Jebeq7QYtpFyOeBAjc88zvYg=="],
-
- "@node-minify/core/glob/minipass": ["[email protected]", "", {}, "sha512-fNzuVyifolSLFL4NzpF+wEF4qrgqaaKX0haXPQEdQ7NKAN+WecoKMHV09YcuL/DHxrUsYQOK3MiuDf7Ip2OXfQ=="],
-
- "@node-minify/core/glob/path-scurry": ["[email protected]", "", { "dependencies": { "lru-cache": "^10.2.0", "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" } }, "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA=="],
-
- "@opennextjs/aws/esbuild/@esbuild/aix-ppc64": ["@esbuild/[email protected]", "", { "os": "aix", "cpu": "ppc64" }, "sha512-1VCICWypeQKhVbE9oW/sJaAmjLxhVqacdkvPLEjwlttjfwENRSClS8EjBz0KzRyFSCPDIkuXW34Je/vk7zdB7Q=="],
-
- "@opennextjs/aws/esbuild/@esbuild/android-arm": ["@esbuild/[email protected]", "", { "os": "android", "cpu": "arm" }, "sha512-QNdQEps7DfFwE3hXiU4BZeOV68HHzYwGd0Nthhd3uCkkEKK7/R6MTgM0P7H7FAs5pU/DIWsviMmEGxEoxIZ+ZQ=="],
-
- "@opennextjs/aws/esbuild/@esbuild/android-arm64": ["@esbuild/[email protected]", "", { "os": "android", "cpu": "arm64" }, "sha512-bBy69pgfhMGtCnwpC/x5QhfxAz/cBgQ9enbtwjf6V9lnPI/hMyT9iWpR1arm0l3kttTr4L0KSLpKmLp/ilKS9A=="],
-
- "@opennextjs/aws/esbuild/@esbuild/android-x64": ["@esbuild/[email protected]", "", { "os": "android", "cpu": "x64" }, "sha512-TVhdVtQIFuVpIIR282btcGC2oGQoSfZfmBdTip2anCaVYcqWlZXGcdcKIUklfX2wj0JklNYgz39OBqh2cqXvcQ=="],
-
- "@opennextjs/aws/esbuild/@esbuild/darwin-arm64": ["@esbuild/[email protected]", "", { "os": "darwin", "cpu": "arm64" }, "sha512-Y1giCfM4nlHDWEfSckMzeWNdQS31BQGs9/rouw6Ub91tkK79aIMTH3q9xHvzH8d0wDru5Ci0kWB8b3up/nl16g=="],
-
- "@opennextjs/aws/esbuild/@esbuild/darwin-x64": ["@esbuild/[email protected]", "", { "os": "darwin", "cpu": "x64" }, "sha512-CJsry8ZGM5VFVeyUYB3cdKpd/H69PYez4eJh1W/t38vzutdjEjtP7hB6eLKBoOdxcAlCtEYHzQ/PJ/oU9I4u0A=="],
-
- "@opennextjs/aws/esbuild/@esbuild/freebsd-arm64": ["@esbuild/[email protected]", "", { "os": "freebsd", "cpu": "arm64" }, "sha512-yYq+39NlTRzU2XmoPW4l5Ifpl9fqSk0nAJYM/V/WUGPEFfek1epLHJIkTQM6bBs1swApjO5nWgvr843g6TjxuQ=="],
-
- "@opennextjs/aws/esbuild/@esbuild/freebsd-x64": ["@esbuild/[email protected]", "", { "os": "freebsd", "cpu": "x64" }, "sha512-0FgvOJ6UUMflsHSPLzdfDnnBBVoCDtBTVyn/MrWloUNvq/5SFmh13l3dvgRPkDihRxb77Y17MbqbCAa2strMQQ=="],
-
- "@opennextjs/aws/esbuild/@esbuild/linux-arm": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "arm" }, "sha512-kro4c0P85GMfFYqW4TWOpvmF8rFShbWGnrLqlzp4X1TNWjRY3JMYUfDCtOxPKOIY8B0WC8HN51hGP4I4hz4AaQ=="],
-
- "@opennextjs/aws/esbuild/@esbuild/linux-arm64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-+89UsQTfXdmjIvZS6nUnOOLoXnkUTB9hR5QAeLrQdzOSWZvNSAXAtcRDHWtqAUtAmv7ZM1WPOOeSxDzzzMogiQ=="],
-
- "@opennextjs/aws/esbuild/@esbuild/linux-ia32": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "ia32" }, "sha512-yTEjoapy8UP3rv8dB0ip3AfMpRbyhSN3+hY8mo/i4QXFeDxmiYbEKp3ZRjBKcOP862Ua4b1PDfwlvbuwY7hIGQ=="],
-
- "@opennextjs/aws/esbuild/@esbuild/linux-loong64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-NeqqYkrcGzFwi6CGRGNMOjWGGSYOpqwCjS9fvaUlX5s3zwOtn1qwg1s2iE2svBe4Q/YOG1q6875lcAoQK/F4VA=="],
-
- "@opennextjs/aws/esbuild/@esbuild/linux-mips64el": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-IcvTlF9dtLrfL/M8WgNI/qJYBENP3ekgsHbYUIzEzq5XJzzVEV/fXY9WFPfEEXmu3ck2qJP8LG/p3Q8f7Zc2Xg=="],
-
- "@opennextjs/aws/esbuild/@esbuild/linux-ppc64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "ppc64" }, "sha512-HOy0aLTJTVtoTeGZh4HSXaO6M95qu4k5lJcH4gxv56iaycfz1S8GO/5Jh6X4Y1YiI0h7cRyLi+HixMR+88swag=="],
-
- "@opennextjs/aws/esbuild/@esbuild/linux-riscv64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-i8JUDAufpz9jOzo4yIShCTcXzS07vEgWzyX3NH2G7LEFVgrLEhjwL3ajFE4fZI3I4ZgiM7JH3GQ7ReObROvSUA=="],
-
- "@opennextjs/aws/esbuild/@esbuild/linux-s390x": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "s390x" }, "sha512-jFnu+6UbLlzIjPQpWCNh5QtrcNfMLjgIavnwPQAfoGx4q17ocOU9MsQ2QVvFxwQoWpZT8DvTLooTvmOQXkO51g=="],
-
- "@opennextjs/aws/esbuild/@esbuild/linux-x64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-6e0cvXwzOnVWJHq+mskP8DNSrKBr1bULBvnFLpc1KY+d+irZSgZ02TGse5FsafKS5jg2e4pbvK6TPXaF/A6+CA=="],
-
- "@opennextjs/aws/esbuild/@esbuild/netbsd-arm64": ["@esbuild/[email protected]", "", { "os": "none", "cpu": "arm64" }, "sha512-vUnkBYxZW4hL/ie91hSqaSNjulOnYXE1VSLusnvHg2u3jewJBz3YzB9+oCw8DABeVqZGg94t9tyZFoHma8gWZQ=="],
-
- "@opennextjs/aws/esbuild/@esbuild/netbsd-x64": ["@esbuild/[email protected]", "", { "os": "none", "cpu": "x64" }, "sha512-XAg8pIQn5CzhOB8odIcAm42QsOfa98SBeKUdo4xa8OvX8LbMZqEtgeWE9P/Wxt7MlG2QqvjGths+nq48TrUiKw=="],
-
- "@opennextjs/aws/esbuild/@esbuild/openbsd-arm64": ["@esbuild/[email protected]", "", { "os": "openbsd", "cpu": "arm64" }, "sha512-Ct2WcFEANlFDtp1nVAXSNBPDxyU+j7+tId//iHXU2f/lN5AmO4zLyhDcpR5Cz1r08mVxzt3Jpyt4PmXQ1O6+7A=="],
-
- "@opennextjs/aws/esbuild/@esbuild/openbsd-x64": ["@esbuild/[email protected]", "", { "os": "openbsd", "cpu": "x64" }, "sha512-xAGGhyOQ9Otm1Xu8NT1ifGLnA6M3sJxZ6ixylb+vIUVzvvd6GOALpwQrYrtlPouMqd/vSbgehz6HaVk4+7Afhw=="],
-
- "@opennextjs/aws/esbuild/@esbuild/sunos-x64": ["@esbuild/[email protected]", "", { "os": "sunos", "cpu": "x64" }, "sha512-Mw+tzy4pp6wZEK0+Lwr76pWLjrtjmJyUB23tHKqEDP74R3q95luY/bXqXZeYl4NYlvwOqoRKlInQialgCKy67Q=="],
-
- "@opennextjs/aws/esbuild/@esbuild/win32-arm64": ["@esbuild/[email protected]", "", { "os": "win32", "cpu": "arm64" }, "sha512-AVUP428VQTSddguz9dO9ngb+E5aScyg7nOeJDrF1HPYu555gmza3bDGMPhmVXL8svDSoqPCsCPjb265yG/kLKQ=="],
-
- "@opennextjs/aws/esbuild/@esbuild/win32-ia32": ["@esbuild/[email protected]", "", { "os": "win32", "cpu": "ia32" }, "sha512-i1sW+1i+oWvQzSgfRcxxG2k4I9n3O9NRqy8U+uugaT2Dy7kLO9Y7wI72haOahxceMX8hZAzgGou1FhndRldxRg=="],
-
- "@opennextjs/aws/esbuild/@esbuild/win32-x64": ["@esbuild/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-nOT2vZNw6hJ+z43oP1SPea/G/6AbN6X+bGNhNuq8NtRHy4wsMhw765IKLNmnjek7GvjWBYQ8Q5VBoYTFg9y1UQ=="],
-
- "cliui/strip-ansi/ansi-regex": ["[email protected]", "", {}, "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg=="],
-
- "cloudflare/@types/node/undici-types": ["[email protected]", "", {}, "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA=="],
-
- "cross-spawn/which/isexe": ["[email protected]", "", {}, "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw=="],
-
- "eval/@types/node/undici-types": ["[email protected]", "", {}, "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ=="],
-
- "form-data/mime-types/mime-db": ["[email protected]", "", {}, "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg=="],
-
- "jest-worker/@types/node/undici-types": ["[email protected]", "", {}, "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ=="],
-
- "miniflare/sharp/@img/sharp-darwin-arm64": ["@img/[email protected]", "", { "optionalDependencies": { "@img/sharp-libvips-darwin-arm64": "1.3.1" }, "os": "darwin", "cpu": "arm64" }, "sha512-eEieHsMksAW4IiO5NzauESRl2D2qz3J/kwUxUrSfV06A93eEaRfMpHXyUb1mAqrR7i8U9A0GRqE9pjn6u1Jjpg=="],
-
- "miniflare/sharp/@img/sharp-darwin-x64": ["@img/[email protected]", "", { "optionalDependencies": { "@img/sharp-libvips-darwin-x64": "1.3.1" }, "os": "darwin", "cpu": "x64" }, "sha512-BaktuGPCeHJMARpodR8jK4uKiZrPAy9WrfQW0sdI37clracq8Bp01AYS3SZgi5FS/y5twa9t4+LIuuxQjqRrWw=="],
-
- "miniflare/sharp/@img/sharp-libvips-darwin-arm64": ["@img/[email protected]", "", { "os": "darwin", "cpu": "arm64" }, "sha512-4V/M3roRMTYjiwZY9IOVQOE8OyeCxFAkYmyZDrZl51uOKjibm3oeEJ4WAmLxutAfzFbC9jqUiPs2gbnGflH+7g=="],
-
- "miniflare/sharp/@img/sharp-libvips-darwin-x64": ["@img/[email protected]", "", { "os": "darwin", "cpu": "x64" }, "sha512-c0/DxItpJv2+dGhgycJBBgotdqruGYDvA79drdh0MD1dFpy7JzJ/PlXwi1H4rFf0eTy8tgbI91aHDnZIceY3jQ=="],
-
- "miniflare/sharp/@img/sharp-libvips-linux-arm": ["@img/[email protected]", "", { "os": "linux", "cpu": "arm" }, "sha512-aGGy9aWzXgHBG7HNyQPWorZthlp7+x6fDRoPAQbGO3ThcttuTyKIx3NuSHb6zb4gBNq6/yNn9f1cy9nFKS/Vmg=="],
-
- "miniflare/sharp/@img/sharp-libvips-linux-arm64": ["@img/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-JznefmcK9j1JKPz8AkQDh89kjojubyfOasWBPKfzMIhPwsgDy9evpE/naJTXXXmghS1iFwR8u/kTwh/I2/+GCw=="],
-
- "miniflare/sharp/@img/sharp-libvips-linux-ppc64": ["@img/[email protected]", "", { "os": "linux", "cpu": "ppc64" }, "sha512-1EkwGNCZk6iWNCMWqrvdJ+r1j0PT1zIz60CNPhYnJlK/zyeWqlsPZIe+ocBVqPF8k/Ssee/NCk+tE9Ryrko6ng=="],
-
- "miniflare/sharp/@img/sharp-libvips-linux-riscv64": ["@img/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-Ilays+w2bXdnxzxtQdmXR62u8o8GYa3eL4+Gr+1KiE4xperMZUslRaVPJwwPkzlHEjGfXAfRVAa/7CYCtSqsBw=="],
-
- "miniflare/sharp/@img/sharp-libvips-linux-s390x": ["@img/[email protected]", "", { "os": "linux", "cpu": "s390x" }, "sha512-VfBwVHQTbRoj4XlpA/KLZ7ltgMpz+4WSejFzQ+GnoImjo1PtEJ59QB2qR1xQEeRPYIkNrPIm2L4cICMvz4C2ew=="],
-
- "miniflare/sharp/@img/sharp-libvips-linux-x64": ["@img/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-+c8ukgwU62DS54nCAjw7keOfHUkmr0B5QHEdcOqRnodF/MNXJbVI8Eopoj4B/0H8Asr65I+A4Amrn7a85/md6A=="],
-
- "miniflare/sharp/@img/sharp-libvips-linuxmusl-arm64": ["@img/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-qlKb/pwbkAi1WMsJrYHk7CuDrd12s27U2QnRhFYUoJNrRCmkosMTttuRFat/DDB3IlDm5qE1TJgZ4JDnHX8Ldw=="],
-
- "miniflare/sharp/@img/sharp-libvips-linuxmusl-x64": ["@img/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-yO21HwoUVLN8Qa+/SBjQLMYwBWAVJjeGPNe+hc0OUeMeifEtJqu5a1c4HayE1nNpDih9y3/KkoltfkDodmKAlg=="],
-
- "miniflare/sharp/@img/sharp-linux-arm": ["@img/[email protected]", "", { "optionalDependencies": { "@img/sharp-libvips-linux-arm": "1.3.1" }, "os": "linux", "cpu": "arm" }, "sha512-SE4kzF2mepn6z+6E7L6lsV8FzuLL6IPQdyX8ZiwROAG/G8td+hP/m7FsFPwidtrF19gvajuC9l6TxAVcsA4S7A=="],
-
- "miniflare/sharp/@img/sharp-linux-arm64": ["@img/[email protected]", "", { "optionalDependencies": { "@img/sharp-libvips-linux-arm64": "1.3.1" }, "os": "linux", "cpu": "arm64" }, "sha512-af12Pnd0ZGu2HfP8NayB0kk6eC/lrfbQE6HlR4jD+34wdJ1Vw9TF6TMn6ZvffT+WgqVsl0hRbmNvz2u/23VmwA=="],
-
- "miniflare/sharp/@img/sharp-linux-ppc64": ["@img/[email protected]", "", { "optionalDependencies": { "@img/sharp-libvips-linux-ppc64": "1.3.1" }, "os": "linux", "cpu": "ppc64" }, "sha512-hYSBm7zcNtDCozCxQHYZJiu63b/bXsgRZuOxCIBZsStMM9Vap47iFHdbX4kCvQsblPB/k+clhELpdQJHQLSHvg=="],
-
- "miniflare/sharp/@img/sharp-linux-riscv64": ["@img/[email protected]", "", { "optionalDependencies": { "@img/sharp-libvips-linux-riscv64": "1.3.1" }, "os": "linux", "cpu": "none" }, "sha512-qQt0Kc13+Hoan/Awq/qMSQw3L+RI1NCRPgD5cUJ/1WSSmIoysLOc72jlRM3E0OHN9Yr313jgeQ2T+zW+F03QFA=="],
-
- "miniflare/sharp/@img/sharp-linux-s390x": ["@img/[email protected]", "", { "optionalDependencies": { "@img/sharp-libvips-linux-s390x": "1.3.1" }, "os": "linux", "cpu": "s390x" }, "sha512-E4fLLfRPzDLlEeDaTzI98OFLcv++WL5ChLLMwPoVd0CIoZQqupBSNbOisPL5am9XsbQ9T84+iiMpUvbFtkunbA=="],
-
- "miniflare/sharp/@img/sharp-linux-x64": ["@img/[email protected]", "", { "optionalDependencies": { "@img/sharp-libvips-linux-x64": "1.3.1" }, "os": "linux", "cpu": "x64" }, "sha512-gi0zFJJRLswfCZmHtJdikXPOc5u7qamSOS3NHedLqLd4W8Q0NqjdBr6TTRIgsfFjqfTsHFgdfvJ9LwqSgcHiAA=="],
-
- "miniflare/sharp/@img/sharp-linuxmusl-arm64": ["@img/[email protected]", "", { "optionalDependencies": { "@img/sharp-libvips-linuxmusl-arm64": "1.3.1" }, "os": "linux", "cpu": "arm64" }, "sha512-siWbOW1u6HFnFLrp0waKyW7VEf7jYvcDWdrXEFa8AkdAQgEvuu5Fz8/Y70w9EeqAdwDtfU012BhEHHaDqvQNzg=="],
-
- "miniflare/sharp/@img/sharp-linuxmusl-x64": ["@img/[email protected]", "", { "optionalDependencies": { "@img/sharp-libvips-linuxmusl-x64": "1.3.1" }, "os": "linux", "cpu": "x64" }, "sha512-YBqMMcjDi4QGYiSn4vNOYBhmlC4z5AXqkOUUqI2e0AFA4urNv4ESgOgwNl3K+4etQhha0twXlzeF20bbULm9Yg=="],
-
- "miniflare/sharp/@img/sharp-win32-arm64": ["@img/[email protected]", "", { "os": "win32", "cpu": "arm64" }, "sha512-BiVRYc/t6/Vl3e1hBx0hugG4oN9Pydf4fgMSpxTQJmwGUg/YoXTWHiFeRymHfCZzifxu4F4rpk/I67D0LQ20wQ=="],
-
- "miniflare/sharp/@img/sharp-win32-ia32": ["@img/[email protected]", "", { "os": "win32", "cpu": "ia32" }, "sha512-YYEhx9PImCC7T0tI8JDMi4DB9LwLCXCU5OWNYEXAxh5Q1ShKkyC6byxzoBJ3gEFDnH2lQckWuDe70G7mB2XJog=="],
-
- "miniflare/sharp/@img/sharp-win32-x64": ["@img/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-imoOyBcoM/iiUr4J6VPpCNjPnjvP/Gks95898yB8YqoGGYmHYbOyCuNv9FMhFgtaiHFGbHW8bxKqRV6VjtXThQ=="],
-
- "minimizer-webpack-plugin/terser/commander": ["[email protected]", "", {}, "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ=="],
-
- "string-width/strip-ansi/ansi-regex": ["[email protected]", "", {}, "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg=="],
-
- "wrap-ansi/strip-ansi/ansi-regex": ["[email protected]", "", {}, "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg=="],
+ "zimmerframe": ["[email protected]", "", {}, "sha512-msJxIvYDYcoNL+PJsu+7qmpDWsYmAxTY+2TNYXXF0hzBzBk0BMecOqDOG/EckUoKCuKwObfbugIl8QpqHDXeFA=="],
- "@node-minify/core/glob/minimatch/brace-expansion": ["[email protected]", "", { "dependencies": { "balanced-match": "^1.0.0" } }, "sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg=="],
+ "@cspotcode/source-map-support/@jridgewell/trace-mapping": ["@jridgewell/[email protected]", "", { "dependencies": { "@jridgewell/resolve-uri": "^3.0.3", "@jridgewell/sourcemap-codec": "^1.4.10" } }, "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ=="],
- "@node-minify/core/glob/path-scurry/minipass": ["[email protected]", "", {}, "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A=="],
+ "svelte/magic-string": ["[email protected]", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.5" } }, "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ=="],
- "@node-minify/core/glob/minimatch/brace-expansion/balanced-match": ["[email protected]", "", {}, "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="],
+ "youch/cookie": ["[email protected]", "", {}, "sha512-ei8Aos7ja0weRpFzJnEA9UHJ/7XQmqglbRwnf2ATjcB9Wq874VKH9kfjjirM6UhU2/E5fFYadylyhFldcqSidQ=="],
}
}
diff --git a/next.config.ts b/next.config.ts
deleted file mode 100644
index 902731d..0000000
--- a/next.config.ts
+++ /dev/null
@@ -1,34 +0,0 @@
-/* system/next.config.ts
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-import type { NextConfig } from "next";
-import { createVanillaExtractPlugin } from "@vanilla-extract/next-plugin";
-
-/* Compiles .css.ts files to static CSS at build time — zero runtime. The plugin
- * only wires up Turbopack when explicitly opted in; `mode: "auto"` enables it on
- * Next >= 16 and falls back to webpack below that. */
-const withVanillaExtract = createVanillaExtractPlugin({
- unstable_turbopack: {
- mode: "auto",
- },
-});
-
-const nextConfig: NextConfig = {
- /* Deployed to Cloudflare Workers via @opennextjs/cloudflare, which bundles a
- * standard `next build` (default output) into a Worker — so no `output:
- * "standalone"`. Server components keep running on the Node.js runtime, so
- * per-request member metadata and `revalidate` still work. */
-
- // Allows overriding the build output dir (e.g. in sandboxed CI environments)
- distDir: process.env.NEXT_DIST_DIR ?? ".next",
-};
-
-export default withVanillaExtract(nextConfig);
-
-// Lets `next dev` talk to local Cloudflare bindings during development. No-op
-// in production. Must be called at the bottom of this config.
-import { initOpenNextCloudflareForDev } from "@opennextjs/cloudflare";
-initOpenNextCloudflareForDev();
diff --git a/open-next.config.ts b/open-next.config.ts
deleted file mode 100644
index 0c90b41..0000000
--- a/open-next.config.ts
+++ /dev/null
@@ -1,20 +0,0 @@
-/* system/open-next.config.ts
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-import { defineCloudflareConfig } from "@opennextjs/cloudflare";
-
-/* No incremental (ISR) cache override: member data comes live from PluralKit
- * via the API, so we want each request to re-render fresh rather than serve a
- * cached page. To add persistent caching later, provision an R2 bucket and set
- * `incrementalCache: r2IncrementalCache` (import from
- * "@opennextjs/cloudflare/overrides/incremental-cache/r2-incremental-cache"). */
-const config = defineCloudflareConfig({});
-
-/* `bun run build` is `opennextjs-cloudflare build` (so Cloudflare Workers Builds
- * produce .open-next/ for `wrangler deploy`). OpenNext's default buildCommand is
- * `npm run build`, which would recurse — point it at the plain Next build. */
-config.buildCommand = "bun run build:next";
-
-export default config;
diff --git a/package.json b/package.json
index 7d48f24..0e27f84 100644
--- a/package.json
+++ b/package.json
@@ -1,58 +1,34 @@
{
- "name": "frontend",
- "version": "0.1.0",
+ "name": "doughmination-system",
+ "version": "1.0.0",
"private": true,
+ "type": "module",
"scripts": {
- "dev": "next dev --turbo",
- "dev:webpack": "next dev --webpack",
- "build": "opennextjs-cloudflare build",
- "build:next": "next build --turbo",
- "build:webpack": "next build --webpack",
- "start": "next start",
- "lint": "eslint",
- "preview": "bun run build && opennextjs-cloudflare preview",
- "deploy": "bun run build && opennextjs-cloudflare deploy",
- "upload": "bun run build && opennextjs-cloudflare upload",
- "cf-typegen": "wrangler types --env-interface CloudflareEnv cloudflare-env.d.ts"
+ "dev": "vite dev",
+ "build": "vite build",
+ "preview": "bun run build && wrangler dev",
+ "deploy": "bun run build && wrangler deploy",
+ "types": "wrangler types",
+ "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json"
+ },
+ "imports": {
+ "#lib": "./src/lib/index.ts",
+ "#lib/*": "./src/lib/*"
},
"dependencies": {
- "@opennextjs/cloudflare": "^1.20.2",
- "@radix-ui/react-checkbox": "^1.3.11",
- "@radix-ui/react-label": "^2.1.15",
- "@radix-ui/react-select": "^2.3.7",
- "@radix-ui/react-separator": "^1.1.15",
- "@radix-ui/react-slot": "^1.3.3",
- "@radix-ui/react-toast": "^1.2.23",
- "@radix-ui/react-tooltip": "^1.2.16",
- "@tanstack/react-query": "^5.101.4",
- "@vanilla-extract/recipes": "^0.5.7",
- "clsx": "^2.1.1",
"doughmination-api": "^1.6.0",
- "lucide-react": "1.54.0",
- "next": "16.2.12",
- "react": "19.2.8",
- "react-dom": "19.2.8",
- "recharts": "^3.10.1",
- "sonner": "^2.0.7"
+ "iconsax": "^0.1.1",
+ "simple-icons": "npm:@icons-pack/svelte-simple-icons@^7.2.0"
},
"devDependencies": {
- "@types/node": "^26.1.2",
- "@types/react": "^19.2.18",
- "@types/react-dom": "^19.2.4",
- "@vanilla-extract/css": "^1.21.2",
- "@vanilla-extract/next-plugin": "^2.5.2",
- "typescript": "^6.0.3",
- "wrangler": "^4.120.0"
- },
- "ignoreScripts": [
- "sharp",
- "unrs-resolver"
- ],
- "trustedDependencies": [
- "@swc/core",
- "esbuild",
- "sharp",
- "unrs-resolver",
- "workerd"
- ]
+ "@cloudflare/workers-types": "^5.20261029.1",
+ "@sveltejs/adapter-cloudflare": "8.0.1",
+ "@sveltejs/kit": "3.1.0",
+ "@sveltejs/vite-plugin-svelte": "7.3.1",
+ "svelte": "5.57.3",
+ "svelte-check": "4.7.7",
+ "typescript": "~6.0.3",
+ "vite": "8.3.5",
+ "wrangler": "4.154.0"
+ }
}
diff --git a/public/.gitkeep b/public/.gitkeep
deleted file mode 100644
index e69de29..0000000
diff --git a/src/app.d.ts b/src/app.d.ts
new file mode 100644
index 0000000..e7e60ee
--- /dev/null
+++ b/src/app.d.ts
@@ -0,0 +1,39 @@
+/* src/app.d.ts
+ * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ * Licensed under the DASL-1.0 Licence.
+ * See LICENCE.md in the project root for full licence information.
+ */
+
+declare global {
+ namespace App {
+ interface Error {
+ message: string;
+ title?: string;
+ }
+
+ interface Platform {
+ env: Env;
+ ctx: ExecutionContext;
+ }
+ }
+
+ // Bindings; none yet beyond the static assets
+ interface Env {
+ ASSETS: Fetcher;
+ }
+}
+
+// <iconsax-icon> is registered by `import "iconsax"` in src/hooks.client.ts
+declare module "svelte/elements" {
+ export interface SvelteHTMLElements {
+ "iconsax-icon": HTMLAttributes<HTMLElement> & {
+ name: string;
+ type?: "bold" | "broken" | "bulk" | "linear" | "outline" | "twotone";
+ size?: number | string;
+ color?: string;
+ pro?: boolean;
+ };
+ }
+}
+
+export {};
diff --git a/src/app.html b/src/app.html
new file mode 100644
index 0000000..fbbe4f7
--- /dev/null
+++ b/src/app.html
@@ -0,0 +1,21 @@
+<!-- src/app.html
+ Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ Licensed under the DASL-1.0 Licence.
+ See LICENCE.md in the project root for full licence information.
+-->
+
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5" />
+ <meta name="color-scheme" content="dark" />
+ <link rel="icon" href="https://raw.doughmination.gay/favicons/favicon.png" />
+ <link rel="apple-touch-icon" href="https://raw.doughmination.gay/favicons/favicon.png" />
+ <link rel="preconnect" href="https://raw.doughmination.gay" crossorigin />
+ %sveltekit.head%
+ </head>
+ <body data-sveltekit-preload-data="hover">
+ <div class="app">%sveltekit.body%</div>
+ </body>
+</html>
diff --git a/src/app/[member_id]/layout.tsx b/src/app/[member_id]/layout.tsx
deleted file mode 100644
index 7e55626..0000000
--- a/src/app/[member_id]/layout.tsx
+++ /dev/null
@@ -1,153 +0,0 @@
-/* system/src/app/[member_id]/layout.tsx
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-import type { Metadata, Viewport } from "next";
-import { cache } from "react";
-
-// Server-safe entry: the client without the React provider/context, so it is
-// usable from this server component. Importing the package root would evaluate
-// createContext and crash RSC.
-import {
- DoughminationClient,
- type PluralMember,
-} from "doughmination-api/server";
-
-const FALLBACK_AVATAR = "https://raw.doughmination.gay/favicons/favicon.png";
-
-const SITE_NAME = "Doughmination System";
-
-const DEFAULT_THEME_COLOR = "#0a0b10";
-
-type RouteParams = {
- member_id: string;
-};
-
-type LayoutProps = {
- children: React.ReactNode;
- params: Promise<RouteParams>;
-};
-
-// A custom fetch attaches Next's revalidate hint, so a burst of embed crawlers
-// resolves to one API hit per 5 minutes rather than one per request.
-const apiClient = new DoughminationClient({
- fetch: (input, init) =>
- fetch(input, {
- ...init,
- next: {
- revalidate: 300,
- },
- }),
-});
-
-// Deduped per request: generateMetadata and generateViewport both call this,
-// so wrapping in cache() means one lookup, not two.
-const fetchMember = cache(
- async (memberId: string): Promise<PluralMember | null> => {
- if (!memberId) return null;
-
- try {
- return await apiClient.getMember(memberId);
- } catch {
- // getMember throws on 404 / network error — treat as "no member".
- return null;
- }
- },
-);
-
-// One-line summary when the member has no description of their own.
-function buildDescription(member: PluralMember): string {
- if (member.description) return member.description;
-
- const parts: string[] = [];
-
- if (member.pronouns) parts.push(member.pronouns);
- if (member.tags && member.tags.length > 0) parts.push(member.tags.join(", "));
- if (member.pride && member.pride.length > 0) parts.push(member.pride.join(", "));
-
- if (parts.length > 0) {
- return `${parts.join(" · ")} — member of the ${SITE_NAME}.`;
- }
-
- return `A member of the ${SITE_NAME}.`;
-}
-
-export async function generateMetadata({
- params,
-}: {
- params: Promise<RouteParams>;
-}): Promise<Metadata> {
- const { member_id: memberId } = await params;
- const member = await fetchMember(memberId);
-
- if (!member) {
- return {
- title: `Member not found · ${SITE_NAME}`,
- description: `This member could not be found in the ${SITE_NAME}.`,
- };
- }
-
- const displayName = member.display_name || member.name || memberId;
- const title = `${displayName} · ${SITE_NAME}`;
- const description = buildDescription(member);
- const avatar = member.avatar_url || FALLBACK_AVATAR;
- const pageUrl = `https://doughmination.co.uk/${encodeURIComponent(memberId)}`;
-
- return {
- title,
- description,
- alternates: {
- canonical: pageUrl,
- },
- openGraph: {
- siteName: SITE_NAME,
- title,
- description,
- images: [
- {
- url: avatar,
- width: 800,
- height: 800,
- alt: displayName,
- },
- ],
- type: "profile",
- url: pageUrl,
- locale: "en_GB",
- },
- twitter: {
- card: "summary",
- title,
- description,
- images: [avatar],
- site: "@doughmination",
- },
- };
-}
-
-export async function generateViewport({
- params,
-}: {
- params: Promise<RouteParams>;
-}): Promise<Viewport> {
- const { member_id: memberId } = await params;
- const member = await fetchMember(memberId);
-
- // The member colour drives the Discord embed's left strip. The API stores it
- // without a leading "#"; fall back to the site theme colour when unset.
- const themeColor = member?.color
- ? member.color.startsWith("#")
- ? member.color
- : `#${member.color}`
- : DEFAULT_THEME_COLOR;
-
- return {
- themeColor,
- };
-}
-
-export default function MemberLayout({ children }: LayoutProps) {
- return children;
-}
diff --git a/src/app/[member_id]/member.css.ts b/src/app/[member_id]/member.css.ts
deleted file mode 100644
index db2c9fb..0000000
--- a/src/app/[member_id]/member.css.ts
+++ /dev/null
@@ -1,151 +0,0 @@
-/* system/src/app/[member_id]/member.css.ts
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-import { style } from "@vanilla-extract/css";
-import { vars } from "@/styles/theme.css";
-
-export const page = style({
- width: "100%",
- margin: "0 auto",
- padding: "1.5rem",
- paddingTop: "5rem",
-});
-
-export const loadingText = style({
- textAlign: "center",
- fontFamily: vars.fontComic,
- fontWeight: 600,
-});
-
-export const errorWrap = style({
- maxWidth: "28rem",
- margin: "0 auto",
-});
-
-export const errorActions = style({
- marginTop: "1rem",
- textAlign: "center",
-});
-
-export const cardWrap = style({
- maxWidth: "42rem",
- margin: "0 auto",
-});
-
-export const headerCenter = style({
- textAlign: "center",
-});
-
-export const avatarBlock = style({
- marginBottom: "1rem",
- position: "relative",
- display: "inline-block",
-});
-
-/* Status tag — plain bordered box below the avatar, not a floating bubble */
-export const bubbleWrap = style({
- marginTop: "0.75rem",
- display: "flex",
- justifyContent: "center",
-});
-
-export const bubble = style({
- position: "relative",
- backgroundColor: vars.bgDeep,
- border: `1px solid ${vars.surfaceHigher}`,
- borderRadius: vars.radiusSm,
- padding: "0.5rem 1rem",
- maxWidth: "200px",
-});
-
-export const bubbleRow = style({
- display: "flex",
- alignItems: "center",
- gap: "0.5rem",
-});
-
-export const bubbleEmoji = style({ fontSize: "1.125rem" });
-
-export const bubbleText = style({
- fontSize: "0.875rem",
- fontFamily: vars.fontComic,
- fontWeight: 600,
- color: vars.text,
- overflow: "hidden",
- textOverflow: "ellipsis",
- whiteSpace: "nowrap",
-});
-
-export const avatar = style({
- width: "8rem",
- height: "8rem",
- borderRadius: vars.radiusSm,
- margin: "0 auto",
- objectFit: "cover",
- borderWidth: "2px",
- borderStyle: "solid",
- transition: "filter 0.15s ease",
- display: "block",
-});
-
-export const title = style({
- fontSize: "1.875rem",
- fontFamily: vars.fontComic,
- fontWeight: 600,
- transition: "color 0.15s ease",
-});
-
-export const pronouns = style({
- fontFamily: vars.fontComic,
- fontWeight: 600,
- marginTop: "0.25rem",
-});
-
-export const content = style({
- display: "flex",
- flexDirection: "column",
- gap: "1.5rem",
-});
-
-export const sectionTitle = style({
- fontSize: "0.75rem",
- fontFamily: vars.fontComic,
- marginBottom: "0.625rem",
- fontWeight: 700,
- textTransform: "uppercase",
- letterSpacing: "0.08em",
- color: vars.textDim,
-});
-
-export const description = style({
- color: vars.textMuted,
- fontFamily: vars.fontComic,
- fontWeight: 600,
-});
-
-export const tagRow = style({
- display: "flex",
- flexWrap: "wrap",
- gap: "0.5rem",
-});
-
-/** Wraps a Badge so tags/pride identities link back to the filtered member
- * directory (/?tag=... or /?identity=...) without the Badge itself needing
- * to know about navigation. */
-export const tagLink = style({
- textDecoration: "none",
- transition: "opacity 0.15s ease",
- ":hover": { opacity: 0.75 },
- ":focus-visible": {
- outline: `2px solid ${vars.accent}`,
- outlineOffset: "2px",
- },
-});
-
-export const backWrap = style({
- textAlign: "center",
- paddingTop: "1rem",
-});
diff --git a/src/app/[member_id]/page.tsx b/src/app/[member_id]/page.tsx
deleted file mode 100644
index b93e269..0000000
--- a/src/app/[member_id]/page.tsx
+++ /dev/null
@@ -1,319 +0,0 @@
-/* system/src/app/[member_id]/page.tsx
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-"use client";
-
-import React, { useMemo } from "react";
-import Link from "next/link";
-import { useParams } from "next/navigation";
-import {
- useMember,
- useMemberStatus,
- useMembers,
- useRelationships,
- type PluralMember,
-} from "doughmination-api";
-import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
-import { Button } from "@/components/ui/button";
-import { Badge } from "@/components/ui/badge";
-import { Alert, AlertDescription } from "@/components/ui/alert";
-import { normalizeColor, readableOnDark } from "@/lib/utils";
-import { findPrideFlag, prideSwatchGradient } from "@/lib/pride";
-import * as s from "./member.css";
-import { ChevronLeft } from "lucide-react";
-
-const FALLBACK_AVATAR = "https://raw.doughmination.gay/favicons/favicon.png";
-
-export default function MemberDetails() {
- const params = useParams<{ member_id: string }>();
- const member_id = params?.member_id;
-
- // The member endpoint doesn't carry the status note, so fetch it alongside
- // and merge — exactly what the old two-request effect did.
- const memberQuery = useMember(member_id);
- const statusQuery = useMemberStatus(member_id);
- const membersQuery = useMembers();
- const relationshipsQuery = useRelationships();
-
- const loading = memberQuery.isLoading;
- const member = useMemo(() => {
- if (!memberQuery.data) return null;
- return {
- ...memberQuery.data,
- status: statusQuery.data?.status ?? memberQuery.data.status ?? null,
- };
- }, [memberQuery.data, statusQuery.data]);
-
- // Partners: every relationship edge that names this member, resolved to the
- // other member on the edge. A member appearing on several edges is poly.
- const partners = useMemo<PluralMember[]>(() => {
- if (!member) return [];
- const relationships = relationshipsQuery.data?.relationships ?? [];
- const allMembers = membersQuery.data ?? [];
- const isThisMember = (identifier: string) =>
- identifier === member.id || identifier === member.name;
-
- const partnerIds: string[] = [];
- for (const edge of relationships) {
- if (isThisMember(edge.members[0])) partnerIds.push(edge.members[1]);
- else if (isThisMember(edge.members[1])) partnerIds.push(edge.members[0]);
- }
-
- return partnerIds
- .map((identifier) =>
- allMembers.find(
- (candidate) => candidate.id === identifier || candidate.name === identifier,
- ),
- )
- .filter((candidate): candidate is PluralMember => Boolean(candidate));
- }, [member, relationshipsQuery.data, membersQuery.data]);
-
- const error = !member_id
- ? "No member ID provided"
- : memberQuery.isError
- ? "Member not found or error occurred"
- : "";
-
- if (loading) {
- return (
- <div className={s.page}>
- <div className={s.loadingText}>Loading member details...</div>
- </div>
- );
- }
-
- if (error || !member) {
- return (
- <div className={s.page}>
- <div className={s.errorWrap}>
- <Alert variant="destructive">
- <AlertDescription>{error || "Member not found"}</AlertDescription>
- </Alert>
- <div className={s.errorActions}>
- <Button variant="outline" asChild>
- <Link href="/">Back to Home</Link>
- </Button>
- </div>
- </div>
- </div>
- );
- }
-
- const memberColor = normalizeColor(member.color);
- const borderColor = memberColor || "var(--accent)";
- const nameColor = readableOnDark(member.color, "var(--text)");
- const pronounColor = memberColor
- ? `${nameColor}cc`
- : "var(--text-muted)";
-
- return (
- <div className={s.page}>
- <div className={s.cardWrap}>
- <Card>
- <CardHeader className={s.headerCenter}>
- <div className={s.avatarBlock}>
- {/* eslint-disable-next-line @next/next/no-img-element */}
- <img
- src={member.avatar_url || FALLBACK_AVATAR}
- alt={member.display_name || member.name}
- className={s.avatar}
- style={{
- borderColor: borderColor,
- boxShadow: `4px 4px 0 ${borderColor}`,
- }}
- onError={(e) => {
- (e.target as HTMLImageElement).src = FALLBACK_AVATAR;
- }}
- />
- </div>
- <CardTitle
- className={s.title}
- style={{ color: nameColor }}
- >
- {member.display_name || member.name}
- </CardTitle>
- {member.pronouns && (
- <p
- className={s.pronouns}
- style={{
- color: pronounColor,
- }}
- >
- {member.pronouns}
- </p>
- )}
- {/* Status tag — plain bordered box, replaces the old thought bubble */}
- {member.status && (
- <div className={s.bubbleWrap}>
- <div className={s.bubble}>
- <div className={s.bubbleRow}>
- {member.status.emoji && (
- <span className={s.bubbleEmoji}>{member.status.emoji}</span>
- )}
- <span className={s.bubbleText}>{member.status.text}</span>
- </div>
- </div>
- </div>
- )}
- </CardHeader>
- <CardContent className={s.content}>
- {member.description && (
- <div>
- <h3
- className={s.sectionTitle}
- style={{ color: nameColor }}
- >
- About
- </h3>
- <p className={s.description}>{member.description}</p>
- </div>
- )}
-
- {member.tags && member.tags.length > 0 && (
- <div>
- <h3
- className={s.sectionTitle}
- style={{ color: nameColor }}
- >
- Tags
- </h3>
- <div className={s.tagRow}>
- {member.tags.map((tag, index) => (
- <Link key={index} href={`/?tag=${encodeURIComponent(tag)}`} className={s.tagLink}>
- <Badge
- variant="secondary"
- style={
- memberColor
- ? {
- backgroundColor: `${memberColor}20`,
- borderColor: memberColor,
- color: memberColor,
- borderWidth: "1px",
- }
- : undefined
- }
- >
- {tag}
- </Badge>
- </Link>
- ))}
- </div>
- </div>
- )}
-
- {member.pride && member.pride.length > 0 && (
- <div>
- <h3
- className={s.sectionTitle}
- style={{ color: nameColor }}
- >
- Pride
- </h3>
- <div className={s.tagRow}>
- {member.pride.map((identity) => {
- const flag = findPrideFlag(identity);
- const swatch = flag
- ? prideSwatchGradient(flag.stripes)
- : "var(--accent)";
- return (
- <Link
- key={identity}
- href={`/?identity=${encodeURIComponent(identity)}`}
- className={s.tagLink}
- >
- <Badge variant="secondary">
- <span
- aria-hidden
- style={{
- display: "inline-block",
- width: "0.8rem",
- height: "0.8rem",
- borderRadius: "var(--radius-sm)",
- marginRight: "0.4rem",
- verticalAlign: "middle",
- background: swatch,
- border: "1px solid rgba(0,0,0,0.35)",
- }}
- />
- {identity}
- </Badge>
- </Link>
- );
- })}
- </div>
- </div>
- )}
-
- {partners.length > 0 && (
- <div>
- <h3
- className={s.sectionTitle}
- style={{ color: nameColor }}
- >
- Partners
- </h3>
- <div className={s.tagRow}>
- {partners.map((partner) => (
- <Link
- key={partner.id}
- href={`/${partner.name ?? partner.id}`}
- style={{
- display: "inline-flex",
- alignItems: "center",
- gap: "0.4rem",
- padding: "0.25rem 0.6rem 0.25rem 0.3rem",
- borderRadius: "var(--radius-sm)",
- border: "1px solid var(--surface-higher)",
- textDecoration: "none",
- color: "var(--text)",
- }}
- >
- {/* eslint-disable-next-line @next/next/no-img-element */}
- <img
- src={partner.avatar_url || FALLBACK_AVATAR}
- alt={partner.display_name || partner.name}
- style={{
- width: "1.5rem",
- height: "1.5rem",
- borderRadius: "var(--radius-sm)",
- objectFit: "cover",
- }}
- onError={(event) => {
- (event.target as HTMLImageElement).src = FALLBACK_AVATAR;
- }}
- />
- <span>{partner.display_name || partner.name}</span>
- </Link>
- ))}
- </div>
- </div>
- )}
-
- <div className={s.backWrap}>
- <Button
- variant="outline"
- asChild
- style={
- memberColor
- ? {
- borderColor: memberColor,
- color: memberColor,
- }
- : undefined
- }
- >
- <Link href="/">
- <ChevronLeft size={12} strokeWidth={2.4} style={{ marginRight: "0.4rem", verticalAlign: "-1px" }} />
- Back to Members
- </Link>
- </Button>
- </div>
- </CardContent>
- </Card>
- </div>
- </div>
- );
-}
diff --git a/src/app/admin/dash/page.tsx b/src/app/admin/dash/page.tsx
deleted file mode 100644
index e16e62e..0000000
--- a/src/app/admin/dash/page.tsx
+++ /dev/null
@@ -1,192 +0,0 @@
-/* system/src/app/admin/dash/page.tsx
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-"use client";
-
-import React, { useState } from "react";
-import Link from "next/link";
-import { useDoughminationClient, isDoughminationError } from "doughmination-api";
-import { Button } from "@/components/ui/button";
-import { Alert, AlertDescription } from "@/components/ui/alert";
-import ProtectedRoute from "@/components/ProtectedRoute";
-import * as s from "@/styles/admin.css";
-import {
- RefreshCw,
- Activity,
- MessageSquareText,
- Tag,
- Flag,
- Contrast,
- HardDrive,
- ArrowLeft,
-} from "lucide-react";
-
-const AdminDash: React.FC = () => {
- const client = useDoughminationClient();
- const [refreshing, setRefreshing] = useState(false);
- const [message, setMessage] = useState<{ type: "success" | "error"; content: string } | null>(
- null,
- );
-
- const adminPages = [
- {
- path: "/admin/switch",
- label: "Switch Manager",
- icon: RefreshCw,
- desc: "Manage fronting members"
- },
- {
- path: "/admin/mental",
- label: "Mental Health",
- icon: Activity,
- desc: "Update mental state"
- },
- {
- path: "/admin/status",
- label: "Status Manager",
- icon: MessageSquareText,
- desc: "Set member statuses"
- },
- {
- path: "/admin/tags",
- label: "Tag Manager",
- icon: Tag,
- desc: "Manage member tags"
- },
- {
- path: "/admin/pride",
- label: "Pride Manager",
- icon: Flag,
- desc: "Set member pride identities"
- },
- {
- path: "/admin/relationships",
- label: "Relationships",
- icon: Contrast,
- desc: "Map who is dating who",
- },
- {
- path: "https://doughmination.uk/docs",
- label: "API Endpoints",
- icon: HardDrive,
- desc: "View API reference",
- external: true,
- },
- ];
-
- const handleForceRefresh = async () => {
- if (!window.confirm("This will reload the website for ALL connected users. Are you sure?")) {
- return;
- }
-
- setRefreshing(true);
- setMessage(null);
-
- try {
- await client.forceRefresh();
-
- setMessage({
- type: "success",
- content:
- "Refresh command sent to all connected clients! The page will reload in 3 seconds...",
- });
-
- // Reload this page after 3 seconds
- setTimeout(() => {
- window.location.reload();
- }, 3000);
- } catch (err: unknown) {
- setMessage({
- type: "error",
- content: isDoughminationError(err) ? err.message : "Failed to send refresh command",
- });
- setRefreshing(false);
- }
- };
-
- return (
- <div className={s.page}>
- <div className={s.wrapNarrow}>
- {/* Header */}
- <div className={s.headerRow}>
- <div>
- <h1 className={s.pageTitle}>Admin Dashboard</h1>
- <p className={s.pageSubtitle}>System management hub</p>
- </div>
- <Button variant="outline" asChild>
- <Link href="/">
- <ArrowLeft className={s.btnIcon} />
- Back to Home
- </Link>
- </Button>
- </div>
-
- {/* Messages */}
- {message && (
- <Alert variant={message.type === "error" ? "destructive" : "default"}>
- <AlertDescription>{message.content}</AlertDescription>
- </Alert>
- )}
-
- {/* Force Refresh Button */}
- <div className={s.dangerBanner}>
- <div className={s.dangerBannerRow}>
- <div className={s.flexGrow}>
- <h3 className={s.dangerBannerTitle}>[ danger ] Force Refresh All Clients</h3>
- <p className={s.dangerBannerText}>
- Send a refresh command to all users currently viewing the website. This will
- immediately reload their browsers.
- </p>
- </div>
- <Button
- variant="destructive"
- onClick={handleForceRefresh}
- disabled={refreshing}
- className={s.noWrap}
- >
- {refreshing ? "Sending..." : "Refresh All"}
- </Button>
- </div>
- </div>
-
- {/* Admin Navigation Grid */}
- <div className={s.dashGrid}>
- {adminPages.map((page) =>
- page.external ? (
- <a key={page.path} href={page.path} target="_blank" rel="noopener noreferrer">
- <div className={s.dashCard}>
- <div className={s.dashIconBlock}>
- <page.icon className={s.dashIcon} />
- </div>
- <h3 className={s.dashLabel}>{page.label}</h3>
- <p className={s.dashDesc}>{page.desc}</p>
- </div>
- </a>
- ) : (
- <Link key={page.path} href={page.path}>
- <div className={s.dashCard}>
- <div className={s.dashIconBlock}>
- <page.icon className={s.dashIcon} />
- </div>
- <h3 className={s.dashLabel}>{page.label}</h3>
- <p className={s.dashDesc}>{page.desc}</p>
- </div>
- </Link>
- ),
- )}
- </div>
- </div>
- </div>
- );
-};
-
-export default function AdminDashPage() {
- return (
- <ProtectedRoute adminRequired>
- <AdminDash />
- </ProtectedRoute>
- );
-}
diff --git a/src/app/admin/mental/mental.css.ts b/src/app/admin/mental/mental.css.ts
deleted file mode 100644
index 748b598..0000000
--- a/src/app/admin/mental/mental.css.ts
+++ /dev/null
@@ -1,84 +0,0 @@
-/* system/src/app/admin/mental/mental.css.ts
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-import { style } from "@vanilla-extract/css";
-import { vars } from "@/styles/theme.css";
-
-const tint = (color: string, pct: number) =>
- `color-mix(in srgb, ${color} ${pct}%, ${vars.bg})`;
-
-export const stateCardBase = style({
- borderWidth: "1px",
-});
-
-export const stateSafe = style({
- backgroundColor: tint(vars.success, 12),
- borderColor: vars.success,
-});
-
-export const stateUnstable = style({
- backgroundColor: tint(vars.warning, 12),
- borderColor: vars.warning,
-});
-
-export const stateIdealizing = style({
- backgroundColor: tint(vars.peach, 12),
- borderColor: vars.peach,
-});
-
-export const stateSelfHarming = style({
- backgroundColor: tint(vars.danger, 12),
- borderColor: vars.danger,
-});
-
-export const stateHighRisk = style({
- backgroundColor: tint(vars.maroon, 18),
- borderColor: vars.maroon,
-});
-
-export const currentRow = style({
- display: "flex",
- alignItems: "center",
- gap: "0.75rem",
- marginBottom: "0.75rem",
-});
-
-export const currentIcon = style({ width: "2rem", height: "2rem", flexShrink: 0 });
-
-export const currentLabel = style({
- fontFamily: vars.fontComic,
- fontWeight: 700,
- fontSize: "1.25rem",
-});
-
-export const currentNotes = style({
- fontSize: "0.875rem",
- color: vars.textMuted,
- fontFamily: vars.fontComic,
- fontWeight: 600,
- marginTop: "0.25rem",
-});
-
-export const select = style({
- width: "100%",
- padding: "0.5rem",
- border: `1px solid ${vars.surfaceHigher}`,
- borderRadius: vars.radiusSm,
- backgroundColor: vars.surface,
- color: vars.text,
- fontFamily: vars.fontComic,
-});
-
-export const textarea = style({
- width: "100%",
- padding: "0.5rem",
- border: `1px solid ${vars.surfaceHigher}`,
- borderRadius: vars.radiusSm,
- backgroundColor: vars.surface,
- color: vars.text,
- fontFamily: vars.fontComic,
- resize: "none",
-});
diff --git a/src/app/admin/mental/page.tsx b/src/app/admin/mental/page.tsx
deleted file mode 100644
index 1078070..0000000
--- a/src/app/admin/mental/page.tsx
+++ /dev/null
@@ -1,238 +0,0 @@
-/* system/src/app/admin/mental/page.tsx
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-"use client";
-
-import React, { useState, useEffect, useRef } from "react";
-import Link from "next/link";
-import {
- useMentalState,
- useSetMentalState,
- isDoughminationError,
-} from "doughmination-api";
-import { Card, CardContent, CardHeader, CardTitle, CardDescription } from "@/components/ui/card";
-import { Button } from "@/components/ui/button";
-import { Label } from "@/components/ui/label";
-import { Alert, AlertDescription } from "@/components/ui/alert";
-import ProtectedRoute from "@/components/ProtectedRoute";
-import { cn } from "@/lib/utils";
-import * as s from "@/styles/admin.css";
-import * as m from "./mental.css";
-import {
- CircleCheck,
- TriangleAlert,
- CircleAlert,
- OctagonAlert,
- ShieldAlert,
-} from "lucide-react";
-
-const MentalHealthManager: React.FC = () => {
- // Live current state; the socket keeps this current after any admin saves.
- const mentalQuery = useMentalState();
- const setMental = useSetMentalState();
- const mentalState = mentalQuery.data ?? null;
- const loading = mentalQuery.isLoading;
-
- const [selectedMentalState, setSelectedMentalState] = useState("");
- const [mentalStateNotes, setMentalStateNotes] = useState("");
- const [saving, setSaving] = useState(false);
- const [message, setMessage] = useState<{ type: "success" | "error"; content: string } | null>(
- null,
- );
-
- // Seed the form once from the current state.
- const seeded = useRef(false);
- useEffect(() => {
- if (!seeded.current && mentalQuery.data) {
- seeded.current = true;
- setSelectedMentalState(mentalQuery.data.level);
- setMentalStateNotes(mentalQuery.data.notes || "");
- }
- }, [mentalQuery.data]);
-
- const mentalStateOptions = [
- {
- value: "safe",
- label: "Safe",
- icon: CircleCheck,
- className: m.stateSafe
- },
- {
- value: "unstable",
- label: "Unstable",
- icon: TriangleAlert,
- className: m.stateUnstable
- },
- {
- value: "idealizing",
- label: "Idealizing",
- icon: CircleAlert,
- className: m.stateIdealizing
- },
- {
- value: "self-harming",
- label: "Self-Harming",
- icon: OctagonAlert,
- className: m.stateSelfHarming
- },
- {
- value: "highly at risk",
- label: "Highly At Risk",
- icon: ShieldAlert,
- className: m.stateHighRisk
- },
- ];
-
- const handleUpdateMentalState = async () => {
- if (!selectedMentalState) {
- setMessage({
- type: "error",
- content: "Please select a mental state level."
- });
- return;
- }
-
- setMessage(null);
- setSaving(true);
-
- try {
- await setMental.mutateAsync({
- level: selectedMentalState,
- notes: mentalStateNotes.trim() || undefined,
- });
- setMessage({
- type: "success",
- content: "Mental state updated successfully."
- });
- } catch (error: unknown) {
- console.error("Mental state update error:", error);
- setMessage({
- type: "error",
- content: isDoughminationError(error) ? error.message : "An unknown error occurred",
- });
- } finally {
- setSaving(false);
- }
- };
-
- const getCurrentStateConfig = () => {
- if (!mentalState) return null;
- return mentalStateOptions.find((opt) => opt.value === mentalState.level);
- };
-
- if (loading) {
- return (
- <div className={s.page}>
- <div className={s.loadingText}>Loading...</div>
- </div>
- );
- }
-
- return (
- <div className={s.page}>
- <div className={s.wrapNarrow}>
- {/* Header */}
- <div className={s.headerRow}>
- <div>
- <h1 className={s.pageTitle}>Mental Health Manager</h1>
- <p className={s.pageSubtitle}>Update system mental state</p>
- </div>
- <Button variant="outline" asChild>
- <Link href="/admin/dash">Back to Dashboard</Link>
- </Button>
- </div>
-
- {/* Messages */}
- {message && (
- <Alert variant={message.type === "error" ? "destructive" : "default"}>
- <AlertDescription>{message.content}</AlertDescription>
- </Alert>
- )}
-
- {/* Current Mental State Display */}
- {mentalState && getCurrentStateConfig() && (() => {
- const StateIcon = getCurrentStateConfig()?.icon;
- return (
- <Card className={cn(m.stateCardBase, getCurrentStateConfig()?.className)}>
- <CardHeader>
- <CardTitle>Current Status</CardTitle>
- </CardHeader>
- <CardContent>
- <div className={m.currentRow}>
- {StateIcon && <StateIcon className={m.currentIcon} />}
- <div>
- <p className={m.currentLabel}>{getCurrentStateConfig()?.label}</p>
- {mentalState.notes && <p className={m.currentNotes}>{mentalState.notes}</p>}
- </div>
- </div>
- <p className={s.smallMuted}>
- Last updated: {new Date(mentalState.updated_at).toLocaleString()}
- </p>
- </CardContent>
- </Card>
- );
- })()}
-
- {/* Update Form */}
- <Card>
- <CardHeader>
- <CardTitle>Update Mental State</CardTitle>
- <CardDescription>Select a new mental state level</CardDescription>
- </CardHeader>
- <CardContent className={s.formStack}>
- {/* Mental State Selection */}
- <div className={s.fieldBlock}>
- <Label htmlFor="mental-state-select">Mental State Level</Label>
- <select
- id="mental-state-select"
- value={selectedMentalState}
- onChange={(e) => setSelectedMentalState(e.target.value)}
- className={m.select}
- >
- <option value="">-- Select mental state --</option>
- {mentalStateOptions.map((option) => (
- <option key={option.value} value={option.value}>
- {option.label}
- </option>
- ))}
- </select>
- </div>
-
- {/* Notes */}
- <div className={s.fieldBlock}>
- <Label htmlFor="mental-state-notes">Notes (optional)</Label>
- <textarea
- id="mental-state-notes"
- value={mentalStateNotes}
- onChange={(e) => setMentalStateNotes(e.target.value)}
- placeholder="Add any additional notes about the current mental state..."
- rows={3}
- className={m.textarea}
- />
- </div>
-
- {/* Submit Button */}
- <Button
- onClick={handleUpdateMentalState}
- disabled={saving || !selectedMentalState}
- className={s.fullWidth}
- >
- {saving ? "Updating..." : "Update Mental State"}
- </Button>
- </CardContent>
- </Card>
- </div>
- </div>
- );
-};
-
-export default function MentalHealthManagerPage() {
- return (
- <ProtectedRoute adminRequired>
- <MentalHealthManager />
- </ProtectedRoute>
- );
-}
diff --git a/src/app/admin/pride/page.tsx b/src/app/admin/pride/page.tsx
deleted file mode 100644
index ac0207e..0000000
--- a/src/app/admin/pride/page.tsx
+++ /dev/null
@@ -1,272 +0,0 @@
-/* system/src/app/admin/pride/page.tsx
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-"use client";
-
-import React, { useMemo, useState } from "react";
-import Link from "next/link";
-import { Card, CardContent, CardHeader, CardTitle, CardDescription } from "@/components/ui/card";
-import { Button } from "@/components/ui/button";
-import { Label } from "@/components/ui/label";
-import { Alert, AlertDescription } from "@/components/ui/alert";
-import {
- Select,
- SelectContent,
- SelectItem,
- SelectTrigger,
- SelectValue,
-} from "@/components/ui/select";
-import ProtectedRoute from "@/components/ProtectedRoute";
-import {
- useMembers,
- useSetMemberPride,
- type PluralMember,
-} from "doughmination-api";
-import { PRIDE_FLAGS, findPrideFlag, prideSwatchGradient } from "@/lib/pride";
-import * as s from "@/styles/admin.css";
-
-const FALLBACK_AVATAR = "https://raw.doughmination.gay/favicons/favicon.png";
-
-const PrideSwatch: React.FC<{ label: string }> = ({ label }) => {
- const flag = findPrideFlag(label);
- const background = flag
- ? prideSwatchGradient(flag.stripes)
- : "var(--accent)";
- return (
- <span
- aria-hidden
- style={{
- display: "inline-block",
- width: "0.9rem",
- height: "0.9rem",
- borderRadius: "var(--radius-sm)",
- background,
- border: "1px solid rgba(0,0,0,0.35)",
- }}
- />
- );
-};
-
-const PrideManager: React.FC = () => {
- const membersQuery = useMembers();
- const setPride = useSetMemberPride();
-
- const members = useMemo(() => {
- const list = membersQuery.data ?? [];
- return [...list].sort((memberA, memberB) =>
- (memberA.display_name || memberA.name || "")
- .toLowerCase()
- .localeCompare((memberB.display_name || memberB.name || "").toLowerCase()),
- );
- }, [membersQuery.data]);
-
- const [selectedMember, setSelectedMember] = useState<string>("");
- const [message, setMessage] = useState<{ type: "success" | "error"; content: string } | null>(
- null,
- );
-
- const getSelectedMember = (): PluralMember | undefined =>
- members.find((member) => member.name === selectedMember);
-
- const runChange = async (
- identifier: string,
- identity: string,
- action: "add" | "remove",
- ) => {
- setMessage(null);
- try {
- await setPride.mutateAsync({
- identifier,
- identity,
- action
- });
- await membersQuery.refetch();
- setMessage({
- type: "success",
- content: action === "add" ? "Pride identity added!" : "Pride identity removed!",
- });
- } catch (err: unknown) {
- setMessage({
- type: "error",
- content: err instanceof Error ? err.message : "Failed to update pride identity",
- });
- }
- };
-
- const selected = getSelectedMember();
- const selectedPride = selected?.pride ?? [];
-
- if (membersQuery.isLoading) {
- return (
- <div className={s.page}>
- <div className={s.loadingText}>Loading...</div>
- </div>
- );
- }
-
- return (
- <div className={s.page}>
- <div className={s.wrap}>
- <div className={s.headerRow}>
- <div>
- <h1 className={s.pageTitle}>Pride Manager</h1>
- <p className={s.pageSubtitle}>Assign pride identities to members</p>
- </div>
- <Button variant="outline" asChild>
- <Link href="/admin/dash">Back to Dashboard</Link>
- </Button>
- </div>
-
- {message && (
- <Alert variant={message.type === "error" ? "destructive" : "default"}>
- <AlertDescription>{message.content}</AlertDescription>
- </Alert>
- )}
-
- <Card>
- <CardHeader>
- <CardTitle>Set Pride Identities</CardTitle>
- <CardDescription>Select a member, then toggle identities on or off</CardDescription>
- </CardHeader>
- <CardContent className={s.formStack}>
- <div className={s.fieldBlock}>
- <Label htmlFor="member-select">Select Member</Label>
- <Select value={selectedMember} onValueChange={setSelectedMember}>
- <SelectTrigger id="member-select">
- <SelectValue placeholder="Choose a member..." />
- </SelectTrigger>
- <SelectContent>
- {members.map((member) => (
- <SelectItem key={member.id} value={member.name ?? ""}>
- <div className={s.inlineRow}>
- {/* eslint-disable-next-line @next/next/no-img-element */}
- <img
- src={member.avatar_url || FALLBACK_AVATAR}
- alt={member.display_name || member.name}
- className={s.memberAvatarSm}
- onError={(event) => {
- (event.target as HTMLImageElement).src = FALLBACK_AVATAR;
- }}
- />
- <span>{member.display_name || member.name}</span>
- {member.pride && member.pride.length > 0 && (
- <span className={s.smallMuted}>
- ({member.pride.length})
- </span>
- )}
- </div>
- </SelectItem>
- ))}
- </SelectContent>
- </Select>
- </div>
-
- {selected && selectedPride.length > 0 && (
- <div className={s.statusBox}>
- <p className={s.smallMuted}>Current identities:</p>
- <div className={s.chipRow}>
- {selectedPride.map((identity) => (
- <span key={identity} className={s.chip}>
- <PrideSwatch label={identity} />
- <span style={{ margin: "0 0.35rem" }}>{identity}</span>
- <button
- type="button"
- onClick={() => runChange(selected.name ?? "", identity, "remove")}
- className={s.chipRemove}
- title={`Remove ${identity}`}
- disabled={setPride.isPending}
- >
- ×
- </button>
- </span>
- ))}
- </div>
- </div>
- )}
-
- {selected && (
- <div className={s.fieldBlock}>
- <Label>Add an identity</Label>
- <div className={s.chipRow}>
- {PRIDE_FLAGS.filter((flag) => !selectedPride.includes(flag.label)).map((flag) => (
- <button
- key={flag.label}
- type="button"
- onClick={() => runChange(selected.name ?? "", flag.label, "add")}
- className={s.chip}
- style={{
- cursor: "pointer",
- border: "none"
- }}
- disabled={setPride.isPending}
- >
- <PrideSwatch label={flag.label} />
- <span style={{ marginLeft: "0.35rem" }}>{flag.label}</span>
- </button>
- ))}
- </div>
- </div>
- )}
- </CardContent>
- </Card>
-
- <Card>
- <CardHeader>
- <CardTitle>All Members</CardTitle>
- <CardDescription>
- {members.filter((member) => member.pride && member.pride.length > 0).length} member(s)
- with pride identities
- </CardDescription>
- </CardHeader>
- <CardContent>
- <div className={s.listStack}>
- {members.map((member) => (
- <div
- key={member.id}
- onClick={() => setSelectedMember(member.name ?? "")}
- className={s.memberRow}
- >
- {/* eslint-disable-next-line @next/next/no-img-element */}
- <img
- src={member.avatar_url || FALLBACK_AVATAR}
- alt={member.display_name || member.name}
- className={s.userAvatar}
- onError={(event) => {
- (event.target as HTMLImageElement).src = FALLBACK_AVATAR;
- }}
- />
- <div className={s.userInfo}>
- <p className={s.userName}>{member.display_name || member.name}</p>
- {member.pride && member.pride.length > 0 ? (
- <div className={s.chipRow} style={{ marginTop: "0.5rem" }}>
- {member.pride.map((identity) => (
- <span key={identity} className={s.chip}>
- <PrideSwatch label={identity} />
- <span style={{ marginLeft: "0.35rem" }}>{identity}</span>
- </span>
- ))}
- </div>
- ) : (
- <p className={s.smallMuted}>No pride identities</p>
- )}
- </div>
- </div>
- ))}
- </div>
- </CardContent>
- </Card>
- </div>
- </div>
- );
-};
-
-export default function PrideManagerPage() {
- return (
- <ProtectedRoute ownerRequired>
- <PrideManager />
- </ProtectedRoute>
- );
-}
diff --git a/src/app/admin/relationships/page.tsx b/src/app/admin/relationships/page.tsx
deleted file mode 100644
index c7b7e82..0000000
--- a/src/app/admin/relationships/page.tsx
+++ /dev/null
@@ -1,286 +0,0 @@
-/* system/src/app/admin/relationships/page.tsx
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-"use client";
-
-import React, { useMemo, useState } from "react";
-import Link from "next/link";
-import { Card, CardContent, CardHeader, CardTitle, CardDescription } from "@/components/ui/card";
-import { Button } from "@/components/ui/button";
-import { Input } from "@/components/ui/input";
-import { Label } from "@/components/ui/label";
-import { Alert, AlertDescription } from "@/components/ui/alert";
-import {
- Select,
- SelectContent,
- SelectItem,
- SelectTrigger,
- SelectValue,
-} from "@/components/ui/select";
-import ProtectedRoute from "@/components/ProtectedRoute";
-import {
- useMembers,
- useRelationships,
- useAddRelationship,
- useRemoveRelationship,
- type PluralMember,
-} from "doughmination-api";
-import * as s from "@/styles/admin.css";
-
-const FALLBACK_AVATAR = "https://raw.doughmination.gay/favicons/favicon.png";
-
-const RELATIONSHIP_TYPES = ["partner", "spouse", "queerplatonic", "datemate", "crush"];
-
-const RelationshipManager: React.FC = () => {
- const membersQuery = useMembers();
- const relationshipsQuery = useRelationships();
- const addRelationship = useAddRelationship();
- const removeRelationship = useRemoveRelationship();
-
- const members = useMemo(() => {
- const list = membersQuery.data ?? [];
- return [...list].sort((memberA, memberB) =>
- (memberA.display_name || memberA.name || "")
- .toLowerCase()
- .localeCompare((memberB.display_name || memberB.name || "").toLowerCase()),
- );
- }, [membersQuery.data]);
-
- const memberById = useMemo(() => {
- const lookup = new Map<string, PluralMember>();
- for (const member of members) {
- if (member.id) lookup.set(member.id, member);
- if (member.name) lookup.set(member.name, member);
- }
- return lookup;
- }, [members]);
-
- const relationships = relationshipsQuery.data?.relationships ?? [];
-
- const [memberA, setMemberA] = useState<string>("");
- const [memberB, setMemberB] = useState<string>("");
- const [type, setType] = useState<string>("partner");
- const [since, setSince] = useState<string>("");
- const [message, setMessage] = useState<{ type: "success" | "error"; content: string } | null>(
- null,
- );
-
- const labelFor = (identifier: string): string => {
- const member = memberById.get(identifier);
- return member?.display_name || member?.name || identifier;
- };
-
- const handleAdd = async () => {
- setMessage(null);
- if (!memberA || !memberB) {
- setMessage({
- type: "error",
- content: "Pick two members"
- });
- return;
- }
- if (memberA === memberB) {
- setMessage({
- type: "error",
- content: "Pick two different members"
- });
- return;
- }
- try {
- await addRelationship.mutateAsync({
- memberA,
- memberB,
- type,
- since: since || null,
- });
- setMemberA("");
- setMemberB("");
- setSince("");
- setType("partner");
- setMessage({
- type: "success",
- content: "Relationship added!"
- });
- } catch (err: unknown) {
- setMessage({
- type: "error",
- content: err instanceof Error ? err.message : "Failed to add relationship",
- });
- }
- };
-
- const handleRemove = async (id: string, pairLabel: string) => {
- if (!window.confirm(`Remove the relationship between ${pairLabel}?`)) return;
- setMessage(null);
- try {
- await removeRelationship.mutateAsync(id);
- setMessage({
- type: "success",
- content: "Relationship removed!"
- });
- } catch (err: unknown) {
- setMessage({
- type: "error",
- content: err instanceof Error ? err.message : "Failed to remove relationship",
- });
- }
- };
-
- if (membersQuery.isLoading) {
- return (
- <div className={s.page}>
- <div className={s.loadingText}>Loading...</div>
- </div>
- );
- }
-
- return (
- <div className={s.page}>
- <div className={s.wrap}>
- <div className={s.headerRow}>
- <div>
- <h1 className={s.pageTitle}>Relationship Manager</h1>
- <p className={s.pageSubtitle}>Map who is dating who across the system</p>
- </div>
- <div className={s.inlineRow}>
- <Button variant="outline" asChild>
- <Link href="/relationships">View Map</Link>
- </Button>
- <Button variant="outline" asChild>
- <Link href="/admin/dash">Back to Dashboard</Link>
- </Button>
- </div>
- </div>
-
- {message && (
- <Alert variant={message.type === "error" ? "destructive" : "default"}>
- <AlertDescription>{message.content}</AlertDescription>
- </Alert>
- )}
-
- <Card>
- <CardHeader>
- <CardTitle>Add Relationship</CardTitle>
- <CardDescription>Link two members. A member can have many.</CardDescription>
- </CardHeader>
- <CardContent className={s.formStack}>
- <div className={s.fieldBlock}>
- <Label htmlFor="member-a">First Member</Label>
- <Select value={memberA} onValueChange={setMemberA}>
- <SelectTrigger id="member-a">
- <SelectValue placeholder="Choose a member..." />
- </SelectTrigger>
- <SelectContent>
- {members.map((member) => (
- <SelectItem key={member.id} value={member.id}>
- {member.display_name || member.name}
- </SelectItem>
- ))}
- </SelectContent>
- </Select>
- </div>
-
- <div className={s.fieldBlock}>
- <Label htmlFor="member-b">Second Member</Label>
- <Select value={memberB} onValueChange={setMemberB}>
- <SelectTrigger id="member-b">
- <SelectValue placeholder="Choose a member..." />
- </SelectTrigger>
- <SelectContent>
- {members.map((member) => (
- <SelectItem key={member.id} value={member.id}>
- {member.display_name || member.name}
- </SelectItem>
- ))}
- </SelectContent>
- </Select>
- </div>
-
- <div className={s.fieldBlock}>
- <Label htmlFor="rel-type">Type</Label>
- <Select value={type} onValueChange={setType}>
- <SelectTrigger id="rel-type">
- <SelectValue />
- </SelectTrigger>
- <SelectContent>
- {RELATIONSHIP_TYPES.map((option) => (
- <SelectItem key={option} value={option}>
- {option}
- </SelectItem>
- ))}
- </SelectContent>
- </Select>
- </div>
-
- <div className={s.fieldBlock}>
- <Label htmlFor="rel-since">Since (optional)</Label>
- <Input
- id="rel-since"
- type="date"
- value={since}
- onChange={(event) => setSince(event.target.value)}
- />
- </div>
-
- <Button
- onClick={handleAdd}
- disabled={addRelationship.isPending || !memberA || !memberB}
- className={s.fullWidth}
- >
- {addRelationship.isPending ? "Adding..." : "Add Relationship"}
- </Button>
- </CardContent>
- </Card>
-
- <Card>
- <CardHeader>
- <CardTitle>All Relationships</CardTitle>
- <CardDescription>
- {relationships.length} link{relationships.length !== 1 ? "s" : ""}
- </CardDescription>
- </CardHeader>
- <CardContent>
- {relationships.length > 0 ? (
- <div className={s.listStack}>
- {relationships.map((edge) => {
- const pairLabel = `${labelFor(edge.members[0])} & ${labelFor(edge.members[1])}`;
- return (
- <div key={edge.id} className={s.memberRow}>
- <div className={s.userInfo}>
- <p className={s.userName}>{pairLabel}</p>
- <p className={s.smallMuted}>
- {edge.type}
- {edge.since ? ` · since ${edge.since}` : ""}
- </p>
- </div>
- <Button
- variant="outline"
- onClick={() => handleRemove(edge.id, pairLabel)}
- disabled={removeRelationship.isPending}
- >
- Remove
- </Button>
- </div>
- );
- })}
- </div>
- ) : (
- <p className={s.emptyNote}>No relationships yet</p>
- )}
- </CardContent>
- </Card>
- </div>
- </div>
- );
-};
-
-export default function RelationshipManagerPage() {
- return (
- <ProtectedRoute ownerRequired>
- <RelationshipManager />
- </ProtectedRoute>
- );
-}
diff --git a/src/app/admin/status/page.tsx b/src/app/admin/status/page.tsx
deleted file mode 100644
index db306b5..0000000
--- a/src/app/admin/status/page.tsx
+++ /dev/null
@@ -1,406 +0,0 @@
-/* system/src/app/admin/status/page.tsx
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-"use client";
-
-import React, { useState, useEffect, useMemo } from "react";
-import Link from "next/link";
-import {
- useMembers,
- useDoughminationClient,
- isDoughminationError,
- type PluralMember,
-} from "doughmination-api";
-import { Button } from "@/components/ui/button";
-import { Input } from "@/components/ui/input";
-import { Label } from "@/components/ui/label";
-import { Alert, AlertDescription } from "@/components/ui/alert";
-import { Card, CardContent, CardHeader, CardTitle, CardDescription } from "@/components/ui/card";
-import {
- Select,
- SelectContent,
- SelectItem,
- SelectTrigger,
- SelectValue,
-} from "@/components/ui/select";
-import ProtectedRoute from "@/components/ProtectedRoute";
-import * as s from "@/styles/admin.css";
-
-type Member = PluralMember;
-
-const EMOJI_SUGGESTIONS = [
- "💤", "🎮", "📚", "🎨", "🎵", "💻", "🌙", "☀️",
- "🍕", "☕", "🎬", "✨", "💭", "😴", "🏃", "🧘",
-];
-
-const FALLBACK_AVATAR = "https://raw.doughmination.gay/favicons/favicon.png";
-
-// The package client covers setting a status; clearing it uses a DELETE the
-// client doesn't wrap, so this one endpoint is called inline.
-async function deleteMemberStatus(baseUrl: string, identifier: string): Promise<void> {
- const token = localStorage.getItem("token");
- const response = await fetch(
- `${baseUrl}/plural/members/${encodeURIComponent(identifier)}/status`,
- {
- method: "DELETE",
- headers: token ? { Authorization: `Bearer ${token}` } : {},
- },
- );
-
- if (!response.ok) {
- const body = await response.json().catch(() => null);
- throw new Error(body?.detail || body?.error?.message || "Failed to clear status");
- }
-}
-
-function StatusManager() {
- const client = useDoughminationClient();
- const membersQuery = useMembers();
-
- const members = useMemo(() => {
- const list = membersQuery.data ?? [];
- return [...list].sort((a, b) =>
- (a.display_name || a.name || "")
- .toLowerCase()
- .localeCompare((b.display_name || b.name || "").toLowerCase()),
- );
- }, [membersQuery.data]);
-
- const loading = membersQuery.isLoading;
-
- const [selectedMember, setSelectedMember] = useState<string>("");
- const [statusText, setStatusText] = useState("");
- const [emoji, setEmoji] = useState("");
- const [saving, setSaving] = useState(false);
- const [message, setMessage] = useState<{ type: "success" | "error"; content: string } | null>(
- null,
- );
-
- useEffect(() => {
- if (selectedMember) {
- const member = members.find((m) => m.name === selectedMember);
- if (member?.status) {
- setStatusText(member.status.text);
- setEmoji(member.status.emoji || "");
- } else {
- setStatusText("");
- setEmoji("");
- }
- }
- }, [selectedMember, members]);
-
- const handleSubmit = async (e: React.FormEvent) => {
- e.preventDefault();
-
- if (!selectedMember) {
- setMessage({
- type: "error",
- content: "Please select a member"
- });
- return;
- }
-
- if (!statusText.trim()) {
- setMessage({
- type: "error",
- content: "Status text is required"
- });
- return;
- }
-
- if (statusText.length > 100) {
- setMessage({
- type: "error",
- content: "Status must be ≤ 100 chars"
- });
- return;
- }
-
- setSaving(true);
- setMessage(null);
-
- try {
- await client.setMemberStatus(selectedMember, {
- text: statusText.trim(),
- emoji: emoji || undefined,
- });
-
- setMessage({
- type: "success",
- content: "Status updated!"
- });
- await membersQuery.refetch();
- } catch (err: unknown) {
- setMessage({
- type: "error",
- content: isDoughminationError(err) ? err.message : "Failed to update status",
- });
- } finally {
- setSaving(false);
- }
- };
-
- const handleClearStatus = async () => {
- if (!selectedMember) {
- setMessage({
- type: "error",
- content: "Please select a member"
- });
- return;
- }
-
- if (!window.confirm(`Clear status for ${selectedMember}?`)) return;
-
- setSaving(true);
- setMessage(null);
-
- try {
- await deleteMemberStatus(client.baseUrl, selectedMember);
-
- setStatusText("");
- setEmoji("");
- setMessage({
- type: "success",
- content: "Status cleared!"
- });
- await membersQuery.refetch();
- } catch (err: unknown) {
- setMessage({
- type: "error",
- content: err instanceof Error ? err.message : "Failed to clear status",
- });
- } finally {
- setSaving(false);
- }
- };
-
- const getCurrentStatus = () => {
- if (!selectedMember) return null;
- return members.find((m) => m.name === selectedMember)?.status;
- };
-
- if (loading) {
- return (
- <div className={s.page}>
- <div className={s.loadingText}>Loading...</div>
- </div>
- );
- }
-
- return (
- <div className={s.page}>
- <div className={s.wrapNarrow}>
- <div className={s.headerRow}>
- <div>
- <h1 className={s.pageTitle}>Status Manager</h1>
- <p className={s.pageSubtitle}>Update member status messages</p>
- </div>
- <Button variant="outline" asChild>
- <Link href="/admin/dash">Back to Dashboard</Link>
- </Button>
- </div>
-
- {message && (
- <Alert variant={message.type === "error" ? "destructive" : "default"}>
- <AlertDescription>{message.content}</AlertDescription>
- </Alert>
- )}
-
- <Card>
- <CardHeader>
- <CardTitle>Update Status</CardTitle>
- <CardDescription>Select a member and set their status</CardDescription>
- </CardHeader>
- <CardContent>
- <form onSubmit={handleSubmit} className={s.formStack}>
- {/* MEMBER SELECT */}
- <div className={s.fieldBlock}>
- <Label htmlFor="member-select">Select Member</Label>
-
- <Select name="member" value={selectedMember} onValueChange={setSelectedMember}>
- <SelectTrigger id="member-select">
- <SelectValue placeholder="Choose a member..." />
- </SelectTrigger>
-
- <SelectContent>
- {members.map((member) => (
- <SelectItem key={member.id} value={member.name ?? ""}>
- <div className={s.inlineRow}>
- {/* eslint-disable-next-line @next/next/no-img-element */}
- <img
- src={
- member.avatar_url && member.avatar_url.trim() !== ""
- ? member.avatar_url
- : FALLBACK_AVATAR
- }
- alt={member.display_name || member.name}
- className={s.memberAvatarSm}
- onError={(e) => {
- (e.target as HTMLImageElement).src = FALLBACK_AVATAR;
- }}
- />
- <span>{member.display_name || member.name}</span>
- {member.status && <span className={s.smallMuted}>(has status)</span>}
- </div>
- </SelectItem>
- ))}
- </SelectContent>
- </Select>
- </div>
-
- {selectedMember && (
- <>
- {/* EMOJI */}
- <div className={s.fieldBlock}>
- <Label>
- Emoji (optional)
- <div className={s.emojiPickerRow}>
- <Input
- id="emoji"
- type="text"
- value={emoji}
- onChange={(e) => setEmoji(e.target.value.slice(0, 2))}
- placeholder="😊"
- className={s.emojiInput}
- maxLength={2}
- />
-
- <div className={s.emojiGrid}>
- {EMOJI_SUGGESTIONS.map((sug) => (
- <button
- key={sug}
- type="button"
- onClick={() => setEmoji(sug)}
- aria-label={`Select emoji ${sug}`}
- className={s.emojiButton}
- >
- {sug}
- </button>
- ))}
- </div>
- </div>
- </Label>
- </div>
-
- {/* STATUS TEXT */}
- <div className={s.fieldBlock}>
- <Label htmlFor="statusText">Status Text</Label>
-
- <Input
- id="statusText"
- type="text"
- name="statusText"
- value={statusText}
- onChange={(e) => setStatusText(e.target.value)}
- placeholder="What's happening?"
- maxLength={100}
- />
- <p className={s.smallMutedRight}>{statusText.length}/100 characters</p>
- </div>
-
- {/* BUTTONS */}
- <div className={s.buttonRow}>
- <Button type="submit" disabled={saving || !statusText.trim()} className={s.flexGrow}>
- {saving ? "Updating..." : "Update Status"}
- </Button>
-
- {getCurrentStatus() && (
- <Button
- type="button"
- variant="destructive"
- onClick={handleClearStatus}
- disabled={saving}
- >
- Clear
- </Button>
- )}
- </div>
-
- {/* CURRENT STATUS */}
- {getCurrentStatus() && (
- <div className={s.statusBox}>
- <p className={s.smallMuted}>Current Status:</p>
-
- <div className={s.inlineRow}>
- {getCurrentStatus()?.emoji && (
- <span className={s.emojiLg}>{getCurrentStatus()?.emoji}</span>
- )}
- <p className={s.statusBoxText}>{getCurrentStatus()?.text}</p>
- </div>
-
- <p className={s.smallMuted}>
- Updated {new Date(getCurrentStatus()!.updated_at).toLocaleString()}
- </p>
- </div>
- )}
- </>
- )}
- </form>
- </CardContent>
- </Card>
-
- {/* MEMBERS WITH STATUS */}
- <Card>
- <CardHeader>
- <CardTitle>Members with Active Status</CardTitle>
- <CardDescription>
- {members.filter((m) => m.status).length} member(s) have status set
- </CardDescription>
- </CardHeader>
-
- <CardContent>
- {members.filter((m) => m.status).length > 0 ? (
- <div className={s.listStack}>
- {members
- .filter((m) => m.status)
- .map((member) => (
- <div
- key={member.id}
- onClick={() => setSelectedMember(member.name ?? "")}
- className={s.memberRow}
- >
- {/* eslint-disable-next-line @next/next/no-img-element */}
- <img
- src={
- member.avatar_url && member.avatar_url.trim() !== ""
- ? member.avatar_url
- : FALLBACK_AVATAR
- }
- alt={member.display_name || member.name}
- className={s.memberAvatarMd}
- onError={(e) => {
- (e.target as HTMLImageElement).src = FALLBACK_AVATAR;
- }}
- />
-
- <div className={s.userInfo}>
- <p className={s.memberRowName}>{member.display_name || member.name}</p>
-
- <div className={s.inlineRowTight}>
- {member.status?.emoji && <span>{member.status.emoji}</span>}
- <p className={`${s.smallMuted} ${s.truncate}`}>{member.status?.text}</p>
- </div>
- </div>
- </div>
- ))}
- </div>
- ) : (
- <p className={s.emptyNote}>No members have status set</p>
- )}
- </CardContent>
- </Card>
- </div>
- </div>
- );
-}
-
-export default function StatusManagerPage() {
- return (
- <ProtectedRoute adminRequired>
- <StatusManager />
- </ProtectedRoute>
- );
-}
diff --git a/src/app/admin/switch/page.tsx b/src/app/admin/switch/page.tsx
deleted file mode 100644
index 00a531a..0000000
--- a/src/app/admin/switch/page.tsx
+++ /dev/null
@@ -1,379 +0,0 @@
-/* system/src/app/admin/switch/page.tsx
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-"use client";
-
-import React, { useState, useEffect, useMemo, useRef } from "react";
-import Link from "next/link";
-import {
- useMembers,
- useFronters,
- useDoughminationClient,
- isDoughminationError,
- type PluralMember,
-} from "doughmination-api";
-import { Card, CardContent, CardHeader, CardTitle, CardDescription } from "@/components/ui/card";
-import { Button } from "@/components/ui/button";
-import { Input } from "@/components/ui/input";
-import { Alert, AlertDescription } from "@/components/ui/alert";
-import { Badge } from "@/components/ui/badge";
-import { Checkbox } from "@/components/ui/checkbox";
-import ProtectedRoute from "@/components/ProtectedRoute";
-import { cn } from "@/lib/utils";
-import * as s from "@/styles/admin.css";
-import * as sw from "./switch.css";
-
-type Member = PluralMember;
-
-const FALLBACK_AVATAR = "https://raw.doughmination.gay/favicons/favicon.png";
-
-const SwitchManager: React.FC = () => {
- const client = useDoughminationClient();
- const membersQuery = useMembers();
- const frontersQuery = useFronters();
-
- const members = useMemo(() => {
- const list = membersQuery.data ?? [];
- return [...list].sort((a, b) =>
- (a.display_name || a.name || "")
- .toLowerCase()
- .localeCompare((b.display_name || b.name || "").toLowerCase()),
- );
- }, [membersQuery.data]);
-
- const currentFronters = frontersQuery.data?.members ?? [];
- const loading = membersQuery.isLoading || frontersQuery.isLoading;
-
- const [selectedMembers, setSelectedMembers] = useState<Set<string>>(new Set());
- const [searchQuery, setSearchQuery] = useState("");
- const [saving, setSaving] = useState(false);
- const [message, setMessage] = useState<{ type: "success" | "error"; content: string } | null>(
- null,
- );
-
- // Pre-populate the selection with the current fronters, once.
- const seeded = useRef(false);
- useEffect(() => {
- if (!seeded.current && frontersQuery.data) {
- seeded.current = true;
- setSelectedMembers(new Set(frontersQuery.data.members?.map((member) => member.id) || []));
- }
- }, [frontersQuery.data]);
-
- const handleToggleMember = (memberId: string) => {
- const newSelected = new Set(selectedMembers);
-
- if (newSelected.has(memberId)) {
- newSelected.delete(memberId);
- } else {
- newSelected.add(memberId);
- }
-
- setSelectedMembers(newSelected);
- };
-
- const handleApplySwitch = async () => {
- if (selectedMembers.size === 0) {
- setMessage({
- type: "error",
- content: "Please select at least one member"
- });
- return;
- }
-
- setSaving(true);
- setMessage(null);
-
- try {
- const data = await client.multiSwitch(Array.from(selectedMembers));
- const count = data.count ?? selectedMembers.size;
- setMessage({
- type: "success",
- content: `Successfully switched to ${count} member${count !== 1 ? "s" : ""}!`,
- });
-
- // Refresh fronters (also arrives live over the socket).
- await frontersQuery.refetch();
- } catch (err: unknown) {
- setMessage({
- type: "error",
- content: isDoughminationError(err) ? err.message : "Failed to switch fronters",
- });
- } finally {
- setSaving(false);
- }
- };
-
- const filteredMembers = members.filter(
- (m) =>
- (m.display_name || m.name || "").toLowerCase().includes(searchQuery.toLowerCase()) ||
- m.tags?.some((tag) => tag.toLowerCase().includes(searchQuery.toLowerCase())),
- );
-
- const handleSelectAll = () => {
- const allMemberIds = new Set(filteredMembers.map((m) => m.id));
- setSelectedMembers(allMemberIds);
- };
-
- const handleClearAll = () => {
- setSelectedMembers(new Set());
- };
-
- const isCurrentlyFronting = (memberId: string): boolean => {
- return currentFronters.some((f) => f.id === memberId);
- };
-
- const getSelectedMembersList = () => {
- return members.filter((m) => selectedMembers.has(m.id));
- };
-
- const hasChanges = () => {
- // Compare current fronters with selected members
- const currentIds = new Set(currentFronters.map((m) => m.id));
-
- if (currentIds.size !== selectedMembers.size) return true;
-
- for (const id of selectedMembers) {
- if (!currentIds.has(id)) return true;
- }
-
- return false;
- };
-
- if (loading) {
- return (
- <div className={s.page}>
- <div className={s.loadingText}>Loading...</div>
- </div>
- );
- }
-
- return (
- <div className={s.page}>
- <div className={sw.wrapWide}>
- {/* Header */}
- <div className={s.headerRow}>
- <div>
- <h1 className={s.pageTitle}>Switch Manager</h1>
- <p className={s.pageSubtitle}>Manage fronting members</p>
- </div>
- <Button variant="outline" asChild>
- <Link href="/admin/dash">Back to Dashboard</Link>
- </Button>
- </div>
-
- {/* Messages */}
- {message && (
- <Alert variant={message.type === "error" ? "destructive" : "default"}>
- <AlertDescription>{message.content}</AlertDescription>
- </Alert>
- )}
-
- <div className={sw.columns}>
- {/* Left Column - Member Selection */}
- <div className={sw.colStack}>
- {/* Search and Actions */}
- <Card>
- <CardContent className={cn(s.cardTopPad, s.formStack)}>
- <Input
- type="text"
- placeholder="Search members..."
- value={searchQuery}
- onChange={(e) => setSearchQuery(e.target.value)}
- />
-
- <div className={sw.searchActions}>
- <Button
- variant="outline"
- size="sm"
- onClick={handleSelectAll}
- disabled={filteredMembers.length === 0}
- >
- Select All
- </Button>
- <Button
- variant="outline"
- size="sm"
- onClick={handleClearAll}
- disabled={selectedMembers.size === 0}
- >
- Clear All
- </Button>
- <div className={sw.selectedCount}>{selectedMembers.size} selected</div>
- </div>
- </CardContent>
- </Card>
-
- {/* Member List */}
- <Card>
- <CardHeader>
- <CardTitle>Select Members</CardTitle>
- <CardDescription>Choose members to front</CardDescription>
- </CardHeader>
- <CardContent>
- {filteredMembers.length > 0 ? (
- <div className={sw.memberScroll}>
- {filteredMembers.map((member) => {
- const isSelected = selectedMembers.has(member.id);
- const isFronting = isCurrentlyFronting(member.id);
-
- return (
- <div
- key={member.id}
- onClick={() => handleToggleMember(member.id)}
- className={cn(sw.memberOption, isSelected && sw.memberOptionSelected)}
- >
- <Checkbox
- checked={isSelected}
- onCheckedChange={() => handleToggleMember(member.id)}
- onClick={(e) => e.stopPropagation()}
- />
-
- {/* eslint-disable-next-line @next/next/no-img-element */}
- <img
- src={member.avatar_url || FALLBACK_AVATAR}
- alt={member.display_name || member.name}
- className={s.memberAvatarMd}
- onError={(e) => {
- (e.target as HTMLImageElement).src = FALLBACK_AVATAR;
- }}
- />
-
- <div className={s.userInfo}>
- <div className={s.userNameRow}>
- <p className={s.userName}>{member.display_name || member.name}</p>
- {isFronting && (
- <Badge variant="secondary" className={s.smallBadge}>
- Currently Fronting
- </Badge>
- )}
- </div>
- {member.pronouns && (
- <p className={s.smallMuted}>{member.pronouns}</p>
- )}
- {member.tags && member.tags.length > 0 && (
- <div className={sw.tagRow}>
- {member.tags.slice(0, 3).map((tag, idx) => (
- <span key={idx} className={sw.tagChip}>
- {tag}
- </span>
- ))}
- {member.tags.length > 3 && (
- <span className={s.smallMuted}>+{member.tags.length - 3}</span>
- )}
- </div>
- )}
- </div>
- </div>
- );
- })}
- </div>
- ) : (
- <p className={s.emptyNote}>
- {searchQuery ? "No members found matching your search" : "No members available"}
- </p>
- )}
- </CardContent>
- </Card>
- </div>
-
- {/* Right Column - Selected Members & Apply */}
- <div className={sw.colStack}>
- {/* Currently Fronting */}
- <Card>
- <CardHeader>
- <CardTitle>Currently Fronting</CardTitle>
- </CardHeader>
- <CardContent>
- {currentFronters.length > 0 ? (
- <div className={sw.sideList}>
- {currentFronters.map((member) => (
- <div key={member.id} className={sw.sideRow}>
- {/* eslint-disable-next-line @next/next/no-img-element */}
- <img
- src={member.avatar_url || FALLBACK_AVATAR}
- alt={member.display_name || member.name}
- className={sw.sideAvatar}
- onError={(e) => {
- (e.target as HTMLImageElement).src = FALLBACK_AVATAR;
- }}
- />
- <span className={sw.sideName}>{member.display_name || member.name}</span>
- </div>
- ))}
- </div>
- ) : (
- <p className={s.emptyNote}>No one currently fronting</p>
- )}
- </CardContent>
- </Card>
-
- {/* Selected Members */}
- <Card>
- <CardHeader>
- <CardTitle>Selected Members</CardTitle>
- <CardDescription>
- {selectedMembers.size} member{selectedMembers.size !== 1 ? "s" : ""} selected
- </CardDescription>
- </CardHeader>
- <CardContent>
- {selectedMembers.size > 0 ? (
- <div className={sw.sideList}>
- {getSelectedMembersList().map((member) => (
- <div key={member.id} className={sw.sideRow}>
- {/* eslint-disable-next-line @next/next/no-img-element */}
- <img
- src={member.avatar_url || FALLBACK_AVATAR}
- alt={member.display_name || member.name}
- className={sw.sideAvatar}
- onError={(e) => {
- (e.target as HTMLImageElement).src = FALLBACK_AVATAR;
- }}
- />
- <span className={sw.sideName}>{member.display_name || member.name}</span>
- <button
- onClick={() => handleToggleMember(member.id)}
- className={sw.removeBtn}
- title="Remove"
- >
- ×
- </button>
- </div>
- ))}
- </div>
- ) : (
- <p className={s.emptyNote}>No members selected</p>
- )}
- </CardContent>
- </Card>
-
- {/* Apply Button */}
- <Button
- onClick={handleApplySwitch}
- disabled={saving || selectedMembers.size === 0 || !hasChanges()}
- className={s.fullWidth}
- size="lg"
- >
- {saving ? "Switching..." : hasChanges() ? "Apply Switch" : "No Changes"}
- </Button>
-
- {!hasChanges() && selectedMembers.size > 0 && (
- <p className={sw.centerNoteXs}>Selected members match current fronters</p>
- )}
- </div>
- </div>
- </div>
- </div>
- );
-};
-
-export default function SwitchManagerPage() {
- return (
- <ProtectedRoute adminRequired>
- <SwitchManager />
- </ProtectedRoute>
- );
-}
diff --git a/src/app/admin/switch/switch.css.ts b/src/app/admin/switch/switch.css.ts
deleted file mode 100644
index 5979144..0000000
--- a/src/app/admin/switch/switch.css.ts
+++ /dev/null
@@ -1,140 +0,0 @@
-/* system/src/app/admin/switch/switch.css.ts
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-import { style } from "@vanilla-extract/css";
-import { vars } from "@/styles/theme.css";
-
-export const wrapWide = style({
- maxWidth: "72rem",
- margin: "0 auto",
- display: "flex",
- flexDirection: "column",
- gap: "1.5rem",
-});
-
-export const columns = style({
- display: "grid",
- gridTemplateColumns: "1fr",
- gap: "1.5rem",
- "@media": {
- "screen and (min-width: 1024px)": {
- gridTemplateColumns: "2fr 1fr",
- },
- },
-});
-
-export const colStack = style({
- display: "flex",
- flexDirection: "column",
- gap: "1rem",
-});
-
-export const searchActions = style({
- display: "flex",
- gap: "0.5rem",
-});
-
-export const selectedCount = style({
- marginLeft: "auto",
- fontSize: "0.875rem",
- color: vars.textMuted,
- fontFamily: vars.fontComic,
- fontWeight: 600,
- display: "flex",
- alignItems: "center",
-});
-
-export const memberScroll = style({
- display: "flex",
- flexDirection: "column",
- gap: "0.5rem",
- maxHeight: "600px",
- overflowY: "auto",
- paddingRight: "0.5rem",
-});
-
-export const memberOption = style({
- display: "flex",
- alignItems: "center",
- gap: "0.75rem",
- padding: "0.75rem",
- borderRadius: vars.radiusSm,
- border: `1px solid ${vars.surfaceHigher}`,
- cursor: "pointer",
- transition: "border-color 0.15s ease, background-color 0.15s ease",
- ":hover": {
- borderColor: vars.accent,
- },
-});
-
-export const memberOptionSelected = style({
- borderColor: `${vars.accent} !important` as unknown as string,
- backgroundColor: vars.accent,
-});
-
-export const tagChip = style({
- fontSize: "0.6875rem",
- padding: "0.125rem 0.5rem",
- borderRadius: vars.radiusSm,
- border: `1px solid ${vars.surfaceHigher}`,
- backgroundColor: "transparent",
- color: vars.textSoft,
- fontFamily: vars.fontComic,
- fontWeight: 700,
- textTransform: "uppercase",
- letterSpacing: "0.03em",
-});
-
-export const tagRow = style({
- display: "flex",
- flexWrap: "wrap",
- gap: "0.25rem",
- marginTop: "0.25rem",
-});
-
-export const sideList = style({
- display: "flex",
- flexDirection: "column",
- gap: "0.5rem",
-});
-
-export const sideRow = style({
- display: "flex",
- alignItems: "center",
- gap: "0.5rem",
-});
-
-export const sideAvatar = style({
- width: "2rem",
- height: "2rem",
- borderRadius: vars.radiusSm,
- border: `1px solid ${vars.surfaceHigher}`,
- objectFit: "cover",
-});
-
-export const sideName = style({
- fontFamily: vars.fontComic,
- fontWeight: 600,
- fontSize: "0.875rem",
- flex: 1,
-});
-
-export const removeBtn = style({
- color: vars.danger,
- background: "transparent",
- border: "none",
- cursor: "pointer",
- fontSize: "0.875rem",
- ":hover": { opacity: 0.8 },
-});
-
-export const centerNoteXs = style({
- fontSize: "0.75rem",
- textAlign: "center",
- color: vars.textMuted,
- fontFamily: vars.fontComic,
- fontWeight: 600,
-});
diff --git a/src/app/admin/tags/page.tsx b/src/app/admin/tags/page.tsx
deleted file mode 100644
index 4fb4f5c..0000000
--- a/src/app/admin/tags/page.tsx
+++ /dev/null
@@ -1,421 +0,0 @@
-/* system/src/app/admin/tags/page.tsx
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-"use client";
-
-import React, { useState, useMemo } from "react";
-import Link from "next/link";
-import { Card, CardContent, CardHeader, CardTitle, CardDescription } from "@/components/ui/card";
-import { Button } from "@/components/ui/button";
-import { Input } from "@/components/ui/input";
-import { Label } from "@/components/ui/label";
-import { Alert, AlertDescription } from "@/components/ui/alert";
-import { Badge } from "@/components/ui/badge";
-import {
- Select,
- SelectContent,
- SelectItem,
- SelectTrigger,
- SelectValue,
-} from "@/components/ui/select";
-import ProtectedRoute from "@/components/ProtectedRoute";
-import {
- useMembers,
- useDoughminationClient,
- type PluralMember,
-} from "doughmination-api";
-import * as s from "@/styles/admin.css";
-
-type Member = PluralMember;
-
-const FALLBACK_AVATAR = "https://raw.doughmination.gay/favicons/favicon.png";
-
-// Member-tag add/remove aren't wrapped by the package client, so these two
-// endpoints are called inline off the client's base URL.
-async function addMemberTag(baseUrl: string, identifier: string, tag: string): Promise<void> {
- const token = localStorage.getItem("token");
- const response = await fetch(`${baseUrl}/plural/member-tags/${encodeURIComponent(identifier)}/add`, {
- method: "POST",
- headers: {
- "Content-Type": "application/json",
- ...(token ? { Authorization: `Bearer ${token}` } : {}),
- },
- body: JSON.stringify({ tag }),
- });
-
- if (!response.ok) {
- const body = await response.json().catch(() => null);
- throw new Error(body?.detail || body?.error?.message || "Failed to add tag");
- }
-}
-
-async function removeMemberTag(baseUrl: string, identifier: string, tag: string): Promise<void> {
- const token = localStorage.getItem("token");
- const response = await fetch(
- `${baseUrl}/plural/member-tags/${encodeURIComponent(identifier)}/${encodeURIComponent(tag)}`,
- {
- method: "DELETE",
- headers: token ? { Authorization: `Bearer ${token}` } : {},
- },
- );
-
- if (!response.ok) {
- const body = await response.json().catch(() => null);
- throw new Error(body?.detail || body?.error?.message || "Failed to remove tag");
- }
-}
-
-const TagManager: React.FC = () => {
- const client = useDoughminationClient();
- const membersQuery = useMembers();
-
- const members = useMemo(() => {
- const list = membersQuery.data ?? [];
- return [...list].sort((a, b) =>
- (a.display_name || a.name || "")
- .toLowerCase()
- .localeCompare((b.display_name || b.name || "").toLowerCase()),
- );
- }, [membersQuery.data]);
-
- const loading = membersQuery.isLoading;
-
- const [selectedMember, setSelectedMember] = useState<string>("");
- const [newTag, setNewTag] = useState("");
- const [saving, setSaving] = useState(false);
- const [message, setMessage] = useState<{ type: "success" | "error"; content: string } | null>(
- null,
- );
- const [searchQuery, setSearchQuery] = useState("");
-
- // Get all unique tags from all members
- const allTags = Array.from(new Set(members.flatMap((m) => m.tags || []))).sort((a, b) =>
- a.localeCompare(b),
- );
-
- const handleAddTag = async () => {
- if (!selectedMember) {
- setMessage({
- type: "error",
- content: "Please select a member"
- });
- return;
- }
-
- if (!newTag.trim()) {
- setMessage({
- type: "error",
- content: "Tag cannot be empty"
- });
- return;
- }
-
- setSaving(true);
- setMessage(null);
-
- try {
- await addMemberTag(client.baseUrl, selectedMember, newTag.trim());
-
- setNewTag("");
- setMessage({
- type: "success",
- content: "Tag added successfully!"
- });
- await membersQuery.refetch();
- } catch (err: unknown) {
- setMessage({
- type: "error",
- content: err instanceof Error ? err.message : "Failed to add tag",
- });
- } finally {
- setSaving(false);
- }
- };
-
- const handleRemoveTag = async (memberName: string, tag: string) => {
- if (!window.confirm(`Remove tag "${tag}" from ${memberName}?`)) return;
-
- setSaving(true);
- setMessage(null);
-
- try {
- await removeMemberTag(client.baseUrl, memberName, tag);
-
- setMessage({
- type: "success",
- content: "Tag removed successfully!"
- });
- await membersQuery.refetch();
- } catch (err: unknown) {
- setMessage({
- type: "error",
- content: err instanceof Error ? err.message : "Failed to remove tag",
- });
- } finally {
- setSaving(false);
- }
- };
-
- const getSelectedMember = () => {
- return members.find((m) => m.name === selectedMember);
- };
-
- const filteredMembers = members.filter(
- (m) =>
- (m.display_name || m.name || "").toLowerCase().includes(searchQuery.toLowerCase()) ||
- m.tags?.some((tag) => tag.toLowerCase().includes(searchQuery.toLowerCase())),
- );
-
- if (loading) {
- return (
- <div className={s.page}>
- <div className={s.loadingText}>Loading...</div>
- </div>
- );
- }
-
- return (
- <div className={s.page}>
- <div className={s.wrap}>
- {/* Header */}
- <div className={s.headerRow}>
- <div>
- <h1 className={s.pageTitle}>Tag Manager</h1>
- <p className={s.pageSubtitle}>Manage member tags and sub-systems</p>
- </div>
- <Button variant="outline" asChild>
- <Link href="/admin/dash">Back to Dashboard</Link>
- </Button>
- </div>
-
- {/* Messages */}
- {message && (
- <Alert variant={message.type === "error" ? "destructive" : "default"}>
- <AlertDescription>{message.content}</AlertDescription>
- </Alert>
- )}
-
- {/* Add Tag Form */}
- <Card>
- <CardHeader>
- <CardTitle>Add Tag</CardTitle>
- <CardDescription>Select a member and add a tag</CardDescription>
- </CardHeader>
- <CardContent className={s.formStack}>
- {/* Member Selection */}
- <div className={s.fieldBlock}>
- <Label htmlFor="member-select">Select Member</Label>
- <Select value={selectedMember} onValueChange={setSelectedMember}>
- <SelectTrigger id="member-select">
- <SelectValue placeholder="Choose a member..." />
- </SelectTrigger>
- <SelectContent>
- {members.map((member) => (
- <SelectItem key={member.id} value={member.name ?? ""}>
- <div className={s.inlineRow}>
- {/* eslint-disable-next-line @next/next/no-img-element */}
- <img
- src={member.avatar_url || FALLBACK_AVATAR}
- alt={member.display_name || member.name}
- className={s.memberAvatarSm}
- onError={(e) => {
- (e.target as HTMLImageElement).src = FALLBACK_AVATAR;
- }}
- />
- <span>{member.display_name || member.name}</span>
- {member.tags && member.tags.length > 0 && (
- <span className={s.smallMuted}>
- ({member.tags.length} tag{member.tags.length !== 1 ? "s" : ""})
- </span>
- )}
- </div>
- </SelectItem>
- ))}
- </SelectContent>
- </Select>
- </div>
-
- {/* Current Tags Display */}
- {selectedMember && getSelectedMember() && (
- <div className={s.statusBox}>
- <p className={s.smallMuted}>Current Tags:</p>
- {getSelectedMember()?.tags && getSelectedMember()!.tags!.length > 0 ? (
- <div className={s.chipRow}>
- {getSelectedMember()!.tags!.map((tag, idx) => (
- <Badge key={idx} variant="secondary" className={s.smallBadge}>
- {tag}
- </Badge>
- ))}
- </div>
- ) : (
- <p className={s.smallMuted}>No tags assigned</p>
- )}
- </div>
- )}
-
- {/* New Tag Input */}
- {selectedMember && (
- <>
- <div className={s.fieldBlock}>
- <Label htmlFor="new-tag">New Tag</Label>
- <Input
- id="new-tag"
- type="text"
- value={newTag}
- onChange={(e) => setNewTag(e.target.value)}
- placeholder="Enter tag name..."
- onKeyDown={(e) => {
- if (e.key === "Enter") {
- e.preventDefault();
- handleAddTag();
- }
- }}
- />
- </div>
-
- {/* Existing Tags Quick Add */}
- {allTags.length > 0 && (
- <div className={s.fieldBlock}>
- <Label>Or select from existing tags:</Label>
- <div className={s.chipRow}>
- {allTags.map((tag) => (
- <button
- key={tag}
- type="button"
- onClick={() => setNewTag(tag)}
- className={s.chip}
- style={{
- cursor: "pointer",
- border: "none"
- }}
- >
- {tag}
- </button>
- ))}
- </div>
- </div>
- )}
-
- <Button onClick={handleAddTag} disabled={saving || !newTag.trim()} className={s.fullWidth}>
- {saving ? "Adding..." : "Add Tag"}
- </Button>
- </>
- )}
- </CardContent>
- </Card>
-
- {/* All Members with Tags */}
- <Card>
- <CardHeader>
- <CardTitle>All Members</CardTitle>
- <CardDescription>
- {members.filter((m) => m.tags && m.tags.length > 0).length} member(s) with tags
- </CardDescription>
- </CardHeader>
- <CardContent>
- {/* Search */}
- <div style={{ marginBottom: "1rem" }}>
- <Input
- type="text"
- placeholder="Search members or tags..."
- value={searchQuery}
- onChange={(e) => setSearchQuery(e.target.value)}
- />
- </div>
-
- {/* Members List */}
- {filteredMembers.length > 0 ? (
- <div className={s.listStack}>
- {filteredMembers.map((member) => (
- <div
- key={member.id}
- onClick={() => setSelectedMember(member.name ?? "")}
- className={s.memberRow}
- >
- {/* eslint-disable-next-line @next/next/no-img-element */}
- <img
- src={member.avatar_url || FALLBACK_AVATAR}
- alt={member.display_name || member.name}
- className={s.userAvatar}
- onError={(e) => {
- (e.target as HTMLImageElement).src = FALLBACK_AVATAR;
- }}
- />
-
- <div className={s.userInfo}>
- <p className={s.userName}>{member.display_name || member.name}</p>
-
- {member.tags && member.tags.length > 0 ? (
- <div className={s.chipRow} style={{ marginTop: "0.5rem" }}>
- {member.tags.map((tag, idx) => (
- <span key={idx} className={s.chip}>
- {tag}
- <button
- onClick={(e) => {
- e.stopPropagation();
- handleRemoveTag(member.name ?? "", tag);
- }}
- className={s.chipRemove}
- title={`Remove ${tag}`}
- >
- ×
- </button>
- </span>
- ))}
- </div>
- ) : (
- <p className={s.smallMuted}>No tags</p>
- )}
- </div>
- </div>
- ))}
- </div>
- ) : (
- <p className={s.emptyNote}>
- {searchQuery ? "No members found matching your search" : "No members available"}
- </p>
- )}
- </CardContent>
- </Card>
-
- {/* Tag Statistics */}
- {allTags.length > 0 && (
- <Card>
- <CardHeader>
- <CardTitle>Tag Statistics</CardTitle>
- <CardDescription>
- {allTags.length} unique tag{allTags.length !== 1 ? "s" : ""}
- </CardDescription>
- </CardHeader>
- <CardContent>
- <div className={s.chipRow}>
- {allTags.map((tag) => {
- const count = members.filter((m) => m.tags?.includes(tag)).length;
- return (
- <div key={tag} className={s.statBox} style={{ padding: "0.5rem 0.75rem" }}>
- <Badge variant="secondary" className={s.smallBadge}>
- {tag}
- </Badge>{" "}
- <span className={s.smallMuted}>×{count}</span>
- </div>
- );
- })}
- </div>
- </CardContent>
- </Card>
- )}
- </div>
- </div>
- );
-};
-
-export default function TagManagerPage() {
- return (
- <ProtectedRoute adminRequired>
- <TagManager />
- </ProtectedRoute>
- );
-}
diff --git a/src/app/home.css.ts b/src/app/home.css.ts
deleted file mode 100644
index 530e2aa..0000000
--- a/src/app/home.css.ts
+++ /dev/null
@@ -1,752 +0,0 @@
-/* system/src/app/home.css.ts
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- *
- * Styles for the home / fronting page (formerly Tailwind utility classes on
- * pages/Index.tsx).
- */
-
-import { globalStyle, style } from "@vanilla-extract/css";
-import { vars } from "@/styles/theme.css";
-
-const mix = (color: string, pct: number) =>
- `color-mix(in srgb, ${color} ${pct}%, transparent)`;
-
-/** Trans-flag stripe, reused as a thin accent rule under the header and above
- * the footer instead of the old animated gradient page title. */
-export const flagStripe = style({
- height: "3px",
- width: "100%",
- flexShrink: 0,
- background:
- "repeating-linear-gradient(90deg, #5BCEFA 0 20%, #F5A9B8 20% 40%, #ffffff 40% 60%, #F5A9B8 60% 80%, #5BCEFA 80% 100%)",
-});
-
-export const loadingWrap = style({
- display: "flex",
- alignItems: "center",
- justifyContent: "center",
- minHeight: "100vh",
-});
-
-export const loadingText = style({
- fontSize: "1.5rem",
- fontFamily: vars.fontComic,
- fontWeight: 600,
- color: vars.text,
-});
-
-export const page = style({
- position: "relative",
- isolation: "isolate",
- minHeight: "100vh",
- color: vars.text,
-});
-
-export const wsBanner = style({
- position: "fixed",
- top: 0,
- left: 0,
- right: 0,
- zIndex: 50,
- backgroundColor: vars.accentAlt,
- color: vars.bgDeep,
- textAlign: "center",
- padding: "0.5rem 0",
- fontSize: "0.75rem",
- fontFamily: vars.fontComic,
- fontWeight: 700,
- textTransform: "uppercase",
- letterSpacing: "0.06em",
-});
-
-/* Header */
-export const header = style({
- position: "fixed",
- top: 0,
- left: 0,
- width: "100%",
- zIndex: 40,
- backgroundColor: mix(vars.bgDeep, 82),
- borderBottom: `2px solid ${vars.surfaceHigher}`,
-});
-
-export const headerInner = style({
- width: "100%",
- margin: "0 auto",
- padding: "0.75rem 1rem",
- display: "flex",
- justifyContent: "space-between",
- alignItems: "center",
-});
-
-export const logoLink = style({
- fontSize: "1.0625rem",
- fontWeight: 700,
- fontFamily: vars.fontComic,
- textTransform: "uppercase",
- letterSpacing: "0.04em",
- color: vars.text,
- textDecoration: "none",
- transition: "color 0.15s ease",
- display: "inline-flex",
- alignItems: "center",
- gap: "0.625rem",
- ":hover": { color: mix(vars.text, 80) },
- "::before": {
- content: "''",
- display: "inline-block",
- width: "8px",
- height: "8px",
- backgroundColor: vars.accent,
- flexShrink: 0,
- },
-});
-
-export const navUser = style({
- fontSize: "0.875rem",
- fontFamily: vars.fontComic,
- fontWeight: 600,
- color: vars.textMuted,
- marginRight: "0.5rem",
-});
-
-export const navUserName = style({
- color: vars.text,
- fontWeight: 600,
-});
-
-export const mobileMenuBtn = style({
- display: "flex",
- alignItems: "center",
- justifyContent: "center",
- padding: "0.5rem",
- borderRadius: vars.radiusSm,
- backgroundColor: vars.surface,
- color: vars.text,
- border: `1px solid ${vars.surfaceHigher}`,
- cursor: "pointer",
- transition: "color 0.15s ease, background-color 0.15s ease",
- ":hover": {
- backgroundColor: vars.accent,
- color: vars.bg,
- },
- "@media": {
- "screen and (min-width: 768px)": { display: "none" },
- },
-});
-
-export const icon24 = style({
- width: "1.5rem",
- height: "1.5rem"
-});
-export const icon20 = style({
- width: "1.25rem",
- height: "1.25rem"
-});
-
-/* Mobile menu */
-export const mobileOverlay = style({
- position: "fixed",
- inset: 0,
- zIndex: 30,
- backgroundColor: "rgb(0 0 0 / 0.5)",
- "@media": {
- "screen and (min-width: 768px)": { display: "none" },
- },
-});
-
-export const mobilePanel = style({
- position: "absolute",
- right: 0,
- top: "61px",
- width: "16rem",
- maxWidth: "80vw",
- height: "100vh",
- backgroundColor: vars.bgDeep,
- borderLeft: `2px solid ${vars.surfaceHigher}`,
-});
-
-export const mobileList = style({
- display: "flex",
- flexDirection: "column",
- padding: "1rem",
- gap: "0.75rem",
- listStyle: "none",
-});
-
-export const mobileUser = style({
- padding: "0.5rem 1rem",
- fontSize: "0.875rem",
- fontFamily: vars.fontComic,
- fontWeight: 600,
- color: vars.textMuted,
- borderBottom: `1px solid ${vars.surface}`,
-});
-
-export const mobileUserName = style({
- color: vars.text,
- fontWeight: 600,
- display: "block",
- marginTop: "0.25rem",
-});
-
-export const mobileLink = style({
- display: "block",
- width: "100%",
- padding: "0.75rem 1rem",
- borderRadius: vars.radiusSm,
- fontSize: "0.8125rem",
- textAlign: "center",
- textTransform: "uppercase",
- letterSpacing: "0.04em",
- transition: "background-color 0.15s ease, color 0.15s ease",
- fontFamily: vars.fontComic,
- fontWeight: 700,
- backgroundColor: vars.surface,
- color: vars.textSoft,
- textDecoration: "none",
- border: `1px solid ${vars.surfaceHigher}`,
- cursor: "pointer",
- ":hover": {
- backgroundColor: vars.accent,
- color: vars.bgDeep,
- },
-});
-
-export const mobileLogout = style([mobileLink, {
- backgroundColor: "transparent",
- color: vars.danger,
- border: `1px solid ${vars.danger}`,
- ":hover": { backgroundColor: vars.danger, color: vars.bgDeep },
-}]);
-
-export const headerSpacer = style({ height: "5rem" });
-
-/* Main content */
-export const main = style({
- width: "100%",
- margin: "0 auto",
- padding: "1rem 0.5rem 0",
- flexGrow: 1,
- "@media": {
- "screen and (min-width: 640px)": {
- paddingLeft: "1rem",
- paddingRight: "1rem"
- },
- },
-});
-
-export const contentWrapper = style({
- display: "flex",
- flexDirection: "column",
- gap: "0.5rem",
- "@media": {
- "screen and (min-width: 640px)": { gap: "1rem" },
- },
-});
-
-export const pageOverline = style({
- fontSize: "0.75rem",
- fontFamily: vars.fontComic,
- fontWeight: 600,
- color: vars.textDim,
- letterSpacing: "0.08em",
- textTransform: "uppercase",
- textAlign: "center",
- marginBottom: "0.375rem",
-});
-
-export const pageTitle = style({
- fontSize: "1.75rem",
- fontWeight: 700,
- marginBottom: "2rem",
- textAlign: "center",
- fontFamily: vars.fontComic,
- letterSpacing: "-0.01em",
- textTransform: "uppercase",
- color: vars.text,
-});
-
-/* Mental state banner extras */
-export const bannerRow = style({
- display: "flex",
- alignItems: "stretch",
- gap: 0,
-});
-
-export const bannerIconBlock = style({
- width: "3.25rem",
- flexShrink: 0,
- display: "flex",
- alignItems: "center",
- justifyContent: "center",
- backgroundColor: "currentColor",
-});
-
-export const bannerIcon = style({
- width: "1.25rem",
- height: "1.25rem",
- color: vars.bgDeep,
-});
-
-export const bannerBody = style({
- padding: "0.875rem 1.125rem",
- flex: 1,
- textAlign: "left",
-});
-
-export const bannerLabelRow = style({
- display: "flex",
- alignItems: "baseline",
- gap: "0.625rem",
-});
-
-export const bannerLabelKey = style({
- fontSize: "0.6875rem",
- letterSpacing: "0.08em",
- textTransform: "uppercase",
- color: vars.textDim,
- fontFamily: vars.fontComic,
-});
-
-export const bannerLabelValue = style({
- fontSize: "0.875rem",
- fontWeight: 700,
- letterSpacing: "0.03em",
- textTransform: "uppercase",
- fontFamily: vars.fontComic,
-});
-
-export const bannerNotes = style({
- marginTop: "0.375rem",
- fontFamily: vars.fontComic,
- fontSize: "0.8125rem",
- color: vars.textSoft,
-});
-
-export const bannerUpdated = style({
- display: "block",
- marginTop: "0.5rem",
- fontSize: "0.6875rem",
- color: vars.textFaint,
- fontFamily: vars.fontComic,
-});
-
-/* Currently fronting */
-export const frontingSection = style({
- marginBottom: "1.5rem",
- padding: "1rem",
- border: `1px solid ${vars.surfaceHigher}`,
-});
-
-export const frontingTitle = style({
- fontSize: "0.6875rem",
- fontFamily: vars.fontComic,
- fontWeight: 700,
- letterSpacing: "0.08em",
- textTransform: "uppercase",
- color: vars.textDim,
- marginBottom: "0.875rem",
- textAlign: "center",
-});
-
-export const frontingRow = style({
- display: "flex",
- flexWrap: "wrap",
- gap: "1rem",
- justifyContent: "center",
-});
-
-export const frontingItem = style({
- display: "flex",
- flexDirection: "column",
- alignItems: "center",
- position: "relative",
-});
-
-/* Status tag — a plain bordered box in normal flow, replacing the old
- floating thought-bubble-with-dots treatment. */
-export const statusTagWrap = style({
- marginTop: "0.5rem",
- textAlign: "center",
-});
-
-export const statusTag = style({
- display: "inline-flex",
- alignItems: "center",
- gap: "0.3rem",
- justifyContent: "center",
- backgroundColor: vars.bgDeep,
- border: `1px solid ${vars.surfaceHigher}`,
- padding: "0.3rem 0.6rem",
- maxWidth: "140px",
-});
-
-export const statusTagEmoji = style({ fontSize: "0.8125rem" });
-
-export const statusTagText = style({
- fontSize: "0.6875rem",
- fontFamily: vars.fontComic,
- fontWeight: 600,
- color: vars.textSoft,
- overflow: "hidden",
- textOverflow: "ellipsis",
- whiteSpace: "nowrap",
-});
-
-/* Avatars & member cards */
-export const avatarImg = style({
- width: "4rem",
- height: "4rem",
- borderRadius: vars.radiusSm,
- objectFit: "cover",
- borderWidth: "2px",
- borderStyle: "solid",
- transition: "filter 0.15s ease",
- cursor: "pointer",
- ":hover": { filter: "brightness(1.15)" },
-});
-
-export const avatarImgGrid = style([
- avatarImg,
- {
- margin: "0 auto 0.5rem",
- display: "block",
- },
-]);
-
-export const frontingNameWrap = style({
- marginTop: "0.5rem",
- textAlign: "center",
- maxWidth: "120px",
-});
-
-export const memberLink = style({
- fontFamily: vars.fontComic,
- fontWeight: 600,
- fontSize: "0.875rem",
- transition: "color 0.15s ease",
- display: "block",
- textDecoration: "none",
-});
-
-export const memberCardName = style({
- fontFamily: vars.fontComic,
- fontWeight: 600,
- fontSize: "0.875rem",
- lineHeight: 1.25,
- margin: 0,
- transition: "color 0.15s ease",
- /* Names wrap to at most two lines; the reserved height keeps every card in
- a row the same height whether or not the name wraps. */
- minHeight: "2.5em",
- display: "flex",
- alignItems: "center",
- justifyContent: "center",
- textAlign: "center",
-});
-
-export const memberPronouns = style({
- fontSize: "0.75rem",
- color: vars.textMuted,
- marginTop: "0.25rem",
- fontFamily: vars.fontComic,
- fontWeight: 600,
-});
-
-export const tagRow = style({
- display: "flex",
- flexWrap: "wrap",
- gap: "0.25rem",
- marginTop: "0.25rem",
- justifyContent: "center",
-});
-
-export const tagRowSpaced = style([tagRow, { marginTop: "0.5rem" }]);
-
-export const tagChip = style({
- fontSize: "0.6875rem",
- padding: "0.125rem 0.5rem",
- borderRadius: vars.radiusSm,
- border: `1px solid ${vars.surfaceHigher}`,
- backgroundColor: "transparent",
- color: vars.textSoft,
- fontFamily: vars.fontComic,
- fontWeight: 700,
- textTransform: "uppercase",
- letterSpacing: "0.03em",
-});
-
-export const tagMore = style({
- fontSize: "0.6875rem",
- color: vars.textDim,
- fontFamily: vars.fontComic,
- fontWeight: 600,
-});
-
-/* Search & filters */
-export const filtersBlock = style({
- marginBottom: "1.5rem",
- display: "flex",
- flexDirection: "column",
- gap: "1rem",
-});
-
-export const filterRow = style({
- display: "flex",
- flexWrap: "wrap",
- gap: "0.5rem",
- justifyContent: "center",
- alignItems: "center",
-});
-
-/* Clickable tag chips — same look as tagChip, but interactive. Used both on
- member cards (click to filter by that tag) and inside the filters panel. */
-export const tagChipButton = style([
- tagChip,
- {
- cursor: "pointer",
- transition: "background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease",
- ":hover": {
- backgroundColor: vars.accent,
- color: vars.bg,
- borderColor: vars.accent,
- },
- ":focus-visible": {
- outline: `2px solid ${vars.accent}`,
- outlineOffset: "2px",
- },
- },
-]);
-
-export const tagChipButtonActive = style({
- backgroundColor: `${vars.accent} !important` as unknown as string,
- color: `${vars.bg} !important` as unknown as string,
- borderColor: vars.accent,
-});
-
-/* Filters popover — single "Filters" trigger grouping the tag + identity
- pickers, replacing the old flat button row. */
-export const filtersWrap = style({
- position: "relative",
- display: "inline-block",
-});
-
-export const filtersButton = style({
- display: "inline-flex",
- alignItems: "center",
- gap: "0.55rem",
- fontFamily: vars.fontComic,
- fontWeight: 700,
- fontSize: "0.75rem",
- textTransform: "uppercase",
- letterSpacing: "0.03em",
- cursor: "pointer",
- border: `1px solid ${vars.surfaceHigher}`,
- backgroundColor: vars.surface,
- color: vars.textSoft,
- padding: "0.625rem 1.05rem",
- borderRadius: vars.radiusSm,
- transition: "background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease",
- ":hover": {
- backgroundColor: vars.surfaceHi,
- color: vars.text,
- borderColor: vars.accent,
- },
-});
-
-export const filtersButtonActive = style({
- backgroundColor: vars.accent,
- color: vars.bg,
- borderColor: vars.accent,
- ":hover": {
- backgroundColor: vars.accentAlt,
- color: vars.bg,
- borderColor: vars.accentAlt,
- },
-});
-
-export const filtersCount = style({
- fontSize: "0.6875rem",
- fontWeight: 700,
- padding: "0.05rem 0.4rem",
- backgroundColor: vars.bg,
- color: vars.accent,
-});
-
-export const filtersPanel = style({
- position: "absolute",
- top: "calc(100% + 8px)",
- left: 0,
- width: "21rem",
- maxWidth: "calc(100vw - 2rem)",
- backgroundColor: vars.panel,
- backdropFilter: "blur(16px)",
- WebkitBackdropFilter: "blur(16px)",
- border: `1px solid ${vars.accentLine}`,
- borderRadius: vars.radius,
- boxShadow: `0 0 0 4px ${vars.accentDim}`,
- padding: "1.1rem",
- zIndex: 30,
- "@media": {
- "screen and (max-width: 640px)": {
- left: "50%",
- transform: "translateX(-50%)",
- },
- },
-});
-
-export const filterGroupLabel = style({
- fontSize: "0.6875rem",
- fontWeight: 700,
- letterSpacing: "0.06em",
- textTransform: "uppercase",
- color: vars.textDim,
- margin: "0 0 0.55rem",
- fontFamily: vars.fontComic,
-});
-
-export const filterGroup = style({
- selectors: {
- "& + &": {
- marginTop: "1.1rem",
- },
- },
-});
-
-export const filterPillRow = style({
- display: "flex",
- flexWrap: "wrap",
- gap: "0.4rem",
-});
-
-export const activeFiltersRow = style({
- display: "flex",
- flexWrap: "wrap",
- gap: "0.5rem",
-});
-
-export const activeChip = style({
- display: "inline-flex",
- alignItems: "center",
- gap: "0.4rem",
- fontFamily: vars.fontComic,
- fontSize: "0.6875rem",
- fontWeight: 600,
- backgroundColor: vars.surface,
- border: `1px solid ${vars.surfaceHigher}`,
- color: vars.textSoft,
- padding: "0.3rem 0.35rem 0.3rem 0.6rem",
- borderRadius: vars.radiusSm,
-});
-
-export const activeChipKey = style({
- color: vars.accent,
- fontWeight: 700,
- textTransform: "uppercase",
- fontSize: "0.625rem",
- letterSpacing: "0.03em",
-});
-
-export const activeChipRemove = style({
- all: "unset",
- cursor: "pointer",
- color: vars.textDim,
- padding: "0 0.2rem",
- lineHeight: 1,
- ":hover": { color: vars.text },
-});
-
-export const flagSwatch = style({
- display: "inline-block",
- width: "0.75rem",
- height: "0.75rem",
- border: "1px solid rgba(0, 0, 0, 0.4)",
- marginRight: "0.4rem",
- verticalAlign: "-1px",
- flexShrink: 0,
-});
-
-export const searchRelative = style({ position: "relative" });
-
-/* Grid extras */
-export const gridItemRelative = style({ position: "relative" });
-
-export const cardCenter = style({
- textAlign: "center",
- width: "100%",
- display: "flex",
- flexDirection: "column",
- alignItems: "center",
- gap: "0.125rem",
-});
-
-export const relativeInline = style({
- position: "relative",
- display: "inline-block"
-});
-
-/* Empty state */
-export const emptyState = style({
- textAlign: "center",
- padding: "2rem 0",
-});
-
-export const emptyText = style({
- fontFamily: vars.fontComic,
- fontWeight: 600,
- fontSize: "1.125rem",
- color: vars.textMuted,
-});
-
-export const emptyActions = style({
- marginTop: "1rem",
- display: "flex",
- gap: "0.5rem",
- justifyContent: "center",
-});
-
-/* Footer extras */
-export const footerNote = style({
- marginTop: "1rem",
- fontSize: "0.875rem",
- color: vars.textMuted,
- fontFamily: vars.fontComic,
- fontWeight: 600,
-});
-
-export const footerNoteLink = style({
- textDecoration: "underline",
- color: "inherit",
- transition: "color 0.15s ease",
- ":hover": { color: vars.text },
-});
-
-/* Screen-reader-only SEO block */
-export const srOnly = style({
- position: "absolute",
- width: "1px",
- height: "1px",
- padding: 0,
- margin: "-1px",
- overflow: "hidden",
- clip: "rect(0, 0, 0, 0)",
- whiteSpace: "nowrap",
- borderWidth: 0,
-});
-
-globalStyle(`${srOnly} *`, {
- position: "static",
-});
-
-/* Desktop nav (plain flex version used on the home header) */
-export const desktopNavRow = style({
- display: "none",
- alignItems: "center",
- gap: "0.75rem",
- "@media": {
- "screen and (min-width: 768px)": { display: "flex" },
- },
-});
diff --git a/src/app/layout.tsx b/src/app/layout.tsx
deleted file mode 100644
index a8f9b33..0000000
--- a/src/app/layout.tsx
+++ /dev/null
@@ -1,87 +0,0 @@
-/* system/src/app/layout.tsx
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-import type { Metadata, Viewport } from "next";
-import "@/styles/theme.css";
-import "@/styles/global.css";
-import Providers from "./providers";
-// import VisitorTracker from "@/components/VisitorTracker";
-
-export const metadata: Metadata = {
- title: "Doughmination System | Plural System Member Tracker & Fronting Manager",
- description:
- "Real-time plural system tracker for the Doughmination System. View current fronters, system members, and track switching patterns. DID/OSDD system management made easy.",
- keywords:
- "plural system, DID, OSDD, system tracker, fronting tracker, plural community, system members, headmates, alters, Doughmination System",
- authors: [{ name: "Doughmination System" }],
- robots: "index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1",
- alternates: {
- canonical: "https://doughmination.co.uk/",
- },
- icons: {
- icon: "https://raw.doughmination.gay/favicons/favicon.png",
- apple: "https://raw.doughmination.gay/favicons/favicon.png",
- },
- appleWebApp: {
- capable: true,
- statusBarStyle: "black-translucent",
- title: "Doughmination System",
- },
- openGraph: {
- siteName: "Doughmination System",
- title: "Doughmination System | Plural System Tracker",
- description:
- "Real-time plural system tracker. View current fronters and members of the Doughmination System.",
- images: [
- {
- url: "https://raw.doughmination.gay/favicons/favicon.png",
- width: 800,
- height: 800,
- },
- ],
- type: "website",
- url: "https://doughmination.co.uk/",
- locale: "en_GB",
- },
- twitter: {
- card: "summary",
- title: "Doughmination System | Plural System Tracker",
- description:
- "Real-time plural system tracker. View current fronters and members of the Doughmination System.",
- images: ["https://raw.doughmination.gay/favicons/favicon.png"],
- site: "@doughmination",
- },
-};
-
-export const viewport: Viewport = {
- width: "device-width",
- initialScale: 1,
- maximumScale: 5,
- themeColor: "#0b0a0d",
-};
-
-export default function RootLayout({
- children,
-}: Readonly<{
- children: React.ReactNode;
-}>) {
- return (
- <html lang="en" data-scroll-behavior="smooth">
- <head>
- <link
- rel="preconnect"
- href="https://m.doughmination.gay"
- crossOrigin=""
- />
- </head>
- <body>
- <Providers>
- {children}
- </Providers>
- </body>
- </html>
- );
-}
diff --git a/src/app/not-found.css.ts b/src/app/not-found.css.ts
deleted file mode 100644
index 44a8c3d..0000000
--- a/src/app/not-found.css.ts
+++ /dev/null
@@ -1,35 +0,0 @@
-/* system/src/app/not-found.css.ts
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-import { style } from "@vanilla-extract/css";
-import { vars } from "@/styles/theme.css";
-
-export const page = style({
- display: "flex",
- minHeight: "100vh",
- alignItems: "center",
- justifyContent: "center",
-});
-
-export const inner = style({ textAlign: "center" });
-
-export const title = style({
- marginBottom: "1rem",
- fontSize: "2.25rem",
- fontWeight: 700,
-});
-
-export const text = style({
- marginBottom: "1rem",
- fontSize: "1.25rem",
- color: vars.textMuted,
-});
-
-export const link = style({
- color: vars.info,
- textDecoration: "underline",
- ":hover": { color: vars.sapphire },
-});
diff --git a/src/app/not-found.tsx b/src/app/not-found.tsx
deleted file mode 100644
index 8e2b05c..0000000
--- a/src/app/not-found.tsx
+++ /dev/null
@@ -1,33 +0,0 @@
-/* system/src/app/not-found.tsx
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-"use client";
-
-import { useEffect } from "react";
-import { usePathname } from "next/navigation";
-import * as s from "./not-found.css";
-
-const NotFound = () => {
- const pathname = usePathname();
-
- useEffect(() => {
- console.error("404 Error: User attempted to access non-existent route:", pathname);
- }, [pathname]);
-
- return (
- <div className={s.page}>
- <div className={s.inner}>
- <h1 className={s.title}>404</h1>
- <p className={s.text}>Oops! Page not found</p>
- <a href="/" className={s.link}>
- Return to Home
- </a>
- </div>
- </div>
- );
-};
-
-export default NotFound;
diff --git a/src/app/owner/dash/page.tsx b/src/app/owner/dash/page.tsx
deleted file mode 100644
index 20d326c..0000000
--- a/src/app/owner/dash/page.tsx
+++ /dev/null
@@ -1,68 +0,0 @@
-/* system/src/app/owner/dash/page.tsx
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-"use client";
-
-import React from "react";
-import Link from "next/link";
-import { Button } from "@/components/ui/button";
-import ProtectedRoute from "@/components/ProtectedRoute";
-import * as s from "@/styles/admin.css";
-import { Users, ArrowLeft } from "lucide-react";
-
-const OwnerDash: React.FC = () => {
- const ownerPages = [
- {
- path: "/owner/users",
- label: "User Management",
- icon: Users,
- desc: "Manage all users"
- },
- ];
-
- return (
- <div className={s.page}>
- <div className={s.wrapNarrow}>
- {/* Header */}
- <div className={s.headerRow}>
- <div>
- <h1 className={s.pageTitle}>Owner Dashboard</h1>
- <p className={s.pageSubtitle}>System management hub</p>
- </div>
- <Button variant="outline" asChild>
- <Link href="/">
- <ArrowLeft className={s.btnIcon} />
- Back to Home
- </Link>
- </Button>
- </div>
-
- {/* Owner Navigation Grid */}
- <div className={s.dashGrid}>
- {ownerPages.map((page) => (
- <Link key={page.path} href={page.path}>
- <div className={s.dashCard}>
- <div className={s.dashIconBlock}>
- <page.icon className={s.dashIcon} />
- </div>
- <h3 className={s.dashLabel}>{page.label}</h3>
- <p className={s.dashDesc}>{page.desc}</p>
- </div>
- </Link>
- ))}
- </div>
- </div>
- </div>
- );
-};
-
-export default function OwnerDashPage() {
- return (
- <ProtectedRoute ownerRequired>
- <OwnerDash />
- </ProtectedRoute>
- );
-}
diff --git a/src/app/owner/users/page.tsx b/src/app/owner/users/page.tsx
deleted file mode 100644
index e43fc94..0000000
--- a/src/app/owner/users/page.tsx
+++ /dev/null
@@ -1,636 +0,0 @@
-/* system/src/app/owner/users/page.tsx
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-"use client";
-
-import React, { useState, useEffect, useCallback } from "react";
-import Link from "next/link";
-import { Card, CardContent, CardHeader, CardTitle, CardDescription } from "@/components/ui/card";
-import { Button } from "@/components/ui/button";
-import { Input } from "@/components/ui/input";
-import { Label } from "@/components/ui/label";
-import { Alert, AlertDescription } from "@/components/ui/alert";
-import { Badge } from "@/components/ui/badge";
-import { Checkbox } from "@/components/ui/checkbox";
-import ProtectedRoute from "@/components/ProtectedRoute";
-import { useUserInfo, useDoughminationClient } from "doughmination-api";
-import { cn } from "@/lib/utils";
-import * as s from "@/styles/admin.css";
-
-// Human message from either API error convention; the /users admin endpoints
-// aren't wrapped by the package client, so errors are parsed here.
-function apiErrorMessage(body: unknown, fallback: string): string {
- if (body && typeof body === "object") {
- const b = body as { error?: { message?: string }; detail?: string; message?: string };
- return b.error?.message || b.detail || b.message || fallback;
- }
- return fallback;
-}
-
-interface User {
- id: string;
- username: string;
- display_name?: string;
- email?: string | null;
- created_at?: string | null;
- is_admin: boolean;
- is_owner?: boolean;
- is_pet?: boolean;
- avatar_url?: string;
-}
-
-const FALLBACK_AVATAR = "https://raw.doughmination.gay/favicons/favicon.png";
-
-const UserManager: React.FC = () => {
- const client = useDoughminationClient();
-
- // Email is contact metadata only (sign-in is the SSO). A user may change
- // their OWN address on their profile page; an admin/owner may change anyone
- // else's. This panel only ever acts on other people, so the control is
- // owner-only here.
- const currentUser = useUserInfo();
- const currentUserId = currentUser.data?.id ?? "";
- const isOwner = !!currentUser.data?.is_owner;
-
- const [users, setUsers] = useState<User[]>([]);
- const [loading, setLoading] = useState(true);
- const [saving, setSaving] = useState(false);
- const [message, setMessage] = useState<{ type: "success" | "error"; content: string } | null>(
- null,
- );
-
- // Create user form state
- const [showCreateForm, setShowCreateForm] = useState(false);
- const [newUsername, setNewUsername] = useState("");
- const [newDisplayName, setNewDisplayName] = useState("");
- const [newEmail, setNewEmail] = useState("");
- const [newIsAdmin, setNewIsAdmin] = useState(false);
- const [newIsPet, setNewIsPet] = useState(false);
-
- // Per-user edit panel state
- const [editingUserId, setEditingUserId] = useState<string | null>(null);
- const [editDisplayName, setEditDisplayName] = useState("");
- const [editEmail, setEditEmail] = useState("");
- const [editAvatarUrl, setEditAvatarUrl] = useState("");
- const [editIsAdmin, setEditIsAdmin] = useState(false);
- const [editIsPet, setEditIsPet] = useState(false);
-
- const fetchUsers = useCallback(async () => {
- const token = localStorage.getItem("token");
- if (!token) {
- setMessage({
- type: "error",
- content: "Authentication required"
- });
- return;
- }
-
- try {
- const response = await fetch(`${client.baseUrl}/plural/users`, {
- headers: { Authorization: `Bearer ${token}` },
- });
-
- if (response.ok) {
- const data = (await response.json()) as User[];
- setUsers([...data].sort((a, b) => a.username.localeCompare(b.username)));
- } else {
- setMessage({
- type: "error",
- content: "Failed to fetch users"
- });
- }
- } catch (err) {
- console.error("Error fetching users:", err);
- setMessage({
- type: "error",
- content: "Network error occurred"
- });
- }
- }, [client]);
-
- useEffect(() => {
- fetchUsers().finally(() => setLoading(false));
- }, [fetchUsers]);
-
- const handleCreateUser = async (e: React.FormEvent) => {
- e.preventDefault();
-
- if (!newUsername.trim()) {
- setMessage({
- type: "error",
- content: "Username is required"
- });
- return;
- }
-
- const token = localStorage.getItem("token");
- if (!token) return setMessage({
- type: "error",
- content: "Authentication required"
- });
-
- setSaving(true);
- setMessage(null);
-
- try {
- const response = await fetch(`${client.baseUrl}/plural/users`, {
- method: "POST",
- headers: {
- "Content-Type": "application/json",
- Authorization: `Bearer ${token}`,
- },
- body: JSON.stringify({
- username: newUsername.trim(),
- display_name: newDisplayName.trim() || undefined,
- email: newEmail.trim() || undefined,
- is_admin: newIsAdmin,
- is_pet: newIsPet,
- }),
- });
-
- if (!response.ok) {
- const errorData = await response.json().catch(() => null);
- throw new Error(apiErrorMessage(errorData, "Failed to create user"));
- }
-
- setMessage({
- type: "success",
- content: "User created. They can sign in once they authenticate with SSO under this username."
- });
- setNewUsername("");
- setNewDisplayName("");
- setNewEmail("");
- setNewIsAdmin(false);
- setNewIsPet(false);
- setShowCreateForm(false);
- await fetchUsers();
- } catch (err: unknown) {
- setMessage({
- type: "error",
- content: err instanceof Error ? err.message : "Failed to create user",
- });
- } finally {
- setSaving(false);
- }
- };
-
- const startEditing = (user: User) => {
- setEditingUserId(user.id);
- setEditDisplayName(user.display_name || "");
- setEditEmail(user.email || "");
- setEditAvatarUrl(user.avatar_url || "");
- setEditIsAdmin(!!user.is_admin);
- setEditIsPet(!!user.is_pet);
- setMessage(null);
- };
-
- const cancelEditing = () => {
- setEditingUserId(null);
- };
-
- const handleSaveUser = async (user: User) => {
- const token = localStorage.getItem("token");
- if (!token) return setMessage({
- type: "error",
- content: "Authentication required"
- });
-
- setSaving(true);
- setMessage(null);
-
- try {
- const response = await fetch(`${client.baseUrl}/plural/users/${user.id}`, {
- method: "PUT",
- headers: {
- "Content-Type": "application/json",
- Authorization: `Bearer ${token}`,
- },
- body: JSON.stringify({
- // null explicitly clears the field on the API; a value sets it
- display_name: editDisplayName.trim() || null,
- avatar_url: editAvatarUrl.trim() || null,
- is_admin: editIsAdmin,
- is_pet: editIsPet,
- // Owner-only field, and only when it actually changed.
- ...(isOwner && editEmail.trim() !== (user.email || "")
- ? { email: editEmail.trim() || null }
- : {}),
- }),
- });
-
- if (!response.ok) {
- const errorData = await response.json().catch(() => null);
- throw new Error(apiErrorMessage(errorData, "Failed to update user"));
- }
-
- setMessage({
- type: "success",
- content: `Updated @${user.username} successfully!`
- });
- setEditingUserId(null);
- await fetchUsers();
- } catch (err: unknown) {
- setMessage({
- type: "error",
- content: err instanceof Error ? err.message : "Failed to update user",
- });
- } finally {
- setSaving(false);
- }
- };
-
- const handleDeleteUser = async (userId: string, username: string) => {
- if (userId === currentUserId) {
- setMessage({
- type: "error",
- content: "Cannot delete your own account"
- });
- return;
- }
-
- if (!window.confirm(`Delete user "${username}"? This action cannot be undone.`)) {
- return;
- }
-
- const token = localStorage.getItem("token");
- if (!token) return setMessage({
- type: "error",
- content: "Authentication required"
- });
-
- setSaving(true);
- setMessage(null);
-
- try {
- const response = await fetch(`${client.baseUrl}/plural/users/${userId}`, {
- method: "DELETE",
- headers: { Authorization: `Bearer ${token}` },
- });
-
- if (!response.ok) {
- const errorData = await response.json().catch(() => null);
- throw new Error(apiErrorMessage(errorData, "Failed to delete user"));
- }
-
- setMessage({
- type: "success",
- content: "User deleted successfully!"
- });
- await fetchUsers();
- } catch (err: unknown) {
- setMessage({
- type: "error",
- content: err instanceof Error ? err.message : "Failed to delete user",
- });
- } finally {
- setSaving(false);
- }
- };
-
- if (loading) {
- return (
- <div className={s.page}>
- <div className={s.loadingText}>Loading...</div>
- </div>
- );
- }
-
- return (
- <div className={s.page}>
- <div className={s.wrap}>
- {/* Header */}
- <div className={s.headerRow}>
- <div>
- <h1 className={s.pageTitle}>User Manager</h1>
- <p className={s.pageSubtitle}>Manage system users, roles and permissions</p>
- </div>
- <Button variant="outline" asChild>
- <Link href="/owner/dash">Back to Dashboard</Link>
- </Button>
- </div>
-
- {/* Messages */}
- {message && (
- <Alert variant={message.type === "error" ? "destructive" : "default"}>
- <AlertDescription>{message.content}</AlertDescription>
- </Alert>
- )}
-
- {/* Create User Button */}
- {!showCreateForm && (
- <Card>
- <CardContent className={s.cardTopPad}>
- <Button onClick={() => setShowCreateForm(true)} className={s.fullWidth}>
- + Create New User
- </Button>
- </CardContent>
- </Card>
- )}
-
- {/* Create User Form */}
- {showCreateForm && (
- <Card>
- <CardHeader>
- <CardTitle>Create New User</CardTitle>
- <CardDescription>Add a new user to the system</CardDescription>
- </CardHeader>
- <CardContent>
- <form onSubmit={handleCreateUser} className={s.formStack}>
- <div className={s.fieldBlock}>
- <Label htmlFor="new-username">Username *</Label>
- <Input
- id="new-username"
- type="text"
- value={newUsername}
- onChange={(e) => setNewUsername(e.target.value)}
- placeholder="Enter username"
- disabled={saving}
- />
- </div>
-
- <div className={s.fieldBlock}>
- <Label htmlFor="new-email">Email</Label>
- <Input
- id="new-email"
- type="email"
- value={newEmail}
- onChange={(e) => setNewEmail(e.target.value)}
- placeholder="[email protected]"
- disabled={saving}
- />
- <p className={s.helpText}>
- Optional contact address. Sign-in is handled by SSO — this account links to
- the person the first time they log in under this username.
- </p>
- </div>
-
- <div className={s.fieldBlock}>
- <Label htmlFor="new-display-name">Display Name</Label>
- <Input
- id="new-display-name"
- type="text"
- value={newDisplayName}
- onChange={(e) => setNewDisplayName(e.target.value)}
- placeholder="Optional display name"
- disabled={saving}
- />
- </div>
-
- <div className={s.checkboxRow}>
- <Checkbox
- id="new-is-admin"
- checked={newIsAdmin}
- onCheckedChange={(checked) => setNewIsAdmin(checked as boolean)}
- disabled={saving}
- />
- <Label htmlFor="new-is-admin" className={s.checkboxLabel}>
- Admin privileges
- </Label>
- </div>
-
- <div className={s.checkboxRow}>
- <Checkbox
- id="new-is-pet"
- checked={newIsPet}
- onCheckedChange={(checked) => setNewIsPet(checked as boolean)}
- disabled={saving}
- />
- <Label htmlFor="new-is-pet" className={s.checkboxLabel}>
- Pet role
- </Label>
- </div>
-
- <div className={s.buttonRow}>
- <Button type="submit" disabled={saving} className={s.flexGrow}>
- {saving ? "Creating..." : "Create User"}
- </Button>
- <Button
- type="button"
- variant="outline"
- onClick={() => {
- setShowCreateForm(false);
- setNewUsername("");
- setNewDisplayName("");
- setNewEmail("");
- setNewIsAdmin(false);
- setNewIsPet(false);
- }}
- disabled={saving}
- >
- Cancel
- </Button>
- </div>
- </form>
- </CardContent>
- </Card>
- )}
-
- {/* Users List */}
- <Card>
- <CardHeader>
- <CardTitle>All Users</CardTitle>
- <CardDescription>
- {users.length} user{users.length !== 1 ? "s" : ""} in the system
- </CardDescription>
- </CardHeader>
- <CardContent>
- {users.length > 0 ? (
- <div className={s.listStack}>
- {users.map((user) => {
- const isCurrentUser = user.id === currentUserId;
- const isEditing = editingUserId === user.id;
-
- return (
- <React.Fragment key={user.id}>
- <div className={cn(s.userRow, isCurrentUser && s.userRowCurrent)}>
- {/* Avatar */}
- {/* eslint-disable-next-line @next/next/no-img-element */}
- <img
- src={user.avatar_url || FALLBACK_AVATAR}
- alt={user.display_name || user.username}
- className={s.userAvatar}
- onError={(e) => {
- (e.target as HTMLImageElement).src = FALLBACK_AVATAR;
- }}
- />
-
- {/* User Info */}
- <div className={s.userInfo}>
- <div className={s.userNameRow}>
- <p className={s.userName}>{user.display_name || user.username}</p>
- {user.is_owner && (
- <Badge variant="default" className={s.smallBadge}>
- Owner
- </Badge>
- )}
- {user.is_admin && (
- <Badge variant="destructive" className={s.smallBadge}>
- Admin
- </Badge>
- )}
- {user.is_pet && (
- <Badge variant="default" className={s.smallBadge}>
- Pet
- </Badge>
- )}
- {isCurrentUser && (
- <Badge variant="secondary" className={s.smallBadge}>
- You
- </Badge>
- )}
- </div>
- <p className={s.userHandle}>@{user.username}</p>
- <p className={s.userHandle}>{user.email || "no email on file"}</p>
- </div>
-
- {/* Actions */}
- <div className={s.buttonRow}>
- <Button
- variant="outline"
- size="sm"
- onClick={() => (isEditing ? cancelEditing() : startEditing(user))}
- disabled={saving}
- >
- {isEditing ? "Close" : "Edit"}
- </Button>
- {!isCurrentUser && (
- <Button
- variant="destructive"
- size="sm"
- onClick={() => handleDeleteUser(user.id, user.username)}
- disabled={saving}
- >
- Delete
- </Button>
- )}
- </div>
- </div>
-
- {/* Edit Panel — roles, display name, avatar URL */}
- {isEditing && (
- <div className={s.editPanel}>
- <div className={s.fieldBlock}>
- <Label htmlFor={`edit-display-${user.id}`}>Display Name</Label>
- <Input
- id={`edit-display-${user.id}`}
- type="text"
- value={editDisplayName}
- onChange={(e) => setEditDisplayName(e.target.value)}
- placeholder="Display name"
- disabled={saving}
- />
- </div>
-
- <div className={s.fieldBlock}>
- <Label htmlFor={`edit-email-${user.id}`}>Email</Label>
- <Input
- id={`edit-email-${user.id}`}
- type="email"
- value={editEmail}
- onChange={(e) => setEditEmail(e.target.value)}
- placeholder="[email protected]"
- disabled={saving || !isOwner}
- />
- <p className={s.helpText}>
- {isOwner
- ? "Contact address only — sign-in email is managed by your SSO provider."
- : "Only the owner can change someone else's email. Your own is on your profile page."}
- </p>
- </div>
-
- <div className={s.fieldBlock}>
- <Label htmlFor={`edit-avatar-${user.id}`}>Avatar URL</Label>
- <Input
- id={`edit-avatar-${user.id}`}
- type="url"
- value={editAvatarUrl}
- onChange={(e) => setEditAvatarUrl(e.target.value)}
- placeholder="https://example.com/avatar.png"
- disabled={saving}
- />
- <p className={s.helpText}>
- Avatars are external image links — no uploads
- </p>
- </div>
-
- <div className={s.checkboxRow}>
- <Checkbox
- id={`edit-admin-${user.id}`}
- checked={editIsAdmin}
- onCheckedChange={(checked) => setEditIsAdmin(checked as boolean)}
- disabled={saving}
- />
- <Label htmlFor={`edit-admin-${user.id}`} className={s.checkboxLabel}>
- Admin privileges
- </Label>
- </div>
-
- <div className={s.checkboxRow}>
- <Checkbox
- id={`edit-pet-${user.id}`}
- checked={editIsPet}
- onCheckedChange={(checked) => setEditIsPet(checked as boolean)}
- disabled={saving}
- />
- <Label htmlFor={`edit-pet-${user.id}`} className={s.checkboxLabel}>
- Pet role
- </Label>
- </div>
-
- <div className={s.buttonRow}>
- <Button
- onClick={() => handleSaveUser(user)}
- disabled={saving}
- className={s.flexGrow}
- >
- {saving ? "Saving..." : "Save Changes"}
- </Button>
- <Button variant="outline" onClick={cancelEditing} disabled={saving}>
- Cancel
- </Button>
- </div>
- </div>
- )}
- </React.Fragment>
- );
- })}
- </div>
- ) : (
- <p className={s.emptyNote}>No users found</p>
- )}
- </CardContent>
- </Card>
-
- {/* Statistics */}
- <Card>
- <CardHeader>
- <CardTitle>User Statistics</CardTitle>
- </CardHeader>
- <CardContent>
- <div className={s.statsGrid}>
- <div className={s.statBox}>
- <p className={s.statLabel}>Total Users</p>
- <p className={s.statValue}>{users.length}</p>
- </div>
- <div className={s.statBox}>
- <p className={s.statLabel}>Admins</p>
- <p className={s.statValue}>{users.filter((u) => u.is_admin).length}</p>
- </div>
- </div>
- </CardContent>
- </Card>
- </div>
- </div>
- );
-};
-
-export default function UserManagerPage() {
- return (
- <ProtectedRoute ownerRequired>
- <UserManager />
- </ProtectedRoute>
- );
-}
diff --git a/src/app/providers.tsx b/src/app/providers.tsx
deleted file mode 100644
index bc5c284..0000000
--- a/src/app/providers.tsx
+++ /dev/null
@@ -1,40 +0,0 @@
-/* system/src/app/providers.tsx
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-"use client";
-
-import { useState } from "react";
-import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
-import { DoughminationProvider } from "doughmination-api";
-import { Toaster } from "@/components/ui/toaster";
-import { Toaster as Sonner } from "@/components/ui/sonner";
-import { TooltipProvider } from "@/components/ui/tooltip";
-
-/**
- * Reads the auth token from localStorage on every request, so a token that
- * arrives after an SSO login (or is cleared on logout) is always current
- * without rebuilding the client.
- */
-function readToken(): string | null {
- if (typeof window === "undefined") return null;
- return localStorage.getItem("token");
-}
-
-export default function Providers({ children }: { children: React.ReactNode }) {
- const [queryClient] = useState(() => new QueryClient());
-
- return (
- <QueryClientProvider client={queryClient}>
- <DoughminationProvider token={readToken}>
- <TooltipProvider>
- <Toaster />
- <Sonner />
- {children}
- </TooltipProvider>
- </DoughminationProvider>
- </QueryClientProvider>
- );
-}
diff --git a/src/app/relationships/page.tsx b/src/app/relationships/page.tsx
deleted file mode 100644
index 53b9365..0000000
--- a/src/app/relationships/page.tsx
+++ /dev/null
@@ -1,204 +0,0 @@
-/* system/src/app/relationships/page.tsx
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-"use client";
-
-import React, { useMemo } from "react";
-import Link from "next/link";
-import { useMembers, useRelationships, type PluralMember } from "doughmination-api";
-import { normalizeColor } from "@/lib/utils";
-import * as s from "@/styles/admin.css";
-
-const FALLBACK_AVATAR = "https://raw.doughmination.gay/favicons/favicon.png";
-
-const SIZE = 720;
-const CENTER = SIZE / 2;
-const RING_RADIUS = 280;
-const NODE_RADIUS = 34;
-
-interface GraphNode {
- id: string;
- member: PluralMember;
- x: number;
- y: number;
-}
-
-const RelationshipMap: React.FC = () => {
- const membersQuery = useMembers();
- const relationshipsQuery = useRelationships();
-
- const members = membersQuery.data ?? [];
- const relationships = relationshipsQuery.data?.relationships ?? [];
-
- const memberById = useMemo(() => {
- const lookup = new Map<string, PluralMember>();
- for (const member of members) {
- if (member.id) lookup.set(member.id, member);
- if (member.name) lookup.set(member.name, member);
- }
- return lookup;
- }, [members]);
-
- // Only members that appear in at least one relationship become nodes.
- const nodes = useMemo<GraphNode[]>(() => {
- const involved = new Set<string>();
- for (const edge of relationships) {
- involved.add(edge.members[0]);
- involved.add(edge.members[1]);
- }
-
- const resolved = Array.from(involved)
- .map((identifier) => memberById.get(identifier))
- .filter((member): member is PluralMember => Boolean(member));
-
- const count = resolved.length;
- return resolved.map((member, index) => {
- const angle = (index / Math.max(count, 1)) * Math.PI * 2 - Math.PI / 2;
- return {
- id: member.id,
- member,
- x: CENTER + RING_RADIUS * Math.cos(angle),
- y: CENTER + RING_RADIUS * Math.sin(angle),
- };
- });
- }, [relationships, memberById]);
-
- const nodeById = useMemo(() => {
- const lookup = new Map<string, GraphNode>();
- for (const node of nodes) {
- lookup.set(node.member.id, node);
- if (node.member.name) lookup.set(node.member.name, node);
- }
- return lookup;
- }, [nodes]);
-
- const loading = membersQuery.isLoading || relationshipsQuery.isLoading;
-
- return (
- <div className={s.page}>
- <div className={s.wrap}>
- <div className={s.headerRow}>
- <div>
- <h1 className={s.pageTitle}>Relationship Map</h1>
- <p className={s.pageSubtitle}>Who is dating who across the system</p>
- </div>
- <Button asChildHref="/">Back to Home</Button>
- </div>
-
- {loading ? (
- <div className={s.loadingText}>Loading map...</div>
- ) : nodes.length === 0 ? (
- <p className={s.emptyNote}>No relationships to show yet</p>
- ) : (
- <div style={{
- width: "100%",
- overflowX: "auto"
- }}>
- <svg
- viewBox={`0 0 ${SIZE} ${SIZE}`}
- width="100%"
- style={{
- maxWidth: `${SIZE}px`,
- margin: "0 auto",
- display: "block"
- }}
- role="img"
- aria-label="Relationship map"
- >
- <defs>
- {nodes.map((node) => (
- <clipPath key={node.id} id={`clip-${node.id}`}>
- <circle cx={node.x} cy={node.y} r={NODE_RADIUS} />
- </clipPath>
- ))}
- </defs>
-
- {relationships.map((edge) => {
- const from = nodeById.get(edge.members[0]);
- const to = nodeById.get(edge.members[1]);
- if (!from || !to) return null;
- const midX = (from.x + to.x) / 2;
- const midY = (from.y + to.y) / 2;
- return (
- <g key={edge.id}>
- <line
- x1={from.x}
- y1={from.y}
- x2={to.x}
- y2={to.y}
- stroke="var(--accent)"
- strokeWidth={2}
- strokeOpacity={0.55}
- />
- <text
- x={midX}
- y={midY - 4}
- textAnchor="middle"
- fontSize={11}
- fill="var(--text-muted)"
- >
- {edge.type}
- </text>
- </g>
- );
- })}
-
- {nodes.map((node) => {
- const color = normalizeColor(node.member.color) || "var(--accent)";
- const name = node.member.display_name || node.member.name || node.member.id;
- return (
- <g key={node.id}>
- <circle
- cx={node.x}
- cy={node.y}
- r={NODE_RADIUS + 2}
- fill="var(--card, #1a1a1a)"
- stroke={color}
- strokeWidth={2}
- />
- <image
- href={node.member.avatar_url || FALLBACK_AVATAR}
- x={node.x - NODE_RADIUS}
- y={node.y - NODE_RADIUS}
- width={NODE_RADIUS * 2}
- height={NODE_RADIUS * 2}
- clipPath={`url(#clip-${node.id})`}
- preserveAspectRatio="xMidYMid slice"
- />
- <text
- x={node.x}
- y={node.y + NODE_RADIUS + 16}
- textAnchor="middle"
- fontSize={13}
- fill="var(--text)"
- >
- {name}
- </text>
- </g>
- );
- })}
- </svg>
- </div>
- )}
- </div>
- </div>
- );
-};
-
-// Small helper so the header button stays a plain link without pulling in the
-// full Button variant surface on a public page.
-const Button: React.FC<{ children: React.ReactNode; asChildHref: string }> = ({
- children,
- asChildHref,
-}) => (
- <Link href={asChildHref} className={s.chip} style={{ textDecoration: "none" }}>
- {children}
- </Link>
-);
-
-export default function RelationshipMapPage() {
- return <RelationshipMap />;
-}
diff --git a/src/app/user/auth.css.ts b/src/app/user/auth.css.ts
deleted file mode 100644
index f7a362c..0000000
--- a/src/app/user/auth.css.ts
+++ /dev/null
@@ -1,364 +0,0 @@
-/* system/src/app/user/auth.css.ts
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- *
- * Shared styles for the auth pages (login, forgot password).
- */
-
-import { keyframes, style } from "@vanilla-extract/css";
-import { vars } from "@/styles/theme.css";
-
-const bounce = keyframes({
- "0%, 100%": {
- transform: "translateY(-25%)",
- animationTimingFunction: "cubic-bezier(0.8, 0, 1, 1)",
- },
- "50%": {
- transform: "none",
- animationTimingFunction: "cubic-bezier(0, 0, 0.2, 1)",
- },
-});
-
-const spin = keyframes({
- from: { transform: "rotate(0deg)" },
- to: { transform: "rotate(360deg)" },
-});
-
-export const card = style({
- maxWidth: "28rem",
- margin: "2.5rem auto 0",
- padding: "1.5rem",
- border: `1px solid ${vars.surfaceHigher}`,
- borderRadius: vars.radiusSm,
- backgroundColor: vars.bgRaised,
-});
-
-export const heading = style({
- fontSize: "1.5rem",
- fontWeight: 700,
- marginBottom: "1.5rem",
- textAlign: "center",
- fontFamily: vars.fontComic,
-});
-
-export const errorBox = style({
- backgroundColor: `color-mix(in srgb, ${vars.danger} 12%, ${vars.bg})`,
- border: `1px solid ${vars.danger}`,
- color: vars.danger,
- padding: "0.75rem",
- borderRadius: vars.radiusSm,
- marginBottom: "1rem",
-});
-
-export const successBox = style({
- backgroundColor: `color-mix(in srgb, ${vars.success} 12%, ${vars.bg})`,
- border: `1px solid ${vars.success}`,
- color: vars.success,
- padding: "0.75rem",
- borderRadius: vars.radiusSm,
- marginBottom: "1rem",
-});
-
-export const form = style({
- display: "flex",
- flexDirection: "column",
- gap: "1rem",
-});
-
-export const fieldLabel = style({
- display: "block",
- marginBottom: "0.25rem",
- fontSize: "0.875rem",
- fontWeight: 500,
- fontFamily: vars.fontComic,
-});
-
-export const textInput = style({
- width: "100%",
- border: `1px solid ${vars.surfaceHigher}`,
- padding: "0.5rem",
- borderRadius: vars.radiusSm,
- backgroundColor: vars.surface,
- color: vars.text,
- fontFamily: vars.fontComic,
-});
-
-export const linkRight = style({
- textAlign: "right",
-});
-
-export const blueLink = style({
- fontSize: "0.875rem",
- color: vars.info,
- fontFamily: vars.fontComic,
- textDecoration: "none",
- ":hover": {
- color: vars.sapphire,
- textDecoration: "underline",
- },
-});
-
-export const turnstileBlock = style({
- display: "flex",
- flexDirection: "column",
- gap: "0.5rem",
-});
-
-export const turnstileCenter = style({
- display: "flex",
- justifyContent: "center",
-});
-
-export const mutedNote = style({
- fontSize: "0.875rem",
- color: vars.textMuted,
- textAlign: "center",
- fontFamily: vars.fontComic,
-});
-
-export const submitBtn = style({
- display: "flex",
- alignItems: "center",
- justifyContent: "center",
- gap: "0.5rem",
- width: "100%",
- boxSizing: "border-box",
- textAlign: "center",
- textDecoration: "none",
- backgroundColor: vars.accent,
- color: vars.bgDeep,
- padding: "0.625rem 0.75rem",
- borderRadius: vars.radiusSm,
- border: `1px solid ${vars.text}`,
- cursor: "pointer",
- fontWeight: 700,
- fontSize: "0.8125rem",
- textTransform: "uppercase",
- letterSpacing: "0.04em",
- transition: "background-color 0.15s ease",
- fontFamily: vars.fontComic,
- ":hover": { backgroundColor: vars.accentAlt },
- ":disabled": {
- backgroundColor: vars.surfaceHigher,
- color: vars.textDim,
- borderColor: vars.surfaceHigher,
- cursor: "not-allowed",
- },
-});
-
-export const submitBtnIcon = style({
- width: "0.9375rem",
- height: "0.9375rem",
-});
-
-/** Vertical stack for standalone actions (e.g. the SSO sign-in button). */
-export const actions = style({
- display: "flex",
- flexDirection: "column",
- gap: "0.75rem",
-});
-
-export const bottomNote = style({
- marginTop: "1rem",
- textAlign: "center",
- fontSize: "0.875rem",
- fontFamily: vars.fontComic,
-});
-
-export const loadingNote = style({
- marginTop: "1rem",
- textAlign: "center",
- fontSize: "0.875rem",
- color: vars.textMuted,
- fontFamily: vars.fontComic,
-});
-
-/* Welcome screen */
-export const welcomeInner = style({
- textAlign: "center",
- display: "flex",
- flexDirection: "column",
- gap: "1.5rem",
-});
-
-export const welcomeEmoji = style({
- fontSize: "3.75rem",
- animation: `${bounce} 1s infinite`,
-});
-
-export const welcomeTitle = style({
- fontSize: "1.875rem",
- fontWeight: 700,
- fontFamily: vars.fontComic,
- color: vars.accent,
-});
-
-export const welcomeName = style({
- fontSize: "1.25rem",
- fontFamily: vars.fontComic,
- fontWeight: 600,
-});
-
-export const spinnerWrap = style({
- display: "flex",
- justifyContent: "center",
-});
-
-export const spinner = style({
- animation: `${spin} 1s linear infinite`,
- borderRadius: "9999px",
- height: "2rem",
- width: "2rem",
- borderBottom: `2px solid ${vars.accent}`,
-});
-
-/* ---------------------------------------------------------------------------
- Account recovery (forgot password / forgot username / reset password)
- --------------------------------------------------------------------------- */
-
-export const subtitle = style({
- marginTop: "-1rem",
- marginBottom: "1.5rem",
- textAlign: "center",
- fontSize: "0.875rem",
- color: vars.textMuted,
- fontFamily: vars.fontComic,
- lineHeight: 1.5,
-});
-
-/** Confirmation panel shown after a recovery email goes out. */
-export const sentInner = style({
- textAlign: "center",
- display: "flex",
- flexDirection: "column",
- gap: "1rem",
- alignItems: "center",
-});
-
-export const sentEmoji = style({ fontSize: "3rem" });
-
-export const sentTitle = style({
- fontSize: "1.5rem",
- fontWeight: 700,
- fontFamily: vars.fontComic,
- color: vars.success,
- margin: 0,
-});
-
-export const sentText = style({
- fontSize: "0.9375rem",
- fontFamily: vars.fontComic,
- lineHeight: 1.6,
- margin: 0,
-});
-
-/** The masked a•••@d•••.win hint. Monospace so the dots line up. */
-export const maskedAddress = style({
- display: "inline-block",
- padding: "0.5rem 0.875rem",
- borderRadius: "0.375rem",
- backgroundColor: vars.surface,
- border: `1px solid ${vars.surfaceHi}`,
- color: vars.accent,
- fontFamily: vars.fontComic,
- fontWeight: 600,
- fontSize: "1rem",
- letterSpacing: "0.02em",
-});
-
-/** Inline availability / validation feedback under a field. */
-export const fieldHint = style({
- marginTop: "0.375rem",
- fontSize: "0.8125rem",
- fontFamily: vars.fontComic,
-});
-
-export const hintOk = style([fieldHint, { color: vars.success }]);
-export const hintBad = style([fieldHint, { color: vars.danger }]);
-export const hintMuted = style([fieldHint, { color: vars.textMuted }]);
-
-export const helperText = style({
- fontSize: "0.8125rem",
- color: vars.textMuted,
- fontFamily: vars.fontComic,
- marginTop: "0.375rem",
- lineHeight: 1.5,
-});
-
-/** Requirement checklist on the reset form. */
-export const ruleList = style({
- listStyle: "none",
- margin: "0.5rem 0 0",
- padding: 0,
- display: "flex",
- flexDirection: "column",
- gap: "0.25rem",
-});
-
-export const ruleItem = style({
- fontSize: "0.8125rem",
- fontFamily: vars.fontComic,
- color: vars.textMuted,
- display: "flex",
- alignItems: "center",
- gap: "0.375rem",
-});
-
-export const ruleMet = style([ruleItem, { color: vars.success }]);
-
-export const linkRow = style({
- marginTop: "1rem",
- display: "flex",
- justifyContent: "space-between",
- gap: "1rem",
- fontSize: "0.875rem",
- fontFamily: vars.fontComic,
-});
-
-/** Full-card centred state, used while validating a reset token. */
-export const centerState = style({
- textAlign: "center",
- display: "flex",
- flexDirection: "column",
- gap: "1rem",
- alignItems: "center",
- padding: "1rem 0",
-});
-
-export const stateEmoji = style({ fontSize: "3rem" });
-
-export const stateTitle = style({
- fontSize: "1.375rem",
- fontWeight: 700,
- fontFamily: vars.fontComic,
- margin: 0,
-});
-
-export const stateTitleBad = style([stateTitle, { color: vars.danger }]);
-
-/** Callout panel — e.g. the "confirm your email" prompt on failed login. */
-export const infoPanel = style({
- display: "flex",
- flexDirection: "column",
- gap: "0.75rem",
- padding: "1rem",
- marginBottom: "1rem",
- borderRadius: "0.5rem",
- backgroundColor: `color-mix(in srgb, ${vars.warning} 12%, ${vars.bg})`,
- border: `1px solid color-mix(in srgb, ${vars.warning} 40%, transparent)`,
-});
-
-export const backLink = style({
- display: "inline-block",
- marginTop: "0.5rem",
- padding: "0.5rem 1.25rem",
- borderRadius: "0.375rem",
- backgroundColor: vars.accent,
- color: vars.bg,
- fontFamily: vars.fontComic,
- fontWeight: 600,
- fontSize: "0.875rem",
- textDecoration: "none",
- ":hover": { backgroundColor: vars.accentAlt },
-});
diff --git a/src/app/user/login/callback/page.tsx b/src/app/user/login/callback/page.tsx
deleted file mode 100644
index 132b786..0000000
--- a/src/app/user/login/callback/page.tsx
+++ /dev/null
@@ -1,94 +0,0 @@
-/* system/src/app/user/login/callback/page.tsx
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-"use client";
-
-import React, { Suspense, useEffect, useState } from "react";
-import Link from "next/link";
-import { useRouter } from "next/navigation";
-import * as s from "../../auth.css";
-
-/**
- * SSO login landing page.
- *
- * The API's OIDC callback mints a JWT and redirects here with the token in the
- * URL fragment (`#token=…&from=…`) so it never touches a server log. We read it
- * from `location.hash`, store it where the provider's client picks it up, then
- * forward the user to wherever they were headed.
- */
-
-/** Only allow returning to same-site app paths — never "//host" or a full URL. */
-function safeFrom(raw: string | null): string {
- if (!raw) return "/";
- if (!raw.startsWith("/") || raw.startsWith("//")) return "/";
- return raw;
-}
-
-const Callback: React.FC = () => {
- const router = useRouter();
- const [error, setError] = useState<string | null>(null);
-
- useEffect(() => {
- // The fragment (everything after #) never reaches the server.
- const hash = window.location.hash.startsWith("#")
- ? window.location.hash.slice(1)
- : window.location.hash;
- const params = new URLSearchParams(hash);
-
- const errParam = params.get("error");
- if (errParam) {
- setError(errParam);
- return;
- }
-
- const token = params.get("token");
- if (!token) {
- setError("No sign-in token was returned. Please try again.");
- return;
- }
-
- // The provider reads the token from here on every request.
- localStorage.setItem("token", token);
-
- // Strip the token from the address bar before moving on.
- const dest = safeFrom(params.get("from"));
- window.history.replaceState(null, "", window.location.pathname);
- router.replace(dest);
- }, [router]);
-
- if (error) {
- return (
- <div className={s.card}>
- <h2 className={s.heading}>Sign-in failed</h2>
- <div className={s.errorBox}>{error}</div>
- <div className={s.actions}>
- <Link href="/user/login" className={s.submitBtn}>
- Back to sign in
- </Link>
- </div>
- </div>
- );
- }
-
- return (
- <div className={s.card}>
- <div className={s.welcomeInner}>
- <div className={s.spinnerWrap}>
- <div className={s.spinner}></div>
- </div>
- <p className={s.mutedNote}>Signing you in…</p>
- </div>
- </div>
- );
-};
-
-export default function LoginCallbackPage() {
- return (
- <Suspense fallback={null}>
- <Callback />
- </Suspense>
- );
-}
diff --git a/src/app/user/login/page.tsx b/src/app/user/login/page.tsx
deleted file mode 100644
index 31b20e4..0000000
--- a/src/app/user/login/page.tsx
+++ /dev/null
@@ -1,73 +0,0 @@
-/* system/src/app/user/login/page.tsx
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-"use client";
-
-import React, { Suspense, useState } from "react";
-import { useSearchParams } from "next/navigation";
-import { useDoughminationClient } from "doughmination-api";
-import { KeyRound } from "lucide-react";
-import * as s from "../auth.css";
-
-const Login: React.FC = () => {
- const client = useDoughminationClient();
- const searchParams = useSearchParams();
- const [redirecting, setRedirecting] = useState(false);
-
- // Where to send the user after a successful login. /admin/login is an alias
- // for the dashboard, kept for backwards-compatible bookmarks.
- const rawFrom = searchParams?.get("from") || "/";
- const from = rawFrom === "/admin/login" ? "/admin/dash" : rawFrom;
-
- // The callback route bounces failures back here as ?error=…
- const error = searchParams?.get("error");
-
- const handleLogin = () => {
- setRedirecting(true);
- // Full navigation (not fetch): the API 302s to the SSO, which sends the
- // browser back to our callback page with a token in the URL fragment.
- window.location.href = client.pocketIdLoginUrl(from);
- };
-
- return (
- <div className={s.card}>
- <h2 className={s.heading}>Sign in</h2>
- <p className={s.subtitle}>Use your SSO account to continue.</p>
-
- {error && <div className={s.errorBox}>{error}</div>}
-
- <div className={s.actions}>
- <button
- type="button"
- className={s.submitBtn}
- onClick={handleLogin}
- disabled={redirecting}
- >
- {redirecting ? (
- "Redirecting to SSO…"
- ) : (
- <>
- <KeyRound className={s.submitBtnIcon} />
- Sign in with SSO
- </>
- )}
- </button>
-
- <p className={s.mutedNote}>
- You'll be taken to your SSO provider to sign in, then brought right back here.
- </p>
- </div>
- </div>
- );
-};
-
-export default function LoginPage() {
- return (
- <Suspense fallback={null}>
- <Login />
- </Suspense>
- );
-}
diff --git a/src/app/user/metrics/metrics.css.ts b/src/app/user/metrics/metrics.css.ts
deleted file mode 100644
index 6f95eee..0000000
--- a/src/app/user/metrics/metrics.css.ts
+++ /dev/null
@@ -1,209 +0,0 @@
-/* system/src/app/user/metrics/metrics.css.ts
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-import { style } from "@vanilla-extract/css";
-import { vars } from "@/styles/theme.css";
-
-export const page = style({
- width: "100%",
- margin: "0 auto",
- padding: "1.5rem",
- paddingTop: "5rem",
-});
-
-export const loadingText = style({
- textAlign: "center",
- fontFamily: vars.fontComic,
- fontWeight: 600,
-});
-
-export const wrap = style({
- maxWidth: "72rem",
- margin: "0 auto",
- display: "flex",
- flexDirection: "column",
- gap: "1.5rem",
-});
-
-export const headerRow = style({
- display: "flex",
- alignItems: "center",
- justifyContent: "space-between",
-});
-
-export const pageTitle = style({
- fontSize: "1.875rem",
- fontWeight: 700,
- fontFamily: vars.fontComic,
-});
-
-export const pageSubtitle = style({
- color: vars.textMuted,
- fontFamily: vars.fontComic,
- fontWeight: 600,
-});
-
-export const selectorContent = style({
- paddingTop: "1.5rem",
-});
-
-export const selectorRow = style({
- display: "flex",
- alignItems: "center",
- gap: "0.75rem",
-});
-
-export const selectorLabel = style({
- fontFamily: vars.fontComic,
- fontWeight: 600,
-});
-
-export const selectTrigger = style({
- width: "200px",
- fontFamily: vars.fontComic,
-});
-
-export const overviewGrid = style({
- display: "grid",
- gridTemplateColumns: "1fr",
- gap: "1rem",
- "@media": {
- "screen and (min-width: 768px)": {
- gridTemplateColumns: "repeat(3, 1fr)",
- },
- },
-});
-
-export const overviewHeader = style({
- paddingBottom: "0.75rem",
-});
-
-export const overviewTitle = style({
- fontSize: "1.125rem",
- fontFamily: vars.fontComic,
- fontWeight: 600,
-});
-
-export const overviewValue = style({
- fontSize: "1.875rem",
- fontWeight: 700,
- fontFamily: vars.fontComic,
-});
-
-export const overviewNote = style({
- fontSize: "0.875rem",
- color: vars.textMuted,
- fontFamily: vars.fontComic,
- fontWeight: 600,
- marginTop: "0.25rem",
-});
-
-export const tooltipBox = style({
- backgroundColor: vars.bgDeep,
- border: `1px solid ${vars.surfaceHigher}`,
- borderRadius: vars.radiusSm,
- padding: "0.75rem",
-});
-
-export const tooltipName = style({
- fontFamily: vars.fontComic,
- fontWeight: 600,
-});
-
-export const tooltipValue = style({
- fontFamily: vars.fontComic,
- fontWeight: 600,
- fontSize: "0.875rem",
- color: vars.textMuted,
-});
-
-export const frontersList = style({
- display: "flex",
- flexDirection: "column",
- gap: "0.75rem",
-});
-
-export const fronterRow = style({
- display: "flex",
- alignItems: "center",
- gap: "0.75rem",
- padding: "0.75rem",
- backgroundColor: vars.surface,
- border: `1px solid ${vars.surfaceHigher}`,
- borderRadius: vars.radiusSm,
-});
-
-export const fronterRank = style({
- display: "flex",
- alignItems: "center",
- justifyContent: "center",
- width: "2rem",
- height: "2rem",
- borderRadius: vars.radiusSm,
- backgroundColor: vars.accent,
- color: vars.bgDeep,
- fontWeight: 700,
- fontFamily: vars.fontComic,
- fontSize: "0.875rem",
-});
-
-export const fronterAvatar = style({
- width: "2.5rem",
- height: "2.5rem",
- borderRadius: vars.radiusSm,
- border: `1px solid ${vars.surfaceHigher}`,
- objectFit: "cover",
-});
-
-export const fronterInfo = style({
- flex: 1,
- minWidth: 0,
-});
-
-export const fronterName = style({
- fontFamily: vars.fontComic,
- fontWeight: 600,
-});
-
-export const fronterDuration = style({
- fontSize: "0.875rem",
- color: vars.textMuted,
- fontFamily: vars.fontComic,
- fontWeight: 600,
-});
-
-export const progressWrap = style({
- width: "8rem",
- display: "none",
- "@media": {
- "screen and (min-width: 640px)": { display: "block" },
- },
-});
-
-export const progressTrack = style({
- height: "0.5rem",
- backgroundColor: vars.bg,
- border: `1px solid ${vars.surfaceHigher}`,
- borderRadius: vars.radiusSm,
- overflow: "hidden",
-});
-
-export const progressBar = style({
- height: "100%",
- backgroundColor: vars.accent,
- transition: "all 0.15s ease",
-});
-
-export const noDataContent = style({
- padding: "3rem 0",
-});
-
-export const noDataText = style({
- textAlign: "center",
- color: vars.textMuted,
- fontFamily: vars.fontComic,
- fontWeight: 600,
-});
diff --git a/src/app/user/metrics/page.tsx b/src/app/user/metrics/page.tsx
deleted file mode 100644
index caa0ed4..0000000
--- a/src/app/user/metrics/page.tsx
+++ /dev/null
@@ -1,465 +0,0 @@
-/* system/src/app/user/metrics/page.tsx
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-"use client";
-
-import React, { useState, useEffect } from "react";
-import Link from "next/link";
-import { Card, CardContent, CardHeader, CardTitle, CardDescription } from "@/components/ui/card";
-import { Button } from "@/components/ui/button";
-import { Alert, AlertDescription } from "@/components/ui/alert";
-import {
- Select,
- SelectContent,
- SelectItem,
- SelectTrigger,
- SelectValue,
-} from "@/components/ui/select";
-import {
- PieChart,
- Pie,
- Cell,
- ResponsiveContainer,
- Tooltip,
- BarChart,
- Bar,
- XAxis,
- YAxis,
- CartesianGrid,
-} from "recharts";
-import { useDoughminationClient } from "doughmination-api";
-import * as s from "./metrics.css";
-
-interface MemberMetric {
- id: string;
- name: string;
- display_name: string;
- avatar_url?: string;
- total_seconds: number;
- total_percent: number;
- "24h": number;
- "48h": number;
- "5d": number;
- "7d": number;
- "30d": number;
-}
-
-interface FrontingMetrics {
- total_time: number;
- members: Record<string, MemberMetric>;
- timeframes: Record<string, Record<string, number>>;
-}
-
-interface SwitchMetrics {
- total_switches: number;
- avg_switches_per_day: number;
- timeframes: {
- "24h": number;
- "48h": number;
- "5d": number;
- "7d": number;
- "30d": number;
- };
-}
-
-const COLORS = [
- "#8b5cf6", "#ec4899", "#f59e0b", "#10b981", "#3b82f6",
- "#ef4444", "#14b8a6", "#f97316", "#6366f1", "#84cc16",
- "#a855f7", "#06b6d4", "#eab308", "#22c55e", "#f43f5e",
-];
-
-const FALLBACK_AVATAR = "https://raw.doughmination.gay/favicons/favicon.png";
-
-type TimeframeKey = "24h" | "48h" | "5d" | "7d" | "30d";
-
-const Metrics: React.FC = () => {
- const client = useDoughminationClient();
- const [frontingMetrics, setFrontingMetrics] = useState<FrontingMetrics | null>(null);
- const [switchMetrics, setSwitchMetrics] = useState<SwitchMetrics | null>(null);
- const [selectedTimeframe, setSelectedTimeframe] = useState<string>("7d");
- const [loading, setLoading] = useState(true);
- const [message, setMessage] = useState<{ type: "success" | "error"; content: string } | null>(
- null,
- );
-
- const timeframeOptions = [
- {
- value: "24h",
- label: "Last 24 Hours"
- },
- {
- value: "48h",
- label: "Last 48 Hours"
- },
- {
- value: "5d",
- label: "Last 5 Days"
- },
- {
- value: "7d",
- label: "Last 7 Days"
- },
- {
- value: "30d",
- label: "Last 30 Days"
- },
- ];
-
- useEffect(() => {
- const fetchMetrics = async () => {
- // Public page: signed-out visitors fetch without a token, logged-in ones
- // still send theirs.
- const token = localStorage.getItem("token");
-
- try {
- const headers: HeadersInit = token ? { Authorization: `Bearer ${token}` } : {};
- const [frontingRes, switchRes] = await Promise.all([
- fetch(`${client.baseUrl}/plural/metrics/fronting-time?days=30`, { headers }),
- fetch(`${client.baseUrl}/plural/metrics/switch-frequency?days=30`, { headers }),
- ]);
-
- if (frontingRes.ok && switchRes.ok) {
- setFrontingMetrics(await frontingRes.json());
- setSwitchMetrics(await switchRes.json());
- } else if (frontingRes.status === 401 || switchRes.status === 401) {
- setMessage({
- type: "error",
- content: "Metrics are not available publicly yet",
- });
- } else {
- setMessage({
- type: "error",
- content: "Failed to fetch metrics"
- });
- }
- } catch (err) {
- console.error("Error fetching metrics:", err);
- setMessage({
- type: "error",
- content: "Network error occurred"
- });
- } finally {
- setLoading(false);
- }
- };
-
- fetchMetrics();
- }, [client]);
-
- const formatDuration = (seconds: number): string => {
- const hours = Math.floor(seconds / 3600);
- const minutes = Math.floor((seconds % 3600) / 60);
-
- if (hours > 24) {
- const days = Math.floor(hours / 24);
- const remainingHours = hours % 24;
- return `${days}d ${remainingHours}h`;
- }
-
- return `${hours}h ${minutes}m`;
- };
-
- const getPieChartData = () => {
- if (!frontingMetrics) return [];
-
- const timeframeKey = selectedTimeframe as TimeframeKey;
- const members = Object.values(frontingMetrics.members);
-
- // Filter members with fronting time in the selected timeframe
- const filteredMembers = members
- .filter((m) => m[timeframeKey] > 0)
- .sort((a, b) => b[timeframeKey] - a[timeframeKey])
- // Top 10 members
- .slice(0, 10);
-
- return filteredMembers.map((member) => ({
- name: member.display_name || member.name,
- value: member[timeframeKey],
- seconds: member[timeframeKey],
- }));
- };
-
- const getBarChartData = () => {
- if (!switchMetrics) return [];
-
- return [
- {
- timeframe: "24h",
- switches: switchMetrics.timeframes["24h"]
- },
- {
- timeframe: "48h",
- switches: switchMetrics.timeframes["48h"]
- },
- {
- timeframe: "5d",
- switches: switchMetrics.timeframes["5d"]
- },
- {
- timeframe: "7d",
- switches: switchMetrics.timeframes["7d"]
- },
- {
- timeframe: "30d",
- switches: switchMetrics.timeframes["30d"]
- },
- ];
- };
-
- const getTopFronters = () => {
- if (!frontingMetrics) return [];
-
- const timeframeKey = selectedTimeframe as TimeframeKey;
- const members = Object.values(frontingMetrics.members);
-
- return members
- .filter((m) => m[timeframeKey] > 0)
- .sort((a, b) => b[timeframeKey] - a[timeframeKey])
- .slice(0, 10);
- };
-
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
- const CustomTooltip = ({ active, payload }: any) => {
- if (active && payload && payload.length) {
- return (
- <div className={s.tooltipBox}>
- <p className={s.tooltipName}>{payload[0].name}</p>
- <p className={s.tooltipValue}>{formatDuration(payload[0].payload.seconds)}</p>
- </div>
- );
- }
- return null;
- };
-
- if (loading) {
- return (
- <div className={s.page}>
- <div className={s.loadingText}>Loading metrics...</div>
- </div>
- );
- }
-
- return (
- <div className={s.page}>
- <div className={s.wrap}>
- {/* Header */}
- <div className={s.headerRow}>
- <div>
- <h1 className={s.pageTitle}>Metrics</h1>
- <p className={s.pageSubtitle}>System fronting and switching statistics</p>
- </div>
- <Button variant="outline" asChild>
- <Link href="/">Back to Home</Link>
- </Button>
- </div>
-
- {/* Messages */}
- {message && (
- <Alert variant={message.type === "error" ? "destructive" : "default"}>
- <AlertDescription>{message.content}</AlertDescription>
- </Alert>
- )}
-
- {/* Timeframe Selector */}
- <Card>
- <CardContent className={s.selectorContent}>
- <div className={s.selectorRow}>
- <label className={s.selectorLabel}>Timeframe:</label>
- <Select value={selectedTimeframe} onValueChange={setSelectedTimeframe}>
- <SelectTrigger className={s.selectTrigger}>
- <SelectValue />
- </SelectTrigger>
- <SelectContent>
- {timeframeOptions.map((option) => (
- <SelectItem key={option.value} value={option.value}>
- {option.label}
- </SelectItem>
- ))}
- </SelectContent>
- </Select>
- </div>
- </CardContent>
- </Card>
-
- {/* Overview Cards */}
- {switchMetrics && (
- <div className={s.overviewGrid}>
- <Card>
- <CardHeader className={s.overviewHeader}>
- <CardTitle className={s.overviewTitle}>Total Switches</CardTitle>
- </CardHeader>
- <CardContent>
- <p className={s.overviewValue}>{switchMetrics.total_switches}</p>
- <p className={s.overviewNote}>Last 30 days</p>
- </CardContent>
- </Card>
-
- <Card>
- <CardHeader className={s.overviewHeader}>
- <CardTitle className={s.overviewTitle}>Avg per Day</CardTitle>
- </CardHeader>
- <CardContent>
- <p className={s.overviewValue}>{switchMetrics.avg_switches_per_day.toFixed(1)}</p>
- <p className={s.overviewNote}>Switches per day</p>
- </CardContent>
- </Card>
-
- <Card>
- <CardHeader className={s.overviewHeader}>
- <CardTitle className={s.overviewTitle}>Selected Period</CardTitle>
- </CardHeader>
- <CardContent>
- <p className={s.overviewValue}>
- {switchMetrics.timeframes[selectedTimeframe as TimeframeKey]}
- </p>
- <p className={s.overviewNote}>
- {timeframeOptions.find((o) => o.value === selectedTimeframe)?.label}
- </p>
- </CardContent>
- </Card>
- </div>
- )}
-
- {/* Pie Chart - Fronting Time Distribution */}
- {frontingMetrics && getPieChartData().length > 0 && (
- <Card>
- <CardHeader>
- <CardTitle>Fronting Time Distribution</CardTitle>
- <CardDescription>
- Top fronters for{" "}
- {timeframeOptions.find((o) => o.value === selectedTimeframe)?.label.toLowerCase()}
- </CardDescription>
- </CardHeader>
- <CardContent>
- <ResponsiveContainer width="100%" height={400}>
- <PieChart>
- <Pie
- data={getPieChartData()}
- cx="50%"
- cy="50%"
- labelLine={false}
- label={({ name, percent }) => {
- const pct = (percent ?? 0) * 100;
- // Slivers below 3% all round to "0%" and pile up on top
- // of each other; leave them to the tooltip instead.
- if (pct < 3) return "";
- return `${name} ${pct.toFixed(0)}%`;
- }}
- outerRadius={120}
- fill="#8884d8"
- dataKey="value"
- >
- {getPieChartData().map((entry, index) => (
- <Cell key={`cell-${index}`} fill={COLORS[index % COLORS.length]} />
- ))}
- </Pie>
- <Tooltip content={<CustomTooltip />} />
- </PieChart>
- </ResponsiveContainer>
- </CardContent>
- </Card>
- )}
-
- {/* Bar Chart - Switch Frequency */}
- {switchMetrics && (
- <Card>
- <CardHeader>
- <CardTitle>Switch Frequency Over Time</CardTitle>
- <CardDescription>Number of switches across different timeframes</CardDescription>
- </CardHeader>
- <CardContent>
- <ResponsiveContainer width="100%" height={300}>
- <BarChart data={getBarChartData()}>
- <CartesianGrid strokeDasharray="3 3" />
- <XAxis dataKey="timeframe" />
- <YAxis />
- <Tooltip
- contentStyle={{
- backgroundColor: "var(--bg-raised)",
- border: "1px solid var(--surface)",
- borderRadius: "0.5rem",
- }}
- />
- <Bar dataKey="switches" fill="#8b5cf6" />
- </BarChart>
- </ResponsiveContainer>
- </CardContent>
- </Card>
- )}
-
- {/* Top Fronters Table */}
- {frontingMetrics && getTopFronters().length > 0 && (
- <Card>
- <CardHeader>
- <CardTitle>Top Fronters</CardTitle>
- <CardDescription>
- Most active members for{" "}
- {timeframeOptions.find((o) => o.value === selectedTimeframe)?.label.toLowerCase()}
- </CardDescription>
- </CardHeader>
- <CardContent>
- <div className={s.frontersList}>
- {getTopFronters().map((member, index) => {
- const timeframeKey = selectedTimeframe as TimeframeKey;
- const duration = member[timeframeKey];
-
- return (
- <div key={member.id} className={s.fronterRow}>
- {/* Rank */}
- <div className={s.fronterRank}>{index + 1}</div>
-
- {/* Avatar */}
- {/* eslint-disable-next-line @next/next/no-img-element */}
- <img
- src={member.avatar_url || FALLBACK_AVATAR}
- alt={member.display_name || member.name}
- className={s.fronterAvatar}
- onError={(e) => {
- (e.target as HTMLImageElement).src = FALLBACK_AVATAR;
- }}
- />
-
- {/* Member Info */}
- <div className={s.fronterInfo}>
- <p className={s.fronterName}>{member.display_name || member.name}</p>
- <p className={s.fronterDuration}>{formatDuration(duration)}</p>
- </div>
-
- {/* Progress Bar */}
- <div className={s.progressWrap}>
- <div className={s.progressTrack}>
- <div
- className={s.progressBar}
- style={{
- width: `${(duration / getTopFronters()[0][timeframeKey]) * 100}%`,
- }}
- />
- </div>
- </div>
- </div>
- );
- })}
- </div>
- </CardContent>
- </Card>
- )}
-
- {/* No Data Message */}
- {frontingMetrics && getPieChartData().length === 0 && (
- <Card>
- <CardContent className={s.noDataContent}>
- <p className={s.noDataText}>No fronting data available for the selected timeframe</p>
- </CardContent>
- </Card>
- )}
- </div>
- </div>
- );
-};
-
-export default function MetricsPage() {
- return <Metrics />;
-}
diff --git a/src/app/user/profile/edit/edit.css.ts b/src/app/user/profile/edit/edit.css.ts
deleted file mode 100644
index 75cb6a9..0000000
--- a/src/app/user/profile/edit/edit.css.ts
+++ /dev/null
@@ -1,164 +0,0 @@
-/* system/src/app/user/profile/edit/edit.css.ts
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-import { style } from "@vanilla-extract/css";
-import { vars } from "@/styles/theme.css";
-
-export const page = style({
- width: "100%",
- margin: "0 auto",
- padding: "1.5rem",
- paddingTop: "5rem",
-});
-
-export const loadingText = style({
- textAlign: "center",
- fontFamily: vars.fontComic,
- fontWeight: 600,
-});
-
-export const narrowWrap = style({
- maxWidth: "28rem",
- margin: "0 auto",
-});
-
-export const actionsCenter = style({
- marginTop: "1rem",
- textAlign: "center",
-});
-
-export const wrap = style({
- maxWidth: "42rem",
- margin: "0 auto",
- display: "flex",
- flexDirection: "column",
- gap: "1.5rem",
-});
-
-export const headerRow = style({
- display: "flex",
- alignItems: "center",
- justifyContent: "space-between",
-});
-
-export const pageTitle = style({
- fontSize: "1.875rem",
- fontWeight: 700,
- fontFamily: vars.fontComic,
-});
-
-export const pageSubtitle = style({
- color: vars.textMuted,
- fontFamily: vars.fontComic,
- fontWeight: 600,
-});
-
-export const form = style({
- display: "flex",
- flexDirection: "column",
- gap: "1.5rem",
-});
-
-export const formTight = style({
- display: "flex",
- flexDirection: "column",
- gap: "1rem",
-});
-
-export const fieldBlock = style({
- display: "flex",
- flexDirection: "column",
- gap: "0.5rem",
-});
-
-export const avatarBlock = style({
- display: "flex",
- flexDirection: "column",
- gap: "1rem",
-});
-
-export const avatarRow = style({
- display: "flex",
- alignItems: "center",
- gap: "1rem",
-});
-
-export const avatarRelative = style({ position: "relative" });
-
-export const avatar = style({
- width: "5rem",
- height: "5rem",
- borderRadius: vars.radiusSm,
- objectFit: "cover",
- border: `2px solid ${vars.surfaceHigher}`,
-});
-
-export const avatarFallback = style({
- width: "5rem",
- height: "5rem",
- borderRadius: vars.radiusSm,
- backgroundColor: vars.surface,
- display: "flex",
- alignItems: "center",
- justifyContent: "center",
- border: `2px solid ${vars.surfaceHigher}`,
-});
-
-export const avatarFallbackEmoji = style({
- width: "1.5rem",
- height: "1.5rem",
- color: vars.textDim,
-});
-
-export const avatarCheck = style({
- position: "absolute",
- bottom: "-0.25rem",
- right: "-0.25rem",
- backgroundColor: vars.accent,
- color: vars.bgDeep,
- border: `1px solid ${vars.text}`,
- borderRadius: vars.radiusSm,
- width: "1.5rem",
- height: "1.5rem",
- display: "flex",
- alignItems: "center",
- justifyContent: "center",
- fontSize: "0.75rem",
- fontWeight: 700,
-});
-
-export const avatarControls = style({
- flex: 1,
- display: "flex",
- flexDirection: "column",
- gap: "0.5rem",
-});
-
-export const buttonRow = style({
- display: "flex",
- gap: "0.5rem",
-});
-
-export const fileNote = style({
- fontSize: "0.75rem",
- color: vars.textMuted,
- fontFamily: vars.fontComic,
- fontWeight: 600,
-});
-
-export const hiddenInput = style({ display: "none" });
-
-export const helpText = style({
- fontSize: "0.875rem",
- color: vars.textMuted,
- fontFamily: vars.fontComic,
- fontWeight: 600,
-});
-
-export const submitRow = style({
- display: "flex",
- justifyContent: "flex-end",
-});
diff --git a/src/app/user/profile/edit/page.tsx b/src/app/user/profile/edit/page.tsx
deleted file mode 100644
index e774fd2..0000000
--- a/src/app/user/profile/edit/page.tsx
+++ /dev/null
@@ -1,301 +0,0 @@
-/* system/src/app/user/profile/edit/page.tsx
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-"use client";
-
-import React, { useState, useEffect, useRef } from "react";
-import Link from "next/link";
-import { useUserInfo, useDoughminationClient } from "doughmination-api";
-import { Card, CardContent, CardHeader, CardTitle, CardDescription } from "@/components/ui/card";
-import { Button } from "@/components/ui/button";
-import { Input } from "@/components/ui/input";
-import { Label } from "@/components/ui/label";
-import { Alert, AlertDescription } from "@/components/ui/alert";
-import { Separator } from "@/components/ui/separator";
-import ProtectedRoute from "@/components/ProtectedRoute";
-import { User } from "lucide-react";
-import * as s from "./edit.css";
-
-/** Loose client-side sanity check only — the API does the real validation. */
-const EMAIL_PATTERN = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
-
-// Pull a human message out of either API error convention. The PUT /users/:id
-// writes below aren't wrapped by the package client, so they parse errors here.
-function apiErrorMessage(body: unknown, fallback: string): string {
- if (body && typeof body === "object") {
- const b = body as { error?: { message?: string }; detail?: string; message?: string };
- return b.error?.message || b.detail || b.message || fallback;
- }
- return fallback;
-}
-
-function UserEdit() {
- const client = useDoughminationClient();
- const userQuery = useUserInfo();
- const userData = userQuery.data ?? null;
- const loading = userQuery.isLoading;
-
- const [displayName, setDisplayName] = useState("");
- const [avatarUrl, setAvatarUrl] = useState("");
- const [email, setEmail] = useState("");
- const [imageError, setImageError] = useState(false);
- const [saving, setSaving] = useState(false);
- const [message, setMessage] = useState<{ type: "success" | "error"; content: string } | null>(
- null,
- );
-
- // Seed the form once the current profile arrives.
- const seeded = useRef(false);
- useEffect(() => {
- if (!seeded.current && userQuery.data) {
- seeded.current = true;
- setDisplayName(userQuery.data.display_name || "");
- setAvatarUrl(userQuery.data.avatar_url || "");
- setEmail(userQuery.data.email || "");
- }
- }, [userQuery.data]);
-
- const handleAvatarUrlChange = (e: React.ChangeEvent<HTMLInputElement>) => {
- setAvatarUrl(e.target.value);
- setImageError(false);
- };
-
- // Only try to preview once the value looks like a complete URL — otherwise the
- // browser resolves partial input ("https") as a relative path and 404s on
- // every keystroke.
- const isPreviewableUrl = (url: string): boolean =>
- /^https?:\/\/[^\s/]+\.[^\s/]+/.test(url) || url.startsWith("/");
-
- const handleResetAvatar = () => {
- setAvatarUrl(userData?.avatar_url || "");
- setImageError(false);
- };
-
- const handleImageError = (e: React.SyntheticEvent<HTMLImageElement>) => {
- console.error("Failed to load avatar preview:", avatarUrl);
- setImageError(true);
- (e.target as HTMLImageElement).src = "https://raw.doughmination.gay/favicons/favicon.png";
- };
-
- const handleImageLoad = () => {
- setImageError(false);
- };
-
- /** Save display name, avatar and (optional) contact email in one PUT. */
- const handleProfileUpdate = async (e: React.FormEvent) => {
- e.preventDefault();
-
- if (!userData) return;
-
- const trimmedEmail = email.trim();
- if (trimmedEmail && !EMAIL_PATTERN.test(trimmedEmail)) {
- setMessage({ type: "error", content: "Please enter a valid email address" });
- return;
- }
-
- const token = localStorage.getItem("token");
- if (!token) {
- setMessage({ type: "error", content: "Authentication required" });
- return;
- }
-
- setSaving(true);
- setMessage(null);
-
- try {
- const updateResponse = await fetch(`${client.baseUrl}/plural/users/${userData.id}`, {
- method: "PUT",
- headers: {
- "Content-Type": "application/json",
- Authorization: `Bearer ${token}`,
- },
- body: JSON.stringify({
- // null explicitly clears the field on the API; a value sets it
- display_name: displayName.trim() || null,
- avatar_url: avatarUrl.trim() || null,
- email: trimmedEmail || null,
- }),
- });
-
- if (!updateResponse.ok) {
- const errorData = await updateResponse.json().catch(() => null);
- throw new Error(apiErrorMessage(errorData, "Failed to update profile"));
- }
-
- setMessage({ type: "success", content: "Profile updated successfully" });
- await userQuery.refetch();
- } catch (err: unknown) {
- console.error("Profile update error:", err);
- setMessage({
- type: "error",
- content: err instanceof Error ? err.message : "Failed to update profile",
- });
- } finally {
- setSaving(false);
- }
- };
-
- if (loading) {
- return (
- <div className={s.page}>
- <div className={s.loadingText}>Loading...</div>
- </div>
- );
- }
-
- if (!userData) {
- return (
- <div className={s.page}>
- <div className={s.narrowWrap}>
- <Alert variant="destructive">
- <AlertDescription>Failed to load user data</AlertDescription>
- </Alert>
- <div className={s.actionsCenter}>
- <Button variant="outline" asChild>
- <Link href="/user/profile">Back to Profile</Link>
- </Button>
- </div>
- </div>
- </div>
- );
- }
-
- return (
- <div className={s.page}>
- <div className={s.wrap}>
- {/* Header */}
- <div className={s.headerRow}>
- <div>
- <h1 className={s.pageTitle}>Edit Profile</h1>
- <p className={s.pageSubtitle}>Update your profile information</p>
- </div>
- <Button variant="outline" asChild>
- <Link href="/user/profile">Cancel</Link>
- </Button>
- </div>
-
- {/* Messages */}
- {message && (
- <Alert variant={message.type === "error" ? "destructive" : "default"}>
- <AlertDescription>{message.content}</AlertDescription>
- </Alert>
- )}
-
- {/* Sign-in note */}
- <Alert>
- <AlertDescription>
- Sign-in is handled by SSO. Your username and password are managed by your SSO provider —
- this page only controls your display profile.
- </AlertDescription>
- </Alert>
-
- {/* Profile Information */}
- <Card>
- <CardHeader>
- <CardTitle>Profile Information</CardTitle>
- <CardDescription>Update your display name, avatar and contact email</CardDescription>
- </CardHeader>
- <CardContent>
- <form onSubmit={handleProfileUpdate} className={s.form}>
- {/* Avatar URL */}
- <div className={s.avatarBlock}>
- <Label htmlFor="avatarUrl">Avatar</Label>
- <div className={s.avatarRow}>
- <div className={s.avatarRelative}>
- {avatarUrl && isPreviewableUrl(avatarUrl.trim()) && !imageError ? (
- /* eslint-disable-next-line @next/next/no-img-element */
- <img
- src={avatarUrl.trim()}
- alt="Avatar preview"
- className={s.avatar}
- onError={handleImageError}
- onLoad={handleImageLoad}
- />
- ) : (
- <div className={s.avatarFallback}>
- <User className={s.avatarFallbackEmoji} />
- </div>
- )}
- {avatarUrl.trim() !== (userData.avatar_url || "") && (
- <div className={s.avatarCheck}>✓</div>
- )}
- </div>
- <div className={s.avatarControls}>
- <Input
- id="avatarUrl"
- type="url"
- value={avatarUrl}
- onChange={handleAvatarUrlChange}
- placeholder="https://example.com/avatar.png"
- />
- {avatarUrl.trim() !== (userData.avatar_url || "") && (
- <div className={s.buttonRow}>
- <Button type="button" variant="outline" size="sm" onClick={handleResetAvatar}>
- Reset
- </Button>
- </div>
- )}
- </div>
- </div>
- <p className={s.helpText}>
- Paste a direct link to an image (square recommended)
- </p>
- </div>
-
- <Separator />
-
- {/* Display Name */}
- <div className={s.fieldBlock}>
- <Label htmlFor="displayName">Display Name</Label>
- <Input
- id="displayName"
- type="text"
- value={displayName}
- onChange={(e) => setDisplayName(e.target.value)}
- placeholder="Enter display name"
- />
- <p className={s.helpText}>Leave blank to use username: @{userData.username}</p>
- </div>
-
- <Separator />
-
- {/* Contact Email */}
- <div className={s.fieldBlock}>
- <Label htmlFor="email">Contact Email</Label>
- <Input
- id="email"
- type="email"
- value={email}
- onChange={(e) => setEmail(e.target.value)}
- placeholder="[email protected]"
- autoComplete="email"
- />
- <p className={s.helpText}>
- Optional contact address. Sign-in email lives with your SSO provider, not here.
- </p>
- </div>
-
- {/* Save Button */}
- <div className={s.submitRow}>
- <Button type="submit" disabled={saving}>
- {saving ? "Saving..." : "Save Changes"}
- </Button>
- </div>
- </form>
- </CardContent>
- </Card>
- </div>
- </div>
- );
-}
-
-export default function UserEditPage() {
- return (
- <ProtectedRoute>
- <UserEdit />
- </ProtectedRoute>
- );
-}
diff --git a/src/app/user/profile/page.tsx b/src/app/user/profile/page.tsx
deleted file mode 100644
index f74dc9a..0000000
--- a/src/app/user/profile/page.tsx
+++ /dev/null
@@ -1,149 +0,0 @@
-/* system/src/app/user/profile/page.tsx
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-"use client";
-
-import React, { useState } from "react";
-import Link from "next/link";
-import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
-import { Button } from "@/components/ui/button";
-import { Badge } from "@/components/ui/badge";
-import { Alert, AlertDescription } from "@/components/ui/alert";
-import ProtectedRoute from "@/components/ProtectedRoute";
-import { useUserInfo } from "doughmination-api";
-import { User } from "lucide-react";
-import * as s from "./profile.css";
-
-function UserProfile() {
- const userQuery = useUserInfo();
- const userData = userQuery.data ?? null;
- const loading = userQuery.isLoading;
- const error = userQuery.isError ? "Failed to fetch user data" : "";
-
- const [imageError, setImageError] = useState(false);
-
- const handleImageError = (e: React.SyntheticEvent<HTMLImageElement>) => {
- console.error("Failed to load avatar:", userData?.avatar_url);
- setImageError(true);
- (e.target as HTMLImageElement).src = "https://raw.doughmination.gay/favicons/favicon.png";
- };
-
- const handleImageLoad = () => {
- console.log("Avatar loaded successfully:", userData?.avatar_url);
- setImageError(false);
- };
-
- if (loading) {
- return (
- <div className={s.page}>
- <div className={s.loadingText}>Loading profile...</div>
- </div>
- );
- }
-
- if (error) {
- return (
- <div className={s.page}>
- <div className={s.narrowWrap}>
- <Alert variant="destructive">
- <AlertDescription>{error}</AlertDescription>
- </Alert>
- <div className={s.actionsCenter}>
- <Button variant="outline" asChild>
- <Link href="/">Back to Home</Link>
- </Button>
- </div>
- </div>
- </div>
- );
- }
-
- if (!userData) {
- return (
- <div className={s.page}>
- <div className={s.narrowCenter}>
- <p className={s.noDataText}>User data not available</p>
- <Button variant="outline" asChild>
- <Link href="/">Back to Home</Link>
- </Button>
- </div>
- </div>
- );
- }
-
- return (
- <div className={s.page}>
- <div className={s.narrowWrap}>
- <Card>
- <CardHeader className={s.headerCenter}>
- <CardTitle className={s.cardTitle}>User Profile</CardTitle>
- </CardHeader>
- <CardContent className={s.content}>
- <div className={s.centerBlock}>
- {/* Avatar Display */}
- {userData.avatar_url && !imageError ? (
- <div className={s.avatarWrap}>
- {/* eslint-disable-next-line @next/next/no-img-element */}
- <img
- src={userData.avatar_url}
- alt="User Avatar"
- className={s.avatar}
- onError={handleImageError}
- onLoad={handleImageLoad}
- />
- </div>
- ) : (
- <div className={s.avatarFallback}>
- <User className={s.avatarFallbackEmoji} />
- </div>
- )}
-
- {/* Display Name and Username */}
- <h2 className={s.displayName}>
- {userData.display_name || userData.username}
- {userData.is_owner && (
- <Badge variant="default" className={s.adminBadge}>
- Owner
- </Badge>
- )}
- {userData.is_admin && (
- <Badge variant="secondary" className={s.adminBadge}>
- Admin
- </Badge>
- )}
- {userData.is_pet && (
- <Badge variant="outline" className={s.adminBadge}>
- Pet
- </Badge>
- )}
- </h2>
-
- <p className={s.username}>@{userData.username}</p>
- </div>
-
- {/* Action Buttons */}
- <div className={s.actionRow}>
- <Button asChild>
- <Link href="/user/profile/edit">Edit Profile</Link>
- </Button>
- <Button variant="outline" asChild>
- <Link href="/">Back to Home</Link>
- </Button>
- </div>
- </CardContent>
- </Card>
- </div>
- </div>
- );
-}
-
-export default function UserProfilePage() {
- return (
- <ProtectedRoute>
- <UserProfile />
- </ProtectedRoute>
- );
-}
diff --git a/src/app/user/profile/profile.css.ts b/src/app/user/profile/profile.css.ts
deleted file mode 100644
index d388ba2..0000000
--- a/src/app/user/profile/profile.css.ts
+++ /dev/null
@@ -1,116 +0,0 @@
-/* system/src/app/user/profile/profile.css.ts
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-import { style } from "@vanilla-extract/css";
-import { vars } from "@/styles/theme.css";
-
-export const page = style({
- width: "100%",
- margin: "0 auto",
- padding: "1.5rem",
- paddingTop: "5rem",
-});
-
-export const loadingText = style({
- textAlign: "center",
- fontFamily: vars.fontComic,
- fontWeight: 600,
-});
-
-export const narrowWrap = style({
- maxWidth: "28rem",
- margin: "0 auto",
-});
-
-export const narrowCenter = style([narrowWrap, { textAlign: "center" }]);
-
-export const actionsCenter = style({
- marginTop: "1rem",
- textAlign: "center",
-});
-
-export const noDataText = style({
- fontFamily: vars.fontComic,
- fontWeight: 600,
- marginBottom: "1rem",
-});
-
-export const headerCenter = style({ textAlign: "center" });
-
-export const cardTitle = style({
- fontSize: "1.5rem",
- fontFamily: vars.fontComic,
- fontWeight: 600,
-});
-
-export const content = style({
- display: "flex",
- flexDirection: "column",
- gap: "1.5rem",
-});
-
-export const centerBlock = style({ textAlign: "center" });
-
-export const avatarWrap = style({
- position: "relative",
- display: "inline-block",
- marginBottom: "1rem",
-});
-
-export const avatar = style({
- width: "6rem",
- height: "6rem",
- borderRadius: vars.radiusSm,
- margin: "0 auto",
- objectFit: "cover",
- border: `2px solid ${vars.surfaceHigher}`,
- display: "block",
-});
-
-export const avatarFallback = style({
- width: "6rem",
- height: "6rem",
- borderRadius: vars.radiusSm,
- backgroundColor: vars.surface,
- margin: "0 auto 1rem",
- display: "flex",
- alignItems: "center",
- justifyContent: "center",
- border: `2px solid ${vars.surfaceHigher}`,
-});
-
-export const avatarFallbackEmoji = style({
- width: "2rem",
- height: "2rem",
- color: vars.textDim,
-});
-
-export const displayName = style({
- fontSize: "1.25rem",
- fontFamily: vars.fontComic,
- fontWeight: 600,
- marginBottom: "0.5rem",
- marginTop: "2rem",
-});
-
-export const adminBadge = style({
- marginLeft: "0.5rem",
- fontFamily: vars.fontComic,
-});
-
-export const username = style({
- fontSize: "0.875rem",
- color: vars.textMuted,
- fontFamily: vars.fontComic,
- fontWeight: 600,
-});
-
-export const actionRow = style({
- display: "flex",
- gap: "0.75rem",
- justifyContent: "center",
- paddingTop: "1rem",
-});
diff --git a/src/components/ComingSoon.css.ts b/src/components/ComingSoon.css.ts
deleted file mode 100644
index 9f0e9ef..0000000
--- a/src/components/ComingSoon.css.ts
+++ /dev/null
@@ -1,217 +0,0 @@
-/* system/src/components/ComingSoon.css.ts
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-import { keyframes, style } from "@vanilla-extract/css";
-import { vars } from "@/styles/theme.css";
-
-const bounce = keyframes({
- "0%, 100%": {
- transform: "translateY(-25%)",
- animationTimingFunction: "cubic-bezier(0.8, 0, 1, 1)",
- },
- "50%": {
- transform: "none",
- animationTimingFunction: "cubic-bezier(0, 0, 0.2, 1)",
- },
-});
-
-const pulse = keyframes({
- "0%, 100%": { opacity: 1 },
- "50%": { opacity: 0.5 },
-});
-
-export const page = style({
- minHeight: "100vh",
- color: vars.text,
- transition: "background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease",
- display: "flex",
- alignItems: "center",
- justifyContent: "center",
- padding: "1.5rem",
-});
-
-export const wrap = style({
- maxWidth: "42rem",
- width: "100%",
-});
-
-export const cardBorder = style({
- borderWidth: "2px",
-});
-
-export const headerCenter = style({
- textAlign: "center",
- gap: "1.5rem",
- paddingBottom: "1rem",
-});
-
-export const iconWrap = style({
- display: "flex",
- justifyContent: "center",
-});
-
-export const icon = style({
- width: "5rem",
- height: "5rem",
- color: vars.accent,
- animation: `${bounce} 1s infinite`,
-});
-
-export const titleBlock = style({
- display: "flex",
- flexDirection: "column",
- gap: "0.5rem",
-});
-
-export const title = style({
- fontSize: "2.25rem",
- fontWeight: 700,
- fontFamily: vars.fontComic,
- color: vars.accent,
-});
-
-export const subtitle = style({
- fontSize: "1.25rem",
- fontFamily: vars.fontComic,
- fontWeight: 600,
-});
-
-export const content = style({
- display: "flex",
- flexDirection: "column",
- gap: "2rem",
-});
-
-export const description = style({
- textAlign: "center",
- color: vars.textMuted,
- fontFamily: vars.fontComic,
- fontWeight: 600,
- fontSize: "1.125rem",
-});
-
-export const progressBlock = style({
- display: "flex",
- flexDirection: "column",
- gap: "0.75rem",
-});
-
-export const progressLabels = style({
- display: "flex",
- alignItems: "center",
- justifyContent: "space-between",
- fontSize: "0.875rem",
- fontFamily: vars.fontComic,
- fontWeight: 600,
-});
-
-export const progressMuted = style({ color: vars.textMuted });
-
-export const progressActive = style({
- color: vars.accent,
- fontWeight: 600,
-});
-
-export const progressTrack = style({
- width: "100%",
- backgroundColor: vars.surface,
- border: `1px solid ${vars.surfaceHigher}`,
- borderRadius: vars.radiusSm,
- height: "0.75rem",
- overflow: "hidden",
-});
-
-export const progressBar = style({
- height: "100%",
- backgroundColor: vars.accent,
- animation: `${pulse} 2s cubic-bezier(0.4, 0, 0.6, 1) infinite`,
-});
-
-export const featuresBox = style({
- backgroundColor: vars.surface,
- border: `1px solid ${vars.surfaceHigher}`,
- borderRadius: vars.radiusSm,
- padding: "1.5rem",
- display: "flex",
- flexDirection: "column",
- gap: "1rem",
-});
-
-export const featuresTitle = style({
- fontFamily: vars.fontComic,
- fontWeight: 600,
- fontSize: "1.125rem",
- textAlign: "center",
-});
-
-export const featuresGrid = style({
- display: "grid",
- gridTemplateColumns: "1fr",
- gap: "0.75rem",
- "@media": {
- "screen and (min-width: 768px)": {
- gridTemplateColumns: "repeat(2, 1fr)",
- },
- },
-});
-
-export const featureItem = style({
- display: "flex",
- alignItems: "flex-start",
- gap: "0.5rem",
-});
-
-export const featureIcon = style({
- width: "1.125rem",
- height: "1.125rem",
- flexShrink: 0,
- color: vars.accent,
-});
-
-export const featureText = style({
- fontSize: "0.875rem",
- fontFamily: vars.fontComic,
- fontWeight: 600,
- color: vars.textMuted,
-});
-
-export const actions = style({
- display: "flex",
- flexDirection: "column",
- gap: "0.75rem",
- justifyContent: "center",
- "@media": {
- "screen and (min-width: 640px)": {
- flexDirection: "row",
- },
- },
-});
-
-export const btnIcon = style({
- width: "1rem",
- height: "1rem",
- marginRight: "0.5rem",
-});
-
-export const footerBlock = style({
- textAlign: "center",
- paddingTop: "1.5rem",
- borderTop: `1px solid ${vars.surface}`,
-});
-
-export const footerText = style({
- fontSize: "0.875rem",
- color: vars.textMuted,
- fontFamily: vars.fontComic,
- fontWeight: 600,
-});
-
-export const footerLink = style({
- color: vars.accent,
- fontWeight: 600,
- textDecoration: "none",
- ":hover": { textDecoration: "underline" },
-});
diff --git a/src/components/ComingSoon.tsx b/src/components/ComingSoon.tsx
deleted file mode 100644
index 90fb17a..0000000
--- a/src/components/ComingSoon.tsx
+++ /dev/null
@@ -1,160 +0,0 @@
-/* system/src/components/ComingSoon.tsx
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-"use client";
-
-import React from "react";
-import Link from "next/link";
-import { usePathname } from "next/navigation";
-import { Button } from "@/components/ui/button";
-import { Card, CardContent, CardHeader, CardTitle, CardDescription } from "@/components/ui/card";
-import { cn } from "@/lib/utils";
-import * as s from "./ComingSoon.css";
-import {
- Construction,
- Sparkles,
- Palette,
- Zap,
- ShieldCheck,
- type LucideIcon,
- ArrowLeft,
-} from "lucide-react";
-import { Github } from "@/components/icons";
-
-interface ComingSoonProps {
- title?: string;
- description?: string;
- icon?: LucideIcon;
- showBackButton?: boolean;
-}
-
-const ComingSoon: React.FC<ComingSoonProps> = ({
- title,
- description,
- icon: IconComponent = Construction,
- showBackButton = true,
-}) => {
- const pathname = usePathname();
-
- // Default title based on route
- const getDefaultTitle = () => {
- if (title) return title;
-
- const path = pathname ?? "";
- if (path.includes("/pet")) return "Pet Dashboard";
- if (path.includes("/owner")) return "Owner Features";
- if (path.includes("/admin")) return "Admin Feature";
- if (path.includes("/user")) return "User Feature";
-
- return "New Feature";
- };
-
- // Default description
- const getDefaultDescription = () => {
- if (description) return description;
- return "We're working hard to bring you this feature. Check back soon!";
- };
-
- return (
- <div className={s.page}>
- <div className={s.wrap}>
- <Card className={s.cardBorder}>
- <CardHeader className={cn(s.headerCenter)}>
- {/* Animated Icon */}
- <div className={s.iconWrap}>
- <IconComponent className={s.icon} />
- </div>
-
- {/* Title */}
- <div className={s.titleBlock}>
- <CardTitle className={s.title}>{getDefaultTitle()}</CardTitle>
- <CardDescription className={s.subtitle}>Coming Soon</CardDescription>
- </div>
- </CardHeader>
-
- <CardContent className={s.content}>
- {/* Description */}
- <p className={s.description}>{getDefaultDescription()}</p>
-
- {/* Progress Indicator */}
- <div className={s.progressBlock}>
- <div className={s.progressLabels}>
- <span className={s.progressMuted}>Development Progress</span>
- <span className={s.progressActive}>In Progress...</span>
- </div>
- <div className={s.progressTrack}>
- <div className={s.progressBar} style={{ width: "35%" }} />
- </div>
- </div>
-
- {/* Feature Highlights */}
- <div className={s.featuresBox}>
- <h3 className={s.featuresTitle}>What to Expect</h3>
- <div className={s.featuresGrid}>
- <div className={s.featureItem}>
- <Sparkles className={s.featureIcon} />
- <span className={s.featureText}>New features and functionality</span>
- </div>
- <div className={s.featureItem}>
- <Palette className={s.featureIcon} />
- <span className={s.featureText}>Beautiful, intuitive design</span>
- </div>
- <div className={s.featureItem}>
- <Zap className={s.featureIcon} />
- <span className={s.featureText}>Fast and responsive</span>
- </div>
- <div className={s.featureItem}>
- <ShieldCheck className={s.featureIcon} />
- <span className={s.featureText}>Secure and reliable</span>
- </div>
- </div>
- </div>
-
- {/* Action Buttons */}
- <div className={s.actions}>
- {showBackButton && (
- <Button variant="outline" size="lg" asChild>
- <Link href="/">
- <ArrowLeft className={s.btnIcon} />
- Back to Home
- </Link>
- </Button>
- )}
-
- <Button size="lg" asChild>
- <a
- href="https://codeberg.org/clove/web/src/branch/main/system"
- target="_blank"
- rel="noopener noreferrer"
- >
- <Github className={s.btnIcon} />
- Request Feature
- </a>
- </Button>
- </div>
-
- {/* Additional Info */}
- <div className={s.footerBlock}>
- <p className={s.footerText}>
- Want to stay updated?{" "}
- <a
- href="https://doughmination.co.uk"
- target="_blank"
- rel="noopener noreferrer"
- className={s.footerLink}
- >
- Visit the Homepage
- </a>
- </p>
- </div>
- </CardContent>
- </Card>
- </div>
- </div>
- );
-};
-
-export default ComingSoon;
diff --git a/src/components/HomePage.tsx b/src/components/HomePage.tsx
deleted file mode 100644
index fba99f0..0000000
--- a/src/components/HomePage.tsx
+++ /dev/null
@@ -1,904 +0,0 @@
-/* system/src/components/HomePage.tsx
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-"use client";
-
-import React, { useState, useEffect, useMemo, useCallback } from "react";
-import Link from "next/link";
-import { useRouter } from "next/navigation";
-import {
- useMembers,
- useFronters,
- useSystem,
- useUserInfo,
- useConnectionStatus,
- useDoughminationClient,
- type PluralMember,
-} from "doughmination-api";
-import { Button } from "@/components/ui/button";
-import { cn, normalizeColor, readableOnDark } from "@/lib/utils";
-import { findPrideFlag, prideSwatchGradient } from "@/lib/pride";
-import * as site from "@/styles/site.css";
-import * as s from "@/app/home.css";
-import {
- CircleCheck,
- TriangleAlert,
- CircleAlert,
- OctagonAlert,
- ShieldAlert,
- Search,
- Menu,
- X,
-} from "lucide-react";
-import { Github } from "@/components/icons";
-
-// The member shape comes straight from the package now.
-type Member = PluralMember;
-
-interface UserData {
- username: string;
- display_name?: string;
-}
-
-const FALLBACK_AVATAR = "https://raw.doughmination.gay/favicons/favicon.png";
-
-const MENTAL_STATE_CLASSES: Record<string, string> = {
- safe: site.mentalStateSafe,
- unstable: site.mentalStateUnstable,
- "self-harming": site.mentalStateSelfHarming,
- "highly at risk": site.mentalStateHighlyAtRisk,
-};
-
-export default function HomePage() {
- const router = useRouter();
- const client = useDoughminationClient();
-
- // UI-only state; all server data now comes from the package hooks below.
- const [menuOpen, setMenuOpen] = useState(false);
- const [searchQuery, setSearchQuery] = useState("");
- const [currentTagFilter, setCurrentTagFilter] = useState<string | null>(null);
- const [currentIdentityFilter, setCurrentIdentityFilter] = useState<string | null>(null);
- const [filteredMembers, setFilteredMembers] = useState<Member[]>([]);
- const [filtersOpen, setFiltersOpen] = useState(false);
- const filtersRef = React.useRef<HTMLDivElement>(null);
-
- // Live public data — seeded over REST, then kept current by the shared
- // socket (fronters + mental state are broadcast to every client, and the
- // provider invalidates on force_refresh).
- const membersQuery = useMembers();
- const frontersQuery = useFronters();
- const systemQuery = useSystem();
- const wsConnected = useConnectionStatus() === "open";
-
- const members = useMemo(() => {
- const list = membersQuery.data ?? [];
- return [...list].sort((a, b) => {
- const nameA = (a.display_name || a.name || "").toLowerCase();
- const nameB = (b.display_name || b.name || "").toLowerCase();
- return nameA.localeCompare(nameB);
- });
- }, [membersQuery.data]);
-
- const availableTags = useMemo(() => {
- const tags = new Set<string>();
- members.forEach((m) => m.tags?.forEach((t) => tags.add(t)));
- return Array.from(tags).sort((a, b) => a.localeCompare(b));
- }, [members]);
-
- const availableIdentities = useMemo(() => {
- const identities = new Set<string>();
- members.forEach((m) => m.pride?.forEach((p) => identities.add(p)));
- return Array.from(identities).sort((a, b) => a.localeCompare(b));
- }, [members]);
-
- const activeFilterCount = (currentTagFilter ? 1 : 0) + (currentIdentityFilter ? 1 : 0);
-
- const fronting = frontersQuery.data ?? null;
- const systemInfo = systemQuery.data ?? null;
- const loading =
- membersQuery.isLoading || frontersQuery.isLoading || systemQuery.isLoading;
-
- // Auth: the provider supplies the bearer token from localStorage, so
- // useUserInfo covers real accounts; the mock-* dev tokens are handled inline.
- const [token, setToken] = useState<string | null>(null);
- useEffect(() => {
- setToken(localStorage.getItem("token"));
- }, []);
-
- // Seed the tag/identity filters from the URL so a shared link like
- // /?tag=Genshin&identity=Transgender opens already filtered.
- useEffect(() => {
- const params = new URLSearchParams(window.location.search);
- const tag = params.get("tag");
- const identity = params.get("identity");
- if (tag) setCurrentTagFilter(tag);
- if (identity) setCurrentIdentityFilter(identity);
- }, []);
-
- // Close the filters popover on outside click / Escape.
- useEffect(() => {
- if (!filtersOpen) return;
- const handlePointerDown = (e: MouseEvent) => {
- if (filtersRef.current && !filtersRef.current.contains(e.target as Node)) {
- setFiltersOpen(false);
- }
- };
- const handleKeyDown = (e: KeyboardEvent) => {
- if (e.key === "Escape") setFiltersOpen(false);
- };
- document.addEventListener("mousedown", handlePointerDown);
- document.addEventListener("keydown", handleKeyDown);
- return () => {
- document.removeEventListener("mousedown", handlePointerDown);
- document.removeEventListener("keydown", handleKeyDown);
- };
- }, [filtersOpen]);
- const isMock = token?.startsWith("mock-") ?? false;
- const userInfoQuery = useUserInfo({ enabled: Boolean(token) && !isMock });
-
- const { loggedIn, isAdmin, isOwner, currentUser } = useMemo(() => {
- if (!token) {
- return {
- loggedIn: false,
- isAdmin: false,
- isOwner: false,
- currentUser: null as UserData | null
- };
- }
- if (isMock) {
- return {
- loggedIn: true,
- isAdmin: token === "mock-admin",
- isOwner: token === "mock-owner",
- currentUser: {
- username: "mock-user",
- display_name: "Mock User"
- } as UserData,
- };
- }
- const u = userInfoQuery.data;
- if (!u) {
- return {
- loggedIn: false,
- isAdmin: false,
- isOwner: false,
- currentUser: null as UserData | null
- };
- }
- return {
- loggedIn: true,
- isAdmin: !!u.is_admin,
- isOwner: !!u.is_owner,
- currentUser: {
- username: u.username,
- display_name: u.display_name ?? undefined
- } as UserData,
- };
- }, [token, isMock, userInfoQuery.data]);
-
- const handleLogout = async () => {
- const current = localStorage.getItem("token");
- localStorage.removeItem("token");
- setToken(null);
-
- // End the API session and, via the SSO's logout page, the SSO session too.
- // If the API can't be reached the local sign-out above still stands.
- let endSession: string | null = null;
- if (current) {
- try {
- const res = await fetch(`${client.baseUrl}/plural/auth/logout`, {
- method: "POST",
- headers: { Authorization: `Bearer ${current}` },
- });
- const data = (await res.json()) as { end_session_url?: string | null };
- endSession = data.end_session_url ?? null;
- } catch {
- // offline or API down
- }
- }
-
- if (endSession) window.location.href = endSession;
- else router.push("/");
- };
-
- // Event handlers
- const handleSearchChange = useCallback((e: React.ChangeEvent<HTMLInputElement>) => {
- setSearchQuery(e.target.value);
- }, []);
-
- const clearSearch = useCallback(() => {
- setSearchQuery("");
- }, []);
-
- // Updates a filter's state and its query param together, preserving the
- // other filter's param. Passing null clears that param from the URL.
- const applyFilter = useCallback(
- (kind: "tag" | "identity", value: string | null) => {
- if (kind === "tag") setCurrentTagFilter(value);
- else setCurrentIdentityFilter(value);
-
- const params = new URLSearchParams(window.location.search);
- if (value) params.set(kind, value);
- else params.delete(kind);
- const query = params.toString();
- router.replace(query ? `/?${query}` : "/", { scroll: false });
- },
- [router],
- );
-
- const toggleTagFilter = useCallback(
- (tag: string) => {
- applyFilter("tag", currentTagFilter === tag ? null : tag);
- },
- [applyFilter, currentTagFilter],
- );
-
- const toggleIdentityFilter = useCallback(
- (identity: string) => {
- applyFilter("identity", currentIdentityFilter === identity ? null : identity);
- },
- [applyFilter, currentIdentityFilter],
- );
-
- const clearAllFilters = useCallback(() => {
- setCurrentTagFilter(null);
- setCurrentIdentityFilter(null);
- router.replace("/", { scroll: false });
- }, [router]);
-
- const toggleMenu = useCallback(() => {
- setMenuOpen((prev) => !prev);
- }, []);
-
- // Filter members based on search and tag filter
- useEffect(() => {
- let filtered = members;
-
- // Apply search filter
- if (searchQuery) {
- filtered = filtered.filter(
- (member) =>
- (member.display_name || member.name || "")
- .toLowerCase()
- .includes(searchQuery.toLowerCase()) ||
- member.tags?.some((tag) => tag.toLowerCase().includes(searchQuery.toLowerCase())),
- );
- }
-
- // Apply tag filter
- if (currentTagFilter) {
- if (currentTagFilter === "untagged") {
- filtered = filtered.filter((member) => !member.tags || member.tags.length === 0);
- } else {
- filtered = filtered.filter((member) => member.tags?.includes(currentTagFilter));
- }
- }
-
- // Apply identity/pride filter
- if (currentIdentityFilter) {
- filtered = filtered.filter((member) => member.pride?.includes(currentIdentityFilter));
- }
-
- setFilteredMembers(filtered);
- }, [members, searchQuery, currentTagFilter, currentIdentityFilter]);
-
- // Check if a member is currently fronting
- const isMemberFronting = useCallback(
- (memberId: string, memberName?: string): boolean => {
- if (!fronting?.members || fronting.members.length === 0) {
- return false;
- }
-
- // Check direct fronting
- return fronting.members.some((m) => m.id === memberId || m.name === memberName);
- },
- [fronting],
- );
-
- // Mental state helper functions
- const getMentalStateLabel = (level: string) => {
- const labels: { [key: string]: string } = {
- safe: "Safe",
- unstable: "Unstable",
- idealizing: "Idealizing",
- "self-harming": "Self-Harming",
- "highly at risk": "Highly At Risk",
- };
- return labels[level] || level;
- };
-
- const MENTAL_STATE_ICONS: Record<string, React.ComponentType<{ className?: string }>> = {
- safe: CircleCheck,
- unstable: TriangleAlert,
- idealizing: CircleAlert,
- "self-harming": OctagonAlert,
- "highly at risk": ShieldAlert,
- };
-
- if (loading) {
- return (
- <div className={s.loadingWrap}>
- <div className={s.loadingText}>Loading...</div>
- </div>
- );
- }
-
- return (
- <div className={s.page}>
- {/* WebSocket Connection Indicator */}
- {!wsConnected && (
- <div className={s.wsBanner}>[ ! ] Live updates disconnected. Reconnecting...</div>
- )}
-
- {/* Header with navigation */}
- <header className={s.header}>
- <div className={s.headerInner}>
- <Link href="/" className={s.logoLink}>
- Doughmination System®
- </Link>
-
- {/* Desktop Navigation */}
- <div className={s.desktopNavRow}>
- {loggedIn && currentUser && (
- <div className={s.navUser}>
- Logged in as:{" "}
- <span className={s.navUserName}>
- {currentUser.display_name || currentUser.username}
- </span>
- </div>
- )}
- <Button variant="outline" size="sm" asChild>
- <Link href="/user/metrics">Metrics</Link>
- </Button>
- {loggedIn ? (
- <>
- {isOwner && (
- <Button variant="outline" size="sm" asChild>
- <Link href="/owner/dash">Owner Panel</Link>
- </Button>
- )}
- {isAdmin && (
- <Button variant="outline" size="sm" asChild>
- <Link href="/admin/dash">Admin Panel</Link>
- </Button>
- )}
- <Button variant="outline" size="sm" asChild>
- <Link href="/user/profile">Profile</Link>
- </Button>
- <Button variant="destructive" size="sm" onClick={handleLogout}>
- Logout
- </Button>
- </>
- ) : (
- <Button variant="outline" size="sm" asChild>
- <Link href="/user/login">Login</Link>
- </Button>
- )}
- </div>
-
- {/* Mobile menu button */}
- <button
- className={s.mobileMenuBtn}
- onClick={toggleMenu}
- aria-label="Toggle menu"
- aria-expanded={menuOpen}
- >
- {menuOpen ? <X className={s.icon24} /> : <Menu className={s.icon24} />}
- </button>
- </div>
-
- {/* Mobile Navigation overlay */}
- {menuOpen && (
- <div className={s.mobileOverlay} onClick={toggleMenu}>
- <div className={s.mobilePanel} onClick={(e) => e.stopPropagation()}>
- <ul className={s.mobileList}>
- {loggedIn && currentUser && (
- <li className={s.mobileUser}>
- Logged in as:{" "}
- <span className={s.mobileUserName}>
- {currentUser.display_name || currentUser.username}
- </span>
- </li>
- )}
- <li>
- <Link href="/user/metrics" className={s.mobileLink} onClick={toggleMenu}>
- Metrics
- </Link>
- </li>
- {loggedIn ? (
- <>
- {isOwner && (
- <li>
- <Link href="/owner/dash" className={s.mobileLink} onClick={toggleMenu}>
- Owner Panel
- </Link>
- </li>
- )}
- {isAdmin && (
- <li>
- <Link href="/admin/dash" className={s.mobileLink} onClick={toggleMenu}>
- Admin Panel
- </Link>
- </li>
- )}
- <li>
- <Link href="/user/profile" className={s.mobileLink} onClick={toggleMenu}>
- Profile
- </Link>
- </li>
- <li>
- <button
- onClick={() => {
- handleLogout();
- toggleMenu();
- }}
- className={s.mobileLogout}
- >
- Logout
- </button>
- </li>
- </>
- ) : (
- <li>
- <Link href="/user/login" className={s.mobileLink} onClick={toggleMenu}>
- Login
- </Link>
- </li>
- )}
- </ul>
- </div>
- </div>
- )}
- <div className={s.flagStripe} />
- </header>
-
- {/* Space for fixed header */}
- <div className={s.headerSpacer}></div>
-
- {/* Main content */}
- <main className={s.main}>
- <div className={s.contentWrapper}>
- <div>
- <div className={s.pageOverline}>// system.members</div>
- <h1 className={s.pageTitle}>System Members</h1>
-
- {/* Mental State Banner */}
- {systemInfo?.mental_state && (() => {
- const StateIcon = MENTAL_STATE_ICONS[systemInfo.mental_state.level];
- return (
- <div
- className={cn(
- site.mentalStateBanner,
- MENTAL_STATE_CLASSES[systemInfo.mental_state.level],
- )}
- >
- <div className={s.bannerRow}>
- <div className={s.bannerIconBlock}>
- {StateIcon && <StateIcon className={s.bannerIcon} />}
- </div>
- <div className={s.bannerBody}>
- <div className={s.bannerLabelRow}>
- <span className={s.bannerLabelKey}>status:</span>
- <span className={s.bannerLabelValue}>
- [ {getMentalStateLabel(systemInfo.mental_state.level)} ]
- </span>
- </div>
- {systemInfo.mental_state.notes && (
- <p className={s.bannerNotes}>{systemInfo.mental_state.notes}</p>
- )}
- <small className={s.bannerUpdated}>
- last_updated: {new Date(systemInfo.mental_state.updated_at).toLocaleString()}
- </small>
- </div>
- </div>
- </div>
- );
- })()}
-
- {/* Currently Fronting Section */}
- {fronting && fronting.members && fronting.members.length > 0 && (
- <div className={s.frontingSection}>
- <h2 className={s.frontingTitle}>
- Currently {fronting.members.length > 1 ? "Co-fronting" : "Fronting"}
- </h2>
- <div className={s.frontingRow}>
- {fronting.members.map((member, index) => {
- const memberColor = normalizeColor(member.color);
- const borderColor = memberColor || "var(--accent)";
- const nameColor = readableOnDark(member.color, "var(--accent)");
-
- return (
- <div key={member.id || `${member.name}-${index}`} className={s.frontingItem}>
- <Link href={`/${member.name}`}>
- <div className={s.searchRelative}>
- {/* eslint-disable-next-line @next/next/no-img-element */}
- <img
- src={member.avatar_url || FALLBACK_AVATAR}
- alt={member.display_name || member.name}
- className={s.avatarImg}
- style={{
- borderColor: borderColor,
- boxShadow: `3px 3px 0 ${borderColor}`,
- }}
- loading="lazy"
- onError={(e) => {
- (e.target as HTMLImageElement).src = FALLBACK_AVATAR;
- }}
- />
- </div>
- </Link>
- <div className={s.frontingNameWrap}>
- <Link
- href={`/${member.name}`}
- className={s.memberLink}
- style={{ color: nameColor }}
- >
- {member.display_name || member.name || "Unknown"}
- </Link>
-
- {member.tags && member.tags.length > 0 && (
- <div className={s.tagRow}>
- {[...member.tags]
- .sort((a, b) => a.localeCompare(b))
- .map((tag, tagIndex) => (
- <button
- key={tagIndex}
- type="button"
- onClick={() => toggleTagFilter(tag)}
- className={cn(
- s.tagChipButton,
- currentTagFilter === tag && s.tagChipButtonActive,
- )}
- >
- {tag}
- </button>
- ))}
- </div>
- )}
-
- {/* Status tag — plain bordered box, replaces the old thought bubble */}
- {member.status && (
- <div className={s.statusTagWrap}>
- <div className={s.statusTag}>
- {member.status.emoji && (
- <span className={s.statusTagEmoji}>{member.status.emoji}</span>
- )}
- <span className={s.statusTagText}>{member.status.text}</span>
- </div>
- </div>
- )}
- </div>
- </div>
- );
- })}
- </div>
- </div>
- )}
-
- {/* Search and Filter */}
- <div className={s.filtersBlock}>
- <div className={s.filterRow}>
- <div className={s.filtersWrap} ref={filtersRef}>
- <button
- onClick={() => setFiltersOpen((prev) => !prev)}
- className={cn(s.filtersButton, filtersOpen && s.filtersButtonActive)}
- aria-expanded={filtersOpen}
- >
- Filters
- {activeFilterCount > 0 && (
- <span className={s.filtersCount}>{activeFilterCount}</span>
- )}
- <span aria-hidden>{filtersOpen ? "▴" : "▾"}</span>
- </button>
-
- {filtersOpen && (
- <div className={s.filtersPanel}>
- <div className={s.filterGroup}>
- <p className={s.filterGroupLabel}>Tag</p>
- <div className={s.filterPillRow}>
- <button
- onClick={() => applyFilter("tag", null)}
- className={cn(
- site.filterButton,
- currentTagFilter === null && site.filterButtonActive,
- )}
- >
- All
- </button>
- {availableTags.map((tag) => (
- <button
- key={tag}
- onClick={() => toggleTagFilter(tag)}
- className={cn(
- site.filterButton,
- currentTagFilter === tag && site.filterButtonActive,
- )}
- >
- {tag}
- </button>
- ))}
- <button
- onClick={() => toggleTagFilter("untagged")}
- className={cn(
- site.filterButton,
- currentTagFilter === "untagged" && site.filterButtonActive,
- )}
- >
- Untagged
- </button>
- </div>
- </div>
-
- {availableIdentities.length > 0 && (
- <div className={s.filterGroup}>
- <p className={s.filterGroupLabel}>Identity</p>
- <div className={s.filterPillRow}>
- <button
- onClick={() => applyFilter("identity", null)}
- className={cn(
- site.filterButton,
- currentIdentityFilter === null && site.filterButtonActive,
- )}
- >
- All
- </button>
- {availableIdentities.map((identity) => {
- const flag = findPrideFlag(identity);
- return (
- <button
- key={identity}
- onClick={() => toggleIdentityFilter(identity)}
- className={cn(
- site.filterButton,
- currentIdentityFilter === identity && site.filterButtonActive,
- )}
- >
- {flag && (
- <span
- aria-hidden
- className={s.flagSwatch}
- style={{ background: prideSwatchGradient(flag.stripes) }}
- />
- )}
- {identity}
- </button>
- );
- })}
- </div>
- </div>
- )}
- </div>
- )}
- </div>
-
- {activeFilterCount > 0 && (
- <div className={s.activeFiltersRow}>
- {currentTagFilter && (
- <span className={s.activeChip}>
- <span className={s.activeChipKey}>tag:</span>
- {currentTagFilter}
- <button
- onClick={() => applyFilter("tag", null)}
- className={s.activeChipRemove}
- aria-label="Clear tag filter"
- >
- ✕
- </button>
- </span>
- )}
- {currentIdentityFilter && (
- <span className={s.activeChip}>
- <span className={s.activeChipKey}>identity:</span>
- {currentIdentityFilter}
- <button
- onClick={() => applyFilter("identity", null)}
- className={s.activeChipRemove}
- aria-label="Clear identity filter"
- >
- ✕
- </button>
- </span>
- )}
- </div>
- )}
- </div>
-
- <div className={site.searchContainer}>
- <div className={s.searchRelative}>
- <Search className={site.searchIcon} />
- <input
- id="member-search"
- type="text"
- placeholder="Search members..."
- value={searchQuery}
- onChange={handleSearchChange}
- className={site.searchInput}
- />
- {searchQuery && (
- <button onClick={clearSearch} className={site.searchClear}>
- <X className={s.icon20} />
- </button>
- )}
- </div>
- </div>
- </div>
-
- {/* Members Grid */}
- {filteredMembers.length > 0 ? (
- <div className={site.memberGrid} style={{ paddingTop: "3rem" }}>
- {filteredMembers.map((member) => {
- const isFronting = isMemberFronting(member.id, member.name);
- const memberColor = normalizeColor(member.color);
- const borderColor = memberColor || "var(--accent)";
- const nameColor = readableOnDark(member.color, "var(--text)");
- return (
- <div
- key={member.id}
- className={cn(
- site.memberGridItem,
- isFronting && site.frontingGlow,
- s.gridItemRelative,
- )}
- style={
- {
- "--member-color": borderColor,
- } as React.CSSProperties & { "--member-color": string }
- }
- >
- <Link href={`/${member.name}`}>
- <div className={s.cardCenter}>
- <div className={s.relativeInline}>
- {/* eslint-disable-next-line @next/next/no-img-element */}
- <img
- src={member.avatar_url || FALLBACK_AVATAR}
- alt={member.display_name || member.name}
- className={s.avatarImgGrid}
- style={{
- borderColor: borderColor,
- boxShadow: `3px 3px 0 ${borderColor}`,
- }}
- onError={(e) => {
- (e.target as HTMLImageElement).src = FALLBACK_AVATAR;
- }}
- />
- </div>
- <h3
- className={s.memberCardName}
- style={{ color: nameColor }}
- >
- {member.display_name || member.name}
- </h3>
- {member.pronouns && (
- <p className={s.memberPronouns}>{member.pronouns}</p>
- )}
-
- {member.tags && member.tags.length > 0 && (
- <div className={s.tagRowSpaced}>
- {[...member.tags]
- .sort((a, b) => a.localeCompare(b))
- .slice(0, 2)
- .map((tag, index) => (
- // Nested inside the card's profile <Link>, so this is a
- // <span role="button"> rather than a real <button> —
- // stopPropagation keeps the click from also navigating.
- <span
- key={index}
- role="button"
- tabIndex={0}
- onClick={(e) => {
- e.preventDefault();
- e.stopPropagation();
- toggleTagFilter(tag);
- }}
- onKeyDown={(e) => {
- if (e.key === "Enter" || e.key === " ") {
- e.preventDefault();
- e.stopPropagation();
- toggleTagFilter(tag);
- }
- }}
- className={cn(
- s.tagChipButton,
- currentTagFilter === tag && s.tagChipButtonActive,
- )}
- >
- {tag}
- </span>
- ))}
- {member.tags.length > 2 && (
- <span className={s.tagMore}>+{member.tags.length - 2}</span>
- )}
- </div>
- )}
-
- {/* Status tag — plain bordered box, replaces the old thought bubble */}
- {member.status && (
- <div className={s.statusTagWrap}>
- <div className={s.statusTag} style={{ maxWidth: "130px" }}>
- {member.status.emoji && (
- <span className={s.statusTagEmoji}>{member.status.emoji}</span>
- )}
- <span className={s.statusTagText}>{member.status.text}</span>
- </div>
- </div>
- )}
- </div>
- </Link>
- </div>
- );
- })}
- </div>
- ) : (
- <div className={s.emptyState}>
- <p className={s.emptyText}>
- {searchQuery || activeFilterCount > 0
- ? "No members found matching your criteria."
- : "No members available."}
- </p>
- {(searchQuery || activeFilterCount > 0) && (
- <div className={s.emptyActions}>
- {searchQuery && (
- <Button variant="secondary" size="sm" onClick={clearSearch}>
- Clear search
- </Button>
- )}
- {activeFilterCount > 0 && (
- <Button variant="secondary" size="sm" onClick={clearAllFilters}>
- Clear filters
- </Button>
- )}
- </div>
- )}
- </div>
- )}
- </div>
- </div>
- </main>
-
- {/* Footer */}
- <footer className={site.githubFooter}>
- <a
- href="https://github.com/doughmination/web/tree/main/system"
- target="_blank"
- rel="noopener noreferrer"
- className={site.githubButton}
- >
- <Github />
- View on GitHub
- </a>
- <p className={s.footerNote}>
- Doughmination System® is a trade mark in the United Kingdom under trademark number{" "}
- <a
- href="https://www.ipo.gov.uk/t-tmj.htm/t-tmj/tm-journals/2025-039/UK00004263144.html"
- target="_blank"
- rel="noopener noreferrer"
- className={s.footerNoteLink}
- >
- UK00004263144
- </a>
- </p>
- </footer>
-
- {/* SEO Content Section - Hidden visually but readable by search engines */}
- <section className={s.srOnly} aria-label="About Doughmination System">
- <h1>Doughmination System® - Real-Time Plural System Tracker</h1>
- <p>
- Welcome to the Doughmination System®, a plural system (DID/OSDD) management platform.
- Track current fronters, view all system members, and manage switching patterns in
- real-time.
- </p>
- <h2>Features</h2>
- <ul>
- <li>Real-time fronting status tracking</li>
- <li>Comprehensive member profiles with pronouns and descriptions</li>
- <li>Mental health state monitoring</li>
- <li>Member tagging and categorization</li>
- <li>Switching metrics and analytics</li>
- </ul>
- </section>
- </div>
- );
-}
diff --git a/src/components/MemberStatus.tsx b/src/components/MemberStatus.tsx
deleted file mode 100644
index 7d5206d..0000000
--- a/src/components/MemberStatus.tsx
+++ /dev/null
@@ -1,51 +0,0 @@
-/* system/src/components/MemberStatus.tsx
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-import React from "react";
-import * as s from "./components.css";
-
-interface MemberStatus {
- text: string;
- emoji?: string;
- updated_at: string;
-}
-
-interface MemberStatusProps {
- status: MemberStatus | null | undefined;
- compact?: boolean;
-}
-
-export default function MemberStatus({ status, compact = false }: MemberStatusProps) {
- if (!status) {
- return null;
- }
-
- if (compact) {
- // Compact version for member cards
- return (
- <div className={s.statusCompact}>
- {status.emoji && <span className={s.statusCompactEmoji}>{status.emoji}</span>}
- <span className={s.statusCompactText}>{status.text}</span>
- </div>
- );
- }
-
- // Full version for member details page
- return (
- <div className={s.statusFull}>
- {status.emoji && <span className={s.statusFullEmoji}>{status.emoji}</span>}
- <div className={s.statusFullBody}>
- <p className={s.statusFullText}>{status.text}</p>
- <p className={s.statusFullUpdated}>
- Updated {new Date(status.updated_at).toLocaleString()}
- </p>
- </div>
- </div>
- );
-}
-
-// Export the status interface for use in other components
-export type { MemberStatus };
diff --git a/src/components/ProtectedRoute.tsx b/src/components/ProtectedRoute.tsx
deleted file mode 100644
index 20f4a66..0000000
--- a/src/components/ProtectedRoute.tsx
+++ /dev/null
@@ -1,115 +0,0 @@
-/* system/src/components/ProtectedRoute.tsx
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-"use client";
-
-import React, { useEffect, useState } from "react";
-import { usePathname, useRouter } from "next/navigation";
-import { useUserInfo } from "doughmination-api";
-import { ShieldUser, ArrowLeft } from "lucide-react";
-import * as s from "./components.css";
-
-interface ProtectedRouteProps {
- children: React.ReactNode;
- adminRequired?: boolean;
- ownerRequired?: boolean;
- petRequired?: boolean;
-}
-
-const ProtectedRoute: React.FC<ProtectedRouteProps> = ({
- children,
- adminRequired = false,
- ownerRequired = false,
- petRequired = false,
-}) => {
- const router = useRouter();
- const pathname = usePathname();
-
- // Read the token once on mount; the provider also feeds it to the client.
- const [token, setToken] = useState<string | null>(null);
- const [tokenLoaded, setTokenLoaded] = useState(false);
- useEffect(() => {
- setToken(localStorage.getItem("token"));
- setTokenLoaded(true);
- }, []);
-
- const isMock = token?.startsWith("mock-") ?? false;
-
- // user_info returns is_admin / is_owner / is_pet in one call, replacing the
- // three separate /auth/* requests.
- const userInfo = useUserInfo({ enabled: Boolean(token) && !isMock });
-
- let isAuthenticated = false;
- let isAdmin = false;
- let isOwner = false;
- let isPet = false;
-
- if (token && isMock) {
- isAuthenticated = true;
- isAdmin = token === "mock-admin";
- isOwner = token === "mock-owner";
- isPet = token === "mock-pet";
- } else if (token && userInfo.data) {
- const u = userInfo.data;
- isAuthenticated = true;
- isAdmin = !!u.is_admin;
- isOwner = !!u.is_owner;
- isPet = !!u.is_pet;
- }
-
- const loading =
- !tokenLoaded || (Boolean(token) && !isMock && userInfo.isLoading);
-
- useEffect(() => {
- if (!loading && !isAuthenticated) {
- router.replace(`/user/login?from=${encodeURIComponent(pathname)}`);
- }
- }, [loading, isAuthenticated, router, pathname]);
-
- if (loading) {
- return <div className={s.guardLoading}>Verifying access...</div>;
- }
-
- if (!isAuthenticated) {
- // redirecting to /user/login
- return null;
- }
-
- const denied = (title: string, text: string) => (
- <div className={s.guardPage}>
- <div className={s.guardCard}>
- <div className={s.guardIconBlock}>
- <ShieldUser className={s.guardIcon} />
- </div>
- <h1 className={s.guardTitle}>{title}</h1>
- <p className={s.guardText}>{text}</p>
- <button onClick={() => window.history.back()} className={s.guardBack}>
- <ArrowLeft className={s.guardBackIcon} />
- Go Back
- </button>
- </div>
- </div>
- );
-
- // Check owner permission (owner has all permissions)
- if (ownerRequired && !isOwner) {
- return denied("Owner Access Required", "This area is restricted to system owners only.");
- }
-
- // Check admin permission (admin and owner have admin access)
- if (adminRequired && !isAdmin && !isOwner) {
- return denied("Admin Access Required", "This area is restricted to administrators only.");
- }
-
- // Check pet permission
- if (petRequired && !isPet && !isOwner) {
- return denied("Pet Access Required", "This area is restricted to pets only.");
- }
-
- return <>{children}</>;
-};
-
-export default ProtectedRoute;
diff --git a/src/components/VisitorTracker.tsx b/src/components/VisitorTracker.tsx
deleted file mode 100644
index e865082..0000000
--- a/src/components/VisitorTracker.tsx
+++ /dev/null
@@ -1,52 +0,0 @@
-/* system/src/components/VisitorTracker.tsx
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-"use client";
-
-import { useEffect } from "react";
-import { usePathname } from "next/navigation";
-
-/**
- * Pings POST /helper on every route change so the backend can log the visit.
- * Renders nothing. Mounted in the root layout.
- *
- * Fires for ALL paths, including the 404 catch-all (which is the point —
- * the backend wants to see attempts at non-existent URLs too).
- */
-const VisitorTracker = () => {
- const pathname = usePathname();
-
- useEffect(() => {
- const path = `${pathname}${window.location.search}${window.location.hash}`;
- const body = JSON.stringify({ path });
-
- // Prefer sendBeacon when leaving the page; otherwise plain fetch.
- // Both are fire-and-forget — we never block rendering on the log call.
- try {
- if (typeof navigator !== "undefined" && navigator.sendBeacon) {
- const blob = new Blob([body], { type: "application/json" });
- const ok = navigator.sendBeacon("https://doughmination.uk/v2/plural/helper", blob);
- if (ok) return;
- }
- } catch {
- // fall through to fetch
- }
-
- fetch("https://doughmination.uk/v2/plural/helper", {
- method: "POST",
- headers: { "Content-Type": "application/json" },
- body,
- keepalive: true,
- credentials: "same-origin",
- }).catch(() => {
- // Silently ignore — visitor logging must never break the UI.
- });
- }, [pathname]);
-
- return null;
-};
-
-export default VisitorTracker;
diff --git a/src/components/components.css.ts b/src/components/components.css.ts
deleted file mode 100644
index 98cd957..0000000
--- a/src/components/components.css.ts
+++ /dev/null
@@ -1,167 +0,0 @@
-/* system/src/components/components.css.ts
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- *
- * Styles for app-level components (MemberStatus, ThemeToggle, ProtectedRoute).
- */
-
-import { style } from "@vanilla-extract/css";
-import { vars } from "@/styles/theme.css";
-
-/* MemberStatus */
-export const statusCompact = style({
- marginTop: "0.5rem",
- display: "flex",
- alignItems: "center",
- justifyContent: "center",
- gap: "0.25rem",
-});
-
-export const statusCompactEmoji = style({
- fontSize: "0.875rem",
-});
-
-export const statusCompactText = style({
- fontSize: "0.75rem",
- color: vars.textMuted,
- fontFamily: vars.fontComic,
- fontWeight: 600,
- overflow: "hidden",
- textOverflow: "ellipsis",
- whiteSpace: "nowrap",
- maxWidth: "100px",
-});
-
-export const statusFull = style({
- display: "flex",
- alignItems: "flex-start",
- gap: "0.5rem",
- padding: "0.75rem",
- borderRadius: vars.radiusSm,
- backgroundColor: vars.surface,
- border: `1px solid ${vars.surfaceHigher}`,
-});
-
-export const statusFullEmoji = style({
- fontSize: "1.5rem",
- flexShrink: 0,
-});
-
-export const statusFullBody = style({
- flex: 1,
- minWidth: 0,
-});
-
-export const statusFullText = style({
- fontFamily: vars.fontComic,
- fontWeight: 600,
- fontSize: "0.875rem",
- wordBreak: "break-word",
-});
-
-export const statusFullUpdated = style({
- fontSize: "0.75rem",
- color: vars.textMuted,
- fontFamily: vars.fontComic,
- fontWeight: 600,
- marginTop: "0.25rem",
-});
-
-/* ThemeToggle */
-export const themeToggleButton = style({
- position: "relative",
- overflow: "hidden",
- transition: "all 0.3s ease",
- fontFamily: vars.fontComic,
- fontWeight: 600,
- ":hover": {
- transform: "scale(1.05)",
- },
-});
-
-export const themeToggleInner = style({
- display: "flex",
- alignItems: "center",
- gap: "0.5rem",
-});
-
-export const themeToggleIcon = style({ fontSize: "0.875rem" });
-export const themeToggleLabel = style({
- fontSize: "0.75rem",
- fontWeight: 500
-});
-
-/* ProtectedRoute */
-export const guardLoading = style({
- textAlign: "center",
- padding: "2rem",
- fontFamily: vars.fontComic,
- fontWeight: 600,
-});
-
-export const guardPage = style({
- width: "100%",
- margin: "0 auto",
- padding: "1.5rem",
- paddingTop: "5rem",
-});
-
-export const guardCard = style({
- maxWidth: "28rem",
- margin: "0 auto",
- textAlign: "center",
- display: "flex",
- flexDirection: "column",
- gap: "1rem",
-});
-
-export const guardIconBlock = style({
- width: "4rem",
- height: "4rem",
- margin: "0 auto",
- display: "flex",
- alignItems: "center",
- justifyContent: "center",
- border: `2px solid ${vars.danger}`,
-});
-
-export const guardIcon = style({
- width: "1.75rem",
- height: "1.75rem",
- color: vars.danger,
-});
-
-export const guardTitle = style({
- fontSize: "1.5rem",
- fontWeight: 700,
- fontFamily: vars.fontComic,
-});
-
-export const guardText = style({
- color: vars.textMuted,
- fontFamily: vars.fontComic,
- fontWeight: 600,
-});
-
-export const guardBack = style({
- display: "inline-flex",
- alignItems: "center",
- gap: "0.375rem",
- color: vars.accent,
- fontFamily: vars.fontComic,
- fontWeight: 700,
- textTransform: "uppercase",
- letterSpacing: "0.04em",
- fontSize: "0.8125rem",
- background: "none",
- border: "none",
- cursor: "pointer",
- margin: "0 auto",
- ":hover": { color: vars.accentAlt },
-});
-
-export const guardBackIcon = style({
- width: "0.75rem",
- height: "0.75rem",
-});
diff --git a/src/components/icons.tsx b/src/components/icons.tsx
deleted file mode 100644
index a2e3234..0000000
--- a/src/components/icons.tsx
+++ /dev/null
@@ -1,33 +0,0 @@
-/* system/src/components/icons.tsx
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-import { forwardRef } from "react";
-import type { LucideProps } from "lucide-react";
-
-/* Lucide dropped its brand icons, so the GitHub mark is drawn here in Lucide's
- * own stroke style to sit alongside the rest of the set. */
-export const Github = forwardRef<SVGSVGElement, LucideProps>(
- ({ size = 24, strokeWidth = 2, ...props }, ref) => (
- <svg
- ref={ref}
- xmlns="http://www.w3.org/2000/svg"
- width={size}
- height={size}
- viewBox="0 0 24 24"
- fill="none"
- stroke="currentColor"
- strokeWidth={strokeWidth}
- strokeLinecap="round"
- strokeLinejoin="round"
- aria-hidden="true"
- {...props}
- >
- <path d="M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4" />
- <path d="M9 18c-4.51 2-5-2-7-2" />
- </svg>
- ),
-);
-Github.displayName = "Github";
diff --git a/src/components/ui/alert.tsx b/src/components/ui/alert.tsx
deleted file mode 100644
index 36383ad..0000000
--- a/src/components/ui/alert.tsx
+++ /dev/null
@@ -1,35 +0,0 @@
-/* system/src/components/ui/alert.tsx
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-import * as React from "react";
-import { cn } from "@/lib/utils";
-import { alert, alertTitle, alertDescription } from "./ui.css";
-
-type AlertVariants = NonNullable<Parameters<typeof alert>[0]>;
-
-const Alert = React.forwardRef<
- HTMLDivElement,
- React.HTMLAttributes<HTMLDivElement> & { variant?: AlertVariants["variant"] }
->(({ className, variant, ...props }, ref) => (
- <div ref={ref} role="alert" className={cn(alert({ variant }), className)} {...props} />
-));
-Alert.displayName = "Alert";
-
-const AlertTitle = React.forwardRef<HTMLParagraphElement, React.HTMLAttributes<HTMLHeadingElement>>(
- ({ className, ...props }, ref) => (
- <h5 ref={ref} className={cn(alertTitle, className)} {...props} />
- ),
-);
-AlertTitle.displayName = "AlertTitle";
-
-const AlertDescription = React.forwardRef<HTMLParagraphElement, React.HTMLAttributes<HTMLParagraphElement>>(
- ({ className, ...props }, ref) => (
- <div ref={ref} className={cn(alertDescription, className)} {...props} />
- ),
-);
-AlertDescription.displayName = "AlertDescription";
-
-export { Alert, AlertTitle, AlertDescription };
diff --git a/src/components/ui/badge.tsx b/src/components/ui/badge.tsx
deleted file mode 100644
index 018ed9a..0000000
--- a/src/components/ui/badge.tsx
+++ /dev/null
@@ -1,21 +0,0 @@
-/* system/src/components/ui/badge.tsx
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-import * as React from "react";
-import { cn } from "@/lib/utils";
-import { badge } from "./ui.css";
-
-type BadgeVariants = NonNullable<Parameters<typeof badge>[0]>;
-
-export interface BadgeProps extends React.HTMLAttributes<HTMLDivElement> {
- variant?: BadgeVariants["variant"];
-}
-
-function Badge({ className, variant, ...props }: BadgeProps) {
- return <div className={cn(badge({ variant }), className)} {...props} />;
-}
-
-export { Badge, badge as badgeVariants };
diff --git a/src/components/ui/button.tsx b/src/components/ui/button.tsx
deleted file mode 100644
index 676881c..0000000
--- a/src/components/ui/button.tsx
+++ /dev/null
@@ -1,36 +0,0 @@
-/* system/src/components/ui/button.tsx
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-"use client";
-
-import * as React from "react";
-import { Slot } from "@radix-ui/react-slot";
-import { cn } from "@/lib/utils";
-import { button } from "./ui.css";
-
-type ButtonVariants = NonNullable<Parameters<typeof button>[0]>;
-
-export interface ButtonProps
- extends React.ButtonHTMLAttributes<HTMLButtonElement> {
- variant?: ButtonVariants["variant"];
- size?: ButtonVariants["size"];
- asChild?: boolean;
-}
-
-const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(
- ({ className, variant, size, asChild = false, ...props }, ref) => {
- const Comp = asChild ? Slot : "button";
- return (
- <Comp className={cn(button({
- variant,
- size
- }), className)} ref={ref} {...props} />
- );
- },
-);
-Button.displayName = "Button";
-
-export { Button, button as buttonVariants };
diff --git a/src/components/ui/card.tsx b/src/components/ui/card.tsx
deleted file mode 100644
index 725ec64..0000000
--- a/src/components/ui/card.tsx
+++ /dev/null
@@ -1,53 +0,0 @@
-/* system/src/components/ui/card.tsx
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-import * as React from "react";
-import { cn } from "@/lib/utils";
-import * as s from "./ui.css";
-
-const Card = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(
- ({ className, ...props }, ref) => (
- <div ref={ref} className={cn(s.card, className)} {...props} />
- ),
-);
-Card.displayName = "Card";
-
-const CardHeader = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(
- ({ className, ...props }, ref) => (
- <div ref={ref} className={cn(s.cardHeader, className)} {...props} />
- ),
-);
-CardHeader.displayName = "CardHeader";
-
-const CardTitle = React.forwardRef<HTMLParagraphElement, React.HTMLAttributes<HTMLHeadingElement>>(
- ({ className, ...props }, ref) => (
- <h3 ref={ref} className={cn(s.cardTitle, className)} {...props} />
- ),
-);
-CardTitle.displayName = "CardTitle";
-
-const CardDescription = React.forwardRef<HTMLParagraphElement, React.HTMLAttributes<HTMLParagraphElement>>(
- ({ className, ...props }, ref) => (
- <p ref={ref} className={cn(s.cardDescription, className)} {...props} />
- ),
-);
-CardDescription.displayName = "CardDescription";
-
-const CardContent = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(
- ({ className, ...props }, ref) => (
- <div ref={ref} className={cn(s.cardContent, className)} {...props} />
- ),
-);
-CardContent.displayName = "CardContent";
-
-const CardFooter = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(
- ({ className, ...props }, ref) => (
- <div ref={ref} className={cn(s.cardFooter, className)} {...props} />
- ),
-);
-CardFooter.displayName = "CardFooter";
-
-export { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent };
diff --git a/src/components/ui/checkbox.tsx b/src/components/ui/checkbox.tsx
deleted file mode 100644
index f82942b..0000000
--- a/src/components/ui/checkbox.tsx
+++ /dev/null
@@ -1,27 +0,0 @@
-/* system/src/components/ui/checkbox.tsx
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-"use client";
-
-import * as React from "react";
-import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
-import { Check } from "lucide-react";
-import { cn } from "@/lib/utils";
-import * as s from "./ui.css";
-
-const Checkbox = React.forwardRef<
- React.ElementRef<typeof CheckboxPrimitive.Root>,
- React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>
->(({ className, ...props }, ref) => (
- <CheckboxPrimitive.Root ref={ref} className={cn(s.checkbox, className)} {...props}>
- <CheckboxPrimitive.Indicator className={s.checkboxIndicator}>
- <Check size={16} />
- </CheckboxPrimitive.Indicator>
- </CheckboxPrimitive.Root>
-));
-Checkbox.displayName = CheckboxPrimitive.Root.displayName;
-
-export { Checkbox };
diff --git a/src/components/ui/input.tsx b/src/components/ui/input.tsx
deleted file mode 100644
index c60bf4f..0000000
--- a/src/components/ui/input.tsx
+++ /dev/null
@@ -1,18 +0,0 @@
-/* system/src/components/ui/input.tsx
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-import * as React from "react";
-import { cn } from "@/lib/utils";
-import * as s from "./ui.css";
-
-const Input = React.forwardRef<HTMLInputElement, React.ComponentProps<"input">>(
- ({ className, type, ...props }, ref) => {
- return <input type={type} className={cn(s.input, className)} ref={ref} {...props} />;
- },
-);
-Input.displayName = "Input";
-
-export { Input };
diff --git a/src/components/ui/label.tsx b/src/components/ui/label.tsx
deleted file mode 100644
index 0414c11..0000000
--- a/src/components/ui/label.tsx
+++ /dev/null
@@ -1,22 +0,0 @@
-/* system/src/components/ui/label.tsx
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-"use client";
-
-import * as React from "react";
-import * as LabelPrimitive from "@radix-ui/react-label";
-import { cn } from "@/lib/utils";
-import * as s from "./ui.css";
-
-const Label = React.forwardRef<
- React.ElementRef<typeof LabelPrimitive.Root>,
- React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root>
->(({ className, ...props }, ref) => (
- <LabelPrimitive.Root ref={ref} className={cn(s.label, className)} {...props} />
-));
-Label.displayName = LabelPrimitive.Root.displayName;
-
-export { Label };
diff --git a/src/components/ui/select.tsx b/src/components/ui/select.tsx
deleted file mode 100644
index ac61411..0000000
--- a/src/components/ui/select.tsx
+++ /dev/null
@@ -1,132 +0,0 @@
-/* system/src/components/ui/select.tsx
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-"use client";
-
-import * as React from "react";
-import * as SelectPrimitive from "@radix-ui/react-select";
-import {
- Check,
- ChevronDown,
- ChevronUp,
-} from "lucide-react";
-import { cn } from "@/lib/utils";
-import * as s from "./ui.css";
-
-const Select = SelectPrimitive.Root;
-
-const SelectGroup = SelectPrimitive.Group;
-
-const SelectValue = SelectPrimitive.Value;
-
-const SelectTrigger = React.forwardRef<
- React.ElementRef<typeof SelectPrimitive.Trigger>,
- React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>
->(({ className, children, ...props }, ref) => (
- <SelectPrimitive.Trigger ref={ref} className={cn(s.selectTrigger, className)} {...props}>
- {children}
- <SelectPrimitive.Icon asChild>
- <ChevronDown className={s.selectIcon} />
- </SelectPrimitive.Icon>
- </SelectPrimitive.Trigger>
-));
-SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
-
-const SelectScrollUpButton = React.forwardRef<
- React.ElementRef<typeof SelectPrimitive.ScrollUpButton>,
- React.ComponentPropsWithoutRef<typeof SelectPrimitive.ScrollUpButton>
->(({ className, ...props }, ref) => (
- <SelectPrimitive.ScrollUpButton
- ref={ref}
- className={cn(s.selectScrollButton, className)}
- {...props}
- >
- <ChevronUp size={16} />
- </SelectPrimitive.ScrollUpButton>
-));
-SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
-
-const SelectScrollDownButton = React.forwardRef<
- React.ElementRef<typeof SelectPrimitive.ScrollDownButton>,
- React.ComponentPropsWithoutRef<typeof SelectPrimitive.ScrollDownButton>
->(({ className, ...props }, ref) => (
- <SelectPrimitive.ScrollDownButton
- ref={ref}
- className={cn(s.selectScrollButton, className)}
- {...props}
- >
- <ChevronDown size={16} />
- </SelectPrimitive.ScrollDownButton>
-));
-SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
-
-const SelectContent = React.forwardRef<
- React.ElementRef<typeof SelectPrimitive.Content>,
- React.ComponentPropsWithoutRef<typeof SelectPrimitive.Content>
->(({ className, children, position = "popper", ...props }, ref) => (
- <SelectPrimitive.Portal>
- <SelectPrimitive.Content
- ref={ref}
- className={cn(s.selectContent, className)}
- position={position}
- {...props}
- >
- <SelectScrollUpButton />
- <SelectPrimitive.Viewport
- className={cn(s.selectViewport, position === "popper" && s.selectViewportPopper)}
- >
- {children}
- </SelectPrimitive.Viewport>
- <SelectScrollDownButton />
- </SelectPrimitive.Content>
- </SelectPrimitive.Portal>
-));
-SelectContent.displayName = SelectPrimitive.Content.displayName;
-
-const SelectLabel = React.forwardRef<
- React.ElementRef<typeof SelectPrimitive.Label>,
- React.ComponentPropsWithoutRef<typeof SelectPrimitive.Label>
->(({ className, ...props }, ref) => (
- <SelectPrimitive.Label ref={ref} className={cn(s.selectLabel, className)} {...props} />
-));
-SelectLabel.displayName = SelectPrimitive.Label.displayName;
-
-const SelectItem = React.forwardRef<
- React.ElementRef<typeof SelectPrimitive.Item>,
- React.ComponentPropsWithoutRef<typeof SelectPrimitive.Item>
->(({ className, children, ...props }, ref) => (
- <SelectPrimitive.Item ref={ref} className={cn(s.selectItem, className)} {...props}>
- <span className={s.selectItemIndicator}>
- <SelectPrimitive.ItemIndicator>
- <Check size={16} />
- </SelectPrimitive.ItemIndicator>
- </span>
-
- <SelectPrimitive.ItemText>{children}</SelectPrimitive.ItemText>
- </SelectPrimitive.Item>
-));
-SelectItem.displayName = SelectPrimitive.Item.displayName;
-
-const SelectSeparator = React.forwardRef<
- React.ElementRef<typeof SelectPrimitive.Separator>,
- React.ComponentPropsWithoutRef<typeof SelectPrimitive.Separator>
->(({ className, ...props }, ref) => (
- <SelectPrimitive.Separator ref={ref} className={cn(s.selectSeparator, className)} {...props} />
-));
-SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
-
-export {
- Select,
- SelectGroup,
- SelectValue,
- SelectTrigger,
- SelectContent,
- SelectLabel,
- SelectItem,
- SelectSeparator,
- SelectScrollUpButton,
- SelectScrollDownButton,
-};
diff --git a/src/components/ui/separator.tsx b/src/components/ui/separator.tsx
deleted file mode 100644
index 2140fb4..0000000
--- a/src/components/ui/separator.tsx
+++ /dev/null
@@ -1,32 +0,0 @@
-/* system/src/components/ui/separator.tsx
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-"use client";
-
-import * as React from "react";
-import * as SeparatorPrimitive from "@radix-ui/react-separator";
-import { cn } from "@/lib/utils";
-import * as s from "./ui.css";
-
-const Separator = React.forwardRef<
- React.ElementRef<typeof SeparatorPrimitive.Root>,
- React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>
->(({ className, orientation = "horizontal", decorative = true, ...props }, ref) => (
- <SeparatorPrimitive.Root
- ref={ref}
- decorative={decorative}
- orientation={orientation}
- className={cn(
- s.separatorBase,
- orientation === "horizontal" ? s.separatorHorizontal : s.separatorVertical,
- className,
- )}
- {...props}
- />
-));
-Separator.displayName = SeparatorPrimitive.Root.displayName;
-
-export { Separator };
diff --git a/src/components/ui/sonner.tsx b/src/components/ui/sonner.tsx
deleted file mode 100644
index 0e8e20d..0000000
--- a/src/components/ui/sonner.tsx
+++ /dev/null
@@ -1,40 +0,0 @@
-/* system/src/components/ui/sonner.tsx
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-"use client";
-
-import { useEffect, useState } from "react";
-import { Toaster as Sonner, toast } from "sonner";
-
-type ToasterProps = React.ComponentProps<typeof Sonner>;
-
-const Toaster = ({ ...props }: ToasterProps) => {
- const [flavor, setFlavor] = useState("cherry");
-
- useEffect(() => {
- setFlavor(document.documentElement.getAttribute("data-flavor") ?? "cherry");
- const onChange = (e: Event) =>
- setFlavor((e as CustomEvent<{ theme: string }>).detail.theme);
- document.addEventListener("themeChanged", onChange);
- return () => document.removeEventListener("themeChanged", onChange);
- }, []);
-
- return (
- <Sonner
- theme={flavor === "latte" ? "light" : "dark"}
- style={
- {
- "--normal-bg": "var(--bg)",
- "--normal-text": "var(--text)",
- "--normal-border": "var(--surface)",
- } as React.CSSProperties
- }
- {...props}
- />
- );
-};
-
-export { Toaster, toast };
diff --git a/src/components/ui/toast.tsx b/src/components/ui/toast.tsx
deleted file mode 100644
index 5069283..0000000
--- a/src/components/ui/toast.tsx
+++ /dev/null
@@ -1,92 +0,0 @@
-/* system/src/components/ui/toast.tsx
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-"use client";
-
-import * as React from "react";
-import * as ToastPrimitives from "@radix-ui/react-toast";
-import { X } from "lucide-react";
-import { cn } from "@/lib/utils";
-import * as s from "./ui.css";
-
-const ToastProvider = ToastPrimitives.Provider;
-
-const ToastViewport = React.forwardRef<
- React.ElementRef<typeof ToastPrimitives.Viewport>,
- React.ComponentPropsWithoutRef<typeof ToastPrimitives.Viewport>
->(({ className, ...props }, ref) => (
- <ToastPrimitives.Viewport ref={ref} className={cn(s.toastViewport, className)} {...props} />
-));
-ToastViewport.displayName = ToastPrimitives.Viewport.displayName;
-
-type ToastRootVariants = NonNullable<Parameters<typeof s.toastRoot>[0]>;
-
-const Toast = React.forwardRef<
- React.ElementRef<typeof ToastPrimitives.Root>,
- React.ComponentPropsWithoutRef<typeof ToastPrimitives.Root> & {
- variant?: ToastRootVariants["variant"];
- }
->(({ className, variant, ...props }, ref) => {
- return (
- <ToastPrimitives.Root ref={ref} className={cn(s.toastRoot({ variant }), className)} {...props} />
- );
-});
-Toast.displayName = ToastPrimitives.Root.displayName;
-
-const ToastAction = React.forwardRef<
- React.ElementRef<typeof ToastPrimitives.Action>,
- React.ComponentPropsWithoutRef<typeof ToastPrimitives.Action>
->(({ className, ...props }, ref) => (
- <ToastPrimitives.Action ref={ref} className={cn(s.toastAction, className)} {...props} />
-));
-ToastAction.displayName = ToastPrimitives.Action.displayName;
-
-const ToastClose = React.forwardRef<
- React.ElementRef<typeof ToastPrimitives.Close>,
- React.ComponentPropsWithoutRef<typeof ToastPrimitives.Close>
->(({ className, ...props }, ref) => (
- <ToastPrimitives.Close
- ref={ref}
- className={cn(s.toastClose, className)}
- toast-close=""
- {...props}
- >
- <X size={16} />
- </ToastPrimitives.Close>
-));
-ToastClose.displayName = ToastPrimitives.Close.displayName;
-
-const ToastTitle = React.forwardRef<
- React.ElementRef<typeof ToastPrimitives.Title>,
- React.ComponentPropsWithoutRef<typeof ToastPrimitives.Title>
->(({ className, ...props }, ref) => (
- <ToastPrimitives.Title ref={ref} className={cn(s.toastTitle, className)} {...props} />
-));
-ToastTitle.displayName = ToastPrimitives.Title.displayName;
-
-const ToastDescription = React.forwardRef<
- React.ElementRef<typeof ToastPrimitives.Description>,
- React.ComponentPropsWithoutRef<typeof ToastPrimitives.Description>
->(({ className, ...props }, ref) => (
- <ToastPrimitives.Description ref={ref} className={cn(s.toastDescription, className)} {...props} />
-));
-ToastDescription.displayName = ToastPrimitives.Description.displayName;
-
-type ToastProps = React.ComponentPropsWithoutRef<typeof Toast>;
-
-type ToastActionElement = React.ReactElement<typeof ToastAction>;
-
-export {
- type ToastProps,
- type ToastActionElement,
- ToastProvider,
- ToastViewport,
- Toast,
- ToastTitle,
- ToastDescription,
- ToastClose,
- ToastAction,
-};
diff --git a/src/components/ui/toaster.tsx b/src/components/ui/toaster.tsx
deleted file mode 100644
index 3c02f09..0000000
--- a/src/components/ui/toaster.tsx
+++ /dev/null
@@ -1,40 +0,0 @@
-/* system/src/components/ui/toaster.tsx
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-"use client";
-
-import { useToast } from "@/lib/use-toast";
-import {
- Toast,
- ToastClose,
- ToastDescription,
- ToastProvider,
- ToastTitle,
- ToastViewport,
-} from "@/components/ui/toast";
-import { toastContentGrid } from "./ui.css";
-
-export function Toaster() {
- const { toasts } = useToast();
-
- return (
- <ToastProvider>
- {toasts.map(function({ id, title, description, action, ...props }) {
- return (
- <Toast key={id} {...props}>
- <div className={toastContentGrid}>
- {title && <ToastTitle>{title}</ToastTitle>}
- {description && <ToastDescription>{description}</ToastDescription>}
- </div>
- {action}
- <ToastClose />
- </Toast>
- );
- })}
- <ToastViewport />
- </ToastProvider>
- );
-}
diff --git a/src/components/ui/tooltip.tsx b/src/components/ui/tooltip.tsx
deleted file mode 100644
index d3a8388..0000000
--- a/src/components/ui/tooltip.tsx
+++ /dev/null
@@ -1,33 +0,0 @@
-/* system/src/components/ui/tooltip.tsx
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-"use client";
-
-import * as React from "react";
-import * as TooltipPrimitive from "@radix-ui/react-tooltip";
-import { cn } from "@/lib/utils";
-import * as s from "./ui.css";
-
-const TooltipProvider = TooltipPrimitive.Provider;
-
-const Tooltip = TooltipPrimitive.Root;
-
-const TooltipTrigger = TooltipPrimitive.Trigger;
-
-const TooltipContent = React.forwardRef<
- React.ElementRef<typeof TooltipPrimitive.Content>,
- React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>
->(({ className, sideOffset = 4, ...props }, ref) => (
- <TooltipPrimitive.Content
- ref={ref}
- sideOffset={sideOffset}
- className={cn(s.tooltipContent, className)}
- {...props}
- />
-));
-TooltipContent.displayName = TooltipPrimitive.Content.displayName;
-
-export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };
diff --git a/src/components/ui/ui.css.ts b/src/components/ui/ui.css.ts
deleted file mode 100644
index e058fa5..0000000
--- a/src/components/ui/ui.css.ts
+++ /dev/null
@@ -1,678 +0,0 @@
-/* system/src/components/ui/ui.css.ts
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- *
- * vanilla-extract styles for the UI component library (formerly shadcn/ui
- * Tailwind classes). Variants are expressed with @vanilla-extract/recipes.
- */
-
-import { globalStyle, keyframes, style } from "@vanilla-extract/css";
-import { recipe } from "@vanilla-extract/recipes";
-import { vars } from "@/styles/theme.css";
-
-const mix = (color: string, pct: number) =>
- `color-mix(in srgb, ${color} ${pct}%, transparent)`;
-
-/* Shared animations (replacing tailwindcss-animate) */
-const fadeZoomIn = keyframes({
- from: {
- opacity: 0,
- transform: "scale(0.95)"
- },
- to: {
- opacity: 1,
- transform: "scale(1)"
- },
-});
-const fadeZoomOut = keyframes({
- from: {
- opacity: 1,
- transform: "scale(1)"
- },
- to: {
- opacity: 0,
- transform: "scale(0.95)"
- },
-});
-
-/* ============================================================================
- BUTTON
- ============================================================================ */
-export const button = recipe({
- base: {
- display: "inline-flex",
- alignItems: "center",
- justifyContent: "center",
- gap: "0.5rem",
- whiteSpace: "nowrap",
- borderRadius: "999px",
- fontSize: "0.85rem",
- lineHeight: "1.25rem",
- fontWeight: 500,
- textDecoration: "none",
- transition: "color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease",
- cursor: "pointer",
- border: `1px solid ${vars.line}`,
- selectors: {
- "&:focus-visible": {
- outline: "none",
- boxShadow: `0 0 0 4px ${vars.accentDim}`,
- },
- "&:disabled": {
- pointerEvents: "none",
- opacity: 0.5,
- },
- },
- },
- variants: {
- variant: {
- /* Pills, as in the inbox app: accent-filled primary, raised hairline
- pills that pick up an accent ring on hover for the rest. */
- default: {
- backgroundColor: vars.accent,
- borderColor: vars.accent,
- color: "#fff",
- fontWeight: 600,
- ":hover": { filter: "brightness(1.12)" },
- },
- destructive: {
- backgroundColor: vars.surface,
- color: vars.danger,
- borderColor: "rgb(255 92 122 / 40%)",
- ":hover": {
- borderColor: vars.danger,
- boxShadow: "0 0 0 4px rgb(255 92 122 / 14%)",
- },
- },
- outline: {
- backgroundColor: vars.surface,
- color: vars.text,
- ":hover": {
- borderColor: vars.accentLine,
- boxShadow: `0 0 0 4px ${vars.accentDim}`,
- },
- },
- secondary: {
- backgroundColor: vars.surface,
- color: vars.text,
- ":hover": {
- borderColor: vars.accentLine,
- boxShadow: `0 0 0 4px ${vars.accentDim}`,
- },
- },
- ghost: {
- backgroundColor: "transparent",
- borderColor: "transparent",
- color: vars.textSoft,
- ":hover": {
- backgroundColor: vars.surfaceHi,
- color: vars.text,
- },
- },
- link: {
- backgroundColor: "transparent",
- borderColor: "transparent",
- color: vars.accent,
- fontWeight: 600,
- textUnderlineOffset: "4px",
- ":hover": { textDecoration: "underline" },
- },
- },
- size: {
- default: {
- height: "2.5rem",
- padding: "0.45rem 0.95rem"
- },
- sm: {
- height: "2.25rem",
- padding: "0 0.75rem"
- },
- lg: {
- height: "2.75rem",
- padding: "0 1.5rem"
- },
- icon: {
- height: "2.5rem",
- width: "2.5rem",
- padding: 0
- },
- },
- },
- defaultVariants: {
- variant: "default",
- size: "default",
- },
-});
-
-/* ============================================================================
- CARD
- ============================================================================ */
-/* Cards: the site's raised tiles — translucent, hairline, rounded. */
-export const card = style({
- borderRadius: vars.radius,
- border: `1px solid ${vars.line}`,
- backgroundColor: vars.bgRaised,
- color: vars.text,
-});
-
-export const cardHeader = style({
- display: "flex",
- flexDirection: "column",
- gap: "0.375rem",
- padding: "1.5rem",
-});
-
-export const cardTitle = style({
- fontSize: "1.5rem",
- fontWeight: 600,
- lineHeight: 1,
- letterSpacing: "-0.025em",
-});
-
-export const cardDescription = style({
- fontSize: "0.875rem",
- color: vars.textMuted,
-});
-
-export const cardContent = style({
- padding: "1.5rem",
- paddingTop: 0,
-});
-
-export const cardFooter = style({
- display: "flex",
- alignItems: "center",
- padding: "1.5rem",
- paddingTop: 0,
-});
-
-/* ============================================================================
- INPUT
- ============================================================================ */
-export const input = style({
- display: "flex",
- height: "2.5rem",
- width: "100%",
- borderRadius: vars.radiusSm,
- border: `1px solid ${vars.line}`,
- backgroundColor: "rgb(0 0 0 / 25%)",
- padding: "0.55rem 0.75rem",
- fontSize: "1rem",
- color: vars.text,
- transition: "border-color 0.15s ease, box-shadow 0.15s ease",
- "::placeholder": {
- color: vars.textDim,
- },
- selectors: {
- "&:focus-visible": {
- outline: "none",
- borderColor: vars.accentLine,
- boxShadow: `0 0 0 4px ${vars.accentDim}`,
- },
- "&:disabled": {
- cursor: "not-allowed",
- opacity: 0.5,
- },
- },
- "@media": {
- "screen and (min-width: 768px)": { fontSize: "0.875rem" },
- },
-});
-
-/* ============================================================================
- LABEL
- ============================================================================ */
-export const label = style({
- fontSize: "0.875rem",
- fontWeight: 500,
- lineHeight: 1,
-});
-
-/* ============================================================================
- BADGE
- ============================================================================ */
-export const badge = recipe({
- base: {
- display: "inline-flex",
- alignItems: "center",
- borderRadius: "999px",
- border: "1px solid transparent",
- padding: "0.125rem 0.625rem",
- fontSize: "0.6875rem",
- fontWeight: 700,
- textTransform: "uppercase",
- letterSpacing: "0.03em",
- transition: "colors 0.15s ease",
- },
- variants: {
- variant: {
- default: {
- backgroundColor: vars.accent,
- color: vars.bgDeep,
- },
- secondary: {
- backgroundColor: "transparent",
- border: `1px solid ${vars.surfaceHigher}`,
- color: vars.textSoft,
- },
- destructive: {
- backgroundColor: "transparent",
- border: `1px solid ${vars.danger}`,
- color: vars.danger,
- },
- outline: {
- color: vars.text,
- borderColor: vars.surfaceHigher,
- backgroundColor: "transparent",
- },
- },
- },
- defaultVariants: { variant: "default" },
-});
-
-/* ============================================================================
- ALERT
- ============================================================================ */
-export const alert = recipe({
- base: {
- position: "relative",
- width: "100%",
- borderRadius: vars.radiusSm,
- border: `1px solid ${vars.surfaceHigher}`,
- padding: "1rem",
- },
- variants: {
- variant: {
- default: {
- backgroundColor: vars.surface,
- color: vars.text,
- },
- destructive: {
- borderColor: vars.danger,
- backgroundColor: "rgba(209, 95, 140, 0.08)",
- color: vars.danger,
- },
- },
- },
- defaultVariants: { variant: "default" },
-});
-
-export const alertTitle = style({
- marginBottom: "0.25rem",
- fontWeight: 500,
- lineHeight: 1,
- letterSpacing: "-0.025em",
-});
-
-export const alertDescription = style({
- fontSize: "0.875rem",
-});
-
-globalStyle(`${alertDescription} p`, { lineHeight: 1.625 });
-
-/* ============================================================================
- SEPARATOR
- ============================================================================ */
-export const separatorBase = style({
- flexShrink: 0,
- backgroundColor: vars.surface,
-});
-
-export const separatorHorizontal = style({
- height: "1px",
- width: "100%"
-});
-export const separatorVertical = style({
- height: "100%",
- width: "1px"
-});
-
-/* ============================================================================
- CHECKBOX
- ============================================================================ */
-export const checkbox = style({
- height: "1rem",
- width: "1rem",
- flexShrink: 0,
- borderRadius: vars.radiusSm,
- border: `1px solid ${vars.accent}`,
- backgroundColor: "transparent",
- cursor: "pointer",
- selectors: {
- '&[data-state="checked"]': {
- backgroundColor: vars.accent,
- color: vars.bg,
- },
- "&:focus-visible": {
- outline: "none",
- boxShadow: `0 0 0 4px ${vars.accentDim}`,
- },
- "&:disabled": {
- cursor: "not-allowed",
- opacity: 0.5,
- },
- },
-});
-
-export const checkboxIndicator = style({
- display: "flex",
- alignItems: "center",
- justifyContent: "center",
- color: "currentColor",
-});
-
-/* ============================================================================
- TOOLTIP
- ============================================================================ */
-export const tooltipContent = style({
- zIndex: 50,
- overflow: "hidden",
- borderRadius: vars.radiusSm,
- border: `1px solid ${vars.surfaceHigher}`,
- backgroundColor: vars.bgDeep,
- padding: "0.375rem 0.75rem",
- fontSize: "0.8125rem",
- color: vars.text,
- animation: `${fadeZoomIn} 0.15s ease`,
- selectors: {
- '&[data-state="closed"]': {
- animation: `${fadeZoomOut} 0.15s ease`,
- },
- },
-});
-
-/* ============================================================================
- SELECT
- ============================================================================ */
-export const selectTrigger = style({
- display: "flex",
- height: "2.5rem",
- width: "100%",
- alignItems: "center",
- justifyContent: "space-between",
- borderRadius: vars.radiusSm,
- border: `1px solid ${vars.surfaceHigher}`,
- backgroundColor: vars.surface,
- color: vars.text,
- padding: "0.5rem 0.75rem",
- fontSize: "0.875rem",
- cursor: "pointer",
- selectors: {
- "&:focus": {
- outline: "none",
- boxShadow: `0 0 0 4px ${vars.accentDim}`,
- },
- "&:disabled": {
- cursor: "not-allowed",
- opacity: 0.5,
- },
- },
-});
-
-globalStyle(`${selectTrigger} > span`, {
- overflow: "hidden",
- textOverflow: "ellipsis",
- whiteSpace: "nowrap",
-});
-
-export const selectIcon = style({
- height: "1rem",
- width: "1rem",
- opacity: 0.5,
-});
-
-export const selectScrollButton = style({
- display: "flex",
- cursor: "default",
- alignItems: "center",
- justifyContent: "center",
- padding: "0.25rem 0",
-});
-
-export const selectContent = style({
- position: "relative",
- zIndex: 50,
- maxHeight: "24rem",
- minWidth: "8rem",
- overflow: "hidden",
- borderRadius: vars.radiusSm,
- border: `1px solid ${vars.line}`,
- backgroundColor: vars.panel,
- backdropFilter: "blur(16px)",
- WebkitBackdropFilter: "blur(16px)",
- color: vars.text,
- animation: `${fadeZoomIn} 0.15s ease`,
- selectors: {
- '&[data-state="closed"]': {
- animation: `${fadeZoomOut} 0.15s ease`,
- },
- '&[data-side="bottom"]': { transform: "translateY(0.25rem)" },
- '&[data-side="top"]': { transform: "translateY(-0.25rem)" },
- },
-});
-
-export const selectViewport = style({
- padding: "0.25rem",
-});
-
-export const selectViewportPopper = style({
- height: "var(--radix-select-trigger-height)",
- width: "100%",
- minWidth: "var(--radix-select-trigger-width)",
-});
-
-export const selectLabel = style({
- padding: "0.375rem 0.5rem 0.375rem 2rem",
- fontSize: "0.875rem",
- fontWeight: 600,
-});
-
-export const selectItem = style({
- position: "relative",
- display: "flex",
- width: "100%",
- cursor: "default",
- userSelect: "none",
- alignItems: "center",
- borderRadius: vars.radiusSm,
- padding: "0.375rem 0.5rem 0.375rem 2rem",
- fontSize: "0.875rem",
- outline: "none",
- selectors: {
- "&[data-disabled]": {
- pointerEvents: "none",
- opacity: 0.5,
- },
- "&:focus": {
- backgroundColor: vars.accent,
- color: vars.bg,
- },
- },
-});
-
-export const selectItemIndicator = style({
- position: "absolute",
- left: "0.5rem",
- display: "flex",
- height: "0.875rem",
- width: "0.875rem",
- alignItems: "center",
- justifyContent: "center",
-});
-
-export const selectSeparator = style({
- margin: "0.25rem -0.25rem",
- height: "1px",
- backgroundColor: vars.surface,
-});
-
-/* ============================================================================
- TOAST (Radix)
- ============================================================================ */
-const slideInFromTop = keyframes({
- from: { transform: "translateY(-100%)" },
- to: { transform: "translateY(0)" },
-});
-const slideInFromBottom = keyframes({
- from: { transform: "translateY(100%)" },
- to: { transform: "translateY(0)" },
-});
-const slideOutToRight = keyframes({
- from: {
- transform: "translateX(0)",
- opacity: 1
- },
- to: {
- transform: "translateX(100%)",
- opacity: 0
- },
-});
-
-export const toastViewport = style({
- position: "fixed",
- top: 0,
- zIndex: 100,
- display: "flex",
- maxHeight: "100vh",
- width: "100%",
- flexDirection: "column-reverse",
- padding: "1rem",
- "@media": {
- "screen and (min-width: 640px)": {
- bottom: 0,
- right: 0,
- top: "auto",
- flexDirection: "column",
- },
- "screen and (min-width: 768px)": {
- maxWidth: "420px",
- },
- },
-});
-
-export const toastRoot = recipe({
- base: {
- pointerEvents: "auto",
- position: "relative",
- display: "flex",
- width: "100%",
- alignItems: "center",
- justifyContent: "space-between",
- gap: "1rem",
- overflow: "hidden",
- borderRadius: vars.radiusSm,
- border: `1px solid ${vars.surfaceHigher}`,
- padding: "1.5rem",
- paddingRight: "2rem",
- transition: "all 0.2s ease",
- selectors: {
- '&[data-swipe="cancel"]': { transform: "translateX(0)" },
- '&[data-swipe="end"]': {
- transform: "translateX(var(--radix-toast-swipe-end-x))",
- animation: `${slideOutToRight} 0.15s ease forwards`,
- },
- '&[data-swipe="move"]': {
- transform: "translateX(var(--radix-toast-swipe-move-x))",
- transition: "none",
- },
- '&[data-state="open"]': {
- animation: `${slideInFromTop} 0.2s ease`,
- },
- '&[data-state="closed"]': {
- animation: `${slideOutToRight} 0.2s ease forwards`,
- },
- },
- "@media": {
- "screen and (min-width: 640px)": {
- selectors: {
- '&[data-state="open"]': {
- animation: `${slideInFromBottom} 0.2s ease`,
- },
- },
- },
- },
- },
- variants: {
- variant: {
- default: {
- backgroundColor: vars.bg,
- color: vars.text,
- },
- destructive: {
- borderColor: vars.danger,
- backgroundColor: vars.danger,
- color: vars.bg,
- },
- },
- },
- defaultVariants: { variant: "default" },
-});
-
-export const toastAction = style({
- display: "inline-flex",
- height: "2rem",
- flexShrink: 0,
- alignItems: "center",
- justifyContent: "center",
- borderRadius: vars.radiusSm,
- border: `1px solid ${vars.surfaceHigher}`,
- backgroundColor: "transparent",
- padding: "0 0.75rem",
- fontSize: "0.875rem",
- fontWeight: 500,
- cursor: "pointer",
- transition: "colors 0.15s ease",
- ":hover": { backgroundColor: vars.surface },
- selectors: {
- "&:focus": {
- outline: "none",
- boxShadow: `0 0 0 2px ${vars.accent}`,
- },
- "&:disabled": {
- pointerEvents: "none",
- opacity: 0.5
- },
- },
-});
-
-export const toastClose = style({
- position: "absolute",
- right: "0.5rem",
- top: "0.5rem",
- borderRadius: vars.radiusSm,
- padding: "0.25rem",
- color: mix(vars.text, 50),
- opacity: 0,
- transition: "opacity 0.15s ease",
- background: "transparent",
- border: "none",
- cursor: "pointer",
- ":hover": { color: vars.text },
- selectors: {
- "&:focus": {
- opacity: 1,
- outline: "none",
- boxShadow: `0 0 0 2px ${vars.accent}`
- },
- },
-});
-
-globalStyle(`${toastRoot.classNames.base}:hover ${toastClose}`, {
- opacity: 1,
-});
-
-export const toastTitle = style({
- fontSize: "0.875rem",
- fontWeight: 600,
-});
-
-export const toastDescription = style({
- fontSize: "0.875rem",
- opacity: 0.9,
-});
-
-export const toastContentGrid = style({
- display: "grid",
- gap: "0.25rem",
-});
diff --git a/src/hooks.client.ts b/src/hooks.client.ts
new file mode 100644
index 0000000..8b49fdb
--- /dev/null
+++ b/src/hooks.client.ts
@@ -0,0 +1,8 @@
+/* src/hooks.client.ts
+ * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ * Licensed under the DASL-1.0 Licence.
+ * See LICENCE.md in the project root for full licence information.
+ */
+
+// Registers <iconsax-icon>. Client-only: the package extends HTMLElement, which doesn't exist during SSR
+import "iconsax";
diff --git a/src/lib/api.ts b/src/lib/api.ts
new file mode 100644
index 0000000..8f2aaee
--- /dev/null
+++ b/src/lib/api.ts
@@ -0,0 +1,66 @@
+/* src/lib/api.ts
+ * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ * Licensed under the DASL-1.0 Licence.
+ * See LICENCE.md in the project root for full licence information.
+ */
+
+import { DoughminationClient } from "doughmination-api/server";
+
+const TOKEN_KEY = "token";
+
+/** The API's JWT from the last SSO sign-in, kept where it always was */
+export function readToken(): string | null {
+ if (typeof localStorage === "undefined") return null;
+ try {
+ return localStorage.getItem(TOKEN_KEY);
+ } catch {
+ return null;
+ }
+}
+
+export function writeToken(token: string | null) {
+ try {
+ if (token) localStorage.setItem(TOKEN_KEY, token);
+ else localStorage.removeItem(TOKEN_KEY);
+ } catch {
+ // Storage blocked; the session simply won't persist
+ }
+}
+
+/** A client for load functions: SvelteKit's fetch, no token */
+export function publicClient(fetcher: typeof fetch): DoughminationClient {
+ return new DoughminationClient({ fetch: fetcher });
+}
+
+/** The browser's client: every request carries the current token */
+export const client = new DoughminationClient({
+ token: () => readToken(),
+});
+
+function apiErrorMessage(body: unknown, fallback: string): string {
+ if (body && typeof body === "object") {
+ const b = body as {
+ error?: { message?: string };
+ detail?: string;
+ message?: string;
+ };
+ return b.error?.message || b.detail || b.message || fallback;
+ }
+ return fallback;
+}
+
+/** For the endpoints the client has no method for. Throws with the API's own message */
+export async function authFetch<T = unknown>(path: string, init: RequestInit = {}, fallback = "Request failed"): Promise<T> {
+ const token = readToken();
+ const headers = new Headers(init.headers);
+ if (token) headers.set("Authorization", `Bearer ${token}`);
+ if (init.body && !headers.has("Content-Type")) headers.set("Content-Type", "application/json");
+
+ const response = await fetch(`${client.baseUrl}${path}`, {
+ ...init,
+ headers,
+ });
+ const body = await response.json().catch(() => null);
+ if (!response.ok) throw new Error(apiErrorMessage(body, fallback));
+ return body as T;
+}
diff --git a/src/lib/auth.svelte.ts b/src/lib/auth.svelte.ts
new file mode 100644
index 0000000..182119d
--- /dev/null
+++ b/src/lib/auth.svelte.ts
@@ -0,0 +1,67 @@
+/* src/lib/auth.svelte.ts
+ * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ * Licensed under the DASL-1.0 Licence.
+ * See LICENCE.md in the project root for full licence information.
+ */
+
+import type { UserResponse } from "doughmination-api/server";
+import { client, readToken, writeToken } from "./api.ts";
+
+// Who is signed in, shared by every page. Filled on the client only: the token lives in localStorage
+class Auth {
+ token = $state<string | null>(null);
+ user = $state<UserResponse | null>(null);
+ ready = $state(false);
+
+ // mock-* tokens are for local development, as before
+ isMock = $derived(this.token?.startsWith("mock-") ?? false);
+ signedIn = $derived(this.isMock ? true : this.user !== null);
+ isOwner = $derived(this.isMock ? this.token === "mock-owner" : Boolean(this.user?.is_owner));
+ isAdmin = $derived(this.isMock ? this.token === "mock-admin" : Boolean(this.user?.is_admin));
+ isPet = $derived(this.isMock ? this.token === "mock-pet" : Boolean(this.user?.is_pet));
+ displayName = $derived(this.isMock ? "Mock User" : this.user?.display_name || this.user?.username || "");
+
+ async load() {
+ this.token = readToken();
+ if (this.token && !this.isMock) await this.refresh();
+ this.ready = true;
+ }
+
+ async refresh() {
+ try {
+ this.user = await client.getUserInfo();
+ } catch {
+ this.user = null;
+ }
+ }
+
+ signIn(token: string) {
+ writeToken(token);
+ this.token = token;
+ this.ready = false;
+ void this.load();
+ }
+
+ /** Ends the API session too, and returns the SSO's logout page when there is one */
+ async signOut(): Promise<string | null> {
+ const current = this.token;
+ writeToken(null);
+ this.token = null;
+ this.user = null;
+ if (!current || this.isMock) return null;
+
+ try {
+ const response = await fetch(`${client.baseUrl}/plural/auth/logout`, {
+ method: "POST",
+ headers: { Authorization: `Bearer ${current}` },
+ });
+ const data = (await response.json()) as { end_session_url?: string | null };
+ return data.end_session_url ?? null;
+ } catch {
+ // Offline or the API is down; the local sign-out still stands
+ return null;
+ }
+ }
+}
+
+export const auth = new Auth();
diff --git a/src/lib/utils.ts b/src/lib/colour.ts
similarity index 94%
rename from src/lib/utils.ts
rename to src/lib/colour.ts
index 4423155..13a28cb 100644
--- a/src/lib/utils.ts
+++ b/src/lib/colour.ts
@@ -1,16 +1,9 @@
-/* system/src/lib/utils.ts
+/* src/lib/colour.ts
* Copyright (c) 2026 Clove Nytrix Doughmination Twilight
* Licensed under the DASL-1.0 Licence.
* See LICENCE.md in the project root for full licence information.
*/
-import { clsx, type ClassValue } from "clsx";
-
-// tailwind-merge is no longer needed — styles are vanilla-extract classes now.
-export function cn(...inputs: ClassValue[]) {
- return clsx(inputs);
-}
-
/* ============================================================================
MEMBER COLOURS
============================================================================ */
diff --git a/src/lib/components/Footer.svelte b/src/lib/components/Footer.svelte
new file mode 100644
index 0000000..4076796
--- /dev/null
+++ b/src/lib/components/Footer.svelte
@@ -0,0 +1,47 @@
+<!-- src/lib/components/Footer.svelte
+ Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ Licensed under the DASL-1.0 Licence.
+ See LICENCE.md in the project root for full licence information.
+-->
+
+<script lang="ts">
+ import "#lib/styles/footer.css";
+ import { SiGithub } from "simple-icons";
+ import { fallbackAvatar, mainSite } from "#lib";
+</script>
+
+<footer>
+ <p class="footer-line">
+ <span class="footer-brand">
+ <img src={fallbackAvatar} alt="" width="20" height="20" />
+ Doughmination System®
+ </span>
+
+ <span>
+ part of <a href={mainSite}>doughmination.gay</a>
+ <iconsax-icon name="heart" type="bulk" size="16" class="beat"></iconsax-icon>
+ </span>
+
+ <span>
+ <a href="https://github.com/doughmination/web/tree/main/system" target="_blank" rel="noopener noreferrer" class="with-icon">
+ <SiGithub size={16} />View on GitHub
+ </a>
+ </span>
+ </p>
+
+ <p class="trademark">
+ Doughmination System® is a trade mark in the United Kingdom under trademark number
+ <a
+ href="https://www.ipo.gov.uk/t-tmj.htm/t-tmj/tm-journals/2025-039/UK00004263144.html"
+ target="_blank"
+ rel="noopener noreferrer">UK00004263144</a
+ >
+ </p>
+</footer>
+
+<style>
+ .trademark {
+ margin: 0;
+ font-size: 0.75rem;
+ }
+</style>
diff --git a/src/lib/components/Header.svelte b/src/lib/components/Header.svelte
new file mode 100644
index 0000000..485ae5d
--- /dev/null
+++ b/src/lib/components/Header.svelte
@@ -0,0 +1,88 @@
+<!-- src/lib/components/Header.svelte
+ Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ Licensed under the DASL-1.0 Licence.
+ See LICENCE.md in the project root for full licence information.
+-->
+
+<script lang="ts">
+ import "#lib/styles/header.css";
+ import { goto } from "$app/navigation";
+ import { fallbackAvatar } from "#lib";
+ import { auth } from "#lib/auth.svelte.ts";
+
+ async function signOut() {
+ const endSession = await auth.signOut();
+ if (endSession) location.href = endSession;
+ else await goto("/");
+ }
+</script>
+
+<!-- Fixed-height page backdrop, so every page gets the same amount of background -->
+<div class="backdrop" aria-hidden="true"></div>
+
+<header>
+ <a class="brand" href="/">
+ <img src={fallbackAvatar} alt="" width="32" height="32" />
+ <span>Doughmination System®</span>
+ </a>
+
+ <nav>
+ {#if auth.signedIn}
+ <span class="who">Signed in as <strong>{auth.displayName}</strong></span>
+ {/if}
+ <a href="/user/metrics">
+ <iconsax-icon name="chart-2" type="bulk" size="24" class="nav-icon"></iconsax-icon>Metrics
+ </a>
+ {#if auth.signedIn}
+ {#if auth.isOwner}
+ <a href="/owner/dash">
+ <iconsax-icon name="crown" type="bulk" size="24" class="nav-icon"></iconsax-icon>Owner
+ </a>
+ {/if}
+ {#if auth.isAdmin}
+ <a href="/admin/dash">
+ <iconsax-icon name="setting-2" type="bulk" size="24" class="nav-icon"></iconsax-icon>Admin
+ </a>
+ {/if}
+ <a href="/user/profile">
+ <iconsax-icon name="user" type="bulk" size="24" class="nav-icon"></iconsax-icon>Profile
+ </a>
+ <button type="button" class="nav-button" onclick={signOut}>
+ <iconsax-icon name="logout-01" type="bulk" size="24" class="nav-icon"></iconsax-icon>Sign out
+ </button>
+ {:else if auth.ready}
+ <a href="/user/login">
+ <iconsax-icon name="login-01" type="bulk" size="24" class="nav-icon"></iconsax-icon>Sign in
+ </a>
+ {/if}
+ </nav>
+</header>
+
+<style>
+ nav {
+ flex-wrap: wrap;
+ align-items: center;
+ }
+
+ .who {
+ color: var(--muted);
+ }
+
+ .who strong {
+ color: var(--accent);
+ font-weight: 600;
+ }
+
+ /* A button that reads as one of the header's links */
+ .nav-button {
+ padding: 0;
+ border: 0;
+ background: none;
+ color: var(--muted);
+ font-size: inherit;
+ }
+
+ .nav-button:hover:not(:disabled) {
+ color: var(--text);
+ }
+</style>
diff --git a/src/lib/components/Home.svelte b/src/lib/components/Home.svelte
new file mode 100644
index 0000000..e3980d7
--- /dev/null
+++ b/src/lib/components/Home.svelte
@@ -0,0 +1,517 @@
+<!-- src/lib/components/Home.svelte
+ Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ Licensed under the DASL-1.0 Licence.
+ See LICENCE.md in the project root for full licence information.
+-->
+
+<script lang="ts">
+ import type { FrontersResponse, PluralMember, PluralSystem } from "doughmination-api/server";
+ import { replaceState } from "$app/navigation";
+ import { page } from "$app/state";
+ import { avatarFallback, fallbackAvatar, memberName, sortMembers, siteUrl } from "#lib";
+ import { normalizeColor, readableOnDark } from "#lib/colour.ts";
+ import { live } from "#lib/live.svelte.ts";
+ import PrideSwatch from "#lib/components/PrideSwatch.svelte";
+
+ let {
+ members: rawMembers,
+ fronters,
+ system,
+ }: {
+ members: PluralMember[];
+ fronters: FrontersResponse | null;
+ system: PluralSystem | null;
+ } = $props();
+
+ const MENTAL_LABELS: Record<string, string> = {
+ safe: "Safe",
+ unstable: "Unstable",
+ idealizing: "Idealizing",
+ "self-harming": "Self-Harming",
+ "highly at risk": "Highly At Risk",
+ };
+
+ const MENTAL_ICONS: Record<string, string> = {
+ safe: "tick-circle",
+ unstable: "danger",
+ idealizing: "info-circle",
+ "self-harming": "warning-2",
+ "highly at risk": "shield-cross",
+ };
+
+ let search = $state("");
+ let filtersOpen = $state(false);
+ let filtersBox = $state<HTMLDivElement>();
+
+ // Filters live in the URL, so /?tag=Genshin&identity=Transgender opens already filtered
+ let tagFilter = $state(page.url.searchParams.get("tag"));
+ let identityFilter = $state(page.url.searchParams.get("identity"));
+ const activeFilters = $derived((tagFilter ? 1 : 0) + (identityFilter ? 1 : 0));
+
+ const members = $derived(sortMembers(rawMembers));
+ const frontingNow = $derived(fronters?.members ?? []);
+ const mental = $derived(system?.mental_state ?? null);
+
+ const tags = $derived([...new Set(members.flatMap((m) => m.tags ?? []))].sort((a, b) => a.localeCompare(b)));
+ const identities = $derived(
+ [...new Set(members.flatMap((m) => m.pride ?? []))].sort((a, b) => a.localeCompare(b)),
+ );
+
+ const shown = $derived.by(() => {
+ const query = search.toLowerCase();
+ return members.filter((member) => {
+ if (query) {
+ const named = memberName(member).toLowerCase().includes(query);
+ const tagged = member.tags?.some((tag) => tag.toLowerCase().includes(query));
+ if (!named && !tagged) return false;
+ }
+ if (tagFilter === "untagged" && member.tags?.length) return false;
+ if (tagFilter && tagFilter !== "untagged" && !member.tags?.includes(tagFilter)) return false;
+ if (identityFilter && !member.pride?.includes(identityFilter)) return false;
+ return true;
+ });
+ });
+
+ function isFronting(member: PluralMember): boolean {
+ return frontingNow.some((m) => m.id === member.id || m.name === member.name);
+ }
+
+ // Keeps the address bar in step without navigating, so the page never scrolls
+ function syncUrl() {
+ const url = new URL(page.url.href);
+ url.search = "";
+ if (tagFilter) url.searchParams.set("tag", tagFilter);
+ if (identityFilter) url.searchParams.set("identity", identityFilter);
+ replaceState(url, {});
+ }
+
+ function applyFilter(kind: "tag" | "identity", value: string | null) {
+ if (kind === "tag") tagFilter = value;
+ else identityFilter = value;
+ syncUrl();
+ }
+
+ function toggleTag(tag: string) {
+ applyFilter("tag", tagFilter === tag ? null : tag);
+ }
+
+ function clearFilters() {
+ tagFilter = null;
+ identityFilter = null;
+ syncUrl();
+ }
+
+ function sortedTags(member: PluralMember): string[] {
+ return [...(member.tags ?? [])].sort((a, b) => a.localeCompare(b));
+ }
+
+ // Close the filters popover on an outside click or Escape
+ function onWindowClick(event: MouseEvent) {
+ if (filtersOpen && filtersBox && !filtersBox.contains(event.target as Node)) filtersOpen = false;
+ }
+
+ function onWindowKey(event: KeyboardEvent) {
+ if (event.key === "Escape") filtersOpen = false;
+ }
+</script>
+
+<svelte:window onmousedown={onWindowClick} onkeydown={onWindowKey} />
+
+<svelte:head>
+ <title>Doughmination System | Plural System Member Tracker & Fronting Manager</title>
+ <meta
+ name="description"
+ content="Real-time plural system tracker for the Doughmination System. View current fronters, system members, and track switching patterns."
+ />
+ <meta name="robots" content="index, follow, max-image-preview:large" />
+ <link rel="canonical" href="{siteUrl}/" />
+ <meta property="og:type" content="website" />
+ <meta property="og:title" content="Doughmination System | Plural System Tracker" />
+ <meta property="og:description" content="Real-time plural system tracker. View current fronters and members of the Doughmination System." />
+ <meta property="og:url" content="{siteUrl}/" />
+ <meta property="og:image" content={fallbackAvatar} />
+ <meta name="twitter:card" content="summary" />
+</svelte:head>
+
+<div class="page">
+ {#if live.status === "reconnecting"}
+ <p class="notice error" role="status">Live updates disconnected. Reconnecting…</p>
+ {/if}
+
+ <div class="page-head">
+ <p class="eyebrow">// system.members</p>
+ <h1>System Members</h1>
+ </div>
+
+ {#if mental}
+ <div class="mental mental-{mental.level.replaceAll(' ', '-')}">
+ <iconsax-icon name={MENTAL_ICONS[mental.level] ?? "info-circle"} type="bulk" size="32"></iconsax-icon>
+ <div>
+ <p><span class="muted">status:</span> <span class="mental-label">[ {MENTAL_LABELS[mental.level] ?? mental.level} ]</span></p>
+ {#if mental.notes}
+ <p>{mental.notes}</p>
+ {/if}
+ <small class="muted">last_updated: {new Date(mental.updated_at).toLocaleString()}</small>
+ </div>
+ </div>
+ {/if}
+
+ {#if frontingNow.length > 0}
+ <section class="panel">
+ <h2>Currently {frontingNow.length > 1 ? "Co-fronting" : "Fronting"}</h2>
+ <div class="fronting">
+ {#each frontingNow as member, index (member.id || `${member.name}-${index}`)}
+ <div class="fronter" style:--member-color={normalizeColor(member.color) ?? "var(--accent)"}>
+ <a href="/{member.name}">
+ <img
+ class="member-avatar fronter-avatar"
+ src={member.avatar_url || fallbackAvatar}
+ alt={memberName(member)}
+ loading="lazy"
+ onerror={avatarFallback}
+ />
+ </a>
+ <div class="fronter-body">
+ <a class="member-name" href="/{member.name}" style:color={readableOnDark(member.color, "var(--accent)")}>
+ {memberName(member) || "Unknown"}
+ </a>
+ {#if member.tags?.length}
+ <div class="chips">
+ {#each sortedTags(member) as tag (tag)}
+ <button type="button" class="chip" class:active={tagFilter === tag} onclick={() => toggleTag(tag)}>
+ {tag}
+ </button>
+ {/each}
+ </div>
+ {/if}
+ {#if member.status}
+ <div class="status-tag">
+ {#if member.status.emoji}<span>{member.status.emoji}</span>{/if}
+ <span>{member.status.text}</span>
+ </div>
+ {/if}
+ </div>
+ </div>
+ {/each}
+ </div>
+ </section>
+ {/if}
+
+ <div class="controls">
+ <div class="filters" bind:this={filtersBox}>
+ <button type="button" class:primary={filtersOpen} aria-expanded={filtersOpen} onclick={() => (filtersOpen = !filtersOpen)}>
+ <iconsax-icon name="filter" type="bulk" size="16"></iconsax-icon>Filters
+ {#if activeFilters > 0}<span class="badge accent">{activeFilters}</span>{/if}
+ </button>
+
+ {#if filtersOpen}
+ <div class="filters-panel panel">
+ <p class="field-label">Tag</p>
+ <div class="chips">
+ <button type="button" class="chip" class:active={tagFilter === null} onclick={() => applyFilter("tag", null)}>All</button>
+ {#each tags as tag (tag)}
+ <button type="button" class="chip" class:active={tagFilter === tag} onclick={() => toggleTag(tag)}>{tag}</button>
+ {/each}
+ <button type="button" class="chip" class:active={tagFilter === "untagged"} onclick={() => toggleTag("untagged")}>
+ Untagged
+ </button>
+ </div>
+
+ {#if identities.length > 0}
+ <p class="field-label">Identity</p>
+ <div class="chips">
+ <button type="button" class="chip" class:active={identityFilter === null} onclick={() => applyFilter("identity", null)}>
+ All
+ </button>
+ {#each identities as identity (identity)}
+ <button
+ type="button"
+ class="chip"
+ class:active={identityFilter === identity}
+ onclick={() => applyFilter("identity", identityFilter === identity ? null : identity)}
+ >
+ <PrideSwatch label={identity} />{identity}
+ </button>
+ {/each}
+ </div>
+ {/if}
+ </div>
+ {/if}
+ </div>
+
+ {#if tagFilter}
+ <span class="chip active">
+ tag: {tagFilter}
+ <button type="button" class="chip-x" aria-label="Clear tag filter" onclick={() => applyFilter("tag", null)}>✕</button>
+ </span>
+ {/if}
+ {#if identityFilter}
+ <span class="chip active">
+ identity: {identityFilter}
+ <button type="button" class="chip-x" aria-label="Clear identity filter" onclick={() => applyFilter("identity", null)}>✕</button>
+ </span>
+ {/if}
+
+ <label class="search">
+ <iconsax-icon name="search-normal" type="bulk" size="18"></iconsax-icon>
+ <input id="member-search" type="text" placeholder="Search members..." bind:value={search} />
+ {#if search}
+ <button type="button" class="chip-x" aria-label="Clear search" onclick={() => (search = "")}>✕</button>
+ {/if}
+ </label>
+ </div>
+
+ {#if shown.length > 0}
+ <div class="grid">
+ {#each shown as member (member.id)}
+ <a
+ class="member-card"
+ class:fronting-now={isFronting(member)}
+ href="/{member.name}"
+ style:--member-color={normalizeColor(member.color) ?? "var(--accent)"}
+ >
+ <img class="member-avatar card-avatar" src={member.avatar_url || fallbackAvatar} alt={memberName(member)} loading="lazy" onerror={avatarFallback} />
+ <h3 style:color={readableOnDark(member.color, "var(--text)")}>{memberName(member)}</h3>
+ {#if member.pronouns}
+ <p class="muted small">{member.pronouns}</p>
+ {/if}
+ {#if member.tags?.length}
+ <div class="chips centred">
+ {#each sortedTags(member).slice(0, 2) as tag (tag)}
+ <!-- Inside the card's link, so a span acting as a button -->
+ <span
+ role="button"
+ tabindex="0"
+ class="chip"
+ class:active={tagFilter === tag}
+ onclick={(event) => {
+ event.preventDefault();
+ event.stopPropagation();
+ toggleTag(tag);
+ }}
+ onkeydown={(event) => {
+ if (event.key !== "Enter" && event.key !== " ") return;
+ event.preventDefault();
+ event.stopPropagation();
+ toggleTag(tag);
+ }}
+ >
+ {tag}
+ </span>
+ {/each}
+ {#if member.tags.length > 2}
+ <span class="muted small">+{member.tags.length - 2}</span>
+ {/if}
+ </div>
+ {/if}
+ {#if member.status}
+ <div class="status-tag">
+ {#if member.status.emoji}<span>{member.status.emoji}</span>{/if}
+ <span>{member.status.text}</span>
+ </div>
+ {/if}
+ </a>
+ {/each}
+ </div>
+ {:else}
+ <section class="panel empty">
+ <p class="muted">
+ {search || activeFilters > 0 ? "No members found matching your criteria." : "No members available."}
+ </p>
+ <div class="buttons">
+ {#if search}
+ <button type="button" class="small" onclick={() => (search = "")}>Clear search</button>
+ {/if}
+ {#if activeFilters > 0}
+ <button type="button" class="small" onclick={clearFilters}>Clear filters</button>
+ {/if}
+ </div>
+ </section>
+ {/if}
+
+ <!-- For search engines; hidden visually -->
+ <section class="sr-only" aria-label="About Doughmination System">
+ <h2>Doughmination System® - Real-Time Plural System Tracker</h2>
+ <p>
+ Welcome to the Doughmination System®, a plural system (DID/OSDD) management platform. Track current fronters,
+ view all system members, and manage switching patterns in real-time.
+ </p>
+ </section>
+</div>
+
+<style>
+ h2 {
+ margin: 0;
+ font-size: 1.15rem;
+ }
+
+ .fronting {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 1.5rem;
+ }
+
+ .fronter {
+ display: flex;
+ gap: 1rem;
+ align-items: center;
+ }
+
+ .fronter-avatar {
+ width: 5.5rem;
+ height: 5.5rem;
+ }
+
+ .fronter-body {
+ display: flex;
+ flex-direction: column;
+ gap: 0.4rem;
+ }
+
+ .member-name {
+ font-size: 1.15rem;
+ font-weight: 600;
+ text-decoration: none;
+ }
+
+ .controls {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 0.6rem;
+ align-items: center;
+ }
+
+ .filters {
+ position: relative;
+ }
+
+ .filters-panel {
+ position: absolute;
+ top: calc(100% + 0.5rem);
+ left: 0;
+ z-index: 10;
+ width: min(30rem, 90vw);
+ background: #151319;
+ }
+
+ .field-label {
+ margin: 0;
+ color: var(--accent);
+ font-size: 0.7rem;
+ font-weight: 600;
+ letter-spacing: 0.14em;
+ text-transform: uppercase;
+ }
+
+ .chip-x {
+ padding: 0;
+ border: 0;
+ background: none;
+ color: inherit;
+ font-size: 0.75rem;
+ }
+
+ .search {
+ display: flex;
+ flex: 1 1 16rem;
+ gap: 0.5rem;
+ align-items: center;
+ padding: 0 0.75rem;
+ border: 1px solid var(--line);
+ border-radius: 0.75rem;
+ background: rgb(0 0 0 / 25%);
+ color: var(--muted);
+ }
+
+ .search input {
+ padding-inline: 0;
+ border: 0;
+ background: none;
+ }
+
+ .search input:focus-visible {
+ outline: none;
+ }
+
+ .search:focus-within {
+ border-color: var(--accent-line);
+ }
+
+ .grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
+ gap: 1rem;
+ }
+
+ .member-card {
+ display: flex;
+ flex-direction: column;
+ gap: 0.5rem;
+ align-items: center;
+ padding: 1.25rem 1rem;
+ border: 1px solid var(--line);
+ border-radius: 1rem;
+ background: var(--raised);
+ text-align: center;
+ text-decoration: none;
+ transition:
+ border-color 0.2s ease,
+ box-shadow 0.2s ease,
+ transform 0.2s ease;
+ }
+
+ .member-card:hover,
+ .member-card:focus-visible {
+ border-color: color-mix(in srgb, var(--member-color) 55%, transparent);
+ box-shadow: 0 0 0 4px color-mix(in srgb, var(--member-color) 15%, transparent);
+ transform: translateY(-2px);
+ }
+
+ /* Fronting right now: the member's colour glows */
+ .fronting-now {
+ border-color: var(--member-color);
+ box-shadow: 0 0 0 4px color-mix(in srgb, var(--member-color) 25%, transparent);
+ }
+
+ .card-avatar {
+ width: 6rem;
+ height: 6rem;
+ }
+
+ .member-card h3,
+ .member-card p {
+ margin: 0;
+ }
+
+ .member-card h3 {
+ font-size: 1rem;
+ }
+
+ .centred {
+ justify-content: center;
+ }
+
+ .member-card .status-tag {
+ max-width: 10rem;
+ }
+
+ .empty {
+ align-items: center;
+ text-align: center;
+ }
+
+ .empty p {
+ margin: 0;
+ }
+
+ @media (prefers-reduced-motion: reduce) {
+ .member-card {
+ transition: none;
+ }
+
+ .member-card:hover,
+ .member-card:focus-visible {
+ transform: none;
+ }
+ }
+</style>
diff --git a/src/lib/components/MemberSelect.svelte b/src/lib/components/MemberSelect.svelte
new file mode 100644
index 0000000..059cb23
--- /dev/null
+++ b/src/lib/components/MemberSelect.svelte
@@ -0,0 +1,39 @@
+<!-- src/lib/components/MemberSelect.svelte
+ Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ Licensed under the DASL-1.0 Licence.
+ See LICENCE.md in the project root for full licence information.
+-->
+
+<script lang="ts">
+ import type { PluralMember } from "doughmination-api/server";
+ import { memberName } from "#lib";
+
+ // A native picker keyed by member name, the identifier the admin endpoints take
+ let {
+ id,
+ label,
+ members,
+ value = $bindable(""),
+ by = "name",
+ note,
+ }: {
+ id: string;
+ label: string;
+ members: PluralMember[];
+ value?: string;
+ by?: "name" | "id";
+ note?: (member: PluralMember) => string;
+ } = $props();
+</script>
+
+<label class="field" for={id}>
+ <span>{label}</span>
+ <select {id} bind:value>
+ <option value="">Choose a member...</option>
+ {#each members as member (member.id)}
+ <option value={by === "id" ? member.id : (member.name ?? "")}>
+ {memberName(member)}{note ? note(member) : ""}
+ </option>
+ {/each}
+ </select>
+</label>
diff --git a/src/lib/components/Message.svelte b/src/lib/components/Message.svelte
new file mode 100644
index 0000000..77190d9
--- /dev/null
+++ b/src/lib/components/Message.svelte
@@ -0,0 +1,17 @@
+<!-- src/lib/components/Message.svelte
+ Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ Licensed under the DASL-1.0 Licence.
+ See LICENCE.md in the project root for full licence information.
+-->
+
+<script lang="ts">
+ import type { Message } from "#lib";
+
+ let { message }: { message: Message } = $props();
+</script>
+
+{#if message}
+ <p class="notice" class:ok={message.type === "success"} class:error={message.type === "error"} role="status">
+ {message.content}
+ </p>
+{/if}
diff --git a/src/lib/components/PageHead.svelte b/src/lib/components/PageHead.svelte
new file mode 100644
index 0000000..afdc625
--- /dev/null
+++ b/src/lib/components/PageHead.svelte
@@ -0,0 +1,47 @@
+<!-- src/lib/components/PageHead.svelte
+ Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ Licensed under the DASL-1.0 Licence.
+ See LICENCE.md in the project root for full licence information.
+-->
+
+<script lang="ts">
+ let {
+ eyebrow,
+ title,
+ subtitle = "",
+ back,
+ }: {
+ eyebrow: string;
+ title: string;
+ subtitle?: string;
+ back?: {
+ href: string;
+ label: string;
+ };
+ } = $props();
+</script>
+
+<div class="head">
+ <div class="page-head">
+ <p class="eyebrow">{eyebrow}</p>
+ <h1>{title}</h1>
+ {#if subtitle}
+ <p class="muted">{subtitle}</p>
+ {/if}
+ </div>
+ {#if back}
+ <a class="btn" href={back.href}>
+ <iconsax-icon name="arrow-left-01" type="bulk" size="16"></iconsax-icon>{back.label}
+ </a>
+ {/if}
+</div>
+
+<style>
+ .head {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 1rem;
+ align-items: flex-end;
+ justify-content: space-between;
+ }
+</style>
diff --git a/src/lib/components/PrideSwatch.svelte b/src/lib/components/PrideSwatch.svelte
new file mode 100644
index 0000000..3f9b2c8
--- /dev/null
+++ b/src/lib/components/PrideSwatch.svelte
@@ -0,0 +1,28 @@
+<!-- src/lib/components/PrideSwatch.svelte
+ Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ Licensed under the DASL-1.0 Licence.
+ See LICENCE.md in the project root for full licence information.
+-->
+
+<script lang="ts">
+ import { findPrideFlag, prideSwatchGradient } from "#lib/pride.ts";
+
+ let { label }: { label: string } = $props();
+
+ const flag = $derived(findPrideFlag(label));
+ const background = $derived(flag ? prideSwatchGradient(flag.stripes) : "var(--accent)");
+</script>
+
+<span class="swatch" style:background aria-hidden="true"></span>
+
+<style>
+ .swatch {
+ display: inline-block;
+ flex-shrink: 0;
+ width: 0.85rem;
+ height: 0.85rem;
+ border: 1px solid rgb(0 0 0 / 35%);
+ border-radius: 0.25rem;
+ vertical-align: -0.1em;
+ }
+</style>
diff --git a/src/lib/components/Protected.svelte b/src/lib/components/Protected.svelte
new file mode 100644
index 0000000..e396499
--- /dev/null
+++ b/src/lib/components/Protected.svelte
@@ -0,0 +1,64 @@
+<!-- src/lib/components/Protected.svelte
+ Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ Licensed under the DASL-1.0 Licence.
+ See LICENCE.md in the project root for full licence information.
+-->
+
+<script lang="ts">
+ import type { Snippet } from "svelte";
+ import { goto } from "$app/navigation";
+ import { page } from "$app/state";
+ import { auth } from "#lib/auth.svelte.ts";
+
+ // Owner passes every check, as before
+ let {
+ admin = false,
+ owner = false,
+ pet = false,
+ children,
+ }: {
+ admin?: boolean;
+ owner?: boolean;
+ pet?: boolean;
+ children: Snippet;
+ } = $props();
+
+ const denied = $derived.by(() => {
+ if (owner && !auth.isOwner) return "Owner";
+ if (admin && !auth.isAdmin && !auth.isOwner) return "Admin";
+ if (pet && !auth.isPet && !auth.isOwner) return "Pet";
+ return null;
+ });
+
+ $effect(() => {
+ if (auth.ready && !auth.signedIn) {
+ void goto(`/user/login?from=${encodeURIComponent(page.url.pathname)}`, { replace: true });
+ }
+ });
+</script>
+
+{#if !auth.ready}
+ <div class="page narrow"><p class="muted">Verifying access…</p></div>
+{:else if auth.signedIn && denied}
+ <div class="page narrow">
+ <section class="panel">
+ <p class="eyebrow">Restricted</p>
+ <h1>{denied} access required</h1>
+ <p class="muted">This area is restricted to {denied === "Owner" ? "system owners" : `${denied.toLowerCase()}s`} only.</p>
+ <div>
+ <button type="button" onclick={() => history.back()}>
+ <iconsax-icon name="arrow-left-01" type="bulk" size="16"></iconsax-icon>Go back
+ </button>
+ </div>
+ </section>
+ </div>
+{:else if auth.signedIn}
+ {@render children()}
+{/if}
+
+<style>
+ h1,
+ p {
+ margin: 0;
+ }
+</style>
diff --git a/src/lib/fonts/IBMPlexSans-Bold.woff2 b/src/lib/fonts/IBMPlexSans-Bold.woff2
new file mode 100644
index 0000000..486c376
Binary files /dev/null and b/src/lib/fonts/IBMPlexSans-Bold.woff2 differ
diff --git a/src/lib/fonts/IBMPlexSans-Medium.woff2 b/src/lib/fonts/IBMPlexSans-Medium.woff2
new file mode 100644
index 0000000..ce72c05
Binary files /dev/null and b/src/lib/fonts/IBMPlexSans-Medium.woff2 differ
diff --git a/src/lib/fonts/IBMPlexSans-Regular.woff2 b/src/lib/fonts/IBMPlexSans-Regular.woff2
new file mode 100644
index 0000000..136597e
Binary files /dev/null and b/src/lib/fonts/IBMPlexSans-Regular.woff2 differ
diff --git a/src/lib/fonts/IBMPlexSans-SemiBold.woff2 b/src/lib/fonts/IBMPlexSans-SemiBold.woff2
new file mode 100644
index 0000000..78cbe9a
Binary files /dev/null and b/src/lib/fonts/IBMPlexSans-SemiBold.woff2 differ
diff --git a/src/lib/index.ts b/src/lib/index.ts
new file mode 100644
index 0000000..a7e53ef
--- /dev/null
+++ b/src/lib/index.ts
@@ -0,0 +1,39 @@
+/* src/lib/index.ts
+ * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ * Licensed under the DASL-1.0 Licence.
+ * See LICENCE.md in the project root for full licence information.
+ */
+
+import type { PluralMember } from "doughmination-api/server";
+
+export const siteName = "Doughmination System";
+
+export const siteUrl = "https://doughmination.co.uk";
+
+export const fallbackAvatar = "https://raw.doughmination.gay/favicons/favicon.png";
+
+export const mainSite = "https://doughmination.gay";
+
+export function memberName(member: Pick<PluralMember, "display_name" | "name" | "id">): string {
+ return member.display_name || member.name || member.id;
+}
+
+/** A–Z by the name people see */
+export function sortMembers(members: PluralMember[]): PluralMember[] {
+ return [...members].sort((a, b) => memberName(a).toLowerCase().localeCompare(memberName(b).toLowerCase()));
+}
+
+/** Swaps a broken avatar for the site icon */
+export function avatarFallback(event: Event) {
+ const image = event.currentTarget as HTMLImageElement;
+ if (image.src !== fallbackAvatar) image.src = fallbackAvatar;
+}
+
+export type Message = {
+ type: "success" | "error";
+ content: string;
+} | null;
+
+export function errorText(err: unknown, fallback: string): string {
+ return err instanceof Error && err.message ? err.message : fallback;
+}
diff --git a/src/lib/live.svelte.ts b/src/lib/live.svelte.ts
new file mode 100644
index 0000000..5ee7a40
--- /dev/null
+++ b/src/lib/live.svelte.ts
@@ -0,0 +1,90 @@
+/* src/lib/live.svelte.ts
+ * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ * Licensed under the DASL-1.0 Licence.
+ * See LICENCE.md in the project root for full licence information.
+ */
+
+import { invalidate } from "$app/navigation";
+import { client } from "./api.ts";
+
+// The API's socket: fronters and mental state changes, and admin "reload everyone"
+const PING_MS = 30_000;
+const PONG_TIMEOUT_MS = 10_000;
+const MAX_BACKOFF_MS = 30_000;
+
+class Live {
+ status = $state<"connecting" | "open" | "reconnecting" | "closed">("connecting");
+
+ private socket: WebSocket | null = null;
+ private attempts = 0;
+ private pingTimer: ReturnType<typeof setInterval> | null = null;
+ private pongTimer: ReturnType<typeof setTimeout> | null = null;
+
+ connect() {
+ if (this.socket || typeof WebSocket === "undefined") return;
+
+ const socket = new WebSocket(client.socketUrl);
+ this.socket = socket;
+ this.status = this.attempts > 0 ? "reconnecting" : "connecting";
+
+ socket.onopen = () => {
+ this.attempts = 0;
+ this.status = "open";
+ this.keepAlive();
+ };
+ socket.onmessage = (event) => this.receive(event.data);
+ socket.onclose = () => {
+ this.stopKeepAlive();
+ this.socket = null;
+ this.retry();
+ };
+ }
+
+ private receive(raw: unknown) {
+ if (typeof raw !== "string") return;
+ if (raw === "pong") {
+ if (this.pongTimer) clearTimeout(this.pongTimer);
+ this.pongTimer = null;
+ return;
+ }
+
+ let event: { type?: string };
+ try {
+ event = JSON.parse(raw);
+ } catch {
+ return;
+ }
+
+ if (event.type === "force_refresh") location.reload();
+ if (event.type === "fronters_update" || event.type === "mental_state_update") {
+ // Pages that show public data depend on this key
+ void invalidate("api:public");
+ }
+ }
+
+ private keepAlive() {
+ this.stopKeepAlive();
+ this.pingTimer = setInterval(() => {
+ if (this.socket?.readyState !== WebSocket.OPEN) return;
+ this.socket.send("ping");
+ this.pongTimer ??= setTimeout(() => this.socket?.close(), PONG_TIMEOUT_MS);
+ }, PING_MS);
+ }
+
+ private stopKeepAlive() {
+ if (this.pingTimer) clearInterval(this.pingTimer);
+ if (this.pongTimer) clearTimeout(this.pongTimer);
+ this.pingTimer = null;
+ this.pongTimer = null;
+ }
+
+ // Jittered exponential backoff, as the package's own socket does
+ private retry() {
+ this.status = "reconnecting";
+ const ceiling = Math.min(1000 * 2 ** this.attempts, MAX_BACKOFF_MS);
+ this.attempts += 1;
+ setTimeout(() => this.connect(), Math.random() * ceiling);
+ }
+}
+
+export const live = new Live();
diff --git a/src/lib/pride.ts b/src/lib/pride.ts
index fac4776..98f2cf4 100644
--- a/src/lib/pride.ts
+++ b/src/lib/pride.ts
@@ -1,4 +1,4 @@
-/* system/src/lib/pride.ts
+/* src/lib/pride.ts
* Copyright (c) 2026 Clove Nytrix Doughmination Twilight
* Licensed under the DASL-1.0 Licence.
* See LICENCE.md in the project root for full licence information.
diff --git a/src/lib/styles/fonts.css b/src/lib/styles/fonts.css
new file mode 100644
index 0000000..8ff640d
--- /dev/null
+++ b/src/lib/styles/fonts.css
@@ -0,0 +1,69 @@
+/* src/lib/styles/fonts.css
+ * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ * Licensed under the DASL-1.0 Licence.
+ * See LICENCE.md in the project root for full licence information.
+ */
+
+/* IBM Plex Sans for text, same files as doughmination.gay */
+
+@font-face {
+ font-family: "IBM Plex Sans";
+ src: url("../fonts/IBMPlexSans-Regular.woff2") format("woff2");
+ font-weight: 400;
+ font-display: swap;
+}
+
+@font-face {
+ font-family: "IBM Plex Sans";
+ src: url("../fonts/IBMPlexSans-Medium.woff2") format("woff2");
+ font-weight: 500;
+ font-display: swap;
+}
+
+@font-face {
+ font-family: "IBM Plex Sans";
+ src: url("../fonts/IBMPlexSans-SemiBold.woff2") format("woff2");
+ font-weight: 600;
+ font-display: swap;
+}
+
+@font-face {
+ font-family: "IBM Plex Sans";
+ src: url("../fonts/IBMPlexSans-Bold.woff2") format("woff2");
+ font-weight: 700;
+ font-display: swap;
+}
+
+/* Comic Code for anything monospace */
+
+@font-face {
+ font-family: "Comic Code";
+ src: url("https://raw.doughmination.gay/f/Comic-Code/woff2/ComicCode-Regular.woff2") format("woff2");
+ font-weight: 400;
+ font-style: normal;
+ font-display: swap;
+}
+
+@font-face {
+ font-family: "Comic Code";
+ src: url("https://raw.doughmination.gay/f/Comic-Code/woff2/ComicCode-Italic.woff2") format("woff2");
+ font-weight: 400;
+ font-style: italic;
+ font-display: swap;
+}
+
+@font-face {
+ font-family: "Comic Code";
+ src: url("https://raw.doughmination.gay/f/Comic-Code/woff2/ComicCode-Medium.woff2") format("woff2");
+ font-weight: 500;
+ font-style: normal;
+ font-display: swap;
+}
+
+@font-face {
+ font-family: "Comic Code";
+ src: url("https://raw.doughmination.gay/f/Comic-Code/woff2/ComicCode-Bold.woff2") format("woff2");
+ font-weight: 700;
+ font-style: normal;
+ font-display: swap;
+}
diff --git a/src/lib/styles/footer.css b/src/lib/styles/footer.css
new file mode 100644
index 0000000..675ffba
--- /dev/null
+++ b/src/lib/styles/footer.css
@@ -0,0 +1,124 @@
+/* src/lib/styles/footer.css
+ * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ * Licensed under the DASL-1.0 Licence.
+ * See LICENCE.md in the project root for full licence information.
+ */
+
+/* Sits in the page flow; margin-top: auto pins it to the bottom of short pages */
+footer {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 1rem 1.5rem;
+ align-items: center;
+ justify-content: space-between;
+ width: 100%;
+ max-width: 62rem;
+ margin: auto auto 0;
+ padding: 1.25rem 1.5rem;
+ border-top: 1px solid var(--line);
+ color: var(--muted);
+ font-size: 0.85rem;
+}
+
+.footer-line {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 0.25rem 0.75rem;
+ align-items: center;
+ margin: 0;
+}
+
+.footer-line > span {
+ display: inline-flex;
+ gap: 0.4em;
+ align-items: center;
+}
+
+/* Dot between items, skipped on the first */
+.footer-line > span + span::before {
+ content: "·";
+ margin-right: 0.75rem;
+ color: var(--line);
+}
+
+.footer-brand img {
+ border-radius: 50%;
+}
+
+/* Heart */
+
+.beat {
+ color: var(--accent);
+ animation: beat 1.2s ease-in-out infinite;
+}
+
+.beat svg {
+ width: 1em;
+ height: 1em;
+}
+
+/* Two quick pulses, then a rest, like a heartbeat */
+@keyframes beat {
+ 0%,
+ 40%,
+ 100% {
+ transform: scale(1);
+ }
+ 10%,
+ 30% {
+ transform: scale(1.25);
+ }
+ 20% {
+ transform: scale(1.05);
+ }
+}
+
+/* "Not by AI" badge */
+
+.no-ai {
+ line-height: 0;
+}
+
+.no-ai img {
+ display: block;
+ transition: filter 0.2s ease;
+}
+
+.no-ai:hover img {
+ filter: drop-shadow(0 0 6px color-mix(in srgb, var(--accent) 55%, transparent));
+}
+
+.no-ai:focus-visible {
+ outline: 2px solid var(--accent);
+ outline-offset: 2px;
+}
+
+/* Narrow screens: stack and centre */
+@media (max-width: 40rem) {
+ footer,
+ .footer-line {
+ flex-direction: column;
+ justify-content: center;
+ text-align: center;
+ }
+
+ .footer-line > span + span::before {
+ content: none;
+ }
+}
+
+@media (prefers-reduced-motion: reduce) {
+ .beat {
+ animation: none;
+ }
+
+ .no-ai img {
+ transition: none;
+ }
+}
+
+@media print {
+ footer {
+ display: none;
+ }
+}
\ No newline at end of file
diff --git a/src/lib/styles/global.css b/src/lib/styles/global.css
new file mode 100644
index 0000000..71f0905
--- /dev/null
+++ b/src/lib/styles/global.css
@@ -0,0 +1,123 @@
+/* src/lib/styles/global.css
+ * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ * Licensed under the DASL-1.0 Licence.
+ * See LICENCE.md in the project root for full licence information.
+ */
+
+* {
+ box-sizing: border-box;
+}
+
+/* <iconsax-icon> renders its <svg> inside itself, so size that via `... svg` selectors */
+iconsax-icon {
+ display: inline-flex;
+ flex-shrink: 0;
+}
+
+html {
+ height: 100%;
+}
+
+body {
+ display: flex;
+ position: relative;
+ flex-direction: column;
+ min-height: 100%;
+ margin: 0;
+ font-size: 1rem;
+ line-height: 1.6;
+}
+
+/* Keeps page sections laid out as before they were wrapped in <main> */
+main {
+ display: flex;
+ flex-direction: column;
+}
+
+a {
+ color: var(--text);
+ text-decoration-color: rgb(235 69 158 / 55%);
+ text-underline-offset: 0.2em;
+}
+
+a:hover {
+ color: #fff;
+ text-decoration-color: var(--accent);
+}
+
+h1 {
+ line-height: 1.25;
+ text-wrap: balance;
+}
+
+br {
+ display: block;
+ content: "";
+ margin-bottom: 1em;
+}
+
+/* Hero */
+
+/* The background image lives in the header"s .backdrop */
+.hero {
+ padding-block: 4rem 2rem;
+}
+
+.eyebrow {
+ margin: 0 0 0.5rem;
+ color: var(--accent);
+ font-size: 0.75rem;
+ font-weight: 600;
+ letter-spacing: 0.14em;
+ text-transform: uppercase;
+}
+
+.hero h1 {
+ margin: 0 0 0.25rem;
+ font-size: clamp(2.75rem, 9vw, 4.5rem);
+ font-weight: 700;
+ letter-spacing: -0.03em;
+}
+
+.subtitle {
+ margin: 0 0 1.25rem;
+ color: var(--muted);
+ font-size: clamp(1.05rem, 2.5vw, 1.25rem);
+}
+
+.lede {
+ max-width: 36rem;
+ margin: 0 0 2rem;
+ color: #cfc9d6;
+}
+
+.intro {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 1.5rem 2.5rem;
+ align-items: flex-start;
+}
+
+.intro .lede {
+ flex: 1 1 20rem;
+ margin: 0;
+}
+
+.wrap {
+ width: 100%;
+ max-width: 62rem;
+ margin: 0 auto;
+ padding-inline: 1.5rem;
+}
+
+@media print {
+ .hero {
+ display: none;
+ }
+ .lede {
+ display: none;
+ }
+ .wrap {
+ display: none;
+ }
+}
\ No newline at end of file
diff --git a/src/lib/styles/header.css b/src/lib/styles/header.css
new file mode 100644
index 0000000..ab05a2b
--- /dev/null
+++ b/src/lib/styles/header.css
@@ -0,0 +1,96 @@
+/* src/lib/styles/header.css
+ * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ * Licensed under the DASL-1.0 Licence.
+ * See LICENCE.md in the project root for full licence information.
+ */
+
+/* Backdrop */
+
+.backdrop {
+ position: absolute;
+ top: 0;
+ right: 0;
+ left: 0;
+ z-index: -1;
+ height: 30rem;
+ overflow: hidden;
+ pointer-events: none;
+}
+
+.backdrop::before {
+ content: "";
+ position: absolute;
+ inset: 0;
+ background: url("/background.avif") center / cover no-repeat;
+ opacity: 0.5;
+}
+
+.backdrop::after {
+ content: "";
+ position: absolute;
+ inset: 0;
+ background:
+ linear-gradient(rgb(11 10 13 / 55%), rgb(11 10 13 / 80%) 55%, var(--bg)),
+ radial-gradient(70% 60% at 20% 30%, rgb(235 69 158 / 12%), transparent 70%);
+}
+
+/* Top bar */
+
+header {
+ position: relative;
+ z-index: 2;
+ display: flex;
+ flex-wrap: wrap;
+ gap: 1rem 1.5rem;
+ align-items: center;
+ justify-content: space-between;
+ width: 100%;
+ max-width: 62rem;
+ margin: 0 auto;
+ padding: 1.25rem 1.5rem;
+}
+
+header nav {
+ display: flex;
+ gap: 1.25rem;
+ font-size: 0.9rem;
+}
+
+header nav a {
+ display: inline-flex;
+ gap: 0.4em;
+ align-items: center;
+ color: var(--muted);
+ text-decoration: none;
+}
+
+header nav a:hover {
+ color: var(--text);
+}
+
+.brand {
+ display: inline-flex;
+ gap: 0.6rem;
+ align-items: center;
+ font-weight: 600;
+ letter-spacing: 0.01em;
+ text-decoration: none;
+}
+
+.brand img {
+ border-radius: 50%;
+ outline: 1px solid var(--line);
+}
+
+.nav-icon,
+.nav-icon svg {
+ width: 1.2em;
+ height: 1.2em;
+ flex-shrink: 0;
+}
+
+@media print {
+ header{
+ display: none;
+ }
+}
\ No newline at end of file
diff --git a/src/lib/styles/system.css b/src/lib/styles/system.css
new file mode 100644
index 0000000..7719604
--- /dev/null
+++ b/src/lib/styles/system.css
@@ -0,0 +1,250 @@
+/* src/lib/styles/system.css
+ * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ * Licensed under the DASL-1.0 Licence.
+ * See LICENCE.md in the project root for full licence information.
+ */
+
+/* The system's own pieces, in the doughmination.gay look */
+
+.with-icon {
+ display: inline-flex;
+ gap: 0.4em;
+ align-items: center;
+}
+
+.sr-only {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ clip-path: inset(50%);
+ white-space: nowrap;
+}
+
+.page-head h1,
+.panel h1 {
+ margin: 0;
+}
+
+/* Member avatars: a square photo with the member's own colour as its ring */
+
+.member-avatar {
+ display: block;
+ object-fit: cover;
+ border: 2px solid var(--member-color, var(--accent));
+ border-radius: 1rem;
+ background: var(--raised);
+ box-shadow: 0 0 0 4px color-mix(in srgb, var(--member-color, var(--accent)) 18%, transparent);
+}
+
+.avatar-sm {
+ width: 2.25rem;
+ height: 2.25rem;
+ border-width: 1px;
+ border-radius: 0.6rem;
+ box-shadow: none;
+}
+
+/* Chips: tags, identities, filters */
+
+.chip {
+ display: inline-flex;
+ gap: 0.35rem;
+ align-items: center;
+ padding: 0.15rem 0.65rem;
+ border: 1px solid var(--line);
+ border-radius: 999px;
+ background: var(--raised);
+ color: var(--muted);
+ font: inherit;
+ font-size: 0.78rem;
+ line-height: 1.5;
+ text-decoration: none;
+ cursor: pointer;
+}
+
+.chip:hover {
+ border-color: var(--accent-line);
+ color: var(--text);
+}
+
+.chip.active {
+ border-color: var(--accent);
+ background: var(--accent-dim);
+ color: var(--accent);
+}
+
+.chips {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 0.4rem;
+}
+
+/* Member status: an emoji and a line of text */
+
+.status-tag {
+ display: inline-flex;
+ gap: 0.35rem;
+ align-items: center;
+ max-width: 100%;
+ padding: 0.25rem 0.6rem;
+ border: 1px solid var(--line);
+ border-radius: 0.6rem;
+ background: rgb(0 0 0 / 25%);
+ color: var(--muted);
+ font-size: 0.8rem;
+}
+
+.status-tag span:last-child {
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
+
+/* Mental state */
+
+.mental {
+ --state: var(--ok);
+ display: flex;
+ gap: 1rem;
+ align-items: flex-start;
+ padding: 1rem 1.25rem;
+ border: 1px solid color-mix(in srgb, var(--state) 45%, transparent);
+ border-radius: 1rem;
+ background: color-mix(in srgb, var(--state) 8%, var(--raised));
+}
+
+.mental-unstable,
+.mental-idealizing {
+ --state: var(--warn);
+}
+
+.mental-self-harming,
+.mental-highly-at-risk {
+ --state: var(--bad);
+}
+
+.mental iconsax-icon {
+ color: var(--state);
+}
+
+.mental p {
+ margin: 0;
+}
+
+.mental-label {
+ color: var(--state);
+ font-weight: 600;
+}
+
+/* Lists of members to pick from */
+
+.pick-list {
+ display: flex;
+ flex-direction: column;
+ gap: 0.4rem;
+ max-height: 32rem;
+ overflow-y: auto;
+}
+
+.pick {
+ display: flex;
+ gap: 0.75rem;
+ align-items: center;
+ width: 100%;
+ padding: 0.5rem 0.75rem;
+ border: 1px solid var(--line);
+ border-radius: 0.75rem;
+ background: var(--raised);
+ color: inherit;
+ font: inherit;
+ text-align: left;
+ cursor: pointer;
+}
+
+.pick:hover {
+ border-color: var(--accent-line);
+}
+
+.pick.selected {
+ border-color: var(--accent);
+ box-shadow: 0 0 0 4px var(--accent-dim);
+}
+
+.pick p {
+ margin: 0;
+}
+
+/* Admin tiles, like web's contact tiles */
+
+.tiles {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
+ gap: 1rem;
+}
+
+.tile {
+ display: flex;
+ flex-direction: column;
+ gap: 0.5rem;
+ padding: 1.25rem 1.5rem;
+ border: 1px solid var(--line);
+ border-radius: 1rem;
+ background: var(--raised);
+ text-decoration: none;
+ transition:
+ border-color 0.2s ease,
+ box-shadow 0.2s ease,
+ transform 0.2s ease;
+}
+
+.tile:hover,
+.tile:focus-visible {
+ border-color: var(--accent-line);
+ box-shadow: 0 0 0 4px var(--accent-dim);
+ transform: translateY(-2px);
+}
+
+.tile-icon {
+ display: grid;
+ place-items: center;
+ width: 2.5rem;
+ height: 2.5rem;
+ border-radius: 0.75rem;
+ background: var(--accent-dim);
+ color: var(--accent);
+}
+
+.tile h3,
+.tile p {
+ margin: 0;
+}
+
+.tile p {
+ color: var(--muted);
+ font-size: 0.9rem;
+}
+
+.two-col {
+ display: grid;
+ grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr);
+ gap: 1.25rem;
+ align-items: start;
+}
+
+@media (max-width: 52rem) {
+ .two-col {
+ grid-template-columns: 1fr;
+ }
+}
+
+@media (prefers-reduced-motion: reduce) {
+ .tile {
+ transition: none;
+ }
+
+ .tile:hover,
+ .tile:focus-visible {
+ transform: none;
+ }
+}
diff --git a/src/lib/styles/theme.css b/src/lib/styles/theme.css
new file mode 100644
index 0000000..0588606
--- /dev/null
+++ b/src/lib/styles/theme.css
@@ -0,0 +1,29 @@
+/* src/lib/styles/theme.css
+ * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ * Licensed under the DASL-1.0 Licence.
+ * See LICENCE.md in the project root for full licence information.
+ */
+
+/* doughmination.gay's tokens, plus the few an app needs on top */
+:root {
+ --bg: #0b0a0d;
+ --raised: rgb(255 255 255 / 3.5%);
+ --line: rgb(255 255 255 / 9%);
+ --text: #ece9ef;
+ --muted: #a49eab;
+ --accent: #eb459e;
+ --accent-dim: rgb(235 69 158 / 14%);
+ --accent-line: rgb(235 69 158 / 40%);
+
+ --ok: #7fd98b;
+ --warn: #f2c46d;
+ --bad: #ff8a9a;
+ --on-accent: #1a0611;
+
+ --mono: "Comic Code", ui-monospace, "Cascadia Code", Menlo, monospace;
+
+ color-scheme: dark;
+ font-family: "IBM Plex Sans", system-ui, sans-serif;
+ background: var(--bg);
+ color: var(--text);
+}
diff --git a/src/lib/styles/ui.css b/src/lib/styles/ui.css
new file mode 100644
index 0000000..3998321
--- /dev/null
+++ b/src/lib/styles/ui.css
@@ -0,0 +1,346 @@
+/* src/lib/styles/ui.css
+ * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ * Licensed under the DASL-1.0 Licence.
+ * See LICENCE.md in the project root for full licence information.
+ */
+
+/* App controls in the doughmination.gay look: raised surfaces, hairlines, accent rings */
+
+/* app.html's wrapper; a class, since the CSP allows no style attributes */
+.app {
+ display: contents;
+}
+
+/* Monospace */
+
+code,
+kbd,
+pre,
+samp {
+ font-family: var(--mono);
+ font-size: 0.9em;
+}
+
+::selection {
+ background: var(--accent);
+ color: var(--on-accent);
+}
+
+/* Page width, same as the header and footer */
+
+.page {
+ display: flex;
+ flex-direction: column;
+ gap: 1.25rem;
+ width: 100%;
+ max-width: 62rem;
+ margin: 0 auto;
+ padding: 2rem 1.5rem 3rem;
+}
+
+.page.narrow {
+ max-width: 34rem;
+}
+
+.page-head h1 {
+ margin: 0;
+ font-size: clamp(1.75rem, 5vw, 2.5rem);
+ font-weight: 700;
+ letter-spacing: -0.02em;
+}
+
+.page-head p {
+ margin: 0.25rem 0 0;
+}
+
+/* Panels: web's .card without the hover lift, for things you work in */
+
+.panel {
+ display: flex;
+ flex-direction: column;
+ gap: 0.75rem;
+ padding: 1.25rem 1.5rem;
+ border: 1px solid var(--line);
+ border-radius: 1rem;
+ background: var(--raised);
+}
+
+.panel h2 {
+ margin: 0;
+ font-size: 1.15rem;
+ font-weight: 600;
+}
+
+/* Buttons */
+
+button,
+.btn {
+ display: inline-flex;
+ gap: 0.4em;
+ align-items: center;
+ justify-content: center;
+ padding: 0.4rem 0.9rem;
+ border: 1px solid var(--line);
+ /* Soft corners: a full pill curve clips text once a button wraps */
+ border-radius: 0.75rem;
+ background: var(--raised);
+ color: inherit;
+ font: inherit;
+ font-size: 0.9rem;
+ line-height: 1.35;
+ text-decoration: none;
+ cursor: pointer;
+ transition:
+ border-color 0.15s ease,
+ background 0.15s ease,
+ color 0.15s ease,
+ filter 0.15s ease;
+}
+
+button:hover:not(:disabled),
+.btn:hover:not([aria-disabled="true"]) {
+ border-color: var(--accent-line);
+ color: var(--text);
+}
+
+button:disabled,
+.btn[aria-disabled="true"] {
+ opacity: 0.4;
+ cursor: default;
+}
+
+button.primary,
+.btn.primary {
+ border-color: var(--accent);
+ background: var(--accent);
+ color: var(--on-accent);
+ font-weight: 600;
+}
+
+button.primary:hover:not(:disabled),
+.btn.primary:hover {
+ color: var(--on-accent);
+ filter: brightness(1.12);
+}
+
+button.danger,
+.btn.danger {
+ color: var(--bad);
+}
+
+button.danger:hover:not(:disabled) {
+ border-color: var(--bad);
+}
+
+button.small,
+.btn.small {
+ padding: 0.25rem 0.7rem;
+ font-size: 0.82rem;
+}
+
+button iconsax-icon svg,
+.btn iconsax-icon svg {
+ width: 1.1em;
+ height: 1.1em;
+}
+
+.buttons {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 0.5rem;
+ align-items: center;
+}
+
+form.inline {
+ display: inline;
+}
+
+/* Fields */
+
+input,
+select,
+textarea {
+ width: 100%;
+ padding: 0.5rem 0.75rem;
+ border: 1px solid var(--line);
+ border-radius: 0.75rem;
+ background: rgb(0 0 0 / 25%);
+ color: var(--text);
+ font: inherit;
+}
+
+textarea {
+ min-height: 12rem;
+ font-family: var(--mono);
+ font-size: 0.875rem;
+ line-height: 1.55;
+ tab-size: 2;
+ resize: vertical;
+}
+
+input[type="checkbox"],
+input[type="radio"] {
+ width: auto;
+ accent-color: var(--accent);
+}
+
+input[readonly],
+input:disabled {
+ color: var(--muted);
+}
+
+:focus-visible {
+ outline: 2px solid var(--accent);
+ outline-offset: 2px;
+}
+
+input:focus-visible,
+select:focus-visible,
+textarea:focus-visible {
+ outline-offset: 0;
+ border-color: var(--accent-line);
+}
+
+.field {
+ display: flex;
+ flex-direction: column;
+ gap: 0.35rem;
+}
+
+.field > span,
+.field > legend {
+ color: var(--muted);
+ font-size: 0.75rem;
+ font-weight: 600;
+ letter-spacing: 0.1em;
+ text-transform: uppercase;
+}
+
+fieldset {
+ margin: 0;
+ padding: 0;
+ border: 0;
+}
+
+legend {
+ padding: 0;
+}
+
+.check {
+ display: flex;
+ gap: 0.6rem;
+ align-items: flex-start;
+}
+
+.check input {
+ margin-top: 0.35rem;
+}
+
+.stack {
+ display: flex;
+ flex-direction: column;
+ gap: 1rem;
+}
+
+.grid2 {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
+ gap: 1rem;
+}
+
+/* Notices and badges */
+
+.notice {
+ margin: 0;
+ padding: 0.65rem 1rem;
+ border: 1px solid var(--line);
+ border-radius: 0.75rem;
+ background: var(--raised);
+}
+
+.notice.ok {
+ border-color: rgb(127 217 139 / 40%);
+ background: rgb(127 217 139 / 8%);
+}
+
+.notice.error {
+ border-color: rgb(255 138 154 / 45%);
+ background: rgb(255 138 154 / 8%);
+}
+
+.badge {
+ display: inline-block;
+ padding: 0.05rem 0.55rem;
+ border: 1px solid var(--line);
+ border-radius: 999px;
+ color: var(--muted);
+ font-size: 0.75rem;
+ white-space: nowrap;
+}
+
+.badge.accent {
+ border-color: var(--accent-line);
+ background: var(--accent-dim);
+ color: var(--accent);
+}
+
+.badge.danger {
+ border-color: rgb(255 138 154 / 45%);
+ color: var(--bad);
+}
+
+/* Lists of rows */
+
+.rows {
+ margin: 0;
+ padding: 0;
+ list-style: none;
+}
+
+.rows > li {
+ display: flex;
+ gap: 0.75rem;
+ align-items: center;
+ padding: 0.7rem 0;
+ border-bottom: 1px solid var(--line);
+}
+
+.rows > li:last-child {
+ border-bottom: 0;
+}
+
+.meta {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 0.4rem;
+ align-items: center;
+ margin: 0.15rem 0 0;
+}
+
+.pager {
+ display: flex;
+ gap: 0.75rem;
+ align-items: center;
+}
+
+/* Text helpers */
+
+.muted {
+ color: var(--muted);
+}
+
+.small {
+ font-size: 0.85rem;
+}
+
+.grow {
+ flex: 1;
+ min-width: 0;
+}
+
+@media (prefers-reduced-motion: reduce) {
+ button,
+ .btn {
+ transition: none;
+ }
+}
diff --git a/src/lib/use-mobile.ts b/src/lib/use-mobile.ts
deleted file mode 100644
index ed896c3..0000000
--- a/src/lib/use-mobile.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-/* system/src/lib/use-mobile.ts
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-"use client";
-
-import * as React from "react";
-
-const MOBILE_BREAKPOINT = 768;
-
-export function useIsMobile() {
- const [isMobile, setIsMobile] = React.useState<boolean | undefined>(undefined);
-
- React.useEffect(() => {
- const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`);
- const onChange = () => {
- setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);
- };
- mql.addEventListener("change", onChange);
- setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);
- return () => mql.removeEventListener("change", onChange);
- }, []);
-
- return !!isMobile;
-}
diff --git a/src/lib/use-toast.ts b/src/lib/use-toast.ts
deleted file mode 100644
index ae900b9..0000000
--- a/src/lib/use-toast.ts
+++ /dev/null
@@ -1,206 +0,0 @@
-/* system/src/lib/use-toast.ts
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-"use client";
-
-import * as React from "react";
-
-import type { ToastActionElement, ToastProps } from "@/components/ui/toast";
-
-const TOAST_LIMIT = 1;
-const TOAST_REMOVE_DELAY = 1000000;
-
-type ToasterToast = ToastProps & {
- id: string;
- title?: React.ReactNode;
- description?: React.ReactNode;
- action?: ToastActionElement;
-};
-
-const actionTypes = {
- ADD_TOAST: "ADD_TOAST",
- UPDATE_TOAST: "UPDATE_TOAST",
- DISMISS_TOAST: "DISMISS_TOAST",
- REMOVE_TOAST: "REMOVE_TOAST",
-} as const;
-
-let count = 0;
-
-function genId() {
- count = (count + 1) % Number.MAX_SAFE_INTEGER;
- return count.toString();
-}
-
-type ActionType = typeof actionTypes;
-
-type Action =
- | {
- type: ActionType["ADD_TOAST"];
- toast: ToasterToast;
- }
- | {
- type: ActionType["UPDATE_TOAST"];
- toast: Partial<ToasterToast>;
- }
- | {
- type: ActionType["DISMISS_TOAST"];
- toastId?: ToasterToast["id"];
- }
- | {
- type: ActionType["REMOVE_TOAST"];
- toastId?: ToasterToast["id"];
- };
-
-interface State {
- toasts: ToasterToast[];
-}
-
-const toastTimeouts = new Map<string, ReturnType<typeof setTimeout>>();
-
-const addToRemoveQueue = (toastId: string) => {
- if (toastTimeouts.has(toastId)) {
- return;
- }
-
- const timeout = setTimeout(() => {
- toastTimeouts.delete(toastId);
- dispatch({
- type: "REMOVE_TOAST",
- toastId: toastId,
- });
- }, TOAST_REMOVE_DELAY);
-
- toastTimeouts.set(toastId, timeout);
-};
-
-export const reducer = (state: State, action: Action): State => {
- switch (action.type) {
- case "ADD_TOAST":
- return {
- ...state,
- toasts: [action.toast, ...state.toasts].slice(0, TOAST_LIMIT),
- };
-
- case "UPDATE_TOAST":
- return {
- ...state,
- toasts: state.toasts.map((t) => (t.id === action.toast.id ? {
- ...t,
- ...action.toast
- } : t)),
- };
-
- case "DISMISS_TOAST": {
- const { toastId } = action;
-
- // ! Side effects ! - This could be extracted into a dismissToast() action,
- // but I'll keep it here for simplicity
- if (toastId) {
- addToRemoveQueue(toastId);
- } else {
- state.toasts.forEach((toast) => {
- addToRemoveQueue(toast.id);
- });
- }
-
- return {
- ...state,
- toasts: state.toasts.map((t) =>
- t.id === toastId || toastId === undefined
- ? {
- ...t,
- open: false,
- }
- : t,
- ),
- };
- }
- case "REMOVE_TOAST":
- if (action.toastId === undefined) {
- return {
- ...state,
- toasts: [],
- };
- }
- return {
- ...state,
- toasts: state.toasts.filter((t) => t.id !== action.toastId),
- };
- }
-};
-
-const listeners: Array<(state: State) => void> = [];
-
-let memoryState: State = { toasts: [] };
-
-function dispatch(action: Action) {
- memoryState = reducer(memoryState, action);
- listeners.forEach((listener) => {
- listener(memoryState);
- });
-}
-
-type Toast = Omit<ToasterToast, "id">;
-
-function toast({ ...props }: Toast) {
- const id = genId();
-
- const update = (props: ToasterToast) =>
- dispatch({
- type: "UPDATE_TOAST",
- toast: {
- ...props,
- id
- },
- });
- const dismiss = () => dispatch({
- type: "DISMISS_TOAST",
- toastId: id
- });
-
- dispatch({
- type: "ADD_TOAST",
- toast: {
- ...props,
- id,
- open: true,
- onOpenChange: (open) => {
- if (!open) dismiss();
- },
- },
- });
-
- return {
- id: id,
- dismiss,
- update,
- };
-}
-
-function useToast() {
- const [state, setState] = React.useState<State>(memoryState);
-
- React.useEffect(() => {
- listeners.push(setState);
- return () => {
- const index = listeners.indexOf(setState);
- if (index > -1) {
- listeners.splice(index, 1);
- }
- };
- }, [state]);
-
- return {
- ...state,
- toast,
- dismiss: (toastId?: string) => dispatch({
- type: "DISMISS_TOAST",
- toastId
- }),
- };
-}
-
-export { useToast, toast };
diff --git a/src/routes/+error.svelte b/src/routes/+error.svelte
new file mode 100644
index 0000000..4945f19
--- /dev/null
+++ b/src/routes/+error.svelte
@@ -0,0 +1,33 @@
+<!-- src/routes/+error.svelte
+ Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ Licensed under the DASL-1.0 Licence.
+ See LICENCE.md in the project root for full licence information.
+-->
+
+<script lang="ts">
+ import { page } from "$app/state";
+
+ const notFound = $derived(page.status === 404);
+</script>
+
+<svelte:head>
+ <title>{notFound ? "Not found" : "Something went wrong"} · Doughmination System</title>
+ <meta name="robots" content="noindex" />
+</svelte:head>
+
+<div class="page narrow">
+ <section class="panel">
+ <p class="eyebrow">Error {page.status}</p>
+ <h1>{notFound ? "Page not found" : (page.error?.title ?? "Something went wrong")}</h1>
+ <p class="muted">{notFound ? "There's nothing at that address." : page.error?.message}</p>
+ <p>
+ <a class="btn" href="/"><iconsax-icon name="arrow-left-01" type="bulk" size="16"></iconsax-icon>Return to home</a>
+ </p>
+ </section>
+</div>
+
+<style>
+ p {
+ margin: 0;
+ }
+</style>
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
new file mode 100644
index 0000000..211ba5f
--- /dev/null
+++ b/src/routes/+layout.svelte
@@ -0,0 +1,38 @@
+<!-- src/routes/+layout.svelte
+ Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ Licensed under the DASL-1.0 Licence.
+ See LICENCE.md in the project root for full licence information.
+-->
+
+<script lang="ts">
+ import "#lib/styles/fonts.css";
+ import "#lib/styles/theme.css";
+ import "#lib/styles/global.css";
+ import "#lib/styles/ui.css";
+ import "#lib/styles/system.css";
+ import { onMount } from "svelte";
+ import { auth } from "#lib/auth.svelte.ts";
+ import { live } from "#lib/live.svelte.ts";
+ import Header from "#lib/components/Header.svelte";
+ import Footer from "#lib/components/Footer.svelte";
+
+ let { children } = $props();
+
+ onMount(() => {
+ void auth.load();
+ live.connect();
+ });
+</script>
+
+<svelte:head>
+ <meta name="theme-color" content="#eb459e" />
+ <meta property="og:site_name" content="Doughmination System" />
+ <meta property="og:locale" content="en_GB" />
+ <meta name="twitter:site" content="@doughmination" />
+</svelte:head>
+
+<Header />
+<main>
+ {@render children()}
+</main>
+<Footer />
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte
new file mode 100644
index 0000000..499d32f
--- /dev/null
+++ b/src/routes/+page.svelte
@@ -0,0 +1,13 @@
+<!-- src/routes/+page.svelte
+ Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ Licensed under the DASL-1.0 Licence.
+ See LICENCE.md in the project root for full licence information.
+-->
+
+<script lang="ts">
+ import Home from "#lib/components/Home.svelte";
+
+ let { data } = $props();
+</script>
+
+<Home members={data.members} fronters={data.fronters} system={data.system} />
diff --git a/src/routes/+page.ts b/src/routes/+page.ts
new file mode 100644
index 0000000..f46d234
--- /dev/null
+++ b/src/routes/+page.ts
@@ -0,0 +1,26 @@
+/* src/routes/+page.ts
+ * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ * Licensed under the DASL-1.0 Licence.
+ * See LICENCE.md in the project root for full licence information.
+ */
+
+import type { PageLoad } from "./$types";
+import { publicClient } from "#lib/api.ts";
+
+// Rendered on the server for search engines and link previews, then kept live by the socket
+export const load: PageLoad = async ({ fetch, depends }) => {
+ depends("api:public");
+ const api = publicClient(fetch);
+
+ const [members, fronters, system] = await Promise.all([
+ api.getMembers().catch(() => []),
+ api.getFronters().catch(() => null),
+ api.getSystem().catch(() => null),
+ ]);
+
+ return {
+ members,
+ fronters,
+ system,
+ };
+};
diff --git a/src/routes/[member_id]/+page.svelte b/src/routes/[member_id]/+page.svelte
new file mode 100644
index 0000000..39e058f
--- /dev/null
+++ b/src/routes/[member_id]/+page.svelte
@@ -0,0 +1,165 @@
+<!-- src/routes/[member_id]/+page.svelte
+ Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ Licensed under the DASL-1.0 Licence.
+ See LICENCE.md in the project root for full licence information.
+-->
+
+<script lang="ts">
+ import { avatarFallback, fallbackAvatar, memberName, siteName, siteUrl } from "#lib";
+ import { normalizeColor, readableOnDark } from "#lib/colour.ts";
+ import PrideSwatch from "#lib/components/PrideSwatch.svelte";
+
+ let { data } = $props();
+
+ const member = $derived(data.member);
+ const name = $derived(memberName(member));
+ const colour = $derived(normalizeColor(member.color));
+ const nameColour = $derived(readableOnDark(member.color, "var(--text)"));
+ const avatar = $derived(member.avatar_url || fallbackAvatar);
+ const pageUrl = $derived(`${siteUrl}/${encodeURIComponent(data.id)}`);
+
+ const description = $derived.by(() => {
+ if (member.description) return member.description;
+ const parts: string[] = [];
+ if (member.pronouns) parts.push(member.pronouns);
+ if (member.tags?.length) parts.push(member.tags.join(", "));
+ if (member.pride?.length) parts.push(member.pride.join(", "));
+ return parts.length ? `${parts.join(" · ")} — member of the ${siteName}.` : `A member of the ${siteName}.`;
+ });
+</script>
+
+<svelte:head>
+ <title>{name} · {siteName}</title>
+ <meta name="description" content={description} />
+ <meta name="theme-color" content={colour ?? "#0a0b10"} />
+ <link rel="canonical" href={pageUrl} />
+ <meta property="og:type" content="profile" />
+ <meta property="og:title" content="{name} · {siteName}" />
+ <meta property="og:description" content={description} />
+ <meta property="og:url" content={pageUrl} />
+ <meta property="og:image" content={avatar} />
+ <meta property="og:image:alt" content={name} />
+ <meta name="twitter:card" content="summary" />
+</svelte:head>
+
+<div class="page narrow">
+ <article class="panel member" style:--member-color={colour ?? "var(--accent)"}>
+ <img class="member-avatar big" src={avatar} alt={name} onerror={avatarFallback} />
+ <h1 style:color={nameColour}>{name}</h1>
+ {#if member.pronouns}
+ <p class="muted">{member.pronouns}</p>
+ {/if}
+ {#if member.status}
+ <div class="status-tag">
+ {#if member.status.emoji}<span>{member.status.emoji}</span>{/if}
+ <span>{member.status.text}</span>
+ </div>
+ {/if}
+
+ {#if member.description}
+ <section>
+ <h2 style:color={nameColour}>About</h2>
+ <p class="about">{member.description}</p>
+ </section>
+ {/if}
+
+ {#if member.tags?.length}
+ <section>
+ <h2 style:color={nameColour}>Tags</h2>
+ <div class="chips">
+ {#each member.tags as tag (tag)}
+ <a class="chip tinted" href="/?tag={encodeURIComponent(tag)}">{tag}</a>
+ {/each}
+ </div>
+ </section>
+ {/if}
+
+ {#if member.pride?.length}
+ <section>
+ <h2 style:color={nameColour}>Pride</h2>
+ <div class="chips">
+ {#each member.pride as identity (identity)}
+ <a class="chip" href="/?identity={encodeURIComponent(identity)}"><PrideSwatch label={identity} />{identity}</a>
+ {/each}
+ </div>
+ </section>
+ {/if}
+
+ {#if data.partners.length}
+ <section>
+ <h2 style:color={nameColour}>Partners</h2>
+ <div class="chips">
+ {#each data.partners as partner (partner.id)}
+ <a class="chip partner" href="/{partner.name ?? partner.id}">
+ <img src={partner.avatar_url || fallbackAvatar} alt="" onerror={avatarFallback} />
+ {memberName(partner)}
+ </a>
+ {/each}
+ </div>
+ </section>
+ {/if}
+
+ <div>
+ <a class="btn" href="/"><iconsax-icon name="arrow-left-01" type="bulk" size="16"></iconsax-icon>Back to members</a>
+ </div>
+ </article>
+</div>
+
+<style>
+ .member {
+ align-items: center;
+ text-align: center;
+ }
+
+ .big {
+ width: 9rem;
+ height: 9rem;
+ }
+
+ h1 {
+ margin: 0;
+ }
+
+ .member > p {
+ margin: 0;
+ }
+
+ section {
+ display: flex;
+ flex-direction: column;
+ gap: 0.5rem;
+ align-items: center;
+ width: 100%;
+ padding-top: 0.75rem;
+ border-top: 1px solid var(--line);
+ }
+
+ h2 {
+ margin: 0;
+ font-size: 0.75rem;
+ letter-spacing: 0.14em;
+ text-transform: uppercase;
+ }
+
+ .about {
+ margin: 0;
+ white-space: pre-line;
+ }
+
+ .chips {
+ justify-content: center;
+ }
+
+ .tinted {
+ border-color: color-mix(in srgb, var(--member-color) 60%, transparent);
+ background: color-mix(in srgb, var(--member-color) 12%, transparent);
+ color: var(--text);
+ }
+
+ .partner img {
+ width: 1.25rem;
+ height: 1.25rem;
+ object-fit: cover;
+ border-radius: 0.3rem;
+ }
+</style>
diff --git a/src/routes/[member_id]/+page.ts b/src/routes/[member_id]/+page.ts
new file mode 100644
index 0000000..c90b6bf
--- /dev/null
+++ b/src/routes/[member_id]/+page.ts
@@ -0,0 +1,50 @@
+/* src/routes/[member_id]/+page.ts
+ * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ * Licensed under the DASL-1.0 Licence.
+ * See LICENCE.md in the project root for full licence information.
+ */
+
+import { error } from "@sveltejs/kit";
+import type { PluralMember } from "doughmination-api/server";
+import type { PageLoad } from "./$types";
+import { publicClient } from "#lib/api.ts";
+
+// Server-rendered so Discord embeds and live data stay current with no rebuild
+export const load: PageLoad = async ({ fetch, params, depends }) => {
+ depends("api:public");
+ const api = publicClient(fetch);
+ const id = params.member_id;
+
+ const [member, status, members, relationships] = await Promise.all([
+ api.getMember(id).catch(() => null),
+ api.getMemberStatus(id).catch(() => null),
+ api.getMembers().catch(() => [] as PluralMember[]),
+ api.getRelationships().catch(() => null),
+ ]);
+
+ if (!member) {
+ error(404, {
+ title: "Member not found",
+ message: "This member could not be found in the Doughmination System.",
+ });
+ }
+
+ const isThis = (identifier: string) => identifier === member.id || identifier === member.name;
+ const partnerIds: string[] = [];
+ for (const edge of relationships?.relationships ?? []) {
+ if (isThis(edge.members[0])) partnerIds.push(edge.members[1]);
+ else if (isThis(edge.members[1])) partnerIds.push(edge.members[0]);
+ }
+ const partners = partnerIds
+ .map((identifier) => members.find((m) => m.id === identifier || m.name === identifier))
+ .filter((m): m is PluralMember => Boolean(m));
+
+ return {
+ id,
+ member: {
+ ...member,
+ status: status?.status ?? member.status ?? null,
+ },
+ partners,
+ };
+};
diff --git a/src/app/fronting/page.tsx b/src/routes/admin/+layout.ts
similarity index 54%
rename from src/app/fronting/page.tsx
rename to src/routes/admin/+layout.ts
index f2c2ef2..e0cd627 100644
--- a/src/app/fronting/page.tsx
+++ b/src/routes/admin/+layout.ts
@@ -1,11 +1,8 @@
-/* system/src/app/fronting/page.tsx
+/* src/routes/admin/+layout.ts
* Copyright (c) 2026 Clove Nytrix Doughmination Twilight
* Licensed under the DASL-1.0 Licence.
* See LICENCE.md in the project root for full licence information.
*/
-import HomePage from "@/components/HomePage";
-
-export default function Fronting() {
- return <HomePage />;
-}
+// Signed-in pages: the token lives in localStorage, so they render in the browser
+export const ssr = false;
diff --git a/src/routes/admin/dash/+page.svelte b/src/routes/admin/dash/+page.svelte
new file mode 100644
index 0000000..b1bc450
--- /dev/null
+++ b/src/routes/admin/dash/+page.svelte
@@ -0,0 +1,144 @@
+<!-- src/routes/admin/dash/+page.svelte
+ Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ Licensed under the DASL-1.0 Licence.
+ See LICENCE.md in the project root for full licence information.
+-->
+
+<script lang="ts">
+ import { errorText, type Message as MessageType } from "#lib";
+ import { client } from "#lib/api.ts";
+ import Protected from "#lib/components/Protected.svelte";
+ import PageHead from "#lib/components/PageHead.svelte";
+ import Message from "#lib/components/Message.svelte";
+
+ const PAGES = [
+ {
+ href: "/admin/switch",
+ label: "Switch manager",
+ icon: "refresh-circle",
+ desc: "Manage fronting members",
+ },
+ {
+ href: "/admin/mental",
+ label: "Mental health",
+ icon: "activity",
+ desc: "Update mental state",
+ },
+ {
+ href: "/admin/status",
+ label: "Status manager",
+ icon: "message-text",
+ desc: "Set member statuses",
+ },
+ {
+ href: "/admin/tags",
+ label: "Tag manager",
+ icon: "tag",
+ desc: "Manage member tags",
+ },
+ {
+ href: "/admin/pride",
+ label: "Pride manager",
+ icon: "flag",
+ desc: "Set member pride identities",
+ },
+ {
+ href: "/admin/relationships",
+ label: "Relationships",
+ icon: "lovely",
+ desc: "Map who is dating who",
+ },
+ ];
+
+ let refreshing = $state(false);
+ let message = $state<MessageType>(null);
+
+ async function forceRefresh() {
+ if (!confirm("This will reload the website for ALL connected users. Are you sure?")) return;
+
+ refreshing = true;
+ message = null;
+ try {
+ await client.forceRefresh();
+ message = {
+ type: "success",
+ content: "Refresh command sent to all connected clients! The page will reload in 3 seconds...",
+ };
+ setTimeout(() => location.reload(), 3000);
+ } catch (err) {
+ message = {
+ type: "error",
+ content: errorText(err, "Failed to send refresh command"),
+ };
+ refreshing = false;
+ }
+ }
+</script>
+
+<svelte:head>
+ <title>Admin dashboard · Doughmination System</title>
+</svelte:head>
+
+<Protected admin>
+ <div class="page">
+ <PageHead
+ eyebrow="Admin"
+ title="Admin dashboard"
+ subtitle="System management hub"
+ back={{
+ href: "/",
+ label: "Back to home",
+ }}
+ />
+
+ <Message {message} />
+
+ <section class="panel danger-zone">
+ <div class="grow">
+ <h2>[ danger ] Force refresh all clients</h2>
+ <p class="muted">
+ Send a refresh command to all users currently viewing the website. This will immediately reload their browsers.
+ </p>
+ </div>
+ <div>
+ <button type="button" class="danger" disabled={refreshing} onclick={forceRefresh}>
+ <iconsax-icon name="refresh-arrow-01" type="bulk" size="16"></iconsax-icon>{refreshing ? "Sending..." : "Refresh all"}
+ </button>
+ </div>
+ </section>
+
+ <div class="tiles">
+ {#each PAGES as page (page.href)}
+ <a class="tile" href={page.href}>
+ <span class="tile-icon"><iconsax-icon name={page.icon} type="bulk" size="22"></iconsax-icon></span>
+ <h3>{page.label}</h3>
+ <p>{page.desc}</p>
+ </a>
+ {/each}
+ <a class="tile" href="https://doughmination.uk/docs" target="_blank" rel="noopener noreferrer">
+ <span class="tile-icon"><iconsax-icon name="driver" type="bulk" size="22"></iconsax-icon></span>
+ <h3>API endpoints</h3>
+ <p>View API reference</p>
+ </a>
+ </div>
+ </div>
+</Protected>
+
+<style>
+ .danger-zone {
+ flex-direction: row;
+ flex-wrap: wrap;
+ align-items: center;
+ border-color: rgb(255 138 154 / 35%);
+ }
+
+ h2,
+ p {
+ margin: 0;
+ }
+
+ h2 {
+ color: var(--bad);
+ font-size: 1rem;
+ }
+</style>
diff --git a/src/routes/admin/mental/+page.svelte b/src/routes/admin/mental/+page.svelte
new file mode 100644
index 0000000..378f60c
--- /dev/null
+++ b/src/routes/admin/mental/+page.svelte
@@ -0,0 +1,152 @@
+<!-- src/routes/admin/mental/+page.svelte
+ Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ Licensed under the DASL-1.0 Licence.
+ See LICENCE.md in the project root for full licence information.
+-->
+
+<script lang="ts">
+ import { onMount } from "svelte";
+ import type { MentalState } from "doughmination-api/server";
+ import { errorText, type Message as MessageType } from "#lib";
+ import { client } from "#lib/api.ts";
+ import Protected from "#lib/components/Protected.svelte";
+ import PageHead from "#lib/components/PageHead.svelte";
+ import Message from "#lib/components/Message.svelte";
+
+ const OPTIONS = [
+ {
+ value: "safe",
+ label: "Safe",
+ icon: "tick-circle",
+ },
+ {
+ value: "unstable",
+ label: "Unstable",
+ icon: "danger",
+ },
+ {
+ value: "idealizing",
+ label: "Idealizing",
+ icon: "info-circle",
+ },
+ {
+ value: "self-harming",
+ label: "Self-Harming",
+ icon: "warning-2",
+ },
+ {
+ value: "highly at risk",
+ label: "Highly At Risk",
+ icon: "shield-cross",
+ },
+ ];
+
+ let current = $state<MentalState | null>(null);
+ let level = $state("");
+ let notes = $state("");
+ let loading = $state(true);
+ let saving = $state(false);
+ let message = $state<MessageType>(null);
+
+ const currentOption = $derived(OPTIONS.find((o) => o.value === current?.level));
+
+ onMount(async () => {
+ try {
+ current = await client.getMentalState();
+ level = current.level;
+ notes = current.notes || "";
+ } catch {
+ // No state yet; the form still works
+ } finally {
+ loading = false;
+ }
+ });
+
+ async function update() {
+ saving = true;
+ message = null;
+ try {
+ await client.setMentalState({
+ level,
+ notes: notes.trim() || undefined,
+ });
+ current = await client.getMentalState();
+ message = {
+ type: "success",
+ content: "Mental state updated successfully.",
+ };
+ } catch (err) {
+ message = {
+ type: "error",
+ content: errorText(err, "An unknown error occurred"),
+ };
+ } finally {
+ saving = false;
+ }
+ }
+</script>
+
+<svelte:head>
+ <title>Mental health · Doughmination System</title>
+</svelte:head>
+
+<Protected admin>
+ <div class="page narrow">
+ <PageHead
+ eyebrow="Admin"
+ title="Mental health"
+ subtitle="Update system mental state"
+ back={{
+ href: "/admin/dash",
+ label: "Back to dashboard",
+ }}
+ />
+
+ <Message {message} />
+
+ {#if loading}
+ <p class="muted">Loading…</p>
+ {:else}
+ {#if current && currentOption}
+ <div class="mental mental-{current.level.replaceAll(' ', '-')}">
+ <iconsax-icon name={currentOption.icon} type="bulk" size="32"></iconsax-icon>
+ <div>
+ <p class="mental-label">{currentOption.label}</p>
+ {#if current.notes}<p>{current.notes}</p>{/if}
+ <small class="muted">Last updated: {new Date(current.updated_at).toLocaleString()}</small>
+ </div>
+ </div>
+ {/if}
+
+ <section class="panel stack">
+ <label class="field">
+ <span>Mental state level</span>
+ <select bind:value={level}>
+ <option value="">-- Select mental state --</option>
+ {#each OPTIONS as option (option.value)}
+ <option value={option.value}>{option.label}</option>
+ {/each}
+ </select>
+ </label>
+ <label class="field">
+ <span>Notes (optional)</span>
+ <textarea class="notes" rows="3" bind:value={notes} placeholder="Add any additional notes about the current mental state..."></textarea>
+ </label>
+ <div>
+ <button type="button" class="primary" disabled={saving || !level} onclick={update}>
+ {saving ? "Updating..." : "Update mental state"}
+ </button>
+ </div>
+ </section>
+ {/if}
+ </div>
+</Protected>
+
+<style>
+ /* Prose, not code: the shared textarea style is monospace */
+ .notes {
+ min-height: 6rem;
+ font-family: inherit;
+ font-size: 1rem;
+ }
+</style>
diff --git a/src/routes/admin/pride/+page.svelte b/src/routes/admin/pride/+page.svelte
new file mode 100644
index 0000000..0cae3a2
--- /dev/null
+++ b/src/routes/admin/pride/+page.svelte
@@ -0,0 +1,153 @@
+<!-- src/routes/admin/pride/+page.svelte
+ Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ Licensed under the DASL-1.0 Licence.
+ See LICENCE.md in the project root for full licence information.
+-->
+
+<script lang="ts">
+ import { onMount } from "svelte";
+ import type { PluralMember } from "doughmination-api/server";
+ import { avatarFallback, errorText, fallbackAvatar, memberName, sortMembers, type Message as MessageType } from "#lib";
+ import { client } from "#lib/api.ts";
+ import { PRIDE_FLAGS } from "#lib/pride.ts";
+ import Protected from "#lib/components/Protected.svelte";
+ import PageHead from "#lib/components/PageHead.svelte";
+ import Message from "#lib/components/Message.svelte";
+ import MemberSelect from "#lib/components/MemberSelect.svelte";
+ import PrideSwatch from "#lib/components/PrideSwatch.svelte";
+
+ let members = $state<PluralMember[]>([]);
+ let chosen = $state("");
+ let loading = $state(true);
+ let saving = $state(false);
+ let message = $state<MessageType>(null);
+
+ const selected = $derived(members.find((m) => m.name === chosen));
+ const selectedPride = $derived(selected?.pride ?? []);
+
+ async function reload() {
+ members = sortMembers(await client.getMembers());
+ }
+
+ onMount(() => {
+ void reload().finally(() => (loading = false));
+ });
+
+ async function change(identity: string, action: "add" | "remove") {
+ if (!chosen) return;
+ saving = true;
+ message = null;
+ try {
+ if (action === "add") await client.addMemberPride(chosen, identity);
+ else await client.removeMemberPride(chosen, identity);
+ await reload();
+ message = {
+ type: "success",
+ content: action === "add" ? "Pride identity added!" : "Pride identity removed!",
+ };
+ } catch (err) {
+ message = {
+ type: "error",
+ content: errorText(err, "Failed to update pride identity"),
+ };
+ } finally {
+ saving = false;
+ }
+ }
+</script>
+
+<svelte:head>
+ <title>Pride manager · Doughmination System</title>
+</svelte:head>
+
+<Protected owner>
+ <div class="page">
+ <PageHead
+ eyebrow="Admin"
+ title="Pride manager"
+ subtitle="Assign pride identities to members"
+ back={{
+ href: "/admin/dash",
+ label: "Back to dashboard",
+ }}
+ />
+
+ <Message {message} />
+
+ {#if loading}
+ <p class="muted">Loading…</p>
+ {:else}
+ <div class="two-col">
+ <section class="panel">
+ <h2>All members</h2>
+ <p class="muted small">{members.filter((m) => m.pride?.length).length} member(s) with pride identities</p>
+ <div class="pick-list">
+ {#each members as member (member.id)}
+ <button type="button" class="pick" class:selected={member.name === chosen} onclick={() => (chosen = member.name ?? "")}>
+ <img class="member-avatar avatar-sm" src={member.avatar_url || fallbackAvatar} alt="" onerror={avatarFallback} />
+ <span class="grow">
+ <p>{memberName(member)}</p>
+ {#if member.pride?.length}
+ <span class="chips">
+ {#each member.pride as identity (identity)}
+ <span class="chip"><PrideSwatch label={identity} />{identity}</span>
+ {/each}
+ </span>
+ {:else}
+ <p class="muted small">No pride identities</p>
+ {/if}
+ </span>
+ </button>
+ {/each}
+ </div>
+ </section>
+
+ <section class="panel">
+ <h2>Set pride identities</h2>
+ <MemberSelect id="member-select" label="Select member" {members} bind:value={chosen} note={(m) => (m.pride?.length ? ` (${m.pride.length})` : "")} />
+
+ {#if selected}
+ {#if selectedPride.length}
+ <p class="muted small">Current identities:</p>
+ <div class="chips">
+ {#each selectedPride as identity (identity)}
+ <span class="chip active">
+ <PrideSwatch label={identity} />{identity}
+ <button type="button" class="x" title="Remove {identity}" disabled={saving} onclick={() => change(identity, "remove")}>×</button>
+ </span>
+ {/each}
+ </div>
+ {/if}
+ <p class="muted small">Add an identity:</p>
+ <div class="chips">
+ {#each PRIDE_FLAGS.filter((flag) => !selectedPride.includes(flag.label)) as flag (flag.label)}
+ <button type="button" class="chip" disabled={saving} onclick={() => change(flag.label, "add")}>
+ <PrideSwatch label={flag.label} />{flag.label}
+ </button>
+ {/each}
+ </div>
+ {/if}
+ </section>
+ </div>
+ {/if}
+ </div>
+</Protected>
+
+<style>
+ h2,
+ p {
+ margin: 0;
+ }
+
+ h2 {
+ font-size: 1.05rem;
+ }
+
+ .x {
+ padding: 0 0.15rem;
+ border: 0;
+ background: none;
+ color: inherit;
+ line-height: 1;
+ }
+</style>
diff --git a/src/routes/admin/relationships/+page.svelte b/src/routes/admin/relationships/+page.svelte
new file mode 100644
index 0000000..82cb183
--- /dev/null
+++ b/src/routes/admin/relationships/+page.svelte
@@ -0,0 +1,199 @@
+<!-- src/routes/admin/relationships/+page.svelte
+ Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ Licensed under the DASL-1.0 Licence.
+ See LICENCE.md in the project root for full licence information.
+-->
+
+<script lang="ts">
+ import { onMount } from "svelte";
+ import type { PluralMember, Relationship } from "doughmination-api/server";
+ import { errorText, memberName, sortMembers, type Message as MessageType } from "#lib";
+ import { client } from "#lib/api.ts";
+ import Protected from "#lib/components/Protected.svelte";
+ import PageHead from "#lib/components/PageHead.svelte";
+ import Message from "#lib/components/Message.svelte";
+ import MemberSelect from "#lib/components/MemberSelect.svelte";
+
+ const TYPES = ["partner", "spouse", "queerplatonic", "datemate", "crush"];
+
+ let members = $state<PluralMember[]>([]);
+ let relationships = $state<Relationship[]>([]);
+ let memberA = $state("");
+ let memberB = $state("");
+ let type = $state("partner");
+ let since = $state("");
+ let loading = $state(true);
+ let saving = $state(false);
+ let message = $state<MessageType>(null);
+
+ function labelFor(identifier: string): string {
+ const member = members.find((m) => m.id === identifier || m.name === identifier);
+ return member ? memberName(member) : identifier;
+ }
+
+ async function reload() {
+ relationships = (await client.getRelationships()).relationships ?? [];
+ }
+
+ onMount(async () => {
+ try {
+ members = sortMembers(await client.getMembers());
+ await reload();
+ } finally {
+ loading = false;
+ }
+ });
+
+ async function add() {
+ message = null;
+ if (!memberA || !memberB) {
+ message = {
+ type: "error",
+ content: "Pick two members",
+ };
+ return;
+ }
+ if (memberA === memberB) {
+ message = {
+ type: "error",
+ content: "Pick two different members",
+ };
+ return;
+ }
+
+ saving = true;
+ try {
+ await client.addRelationship({
+ memberA,
+ memberB,
+ type,
+ since: since || null,
+ });
+ memberA = "";
+ memberB = "";
+ since = "";
+ type = "partner";
+ message = {
+ type: "success",
+ content: "Relationship added!",
+ };
+ await reload();
+ } catch (err) {
+ message = {
+ type: "error",
+ content: errorText(err, "Failed to add relationship"),
+ };
+ } finally {
+ saving = false;
+ }
+ }
+
+ async function remove(edge: Relationship) {
+ const pair = `${labelFor(edge.members[0])} & ${labelFor(edge.members[1])}`;
+ if (!confirm(`Remove the relationship between ${pair}?`)) return;
+
+ saving = true;
+ message = null;
+ try {
+ await client.removeRelationship(edge.id);
+ message = {
+ type: "success",
+ content: "Relationship removed!",
+ };
+ await reload();
+ } catch (err) {
+ message = {
+ type: "error",
+ content: errorText(err, "Failed to remove relationship"),
+ };
+ } finally {
+ saving = false;
+ }
+ }
+</script>
+
+<svelte:head>
+ <title>Relationship manager · Doughmination System</title>
+</svelte:head>
+
+<Protected owner>
+ <div class="page">
+ <PageHead
+ eyebrow="Admin"
+ title="Relationship manager"
+ subtitle="Map who is dating who across the system"
+ back={{
+ href: "/admin/dash",
+ label: "Back to dashboard",
+ }}
+ />
+ <div><a class="btn" href="/relationships"><iconsax-icon name="lovely" type="bulk" size="16"></iconsax-icon>View map</a></div>
+
+ <Message {message} />
+
+ {#if loading}
+ <p class="muted">Loading…</p>
+ {:else}
+ <div class="two-col">
+ <section class="panel">
+ <h2>All relationships</h2>
+ <p class="muted small">{relationships.length} link{relationships.length !== 1 ? "s" : ""}</p>
+ {#each relationships as edge (edge.id)}
+ <div class="edge">
+ <div class="grow">
+ <p>{labelFor(edge.members[0])} & {labelFor(edge.members[1])}</p>
+ <p class="muted small">{edge.type}{edge.since ? ` · since ${edge.since}` : ""}</p>
+ </div>
+ <button type="button" class="small danger" disabled={saving} onclick={() => remove(edge)}>Remove</button>
+ </div>
+ {:else}
+ <p class="muted">No relationships yet</p>
+ {/each}
+ </section>
+
+ <section class="panel">
+ <h2>Add relationship</h2>
+ <p class="muted small">Link two members. A member can have many.</p>
+ <MemberSelect id="member-a" label="First member" {members} bind:value={memberA} by="id" />
+ <MemberSelect id="member-b" label="Second member" {members} bind:value={memberB} by="id" />
+ <label class="field">
+ <span>Type</span>
+ <select bind:value={type}>
+ {#each TYPES as option (option)}
+ <option value={option}>{option}</option>
+ {/each}
+ </select>
+ </label>
+ <label class="field">
+ <span>Since (optional)</span>
+ <input type="date" bind:value={since} />
+ </label>
+ <div>
+ <button type="button" class="primary" disabled={saving || !memberA || !memberB} onclick={add}>
+ {saving ? "Adding..." : "Add relationship"}
+ </button>
+ </div>
+ </section>
+ </div>
+ {/if}
+ </div>
+</Protected>
+
+<style>
+ h2,
+ p {
+ margin: 0;
+ }
+
+ h2 {
+ font-size: 1.05rem;
+ }
+
+ .edge {
+ display: flex;
+ gap: 0.75rem;
+ align-items: center;
+ padding: 0.6rem 0;
+ border-top: 1px solid var(--line);
+ }
+</style>
diff --git a/src/routes/admin/status/+page.svelte b/src/routes/admin/status/+page.svelte
new file mode 100644
index 0000000..ad78fe0
--- /dev/null
+++ b/src/routes/admin/status/+page.svelte
@@ -0,0 +1,204 @@
+<!-- src/routes/admin/status/+page.svelte
+ Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ Licensed under the DASL-1.0 Licence.
+ See LICENCE.md in the project root for full licence information.
+-->
+
+<script lang="ts">
+ import { onMount } from "svelte";
+ import type { PluralMember } from "doughmination-api/server";
+ import { avatarFallback, errorText, fallbackAvatar, memberName, sortMembers, type Message as MessageType } from "#lib";
+ import { authFetch, client } from "#lib/api.ts";
+ import Protected from "#lib/components/Protected.svelte";
+ import PageHead from "#lib/components/PageHead.svelte";
+ import Message from "#lib/components/Message.svelte";
+ import MemberSelect from "#lib/components/MemberSelect.svelte";
+
+ const EMOJI = ["💤", "🎮", "📚", "🎨", "🎵", "💻", "🌙", "☀️", "🍕", "☕", "🎬", "✨", "💭", "😴", "🏃", "🧘"];
+
+ let members = $state<PluralMember[]>([]);
+ let chosen = $state("");
+ let text = $state("");
+ let emoji = $state("");
+ let loading = $state(true);
+ let saving = $state(false);
+ let message = $state<MessageType>(null);
+
+ const current = $derived(members.find((m) => m.name === chosen)?.status ?? null);
+ const withStatus = $derived(members.filter((m) => m.status));
+
+ async function reload() {
+ members = sortMembers(await client.getMembers());
+ }
+
+ onMount(() => {
+ void reload().finally(() => (loading = false));
+ });
+
+ // Picking a member fills the form with their current status
+ $effect(() => {
+ const status = members.find((m) => m.name === chosen)?.status;
+ text = status?.text ?? "";
+ emoji = status?.emoji ?? "";
+ });
+
+ async function save(event: SubmitEvent) {
+ event.preventDefault();
+ if (!chosen || !text.trim()) return;
+ if (text.length > 100) {
+ message = {
+ type: "error",
+ content: "Status must be ≤ 100 chars",
+ };
+ return;
+ }
+
+ saving = true;
+ message = null;
+ try {
+ await client.setMemberStatus(chosen, {
+ text: text.trim(),
+ emoji: emoji || undefined,
+ });
+ message = {
+ type: "success",
+ content: "Status updated!",
+ };
+ await reload();
+ } catch (err) {
+ message = {
+ type: "error",
+ content: errorText(err, "Failed to update status"),
+ };
+ } finally {
+ saving = false;
+ }
+ }
+
+ async function clear() {
+ if (!chosen || !confirm(`Clear status for ${chosen}?`)) return;
+
+ saving = true;
+ message = null;
+ try {
+ await authFetch(`/plural/members/${encodeURIComponent(chosen)}/status`, { method: "DELETE" }, "Failed to clear status");
+ message = {
+ type: "success",
+ content: "Status cleared!",
+ };
+ await reload();
+ } catch (err) {
+ message = {
+ type: "error",
+ content: errorText(err, "Failed to clear status"),
+ };
+ } finally {
+ saving = false;
+ }
+ }
+</script>
+
+<svelte:head>
+ <title>Status manager · Doughmination System</title>
+</svelte:head>
+
+<Protected admin>
+ <div class="page">
+ <PageHead
+ eyebrow="Admin"
+ title="Status manager"
+ subtitle="Update member status messages"
+ back={{
+ href: "/admin/dash",
+ label: "Back to dashboard",
+ }}
+ />
+
+ <Message {message} />
+
+ {#if loading}
+ <p class="muted">Loading…</p>
+ {:else}
+ <div class="two-col">
+ <form class="panel stack" onsubmit={save}>
+ <MemberSelect id="member-select" label="Select member" {members} bind:value={chosen} note={(m) => (m.status ? " (has status)" : "")} />
+
+ {#if chosen}
+ <div class="field">
+ <span>Emoji (optional)</span>
+ <div class="row">
+ <input class="emoji-input" type="text" bind:value={emoji} maxlength="2" placeholder="😊" />
+ <div class="chips">
+ {#each EMOJI as suggestion (suggestion)}
+ <button type="button" class="chip" aria-label="Select emoji {suggestion}" onclick={() => (emoji = suggestion)}>{suggestion}</button>
+ {/each}
+ </div>
+ </div>
+ </div>
+
+ <label class="field">
+ <span>Status text</span>
+ <input type="text" bind:value={text} placeholder="What's happening?" maxlength="100" />
+ <small class="muted">{text.length}/100 characters</small>
+ </label>
+
+ <div class="buttons">
+ <button type="submit" class="primary" disabled={saving || !text.trim()}>{saving ? "Updating..." : "Update status"}</button>
+ {#if current}
+ <button type="button" class="danger" disabled={saving} onclick={clear}>Clear</button>
+ {/if}
+ </div>
+
+ {#if current}
+ <p class="notice">
+ Current: {current.emoji ?? ""} {current.text}
+ <br /><small class="muted">Updated {new Date(current.updated_at).toLocaleString()}</small>
+ </p>
+ {/if}
+ {/if}
+ </form>
+
+ <section class="panel">
+ <h2>Members with a status</h2>
+ <p class="muted small">{withStatus.length} member(s) have status set</p>
+ <div class="pick-list">
+ {#each withStatus as member (member.id)}
+ <button type="button" class="pick" class:selected={member.name === chosen} onclick={() => (chosen = member.name ?? "")}>
+ <img class="member-avatar avatar-sm" src={member.avatar_url || fallbackAvatar} alt="" onerror={avatarFallback} />
+ <span class="grow">
+ <p>{memberName(member)}</p>
+ <p class="muted small">{member.status?.emoji ?? ""} {member.status?.text}</p>
+ </span>
+ </button>
+ {:else}
+ <p class="muted">No members have status set</p>
+ {/each}
+ </div>
+ </section>
+ </div>
+ {/if}
+ </div>
+</Protected>
+
+<style>
+ h2,
+ p {
+ margin: 0;
+ }
+
+ h2 {
+ font-size: 1.05rem;
+ }
+
+ .row {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 0.6rem;
+ align-items: center;
+ }
+
+ .emoji-input {
+ width: 4rem;
+ text-align: center;
+ }
+</style>
diff --git a/src/routes/admin/switch/+page.svelte b/src/routes/admin/switch/+page.svelte
new file mode 100644
index 0000000..e17bad4
--- /dev/null
+++ b/src/routes/admin/switch/+page.svelte
@@ -0,0 +1,179 @@
+<!-- src/routes/admin/switch/+page.svelte
+ Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ Licensed under the DASL-1.0 Licence.
+ See LICENCE.md in the project root for full licence information.
+-->
+
+<script lang="ts">
+ import { onMount } from "svelte";
+ import type { PluralMember } from "doughmination-api/server";
+ import { avatarFallback, errorText, fallbackAvatar, memberName, sortMembers, type Message as MessageType } from "#lib";
+ import { client } from "#lib/api.ts";
+ import Protected from "#lib/components/Protected.svelte";
+ import PageHead from "#lib/components/PageHead.svelte";
+ import Message from "#lib/components/Message.svelte";
+
+ let members = $state<PluralMember[]>([]);
+ let fronters = $state<PluralMember[]>([]);
+ let selected = $state(new Set<string>());
+ let search = $state("");
+ let loading = $state(true);
+ let saving = $state(false);
+ let message = $state<MessageType>(null);
+
+ const shown = $derived(
+ members.filter((m) => {
+ const query = search.toLowerCase();
+ return memberName(m).toLowerCase().includes(query) || m.tags?.some((tag) => tag.toLowerCase().includes(query));
+ }),
+ );
+
+ const changed = $derived.by(() => {
+ const current = new Set(fronters.map((m) => m.id));
+ if (current.size !== selected.size) return true;
+ return [...selected].some((id) => !current.has(id));
+ });
+
+ async function loadFronters() {
+ fronters = (await client.getFronters()).members ?? [];
+ }
+
+ onMount(async () => {
+ try {
+ members = sortMembers(await client.getMembers());
+ await loadFronters();
+ selected = new Set(fronters.map((m) => m.id));
+ } finally {
+ loading = false;
+ }
+ });
+
+ function toggle(id: string) {
+ const next = new Set(selected);
+ if (next.has(id)) next.delete(id);
+ else next.add(id);
+ selected = next;
+ }
+
+ async function apply() {
+ if (selected.size === 0) {
+ message = {
+ type: "error",
+ content: "Please select at least one member",
+ };
+ return;
+ }
+ saving = true;
+ message = null;
+ try {
+ const result = await client.multiSwitch([...selected]);
+ const count = result.count ?? selected.size;
+ message = {
+ type: "success",
+ content: `Successfully switched to ${count} member${count !== 1 ? "s" : ""}!`,
+ };
+ await loadFronters();
+ } catch (err) {
+ message = {
+ type: "error",
+ content: errorText(err, "Failed to switch fronters"),
+ };
+ } finally {
+ saving = false;
+ }
+ }
+</script>
+
+<svelte:head>
+ <title>Switch manager · Doughmination System</title>
+</svelte:head>
+
+<Protected admin>
+ <div class="page">
+ <PageHead
+ eyebrow="Admin"
+ title="Switch manager"
+ subtitle="Manage fronting members"
+ back={{
+ href: "/admin/dash",
+ label: "Back to dashboard",
+ }}
+ />
+
+ <Message {message} />
+
+ {#if loading}
+ <p class="muted">Loading…</p>
+ {:else}
+ <div class="two-col">
+ <section class="panel">
+ <input type="text" placeholder="Search members..." bind:value={search} />
+ <div class="buttons">
+ <button type="button" class="small" disabled={shown.length === 0} onclick={() => (selected = new Set(shown.map((m) => m.id)))}>Select all</button>
+ <button type="button" class="small" disabled={selected.size === 0} onclick={() => (selected = new Set())}>Clear all</button>
+ <span class="muted small">{selected.size} selected</span>
+ </div>
+ <div class="pick-list">
+ {#each shown as member (member.id)}
+ <button type="button" class="pick" class:selected={selected.has(member.id)} onclick={() => toggle(member.id)}>
+ <input type="checkbox" checked={selected.has(member.id)} tabindex="-1" />
+ <img class="member-avatar avatar-sm" src={member.avatar_url || fallbackAvatar} alt="" onerror={avatarFallback} />
+ <span class="grow">
+ <p>
+ {memberName(member)}
+ {#if fronters.some((f) => f.id === member.id)}<span class="badge accent">fronting</span>{/if}
+ </p>
+ {#if member.pronouns}<p class="muted small">{member.pronouns}</p>{/if}
+ </span>
+ </button>
+ {:else}
+ <p class="muted">{search ? "No members found matching your search" : "No members available"}</p>
+ {/each}
+ </div>
+ </section>
+
+ <div class="stack">
+ <section class="panel">
+ <h2>Currently fronting</h2>
+ {#each fronters as member (member.id)}
+ <div class="with-icon"><img class="member-avatar avatar-sm" src={member.avatar_url || fallbackAvatar} alt="" onerror={avatarFallback} />{memberName(member)}</div>
+ {:else}
+ <p class="muted">No one currently fronting</p>
+ {/each}
+ </section>
+
+ <section class="panel">
+ <h2>Selected</h2>
+ <p class="muted small">{selected.size} member{selected.size !== 1 ? "s" : ""} selected</p>
+ {#each members.filter((m) => selected.has(m.id)) as member (member.id)}
+ <div class="with-icon">
+ <img class="member-avatar avatar-sm" src={member.avatar_url || fallbackAvatar} alt="" onerror={avatarFallback} />
+ <span class="grow">{memberName(member)}</span>
+ <button type="button" class="small" title="Remove" onclick={() => toggle(member.id)}>×</button>
+ </div>
+ {/each}
+ </section>
+
+ <button type="button" class="primary" disabled={saving || selected.size === 0 || !changed} onclick={apply}>
+ {saving ? "Switching..." : changed ? "Apply switch" : "No changes"}
+ </button>
+ </div>
+ </div>
+ {/if}
+ </div>
+</Protected>
+
+<style>
+ h2,
+ p {
+ margin: 0;
+ }
+
+ h2 {
+ font-size: 1.05rem;
+ }
+
+ .pick input {
+ pointer-events: none;
+ }
+</style>
diff --git a/src/routes/admin/tags/+page.svelte b/src/routes/admin/tags/+page.svelte
new file mode 100644
index 0000000..c4e9fde
--- /dev/null
+++ b/src/routes/admin/tags/+page.svelte
@@ -0,0 +1,234 @@
+<!-- src/routes/admin/tags/+page.svelte
+ Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ Licensed under the DASL-1.0 Licence.
+ See LICENCE.md in the project root for full licence information.
+-->
+
+<script lang="ts">
+ import { onMount } from "svelte";
+ import type { PluralMember } from "doughmination-api/server";
+ import { avatarFallback, errorText, fallbackAvatar, memberName, sortMembers, type Message as MessageType } from "#lib";
+ import { authFetch, client } from "#lib/api.ts";
+ import Protected from "#lib/components/Protected.svelte";
+ import PageHead from "#lib/components/PageHead.svelte";
+ import Message from "#lib/components/Message.svelte";
+ import MemberSelect from "#lib/components/MemberSelect.svelte";
+
+ let members = $state<PluralMember[]>([]);
+ let chosen = $state("");
+ let newTag = $state("");
+ let search = $state("");
+ let loading = $state(true);
+ let saving = $state(false);
+ let message = $state<MessageType>(null);
+
+ const allTags = $derived([...new Set(members.flatMap((m) => m.tags ?? []))].sort((a, b) => a.localeCompare(b)));
+ const selected = $derived(members.find((m) => m.name === chosen));
+ const shown = $derived(
+ members.filter((m) => {
+ const query = search.toLowerCase();
+ return memberName(m).toLowerCase().includes(query) || m.tags?.some((tag) => tag.toLowerCase().includes(query));
+ }),
+ );
+
+ async function reload() {
+ members = sortMembers(await client.getMembers());
+ }
+
+ onMount(() => {
+ void reload().finally(() => (loading = false));
+ });
+
+ async function change(action: () => Promise<unknown>, done: string, fallback: string) {
+ saving = true;
+ message = null;
+ try {
+ await action();
+ message = {
+ type: "success",
+ content: done,
+ };
+ await reload();
+ } catch (err) {
+ message = {
+ type: "error",
+ content: errorText(err, fallback),
+ };
+ } finally {
+ saving = false;
+ }
+ }
+
+ async function addTag() {
+ const tag = newTag.trim();
+ if (!chosen || !tag) return;
+ await change(
+ () =>
+ authFetch(
+ `/plural/member-tags/${encodeURIComponent(chosen)}/add`,
+ {
+ method: "POST",
+ body: JSON.stringify({ tag }),
+ },
+ "Failed to add tag",
+ ),
+ "Tag added successfully!",
+ "Failed to add tag",
+ );
+ newTag = "";
+ }
+
+ async function removeTag(member: string, tag: string) {
+ if (!confirm(`Remove tag "${tag}" from ${member}?`)) return;
+ await change(
+ () =>
+ authFetch(
+ `/plural/member-tags/${encodeURIComponent(member)}/${encodeURIComponent(tag)}`,
+ { method: "DELETE" },
+ "Failed to remove tag",
+ ),
+ "Tag removed successfully!",
+ "Failed to remove tag",
+ );
+ }
+</script>
+
+<svelte:head>
+ <title>Tag manager · Doughmination System</title>
+</svelte:head>
+
+<Protected admin>
+ <div class="page">
+ <PageHead
+ eyebrow="Admin"
+ title="Tag manager"
+ subtitle="Manage member tags and sub-systems"
+ back={{
+ href: "/admin/dash",
+ label: "Back to dashboard",
+ }}
+ />
+
+ <Message {message} />
+
+ {#if loading}
+ <p class="muted">Loading…</p>
+ {:else}
+ <div class="two-col">
+ <section class="panel">
+ <h2>All members</h2>
+ <p class="muted small">{members.filter((m) => m.tags?.length).length} member(s) with tags</p>
+ <input type="text" placeholder="Search members or tags..." bind:value={search} />
+ <div class="pick-list">
+ {#each shown as member (member.id)}
+ <div class="pick" class:selected={member.name === chosen}>
+ <img class="member-avatar avatar-sm" src={member.avatar_url || fallbackAvatar} alt="" onerror={avatarFallback} />
+ <span class="grow">
+ <button type="button" class="link" onclick={() => (chosen = member.name ?? "")}>{memberName(member)}</button>
+ {#if member.tags?.length}
+ <span class="chips">
+ {#each member.tags as tag (tag)}
+ <span class="chip">
+ {tag}
+ <button type="button" class="x" title="Remove {tag}" disabled={saving} onclick={() => removeTag(member.name ?? "", tag)}>×</button>
+ </span>
+ {/each}
+ </span>
+ {:else}
+ <span class="muted small">No tags</span>
+ {/if}
+ </span>
+ </div>
+ {:else}
+ <p class="muted">{search ? "No members found matching your search" : "No members available"}</p>
+ {/each}
+ </div>
+ </section>
+
+ <div class="stack">
+ <section class="panel">
+ <h2>Add tag</h2>
+ <MemberSelect id="member-select" label="Select member" {members} bind:value={chosen} note={(m) => (m.tags?.length ? ` (${m.tags.length} tag${m.tags.length !== 1 ? "s" : ""})` : "")} />
+
+ {#if selected}
+ <p class="muted small">Current tags:</p>
+ <div class="chips">
+ {#each selected.tags ?? [] as tag (tag)}
+ <span class="chip">{tag}</span>
+ {:else}
+ <span class="muted small">No tags assigned</span>
+ {/each}
+ </div>
+
+ <label class="field">
+ <span>New tag</span>
+ <input
+ type="text"
+ bind:value={newTag}
+ placeholder="Enter tag name..."
+ onkeydown={(event) => {
+ if (event.key !== "Enter") return;
+ event.preventDefault();
+ void addTag();
+ }}
+ />
+ </label>
+ {#if allTags.length}
+ <p class="muted small">Or pick an existing tag:</p>
+ <div class="chips">
+ {#each allTags as tag (tag)}
+ <button type="button" class="chip" class:active={newTag === tag} onclick={() => (newTag = tag)}>{tag}</button>
+ {/each}
+ </div>
+ {/if}
+ <div>
+ <button type="button" class="primary" disabled={saving || !newTag.trim()} onclick={addTag}>{saving ? "Adding..." : "Add tag"}</button>
+ </div>
+ {/if}
+ </section>
+
+ {#if allTags.length}
+ <section class="panel">
+ <h2>Tag statistics</h2>
+ <p class="muted small">{allTags.length} unique tag{allTags.length !== 1 ? "s" : ""}</p>
+ <div class="chips">
+ {#each allTags as tag (tag)}
+ <span class="chip">{tag} <span class="muted">×{members.filter((m) => m.tags?.includes(tag)).length}</span></span>
+ {/each}
+ </div>
+ </section>
+ {/if}
+ </div>
+ </div>
+ {/if}
+ </div>
+</Protected>
+
+<style>
+ h2,
+ p {
+ margin: 0;
+ }
+
+ h2 {
+ font-size: 1.05rem;
+ }
+
+ .link {
+ display: block;
+ margin-bottom: 0.3rem;
+ padding: 0;
+ border: 0;
+ background: none;
+ font-weight: 600;
+ }
+
+ .x {
+ padding: 0 0.15rem;
+ border: 0;
+ background: none;
+ color: var(--bad);
+ font-size: 0.9rem;
+ line-height: 1;
+ }
+</style>
diff --git a/src/routes/fronting/+page.svelte b/src/routes/fronting/+page.svelte
new file mode 100644
index 0000000..57773be
--- /dev/null
+++ b/src/routes/fronting/+page.svelte
@@ -0,0 +1,13 @@
+<!-- src/routes/fronting/+page.svelte
+ Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ Licensed under the DASL-1.0 Licence.
+ See LICENCE.md in the project root for full licence information.
+-->
+
+<script lang="ts">
+ import Home from "#lib/components/Home.svelte";
+
+ let { data } = $props();
+</script>
+
+<Home members={data.members} fronters={data.fronters} system={data.system} />
diff --git a/src/app/page.tsx b/src/routes/fronting/+page.ts
similarity index 56%
rename from src/app/page.tsx
rename to src/routes/fronting/+page.ts
index d86c959..82144bd 100644
--- a/src/app/page.tsx
+++ b/src/routes/fronting/+page.ts
@@ -1,11 +1,7 @@
-/* system/src/app/page.tsx
+/* src/routes/fronting/+page.ts
* Copyright (c) 2026 Clove Nytrix Doughmination Twilight
* Licensed under the DASL-1.0 Licence.
* See LICENCE.md in the project root for full licence information.
*/
-import HomePage from "@/components/HomePage";
-
-export default function Home() {
- return <HomePage />;
-}
+export { load } from "../+page.ts";
diff --git a/src/routes/owner/+layout.ts b/src/routes/owner/+layout.ts
new file mode 100644
index 0000000..6dd9407
--- /dev/null
+++ b/src/routes/owner/+layout.ts
@@ -0,0 +1,8 @@
+/* src/routes/owner/+layout.ts
+ * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ * Licensed under the DASL-1.0 Licence.
+ * See LICENCE.md in the project root for full licence information.
+ */
+
+// Signed-in pages: the token lives in localStorage, so they render in the browser
+export const ssr = false;
diff --git a/src/routes/owner/dash/+page.svelte b/src/routes/owner/dash/+page.svelte
new file mode 100644
index 0000000..4c529cd
--- /dev/null
+++ b/src/routes/owner/dash/+page.svelte
@@ -0,0 +1,36 @@
+<!-- src/routes/owner/dash/+page.svelte
+ Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ Licensed under the DASL-1.0 Licence.
+ See LICENCE.md in the project root for full licence information.
+-->
+
+<script lang="ts">
+ import Protected from "#lib/components/Protected.svelte";
+ import PageHead from "#lib/components/PageHead.svelte";
+</script>
+
+<svelte:head>
+ <title>Owner dashboard · Doughmination System</title>
+</svelte:head>
+
+<Protected owner>
+ <div class="page">
+ <PageHead
+ eyebrow="Owner"
+ title="Owner dashboard"
+ subtitle="System management hub"
+ back={{
+ href: "/",
+ label: "Back to home",
+ }}
+ />
+
+ <div class="tiles">
+ <a class="tile" href="/owner/users">
+ <span class="tile-icon"><iconsax-icon name="people" type="bulk" size="22"></iconsax-icon></span>
+ <h3>User management</h3>
+ <p>Manage all users</p>
+ </a>
+ </div>
+ </div>
+</Protected>
diff --git a/src/routes/owner/users/+page.svelte b/src/routes/owner/users/+page.svelte
new file mode 100644
index 0000000..8c257a3
--- /dev/null
+++ b/src/routes/owner/users/+page.svelte
@@ -0,0 +1,339 @@
+<!-- src/routes/owner/users/+page.svelte
+ Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ Licensed under the DASL-1.0 Licence.
+ See LICENCE.md in the project root for full licence information.
+-->
+
+<script lang="ts">
+ import { onMount } from "svelte";
+ import { avatarFallback, errorText, fallbackAvatar, type Message as MessageType } from "#lib";
+ import { authFetch } from "#lib/api.ts";
+ import { auth } from "#lib/auth.svelte.ts";
+ import Protected from "#lib/components/Protected.svelte";
+ import PageHead from "#lib/components/PageHead.svelte";
+ import Message from "#lib/components/Message.svelte";
+
+ type User = {
+ id: string;
+ username: string;
+ display_name?: string;
+ email?: string | null;
+ is_admin: boolean;
+ is_owner?: boolean;
+ is_pet?: boolean;
+ avatar_url?: string;
+ };
+
+ let users = $state<User[]>([]);
+ let loading = $state(true);
+ let saving = $state(false);
+ let message = $state<MessageType>(null);
+
+ let creating = $state(false);
+ let draft = $state({
+ username: "",
+ displayName: "",
+ email: "",
+ isAdmin: false,
+ isPet: false,
+ });
+
+ let editingId = $state<string | null>(null);
+ let edit = $state({
+ displayName: "",
+ email: "",
+ avatarUrl: "",
+ isAdmin: false,
+ isPet: false,
+ });
+
+ const myId = $derived(auth.user?.id ?? "");
+
+ async function fetchUsers() {
+ try {
+ const list = await authFetch<User[]>("/plural/users", {}, "Failed to fetch users");
+ users = [...list].sort((a, b) => a.username.localeCompare(b.username));
+ } catch (err) {
+ message = {
+ type: "error",
+ content: errorText(err, "Network error occurred"),
+ };
+ }
+ }
+
+ onMount(() => {
+ void fetchUsers().finally(() => (loading = false));
+ });
+
+ // Runs a change, reports it, and reloads the list
+ async function run(action: () => Promise<unknown>, done: string, fallback: string): Promise<boolean> {
+ saving = true;
+ message = null;
+ try {
+ await action();
+ message = {
+ type: "success",
+ content: done,
+ };
+ await fetchUsers();
+ return true;
+ } catch (err) {
+ message = {
+ type: "error",
+ content: errorText(err, fallback),
+ };
+ return false;
+ } finally {
+ saving = false;
+ }
+ }
+
+ async function createUser(event: SubmitEvent) {
+ event.preventDefault();
+ if (!draft.username.trim()) {
+ message = {
+ type: "error",
+ content: "Username is required",
+ };
+ return;
+ }
+
+ const ok = await run(
+ () =>
+ authFetch(
+ "/plural/users",
+ {
+ method: "POST",
+ body: JSON.stringify({
+ username: draft.username.trim(),
+ display_name: draft.displayName.trim() || undefined,
+ email: draft.email.trim() || undefined,
+ is_admin: draft.isAdmin,
+ is_pet: draft.isPet,
+ }),
+ },
+ "Failed to create user",
+ ),
+ "User created. They can sign in once they authenticate with SSO under this username.",
+ "Failed to create user",
+ );
+ if (ok) cancelCreate();
+ }
+
+ function cancelCreate() {
+ creating = false;
+ draft = {
+ username: "",
+ displayName: "",
+ email: "",
+ isAdmin: false,
+ isPet: false,
+ };
+ }
+
+ function startEditing(user: User) {
+ editingId = user.id;
+ edit = {
+ displayName: user.display_name || "",
+ email: user.email || "",
+ avatarUrl: user.avatar_url || "",
+ isAdmin: Boolean(user.is_admin),
+ isPet: Boolean(user.is_pet),
+ };
+ message = null;
+ }
+
+ async function saveUser(user: User) {
+ // Only the owner may change someone's email, and only when it actually changed
+ const emailChange = auth.isOwner && edit.email.trim() !== (user.email || "") ? { email: edit.email.trim() || null } : {};
+
+ const ok = await run(
+ () =>
+ authFetch(
+ `/plural/users/${user.id}`,
+ {
+ method: "PUT",
+ body: JSON.stringify({
+ display_name: edit.displayName.trim() || null,
+ avatar_url: edit.avatarUrl.trim() || null,
+ is_admin: edit.isAdmin,
+ is_pet: edit.isPet,
+ ...emailChange,
+ }),
+ },
+ "Failed to update user",
+ ),
+ `Updated @${user.username} successfully!`,
+ "Failed to update user",
+ );
+ if (ok) editingId = null;
+ }
+
+ async function deleteUser(user: User) {
+ if (user.id === myId) {
+ message = {
+ type: "error",
+ content: "Cannot delete your own account",
+ };
+ return;
+ }
+ if (!confirm(`Delete user "${user.username}"? This action cannot be undone.`)) return;
+
+ await run(
+ () => authFetch(`/plural/users/${user.id}`, { method: "DELETE" }, "Failed to delete user"),
+ "User deleted successfully!",
+ "Failed to delete user",
+ );
+ }
+</script>
+
+<svelte:head>
+ <title>User manager · Doughmination System</title>
+</svelte:head>
+
+<Protected owner>
+ <div class="page">
+ <PageHead
+ eyebrow="Owner"
+ title="User manager"
+ subtitle="Manage system users, roles and permissions"
+ back={{
+ href: "/owner/dash",
+ label: "Back to dashboard",
+ }}
+ />
+
+ <Message {message} />
+
+ {#if loading}
+ <p class="muted">Loading…</p>
+ {:else}
+ {#if creating}
+ <form class="panel stack" onsubmit={createUser}>
+ <h2>Create new user</h2>
+ <div class="grid2">
+ <label class="field">
+ <span>Username *</span>
+ <input type="text" bind:value={draft.username} placeholder="Enter username" disabled={saving} />
+ </label>
+ <label class="field">
+ <span>Display name</span>
+ <input type="text" bind:value={draft.displayName} placeholder="Optional display name" disabled={saving} />
+ </label>
+ </div>
+ <label class="field">
+ <span>Email</span>
+ <input type="email" bind:value={draft.email} placeholder="[email protected]" disabled={saving} />
+ <small class="muted">
+ Optional contact address. Sign-in is handled by SSO — this account links to the person the first time they
+ log in under this username.
+ </small>
+ </label>
+ <label class="check"><input type="checkbox" bind:checked={draft.isAdmin} disabled={saving} /> Admin privileges</label>
+ <label class="check"><input type="checkbox" bind:checked={draft.isPet} disabled={saving} /> Pet role</label>
+ <div class="buttons">
+ <button type="submit" class="primary" disabled={saving}>{saving ? "Creating..." : "Create user"}</button>
+ <button type="button" disabled={saving} onclick={cancelCreate}>Cancel</button>
+ </div>
+ </form>
+ {:else}
+ <div><button type="button" class="primary" onclick={() => (creating = true)}>
+ <iconsax-icon name="user-add" type="bulk" size="16"></iconsax-icon>Create new user
+ </button></div>
+ {/if}
+
+ <section class="panel">
+ <h2>All users</h2>
+ <p class="muted small">{users.length} user{users.length !== 1 ? "s" : ""} in the system · {users.filter((u) => u.is_admin).length} admin(s)</p>
+
+ {#each users as user (user.id)}
+ <div class="user">
+ <div class="user-row">
+ <img class="member-avatar avatar-sm" src={user.avatar_url || fallbackAvatar} alt="" onerror={avatarFallback} />
+ <div class="grow">
+ <p>
+ <strong>{user.display_name || user.username}</strong>
+ {#if user.is_owner}<span class="badge accent">Owner</span>{/if}
+ {#if user.is_admin}<span class="badge danger">Admin</span>{/if}
+ {#if user.is_pet}<span class="badge">Pet</span>{/if}
+ {#if user.id === myId}<span class="badge">You</span>{/if}
+ </p>
+ <p class="muted small">@{user.username} · {user.email || "no email on file"}</p>
+ </div>
+ <div class="buttons">
+ <button type="button" class="small" disabled={saving} onclick={() => (editingId === user.id ? (editingId = null) : startEditing(user))}>
+ {editingId === user.id ? "Close" : "Edit"}
+ </button>
+ {#if user.id !== myId}
+ <button type="button" class="small danger" disabled={saving} onclick={() => deleteUser(user)}>Delete</button>
+ {/if}
+ </div>
+ </div>
+
+ {#if editingId === user.id}
+ <div class="stack edit">
+ <div class="grid2">
+ <label class="field">
+ <span>Display name</span>
+ <input type="text" bind:value={edit.displayName} placeholder="Display name" disabled={saving} />
+ </label>
+ <label class="field">
+ <span>Email</span>
+ <input type="email" bind:value={edit.email} placeholder="[email protected]" disabled={saving || !auth.isOwner} />
+ </label>
+ </div>
+ <label class="field">
+ <span>Avatar URL</span>
+ <input type="url" bind:value={edit.avatarUrl} placeholder="https://example.com/avatar.png" disabled={saving} />
+ <small class="muted">Avatars are external image links — no uploads</small>
+ </label>
+ <label class="check"><input type="checkbox" bind:checked={edit.isAdmin} disabled={saving} /> Admin privileges</label>
+ <label class="check"><input type="checkbox" bind:checked={edit.isPet} disabled={saving} /> Pet role</label>
+ <div class="buttons">
+ <button type="button" class="primary" disabled={saving} onclick={() => saveUser(user)}>{saving ? "Saving..." : "Save changes"}</button>
+ <button type="button" disabled={saving} onclick={() => (editingId = null)}>Cancel</button>
+ </div>
+ </div>
+ {/if}
+ </div>
+ {:else}
+ <p class="muted">No users found</p>
+ {/each}
+ </section>
+ {/if}
+ </div>
+</Protected>
+
+<style>
+ h2,
+ p {
+ margin: 0;
+ }
+
+ h2 {
+ font-size: 1.15rem;
+ }
+
+ .user {
+ padding: 0.75rem 0;
+ border-top: 1px solid var(--line);
+ }
+
+ .user-row {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 0.75rem;
+ align-items: center;
+ }
+
+ .user-row .badge {
+ margin-left: 0.25rem;
+ }
+
+ .edit {
+ margin-top: 0.75rem;
+ padding: 1rem;
+ border-radius: 0.75rem;
+ background: rgb(0 0 0 / 20%);
+ }
+</style>
diff --git a/src/routes/relationships/+page.svelte b/src/routes/relationships/+page.svelte
new file mode 100644
index 0000000..7dcfc77
--- /dev/null
+++ b/src/routes/relationships/+page.svelte
@@ -0,0 +1,124 @@
+<!-- src/routes/relationships/+page.svelte
+ Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ Licensed under the DASL-1.0 Licence.
+ See LICENCE.md in the project root for full licence information.
+-->
+
+<script lang="ts">
+ import type { PluralMember } from "doughmination-api/server";
+ import { fallbackAvatar, memberName } from "#lib";
+ import { normalizeColor } from "#lib/colour.ts";
+ import PageHead from "#lib/components/PageHead.svelte";
+
+ let { data } = $props();
+
+ const SIZE = 720;
+ const CENTER = SIZE / 2;
+ const RING_RADIUS = 280;
+ const NODE_RADIUS = 34;
+
+ const byId = $derived.by(() => {
+ const lookup = new Map<string, PluralMember>();
+ for (const member of data.members) {
+ if (member.id) lookup.set(member.id, member);
+ if (member.name) lookup.set(member.name, member);
+ }
+ return lookup;
+ });
+
+ // Everyone in a relationship, spaced evenly round a ring
+ const nodes = $derived.by(() => {
+ const involved = new Set(data.relationships.flatMap((edge) => edge.members));
+ const resolved = [...involved].map((id) => byId.get(id)).filter((m): m is PluralMember => Boolean(m));
+ const unique = [...new Map(resolved.map((m) => [m.id, m])).values()];
+
+ return unique.map((member, index) => {
+ const angle = (index / Math.max(unique.length, 1)) * Math.PI * 2 - Math.PI / 2;
+ return {
+ member,
+ x: CENTER + RING_RADIUS * Math.cos(angle),
+ y: CENTER + RING_RADIUS * Math.sin(angle),
+ };
+ });
+ });
+
+ function nodeFor(identifier: string) {
+ return nodes.find((node) => node.member.id === identifier || node.member.name === identifier);
+ }
+</script>
+
+<svelte:head>
+ <title>Relationship Map · Doughmination System</title>
+</svelte:head>
+
+<div class="page">
+ <PageHead
+ eyebrow="// system.relationships"
+ title="Relationship Map"
+ subtitle="Who is dating who across the system"
+ back={{
+ href: "/",
+ label: "Back to home",
+ }}
+ />
+
+ {#if nodes.length === 0}
+ <p class="panel muted">No relationships to show yet</p>
+ {:else}
+ <section class="panel map">
+ <svg viewBox="0 0 {SIZE} {SIZE}" width="100%" role="img" aria-label="Relationship map">
+ <defs>
+ {#each nodes as node (node.member.id)}
+ <clipPath id="clip-{node.member.id}">
+ <circle cx={node.x} cy={node.y} r={NODE_RADIUS} />
+ </clipPath>
+ {/each}
+ </defs>
+
+ {#each data.relationships as edge (edge.id)}
+ {@const from = nodeFor(edge.members[0])}
+ {@const to = nodeFor(edge.members[1])}
+ {#if from && to}
+ <line x1={from.x} y1={from.y} x2={to.x} y2={to.y} stroke="var(--accent)" stroke-width="2" stroke-opacity="0.55" />
+ <text x={(from.x + to.x) / 2} y={(from.y + to.y) / 2 - 4} text-anchor="middle" font-size="11" fill="var(--muted)">
+ {edge.type}
+ </text>
+ {/if}
+ {/each}
+
+ {#each nodes as node (node.member.id)}
+ <a href="/{node.member.name ?? node.member.id}">
+ <circle
+ cx={node.x}
+ cy={node.y}
+ r={NODE_RADIUS + 2}
+ fill="var(--bg)"
+ stroke={normalizeColor(node.member.color) ?? "var(--accent)"}
+ stroke-width="2"
+ />
+ <image
+ href={node.member.avatar_url || fallbackAvatar}
+ x={node.x - NODE_RADIUS}
+ y={node.y - NODE_RADIUS}
+ width={NODE_RADIUS * 2}
+ height={NODE_RADIUS * 2}
+ clip-path="url(#clip-{node.member.id})"
+ preserveAspectRatio="xMidYMid slice"
+ />
+ <text x={node.x} y={node.y + NODE_RADIUS + 16} text-anchor="middle" font-size="13" fill="var(--text)">
+ {memberName(node.member)}
+ </text>
+ </a>
+ {/each}
+ </svg>
+ </section>
+ {/if}
+</div>
+
+<style>
+ .map svg {
+ display: block;
+ max-width: 720px;
+ margin: 0 auto;
+ }
+</style>
diff --git a/src/routes/relationships/+page.ts b/src/routes/relationships/+page.ts
new file mode 100644
index 0000000..37d0874
--- /dev/null
+++ b/src/routes/relationships/+page.ts
@@ -0,0 +1,23 @@
+/* src/routes/relationships/+page.ts
+ * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ * Licensed under the DASL-1.0 Licence.
+ * See LICENCE.md in the project root for full licence information.
+ */
+
+import type { PageLoad } from "./$types";
+import { publicClient } from "#lib/api.ts";
+
+export const load: PageLoad = async ({ fetch, depends }) => {
+ depends("api:public");
+ const api = publicClient(fetch);
+
+ const [members, relationships] = await Promise.all([
+ api.getMembers().catch(() => []),
+ api.getRelationships().catch(() => null),
+ ]);
+
+ return {
+ members,
+ relationships: relationships?.relationships ?? [],
+ };
+};
diff --git a/src/routes/user/+layout.ts b/src/routes/user/+layout.ts
new file mode 100644
index 0000000..0039f72
--- /dev/null
+++ b/src/routes/user/+layout.ts
@@ -0,0 +1,8 @@
+/* src/routes/user/+layout.ts
+ * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ * Licensed under the DASL-1.0 Licence.
+ * See LICENCE.md in the project root for full licence information.
+ */
+
+// Signed-in pages: the token lives in localStorage, so they render in the browser
+export const ssr = false;
diff --git a/src/routes/user/login/+page.svelte b/src/routes/user/login/+page.svelte
new file mode 100644
index 0000000..59b8ad2
--- /dev/null
+++ b/src/routes/user/login/+page.svelte
@@ -0,0 +1,52 @@
+<!-- src/routes/user/login/+page.svelte
+ Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ Licensed under the DASL-1.0 Licence.
+ See LICENCE.md in the project root for full licence information.
+-->
+
+<script lang="ts">
+ import { page } from "$app/state";
+ import { client } from "#lib/api.ts";
+
+ let redirecting = $state(false);
+
+ // /admin/login is an alias for the dashboard, kept for old bookmarks
+ const rawFrom = $derived(page.url.searchParams.get("from") || "/");
+ const from = $derived(rawFrom === "/admin/login" ? "/admin/dash" : rawFrom);
+ const error = $derived(page.url.searchParams.get("error"));
+
+ // A full navigation: the API redirects to the SSO, which comes back to /user/login/callback
+ function signIn() {
+ redirecting = true;
+ location.href = client.pocketIdLoginUrl(from);
+ }
+</script>
+
+<svelte:head>
+ <title>Sign in · Doughmination System</title>
+ <meta name="robots" content="noindex" />
+</svelte:head>
+
+<div class="page narrow">
+ <section class="panel">
+ <p class="eyebrow">Account</p>
+ <h1>Sign in</h1>
+ <p class="muted">Use your SSO account to continue.</p>
+ {#if error}
+ <p class="notice error">{error}</p>
+ {/if}
+ <div>
+ <button type="button" class="primary" disabled={redirecting} onclick={signIn}>
+ <iconsax-icon name="key" type="bulk" size="18"></iconsax-icon>
+ {redirecting ? "Redirecting to SSO…" : "Sign in with SSO"}
+ </button>
+ </div>
+ <p class="muted small">You'll be taken to your SSO provider to sign in, then brought right back here.</p>
+ </section>
+</div>
+
+<style>
+ p {
+ margin: 0;
+ }
+</style>
diff --git a/src/routes/user/login/callback/+page.svelte b/src/routes/user/login/callback/+page.svelte
new file mode 100644
index 0000000..21b47d3
--- /dev/null
+++ b/src/routes/user/login/callback/+page.svelte
@@ -0,0 +1,65 @@
+<!-- src/routes/user/login/callback/+page.svelte
+ Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ Licensed under the DASL-1.0 Licence.
+ See LICENCE.md in the project root for full licence information.
+-->
+
+<script lang="ts">
+ import { onMount } from "svelte";
+ import { goto } from "$app/navigation";
+ import { auth } from "#lib/auth.svelte.ts";
+
+ let error = $state<string | null>(null);
+
+ // Only same-site app paths: never "//host" or a full URL
+ function safeFrom(raw: string | null): string {
+ if (!raw || !raw.startsWith("/") || raw.startsWith("//")) return "/";
+ return raw;
+ }
+
+ // The API puts the token in the fragment (#token=…&from=…), which never reaches a server log
+ onMount(() => {
+ const params = new URLSearchParams(location.hash.replace(/^#/, ""));
+
+ const failure = params.get("error");
+ if (failure) {
+ error = failure;
+ return;
+ }
+
+ const token = params.get("token");
+ if (!token) {
+ error = "No sign-in token was returned. Please try again.";
+ return;
+ }
+
+ auth.signIn(token);
+ // Strip the token from the address bar before moving on
+ history.replaceState(null, "", location.pathname);
+ void goto(safeFrom(params.get("from")), { replace: true });
+ });
+</script>
+
+<svelte:head>
+ <title>Signing in · Doughmination System</title>
+ <meta name="robots" content="noindex" />
+</svelte:head>
+
+<div class="page narrow">
+ <section class="panel">
+ {#if error}
+ <h1>Sign-in failed</h1>
+ <p class="notice error">{error}</p>
+ <div><a class="btn" href="/user/login">Back to sign in</a></div>
+ {:else}
+ <p class="muted">Signing you in…</p>
+ {/if}
+ </section>
+</div>
+
+<style>
+ h1,
+ p {
+ margin: 0;
+ }
+</style>
diff --git a/src/routes/user/metrics/+page.svelte b/src/routes/user/metrics/+page.svelte
new file mode 100644
index 0000000..2e338ed
--- /dev/null
+++ b/src/routes/user/metrics/+page.svelte
@@ -0,0 +1,381 @@
+<!-- src/routes/user/metrics/+page.svelte
+ Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ Licensed under the DASL-1.0 Licence.
+ See LICENCE.md in the project root for full licence information.
+-->
+
+<script lang="ts">
+ import { onMount } from "svelte";
+ import { avatarFallback, fallbackAvatar, type Message as MessageType } from "#lib";
+ import { client, readToken } from "#lib/api.ts";
+ import PageHead from "#lib/components/PageHead.svelte";
+ import Message from "#lib/components/Message.svelte";
+
+ type Timeframe = "24h" | "48h" | "5d" | "7d" | "30d";
+
+ type MemberMetric = {
+ id: string;
+ name: string;
+ display_name: string;
+ avatar_url?: string;
+ total_seconds: number;
+ total_percent: number;
+ } & Record<Timeframe, number>;
+
+ type FrontingMetrics = {
+ total_time: number;
+ members: Record<string, MemberMetric>;
+ };
+
+ type SwitchMetrics = {
+ total_switches: number;
+ avg_switches_per_day: number;
+ timeframes: Record<Timeframe, number>;
+ };
+
+ const COLORS = [
+ "#8b5cf6",
+ "#ec4899",
+ "#f59e0b",
+ "#10b981",
+ "#3b82f6",
+ "#ef4444",
+ "#14b8a6",
+ "#f97316",
+ "#6366f1",
+ "#84cc16",
+ ];
+
+ const TIMEFRAMES: { value: Timeframe; label: string }[] = [
+ {
+ value: "24h",
+ label: "Last 24 Hours",
+ },
+ {
+ value: "48h",
+ label: "Last 48 Hours",
+ },
+ {
+ value: "5d",
+ label: "Last 5 Days",
+ },
+ {
+ value: "7d",
+ label: "Last 7 Days",
+ },
+ {
+ value: "30d",
+ label: "Last 30 Days",
+ },
+ ];
+
+ let fronting = $state<FrontingMetrics | null>(null);
+ let switches = $state<SwitchMetrics | null>(null);
+ let timeframe = $state<Timeframe>("7d");
+ let loading = $state(true);
+ let message = $state<MessageType>(null);
+
+ const timeframeLabel = $derived(TIMEFRAMES.find((t) => t.value === timeframe)?.label ?? "");
+
+ // The ten members who fronted most in the chosen window
+ const top = $derived(
+ fronting
+ ? Object.values(fronting.members)
+ .filter((m) => m[timeframe] > 0)
+ .sort((a, b) => b[timeframe] - a[timeframe])
+ .slice(0, 10)
+ : [],
+ );
+ const topTotal = $derived(top.reduce((sum, m) => sum + m[timeframe], 0));
+
+ // Donut slices as stroke-dasharray arcs on one circle
+ const RADIUS = 80;
+ const CIRCUMFERENCE = 2 * Math.PI * RADIUS;
+ const slices = $derived.by(() => {
+ let offset = 0;
+ return top.map((member, index) => {
+ const length = topTotal ? (member[timeframe] / topTotal) * CIRCUMFERENCE : 0;
+ const slice = {
+ member,
+ colour: COLORS[index % COLORS.length],
+ dash: `${length} ${CIRCUMFERENCE - length}`,
+ offset: -offset,
+ percent: topTotal ? (member[timeframe] / topTotal) * 100 : 0,
+ };
+ offset += length;
+ return slice;
+ });
+ });
+
+ const switchMax = $derived(switches ? Math.max(1, ...Object.values(switches.timeframes)) : 1);
+
+ function duration(seconds: number): string {
+ const hours = Math.floor(seconds / 3600);
+ const minutes = Math.floor((seconds % 3600) / 60);
+ if (hours > 24) return `${Math.floor(hours / 24)}d ${hours % 24}h`;
+ return `${hours}h ${minutes}m`;
+ }
+
+ onMount(async () => {
+ const token = readToken();
+ const headers: HeadersInit = token ? { Authorization: `Bearer ${token}` } : {};
+ try {
+ const [frontingRes, switchRes] = await Promise.all([
+ fetch(`${client.baseUrl}/plural/metrics/fronting-time?days=30`, { headers }),
+ fetch(`${client.baseUrl}/plural/metrics/switch-frequency?days=30`, { headers }),
+ ]);
+ if (frontingRes.ok && switchRes.ok) {
+ fronting = await frontingRes.json();
+ switches = await switchRes.json();
+ } else {
+ message = {
+ type: "error",
+ content:
+ frontingRes.status === 401 || switchRes.status === 401
+ ? "Metrics are not available publicly yet"
+ : "Failed to fetch metrics",
+ };
+ }
+ } catch {
+ message = {
+ type: "error",
+ content: "Network error occurred",
+ };
+ } finally {
+ loading = false;
+ }
+ });
+</script>
+
+<svelte:head>
+ <title>Metrics · Doughmination System</title>
+</svelte:head>
+
+<div class="page">
+ <PageHead
+ eyebrow="// system.metrics"
+ title="Metrics"
+ subtitle="System fronting and switching statistics"
+ back={{
+ href: "/",
+ label: "Back to home",
+ }}
+ />
+
+ <Message {message} />
+
+ {#if loading}
+ <p class="muted">Loading metrics…</p>
+ {:else}
+ <label class="field timeframe">
+ <span>Timeframe</span>
+ <select bind:value={timeframe}>
+ {#each TIMEFRAMES as option (option.value)}
+ <option value={option.value}>{option.label}</option>
+ {/each}
+ </select>
+ </label>
+
+ {#if switches}
+ <div class="tiles">
+ <div class="panel stat">
+ <p class="eyebrow">Total switches</p>
+ <p class="value">{switches.total_switches}</p>
+ <p class="muted small">Last 30 days</p>
+ </div>
+ <div class="panel stat">
+ <p class="eyebrow">Avg per day</p>
+ <p class="value">{switches.avg_switches_per_day.toFixed(1)}</p>
+ <p class="muted small">Switches per day</p>
+ </div>
+ <div class="panel stat">
+ <p class="eyebrow">Selected period</p>
+ <p class="value">{switches.timeframes[timeframe]}</p>
+ <p class="muted small">{timeframeLabel}</p>
+ </div>
+ </div>
+ {/if}
+
+ {#if fronting && top.length > 0}
+ <section class="panel">
+ <h2>Fronting time distribution</h2>
+ <p class="muted small">Top fronters for {timeframeLabel.toLowerCase()}</p>
+ <div class="donut-row">
+ <svg viewBox="0 0 200 200" class="donut" role="img" aria-label="Fronting time by member">
+ <g transform="rotate(-90 100 100)">
+ {#each slices as slice (slice.member.id)}
+ <circle
+ cx="100"
+ cy="100"
+ r={RADIUS}
+ fill="none"
+ stroke={slice.colour}
+ stroke-width="28"
+ stroke-dasharray={slice.dash}
+ stroke-dashoffset={slice.offset}
+ >
+ <title>{slice.member.display_name || slice.member.name}: {duration(slice.member[timeframe])}</title>
+ </circle>
+ {/each}
+ </g>
+ </svg>
+ <ul class="legend">
+ {#each slices as slice (slice.member.id)}
+ <li>
+ <span class="key" style:background={slice.colour}></span>
+ {slice.member.display_name || slice.member.name}
+ <span class="muted">{slice.percent.toFixed(0)}%</span>
+ </li>
+ {/each}
+ </ul>
+ </div>
+ </section>
+ {/if}
+
+ {#if switches}
+ <section class="panel">
+ <h2>Switch frequency over time</h2>
+ <p class="muted small">Number of switches across different timeframes</p>
+ <div class="bars">
+ {#each TIMEFRAMES as option (option.value)}
+ <div class="bar-col">
+ <span class="small">{switches.timeframes[option.value]}</span>
+ <div class="bar" style:height="{(switches.timeframes[option.value] / switchMax) * 100}%"></div>
+ <span class="muted small">{option.value}</span>
+ </div>
+ {/each}
+ </div>
+ </section>
+ {/if}
+
+ {#if fronting && top.length > 0}
+ <section class="panel">
+ <h2>Top fronters</h2>
+ <p class="muted small">Most active members for {timeframeLabel.toLowerCase()}</p>
+ <ol class="ranking">
+ {#each top as member, index (member.id)}
+ <li>
+ <span class="rank">{index + 1}</span>
+ <img class="member-avatar avatar-sm" src={member.avatar_url || fallbackAvatar} alt="" onerror={avatarFallback} />
+ <div class="grow">
+ <p>{member.display_name || member.name} <span class="muted small">{duration(member[timeframe])}</span></p>
+ <div class="meter"><div style:width="{(member[timeframe] / top[0]![timeframe]) * 100}%"></div></div>
+ </div>
+ </li>
+ {/each}
+ </ol>
+ </section>
+ {:else if fronting}
+ <p class="panel muted">No fronting data available for the selected timeframe</p>
+ {/if}
+ {/if}
+</div>
+
+<style>
+ h2,
+ p {
+ margin: 0;
+ }
+
+ h2 {
+ font-size: 1.15rem;
+ }
+
+ .timeframe {
+ max-width: 16rem;
+ }
+
+ .stat .value {
+ font-size: 2rem;
+ font-weight: 700;
+ }
+
+ .donut-row {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 2rem;
+ align-items: center;
+ }
+
+ .donut {
+ width: min(16rem, 100%);
+ }
+
+ .legend {
+ display: grid;
+ gap: 0.35rem;
+ margin: 0;
+ padding: 0;
+ list-style: none;
+ }
+
+ .legend li {
+ display: flex;
+ gap: 0.5rem;
+ align-items: center;
+ }
+
+ .key {
+ width: 0.8rem;
+ height: 0.8rem;
+ border-radius: 0.2rem;
+ }
+
+ .bars {
+ display: grid;
+ grid-template-columns: repeat(5, 1fr);
+ gap: 1rem;
+ align-items: end;
+ height: 14rem;
+ }
+
+ .bar-col {
+ display: flex;
+ flex-direction: column;
+ gap: 0.35rem;
+ align-items: center;
+ justify-content: flex-end;
+ height: 100%;
+ }
+
+ .bar {
+ width: 100%;
+ min-height: 2px;
+ border-radius: 0.5rem 0.5rem 0 0;
+ background: var(--accent);
+ }
+
+ .ranking {
+ display: grid;
+ gap: 0.6rem;
+ margin: 0;
+ padding: 0;
+ list-style: none;
+ }
+
+ .ranking li {
+ display: flex;
+ gap: 0.75rem;
+ align-items: center;
+ }
+
+ .rank {
+ width: 1.5rem;
+ color: var(--accent);
+ font-weight: 700;
+ text-align: right;
+ }
+
+ .meter {
+ height: 0.4rem;
+ margin-top: 0.25rem;
+ overflow: hidden;
+ border-radius: 999px;
+ background: var(--line);
+ }
+
+ .meter div {
+ height: 100%;
+ background: var(--accent);
+ }
+</style>
diff --git a/src/routes/user/profile/+page.svelte b/src/routes/user/profile/+page.svelte
new file mode 100644
index 0000000..4ff50dd
--- /dev/null
+++ b/src/routes/user/profile/+page.svelte
@@ -0,0 +1,70 @@
+<!-- src/routes/user/profile/+page.svelte
+ Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ Licensed under the DASL-1.0 Licence.
+ See LICENCE.md in the project root for full licence information.
+-->
+
+<script lang="ts">
+ import { auth } from "#lib/auth.svelte.ts";
+ import Protected from "#lib/components/Protected.svelte";
+
+ let broken = $state(false);
+</script>
+
+<svelte:head>
+ <title>Profile · Doughmination System</title>
+</svelte:head>
+
+<Protected>
+ <div class="page narrow">
+ <section class="panel profile">
+ <p class="eyebrow">Account</p>
+ {#if auth.user}
+ {#if auth.user.avatar_url && !broken}
+ <img class="member-avatar avatar" src={auth.user.avatar_url} alt="" onerror={() => (broken = true)} />
+ {:else}
+ <span class="avatar placeholder"><iconsax-icon name="user" type="bulk" size="48"></iconsax-icon></span>
+ {/if}
+ <h1>{auth.user.display_name || auth.user.username}</h1>
+ <p class="chips">
+ {#if auth.user.is_owner}<span class="badge accent">Owner</span>{/if}
+ {#if auth.user.is_admin}<span class="badge">Admin</span>{/if}
+ {#if auth.user.is_pet}<span class="badge">Pet</span>{/if}
+ </p>
+ <p class="muted">@{auth.user.username}</p>
+ <div class="buttons">
+ <a class="btn primary" href="/user/profile/edit">Edit profile</a>
+ <a class="btn" href="/">Back to home</a>
+ </div>
+ {:else}
+ <p class="muted">User data not available.</p>
+ <div><a class="btn" href="/">Back to home</a></div>
+ {/if}
+ </section>
+ </div>
+</Protected>
+
+<style>
+ .profile {
+ align-items: center;
+ text-align: center;
+ }
+
+ h1,
+ p {
+ margin: 0;
+ }
+
+ .avatar {
+ width: 7rem;
+ height: 7rem;
+ }
+
+ .placeholder {
+ display: grid;
+ place-items: center;
+ border-radius: 1rem;
+ background: var(--accent-dim);
+ color: var(--accent);
+ }
+</style>
diff --git a/src/routes/user/profile/edit/+page.svelte b/src/routes/user/profile/edit/+page.svelte
new file mode 100644
index 0000000..ec382b2
--- /dev/null
+++ b/src/routes/user/profile/edit/+page.svelte
@@ -0,0 +1,167 @@
+<!-- src/routes/user/profile/edit/+page.svelte
+ Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ Licensed under the DASL-1.0 Licence.
+ See LICENCE.md in the project root for full licence information.
+-->
+
+<script lang="ts">
+ import { errorText, type Message as MessageType } from "#lib";
+ import { authFetch } from "#lib/api.ts";
+ import { auth } from "#lib/auth.svelte.ts";
+ import Protected from "#lib/components/Protected.svelte";
+ import PageHead from "#lib/components/PageHead.svelte";
+ import Message from "#lib/components/Message.svelte";
+
+ const EMAIL_PATTERN = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
+
+ let displayName = $state("");
+ let avatarUrl = $state("");
+ let email = $state("");
+ let seeded = false;
+ let broken = $state(false);
+ let saving = $state(false);
+ let message = $state<MessageType>(null);
+
+ // Fill the form once the user has loaded
+ $effect(() => {
+ if (seeded || !auth.user) return;
+ seeded = true;
+ displayName = auth.user.display_name || "";
+ avatarUrl = auth.user.avatar_url || "";
+ email = auth.user.email || "";
+ });
+
+ const previewable = $derived(/^https?:\/\/[^\s/]+\.[^\s/]+/.test(avatarUrl.trim()) || avatarUrl.startsWith("/"));
+ const avatarChanged = $derived(avatarUrl.trim() !== (auth.user?.avatar_url || ""));
+
+ async function save(event: SubmitEvent) {
+ event.preventDefault();
+ if (!auth.user) return;
+
+ const trimmedEmail = email.trim();
+ if (trimmedEmail && !EMAIL_PATTERN.test(trimmedEmail)) {
+ message = {
+ type: "error",
+ content: "Please enter a valid email address",
+ };
+ return;
+ }
+
+ saving = true;
+ message = null;
+ try {
+ await authFetch(
+ `/plural/users/${auth.user.id}`,
+ {
+ method: "PUT",
+ body: JSON.stringify({
+ display_name: displayName.trim() || null,
+ avatar_url: avatarUrl.trim() || null,
+ email: trimmedEmail || null,
+ }),
+ },
+ "Failed to update profile",
+ );
+ message = {
+ type: "success",
+ content: "Profile updated successfully",
+ };
+ await auth.refresh();
+ } catch (err) {
+ message = {
+ type: "error",
+ content: errorText(err, "Failed to update profile"),
+ };
+ } finally {
+ saving = false;
+ }
+ }
+</script>
+
+<svelte:head>
+ <title>Edit profile · Doughmination System</title>
+</svelte:head>
+
+<Protected>
+ <div class="page narrow">
+ <PageHead
+ eyebrow="Account"
+ title="Edit profile"
+ subtitle="Update your profile information"
+ back={{
+ href: "/user/profile",
+ label: "Cancel",
+ }}
+ />
+
+ <Message {message} />
+ <p class="notice">
+ Sign-in is handled by SSO. Your username and password are managed by your SSO provider — this page only controls
+ your display profile.
+ </p>
+
+ {#if auth.user}
+ <form class="panel stack" onsubmit={save}>
+ <div class="field">
+ <span>Avatar</span>
+ <div class="avatar-row">
+ {#if avatarUrl && previewable && !broken}
+ <img class="member-avatar preview" src={avatarUrl.trim()} alt="Avatar preview" onerror={() => (broken = true)} onload={() => (broken = false)} />
+ {:else}
+ <span class="preview placeholder"><iconsax-icon name="user" type="bulk" size="28"></iconsax-icon></span>
+ {/if}
+ <input
+ id="avatarUrl"
+ type="url"
+ bind:value={avatarUrl}
+ oninput={() => (broken = false)}
+ placeholder="https://example.com/avatar.png"
+ />
+ {#if avatarChanged}
+ <button type="button" class="small" onclick={() => (avatarUrl = auth.user?.avatar_url || "")}>Reset</button>
+ {/if}
+ </div>
+ <small class="muted">Paste a direct link to an image (square recommended)</small>
+ </div>
+
+ <label class="field">
+ <span>Display name</span>
+ <input id="displayName" type="text" bind:value={displayName} placeholder="Enter display name" />
+ <small class="muted">Leave blank to use username: @{auth.user.username}</small>
+ </label>
+
+ <label class="field">
+ <span>Contact email</span>
+ <input id="email" type="email" bind:value={email} placeholder="[email protected]" autocomplete="email" />
+ <small class="muted">Optional contact address. Sign-in email lives with your SSO provider, not here.</small>
+ </label>
+
+ <div>
+ <button type="submit" class="primary" disabled={saving}>{saving ? "Saving..." : "Save changes"}</button>
+ </div>
+ </form>
+ {/if}
+ </div>
+</Protected>
+
+<style>
+ .avatar-row {
+ display: flex;
+ gap: 0.75rem;
+ align-items: center;
+ }
+
+ .preview {
+ flex-shrink: 0;
+ width: 3.5rem;
+ height: 3.5rem;
+ }
+
+ .placeholder {
+ display: grid;
+ place-items: center;
+ border-radius: 0.75rem;
+ background: var(--accent-dim);
+ color: var(--accent);
+ }
+</style>
diff --git a/src/styles/admin.css.ts b/src/styles/admin.css.ts
deleted file mode 100644
index 9a292e6..0000000
--- a/src/styles/admin.css.ts
+++ /dev/null
@@ -1,463 +0,0 @@
-/* system/src/styles/admin.css.ts
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- *
- * Shared styles for the admin + owner dashboard pages.
- */
-
-import { style } from "@vanilla-extract/css";
-import { vars } from "./theme.css";
-
-export const page = style({
- width: "100%",
- margin: "0 auto",
- padding: "1.5rem",
- paddingTop: "5rem",
-});
-
-export const loadingText = style({
- textAlign: "center",
- fontFamily: vars.fontComic,
- fontWeight: 600,
-});
-
-export const wrap = style({
- maxWidth: "56rem",
- margin: "0 auto",
- display: "flex",
- flexDirection: "column",
- gap: "1.5rem",
-});
-
-export const wrapNarrow = style({
- maxWidth: "48rem",
- margin: "0 auto",
- display: "flex",
- flexDirection: "column",
- gap: "1.5rem",
-});
-
-export const headerRow = style({
- display: "flex",
- alignItems: "center",
- justifyContent: "space-between",
-});
-
-export const pageTitle = style({
- fontSize: "1.875rem",
- fontWeight: 700,
- fontFamily: vars.fontComic,
-});
-
-export const pageSubtitle = style({
- color: vars.textMuted,
- fontFamily: vars.fontComic,
- fontWeight: 600,
-});
-
-export const btnIcon = style({
- width: "1rem",
- height: "1rem",
- marginRight: "0.5rem",
-});
-
-/* Dashboard grid */
-export const dashGrid = style({
- display: "grid",
- gridTemplateColumns: "repeat(2, 1fr)",
- gap: "1rem",
- "@media": {
- "screen and (min-width: 768px)": {
- gridTemplateColumns: "repeat(3, 1fr)",
- },
- },
-});
-
-export const dashCard = style({
- padding: "1.5rem",
- borderRadius: vars.radiusSm,
- border: `1px solid ${vars.surfaceHigher}`,
- backgroundColor: vars.bgRaised,
- color: vars.text,
- transition: "border-color 0.15s ease, background-color 0.15s ease, transform 0.1s ease",
- cursor: "pointer",
- textAlign: "center",
- height: "100%",
- display: "flex",
- flexDirection: "column",
- alignItems: "center",
- justifyContent: "flex-start",
- gap: "0.25rem",
- ":hover": {
- borderColor: vars.accent,
- backgroundColor: vars.surfaceHi,
- transform: "translate(-1px, -1px)",
- },
-});
-
-export const dashIconBlock = style({
- width: "2.75rem",
- height: "2.75rem",
- display: "flex",
- alignItems: "center",
- justifyContent: "center",
- border: `2px solid ${vars.accent}`,
- marginBottom: "0.75rem",
-});
-
-export const dashIcon = style({
- width: "1.25rem",
- height: "1.25rem",
- color: vars.accent,
-});
-
-export const dashLabel = style({
- fontFamily: vars.fontComic,
- fontWeight: 600,
- /* Explicit size: without it this h3 inherits the global 1.75rem heading
- rule and overflows the card. */
- fontSize: "1.0625rem",
- lineHeight: 1.3,
- margin: 0,
-});
-
-export const dashDesc = style({
- fontSize: "0.75rem",
- color: vars.textMuted,
- fontFamily: vars.fontComic,
- fontWeight: 600,
- marginTop: "0.25rem",
-});
-
-/* Forms */
-export const formStack = style({
- display: "flex",
- flexDirection: "column",
- gap: "1rem",
-});
-
-export const fieldBlock = style({
- display: "flex",
- flexDirection: "column",
- gap: "0.5rem",
-});
-
-export const checkboxRow = style({
- display: "flex",
- alignItems: "center",
- gap: "0.5rem",
-});
-
-export const checkboxLabel = style({
- fontFamily: vars.fontComic,
- fontWeight: 600,
- cursor: "pointer",
-});
-
-export const buttonRow = style({
- display: "flex",
- gap: "0.5rem",
-});
-
-export const flexGrow = style({ flex: 1 });
-
-export const fullWidth = style({ width: "100%" });
-
-export const cardTopPad = style({ paddingTop: "1.5rem" });
-
-/* User list */
-export const listStack = style({
- display: "flex",
- flexDirection: "column",
- gap: "0.75rem",
-});
-
-export const userRow = style({
- display: "flex",
- alignItems: "center",
- gap: "0.75rem",
- padding: "1rem",
- backgroundColor: vars.surface,
- borderRadius: vars.radiusSm,
- border: `1px solid ${vars.surfaceHigher}`,
-});
-
-export const userRowCurrent = style({
- borderColor: vars.accent,
-});
-
-export const userAvatar = style({
- width: "3rem",
- height: "3rem",
- borderRadius: vars.radiusSm,
- border: `1px solid ${vars.surfaceHigher}`,
- objectFit: "cover",
- flexShrink: 0,
-});
-
-export const userInfo = style({
- flex: 1,
- minWidth: 0,
-});
-
-export const userNameRow = style({
- display: "flex",
- alignItems: "center",
- gap: "0.5rem",
- flexWrap: "wrap",
-});
-
-export const userName = style({
- fontFamily: vars.fontComic,
- fontWeight: 600,
-});
-
-export const userHandle = style({
- fontSize: "0.875rem",
- color: vars.textMuted,
- fontFamily: vars.fontComic,
- fontWeight: 600,
-});
-
-export const smallBadge = style({
- fontFamily: vars.fontComic,
- fontSize: "0.75rem",
-});
-
-/* Per-user edit panel */
-export const editPanel = style({
- padding: "1rem",
- backgroundColor: vars.bg,
- borderRadius: vars.radiusSm,
- border: `1px solid ${vars.surfaceHigher}`,
- display: "flex",
- flexDirection: "column",
- gap: "1rem",
-});
-
-/* Stats */
-export const statsGrid = style({
- display: "grid",
- gridTemplateColumns: "repeat(2, 1fr)",
- gap: "1rem",
-});
-
-export const statBox = style({
- padding: "1rem",
- backgroundColor: vars.surface,
- border: `1px solid ${vars.surfaceHigher}`,
- borderRadius: vars.radiusSm,
-});
-
-export const statLabel = style({
- fontSize: "0.875rem",
- color: vars.textMuted,
- fontFamily: vars.fontComic,
- fontWeight: 600,
-});
-
-export const statValue = style({
- fontSize: "1.5rem",
- fontWeight: 700,
- fontFamily: vars.fontComic,
-});
-
-export const emptyNote = style({
- fontSize: "0.875rem",
- color: vars.textMuted,
- fontFamily: vars.fontComic,
- fontWeight: 600,
- textAlign: "center",
- padding: "1rem 0",
-});
-
-/* Member rows (status/tag/switch managers) */
-export const memberRow = style({
- display: "flex",
- alignItems: "center",
- gap: "0.75rem",
- padding: "0.75rem",
- backgroundColor: vars.surface,
- borderRadius: vars.radiusSm,
- border: `1px solid ${vars.surfaceHigher}`,
- transition: "border-color 0.15s ease",
- cursor: "pointer",
- ":hover": { borderColor: vars.accent },
-});
-
-export const memberRowSelected = style({
- borderColor: vars.accent,
- backgroundColor: vars.surfaceHi,
-});
-
-export const memberAvatarSm = style({
- width: "1.5rem",
- height: "1.5rem",
- borderRadius: vars.radiusSm,
- border: `1px solid ${vars.surfaceHigher}`,
- objectFit: "cover",
-});
-
-export const memberAvatarMd = style({
- width: "2.5rem",
- height: "2.5rem",
- borderRadius: vars.radiusSm,
- border: `1px solid ${vars.surfaceHigher}`,
- objectFit: "cover",
-});
-
-export const inlineRow = style({
- display: "flex",
- alignItems: "center",
- gap: "0.5rem",
-});
-
-export const inlineRowTight = style({
- display: "flex",
- alignItems: "center",
- gap: "0.5rem",
- marginTop: "0.25rem",
-});
-
-export const smallMuted = style({
- fontSize: "0.75rem",
- color: vars.textMuted,
- fontFamily: vars.fontComic,
- fontWeight: 600,
-});
-
-export const smallMutedRight = style([smallMuted, { textAlign: "right" }]);
-
-export const memberRowName = style({
- fontFamily: vars.fontComic,
- fontWeight: 600,
- fontSize: "0.875rem",
-});
-
-export const truncate = style({
- overflow: "hidden",
- textOverflow: "ellipsis",
- whiteSpace: "nowrap",
-});
-
-/* Emoji picker */
-export const emojiInput = style({
- width: "5rem",
- textAlign: "center",
- fontSize: "1.5rem",
-});
-
-export const emojiGrid = style({
- display: "flex",
- flexWrap: "wrap",
- gap: "0.25rem",
-});
-
-export const emojiButton = style({
- width: "2rem",
- height: "2rem",
- fontSize: "1.25rem",
- borderRadius: vars.radiusSm,
- border: `1px solid transparent`,
- background: "transparent",
- cursor: "pointer",
- transition: "background-color 0.15s ease, border-color 0.15s ease",
- ":hover": { backgroundColor: vars.surfaceHi, borderColor: vars.surfaceHigher },
-});
-
-export const emojiPickerRow = style({
- display: "flex",
- gap: "0.5rem",
- alignItems: "center",
- marginTop: "0.5rem",
-});
-
-/* Current status box */
-export const statusBox = style({
- marginTop: "1rem",
- padding: "0.75rem",
- backgroundColor: vars.surface,
- borderRadius: vars.radiusSm,
- border: `1px solid ${vars.surfaceHigher}`,
-});
-
-export const statusBoxText = style({
- fontFamily: vars.fontComic,
- fontWeight: 600,
- fontSize: "0.875rem",
-});
-
-export const emojiLg = style({ fontSize: "1.25rem" });
-
-/* Tag chips */
-export const chipRow = style({
- display: "flex",
- flexWrap: "wrap",
- gap: "0.5rem",
-});
-
-export const chip = style({
- display: "inline-flex",
- alignItems: "center",
- gap: "0.375rem",
- fontSize: "0.6875rem",
- padding: "0.25rem 0.625rem",
- borderRadius: vars.radiusSm,
- border: `1px solid ${vars.surfaceHigher}`,
- backgroundColor: "transparent",
- color: vars.textSoft,
- fontFamily: vars.fontComic,
- fontWeight: 700,
- textTransform: "uppercase",
- letterSpacing: "0.03em",
-});
-
-export const chipRemove = style({
- background: "transparent",
- border: "none",
- cursor: "pointer",
- color: "inherit",
- fontWeight: 700,
- padding: 0,
- lineHeight: 1,
- ":hover": { color: vars.danger },
-});
-
-/* Force refresh banner */
-export const dangerBanner = style({
- backgroundColor: `color-mix(in srgb, ${vars.danger} 8%, transparent)`,
- border: `1px solid ${vars.danger}`,
- borderRadius: vars.radiusSm,
- padding: "1rem",
-});
-
-export const dangerBannerRow = style({
- display: "flex",
- alignItems: "center",
- justifyContent: "space-between",
- gap: "1rem",
-});
-
-export const dangerBannerTitle = style({
- fontFamily: vars.fontComic,
- fontWeight: 600,
- color: vars.danger,
- marginBottom: "0.25rem",
-});
-
-export const dangerBannerText = style({
- fontSize: "0.875rem",
- fontFamily: vars.fontComic,
- fontWeight: 600,
- color: vars.textMuted,
-});
-
-export const noWrap = style({ whiteSpace: "nowrap" });
-
-export const helpText = style({
- fontSize: "0.875rem",
- color: vars.textMuted,
- fontFamily: vars.fontComic,
- fontWeight: 600,
-});
diff --git a/src/styles/global.css.ts b/src/styles/global.css.ts
deleted file mode 100644
index 4d065a3..0000000
--- a/src/styles/global.css.ts
+++ /dev/null
@@ -1,154 +0,0 @@
-/* system/src/styles/global.css.ts
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- *
- * Global reset, typography, fonts and scrollbar styling — ported from the old
- * app's src/css/main.css + fonts.css to vanilla-extract globalStyle calls.
- */
-
-import { globalFontFace, globalStyle } from "@vanilla-extract/css";
-import { vars } from "./theme.css";
-
-/* ============================================================================
- FONTS — Comic Code (kept through the terminal/clunky redesign — it's a
- paid font, so the look changed shape/colour but not the typeface)
- ============================================================================ */
-const comic = "Comic Code";
-
-globalFontFace(comic, {
- src: "url('https://m.doughmination.gay/f/Comic-Code/woff2/ComicCode-Regular.woff2') format('woff2')",
- fontWeight: 400,
- fontStyle: "normal",
- fontDisplay: "swap",
-});
-globalFontFace(comic, {
- src: "url('https://m.doughmination.gay/f/Comic-Code/woff2/ComicCode-Italic.woff2') format('woff2')",
- fontWeight: 400,
- fontStyle: "italic",
- fontDisplay: "swap",
-});
-globalFontFace(comic, {
- src: "url('https://m.doughmination.gay/f/Comic-Code/woff2/ComicCode-Medium.woff2') format('woff2')",
- fontWeight: 500,
- fontStyle: "normal",
- fontDisplay: "swap",
-});
-globalFontFace(comic, {
- src: "url('https://m.doughmination.gay/f/Comic-Code/woff2/ComicCode-Bold.woff2') format('woff2')",
- fontWeight: 700,
- fontStyle: "normal",
- fontDisplay: "swap",
-});
-
-/* ============================================================================
- GLOBAL RESET & BASE STYLES
- ============================================================================ */
-globalStyle("*", {
- margin: 0,
- padding: 0,
- boxSizing: "border-box",
- borderColor: vars.line,
-});
-
-globalStyle("html, body", {
- overflowX: "hidden",
- maxWidth: "100vw",
-});
-
-globalStyle("html", {
- scrollBehavior: "smooth",
-});
-
-globalStyle("body", {
- fontFamily: vars.fontComic,
- background: vars.bg,
- color: vars.text,
- minHeight: "100vh",
- fontSize: "15px",
- lineHeight: 1.6,
-});
-
-/* The site's wallpaper and fade (as in the inbox app), fixed behind every
- page. z-index -1 keeps it under all content, portals included. */
-globalStyle("body::before, body::after", {
- content: '""',
- position: "fixed",
- inset: 0,
- zIndex: -1,
- pointerEvents: "none",
-});
-globalStyle("body::before", {
- background: "url('/background.avif') center / cover no-repeat",
- opacity: 0.5,
-});
-globalStyle("body::after", {
- background: [
- `linear-gradient(rgb(11 10 13 / 55%), rgb(11 10 13 / 80%) 55%, ${vars.bg})`,
- "radial-gradient(70% 60% at 20% 30%, rgb(235 69 158 / 12%), transparent 70%)",
- ].join(", "),
-});
-
-globalStyle(
- "h1, h2, h3, h4, h5, h6, label, input, select, textarea, button",
- {
- fontFamily: vars.fontComic,
- },
-);
-
-globalStyle("h1, h2, h3", {
- lineHeight: 1.25,
- textWrap: "balance",
-});
-
-/* Anchors inherit their surrounding colour and are not underlined by default.
- Without this, every next/link renders with the user-agent blue/purple
- underline, which wrecks card and nav styling. Content links opt back in
- via their own class. */
-globalStyle("a", {
- color: "inherit",
- textDecoration: "none",
-});
-
-globalStyle("h1", {
- fontSize: "2.5rem",
- fontWeight: 700
-});
-globalStyle("h2", {
- fontSize: "2rem",
- fontWeight: 600
-});
-globalStyle("h3", {
- fontSize: "1.75rem",
- fontWeight: 600
-});
-
-globalStyle(
- "button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible",
- {
- outline: "none",
- boxShadow: `0 0 0 4px ${vars.accentDim}`,
- },
-);
-
-/* Mobile heading sizes */
-globalStyle("h1", { "@media": { "screen and (max-width: 640px)": { fontSize: "2rem" } } });
-globalStyle("h2", { "@media": { "screen and (max-width: 640px)": { fontSize: "1.75rem" } } });
-globalStyle("h3", { "@media": { "screen and (max-width: 640px)": { fontSize: "1.5rem" } } });
-
-/* ============================================================================
- SCROLLBAR — thin and quiet, as in the inbox app
- ============================================================================ */
-globalStyle("*", {
- scrollbarWidth: "thin",
- scrollbarColor: "rgb(255 255 255 / 14%) transparent",
-});
-
-globalStyle("*, *::before, *::after", {
- "@media": {
- "(prefers-reduced-motion: reduce)": {
- transition: "none !important",
- animation: "none !important",
- },
- },
-});
diff --git a/src/styles/site.css.ts b/src/styles/site.css.ts
deleted file mode 100644
index 5c68564..0000000
--- a/src/styles/site.css.ts
+++ /dev/null
@@ -1,503 +0,0 @@
-/* system/src/styles/site.css.ts
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- *
- * Shared site-wide component styles ported from main.css (@layer components)
- * to vanilla-extract. Classes are imported by pages instead of referenced as
- * string literals.
- */
-
-import { globalStyle, keyframes, style } from "@vanilla-extract/css";
-import { vars } from "./theme.css";
-
-const mobile = "screen and (max-width: 640px)";
-const tablet = "screen and (min-width: 641px) and (max-width: 1024px)";
-const ultrawide = "screen and (min-width: 1920px)";
-
-// No per-flavor font token in the new theme contract — same face across
-// every flavor, so it just lives here as a plain constant.
-const FONT_COMIC = "'Comic Code', cursive";
-
-export const fontComic = style({
- fontFamily: FONT_COMIC,
- fontWeight: 600,
-});
-
-/* App shell (old #root styles) */
-export const appRoot = style({
- maxWidth: "none",
- margin: "0 auto",
- padding: "1rem",
- textAlign: "center",
- overflowX: "hidden",
- minHeight: "100vh",
- display: "flex",
- flexDirection: "column",
-});
-
-/* Header */
-export const header = style({
- position: "fixed",
- top: 0,
- left: 0,
- right: 0,
- zIndex: 40,
- height: "68px",
- backgroundColor: vars.panel,
- backdropFilter: "blur(16px)",
- WebkitBackdropFilter: "blur(16px)",
- borderBottom: `1px solid ${vars.line}`,
- "@media": {
- [mobile]: {
- height: "60px",
- padding: "0.5rem 1rem"
- },
- },
-});
-
-export const container = style({
- width: "100%",
- maxWidth: "none",
- paddingLeft: "1rem",
- paddingRight: "1rem",
- marginLeft: "auto",
- marginRight: "auto",
- boxSizing: "border-box",
- "@media": {
- [mobile]: {
- padding: "0 1rem",
- maxWidth: "100%"
- },
- [tablet]: { padding: "0 1.5rem" },
- },
-});
-
-export const headerContainer = style([
- container,
- {
- height: "100%",
- padding: "0 1rem",
- display: "flex",
- justifyContent: "space-between",
- alignItems: "center",
- maxWidth: "none",
- },
-]);
-
-/* Navigation */
-export const desktopNav = style({
- display: "none",
- gap: "1rem",
- alignItems: "center",
- marginLeft: "auto",
- "@media": {
- "screen and (min-width: 768px)": { display: "flex" },
- },
-});
-
-globalStyle(`${desktopNav} button, ${desktopNav} a`, {
- padding: "0.75rem 1.25rem",
- minHeight: "3rem",
- borderRadius: "0.375rem",
- transition: "all 0.2s ease",
- fontFamily: FONT_COMIC,
- fontWeight: 600,
- display: "inline-flex",
- alignItems: "center",
- justifyContent: "center",
- textDecoration: "none",
- backgroundColor: vars.surface,
- color: vars.text,
- border: `1px solid ${vars.surface}`,
-});
-
-globalStyle(`${desktopNav} button:hover, ${desktopNav} a:hover`, {
- backgroundColor: vars.accentAlt,
- color: vars.bg,
- borderColor: vars.accent,
-});
-
-/* Member grid */
-export const memberGrid = style({
- display: "grid",
- gridTemplateColumns: "repeat(auto-fill, minmax(140px, 1fr))",
- gridAutoRows: "1fr",
- alignItems: "stretch",
- gap: "1.5rem",
- padding: "1rem",
- width: "100%",
- maxWidth: "none",
- overflow: "visible",
- boxSizing: "border-box",
- "@media": {
- [mobile]: {
- gridTemplateColumns: "repeat(auto-fill, minmax(90px, 1fr))",
- gap: "0.5rem",
- padding: "0.5rem",
- },
- [tablet]: {
- gridTemplateColumns: "repeat(auto-fill, minmax(120px, 1fr))",
- gap: "1rem",
- },
- [ultrawide]: {
- gridTemplateColumns: "repeat(auto-fill, minmax(150px, 1fr))",
- gap: "1.75rem",
- },
- },
-});
-
-/* Grid items stretch to the tallest card in their row so the bottoms stay
- flush regardless of name wrapping or missing pronouns. */
-export const memberGridItem = style({
- display: "flex",
- height: "100%",
-});
-
-globalStyle(`${memberGridItem} a`, {
- padding: "1rem",
- display: "flex",
- flexDirection: "column",
- alignItems: "center",
- justifyContent: "flex-start",
- gap: "0.25rem",
- height: "100%",
- width: "100%",
- borderRadius: vars.radiusSm,
- transition: "border-color 0.15s ease, background-color 0.15s ease",
- textDecoration: "none !important" as unknown as "none",
- /* `surface` sits one step lighter than `bg` in every flavour, so the card
- reads as a distinct panel instead of blending into the page. */
- backgroundColor: vars.surface,
- border: `1px solid ${vars.surfaceHigher}`,
- color: vars.text,
-});
-
-/* Border pops, no lift/glow — hard edges instead of soft motion. */
-globalStyle(`${memberGridItem} a:hover`, {
- borderColor: vars.accent,
- backgroundColor: vars.surfaceHi,
-});
-
-/* Avatars */
-export const avatarContainer = style({
- position: "relative",
- borderRadius: vars.radiusSm,
- overflow: "hidden",
- flexShrink: 0,
- margin: "0 auto",
- boxSizing: "border-box",
- width: "4.5rem",
- height: "4.5rem",
- border: `2px solid ${vars.surface}`,
- backgroundColor: vars.surface,
- "@media": {
- [mobile]: {
- width: "3.5rem",
- height: "3.5rem"
- },
- [tablet]: {
- width: "4rem",
- height: "4rem"
- },
- },
-});
-
-globalStyle(`${avatarContainer} img`, {
- width: "100%",
- height: "100%",
- objectFit: "cover",
- objectPosition: "center center",
- position: "absolute",
- top: 0,
- left: 0,
- right: 0,
- bottom: 0,
- margin: 0,
- padding: 0,
-});
-
-globalStyle(`${memberGridItem} a:hover ${avatarContainer}`, {
- borderColor: "var(--member-color)",
- boxShadow: "0 0 0 4px color-mix(in srgb, var(--member-color) 18%, transparent)",
-});
-
-/* Fronting members */
-export const frontingMembersContainer = style({
- display: "flex",
- flexWrap: "wrap",
- justifyContent: "center",
- gap: "1.5rem",
- alignItems: "flex-start",
- width: "100%",
- maxWidth: "100%",
- "@media": {
- [mobile]: { gap: "1rem" },
- },
-});
-
-export const frontingMember = style({
- display: "flex",
- flexDirection: "column",
- alignItems: "center",
- maxWidth: "140px",
- textAlign: "center",
- flexShrink: 0,
- "@media": {
- [mobile]: {
- maxWidth: "100px",
- minWidth: "90px"
- },
- },
-});
-
-export const frontingMemberName = style({
- marginTop: "0.75rem",
- fontFamily: FONT_COMIC,
- fontWeight: 600,
- fontSize: "1.5rem",
- lineHeight: 1.2,
- wordWrap: "break-word",
- maxWidth: "100%",
- color: vars.text,
- "@media": {
- [mobile]: {
- fontSize: "1.25rem",
- marginTop: "0.5rem"
- },
- },
-});
-
-export const memberName = style({
- fontSize: "1.5rem",
- fontFamily: FONT_COMIC,
- fontWeight: 600,
- "@media": {
- [mobile]: { fontSize: "1.25rem" },
- },
-});
-
-/* Mental state banners */
-const pulse = keyframes({
- "0%, 100%": { boxShadow: "0 0 0 0 rgba(220, 38, 38, 0.7)" },
- "70%": { boxShadow: "0 0 0 10px rgba(220, 38, 38, 0)" },
-});
-
-export const mentalStateBanner = style({
- margin: "1rem 0",
- borderRadius: vars.radiusSm,
- border: "1px solid",
- position: "relative",
- fontFamily: FONT_COMIC,
- fontWeight: 600,
- overflow: "hidden",
-});
-
-globalStyle(`${mentalStateBanner} *`, {
- fontFamily: FONT_COMIC,
- fontWeight: 600,
-});
-
-export const mentalStateSafe = style({
- background: "rgba(34, 197, 94, 0.06)",
- borderColor: "rgba(34, 197, 94, 0.5)",
- color: "#10b981",
-});
-
-export const mentalStateUnstable = style({
- background: "rgba(251, 191, 36, 0.06)",
- borderColor: "rgba(251, 191, 36, 0.5)",
- color: "#f59e0b",
-});
-
-export const mentalStateSelfHarming = style({
- background: "rgba(239, 68, 68, 0.08)",
- borderColor: "rgba(239, 68, 68, 0.7)",
- color: "#f87171",
-});
-
-export const mentalStateHighlyAtRisk = style({
- background: "rgba(220, 38, 38, 0.1)",
- borderColor: "rgba(220, 38, 38, 0.8)",
- color: "#fca5a5",
- animation: `${pulse} 2s infinite`,
-});
-
-/* Badges */
-export const hostBadge = style({
- display: "inline-block",
- fontSize: "0.7rem",
- padding: "0.15rem 0.55rem",
- borderRadius: vars.radiusSm,
- marginLeft: "0.5rem",
- fontWeight: 700,
- textTransform: "uppercase",
- verticalAlign: "middle",
- letterSpacing: "0.5px",
- fontFamily: FONT_COMIC,
- background: vars.accent,
- color: vars.bg,
-});
-
-/* Footer */
-export const githubFooter = style({
- marginTop: "3rem",
- padding: "1.5rem 0",
- textAlign: "center",
- width: "100%",
- fontFamily: FONT_COMIC,
- borderTop: `2px solid ${vars.surfaceHigher}`,
-});
-
-export const githubButton = style({
- display: "inline-flex",
- alignItems: "center",
- gap: "0.5rem",
- padding: "0.875rem 1.75rem",
- minHeight: "3rem",
- borderRadius: vars.radiusSm,
- fontWeight: 700,
- fontSize: "0.8125rem",
- textTransform: "uppercase",
- letterSpacing: "0.05em",
- transition: "background-color 0.15s ease, color 0.15s ease",
- fontFamily: FONT_COMIC,
- textDecoration: "none",
- background: "transparent",
- color: `${vars.textSoft} !important` as unknown as string,
- border: `1px solid ${vars.surfaceHigher}`,
- ":hover": {
- background: vars.accentAlt,
- color: `${vars.bg} !important` as unknown as string,
- borderColor: vars.accentAlt,
- },
-});
-
-/* Search bar */
-export const searchContainer = style({
- position: "relative",
- maxWidth: "28rem",
- margin: "0 auto 1.5rem",
-});
-
-export const searchInput = style({
- width: "100%",
- padding: "0.75rem 1rem 0.75rem 3rem",
- borderRadius: vars.radiusSm,
- border: `1px solid ${vars.surfaceHigher}`,
- backgroundColor: vars.surface,
- color: vars.text,
- fontFamily: FONT_COMIC,
- fontSize: "0.875rem",
- transition: "border-color 0.15s ease",
- ":focus": {
- outline: "none",
- borderColor: vars.accent,
- },
- "::placeholder": {
- color: vars.textDim,
- },
-});
-
-export const searchIcon = style({
- position: "absolute",
- left: "0.75rem",
- top: "50%",
- transform: "translateY(-50%)",
- color: vars.textMuted,
- width: "1.25rem",
- height: "1.25rem",
-});
-
-export const searchClear = style({
- position: "absolute",
- right: "0.75rem",
- top: "50%",
- transform: "translateY(-50%)",
- color: vars.textMuted,
- cursor: "pointer",
- padding: "0.25rem",
- borderRadius: vars.radiusSm,
- transition: "color 0.15s ease, background-color 0.15s ease",
- ":hover": {
- color: vars.text,
- backgroundColor: vars.surface,
- },
-});
-
-/* Filter buttons */
-export const filterButton = style({
- padding: "0.5rem 1rem",
- borderRadius: vars.radiusSm,
- transition: "background-color 0.15s ease, color 0.15s ease",
- fontFamily: FONT_COMIC,
- fontWeight: 700,
- fontSize: "0.75rem",
- textTransform: "uppercase",
- letterSpacing: "0.04em",
- cursor: "pointer",
- border: `1px solid ${vars.surfaceHigher}`,
- backgroundColor: vars.surface,
- color: vars.textSoft,
- ":hover": {
- backgroundColor: vars.surfaceHi,
- color: vars.text,
- borderColor: vars.accent,
- },
-});
-
-export const filterButtonActive = style({
- backgroundColor: `${vars.accent} !important` as unknown as string,
- color: `${vars.bg} !important` as unknown as string,
- borderColor: vars.accent,
-});
-
-/* Fronting glow */
-const frontingPulse = keyframes({
- "0%, 100%": { transform: "scale(1)" },
- "50%": { transform: "scale(1.02)" },
-});
-
-export const frontingGlow = style({
- position: "relative",
- animation: `${frontingPulse} 2s ease-in-out infinite`,
-});
-
-globalStyle(`${frontingGlow} a`, {
- background: "color-mix(in srgb, var(--member-color) 8%, transparent)",
- border: "2px solid var(--member-color)",
- boxShadow: "0 0 0 4px color-mix(in srgb, var(--member-color) 18%, transparent)",
-});
-
-globalStyle(`${frontingGlow} a:hover`, {
- background: "color-mix(in srgb, var(--member-color) 14%, transparent)",
-});
-
-globalStyle(`${frontingGlow} img`, {
- borderColor: "var(--member-color)",
- boxShadow: "0 0 0 3px color-mix(in srgb, var(--member-color) 18%, transparent)",
-});
-
-globalStyle(`${frontingGlow} a::before`, {
- content: '"FRONTING"',
- position: "absolute",
- top: "-1px",
- left: "-1px",
- background: "var(--member-color)",
- color: "black",
- fontSize: "0.6rem",
- padding: "0.15rem 0.5rem",
- borderRadius: vars.radiusSm,
- fontWeight: 700,
- letterSpacing: "0.05em",
- fontFamily: FONT_COMIC,
- zIndex: 10,
-});
-
-/* Utility */
-export const themeTransition = style({
- transition: "background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease",
-});
-
-// Re-export vars for pages that need raw tokens (e.g. charts)
-export { vars };
diff --git a/src/styles/theme.css.ts b/src/styles/theme.css.ts
deleted file mode 100644
index 2dd5ab3..0000000
--- a/src/styles/theme.css.ts
+++ /dev/null
@@ -1,93 +0,0 @@
-/* system/src/styles/theme.css.ts
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-import {
- createGlobalTheme,
- createGlobalThemeContract,
- globalStyle,
-} from "@vanilla-extract/css";
-
-/** Token -> literal CSS custom-property name (accentAlt => var(--accent-alt)). */
-export const vars = createGlobalThemeContract({
- accent: "accent",
- accentAlt: "accent-alt",
- success: "success",
- danger: "danger",
- warning: "warning",
- info: "info",
- rosewater: "rosewater",
- maroon: "maroon",
- peach: "peach",
- teal: "teal",
- sky: "sky",
- sapphire: "sapphire",
- lavender: "lavender",
- bgDeep: "bg-deep",
- bgRaised: "bg-raised",
- bg: "bg",
- surface: "surface",
- surfaceHi: "surface-hi",
- surfaceHigher: "surface-higher",
- textFaint: "text-faint",
- textDim: "text-dim",
- textMuted: "text-muted",
- textSoft: "text-soft",
- text: "text",
- fontComic: "font-comic",
- line: "line",
- accentLine: "accent-line",
- accentDim: "accent-dim",
- panel: "panel",
- radius: "radius",
- radiusSm: "radius-sm",
-});
-
-/** Not flavor-dependent, but goes through the same contract so it's always
- * referenced via var(--font-comic) — never inlined as a raw string, which
- * trips up the CSS serializer on the quote+comma combo. */
-const FONT_COMIC_VALUE = "'Comic Code', ui-monospace, monospace";
-
-/**
- * One palette, applied globally — matched to the inbox app (email/src/web/
- * app.css), which itself follows the main site's theme.css: translucent raised
- * surfaces over a fixed wallpaper, hairline borders, rounded cards that pick up
- * an accent ring on hover, pill buttons. The old token names are kept so every
- * component follows along; the surface shades are now translucent whites.
- */
-createGlobalTheme(":root", vars, {
- accent: "#eb459e",
- accentAlt: "#c9327f",
- success: "#eb459e",
- danger: "#ff5c7a",
- warning: "#eb459e",
- info: "#a49eab",
- rosewater: "#f7c6e0",
- maroon: "#c9327f",
- peach: "#f07ab8",
- teal: "#a49eab",
- sky: "#a49eab",
- sapphire: "#7d7785",
- lavender: "#f07ab8",
- bgDeep: "#070609",
- bgRaised: "rgb(255 255 255 / 3.5%)",
- bg: "#0b0a0d",
- surface: "rgb(255 255 255 / 3.5%)",
- surfaceHi: "rgb(255 255 255 / 6%)",
- surfaceHigher: "rgb(255 255 255 / 9%)",
- textFaint: "#6a6470",
- textDim: "#857f8c",
- textMuted: "#a49eab",
- textSoft: "#d3ced8",
- text: "#ece9ef",
- fontComic: FONT_COMIC_VALUE,
- line: "rgb(255 255 255 / 9%)",
- accentLine: "rgb(235 69 158 / 40%)",
- accentDim: "rgb(235 69 158 / 14%)",
- panel: "rgb(11 10 13 / 72%)",
- radius: "1rem",
- radiusSm: "0.5rem",
-});
-globalStyle(":root", { colorScheme: "dark" });
diff --git a/public/background.avif b/static/background.avif
similarity index 100%
rename from public/background.avif
rename to static/background.avif
diff --git a/tsconfig.json b/tsconfig.json
index ded3d18..1adffc4 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,52 +1,13 @@
{
+ "extends": "$app/tsconfig",
+ "include": ["src", "*.ts"],
+ "exclude": ["node_modules", ".svelte-kit/cloudflare"],
"compilerOptions": {
- "target": "ES2017",
- "lib": [
- "dom",
- "dom.iterable",
- "esnext"
- ],
- "allowJs": true,
- "skipLibCheck": true,
+ "allowImportingTsExtensions": true,
+ "checkJs": false,
"strict": true,
- "noEmit": true,
- "esModuleInterop": true,
- "module": "esnext",
- "moduleResolution": "bundler",
- "resolveJsonModule": true,
- "isolatedModules": true,
- "jsx": "react-jsx",
- "incremental": true,
- "plugins": [
- {
- "name": "next"
- }
- ],
- "paths": {
- "@/*": [
- "./src/*"
- ]
- }
- },
- "include": [
- "next-env.d.ts",
- "**/*.ts",
- "**/*.tsx",
- ".next/types/**/*.ts",
- ".next/dev/types/**/*.ts",
- "**/*.mts",
- ".next-sandbox/types/**/*.ts",
- ".next-sandbox/dev/types/**/*.ts",
- ".next-sandbox2/types/**/*.ts",
- ".next-sandbox2/dev/types/**/*.ts",
- ".next-sandbox3/types/**/*.ts",
- ".next-sandbox3/dev/types/**/*.ts",
- ".next-sandbox4/types/**/*.ts",
- ".next-sandbox4/dev/types/**/*.ts",
- ".next-sandbox5/types/**/*.ts",
- ".next-sandbox5/dev/types/**/*.ts"
- ],
- "exclude": [
- "node_modules"
- ]
+ "skipLibCheck": true,
+ "noUncheckedIndexedAccess": true,
+ "types": ["$app/types", "@cloudflare/workers-types"]
+ }
}
diff --git a/vite.config.ts b/vite.config.ts
new file mode 100644
index 0000000..8e0c1a8
--- /dev/null
+++ b/vite.config.ts
@@ -0,0 +1,25 @@
+/* vite.config.ts
+ * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
+ * Licensed under the DASL-1.0 Licence.
+ * See LICENCE.md in the project root for full licence information.
+ */
+
+import adapter from "@sveltejs/adapter-cloudflare";
+import { sveltekit } from "@sveltejs/kit/vite";
+import { defineConfig } from "vite";
+
+export default defineConfig({
+ plugins: [
+ sveltekit({
+ compilerOptions: {
+ // Runes everywhere except libraries
+ runes: ({ filename }) => (filename.split(/[/\\]/).includes("node_modules") ? undefined : true),
+ },
+ adapter: adapter(),
+ }),
+ ],
+ // iconsax fetches its icon data relative to its own file, which pre-bundling breaks
+ optimizeDeps: {
+ exclude: ["iconsax"],
+ },
+});
diff --git a/wrangler.jsonc b/wrangler.jsonc
index 8d17323..a10d602 100644
--- a/wrangler.jsonc
+++ b/wrangler.jsonc
@@ -1,27 +1,16 @@
{
"$schema": "node_modules/wrangler/config-schema.json",
- "main": ".open-next/worker.js",
"name": "doughmination-system",
- "compatibility_date": "2026-08-01",
+ "main": ".svelte-kit/cloudflare/_worker.js",
+ "compatibility_date": "2026-10-01",
"compatibility_flags": [
- // Required for Next.js server code to run on Workers.
"nodejs_compat",
- // Makes fetch() in server code go over the public internet — needed so the
- // [member_id] layout can call the Doughmination/PluralKit API.
+ // Makes fetch() in server code go over the public internet — needed so
+ // member pages can call the Doughmination/PluralKit API while rendering.
"global_fetch_strictly_public"
],
"assets": {
- "directory": ".open-next/assets",
- "binding": "ASSETS"
- },
- "services": [
- {
- "binding": "WORKER_SELF_REFERENCE",
- // Must match "name" above.
- "service": "doughmination-system"
- }
- ]
- // To enable persistent Next.js data/ISR caching, create an R2 bucket and add
- // an "r2_buckets" binding named NEXT_INC_CACHE_R2_BUCKET here, then switch
- // open-next.config.ts to r2IncrementalCache. Not needed for always-fresh data.
+ "binding": "ASSETS",
+ "directory": ".svelte-kit/cloudflare"
+ }
}