# ☁️ Build a Multiplayer System With AI + Cloudflare

> **How to use this file:** Complete the human setup below, put this file in
> an empty project folder, open it in your coding agent, and say:
>
> **“Read COIN-RUSH-BUILD-GUIDE.md and build everything.”**

---

## 📚 Prerequisites & Links

| What | Where | What to do |
|---|---|---|
| Coding agent | Your preferred coding agent | Open the project folder with file and terminal access |
| Node.js | https://nodejs.org | Use a supported version; choose LTS for a fresh install |
| Cloudflare account | https://dash.cloudflare.com/sign-up | Sign up and verify your email |
| Cloudflare dashboard | https://dash.cloudflare.com | Sign into the account that will host the game |

---

## 👤 Human Setup — Do This First

1. Create your Cloudflare account, verify its email, and sign into the dashboard.
2. Have Node.js installed on the computer running your coding agent; it checks the version first.
3. Open an empty project folder in the agent and put this document inside it.
4. Give the agent the build prompt. Its first stage connects the deployment
   tool to your account. Complete any sign-in or **Allow** screen then.

After that initial approval, the agent continues building, testing and
publishing from the same request.

---

## 🗺️ From One Document to Online Multiplayer

Give this plan to a coding agent. It builds a small multiplayer game,
tests it on your computer, and deploys it to **Cloudflare Workers**.

![You connect Cloudflare; the AI agent builds and tests locally; Cloudflare publishes the website and shared rooms](https://alphastack.fun/downloads/9c5eb76f78dc/05-ai-to-cloudflare.svg)

**Build flow:** You connect the account → agent builds and tests locally →
agent deploys to Cloudflare → friends open the public link.

---

## ☁️ Two Screens, One Shared Room

![Computer and phone send movement through a Worker to one Durable Object; the room sends shared updates back to both screens](https://alphastack.fun/downloads/9c5eb76f78dc/06-shared-room.svg)

**Connection flow:** Browser → Worker → room selected by code → updates to
everyone in that room.

| Part | Plain-English job |
|---|---|
| Browser | Draw the game and read your controls |
| Cloudflare Workers + Static Assets | Host the website and run the code that routes players |
| Durable Object | One shared room that runs the match's rules and keeps its state |
| WebSocket | An open connection carrying live messages in both directions |
| Room code | Send friends to the same match; other codes use separate rooms |

The Worker uses the **ROOMS binding** to reach a room. A binding is the
configured connection between the Worker and this Durable Object class.
The project creates individual rooms as players need them.

---

## ⚡ Move Locally, Agree Online

![Your browser moves immediately and sends input; the Cloudflare room checks it and sends state to your screen and your friend's screen](https://alphastack.fun/downloads/9c5eb76f78dc/07-local-and-sync.svg)

**Play flow:** Move immediately on your device + send input → room checks
movement and pickups → both screens receive the latest shared state.

| Where | What happens |
|---|---|
| Your device | Predict your own movement immediately using the game's movement rules |
| Cloudflare room | Process movement input, decide who collected an item and update scores |
| Back on your device | Start from the checked position and reapply movement inputs the room has not acknowledged yet |
| Friend's device | Smooth the other player's movement toward the latest position received |

The browser sends **movement input**, rather than choosing its own score.
This keeps controls responsive while the room decides shared outcomes.
Internet travel time still exists; prediction avoids waiting for a reply
before showing your own movement.

In this implementation, movement inputs are sampled every **50 ms** and the
room normally broadcasts a snapshot every **100 ms** during a round. Browsers
draw between updates. If WebSockets fail, the same room accepts HTTPS requests
instead; updates can arrive less often on that fallback.

---

## 🎮 The Working Example

**Coin Rush** demonstrates the system: 2–4 players join a room and collect
items for 45 seconds. The room awards each item once and shares the result.

![The example multiplayer game running in a browser](https://alphastack.fun/downloads/9c5eb76f78dc/04-game.webp)

**Try it:** Create room → share invite link → friend joins → start round →
compare the shared result.

Hold and drag on the arena with a mouse or finger; release to stop.
Arrow keys / WASD also work. The **Optional Style Choices** below let you
change the theme while keeping the multiplayer foundation.

---

## 🧩 Project Structure

```text
coin-rush/
├── package.json + package-lock.json   Build tools and exact versions
├── wrangler.jsonc                    Cloudflare configuration
├── index.html                        Website entry point
├── client/
│   ├── main.js                       Screens, controls and game drawing
│   ├── prediction.js                 Responsive movement
│   ├── runner-assets.js              Included character artwork
│   └── style.css                     Computer and phone layout
├── server/
│   ├── game.js                       Movement, coins, scores and timer
│   └── worker.js                     Rooms and connections
└── tests/
    ├── game.test.mjs                  Game rules
    └── prediction.test.mjs            Movement and reconciliation
```

---

## 🛠️ The Build Flow

```text
CHECK TOOLS → CONNECT CLOUDFLARE → YOU APPROVE
                                       │
                                       ▼
                             BUILD → TEST → DEPLOY
                                       │
                                       ▼
                             TWO DEVICES → ONE ROOM
```

### 1. Agent preflight + your approval

**Agent:** Read the entire file appendix. Check Node against package.json.
Write package.json, package-lock.json and .gitignore, then install the tools:

```bash
npm ci
npx wrangler whoami
```

If a login is needed:

```bash
npx wrangler login --scopes account:read user:read workers:write workers_scripts:write workers_routes:write workers_kv:write
```

**You:** Complete the sign-in or **Allow** screen at this stage. If the account
asks for a workers.dev subdomain, choose an available name when prompted.

![Cloudflare authorization succeeded](https://alphastack.fun/downloads/9c5eb76f78dc/03-authorized.webp)

**Agent:** Confirm the intended account and continue from the same request.
The scopes above cover this project; warnings about unrelated extra scopes
are not a reason to repeat authorization.

### 2. Build and check the game

**Agent:** Write the remaining appendix files, including the bundled artwork.
Check the SHA-256 manifest. Read large blocks in chunks or extract them with
Node. Apply any style choices from the prompt, then run:

```bash
npm test
npm run dev
```

When the local server is ready, open:

```text
http://127.0.0.1:8787
```

Create a room in one browser tab and join from a second using another name.
Check movement, collecting items, the shared result and a rematch.

### 3. Publish with Cloudflare

**Agent:** Deploy the checked game:

```bash
npm run deploy
```

Wrangler uploads the website files and Worker, and configures **ROOMS** from
wrangler.jsonc. The Worker uses that binding to reach each match's Durable
Object. Return the public URL printed by the successful deployment.

**You:** The deployed project appears under **Compute → Workers & Pages**.

![Cloudflare Workers & Pages](https://alphastack.fun/downloads/9c5eb76f78dc/01-workers-list.webp)

Click the project, then **Visit** to open its public link. In the overview,
**Assets** holds the website files; **ROOMS** connects the Worker to the
shared-room class. Each match gets its own room.

![The deployed game and its ROOMS binding](https://alphastack.fun/downloads/9c5eb76f78dc/02-worker-overview.webp)

### 4. Play online

```text
COMPUTER: Open the public URL → Enter name → CREATE GAME → Copy invite link
PHONE:    Open the invite link → Enter another name → JOIN
BOTH:     START ROUND → Collect items → Compare scores → PLAY AGAIN
```

Share the deployed **workers.dev** link with friends. Use a phone on mobile
data for the final check alongside the computer.

---

## ⚙️ Build Requirements

| Area | Required behavior |
|---|---|
| Rooms | Six-character codes; up to four players; each room runs independently |
| Round | Two connected players to start; three-second countdown; 45-second race |
| Authority | The room checks movement speed, awards each collectible once and decides the result |
| Controls | Mouse/touch hold-and-drag; keyboard alternative; immediate local movement with server reconciliation |
| Rejoining | Same-tab reconnect using its saved room token; automatic host handover |
| Connections | WebSockets with automatic HTTPS fallback |
| Rematch | Reset positions, collectibles and scores while keeping the room |
| Cleanup | Remove empty rooms after about an hour |

**Agent:** Use the tested files as the starting implementation. Preserve the
networking and movement behavior while making requested changes.
Keep account credentials in Wrangler's local login storage. Use a fresh
Worker name if the intended name belongs to an unrelated application.

---

## ✅ Before Calling It Finished

| Check | Success looks like |
|---|---|
| Tests and build | npm test and npm run build pass |
| Two players | Both join the same room and collect items |
| Shared result | Both screens show the same final scores |
| Touch and keyboard | Hold-and-drag follows the pointer promptly; release stops; touch leaves the page still |
| Rejoin | A player can reload and rejoin the same room |
| Rematch | A new round starts with reset scores |
| Capacity | Four players can join; a fifth receives a room-full message |
| Separate rooms | Actions in one room leave the other room unchanged |
| Connection fallback | Play continues through HTTPS when WebSockets are unavailable |
| Public link | The deployed URL works on the second device |

**Agent:** Run these checks and fix failures before handing over the live URL.

---

## 🔎 Troubleshooting

| Problem | Fix |
|---|---|
| Node is missing or unsupported | Install the supported LTS from nodejs.org |
| Cloudflare requests email confirmation | Verify the email, then repeat login |
| The authorization browser doesn't open | Agent adds --browser=false and provides the generated login URL; keep the login terminal running |
| The wrong Cloudflare account is selected | Log into the intended account before deploying |
| Start is disabled | Connect a second player; the current host starts the round |
| Room is full or already playing | Use another room or wait for that round to finish |
| Friends can't open the link | Share the public workers.dev URL |
| Local port 8787 is busy | Close the earlier local server and run npm run dev again |
| The game can't reconnect | Restore the connection, then reload and rejoin |
| Deployment reports a usage limit | Check the account's Cloudflare usage |

Cloudflare's Free plan supports this setup within its usage limits:
https://developers.cloudflare.com/durable-objects/platform/pricing/

---

## 🎨 Optional Style Choices

Leave these at their defaults to build the supplied game, or change them in
the prompt before starting.

| Choice | Default | Example change |
|---|---|---|
| Game title | Coin Rush | Penguin Dash |
| Characters | Supplied cartoon runners | Tiny penguins |
| Collectibles | Animated dollar bills | Fluttering fish |
| Colours | Supplied palette | Ice blue and orange |

The agent updates the art and matching interface text while preserving the
shared-room rules, responsive controls and tests. The supplied artwork is
included in the project files.

---

## 🚀 Build Prompt

```text
Read COIN-RUSH-BUILD-GUIDE.md completely and build everything in this folder.
Follow the preflight first: check the tools, install the locked dependencies,
and connect my Cloudflare account. I will handle the initial sign-in and
approval screens. Then continue from this same request.

Write the complete project from the file appendix, including its artwork.
Run the tests, check a two-player local round, deploy the game, and test
its public URL. Fix failures before handing it over.

Style choices:
- Title: Coin Rush
- Characters: use the supplied artwork
- Collectibles: keep the supplied animated dollar bills
- Colours: keep the supplied palette

Finish with my playable game link and the results of the checks.
```

---

## 📖 References

| Topic | Documentation |
|---|---|
| Durable Objects | https://developers.cloudflare.com/durable-objects/concepts/what-are-durable-objects/ |
| Shared rooms and WebSockets | https://developers.cloudflare.com/durable-objects/best-practices/websockets/ |
| Serving the website | https://developers.cloudflare.com/workers/static-assets/ |
| Deployment commands | https://developers.cloudflare.com/workers/wrangler/commands/ |

---

## 📦 Complete Project Files

<details>
<summary><strong>Open the complete tested files — for the coding agent</strong></summary>

Write each block to the named path. The lockfile and checksum manifest are
included with the source.

### File: `package.json`

```json
{
  "name": "coin-rush",
  "version": "1.0.0",
  "private": true,
  "type": "module",
  "engines": { "node": ">=22.12.0" },
  "scripts": {
    "build": "vite build",
    "dev": "npm run build && wrangler dev --ip 127.0.0.1 --port 8787",
    "deploy": "npm run build && wrangler deploy",
    "test": "node --test tests/*.test.mjs"
  },
  "dependencies": { "phaser": "3.90.0" },
  "devDependencies": { "vite": "8.3.5", "wrangler": "4.151.3" }
}
```

### File: `package-lock.json`

```json
{
  "name": "coin-rush",
  "version": "1.0.0",
  "lockfileVersion": 3,
  "requires": true,
  "packages": {
    "": {
      "name": "coin-rush",
      "version": "1.0.0",
      "dependencies": {
        "phaser": "3.90.0"
      },
      "devDependencies": {
        "vite": "8.3.5",
        "wrangler": "4.151.3"
      },
      "engines": {
        "node": ">=22.12.0"
      }
    },
    "node_modules/@cloudflare/kv-asset-handler": {
      "version": "0.5.0",
      "resolved": "https://registry.npmjs.org/@cloudflare/kv-asset-handler/-/kv-asset-handler-0.5.0.tgz",
      "integrity": "sha512-jxQYkj8dSIzc0cD6cMMNdOc1UVjqSqu8BZdor5s8cGjW2I8BjODt/kWPVdY+u9zj3ms75Q5qaZgnxUad83+eAg==",
      "dev": true,
      "license": "MIT OR Apache-2.0",
      "engines": {
        "node": ">=22.0.0"
      }
    },
    "node_modules/@cloudflare/unenv-preset": {
      "version": "2.16.2",
      "resolved": "https://registry.npmjs.org/@cloudflare/unenv-preset/-/unenv-preset-2.16.2.tgz",
      "integrity": "sha512-JBP1+Z7ZSNG/d4mRP+y8VC5dka3tZVMLEZRvS+rzQ4DGV1EoxRFQckcJTTkXbHSQiTj0DtNI01Zwb/V2fX0mvQ==",
      "dev": true,
      "license": "MIT OR Apache-2.0",
      "peerDependencies": {
        "unenv": "2.0.0-rc.24",
        "workerd": ">1.20260305.0 <2.0.0-0"
      },
      "peerDependenciesMeta": {
        "workerd": {
          "optional": true
        }
      }
    },
    "node_modules/@cloudflare/workerd-darwin-64": {
      "version": "1.20261019.1",
      "resolved": "https://registry.npmjs.org/@cloudflare/workerd-darwin-64/-/workerd-darwin-64-1.20261019.1.tgz",
      "integrity": "sha512-5ZILbAta/fBQvhmAYeCE7dKMMYIr7N9wJEX50fEGLKSIwGtvT0HzSfHNIK/O7cBQ4gHQ2WfIiPClvwcye6E0fA==",
      "cpu": [
        "x64"
      ],
      "dev": true,
      "license": "Apache-2.0",
      "optional": true,
      "os": [
        "darwin"
      ],
      "engines": {
        "node": ">=16"
      }
    },
    "node_modules/@cloudflare/workerd-darwin-arm64": {
      "version": "1.20261019.1",
      "resolved": "https://registry.npmjs.org/@cloudflare/workerd-darwin-arm64/-/workerd-darwin-arm64-1.20261019.1.tgz",
      "integrity": "sha512-cww2Ab6lVMxpTiEEjKmPI58p5EMo0vYTZSH+3WkqXJdQgc3ES66GuL247+U2B2YWajhhu2tqj7jySrXneU749g==",
      "cpu": [
        "arm64"
      ],
      "dev": true,
      "license": "Apache-2.0",
      "optional": true,
      "os": [
        "darwin"
      ],
      "engines": {
        "node": ">=16"
      }
    },
    "node_modules/@cloudflare/workerd-linux-64": {
      "version": "1.20261019.1",
      "resolved": "https://registry.npmjs.org/@cloudflare/workerd-linux-64/-/workerd-linux-64-1.20261019.1.tgz",
      "integrity": "sha512-4++VRi9vkQROYqrpZYOixIJuVDmujkwrT4kszsxNFlvcmsX6Mr2GumvxIN3gIixS3vJUh3Umdtkthqj5X0S3Xw==",
      "cpu": [
        "x64"
      ],
      "dev": true,
      "license": "Apache-2.0",
      "optional": true,
      "os": [
        "linux"
      ],
      "engines": {
        "node": ">=16"
      }
    },
    "node_modules/@cloudflare/workerd-linux-arm64": {
      "version": "1.20261019.1",
      "resolved": "https://registry.npmjs.org/@cloudflare/workerd-linux-arm64/-/workerd-linux-arm64-1.20261019.1.tgz",
      "integrity": "sha512-75PVtJOwfjScQ53sbLtQXI7D8yP1c21t+WEUPaYbqkzaz4ZqfR5wAd+zuWs8G5Q7kOj2SQIvEfY5Sn8Y+UVrnA==",
      "cpu": [
        "arm64"
      ],
      "dev": true,
      "license": "Apache-2.0",
      "optional": true,
      "os": [
        "linux"
      ],
      "engines": {
        "node": ">=16"
      }
    },
    "node_modules/@cloudflare/workerd-windows-64": {
      "version": "1.20261019.1",
      "resolved": "https://registry.npmjs.org/@cloudflare/workerd-windows-64/-/workerd-windows-64-1.20261019.1.tgz",
      "integrity": "sha512-z49fvKTETMCnG6wnMcQwxx9CpryFceiKz04FRjq26EkhCyzRNJ6c3UXhyZz3r5f1CXnnBZc5DcU8ZouPkUJCqw==",
      "cpu": [
        "x64"
      ],
      "dev": true,
      "license": "Apache-2.0",
      "optional": true,
      "os": [
        "win32"
      ],
      "engines": {
        "node": ">=16"
      }
    },
    "node_modules/@cspotcode/source-map-support": {
      "version": "0.8.1",
      "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz",
      "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==",
      "dev": true,
      "license": "MIT",
      "dependencies": {
        "@jridgewell/trace-mapping": "0.3.9"
      },
      "engines": {
        "node": ">=12"
      }
    },
    "node_modules/@emnapi/runtime": {
      "version": "1.11.3",
      "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.11.3.tgz",
      "integrity": "sha512-Xz4Tpyki7XyrpbUK1jR1AhdAdaXyhhY4lZ3neLodmhpuWfy2PAQN5B46sAiU4liOXGLkHypn/qU+jvfWSCYYLA==",
      "dev": true,
      "license": "MIT",
      "optional": true,
      "dependencies": {
        "tslib": "^2.4.0"
      }
    },
    "node_modules/@esbuild/aix-ppc64": {
      "version": "0.28.2",
      "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.28.2.tgz",
      "integrity": "sha512-XExcO+dvLKvVtNTibSTBej1NCAbaGhWn9Ww1ZPx80qsahhPFe/8jgWP0IchNe0F3HwkU7n8ejhH8bjonqht8mQ==",
      "cpu": [
        "ppc64"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "aix"
      ],
      "engines": {
        "node": ">=18"
      }
    },
    "node_modules/@esbuild/android-arm": {
      "version": "0.28.2",
      "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.28.2.tgz",
      "integrity": "sha512-kXXoiPVVGQcnIYGOeaovwOURpniDBpSq4A03qkQ+BMQqtGG6HYap3xne9C1O1yo4TR3qxlCX5IqqmX6fFo2Lqg==",
      "cpu": [
        "arm"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "android"
      ],
      "engines": {
        "node": ">=18"
      }
    },
    "node_modules/@esbuild/android-arm64": {
      "version": "0.28.2",
      "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.28.2.tgz",
      "integrity": "sha512-5YfKeeI8qWfBZIX+u2xZC3Zlb3Os/gLS2sbEKM+I4ZOcsWmHS2WLysCcQZDAFRslDUU5Oiq44gf6PYN1vGwG5A==",
      "cpu": [
        "arm64"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "android"
      ],
      "engines": {
        "node": ">=18"
      }
    },
    "node_modules/@esbuild/android-x64": {
      "version": "0.28.2",
      "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.28.2.tgz",
      "integrity": "sha512-O387ite7SzUyCcy3JQX4P4bLtEA7bLLkx+esve5JHnyYfNTxcVpXZo9jhdB0lTKN44gztELTdU7nS8Nr16Fs1Q==",
      "cpu": [
        "x64"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "android"
      ],
      "engines": {
        "node": ">=18"
      }
    },
    "node_modules/@esbuild/darwin-arm64": {
      "version": "0.28.2",
      "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.28.2.tgz",
      "integrity": "sha512-n4KqkOQrraxHJcgjM1RvwbigfQKIKJVpM7xp+KsxiyUSrRdIXnt73VhrPAx0fV44hgfmIVKjxMN9J1t5jySVkw==",
      "cpu": [
        "arm64"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "darwin"
      ],
      "engines": {
        "node": ">=18"
      }
    },
    "node_modules/@esbuild/darwin-x64": {
      "version": "0.28.2",
      "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.28.2.tgz",
      "integrity": "sha512-uq6suIWYP37qzGddBKPw5QEQPi6HiLGsO7UmkpfyaYNQ3D+rN6w6WfwH+nuqcGXWvawGwxOEroO4YGnFh95azw==",
      "cpu": [
        "x64"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "darwin"
      ],
      "engines": {
        "node": ">=18"
      }
    },
    "node_modules/@esbuild/freebsd-arm64": {
      "version": "0.28.2",
      "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.28.2.tgz",
      "integrity": "sha512-n+I0BTSRIoy+d6RPKnEVwql5UwBJolytvY4mAOIEJorKlqgPII8ix6slVVrfZ5Tnj7glIZvloylbB/EJPMWEXw==",
      "cpu": [
        "arm64"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "freebsd"
      ],
      "engines": {
        "node": ">=18"
      }
    },
    "node_modules/@esbuild/freebsd-x64": {
      "version": "0.28.2",
      "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.28.2.tgz",
      "integrity": "sha512-78XJTJkvPs0kz2w61301PJjXl4g7q3JqiYMZ/M/yVI73EHBrCRTgkhu9oqG7vPqq+a/yadEW8aD+agKlk5xrmg==",
      "cpu": [
        "x64"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "freebsd"
      ],
      "engines": {
        "node": ">=18"
      }
    },
    "node_modules/@esbuild/linux-arm": {
      "version": "0.28.2",
      "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.28.2.tgz",
      "integrity": "sha512-XlDnu2q5yoqems+xay6wSAcg9DDD7K9RLKZEBOMZm3ckNpJBvOX20tSfby8KfrrhINDyv9V2YVZKY/SpoGJI8w==",
      "cpu": [
        "arm"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "linux"
      ],
      "engines": {
        "node": ">=18"
      }
    },
    "node_modules/@esbuild/linux-arm64": {
      "version": "0.28.2",
      "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.28.2.tgz",
      "integrity": "sha512-pW4AC0P3it8c7do9MVM4p51FzHzdM/TZrerurgRcHJ2WTa1VQ1CIq18xncfpBJw4ojkiZZrKW2yIBWBP92j6Ug==",
      "cpu": [
        "arm64"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "linux"
      ],
      "engines": {
        "node": ">=18"
      }
    },
    "node_modules/@esbuild/linux-ia32": {
      "version": "0.28.2",
      "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.28.2.tgz",
      "integrity": "sha512-CYbnj78HsIeA+DhgUKgFCfvNsTHFhMMrinUrMZpDXJXKN8T3XViTZ/+wtHeVxEWY8ewSzTFN+nRmSwO2tZaLUQ==",
      "cpu": [
        "ia32"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "linux"
      ],
      "engines": {
        "node": ">=18"
      }
    },
    "node_modules/@esbuild/linux-loong64": {
      "version": "0.28.2",
      "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.28.2.tgz",
      "integrity": "sha512-buwkd8nsph4R+ajRvw0qM5Hja/TXQow3ptzWO2EbG/cqcIkHloRrdlBtQlshyYGTNFvfkfJ5tpPLVkY4DtsPfQ==",
      "cpu": [
        "loong64"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "linux"
      ],
      "engines": {
        "node": ">=18"
      }
    },
    "node_modules/@esbuild/linux-mips64el": {
      "version": "0.28.2",
      "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.28.2.tgz",
      "integrity": "sha512-ZVykbDyk7519VwiNb9Lcj9m8XM6v5V9uKPvrEMkkEedVewf+0itkhahp4HDpgERXhwLRpWFypsGbG/J8s0QjJA==",
      "cpu": [
        "mips64el"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "linux"
      ],
      "engines": {
        "node": ">=18"
      }
    },
    "node_modules/@esbuild/linux-ppc64": {
      "version": "0.28.2",
      "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.28.2.tgz",
      "integrity": "sha512-CAXl+Dtd9UUuJd8pKKdwh6MLm3MUMiqMPmhZ3tTSXPqfyQ3vDl6R5hZdZ/kYojK4ofXtdfSv1tFq8XzWx3heNQ==",
      "cpu": [
        "ppc64"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "linux"
      ],
      "engines": {
        "node": ">=18"
      }
    },
    "node_modules/@esbuild/linux-riscv64": {
      "version": "0.28.2",
      "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.28.2.tgz",
      "integrity": "sha512-GeXCej4IQtU1B+QlDV8W/RRvbzI3O/Stss+/bCXv4lZls5WGRtu2a+3JkA3i4qIUlMXpcHebWpF8AkJhATowuA==",
      "cpu": [
        "riscv64"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "linux"
      ],
      "engines": {
        "node": ">=18"
      }
    },
    "node_modules/@esbuild/linux-s390x": {
      "version": "0.28.2",
      "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.28.2.tgz",
      "integrity": "sha512-3H1weTYZPxt/WOhByszQZybS9w5lKzUn1FDMsgEChbHWQwHYQQRfBxgCcZvPhjHfKyJjIievvMmEUawJrdY9Dg==",
      "cpu": [
        "s390x"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "linux"
      ],
      "engines": {
        "node": ">=18"
      }
    },
    "node_modules/@esbuild/linux-x64": {
      "version": "0.28.2",
      "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.28.2.tgz",
      "integrity": "sha512-4xTZr1FUmSoQW4XIWmit3tzQrUTZM+N3P0XV8xROKYF50XfI7xeO90+1bZvNwxIufQ9hDQVRJH5YhgPVF8A/HQ==",
      "cpu": [
        "x64"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "linux"
      ],
      "engines": {
        "node": ">=18"
      }
    },
    "node_modules/@esbuild/netbsd-arm64": {
      "version": "0.28.2",
      "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.28.2.tgz",
      "integrity": "sha512-sSATRjPeDBg3pdgHoQfoYBob11Kk1FGa9lui5RIHZCoCkJa9QKlvl3/vKz2usCmYYjs7ymJR/2Nnsqe+Hjt5nw==",
      "cpu": [
        "arm64"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "netbsd"
      ],
      "engines": {
        "node": ">=18"
      }
    },
    "node_modules/@esbuild/netbsd-x64": {
      "version": "0.28.2",
      "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.28.2.tgz",
      "integrity": "sha512-lqnzCV+mM0gIADaKihiCg6ifgfU2L3h5E33rNQBN1Y4MaVGnzryzmvvf7UHxprpQdE8hpqLolJ9Rl+SkIRDpyw==",
      "cpu": [
        "x64"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "netbsd"
      ],
      "engines": {
        "node": ">=18"
      }
    },
    "node_modules/@esbuild/openbsd-arm64": {
      "version": "0.28.2",
      "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.28.2.tgz",
      "integrity": "sha512-AL2qJILH7lNjrDmCQDvdxMfAUIv8KMNZOvrwAQ8i8//ntL9FflhOyMJ8OZSMBb8/AWXe3/5v5S20y3zCoZWKoQ==",
      "cpu": [
        "arm64"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "openbsd"
      ],
      "engines": {
        "node": ">=18"
      }
    },
    "node_modules/@esbuild/openbsd-x64": {
      "version": "0.28.2",
      "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.28.2.tgz",
      "integrity": "sha512-QtiuPytchRyC4rwUKhexJdQKvDuZ6hWloi3igqPQNUJCS1/v9EiO3UTOXR6A3FoMo4fnAKbWJdqaIwhOzh8qEw==",
      "cpu": [
        "x64"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "openbsd"
      ],
      "engines": {
        "node": ">=18"
      }
    },
    "node_modules/@esbuild/openharmony-arm64": {
      "version": "0.28.2",
      "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.28.2.tgz",
      "integrity": "sha512-WkhYDmpTjLvGlScA1rwjRUmhl4k8oXR3cIbtqWmELgU/dFeHHlEllxDvdWcNJV9rbzCexB5vz8gtNewWLgCT7Q==",
      "cpu": [
        "arm64"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "openharmony"
      ],
      "engines": {
        "node": ">=18"
      }
    },
    "node_modules/@esbuild/sunos-x64": {
      "version": "0.28.2",
      "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.28.2.tgz",
      "integrity": "sha512-GPMSkTOtMnv2U2F8gxe4Io6qmVs+YKyp832Etqqxr0hFngmXQ3rzwytelm3GIn7T4VviRUlf3sOgBOiTdvaf7g==",
      "cpu": [
        "x64"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "sunos"
      ],
      "engines": {
        "node": ">=18"
      }
    },
    "node_modules/@esbuild/win32-arm64": {
      "version": "0.28.2",
      "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.28.2.tgz",
      "integrity": "sha512-PIhhEkE9uPBleRBrQEJpUn7MBnibZzbGzYWPmY3x+YoVg/95zbjB4CxPPOQ8l5tYYM4mMaCthF8/1DIfBQQyWQ==",
      "cpu": [
        "arm64"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "win32"
      ],
      "engines": {
        "node": ">=18"
      }
    },
    "node_modules/@esbuild/win32-ia32": {
      "version": "0.28.2",
      "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.28.2.tgz",
      "integrity": "sha512-YmJbfTlvU7Sdn9BB+4PRES4oB6pxgS37MAONj+hBr/cpXS1aBPKXxNnDbu+QCWPj0o9dgyxeq79g6c5P8KeuYA==",
      "cpu": [
        "ia32"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "win32"
      ],
      "engines": {
        "node": ">=18"
      }
    },
    "node_modules/@esbuild/win32-x64": {
      "version": "0.28.2",
      "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.28.2.tgz",
      "integrity": "sha512-5ebpxr3nWMzrL/rnUI755Jkuee0bHL/Gq0WTF9lvcpv73wAp5eu8MfBUgWK9bhWvZjj7yX8etf/8tI8Ney695g==",
      "cpu": [
        "x64"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "win32"
      ],
      "engines": {
        "node": ">=18"
      }
    },
    "node_modules/@img/colour": {
      "version": "1.1.0",
      "resolved": "https://registry.npmjs.org/@img/colour/-/colour-1.1.0.tgz",
      "integrity": "sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ==",
      "dev": true,
      "license": "MIT",
      "engines": {
        "node": ">=18"
      }
    },
    "node_modules/@img/sharp-darwin-arm64": {
      "version": "0.35.5",
      "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.35.5.tgz",
      "integrity": "sha512-QRUlFQ0WxvdWyqqG/WtI3iupfD5rBzmCHXSdPsY91sAtVtTo7Q4cb6zOccZ3gqEqkr0f1As1ehLqmEpDsRf+lg==",
      "cpu": [
        "arm64"
      ],
      "dev": true,
      "license": "Apache-2.0",
      "optional": true,
      "os": [
        "darwin"
      ],
      "engines": {
        "node": ">=20.9.0"
      },
      "funding": {
        "url": "https://opencollective.com/libvips"
      },
      "optionalDependencies": {
        "@img/sharp-libvips-darwin-arm64": "1.3.4"
      }
    },
    "node_modules/@img/sharp-darwin-x64": {
      "version": "0.35.5",
      "resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.35.5.tgz",
      "integrity": "sha512-+BR255RhDlpygUpOc/Jdt1nT6DQ3XG/ERo5wbcdOf5Q320dKtPCKPLR1LJs9VGXRaMa8l1uUa0tkCNOXiAxZUw==",
      "cpu": [
        "x64"
      ],
      "dev": true,
      "license": "Apache-2.0",
      "optional": true,
      "os": [
        "darwin"
      ],
      "engines": {
        "node": ">=20.9.0"
      },
      "funding": {
        "url": "https://opencollective.com/libvips"
      },
      "optionalDependencies": {
        "@img/sharp-libvips-darwin-x64": "1.3.4"
      }
    },
    "node_modules/@img/sharp-freebsd-wasm32": {
      "version": "0.35.5",
      "resolved": "https://registry.npmjs.org/@img/sharp-freebsd-wasm32/-/sharp-freebsd-wasm32-0.35.5.tgz",
      "integrity": "sha512-Y/z91nEZ4uIBX5X3nfTovjU9lHNKFYbL2lpHCLVNmXQK03VIZvXBBt0KxbPGp2SdGSF+2mQU4e+hQaWOt86iAw==",
      "dev": true,
      "license": "Apache-2.0",
      "optional": true,
      "os": [
        "freebsd"
      ],
      "dependencies": {
        "@img/sharp-wasm32": "0.35.5"
      },
      "engines": {
        "node": ">=20.9.0"
      },
      "funding": {
        "url": "https://opencollective.com/libvips"
      }
    },
    "node_modules/@img/sharp-libvips-darwin-arm64": {
      "version": "1.3.4",
      "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.3.4.tgz",
      "integrity": "sha512-5R89nBYiRdUlSWJxPhO+GVtaXzXSxKnRu/xqMn3KTA3L9EB9Oy/P+Nn2f2vlhPuUdy/Zusb2DarbyTpGCfEDuw==",
      "cpu": [
        "arm64"
      ],
      "dev": true,
      "license": "LGPL-3.0-or-later",
      "optional": true,
      "os": [
        "darwin"
      ],
      "funding": {
        "url": "https://opencollective.com/libvips"
      }
    },
    "node_modules/@img/sharp-libvips-darwin-x64": {
      "version": "1.3.4",
      "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.3.4.tgz",
      "integrity": "sha512-iR2OKH80yi0U+dUplyh3/xdpFvps6YkCwsXenIJxqxR1v9o+xtKTGbS9H7cps+2Vxjc8B1j96p75NmTGjIhtpQ==",
      "cpu": [
        "x64"
      ],
      "dev": true,
      "license": "LGPL-3.0-or-later",
      "optional": true,
      "os": [
        "darwin"
      ],
      "funding": {
        "url": "https://opencollective.com/libvips"
      }
    },
    "node_modules/@img/sharp-libvips-linux-arm": {
      "version": "1.3.4",
      "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.3.4.tgz",
      "integrity": "sha512-LmRtTsOHuvM2+wlO2Db37dx5MiZhB0FvSunciw48YjdOkZz9KAiRbm8ujeMOA1INqmei5NapFxYEK1D1ZSidmw==",
      "cpu": [
        "arm"
      ],
      "dev": true,
      "license": "LGPL-3.0-or-later",
      "optional": true,
      "os": [
        "linux"
      ],
      "funding": {
        "url": "https://opencollective.com/libvips"
      }
    },
    "node_modules/@img/sharp-libvips-linux-arm64": {
      "version": "1.3.4",
      "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.3.4.tgz",
      "integrity": "sha512-Y3dgX/6lE2QhQb+Gxy0WZxfg9MEm/JBjamZpS2IklP7xIQoKN4hzAm7KcMVGtaVDt3neE9OKBC7vAfonA/Lr1A==",
      "cpu": [
        "arm64"
      ],
      "dev": true,
      "license": "LGPL-3.0-or-later",
      "optional": true,
      "os": [
        "linux"
      ],
      "funding": {
        "url": "https://opencollective.com/libvips"
      }
    },
    "node_modules/@img/sharp-libvips-linux-ppc64": {
      "version": "1.3.4",
      "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-ppc64/-/sharp-libvips-linux-ppc64-1.3.4.tgz",
      "integrity": "sha512-Le6boB8Tai0Nis+gIxIpKx68UDVVIqdR8Tin5Yf1z2LJJQLDJvCDRqRu+jC2qCoD+eIomonmOwB4smBRxfVpYQ==",
      "cpu": [
        "ppc64"
      ],
      "dev": true,
      "license": "LGPL-3.0-or-later",
      "optional": true,
      "os": [
        "linux"
      ],
      "funding": {
        "url": "https://opencollective.com/libvips"
      }
    },
    "node_modules/@img/sharp-libvips-linux-riscv64": {
      "version": "1.3.4",
      "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-riscv64/-/sharp-libvips-linux-riscv64-1.3.4.tgz",
      "integrity": "sha512-aHkkIEHPRdQEegJN20MLmGtxYD9R2wQr3Cwpddnu5+YKMt6Uzax7S9h5gpZTo8wyrGuZSlfQ63OevL5mTyOC7Q==",
      "cpu": [
        "riscv64"
      ],
      "dev": true,
      "license": "LGPL-3.0-or-later",
      "optional": true,
      "os": [
        "linux"
      ],
      "funding": {
        "url": "https://opencollective.com/libvips"
      }
    },
    "node_modules/@img/sharp-libvips-linux-s390x": {
      "version": "1.3.4",
      "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-s390x/-/sharp-libvips-linux-s390x-1.3.4.tgz",
      "integrity": "sha512-ra/mB6MikESDUO7Yg+Mi95bFBb9GsObURuhnOv3OqknjGe9sZrG8tCe9q0xSIGrtLgvgw0gKnFWcK4blSgQOuQ==",
      "cpu": [
        "s390x"
      ],
      "dev": true,
      "license": "LGPL-3.0-or-later",
      "optional": true,
      "os": [
        "linux"
      ],
      "funding": {
        "url": "https://opencollective.com/libvips"
      }
    },
    "node_modules/@img/sharp-libvips-linux-x64": {
      "version": "1.3.4",
      "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.3.4.tgz",
      "integrity": "sha512-GJ//SSXbnwSDes02umB3nDJLFcQzw8a18V8fyhqr6tV515tOEMdImjjxj1AoafMRz56F3PHgftnj1QEKSU1zkw==",
      "cpu": [
        "x64"
      ],
      "dev": true,
      "license": "LGPL-3.0-or-later",
      "optional": true,
      "os": [
        "linux"
      ],
      "funding": {
        "url": "https://opencollective.com/libvips"
      }
    },
    "node_modules/@img/sharp-libvips-linuxmusl-arm64": {
      "version": "1.3.4",
      "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.3.4.tgz",
      "integrity": "sha512-hvulFwtjUcagsis6BBxHwGFwWoNZjgYmULGVrZcyfNbjA8hKILbRxGg15/7w5HDyXHXUos/j6baAWqnCyQ2DWA==",
      "cpu": [
        "arm64"
      ],
      "dev": true,
      "license": "LGPL-3.0-or-later",
      "optional": true,
      "os": [
        "linux"
      ],
      "funding": {
        "url": "https://opencollective.com/libvips"
      }
    },
    "node_modules/@img/sharp-libvips-linuxmusl-x64": {
      "version": "1.3.4",
      "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.3.4.tgz",
      "integrity": "sha512-6zXKeE/p39I1AmA3cJG35eyBGNqNddLnUXjhwBnsGjFPWqf5VKkDBEqaEkPDoTEtkxwi2vv8Tcr2mDyP4So7Fg==",
      "cpu": [
        "x64"
      ],
      "dev": true,
      "license": "LGPL-3.0-or-later",
      "optional": true,
      "os": [
        "linux"
      ],
      "funding": {
        "url": "https://opencollective.com/libvips"
      }
    },
    "node_modules/@img/sharp-linux-arm": {
      "version": "0.35.5",
      "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.35.5.tgz",
      "integrity": "sha512-LEaXK2WdXVK5ykcw0buWyPMsmLLL2vpHLD6yrNSW+JGEL3BZPA4tpKN6iaMc4AxTTAoaX/sU1rOL51lcIz48ZQ==",
      "cpu": [
        "arm"
      ],
      "dev": true,
      "license": "Apache-2.0",
      "optional": true,
      "os": [
        "linux"
      ],
      "engines": {
        "node": ">=20.9.0"
      },
      "funding": {
        "url": "https://opencollective.com/libvips"
      },
      "optionalDependencies": {
        "@img/sharp-libvips-linux-arm": "1.3.4"
      }
    },
    "node_modules/@img/sharp-linux-arm64": {
      "version": "0.35.5",
      "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.35.5.tgz",
      "integrity": "sha512-LYVx5JTsOM2CBzmxreh+nl64/3H6Xb09iSLknqH47z2T2DFFxDeFLP5y4dJwe6H7uGQlHPyEEtIqyo3DYsRwdQ==",
      "cpu": [
        "arm64"
      ],
      "dev": true,
      "license": "Apache-2.0",
      "optional": true,
      "os": [
        "linux"
      ],
      "engines": {
        "node": ">=20.9.0"
      },
      "funding": {
        "url": "https://opencollective.com/libvips"
      },
      "optionalDependencies": {
        "@img/sharp-libvips-linux-arm64": "1.3.4"
      }
    },
    "node_modules/@img/sharp-linux-ppc64": {
      "version": "0.35.5",
      "resolved": "https://registry.npmjs.org/@img/sharp-linux-ppc64/-/sharp-linux-ppc64-0.35.5.tgz",
      "integrity": "sha512-QVxAAq8evVRI9ia2vqgwrmWucn5Dfv+JdWzj75pD8omHLPSP7f8p20O8jxzjCcuCEQEOtYOZUmX1hkiZ0kdevA==",
      "cpu": [
        "ppc64"
      ],
      "dev": true,
      "license": "Apache-2.0",
      "optional": true,
      "os": [
        "linux"
      ],
      "engines": {
        "node": ">=20.9.0"
      },
      "funding": {
        "url": "https://opencollective.com/libvips"
      },
      "optionalDependencies": {
        "@img/sharp-libvips-linux-ppc64": "1.3.4"
      }
    },
    "node_modules/@img/sharp-linux-riscv64": {
      "version": "0.35.5",
      "resolved": "https://registry.npmjs.org/@img/sharp-linux-riscv64/-/sharp-linux-riscv64-0.35.5.tgz",
      "integrity": "sha512-LtdreXguaavKODPIfzJ4kffx7UNt1omwtK0rch4EBbbSTXPnxWmYSayXdLJw0fJzQ97kHt1gL/yh4tvU+nCyRQ==",
      "cpu": [
        "riscv64"
      ],
      "dev": true,
      "license": "Apache-2.0",
      "optional": true,
      "os": [
        "linux"
      ],
      "engines": {
        "node": ">=20.9.0"
      },
      "funding": {
        "url": "https://opencollective.com/libvips"
      },
      "optionalDependencies": {
        "@img/sharp-libvips-linux-riscv64": "1.3.4"
      }
    },
    "node_modules/@img/sharp-linux-s390x": {
      "version": "0.35.5",
      "resolved": "https://registry.npmjs.org/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.35.5.tgz",
      "integrity": "sha512-UZasTOFiYzotTsGOCu42BfUzP6Tu6Do/947iRm1RsLKvlllxwGcn4RN27LibGWceix4Y+Pmw3jsnTcCQIgWjqA==",
      "cpu": [
        "s390x"
      ],
      "dev": true,
      "license": "Apache-2.0",
      "optional": true,
      "os": [
        "linux"
      ],
      "engines": {
        "node": ">=20.9.0"
      },
      "funding": {
        "url": "https://opencollective.com/libvips"
      },
      "optionalDependencies": {
        "@img/sharp-libvips-linux-s390x": "1.3.4"
      }
    },
    "node_modules/@img/sharp-linux-x64": {
      "version": "0.35.5",
      "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.35.5.tgz",
      "integrity": "sha512-SxFtLTeJInhAA9Q836kux2vZNeOBQEx658qvbboZScr0wIARym3IcGmW7KpVD5sbVg0Ojy+udFQdayYIZyoNog==",
      "cpu": [
        "x64"
      ],
      "dev": true,
      "license": "Apache-2.0",
      "optional": true,
      "os": [
        "linux"
      ],
      "engines": {
        "node": ">=20.9.0"
      },
      "funding": {
        "url": "https://opencollective.com/libvips"
      },
      "optionalDependencies": {
        "@img/sharp-libvips-linux-x64": "1.3.4"
      }
    },
    "node_modules/@img/sharp-linuxmusl-arm64": {
      "version": "0.35.5",
      "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.35.5.tgz",
      "integrity": "sha512-9HbMclmI1zlNkFRs3z9/eBtDjfD0sGlrX1z6b1qwmiFY5ElDLh4BC0LPBdVp7z1DXFiKlIcznf+ZlsuZzLxQqg==",
      "cpu": [
        "arm64"
      ],
      "dev": true,
      "license": "Apache-2.0",
      "optional": true,
      "os": [
        "linux"
      ],
      "engines": {
        "node": ">=20.9.0"
      },
      "funding": {
        "url": "https://opencollective.com/libvips"
      },
      "optionalDependencies": {
        "@img/sharp-libvips-linuxmusl-arm64": "1.3.4"
      }
    },
    "node_modules/@img/sharp-linuxmusl-x64": {
      "version": "0.35.5",
      "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.35.5.tgz",
      "integrity": "sha512-4KOphqB035HrVdqLZfCgMzzERrQkkzOwRhl4OAkRO1YCldbaFjySXMaK534Mo0V+LndnlJk+sbUyLeU0ULyD1A==",
      "cpu": [
        "x64"
      ],
      "dev": true,
      "license": "Apache-2.0",
      "optional": true,
      "os": [
        "linux"
      ],
      "engines": {
        "node": ">=20.9.0"
      },
      "funding": {
        "url": "https://opencollective.com/libvips"
      },
      "optionalDependencies": {
        "@img/sharp-libvips-linuxmusl-x64": "1.3.4"
      }
    },
    "node_modules/@img/sharp-wasm32": {
      "version": "0.35.5",
      "resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.35.5.tgz",
      "integrity": "sha512-Ptsga1su4tQx+LLF1ECS9U6nz5kmrXKo6XVbtR48Ke3ZRxxgaWBu7IDtEe1quo8hiupwm6WFqxVlXaSf7IINGQ==",
      "dev": true,
      "license": "Apache-2.0 AND LGPL-3.0-or-later AND MIT",
      "optional": true,
      "dependencies": {
        "@emnapi/runtime": "^1.11.3"
      },
      "engines": {
        "node": ">=20.9.0"
      },
      "funding": {
        "url": "https://opencollective.com/libvips"
      }
    },
    "node_modules/@img/sharp-webcontainers-wasm32": {
      "version": "0.35.5",
      "resolved": "https://registry.npmjs.org/@img/sharp-webcontainers-wasm32/-/sharp-webcontainers-wasm32-0.35.5.tgz",
      "integrity": "sha512-hfhF/FmoQyTUkA0bIKFOtw536BQSeBMe6BF6QyWlrPxT754+TFLaZ7sKKTfvvM0yJgKgaYTwnFCIZ/GuDw5SUA==",
      "cpu": [
        "wasm32"
      ],
      "dev": true,
      "license": "Apache-2.0",
      "optional": true,
      "dependencies": {
        "@img/sharp-wasm32": "0.35.5"
      },
      "engines": {
        "node": ">=20.9.0"
      },
      "funding": {
        "url": "https://opencollective.com/libvips"
      }
    },
    "node_modules/@img/sharp-win32-arm64": {
      "version": "0.35.5",
      "resolved": "https://registry.npmjs.org/@img/sharp-win32-arm64/-/sharp-win32-arm64-0.35.5.tgz",
      "integrity": "sha512-X4t7g+7ZA5DKblCBEXGjUqqemj4vczING/5viFwAL8h4N3qYeyjwdCvRLHi4EdOUI+2Z7UFlp1VM+p/AuEtm6Q==",
      "cpu": [
        "arm64"
      ],
      "dev": true,
      "license": "Apache-2.0 AND LGPL-3.0-or-later",
      "optional": true,
      "os": [
        "win32"
      ],
      "engines": {
        "node": ">=20.9.0"
      },
      "funding": {
        "url": "https://opencollective.com/libvips"
      }
    },
    "node_modules/@img/sharp-win32-ia32": {
      "version": "0.35.5",
      "resolved": "https://registry.npmjs.org/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.35.5.tgz",
      "integrity": "sha512-5Zm82LoBc43nhwNybZlG7Y1KO//Zhsn306fQl29ZOuStHLGTo3BWL83q3cznX0poxSAMuYL1On/BHBxkBeKr6A==",
      "cpu": [
        "ia32"
      ],
      "dev": true,
      "license": "Apache-2.0 AND LGPL-3.0-or-later",
      "optional": true,
      "os": [
        "win32"
      ],
      "engines": {
        "node": "^20.9.0"
      },
      "funding": {
        "url": "https://opencollective.com/libvips"
      }
    },
    "node_modules/@img/sharp-win32-x64": {
      "version": "0.35.5",
      "resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.35.5.tgz",
      "integrity": "sha512-x76eH0vEiHlcMQu8Y8IenntaACtddpT6W0wmXtWrnKcnKI7ME5DdgqhAD6SEWOEl1v2zDvkZDhFA9KnURwpfqg==",
      "cpu": [
        "x64"
      ],
      "dev": true,
      "license": "Apache-2.0 AND LGPL-3.0-or-later",
      "optional": true,
      "os": [
        "win32"
      ],
      "engines": {
        "node": ">=20.9.0"
      },
      "funding": {
        "url": "https://opencollective.com/libvips"
      }
    },
    "node_modules/@jridgewell/resolve-uri": {
      "version": "3.1.2",
      "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
      "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
      "dev": true,
      "license": "MIT",
      "engines": {
        "node": ">=6.0.0"
      }
    },
    "node_modules/@jridgewell/sourcemap-codec": {
      "version": "1.6.0",
      "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.6.0.tgz",
      "integrity": "sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==",
      "dev": true,
      "license": "MIT"
    },
    "node_modules/@jridgewell/trace-mapping": {
      "version": "0.3.9",
      "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz",
      "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==",
      "dev": true,
      "license": "MIT",
      "dependencies": {
        "@jridgewell/resolve-uri": "^3.0.3",
        "@jridgewell/sourcemap-codec": "^1.4.10"
      }
    },
    "node_modules/@oxc-project/types": {
      "version": "0.155.0",
      "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.155.0.tgz",
      "integrity": "sha512-SeE8JPwW1xs1tHeNycjUtUBdhorRa8o4jlvjwk49R7/Z291i+4DQa7JJIgOm/TaYQZx+QrPQbVJ/9c8dMIZN8Q==",
      "dev": true,
      "license": "MIT",
      "funding": {
        "url": "https://github.com/sponsors/oxc-project"
      }
    },
    "node_modules/@poppinss/colors": {
      "version": "4.1.6",
      "resolved": "https://registry.npmjs.org/@poppinss/colors/-/colors-4.1.6.tgz",
      "integrity": "sha512-H9xkIdFswbS8n1d6vmRd8+c10t2Qe+rZITbbDHHkQixH5+2x1FDGmi/0K+WgWiqQFKPSlIYB7jlH6Kpfn6Fleg==",
      "dev": true,
      "license": "MIT",
      "dependencies": {
        "kleur": "^4.1.5"
      }
    },
    "node_modules/@poppinss/dumper": {
      "version": "0.6.5",
      "resolved": "https://registry.npmjs.org/@poppinss/dumper/-/dumper-0.6.5.tgz",
      "integrity": "sha512-NBdYIb90J7LfOI32dOewKI1r7wnkiH6m920puQ3qHUeZkxNkQiFnXVWoE6YtFSv6QOiPPf7ys6i+HWWecDz7sw==",
      "dev": true,
      "license": "MIT",
      "dependencies": {
        "@poppinss/colors": "^4.1.5",
        "@sindresorhus/is": "^7.0.2",
        "supports-color": "^10.0.0"
      }
    },
    "node_modules/@poppinss/exception": {
      "version": "1.2.3",
      "resolved": "https://registry.npmjs.org/@poppinss/exception/-/exception-1.2.3.tgz",
      "integrity": "sha512-dCED+QRChTVatE9ibtoaxc+WkdzOSjYTKi/+uacHWIsfodVfpsueo3+DKpgU5Px8qXjgmXkSvhXvSCz3fnP9lw==",
      "dev": true,
      "license": "MIT"
    },
    "node_modules/@rolldown/binding-android-arm-eabi": {
      "version": "1.2.15",
      "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm-eabi/-/binding-android-arm-eabi-1.2.15.tgz",
      "integrity": "sha512-aLcgK9gIJ3YRvrrtfSBbRa27F5WrpiTaPulnFpsHPxpUHgFlSgnU4854MHwoRGEBhfRJDWCS2WQ7lIjskE9Olw==",
      "cpu": [
        "arm"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "android"
      ],
      "engines": {
        "node": "^20.19.0 || >=22.12.0"
      }
    },
    "node_modules/@rolldown/binding-android-arm64": {
      "version": "1.2.15",
      "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.2.15.tgz",
      "integrity": "sha512-xD7DdZCrbThKuxNg7ooQmvp07ys4J/pnSEMTG3/OdOWl6daC67m/Q4fL78sRHMxTH/N4fGUbYhcPM0MF5WFHkg==",
      "cpu": [
        "arm64"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "android"
      ],
      "engines": {
        "node": "^20.19.0 || >=22.12.0"
      }
    },
    "node_modules/@rolldown/binding-darwin-arm64": {
      "version": "1.2.15",
      "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.2.15.tgz",
      "integrity": "sha512-m2WuQ6r0B4OTYxyPpNLtXaMRbRDUbG8YQV2Q3KTdSSK8Th6KHCnC8jVCJt8bvYeSB5WivkkNbc85mKadaSdOxA==",
      "cpu": [
        "arm64"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "darwin"
      ],
      "engines": {
        "node": "^20.19.0 || >=22.12.0"
      }
    },
    "node_modules/@rolldown/binding-darwin-x64": {
      "version": "1.2.15",
      "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.2.15.tgz",
      "integrity": "sha512-5RtnsHM36nodM9WbMy+zip0LGS/G+y5wro5RHrpOlr4ac24+1zSi9kiV2MP1myZeZ/ifEHfulQcWjnAXzc2C2A==",
      "cpu": [
        "x64"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "darwin"
      ],
      "engines": {
        "node": "^20.19.0 || >=22.12.0"
      }
    },
    "node_modules/@rolldown/binding-freebsd-x64": {
      "version": "1.2.15",
      "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.2.15.tgz",
      "integrity": "sha512-g3l09pyFqhu+135JKkbkwiKGQmwU5hUMUPJ4VdBADvuqR8d33L6H578rh8m7rtxbdp+VmX/+nzI7nvhSZlzpUQ==",
      "cpu": [
        "x64"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "freebsd"
      ],
      "engines": {
        "node": "^20.19.0 || >=22.12.0"
      }
    },
    "node_modules/@rolldown/binding-linux-arm-gnueabihf": {
      "version": "1.2.15",
      "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.2.15.tgz",
      "integrity": "sha512-nIe3VugI97nGQtspPxDqA4sXMUpeiocKIP/CqpY/u/vgbT+alX+cVxu1C/oVBPKg4feNTmYovE91v4DgXvXNwQ==",
      "cpu": [
        "arm"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "linux"
      ],
      "engines": {
        "node": "^20.19.0 || >=22.12.0"
      }
    },
    "node_modules/@rolldown/binding-linux-arm64-gnu": {
      "version": "1.2.15",
      "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.2.15.tgz",
      "integrity": "sha512-iTBjXx+B5QSvgI89lJfmqh4wTh8NabR1YZIIN3hNx4zSG0EVfVqkOvLulNpG4251pbd6/IAmZ/LefVk1Y4rPhw==",
      "cpu": [
        "arm64"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "linux"
      ],
      "engines": {
        "node": "^20.19.0 || >=22.12.0"
      }
    },
    "node_modules/@rolldown/binding-linux-arm64-musl": {
      "version": "1.2.15",
      "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.2.15.tgz",
      "integrity": "sha512-uN26XOnVR7rqQupG3V9oAG2EGGatWjcJHOeDOHUFCh4TBWmP2tHTFoVN13aYbwfm0aHqJAEmcwhAu6sooIjfqQ==",
      "cpu": [
        "arm64"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "linux"
      ],
      "engines": {
        "node": "^20.19.0 || >=22.12.0"
      }
    },
    "node_modules/@rolldown/binding-linux-ppc64-gnu": {
      "version": "1.2.15",
      "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.2.15.tgz",
      "integrity": "sha512-9nWkcdd+H+XhaA3fQIwpHnKIrfx/PQ6rO0pivr78Og07tXlUlctBBJoEYLPfhTmCR/QxEVdn6uPjHV5SymPhdw==",
      "cpu": [
        "ppc64"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "linux"
      ],
      "engines": {
        "node": "^20.19.0 || >=22.12.0"
      }
    },
    "node_modules/@rolldown/binding-linux-s390x-gnu": {
      "version": "1.2.15",
      "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.2.15.tgz",
      "integrity": "sha512-Ggh0ciFjLwIusLSLz7LZYEaGdxOAUJXI+Qu5JCbhPJJHEt8vP+IjRATTJheiJsdzzTYgUiHUiw3X1Ea3ZpMBdA==",
      "cpu": [
        "s390x"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "linux"
      ],
      "engines": {
        "node": "^20.19.0 || >=22.12.0"
      }
    },
    "node_modules/@rolldown/binding-linux-x64-gnu": {
      "version": "1.2.15",
      "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.2.15.tgz",
      "integrity": "sha512-FHg60rS6DBePAYZ9X9F67x+JObFdmgn6tupA1C/a3B+CufFmTD4mX+e8M75tCiAO3foR/6xwVBI0KQiI7sn/rw==",
      "cpu": [
        "x64"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "linux"
      ],
      "engines": {
        "node": "^20.19.0 || >=22.12.0"
      }
    },
    "node_modules/@rolldown/binding-linux-x64-musl": {
      "version": "1.2.15",
      "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.2.15.tgz",
      "integrity": "sha512-/cvV/7v5VGz/moiz0XKRj2dE8DzsKyhIu1KpOvJGPjRywg3yscON889UGvAe8zfiJLHup7VLjBduoGWi3HusWQ==",
      "cpu": [
        "x64"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "linux"
      ],
      "engines": {
        "node": "^20.19.0 || >=22.12.0"
      }
    },
    "node_modules/@rolldown/binding-openharmony-arm64": {
      "version": "1.2.15",
      "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.2.15.tgz",
      "integrity": "sha512-MyzC5Hrv/sm+Z7TSGKP/j8001RO2xQm1zOpCNVL4j0cY/VhBZviludA2YFQ7i4lH6ZAXxQm0lcMdBzM+99mE7w==",
      "cpu": [
        "arm64"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "openharmony"
      ],
      "engines": {
        "node": "^20.19.0 || >=22.12.0"
      }
    },
    "node_modules/@rolldown/binding-win32-arm64-msvc": {
      "version": "1.2.15",
      "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.2.15.tgz",
      "integrity": "sha512-+PgYiS+AH5omy6L45ZLxybasauJaj3M8buoT83D+nzPmCayXlxUV9hydhciCKVyIg0B/v0BtXPDE1uGqNwCPpg==",
      "cpu": [
        "arm64"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "win32"
      ],
      "engines": {
        "node": "^20.19.0 || >=22.12.0"
      }
    },
    "node_modules/@rolldown/binding-win32-x64-msvc": {
      "version": "1.2.15",
      "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.2.15.tgz",
      "integrity": "sha512-HFZd2QNQYn1JbIi+Hpd7H+r/lkWxcfIu28nirZ6eCn2LafuvmExMlb/P96Sfx5tf7pPArw39IdhmCF8vmV+NhQ==",
      "cpu": [
        "x64"
      ],
      "dev": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "win32"
      ],
      "engines": {
        "node": "^20.19.0 || >=22.12.0"
      }
    },
    "node_modules/@rolldown/pluginutils": {
      "version": "1.0.1",
      "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.1.tgz",
      "integrity": "sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw==",
      "dev": true,
      "license": "MIT"
    },
    "node_modules/@sindresorhus/is": {
      "version": "7.2.0",
      "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-7.2.0.tgz",
      "integrity": "sha512-P1Cz1dWaFfR4IR+U13mqqiGsLFf1KbayybWwdd2vfctdV6hDpUkgCY0nKOLLTMSoRd/jJNjtbqzf13K8DCCXQw==",
      "dev": true,
      "license": "MIT",
      "engines": {
        "node": ">=18"
      },
      "funding": {
        "url": "https://github.com/sindresorhus/is?sponsor=1"
      }
    },
    "node_modules/@speed-highlight/core": {
      "version": "1.2.24",
      "resolved": "https://registry.npmjs.org/@speed-highlight/core/-/core-1.2.24.tgz",
      "integrity": "sha512-qeW2e1l78afw8VhRPfPQ1Gjj+KU5XFQ/OFV5ti6eTa9bruO7mJyZtA4vw0ofqmA3tKCkROE9xLk3VZoeRc98nw==",
      "dev": true,
      "license": "CC0-1.0"
    },
    "node_modules/blake3-wasm": {
      "version": "2.1.5",
      "resolved": "https://registry.npmjs.org/blake3-wasm/-/blake3-wasm-2.1.5.tgz",
      "integrity": "sha512-F1+K8EbfOZE49dtoPtmxUQrpXaBIl3ICvasLh+nJta0xkz+9kF/7uet9fLnwKqhDrmj6g+6K3Tw9yQPUg2ka5g==",
      "dev": true,
      "license": "MIT"
    },
    "node_modules/cookie": {
      "version": "1.1.1",
      "resolved": "https://registry.npmjs.org/cookie/-/cookie-1.1.1.tgz",
      "integrity": "sha512-ei8Aos7ja0weRpFzJnEA9UHJ/7XQmqglbRwnf2ATjcB9Wq874VKH9kfjjirM6UhU2/E5fFYadylyhFldcqSidQ==",
      "dev": true,
      "license": "MIT",
      "engines": {
        "node": ">=18"
      },
      "funding": {
        "type": "opencollective",
        "url": "https://opencollective.com/express"
      }
    },
    "node_modules/detect-libc": {
      "version": "2.1.2",
      "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",
      "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",
      "dev": true,
      "license": "Apache-2.0",
      "engines": {
        "node": ">=8"
      }
    },
    "node_modules/error-stack-parser-es": {
      "version": "1.0.5",
      "resolved": "https://registry.npmjs.org/error-stack-parser-es/-/error-stack-parser-es-1.0.5.tgz",
      "integrity": "sha512-5qucVt2XcuGMcEGgWI7i+yZpmpByQ8J1lHhcL7PwqCwu9FPP3VUXzT4ltHe5i2z9dePwEHcDVOAfSnHsOlCXRA==",
      "dev": true,
      "license": "MIT",
      "funding": {
        "url": "https://github.com/sponsors/antfu"
      }
    },
    "node_modules/esbuild": {
      "version": "0.28.2",
      "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.28.2.tgz",
      "integrity": "sha512-HKVLS8dvII+xoKW9kmqxbRKrnWEXfJJr/FZhhJmiqIB0e053QNYFqOBouTMO/k5sID4MvCiUCvv8b9M4h32wIA==",
      "dev": true,
      "hasInstallScript": true,
      "license": "MIT",
      "bin": {
        "esbuild": "bin/esbuild"
      },
      "engines": {
        "node": ">=18"
      },
      "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"
      }
    },
    "node_modules/eventemitter3": {
      "version": "5.0.4",
      "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.4.tgz",
      "integrity": "sha512-mlsTRyGaPBjPedk6Bvw+aqbsXDtoAyAzm5MO7JgU+yVRyMQ5O8bD4Kcci7BS85f93veegeCPkL8R4GLClnjLFw==",
      "license": "MIT"
    },
    "node_modules/fdir": {
      "version": "6.5.0",
      "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
      "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
      "dev": true,
      "license": "MIT",
      "engines": {
        "node": ">=12.0.0"
      },
      "peerDependencies": {
        "picomatch": "^3 || ^4"
      },
      "peerDependenciesMeta": {
        "picomatch": {
          "optional": true
        }
      }
    },
    "node_modules/fsevents": {
      "version": "2.3.3",
      "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
      "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
      "dev": true,
      "hasInstallScript": true,
      "license": "MIT",
      "optional": true,
      "os": [
        "darwin"
      ],
      "engines": {
        "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
      }
    },
    "node_modules/kleur": {
      "version": "4.1.5",
      "resolved": "https://registry.npmjs.org/kleur/-/kleur-4.1.5.tgz",
      "integrity": "sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==",
      "dev": true,
      "license": "MIT",
      "engines": {
        "node": ">=6"
      }
    },
    "node_modules/lightningcss": {
      "version": "1.33.0",
      "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.33.0.tgz",
      "integrity": "sha512-WkUDrojuJs0xkgGf2udWxa3yGBRxPtxUkB79i6aCZLRgc7PM8fZe9TosfPDcvEpQZbuFASnHYmRLBLUbmLOIIA==",
      "dev": true,
      "license": "MPL-2.0",
      "dependencies": {
        "detect-libc": "^2.0.3"
      },
      "engines": {
        "node": ">= 12.0.0"
      },
      "funding": {
        "type": "opencollective",
        "url": "https://opencollective.com/parcel"
      },
      "optionalDependencies": {
        "lightningcss-android-arm64": "1.33.0",
        "lightningcss-darwin-arm64": "1.33.0",
        "lightningcss-darwin-x64": "1.33.0",
        "lightningcss-freebsd-x64": "1.33.0",
        "lightningcss-linux-arm-gnueabihf": "1.33.0",
        "lightningcss-linux-arm64-gnu": "1.33.0",
        "lightningcss-linux-arm64-musl": "1.33.0",
        "lightningcss-linux-x64-gnu": "1.33.0",
        "lightningcss-linux-x64-musl": "1.33.0",
        "lightningcss-win32-arm64-msvc": "1.33.0",
        "lightningcss-win32-x64-msvc": "1.33.0"
      }
    },
    "node_modules/lightningcss-android-arm64": {
      "version": "1.33.0",
      "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.33.0.tgz",
      "integrity": "sha512-gEpRTalKdosp4Bb8qWtc2iOgE5SeIHlpS1up9bFq2wAyYhl1UdTObYiHe98zEM9SQvSoqQZ1IQD0JNpg3Ml5pg==",
      "cpu": [
        "arm64"
      ],
      "dev": true,
      "license": "MPL-2.0",
      "optional": true,
      "os": [
        "android"
      ],
      "engines": {
        "node": ">= 12.0.0"
      },
      "funding": {
        "type": "opencollective",
        "url": "https://opencollective.com/parcel"
      }
    },
    "node_modules/lightningcss-darwin-arm64": {
      "version": "1.33.0",
      "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.33.0.tgz",
      "integrity": "sha512-Sciaz8eenNTKn9b3t7+xr0ipTp9YxKQY4npwQ3mrRuL0BAVHBLyZxofhaKBAVtzmtRZ/zTyo0/to4B1uWG/Djg==",
      "cpu": [
        "arm64"
      ],
      "dev": true,
      "license": "MPL-2.0",
      "optional": true,
      "os": [
        "darwin"
      ],
      "engines": {
        "node": ">= 12.0.0"
      },
      "funding": {
        "type": "opencollective",
        "url": "https://opencollective.com/parcel"
      }
    },
    "node_modules/lightningcss-darwin-x64": {
      "version": "1.33.0",
      "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.33.0.tgz",
      "integrity": "sha512-Z5UPAxzrjlWNNyGy6i65cJzzvgJ5D3T6wMvs+gWpY9d7qRhANrxqAp6LhxIgZhWEw18RfJTGcRxjuLIBr+m8XQ==",
      "cpu": [
        "x64"
      ],
      "dev": true,
      "license": "MPL-2.0",
      "optional": true,
      "os": [
        "darwin"
      ],
      "engines": {
        "node": ">= 12.0.0"
      },
      "funding": {
        "type": "opencollective",
        "url": "https://opencollective.com/parcel"
      }
    },
    "node_modules/lightningcss-freebsd-x64": {
      "version": "1.33.0",
      "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.33.0.tgz",
      "integrity": "sha512-QQM/Ti/hQajJwCY+RiWuCZ9sdtI/XQk7nDK5vC8kkdwixezOlDgvDx7+RT+QjK6FcFT4MpsuoBnHIo/O3StRRg==",
      "cpu": [
        "x64"
      ],
      "dev": true,
      "license": "MPL-2.0",
      "optional": true,
      "os": [
        "freebsd"
      ],
      "engines": {
        "node": ">= 12.0.0"
      },
      "funding": {
        "type": "opencollective",
        "url": "https://opencollective.com/parcel"
      }
    },
    "node_modules/lightningcss-linux-arm-gnueabihf": {
      "version": "1.33.0",
      "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.33.0.tgz",
      "integrity": "sha512-N7FVBe6iS24MlM6R/4RBTxGhQheZGs7tiQ9U32UtF75NzP5Q7xWPRqLBCKxlRQRk3rY1jCIPLzx7WzOhuUIRLQ==",
      "cpu": [
        "arm"
      ],
      "dev": true,
      "license": "MPL-2.0",
      "optional": true,
      "os": [
        "linux"
      ],
      "engines": {
        "node": ">= 12.0.0"
      },
      "funding": {
        "type": "opencollective",
        "url": "https://opencollective.com/parcel"
      }
    },
    "node_modules/lightningcss-linux-arm64-gnu": {
      "version": "1.33.0",
      "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.33.0.tgz",
      "integrity": "sha512-j2v/itmy4HlNxlc6voKXYgBqNi0Ng2LShg4z7GufpEgs05P+2suBVyi9I6YHq5uoVFx9ETin3eCEhLVyXGQnKg==",
      "cpu": [
        "arm64"
      ],
      "dev": true,
      "license": "MPL-2.0",
      "optional": true,
      "os": [
        "linux"
      ],
      "engines": {
        "node": ">= 12.0.0"
      },
      "funding": {
        "type": "opencollective",
        "url": "https://opencollective.com/parcel"
      }
    },
    "node_modules/lightningcss-linux-arm64-musl": {
      "version": "1.33.0",
      "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.33.0.tgz",
      "integrity": "sha512-yiO5ROMuYQgXbC60yjZU5CYSFZGKXL0HFATXt9mHJn1+zW55oCtMI9NfcVhYLMFDL7gV7oBPon/EmMMGg2OvtQ==",
      "cpu": [
        "arm64"
      ],
      "dev": true,
      "license": "MPL-2.0",
      "optional": true,
      "os": [
        "linux"
      ],
      "engines": {
        "node": ">= 12.0.0"
      },
      "funding": {
        "type": "opencollective",
        "url": "https://opencollective.com/parcel"
      }
    },
    "node_modules/lightningcss-linux-x64-gnu": {
      "version": "1.33.0",
      "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.33.0.tgz",
      "integrity": "sha512-ar+Ju7LmcN0Jo4FpL4hpFybwNG9/3A/Br5KW2n2jyODg3MEZXaDYADdemoNS+BDNfMgKvylJLj4S5tyRActuAg==",
      "cpu": [
        "x64"
      ],
      "dev": true,
      "license": "MPL-2.0",
      "optional": true,
      "os": [
        "linux"
      ],
      "engines": {
        "node": ">= 12.0.0"
      },
      "funding": {
        "type": "opencollective",
        "url": "https://opencollective.com/parcel"
      }
    },
    "node_modules/lightningcss-linux-x64-musl": {
      "version": "1.33.0",
      "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.33.0.tgz",
      "integrity": "sha512-RYiYbkokw0trfKqqzfF55lginwEPrD3OJDfTuJzFs1MK6iFnDenaz1fqLLtX4ITG3OktJQXOeTaw1awrBAlZPw==",
      "cpu": [
        "x64"
      ],
      "dev": true,
      "license": "MPL-2.0",
      "optional": true,
      "os": [
        "linux"
      ],
      "engines": {
        "node": ">= 12.0.0"
      },
      "funding": {
        "type": "opencollective",
        "url": "https://opencollective.com/parcel"
      }
    },
    "node_modules/lightningcss-win32-arm64-msvc": {
      "version": "1.33.0",
      "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.33.0.tgz",
      "integrity": "sha512-1K+MPfLSFVpphzpdbfkhlWk6wBrTObBzS2T6db10PNOZgR9GoVsAWzwNyuhUYYbTp23j+4RrncfujZ4uAzXvwA==",
      "cpu": [
        "arm64"
      ],
      "dev": true,
      "license": "MPL-2.0",
      "optional": true,
      "os": [
        "win32"
      ],
      "engines": {
        "node": ">= 12.0.0"
      },
      "funding": {
        "type": "opencollective",
        "url": "https://opencollective.com/parcel"
      }
    },
    "node_modules/lightningcss-win32-x64-msvc": {
      "version": "1.33.0",
      "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.33.0.tgz",
      "integrity": "sha512-OlEICDx/Xl0FqSp4bry8zFnCvGpig3Gl4gCquvYwHuqJKEC1+n9NgDniFvqHGmMv1ZkqDJrDqKKSykTDX+ehuA==",
      "cpu": [
        "x64"
      ],
      "dev": true,
      "license": "MPL-2.0",
      "optional": true,
      "os": [
        "win32"
      ],
      "engines": {
        "node": ">= 12.0.0"
      },
      "funding": {
        "type": "opencollective",
        "url": "https://opencollective.com/parcel"
      }
    },
    "node_modules/miniflare": {
      "version": "5.20261019.1-beta",
      "resolved": "https://registry.npmjs.org/miniflare/-/miniflare-5.20261019.1-beta.tgz",
      "integrity": "sha512-1n7MN2UqZnPniyYAqNuV1YEAaja66ozKGVCc5ZTmYQhTubnoAwGLccwb+ZWYLOajuw3pOaJ70u//bZMuURlRew==",
      "dev": true,
      "license": "MIT",
      "dependencies": {
        "@cspotcode/source-map-support": "0.8.1",
        "sharp": "0.35.5",
        "undici": "7.29.1",
        "workerd": "1.20261019.1",
        "ws": "8.21.0",
        "youch": "4.1.0-beta.10"
      },
      "engines": {
        "node": ">=22.0.0"
      }
    },
    "node_modules/nanoid": {
      "version": "3.3.20",
      "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.20.tgz",
      "integrity": "sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ==",
      "dev": true,
      "funding": [
        {
          "type": "github",
          "url": "https://github.com/sponsors/ai"
        }
      ],
      "license": "MIT",
      "bin": {
        "nanoid": "bin/nanoid.cjs"
      },
      "engines": {
        "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
      }
    },
    "node_modules/path-to-regexp": {
      "version": "6.3.0",
      "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.3.0.tgz",
      "integrity": "sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==",
      "dev": true,
      "license": "MIT"
    },
    "node_modules/pathe": {
      "version": "2.0.3",
      "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz",
      "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==",
      "dev": true,
      "license": "MIT"
    },
    "node_modules/phaser": {
      "version": "3.90.0",
      "resolved": "https://registry.npmjs.org/phaser/-/phaser-3.90.0.tgz",
      "integrity": "sha512-/cziz/5ZIn02uDkC9RzN8VF9x3Gs3XdFFf9nkiMEQT3p7hQlWuyjy4QWosU802qqno2YSLn2BfqwOKLv/sSVfQ==",
      "license": "MIT",
      "dependencies": {
        "eventemitter3": "^5.0.1"
      }
    },
    "node_modules/picocolors": {
      "version": "1.1.1",
      "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
      "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
      "dev": true,
      "license": "ISC"
    },
    "node_modules/picomatch": {
      "version": "4.0.7",
      "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.7.tgz",
      "integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==",
      "dev": true,
      "license": "MIT",
      "engines": {
        "node": ">=12"
      },
      "funding": {
        "url": "https://github.com/sponsors/jonschlinkert"
      }
    },
    "node_modules/postcss": {
      "version": "8.5.31",
      "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.31.tgz",
      "integrity": "sha512-YUbWYCgErwnMAVkjUnYa+KlMBzGpHwiIt/DE7f0G33AuX2LH9UcTk6KgWxd3zRU+pN3u/C+Xl3EnMLM4Hea7Sg==",
      "dev": true,
      "funding": [
        {
          "type": "opencollective",
          "url": "https://opencollective.com/postcss/"
        },
        {
          "type": "tidelift",
          "url": "https://tidelift.com/funding/github/npm/postcss"
        },
        {
          "type": "github",
          "url": "https://github.com/sponsors/ai"
        }
      ],
      "license": "MIT",
      "dependencies": {
        "nanoid": "^3.3.20",
        "picocolors": "^1.1.1",
        "source-map-js": "^1.2.2"
      },
      "engines": {
        "node": "^10 || ^12 || >=14"
      }
    },
    "node_modules/rolldown": {
      "version": "1.2.15",
      "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.2.15.tgz",
      "integrity": "sha512-6odND+fel5zVw3I4Yc2e69gvguDnX0CAAGiNDZSq4ik5WUcaLrkD2GLuog0XcODbor31hZ5ayEMgVDno+KPV5g==",
      "dev": true,
      "license": "MIT",
      "dependencies": {
        "@oxc-project/types": "=0.155.0",
        "@rolldown/pluginutils": "^1.0.0"
      },
      "bin": {
        "rolldown": "bin/cli.mjs"
      },
      "engines": {
        "node": "^20.19.0 || >=22.12.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"
      }
    },
    "node_modules/semver": {
      "version": "7.8.5",
      "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",
      "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",
      "dev": true,
      "license": "ISC",
      "bin": {
        "semver": "bin/semver.js"
      },
      "engines": {
        "node": ">=10"
      }
    },
    "node_modules/sharp": {
      "version": "0.35.5",
      "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.35.5.tgz",
      "integrity": "sha512-Ywn4OnzGukp7CDMrp08RQ50YKmuwG47brZgIVPTvBaaAfQlRlygrRqSrxdCiL9M+LlzLBiJ68IR1QqvzHyjC7g==",
      "dev": true,
      "license": "Apache-2.0",
      "dependencies": {
        "@img/colour": "^1.1.0",
        "detect-libc": "^2.1.2",
        "semver": "^7.8.5"
      },
      "engines": {
        "node": ">=20.9.0"
      },
      "funding": {
        "url": "https://opencollective.com/libvips"
      },
      "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"
      },
      "peerDependenciesMeta": {
        "@types/node": {
          "optional": true
        }
      }
    },
    "node_modules/source-map-js": {
      "version": "1.2.2",
      "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.2.tgz",
      "integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==",
      "dev": true,
      "license": "BSD-3-Clause",
      "engines": {
        "node": ">=0.10.0"
      }
    },
    "node_modules/supports-color": {
      "version": "10.2.2",
      "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-10.2.2.tgz",
      "integrity": "sha512-SS+jx45GF1QjgEXQx4NJZV9ImqmO2NPz5FNsIHrsDjh2YsHnawpan7SNQ1o8NuhrbHZy9AZhIoCUiCeaW/C80g==",
      "dev": true,
      "license": "MIT",
      "engines": {
        "node": ">=18"
      },
      "funding": {
        "url": "https://github.com/chalk/supports-color?sponsor=1"
      }
    },
    "node_modules/tinyglobby": {
      "version": "0.2.17",
      "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz",
      "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==",
      "dev": true,
      "license": "MIT",
      "dependencies": {
        "fdir": "^6.5.0",
        "picomatch": "^4.0.4"
      },
      "engines": {
        "node": ">=12.0.0"
      },
      "funding": {
        "url": "https://github.com/sponsors/SuperchupuDev"
      }
    },
    "node_modules/tslib": {
      "version": "2.8.1",
      "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",
      "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",
      "dev": true,
      "license": "0BSD",
      "optional": true
    },
    "node_modules/undici": {
      "version": "7.29.1",
      "resolved": "https://registry.npmjs.org/undici/-/undici-7.29.1.tgz",
      "integrity": "sha512-RYONW2MeafgYlkVOKYKkA/Ag7BmXqgIWCa8t1m0JcxrQg9pI9lEqRhAOruOBCbAohOa/gkCF+iPi9hrgvTzu6Q==",
      "dev": true,
      "license": "MIT",
      "engines": {
        "node": ">=20.18.1"
      }
    },
    "node_modules/unenv": {
      "version": "2.0.0-rc.24",
      "resolved": "https://registry.npmjs.org/unenv/-/unenv-2.0.0-rc.24.tgz",
      "integrity": "sha512-i7qRCmY42zmCwnYlh9H2SvLEypEFGye5iRmEMKjcGi7zk9UquigRjFtTLz0TYqr0ZGLZhaMHl/foy1bZR+Cwlw==",
      "dev": true,
      "license": "MIT",
      "dependencies": {
        "pathe": "^2.0.3"
      }
    },
    "node_modules/vite": {
      "version": "8.3.5",
      "resolved": "https://registry.npmjs.org/vite/-/vite-8.3.5.tgz",
      "integrity": "sha512-z1YpjieJ9g0ebTmQpLBv/oq9E3F9EIlOe+7LahW8SrE3LTiG3udBRUXQOlYXP9b+IC2q2phHeVxj9xGlw34OEQ==",
      "dev": true,
      "license": "MIT",
      "dependencies": {
        "lightningcss": "^1.33.0",
        "picomatch": "^4.0.7",
        "postcss": "^8.5.30",
        "rolldown": "~1.2.14",
        "tinyglobby": "^0.2.17"
      },
      "bin": {
        "vite": "bin/vite.js"
      },
      "engines": {
        "node": "^20.19.0 || >=22.12.0"
      },
      "funding": {
        "url": "https://github.com/vitejs/vite?sponsor=1"
      },
      "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"
      },
      "peerDependenciesMeta": {
        "@types/node": {
          "optional": true
        },
        "@vitejs/devtools": {
          "optional": true
        },
        "esbuild": {
          "optional": true
        },
        "jiti": {
          "optional": true
        },
        "less": {
          "optional": true
        },
        "sass": {
          "optional": true
        },
        "sass-embedded": {
          "optional": true
        },
        "stylus": {
          "optional": true
        },
        "sugarss": {
          "optional": true
        },
        "terser": {
          "optional": true
        },
        "tsx": {
          "optional": true
        },
        "yaml": {
          "optional": true
        }
      }
    },
    "node_modules/workerd": {
      "version": "1.20261019.1",
      "resolved": "https://registry.npmjs.org/workerd/-/workerd-1.20261019.1.tgz",
      "integrity": "sha512-UUYRUq/7DmeCl11YriNbcVbjUZVLtt8uuCXFu+nz77hGFf8d4DEVXoCYtnA+MlBatE4+wxoj47DVqzK3xGBAiw==",
      "dev": true,
      "hasInstallScript": true,
      "license": "Apache-2.0",
      "bin": {
        "workerd": "bin/workerd"
      },
      "engines": {
        "node": ">=16"
      },
      "optionalDependencies": {
        "@cloudflare/workerd-darwin-64": "1.20261019.1",
        "@cloudflare/workerd-darwin-arm64": "1.20261019.1",
        "@cloudflare/workerd-linux-64": "1.20261019.1",
        "@cloudflare/workerd-linux-arm64": "1.20261019.1",
        "@cloudflare/workerd-windows-64": "1.20261019.1"
      }
    },
    "node_modules/wrangler": {
      "version": "4.151.3",
      "resolved": "https://registry.npmjs.org/wrangler/-/wrangler-4.151.3.tgz",
      "integrity": "sha512-mzPQLmkAhZUV7CdiAhE+hiIAJlS9xPL6vZe1B8oQFuWxFu7nmQnvHAVjcAcabwSGkXFXH9uspzXwHOFrfbQmqQ==",
      "dev": true,
      "license": "MIT OR Apache-2.0",
      "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.20261019.1-beta",
        "path-to-regexp": "6.3.0",
        "unenv": "2.0.0-rc.24",
        "workerd": "1.20261019.1"
      },
      "bin": {
        "cf-wrangler": "bin/cf-wrangler.js",
        "wrangler": "bin/wrangler.js",
        "wrangler2": "bin/wrangler.js"
      },
      "engines": {
        "node": ">=22.0.0"
      },
      "optionalDependencies": {
        "fsevents": "2.3.3"
      },
      "peerDependencies": {
        "@cloudflare/workers-types": "^5.20261019.1"
      },
      "peerDependenciesMeta": {
        "@cloudflare/workers-types": {
          "optional": true
        }
      }
    },
    "node_modules/ws": {
      "version": "8.21.0",
      "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.0.tgz",
      "integrity": "sha512-Vsp28b7DRcimFQvrqu2Wek3z1iYxDCWqHYB8Qsnk/S4RfaCQzPGPyBNuVjJV3cd6UiKtUtp6sNM77gWvzcCH+g==",
      "dev": true,
      "license": "MIT",
      "engines": {
        "node": ">=10.0.0"
      },
      "peerDependencies": {
        "bufferutil": "^4.0.1",
        "utf-8-validate": ">=5.0.2"
      },
      "peerDependenciesMeta": {
        "bufferutil": {
          "optional": true
        },
        "utf-8-validate": {
          "optional": true
        }
      }
    },
    "node_modules/youch": {
      "version": "4.1.0-beta.10",
      "resolved": "https://registry.npmjs.org/youch/-/youch-4.1.0-beta.10.tgz",
      "integrity": "sha512-rLfVLB4FgQneDr0dv1oddCVZmKjcJ6yX6mS4pU82Mq/Dt9a3cLZQ62pDBL4AUO+uVrCvtWz3ZFUL2HFAFJ/BXQ==",
      "dev": true,
      "license": "MIT",
      "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"
      }
    },
    "node_modules/youch-core": {
      "version": "0.3.3",
      "resolved": "https://registry.npmjs.org/youch-core/-/youch-core-0.3.3.tgz",
      "integrity": "sha512-ho7XuGjLaJ2hWHoK8yFnsUGy2Y5uDpqSTq1FkHLK4/oqKtyUU1AFbOOxY4IpC9f0fTLjwYbslUz0Po5BpD1wrA==",
      "dev": true,
      "license": "MIT",
      "dependencies": {
        "@poppinss/exception": "^1.2.2",
        "error-stack-parser-es": "^1.0.5"
      }
    }
  }
}
```

### File: `wrangler.jsonc`

```jsonc
{
  "$schema": "node_modules/wrangler/config-schema.json",
  "name": "coin-rush",
  "main": "server/worker.js",
  "compatibility_date": "2026-10-22",
  "workers_dev": true,
  "assets": { "directory": "./dist", "binding": "ASSETS", "run_worker_first": ["/api/*"] },
  "durable_objects": { "bindings": [{ "name": "ROOMS", "class_name": "GameRoom" }] },
  "migrations": [{ "tag": "v1", "new_sqlite_classes": ["GameRoom"] }]
}
```

### File: `.gitignore`

```text
node_modules/
dist/
.wrangler/
.env*
.dev.vars*
*.log
```

### File: `index.html`

```html
<!doctype html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"><meta name="theme-color" content="#081326"><meta name="description" content="A tiny multiplayer cash chase. Create a room, invite your friends, and collect animated dollars."><title>Coin Rush · AlphaStack</title></head><body><div id="app"></div><script type="module" src="/client/main.js"></script></body></html>
```

### File: `server/game.js`

```javascript
export const RULES = Object.freeze({width:800,height:520,radius:16,speed:190,coins:12,countdownMs:3000,roundMs:45000,maxPlayers:4,reconnectMs:30000});
export const COLORS=['#74f4bd','#9ba8ff','#ff9dc6','#7bdcff'];
const starts=[[80,80],[720,440],[720,80],[80,440]];
export function newGame(now=Date.now()) {return {phase:'lobby',players:[],coins:[],startAt:0,endAt:0,lastTick:now,round:0};}
export function addPlayer(game,id,name,token,now=Date.now()){
 if(game.players.length>=RULES.maxPlayers)throw Error('This room is full. Create a new room.');
 if(game.phase==='countdown'||game.phase==='playing')throw Error('This round has started. Join after it finishes.');
 const used=new Set(game.players.map(p=>p.color));const slot=COLORS.findIndex(c=>!used.has(c));
 const p={id,name,token,color:COLORS[slot],x:starts[slot][0],y:starts[slot][1],score:0,dx:0,dy:0,connected:true,disconnectedAt:0};game.players.push(p);return p;
}
export function spawnCoin(game,random=Math.random){
 for(let i=0;i<100;i++){const c={id:crypto.randomUUID(),x:40+random()*(RULES.width-80),y:40+random()*(RULES.height-80)};
 if(game.players.every(p=>Math.hypot(p.x-c.x,p.y-c.y)>50)&&game.coins.every(p=>Math.hypot(p.x-c.x,p.y-c.y)>32))return c;}
 return {id:crypto.randomUUID(),x:RULES.width/2,y:RULES.height/2};
}
export function startRound(game,now=Date.now(),random=Math.random){
 if(game.phase!=='lobby'&&game.phase!=='finished')throw Error('A round is already running.');
 if(game.players.filter(p=>p.connected).length<2)throw Error('Invite at least one friend to start.');
 game.players=game.players.filter(p=>p.connected);
 for(const p of game.players){const i=COLORS.indexOf(p.color);[p.x,p.y]=starts[i];p.score=0;p.dx=0;p.dy=0;p.inputSeq=0;p.ackSeq=0;}
 game.phase='countdown';game.startAt=now+RULES.countdownMs;game.endAt=game.startAt+RULES.roundMs;game.lastTick=now;game.round++;game.coins=[];
 while(game.coins.length<RULES.coins)game.coins.push(spawnCoin(game,random));
}
export function setInput(player,x,y,now=Date.now(),sequence=undefined){
 if(typeof x!=='number'||typeof y!=='number'||!Number.isFinite(x)||!Number.isFinite(y))return false;
 const length=Math.hypot(x,y);player.dx=length>1?x/length:x;player.dy=length>1?y/length:y;player.lastInputAt=now;if(Number.isSafeInteger(sequence)&&sequence>=0)player.inputSeq=sequence;return true;
}
export function tick(game,now=Date.now(),random=Math.random){
 if(game.phase!=='countdown'&&game.phase!=='playing')return;
 if(now>=game.endAt){game.phase='finished';for(const p of game.players){p.dx=0;p.dy=0;}game.lastTick=now;return;}
 if(now<game.startAt){game.lastTick=now;return;}
 const dt=Math.min(.1,Math.max(0,(now-Math.max(game.lastTick,game.startAt))/1000));game.lastTick=now;game.phase='playing';
 for(const p of game.players){if(!p.connected)continue;if(now-(p.lastInputAt||0)>500){p.dx=0;p.dy=0;}p.x=Math.max(RULES.radius,Math.min(RULES.width-RULES.radius,p.x+p.dx*RULES.speed*dt));p.y=Math.max(RULES.radius,Math.min(RULES.height-RULES.radius,p.y+p.dy*RULES.speed*dt));p.ackSeq=p.inputSeq||0;}
 const collected=[];for(const coin of game.coins){const candidates=game.players.filter(p=>p.connected&&Math.hypot(p.x-coin.x,p.y-coin.y)<=RULES.radius+9).sort((a,b)=>Math.hypot(a.x-coin.x,a.y-coin.y)-Math.hypot(b.x-coin.x,b.y-coin.y)||a.id.localeCompare(b.id));if(candidates.length){candidates[0].score++;collected.push(coin.id);}}
 game.coins=game.coins.filter(c=>!collected.includes(c.id));while(game.coins.length<RULES.coins)game.coins.push(spawnCoin(game,random));
}
export function publicState(game,code,now=Date.now()) {return {code,phase:game.phase,startAt:game.startAt,endAt:game.endAt,serverNow:now,round:game.round,players:game.players.map(({token,dx,dy,disconnectedAt,lastInputAt,transport,lastSeen,inputSeq,...p})=>p),coins:game.coins};}
export function winners(game){const best=Math.max(...game.players.map(p=>p.score));return game.players.filter(p=>p.score===best).map(p=>p.id);}
```

### File: `server/worker.js`

```javascript
import {DurableObject} from 'cloudflare:workers';
import {RULES,newGame,addPlayer,startRound,setInput,tick,publicState} from './game.js';
const alphabet='ABCDEFGHJKLMNPQRSTUVWXYZ23456789';
const codePattern=/^[A-HJ-NP-Z2-9]{6}$/;
const json=(data,status=200)=>Response.json(data,{status,headers:{'Cache-Control':'no-store'}});
export default {async fetch(request,env){
 const url=new URL(request.url);
 if(url.pathname==='/api/health')return json({ok:true,game:'coin-rush',version:1});
 if(url.pathname.startsWith('/api/')&&request.headers.get('Origin')&&request.headers.get('Origin')!==url.origin)return json({error:'Open the game from its own website.'},403);
 if(url.pathname==='/api/rooms'&&request.method==='POST'){
  for(let attempt=0;attempt<4;attempt++){
   const bytes=crypto.getRandomValues(new Uint8Array(6));const code=Array.from(bytes,b=>alphabet[b%alphabet.length]).join('');
   const response=await env.ROOMS.get(env.ROOMS.idFromName(code)).fetch(new Request('https://room/init',{method:'POST',body:JSON.stringify({code})}));
   if(response.ok)return json({code},201);
  }return json({error:'Could not create a room. Try again.'},503);
 }
 const route=url.pathname.match(/^\/api\/rooms\/([^/]+)(\/(?:socket|join|sync))?$/);
 if(route){const code=route[1].toUpperCase();if(!codePattern.test(code))return json({error:'Enter the six-character room code.'},400);
  const roomUrl=new URL(request.url);roomUrl.pathname=route[2]||'/status';return env.ROOMS.get(env.ROOMS.idFromName(code)).fetch(new Request(roomUrl,request));}
 if(url.pathname.startsWith('/api/'))return json({error:'Not found.'},404);
 return env.ASSETS.fetch(request);
}};
export class GameRoom extends DurableObject{
 constructor(ctx,env){super(ctx,env);this.code=null;this.game=newGame();this.timer=null;this.clients=new Map();this.limits=new Map();this.tickNumber=0;
  ctx.blockConcurrencyWhile(async()=>{const saved=await ctx.storage.get('room');if(saved){this.code=saved.code;this.game=saved.game;}
   for(const ws of ctx.getWebSockets()){const meta=ws.deserializeAttachment();if(meta?.id)this.clients.set(meta.id,ws);}
   for(const p of this.game.players){p.connected=this.clients.has(p.id)||(p.transport==='http'&&Date.now()-(p.lastSeen||0)<10000);if(!p.connected&&!p.disconnectedAt)p.disconnectedAt=Date.now();p.dx=0;p.dy=0;}
   if(['countdown','playing'].includes(this.game.phase)){if(Date.now()>=this.game.endAt)this.game.phase='finished';else this.run();}
  });
 }
 async save(){await this.ctx.storage.put('room',{code:this.code,game:this.game});}
 host(){return this.game.players.find(p=>p.connected)?.id||null;}
 state(){return {...publicState(this.game,this.code),hostId:this.host()};}
 send(ws,data){try{ws.send(JSON.stringify(data));}catch{}}
 broadcast(){const data={type:'state',...this.state()};for(const ws of this.clients.values())this.send(ws,data);}
 prune(){const now=Date.now();for(const p of this.game.players)if(p.transport==='http'&&p.connected&&now-(p.lastSeen||0)>10000){p.connected=false;p.disconnectedAt=now;p.dx=0;p.dy=0;}this.game.players=this.game.players.filter(p=>p.connected||(['countdown','playing'].includes(this.game.phase))||now-p.disconnectedAt<RULES.reconnectMs);}
 async fetch(request){const url=new URL(request.url);
  if(url.pathname==='/init'&&request.method==='POST'){if(this.code)return json({error:'Exists'},409);this.code=(await request.json()).code;await this.save();await this.ctx.storage.setAlarm(Date.now()+3600000);return json({ok:true});}
  if(!this.code)return json({error:'Room not found. Check the code or create a new room.'},404);
  this.prune();
  if(url.pathname==='/status')return json({code:this.code,phase:this.game.phase,players:this.game.players.filter(p=>p.connected).length});
  if((url.pathname==='/join'||url.pathname==='/sync')&&request.method==='POST'){
   const raw=await request.text();if(raw.length>512)return json({error:'Request too large.'},413);let data;try{data=JSON.parse(raw)}catch{return json({error:'Invalid request.'},400)}
   if(!data||typeof data!=='object')return json({error:'Invalid request.'},400);
   let player=this.game.players.find(p=>data.token&&p.token===data.token);
   if(url.pathname==='/join'){
    const name=typeof data.name==='string'?data.name.trim().slice(0,18):'';if(!name)return json({error:'Enter your name.'},400);
    if(!player){try{player=addPlayer(this.game,crypto.randomUUID(),name,crypto.randomUUID());}catch(error){return json({error:error.message},409);}}
    const old=this.clients.get(player.id);this.clients.delete(player.id);try{old?.close(4002,'Using fallback connection.')}catch{}
    player.transport='http';player.lastSeen=Date.now();player.connected=true;player.disconnectedAt=0;player.dx=0;player.dy=0;player.inputSeq=0;player.ackSeq=0;
    await this.save();this.broadcast();return json({type:'welcome',id:player.id,token:player.token,...this.state()});
   }
   if(!player||player.transport!=='http')return json({error:'Please rejoin the room.'},401);
   player.lastSeen=Date.now();player.connected=true;player.disconnectedAt=0;setInput(player,data.x??0,data.y??0,Date.now(),data.seq);
   if(data.action==='leave'){this.game.players=this.game.players.filter(p=>p.id!==player.id);await this.afterDisconnect();return json({ok:true});}
   if(data.action==='start'){
    if(this.host()!==player.id)return json({error:'Only the room host can start the round.'},403);
    try{startRound(this.game);await this.save();await this.ctx.storage.setAlarm(this.game.endAt);this.run()}catch(error){return json({error:error.message},409);}
   }
   tick(this.game);this.broadcast();return json({type:'state',...this.state()});
  }
  if(url.pathname!=='/socket'||request.headers.get('Upgrade')?.toLowerCase()!=='websocket')return json({error:'WebSocket connection required.'},426);
  const name=(url.searchParams.get('name')||'').trim().slice(0,18);if(!name)return json({error:'Enter your name.'},400);
  const token=url.searchParams.get('token')||'';let player=this.game.players.find(p=>token&&p.token===token);
  if(!player){try{player=addPlayer(this.game,crypto.randomUUID(),name,crypto.randomUUID());}catch(error){return json({error:error.message},409);}}
  const old=this.clients.get(player.id);if(old){try{old.close(4001,'Connected in another tab.');}catch{}}
  player.connected=true;player.transport='ws';player.disconnectedAt=0;player.dx=0;player.dy=0;player.inputSeq=0;player.ackSeq=0;
  const pair=new WebSocketPair(),client=pair[0],server=pair[1];this.ctx.acceptWebSocket(server);server.serializeAttachment({id:player.id});this.clients.set(player.id,server);
  this.send(server,{type:'welcome',id:player.id,token:player.token,...this.state()});this.broadcast();await this.save();
  return new Response(null,{status:101,webSocket:client});
 }
 async webSocketMessage(ws,message){
  const id=ws.deserializeAttachment()?.id;if(this.clients.get(id)!==ws)return;
  const player=this.game.players.find(p=>p.id===id);if(!player)return;
  if(typeof message!=='string'||message.length>256){ws.close(1009,'Message too large.');return;}
  const now=Date.now(),rate=this.limits.get(id)||{time:now,count:0};if(now-rate.time>=1000){rate.time=now;rate.count=0;}if(++rate.count>60){this.limits.set(id,rate);return;}this.limits.set(id,rate);
  let data;try{data=JSON.parse(message);}catch{return;}
  if(data?.type==='input'){setInput(player,data.x,data.y,Date.now(),data.seq);return;}
  if(data?.type==='start'){
   if(this.host()!==id){this.send(ws,{type:'error',message:'Only the room host can start the round.'});return;}
   try{startRound(this.game);await this.save();await this.ctx.storage.setAlarm(this.game.endAt);this.run();this.broadcast();}catch(error){this.send(ws,{type:'error',message:error.message});}return;
  }
  if(data?.type==='leave'){this.clients.delete(id);this.game.players=this.game.players.filter(p=>p.id!==id);try{ws.close(1000,'Left room.');}catch{}await this.afterDisconnect();}
 }
 run(){if(this.timer)return;this.timer=setInterval(()=>{try{tick(this.game);if(++this.tickNumber%2===0)this.broadcast();if(this.game.phase==='finished'){clearInterval(this.timer);this.timer=null;this.broadcast();this.ctx.waitUntil(this.save());}}catch{clearInterval(this.timer);this.timer=null;}},50);}
 async afterDisconnect(){
  if(!this.game.players.some(p=>p.connected)){if(this.timer){clearInterval(this.timer);this.timer=null;}if(['playing','countdown'].includes(this.game.phase))this.game.phase='finished';}
  this.broadcast();await this.save();await this.ctx.storage.setAlarm(['playing','countdown'].includes(this.game.phase)?this.game.endAt:Date.now()+3600000);
 }
 async webSocketClose(ws){const id=ws.deserializeAttachment()?.id;if(this.clients.get(id)!==ws)return;this.clients.delete(id);this.limits.delete(id);const p=this.game.players.find(p=>p.id===id);if(p){p.connected=false;p.disconnectedAt=Date.now();p.dx=0;p.dy=0;}await this.afterDisconnect();}
 async webSocketError(ws){await this.webSocketClose(ws);}
 async alarm(){this.prune();if(['countdown','playing'].includes(this.game.phase)){tick(this.game);if(this.game.phase==='finished'){if(this.timer){clearInterval(this.timer);this.timer=null;}this.broadcast();await this.save();}else{await this.ctx.storage.setAlarm(this.game.endAt);return;}}if(this.game.players.some(p=>p.connected)){await this.ctx.storage.setAlarm(Date.now()+3600000);return;}await this.ctx.storage.deleteAll();this.code=null;this.game=newGame();}
}
```

### File: `client/main.js`

```javascript
import Phaser from 'phaser';
import './style.css';
import {Prediction,direction} from './prediction.js';
import {RUNNER_SPRITE,RUNNER_FRAME} from './runner-assets.js';
document.querySelector('#app').innerHTML=`<main class="wrap"><header><div class="wordmark"><span class="coin-logo">$</span>COIN RUSH</div><span class="byline">AN ALPHASTACK MINI GAME</span></header>
<section id="home" class="home"><div class="home-copy"><span class="eyebrow">Small arena. Big bragging rights.</span><h1>Your friends.<br>Your room.<br><span>Your cash.</span></h1><p>Race for dollars in a 45-second scramble.<br>Most coins wins. That's it.</p><div class="pills"><span class="pill">2–4 players</span><span class="pill">Play in your browser</span><span class="pill">No sign-up</span></div></div><form id="entry" class="entry"><label for="name">Your name</label><input id="name" maxlength="18" autocomplete="nickname" placeholder="What should we call you?" required><button id="create" class="primary" type="submit">CREATE GAME</button><div class="divider">OR JOIN YOUR FRIENDS</div><label class="sr" for="code">Room code</label><div class="join-row"><input id="code" maxlength="6" placeholder="ROOM CODE" autocomplete="off"><button id="join" class="secondary" type="button">JOIN</button></div><div id="home-notice" class="notice" role="status"></div></form></section>
<section id="room" hidden><div class="room-top"><div class="room-code">ROOM<strong id="room-code"></strong></div><div class="room-actions"><button id="copy" class="secondary">COPY INVITE LINK</button><button id="leave" class="quiet">LEAVE</button></div></div><div class="hud"><div id="scores" class="scores"></div><div id="timer" class="timer">45s</div></div><div class="stage-wrap"><div id="stage" class="stage"></div><div id="overlay" class="overlay"><div class="overlay-card"><h2 id="overlay-title">Waiting for friends</h2><p id="overlay-note">Share your invite link to get started.</p><div id="count" class="count" hidden></div><ul id="results" class="result-list" hidden></ul><button id="start" hidden>START ROUND</button></div></div></div><div class="controls"><span>Hold and drag on the arena to move · Release to stop<br>Arrow keys / WASD also work</span></div><div id="room-notice" class="notice" role="status"></div></section><p id="home-note" class="home-note">Create a room. Send the link. Grab some cash.</p></main>`;
const $=s=>document.querySelector(s);
let socket=null,code='',me='',token='',state=null,intentional=false,retries=0,retryTimer=null,offset=0,game=null,scene=null,busy=false,lastInput='',httpMode=false,httpTimer=null,handshakeTimer=null,httpInput={x:0,y:0},pendingAction=null;
const keys=new Set(),pointers=new Map(),prediction=new Prediction();let inputSequence=0,lastSample=performance.now(),arenaAim=null;
function movement(){if(arenaAim&&state?.phase==='playing'){const origin=prediction.position||state.players.find(p=>p.id===me);if(origin){const dx=arenaAim.x-origin.x,dy=arenaAim.y-origin.y,distance=Math.hypot(dx,dy);if(distance<4)return{x:0,y:0};const speed=Math.min(1,distance/36);return{x:dx/distance*speed,y:dy/distance*speed};}}const directions=new Set(pointers.values());return direction(Number(keys.has('arrowright')||keys.has('d')||directions.has('right'))-Number(keys.has('arrowleft')||keys.has('a')||directions.has('left')),Number(keys.has('arrowdown')||keys.has('s')||directions.has('down'))-Number(keys.has('arrowup')||keys.has('w')||directions.has('up')));}
const safeText=(tag,text,cls)=>{const e=document.createElement(tag);e.textContent=text;if(cls)e.className=cls;return e;};
function notice(text){$(code?'#room-notice':'#home-notice').textContent=text;}
function session(key,value){try{if(value===undefined)return sessionStorage.getItem(key);sessionStorage.setItem(key,value);}catch{}return null;}
$('#name').value=session('coinrush-name')||'';
const initial=new URL(location.href).searchParams.get('room');if(initial)$('#code').value=initial.toUpperCase();
function name(){const value=$('#name').value.trim();if(!value){$('#name').reportValidity();$('#home-notice').textContent='Enter your name first.';return null;}session('coinrush-name',value);return value;}
async function enter(target){if(busy||!name())return;busy=true;$('#create').disabled=true;$('#join').disabled=true;$('#home-notice').textContent='Connecting…';try{
 if(!target){const r=await fetch('/api/rooms',{method:'POST'});const data=await r.json();if(!r.ok)throw Error(data.error);target=data.code;}
 target=target.trim().toUpperCase();const r=await fetch('/api/rooms/'+encodeURIComponent(target));const data=await r.json();if(!r.ok)throw Error(data.error);
 const stored=JSON.parse(session('coinrush:'+target)||'null');if(!stored&&['countdown','playing'].includes(data.phase))throw Error('This round has started. Join when it finishes.');
 code=target;token=stored?.token||'';retries=0;intentional=false;httpMode=false;connect();
 }catch(error){$('#home-notice').textContent=error.message;code='';}finally{busy=false;$('#create').disabled=false;$('#join').disabled=false;}}
$('#entry').onsubmit=e=>{e.preventDefault();enter('')};$('#join').onclick=()=>{if(!$('#code').value.trim()){$('#home-notice').textContent='Enter your friend’s room code.';return}enter($('#code').value)};
function connect(){
 const url=new URL('/api/rooms/'+code+'/socket',location.href);url.protocol=location.protocol==='https:'?'wss:':'ws:';url.searchParams.set('name',$('#name').value.trim());if(token)url.searchParams.set('token',token);
 const current=new WebSocket(url);socket=current;
 handshakeTimer=setTimeout(()=>{if(socket===current&&!me)fallback()},8000);
 current.onmessage=event=>{if(socket!==current)return;let data;try{data=JSON.parse(event.data)}catch{return}receive(data)};
 current.onclose=async event=>{if(socket!==current||intentional)return;zero();if(event.code===4001){notice('This player connected in another tab.');return}
 await fallback();};
}
function receive(data){if(data.type==='error'){notice(data.message);return}if(data.type==='welcome'){prediction.reset();inputSequence=0;lastSample=performance.now();clearTimeout(handshakeTimer);me=data.id;token=data.token;session('coinrush:'+code,JSON.stringify({token,name:$('#name').value.trim()}));$('#home').hidden=true;$('#home-note').hidden=true;$('#room').hidden=false;$('#room-code').textContent=code;$('#home-notice').textContent='';history.replaceState(null,'','?room='+code);if(!game)boot();}if(data.type==='state'||data.type==='welcome'){retries=0;offset=data.serverNow-Date.now();if(state&&state.round!==data.round){prediction.reset();inputSequence=0;lastSample=performance.now();}if(!['countdown','playing'].includes(data.phase))arenaAim=null;state=data;$('#room-notice').textContent='';renderUI();}}
async function fallback(){if(httpMode||intentional||!code)return;clearTimeout(handshakeTimer);httpMode=true;const old=socket;socket=null;try{old?.close()}catch{}try{const r=await fetch('/api/rooms/'+code+'/join',{method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify({name:$('#name').value.trim(),token}),signal:AbortSignal.timeout(15000)});const data=await r.json();if(!r.ok)throw Error(data.error);receive(data);poll();}catch(error){httpMode=false;const text=error.name==='TimeoutError'?'Connection timed out. Try joining again.':error.message;if(me)notice(text);else{$('#home-notice').textContent=text;code='';}}}
async function poll(){if(!httpMode||intentional||!code)return;const currentCode=code;const action=pendingAction;pendingAction=null;try{const r=await fetch('/api/rooms/'+code+'/sync',{method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify({token,...httpInput,...(action?{action}:{})}),signal:AbortSignal.timeout(15000)});const data=await r.json();if(intentional||code!==currentCode||!httpMode)return;if(!r.ok){notice(data.error||'Connection interrupted.');if(r.status===401){httpMode=false;fallback();return;}}else receive(data);}catch{notice('Connection interrupted. Reconnecting…');if(++retries>6){notice('Could not reconnect. Reload to try again.');return;}}if(httpMode&&!intentional)httpTimer=setTimeout(poll,state?.phase==='playing'?150:700);}
function send(data){if(httpMode){if(data.type==='input')httpInput={x:data.x,y:data.y,seq:data.seq};else if(data.type==='start')pendingAction='start';else if(data.type==='leave'){fetch('/api/rooms/'+code+'/sync',{method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify({token,x:0,y:0,action:'leave'}),keepalive:true}).catch(()=>{});}return;}if(socket?.readyState===WebSocket.OPEN)socket.send(JSON.stringify(data));}
function zero(){arenaAim=null;keys.clear();pointers.clear();lastInput='';send({type:'input',x:0,y:0,seq:++inputSequence});}
$('#leave').onclick=()=>{intentional=true;clearTimeout(retryTimer);clearTimeout(handshakeTimer);clearTimeout(httpTimer);zero();send({type:'leave'});httpMode=false;socket?.close();socket=null;state=null;me='';token='';code='';history.replaceState(null,'',location.pathname);$('#room').hidden=true;$('#home').hidden=false;$('#home-note').hidden=false;$('#home-notice').textContent='';if(game){game.destroy(true);game=null;scene=null;}};
$('#copy').onclick=async()=>{const link=new URL(location.href);link.search='?room='+code;try{await navigator.clipboard.writeText(link.href);notice('Invite link copied. Send it to a friend.');}catch{notice('Share this link: '+link.href);}};
$('#start').onclick=()=>send({type:'start'});
function renderUI(){if(!state)return;$('#scores').replaceChildren();for(const p of state.players){const item=safeText('div','',`score${p.id===me?' you':''}`),dot=safeText('span','','dot');dot.style.background=p.color;item.append(dot,safeText('span',p.name+(p.id===me?' (you)':'')),safeText('b','$'+String(p.score)));if(!p.connected)item.append(safeText('em',' offline'));$('#scores').append(item);}
 const phase=state.phase,playing=phase==='playing';$('#overlay').hidden=playing;$('#count').hidden=phase!=='countdown';$('#results').hidden=phase!=='finished';$('#start').hidden=phase==='countdown'||playing||state.hostId!==me;$('#start').disabled=state.players.filter(p=>p.connected).length<2;
 if(phase==='lobby'){$('#overlay-title').textContent='Waiting for friends';$('#overlay-note').textContent=state.players.filter(p=>p.connected).length<2?'Share your invite link to get started.':state.hostId===me?'Everyone’s here? Start the round.':'Your host will start the round.';$('#start').textContent='START ROUND';}
 if(phase==='countdown'){$('#overlay-title').textContent='Get ready!';$('#overlay-note').textContent='Collect the most dollars in 45 seconds.';}
 if(phase==='finished'){const sorted=[...state.players].sort((a,b)=>b.score-a.score),leaders=sorted.filter(p=>p.score===sorted[0]?.score);$('#overlay-title').textContent=leaders.length>1?'It’s a tie!':leaders[0]?.id===me?'You cashed in!':(leaders[0]?.name||'Round')+' wins!';$('#overlay-note').textContent=state.hostId===me?'Ready for another scramble?':'Waiting for the host to start again.';$('#results').replaceChildren();for(const p of sorted){const li=safeText('li','');li.append(safeText('span',p.name+(p.id===me?' (you)':'')),safeText('b','$'+p.score));$('#results').append(li);}$('#start').textContent='PLAY AGAIN';}
}
function editable(){return ['INPUT','TEXTAREA'].includes(document.activeElement?.tagName)}
window.addEventListener('keydown',e=>{if(!code||editable())return;if(['ArrowUp','ArrowDown','ArrowLeft','ArrowRight','w','a','s','d','W','A','S','D'].includes(e.key)){e.preventDefault();keys.add(e.key.toLowerCase());}});
window.addEventListener('keyup',e=>keys.delete(e.key.toLowerCase()));window.addEventListener('blur',zero);document.addEventListener('visibilitychange',()=>{if(document.hidden)zero()});
setInterval(()=>{const now=performance.now(),dt=Math.min(.1,(now-lastSample)/1000);lastSample=now;if(!state||!['playing','countdown'].includes(state.phase)||document.hidden)return;const {x,y}=movement(),seq=++inputSequence;if(state.phase==='playing')prediction.record(seq,x,y,dt);send({type:'input',x,y,seq});},50);
setInterval(()=>{if(!state)return;const now=Date.now()+offset;$('#count').textContent=String(Math.max(1,Math.ceil((state.startAt-now)/1000)));$('#timer').textContent=['countdown','playing'].includes(state.phase)?Math.max(0,Math.ceil((state.endAt-Math.max(now,state.startAt))/1000))+'s':'45s';},100);
function boot(){
 class Arena extends Phaser.Scene {
  constructor(){super('arena');this.avatars=new Map();this.gold=new Map();}
  preload(){this.load.spritesheet('runner',RUNNER_SPRITE,{frameWidth:RUNNER_FRAME,frameHeight:RUNNER_FRAME});}
  create(){
   scene=this;
   this.cameras.main.setZoom(.9).centerOn(400,260);
   this.aimMarker=this.add.graphics().setDepth(30);
   const canvas=this.game.canvas;
   const aim=event=>{if(!state||!['countdown','playing'].includes(state.phase))return;if(arenaAim&&arenaAim.id!==event.pointerId)return;const box=canvas.getBoundingClientRect(),x=(event.clientX-box.left)/box.width*canvas.width,y=(event.clientY-box.top)/box.height*canvas.height,world=this.cameras.main.getWorldPoint(x,y);arenaAim={id:event.pointerId,x:Phaser.Math.Clamp(world.x,16,784),y:Phaser.Math.Clamp(world.y,16,504)};};
   const stop=event=>{if(!arenaAim||event.pointerId!==arenaAim.id)return;arenaAim=null;send({type:'input',x:0,y:0,seq:++inputSequence});};
   canvas.style.touchAction='none';
   canvas.addEventListener('pointerdown',event=>{if(state?.phase!=='playing')return;event.preventDefault();aim(event);try{canvas.setPointerCapture(event.pointerId)}catch{}},{passive:false});
   canvas.addEventListener('pointermove',event=>{if(arenaAim?.id===event.pointerId){event.preventDefault();aim(event)}},{passive:false});
   canvas.addEventListener('pointerup',stop);canvas.addEventListener('pointercancel',stop);canvas.addEventListener('lostpointercapture',stop);
   this.anims.create({key:'run',frames:this.anims.generateFrameNumbers('runner',{start:0,end:3}),frameRate:10,repeat:-1});
   const g=this.add.graphics();g.fillStyle(0x101f34);g.fillRect(-80,-80,960,680);
   g.lineStyle(1,0x20334c,.7);for(let x=0;x<=800;x+=40)g.lineBetween(x,0,x,520);for(let y=0;y<=520;y+=40)g.lineBetween(0,y,800,y);
   g.lineStyle(6,0x314964);g.strokeRoundedRect(5,5,790,510,14);
   for(const[x,y,c]of [[80,80,0x74f4bd],[720,440,0x9ba8ff],[720,80,0xff9dc6],[80,440,0x7bdcff]]){g.fillStyle(c,.07);g.fillCircle(x,y,36);g.lineStyle(1,c,.2);g.strokeCircle(x,y,36);}
  }
  avatar(p){
   const color=Phaser.Display.Color.HexStringToColor(p.color).color;
   const halo=this.add.ellipse(0,28,43,14,color,.16).setStrokeStyle(2,color,.95);
   const sprite=this.add.sprite(0,0,'runner',1).setDisplaySize(72,72);
   const label=this.add.text(0,-49,p.name+(p.id===me?' · YOU':''),{fontFamily:'Arial',fontSize:'12px',fontStyle:'bold',color:p.id===me?'#ffe5a0':'#e8f1ff',stroke:'#102139',strokeThickness:4}).setOrigin(.5);
   const children=[halo];if(p.id===me)children.push(this.add.ellipse(0,28,49,19).setStrokeStyle(1,0xffd25c,.9));children.push(sprite,label);
   const v=this.add.container(p.x,p.y,children).setDepth(10);v.runner=sprite;v.label=label;return v;
  }
  dollar(c){
   const glow=this.add.ellipse(0,1,42,25,0x65df8b,.1),bill=this.add.graphics();
   bill.fillStyle(0x299d58);bill.fillRoundedRect(-16,-9,32,18,3);bill.lineStyle(1.5,0x9cecac);bill.strokeRoundedRect(-16,-9,32,18,3);bill.lineStyle(1,0x5ace7a);bill.strokeRect(-12,-5,24,10);
   const mark=this.add.text(0,0,'$',{fontFamily:'Arial',fontSize:'15px',fontStyle:'bold',color:'#eeffdf',stroke:'#227346',strokeThickness:2}).setOrigin(.5);
   return this.add.container(c.x,c.y,[glow,bill,mark]).setDepth(2);
  }
  update(time,delta){
   if(!state)return;
   this.aimMarker.clear();if(arenaAim&&state.phase==='playing'){this.aimMarker.lineStyle(1.5,0xffe5a0,.7);this.aimMarker.strokeCircle(arenaAim.x,arenaAim.y,8);this.aimMarker.fillStyle(0xffe5a0,.8);this.aimMarker.fillCircle(arenaAim.x,arenaAim.y,2);}
   const ids=new Set(state.players.map(p=>p.id));
   for(const[id,v]of this.avatars)if(!ids.has(id)){v.destroy();this.avatars.delete(id);}
   for(const p of state.players){
    let v=this.avatars.get(p.id);if(!v){v=this.avatar(p);this.avatars.set(p.id,v);}
    const oldX=v.x,oldY=v.y;
    if(p.id===me){
     if(state.phase==='playing'){prediction.reconcile(p,state.serverNow);const input=document.hidden?{x:0,y:0}:movement(),shown=prediction.update(input.x,input.y,delta/1000);v.x=shown.x;v.y=shown.y;}
     else{prediction.reset(p);v.x=p.x;v.y=p.y;}
    }else{const a=1-Math.exp(-delta/55);v.x=Phaser.Math.Linear(v.x,p.x,a);v.y=Phaser.Math.Linear(v.y,p.y,a);}
    const dx=v.x-oldX,dy=v.y-oldY,running=state.phase==='playing'&&Math.hypot(dx,dy)>.08;
    if(running){v.runner.play('run',true);if(Math.abs(dx)>.08)v.runner.flipX=dx<0;v.runner.angle=Math.sin(time/90)*2;v.runner.y=Math.sin(time/90)*1.3;}
    else{v.runner.anims.stop();v.runner.setFrame(1);v.runner.angle=0;v.runner.y=Math.sin(time/400)*.5;}
    v.label.y=v.y<52?46:-49;v.alpha=p.connected?1:.3;
   }
   const coinIds=new Set(state.coins.map(c=>c.id));
   for(const[id,v]of this.gold)if(!coinIds.has(id)){
    const pop=this.add.text(v.x,v.y,'+$1',{fontFamily:'Arial',fontSize:'14px',fontStyle:'bold',color:'#b8ffba',stroke:'#102139',strokeThickness:3}).setOrigin(.5).setDepth(20);
    this.tweens.add({targets:pop,y:pop.y-24,alpha:0,duration:400,onComplete:()=>pop.destroy()});v.destroy();this.gold.delete(id);
   }
   for(const c of state.coins){let v=this.gold.get(c.id);if(!v){v=this.dollar(c);this.gold.set(c.id,v);}v.y=c.y+Math.sin(time/240+c.x)*3;v.rotation=Math.sin(time/430+c.y)*.13;v.scaleX=.88+.12*Math.sin(time/300+c.x);}
  }
 }
 game=new Phaser.Game({type:Phaser.CANVAS,parent:'stage',width:800,height:520,backgroundColor:'#101f34',scene:Arena,scale:{mode:Phaser.Scale.FIT,autoCenter:Phaser.Scale.CENTER_BOTH},input:{keyboard:false,mouse:false,touch:false},audio:{noAudio:true},banner:false});
}
```

### File: `client/style.css`

```css
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root{font-family:'Space Grotesk',system-ui,sans-serif;color:#edf4ff;background:#081326;--gold:#ffd25c;--line:#26364c;--muted:#a3b3cd}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:radial-gradient(ellipse at 50% -20%,#203554,#081326 68%);min-height:100vh}button,input{font:inherit}button{cursor:pointer;border:0;border-radius:12px;padding:13px 22px;font-weight:700;background:var(--gold);color:#202332;transition:transform .15s}button:hover{transform:translateY(-1px)}button:disabled{opacity:.5;cursor:default;transform:none}button.secondary{background:#1a2c44;color:#dce8ff;border:1px solid #334762}.quiet{background:none;color:var(--muted);padding:9px;font-size:12px}.wrap{width:min(1000px,95vw);margin:0 auto;padding:28px 0 20px}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.wordmark{display:flex;align-items:center;gap:12px;font-size:24px;font-weight:700;letter-spacing:-.06em}.coin-logo{display:grid;place-items:center;border-radius:50%;width:34px;height:34px;border:3px solid #9b681e;background:var(--gold);color:#8d5d13;font-size:21px}.byline{font-size:10px;letter-spacing:.16em;color:var(--muted)}.home{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:45px;padding:22px 0 30px}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.2em;color:var(--gold)}h1{font-size:clamp(42px,6vw,66px);line-height:1.02;letter-spacing:-.06em;margin:14px 0 20px}h1 span{color:var(--gold)}p{color:var(--muted);line-height:1.6}.pills{display:flex;gap:10px;flex-wrap:wrap}.pill{font-size:12px;padding:7px 12px;border:1px solid #344762;border-radius:30px;color:#b5c7e2}.entry{background:#101f34;border:1px solid #30415a;padding:28px;border-radius:22px;box-shadow:0 25px 75px #0003}label{font-size:13px;display:block;margin:0 0 8px;color:#c5d2e6}input{background:#091528;color:white;border:1px solid #344b6b;padding:13px;border-radius:10px;width:100%;margin-bottom:18px;outline:none}input:focus{border-color:var(--gold)}.entry button.primary{width:100%}.divider{text-align:center;color:#7187a7;font-size:11px;margin:21px 0 16px}.join-row{display:flex;gap:10px}.join-row input{margin:0;min-width:0;text-transform:uppercase;letter-spacing:.13em}.join-row button{white-space:nowrap}.notice{min-height:24px;color:#ffda9d;font-size:13px;margin-top:12px}.room-top{display:flex;gap:15px;justify-content:space-between;align-items:center;margin-bottom:15px}.room-code{font-size:14px;color:var(--muted)}.room-code strong{font-size:20px;color:#fff;letter-spacing:.12em;margin-left:8px}.room-actions{display:flex;gap:8px;align-items:center}.room-actions button{padding:10px 14px;font-size:12px}.hud{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}.scores{display:flex;gap:10px;flex-wrap:wrap}.score{border:1px solid #36455d;border-radius:12px;padding:9px 12px;font-size:13px}.score.you{border-color:var(--gold)}.dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:7px}.score b{margin-left:10px;color:var(--gold)}.score em{font-size:10px;font-style:normal;color:#8ea4c4}.timer{white-space:nowrap;color:var(--gold);font-size:26px;font-weight:700;font-variant-numeric:tabular-nums}.stage-wrap{position:relative;width:100%;border:1px solid #34445e;border-radius:18px;overflow:hidden;background:#0e1c30;box-shadow:0 18px 60px #0004}.stage{aspect-ratio:800/520;width:100%}.stage canvas{display:block;touch-action:none;cursor:crosshair}.overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none;background:#08132677;backdrop-filter:blur(3px)}.overlay-card{text-align:center;border:1px solid #425875;background:#10213aeb;border-radius:22px;padding:25px 32px;width:min(400px,86%);pointer-events:auto}.overlay h2{font-size:30px;letter-spacing:-.04em;margin:0 0 9px}.overlay p{margin:0 0 18px;font-size:13px}.overlay .count{font-size:78px;font-weight:700;color:var(--gold);line-height:1}.overlay button{margin-top:4px}.controls{display:flex;align-items:center;justify-content:space-between;margin-top:14px;gap:15px;color:var(--muted);font-size:12px}.home-note{text-align:center;margin-top:20px;font-size:11px;color:#7187a7}.sr{position:absolute;left:-10000px}.result-list{margin:12px 0 18px;padding:0;list-style:none;text-align:left}.result-list li{display:flex;justify-content:space-between;padding:6px;border-bottom:1px solid #2f425c;font-size:13px}.result-list b{color:var(--gold)}@media(max-width:650px){.wrap{padding-top:16px}.home{grid-template-columns:1fr;gap:22px;padding:10px 0 20px}h1{font-size:46px;margin:10px 0 14px}.home-copy p{font-size:14px}.entry{padding:22px}.byline{font-size:8px}.room-code strong{font-size:16px}.room-top{align-items:flex-start}.room-actions{gap:2px}.room-actions button{padding:8px;font-size:10px}.scores{gap:5px}.score{padding:6px;font-size:10px}.score b{margin-left:4px}.timer{font-size:22px}.overlay-card{padding:16px}.overlay h2{font-size:24px}.controls{align-items:center}.hud{gap:5px}.result-list{margin:8px 0}.room-code{font-size:11px}.stage-wrap{border-radius:12px}}@media(prefers-reduced-motion:reduce){button{transition:none}}
```

### File: `client/prediction.js`

```javascript
import {RULES} from '../server/game.js';
export function direction(x,y){const length=Math.hypot(x,y);return length>1?{x:x/length,y:y/length}:{x,y};}
function move(position,x,y,dt){const d=direction(x,y);return{x:Math.max(RULES.radius,Math.min(RULES.width-RULES.radius,position.x+d.x*RULES.speed*dt)),y:Math.max(RULES.radius,Math.min(RULES.height-RULES.radius,position.y+d.y*RULES.speed*dt))};}
export class Prediction{
 constructor(){this.reset();}
 reset(player=null){this.position=player?{x:player.x,y:player.y}:null;this.correction={x:0,y:0};this.pending=[];this.snapshot=null;}
 record(seq,x,y,dt){this.pending.push({seq,x,y,dt:Math.min(.1,Math.max(0,dt))});if(this.pending.length>100)this.pending.shift();}
 reconcile(player,snapshot){
  if(this.snapshot===snapshot)return;this.snapshot=snapshot;this.pending=this.pending.filter(input=>input.seq>(player.ackSeq||0));
  let corrected={x:player.x,y:player.y};for(const input of this.pending)corrected=move(corrected,input.x,input.y,input.dt);
  if(this.position){this.correction.x+=this.position.x-corrected.x;this.correction.y+=this.position.y-corrected.y;if(Math.hypot(this.correction.x,this.correction.y)>100)this.correction={x:0,y:0};}
  this.position=corrected;
 }
 update(x,y,dt){if(!this.position)return null;const step=Math.min(.05,Math.max(0,dt));this.position=move(this.position,x,y,step);const decay=Math.exp(-step/.085);this.correction.x*=decay;this.correction.y*=decay;return{x:this.position.x+this.correction.x,y:this.position.y+this.correction.y};}
}
```

### File: `client/runner-assets.js`

```javascript
// Bundled four-frame cartoon runner; the build document includes this asset.
export const RUNNER_SPRITE = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAACACAMAAABKiSE5AAADAFBMVEWcYSBcMhUlHCEiJyRyUSNpXWKeZh1hMiPbozFRKQ2TWhHapWYhGSBZMhwjL1LtplJgG2Hj39zXcjCibU+ylB51SBu0PQhxSBegn6DiqSrydXKPUxNjUlQ2S1XoIxxicYUjGxXHt7HjWBuab15zSA745loA/wD/8nH70zdAPkZvhZO6hx9sbKC/xMeukFCAfILQLi7/AP/Za0AAAP/Kwrr/zJn/qqojI0DBlj2/v7+Xh3q4iSwA//+qVf+CWUI/P7+ePSIAfwB//39VqlV/f/9cSEF4WFRmM5k/X38AAAD7l0sGBAf7yEv8pFcSJVcLGkcbM2v6iDwWK2P3tzTnaCzydzQKFTX5i0PyqCn801b3BAgWFRf72Gn/AAD86Y3TWinplxj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4WbWAVzkddjpDs/MAYDw2e5qSmxG/ZD2bV3CBPBCxbZlgEBXE+ZRyQScnpOlkpRGuFasxC7ZycZHpazrozDJw3czXhXq2nvHv+pi9zQPABRmtZ8uxDZ16aEpj9LbG58HmURJXHQE2of5bFAXlaqWHe9qhgkwHd108PRFI2gW9Sk+R3iBqRnTCV+Hlxm++25RE+NZ+sbm9gJOX415TKLpAGPN6wmybdfTOjzuO9jVpZcGTH/DZ2MtNtcT04NNKoUz133t9w2LwQiN180EwN2bjh79EBaqXavPDh+8p7l9cYK/bqS2aZD7WwLga6xrLgJiTRI/nnZelek6KhowqDQQv5sYA3zoIo2w/0ebze+7N85lWEf1odW/JQBMmtuDXTra3HHY9rqy3Cbhdv6LAcA9AgGbTp5Z3i/m1bf2Tf8FAIA1/WjIJlZv8+8+2IgiaEsD86bho38L7m89unHjSdPf9tlI7akzsdDBhqc7/xmB11jvbmokSAAAAABJRU5ErkJggg==';
export const RUNNER_FRAME = 128;
```

### File: `tests/game.test.mjs`

```javascript
import test from 'node:test';
import assert from 'node:assert/strict';
import {RULES,newGame,addPlayer,startRound,setInput,tick,publicState,winners} from '../server/game.js';
const make=()=>{const g=newGame(0);addPlayer(g,'a','Ada','secret-a');addPlayer(g,'b','Ben','secret-b');return g;};
test('needs two connected players and rejects starts during a round',()=>{const g=newGame();addPlayer(g,'a','Ada','secret');assert.throws(()=>startRound(g),/friend/);addPlayer(g,'b','Ben','secret-b');startRound(g,1000);assert.throws(()=>startRound(g,1001),/running/);assert.equal(g.coins.length,RULES.coins);});
test('only four slots; tokens never enter public room snapshots',()=>{const g=make();addPlayer(g,'c','Cat','secret-c');addPlayer(g,'d','Dan','secret-d');assert.throws(()=>addPlayer(g,'e','Eve','secret-e'),/full/);assert(!JSON.stringify(publicState(g,'ABC234')).includes('secret'));});
test('countdown cannot move players or collect coins',()=>{const g=make();startRound(g,1000);const p=g.players[0],x=p.x;setInput(p,1,0);tick(g,2000);assert.equal(p.x,x);assert.equal(p.score,0);assert.equal(g.phase,'countdown');});
test('normalizes diagonal and malicious oversized movement, rejects NaN and strings',()=>{const g=make(),p=g.players[0];assert(setInput(p,1000000,1000000));assert(Math.abs(Math.hypot(p.dx,p.dy)-1)<1e-9);assert.equal(setInput(p,NaN,1),false);assert.equal(setInput(p,'1',0),false);assert.equal(setInput(p,Infinity,0),false);});
test('speed capped and players cannot leave arena',()=>{const g=make();startRound(g,0);const p=g.players[0];setInput(p,-1,-1);for(let n=3000;n<10000;n+=50)tick(g,n);assert(p.x>=RULES.radius&&p.y>=RULES.radius);});
test('a coin has exactly one winner, score cannot be supplied by a client',()=>{const g=make();startRound(g,0);g.players[0].x=400;g.players[0].y=260;g.players[1].x=400;g.players[1].y=260;g.coins=[{id:'shared',x:400,y:260}];tick(g,3050);assert.equal(g.players.reduce((sum,p)=>sum+p.score,0),1);assert.equal(g.coins.length,RULES.coins);});
test('round ends using server deadline, supports ties and fresh rematches',()=>{const g=make();startRound(g,0);g.players[0].score=2;g.players[1].score=2;tick(g,g.endAt);assert.equal(g.phase,'finished');assert.deepEqual(winners(g),['a','b']);startRound(g,50000);assert.equal(g.round,2);assert(g.players.every(p=>p.score===0));assert.equal(g.phase,'countdown');});
test('disconnected player cannot move or collect; rematch removes disconnected players',()=>{const g=make();startRound(g,0);const p=g.players[0];p.connected=false;setInput(p,1,0);const x=p.x;g.coins=[{id:'coin',x:p.x,y:p.y}];tick(g,3050);assert.equal(p.x,x);assert.equal(p.score,0);tick(g,g.endAt);assert.throws(()=>startRound(g),/friend/);});
test('lost input stops the player instead of letting it drift forever',()=>{const g=make();startRound(g,0);const p=g.players[0];setInput(p,1,0,3000);tick(g,3050);const x=p.x;tick(g,4000);assert.equal(p.x,x);});
```

### File: `tests/prediction.test.mjs`

```javascript
import test from 'node:test';import assert from 'node:assert/strict';
import {Prediction} from '../client/prediction.js';
test('local input moves immediately without any server response',()=>{const p=new Prediction();p.reset({x:80,y:80});const next=p.update(1,0,1/60);assert(next.x>83);assert.equal(next.y,80);});
test('acknowledged inputs are removed; only outstanding inputs are replayed',()=>{const p=new Prediction();p.record(1,1,0,.05);p.record(2,1,0,.05);p.reconcile({x:89.5,y:80,ackSeq:1},100);assert.equal(p.pending.length,1);assert.equal(p.position.x,99);p.reconcile({x:99,y:80,ackSeq:2},200);assert.equal(p.pending.length,0);assert.equal(p.position.x,99);});
test('prediction uses server speed and boundary rules, including diagonal movement',()=>{const p=new Prediction();p.reset({x:780,y:500});for(let i=0;i<60;i++)p.update(1,1,1/60);assert(p.position.x<=784&&p.position.y<=504);});
test('small server corrections are smoothed instead of instant snaps',()=>{const p=new Prediction();p.reset({x:100,y:80});p.reconcile({x:95,y:80,ackSeq:0},100);const next=p.update(0,0,1/60);assert(next.x>95&&next.x<100);for(let i=0;i<60;i++)p.update(0,0,1/60);assert(Math.abs(p.position.x+p.correction.x-95)<.01);});
test('rejoining resets old prediction and pending input history',()=>{const p=new Prediction();p.reset({x:80,y:80});p.record(20,1,0,.05);p.update(1,0,.05);p.reset({x:100,y:100});assert.equal(p.pending.length,0);assert.deepEqual(p.position,{x:100,y:100});});
```

### SHA-256 file manifest

```json
{
  "package.json": "a5cca5fb0ce9fa5efebf55de151a261e52b2db7226b3f1af356473509caf37f4",
  "package-lock.json": "e1850947b8ef5988ca2f46707128ee688954722243a4d64c840a012c7d8104f9",
  "wrangler.jsonc": "71381571f4c9260e21a421babe45e3e32eb7a4e73ac8a265f5389eee54eee508",
  ".gitignore": "fdeac8f8d0cd769c729c49a7415adacf4d5a6d2022c0563a472dfb3511019251",
  "index.html": "7cd726b2f0f2d8090fe0ca847c23a38ad2015f15e540bcf4b01752011ca3606c",
  "server/game.js": "8a864cf3ca6345240b19440d5def97bcc5f5478030ebeaff9ceb3857c6efcf11",
  "server/worker.js": "b1f11ed282c4834cbe07f3f39b89f899eac44cf886a1f5086f457e3c6056ab5d",
  "client/main.js": "a129e312ffc4d9b5c9faa11c69aba4a01b8e02a3933db2f6a80b3c0ace12bf79",
  "client/style.css": "f559822bd6ff53eb793c41ab293ae9620ce302bc26d3f24a743d165e4814f6d1",
  "client/prediction.js": "506be751290982923260f3ee13a70339f723a21bfc6b4648935b1d3dee75e23a",
  "client/runner-assets.js": "6acdb59921208b77be4efd99c6313dc0928057fd82267064ed0eb0710be6019c",
  "tests/game.test.mjs": "c53931501a74dccafacd71ddf8c008d14a9ab6e767baa90f29dd7597e1066533",
  "tests/prediction.test.mjs": "c11e6a2c298b9905b4accb9d9f8f3706a9b9ee220bb49a4d73043d61c04cbfaf"
}
```

</details>
