Skip to content

Open-source music player for YouTube Music's catalog, with genres, full albums and playlists. Windows, macOS, Linux, Android, iPhone and Docker. No account needed.

TypeScript

feat: Musike, player de música do YouTube sem anúncios (web, PWA e desktop)

Ernanic1dbb888163a
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..36d1d15
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,20 @@
+# Dependencies and builds
+node_modules/
+dist/
+dev-dist/
+desktop/dist/
+desktop/release/
+
+# Local data (library, HD video cache)
+server/data/
+server/cache/
+
+# Third-party agent skills, restorable from skills-lock.json (npx skills)
+.claude/
+.agents/
+
+# Misc
+*.log
+.env
+.DS_Store
+Thumbs.db
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..678b77c
--- /dev/null
+++ b/README.md
@@ -0,0 +1,344 @@
+<div align="center">
+
+<img src="desktop/build/icon.png" width="96" alt="Logo do Musike: três barras de equalizador formando um M" />
+
+# Musike
+
+**Sua música, sem interrupção.**
+
+Player pessoal que toca qualquer música ou clipe do YouTube, como **áudio** ou **vídeo**, sem anúncios.
+Funciona no navegador, no celular (PWA) e como **app de computador** com instalador.
+
+![Licença MIT](https://img.shields.io/badge/licen%C3%A7a-MIT-c3ec52?style=flat-square&labelColor=121318)
+![Windows](https://img.shields.io/badge/desktop-Windows-c3ec52?style=flat-square&labelColor=121318)
+![Web e PWA](https://img.shields.io/badge/web-PWA-c3ec52?style=flat-square&labelColor=121318)
+![TypeScript](https://img.shields.io/badge/TypeScript-100%25-c3ec52?style=flat-square&labelColor=121318)
+
+<img src="docs/screenshots/desktop-app.png" alt="App desktop do Musike tocando um clipe no painel lateral" width="900" />
+
+</div>
+
+---
+
+## Sumário
+
+- [O que é](#o-que-é)
+- [Recursos](#recursos)
+- [Capturas de tela](#capturas-de-tela)
+- [Como funciona](#como-funciona)
+- [Instalação](#instalação)
+- [Levar sua biblioteca para outra instância (backup)](#levar-sua-biblioteca-para-outra-instância-backup)
+- [Atalhos de teclado](#atalhos-de-teclado)
+- [Configuração](#configuração)
+- [API](#api)
+- [Estrutura do projeto](#estrutura-do-projeto)
+- [Solução de problemas](#solução-de-problemas)
+- [Roadmap](#roadmap)
+- [Aviso legal](#aviso-legal)
+- [Licença](#licença)
+
+## O que é
+
+O Musike nasceu da ideia dos antigos bots de música do Discord: um servidor que busca o áudio direto do YouTube e o entrega pronto para tocar. Em vez de um chat, a interface é um player completo, rápido e simples, com cara de app moderno e um toque gamer.
+
+- **Sem anúncios e sem conta:** o servidor obtém o stream original com o [yt-dlp](https://github.com/yt-dlp/yt-dlp) e repassa os bytes ao player.
+- **Música ou clipe:** troque entre Áudio e Vídeo a qualquer momento, do mesmo ponto da faixa. Para músicas, o Musike encontra o clipe oficial do artista.
+- **Em qualquer tela:** layout pensado para celulares de todos os tamanhos, tablets, notebooks e monitores grandes.
+- **Seu, de verdade:** roda no seu computador. Playlists e favoritas ficam num arquivo local que você pode exportar e levar para qualquer outra instância.
+
+## Recursos
+
+**Ouvir**
+- Busca no YouTube Music com abas **Músicas** e **Vídeos** e sugestões enquanto você digita
+- Cole um **link do YouTube** na busca para tocar direto
+- Fila com tocar a seguir, aleatório e repetir (fila ou faixa)
+- **Rádio automático:** quando a fila acaba, continua com músicas parecidas
+- Avanço e retrocesso instantâneos (streaming com HTTP Range) e próxima faixa pré-carregada
+
+**Vídeo**
+- Modo Vídeo no painel lateral, na tela cheia do celular ou num mini player flutuante
+- **Clipe oficial** encontrado automaticamente para faixas da aba Músicas (só aceita o canal do próprio artista)
+- **Modo cinema:** maximize o clipe (botão, duplo clique ou tecla `F`), com controles que somem enquanto você assiste e tela cheia de verdade
+- Qualidade SD (começa rápido) ou HD 720p (com cache local)
+
+**Biblioteca**
+- Playlists, Favoritas e histórico de tocadas recentemente
+- **Backup em arquivo** para levar tudo a outra instância: juntar ou substituir, com prévia antes de importar
+
+**Interface**
+- Tema escuro e claro, layout responsivo do celular de 320 px ao monitor ultrawide
+- Controles na tela de bloqueio, fones e teclas de mídia (Media Session)
+- Retoma a fila e a posição de onde você parou
+- Instalável como app no celular (PWA) e atalhos de teclado no computador
+
+**App desktop (Windows)**
+- Janela nativa com barra de título própria, sem navegador
+- Instalador que cria o atalho na área de trabalho
+- Baixa e mantém sozinho as ferramentas de que precisa (yt-dlp, Deno, FFmpeg)
+
+**Manutenção**
+- Tela **Ajustes** mostra a versão do yt-dlp, avisa quando há atualização e atualiza com um clique (canal Estável ou Nightly)
+- Erros de reprodução oferecem o botão "Atualizar" direto no aviso
+
+## Capturas de tela
+
+<table>
+ <tr>
+ <td align="center"><img src="docs/screenshots/mobile-busca.png" width="260" alt="Busca no celular com mini player" /><br /><sub>Busca e mini player no celular</sub></td>
+ <td align="center"><img src="docs/screenshots/mobile-tocando.png" width="260" alt="Tela Tocando agora no celular" /><br /><sub>Tocando agora</sub></td>
+ </tr>
+</table>
+
+<table>
+ <tr>
+ <td align="center"><img src="docs/screenshots/modo-cinema.png" width="440" alt="Modo cinema com o clipe maximizado" /><br /><sub>Modo cinema</sub></td>
+ <td align="center"><img src="docs/screenshots/backup.png" width="440" alt="Importação de backup com prévia" /><br /><sub>Importar backup com prévia</sub></td>
+ </tr>
+ <tr>
+ <td align="center" colspan="2"><img src="docs/screenshots/atualizar-yt-dlp.png" width="440" alt="Ajustes com atualização do yt-dlp disponível" /><br /><sub>Atualização do yt-dlp em um clique</sub></td>
+ </tr>
+</table>
+
+## Como funciona
+
+```mermaid
+flowchart LR
+ subgraph Clientes
+ W["Web / PWA<br/>React + Vite"]
+ D["App desktop<br/>Electron"]
+ end
+ subgraph S["Servidor Musike (Fastify)"]
+ API["API REST"]
+ P["Proxy de stream<br/>HTTP Range"]
+ L[("library.json")]
+ end
+ YTM["YouTube Music<br/>youtubei.js"]
+ T["yt-dlp + Deno + FFmpeg"]
+ YT[("YouTube / googlevideo")]
+
+ W --> API
+ D -- "servidor embutido" --> API
+ API -- "busca, sugestões, rádio, clipes" --> YTM
+ API -- "resolve streams, junta HD" --> T
+ T --> YT
+ P --> YT
+ API --> L
+```
+
+1. **Busca:** o servidor consulta o YouTube Music com o [youtubei.js](https://github.com/LuanRT/YouTube.js) (busca, sugestões, rádio e escolha do clipe oficial).
+2. **Reprodução:** o yt-dlp resolve as URLs do stream (áudio AAC, vídeo MP4). Essas URLs ficam presas ao IP de quem as resolveu, então o servidor faz o **proxy** dos bytes, repassando o cabeçalho `Range` para que o avanço seja instantâneo.
+3. **Vídeo HD e clipes sem versão SD:** o yt-dlp baixa e junta vídeo + áudio com FFmpeg, guarda em cache (LRU, 2 GB por padrão) e o servidor entrega o arquivo com suporte a Range.
+4. **Biblioteca:** playlists, favoritas e histórico ficam em `library.json`, gravado de forma atômica.
+5. **Web:** um único elemento `<video>` é movido no DOM entre painel, tela cheia, mini player e modo cinema sem interromper a reprodução.
+
+## Instalação
+
+### Opção 1: app de computador (Windows)
+
+Gere o instalador (ou baixe-o na página de Releases, se publicado):
+
+```powershell
+pnpm install
+pnpm installer # cria desktop\release\Musike-Setup-<versão>.exe
+```
+
+O instalador:
+
+- instala só para o usuário atual (não pede administrador) e deixa escolher a pasta;
+- cria o atalho **Musike** na área de trabalho e no Menu Iniciar e abre o app ao terminar;
+- desinstala pelo Windows em Configurações > Aplicativos.
+
+Na primeira abertura, uma tela mostra o download das ferramentas oficiais: **yt-dlp** e **Deno** (cerca de 60 MB) e, em segundo plano, **FFmpeg** (cerca de 80 MB, para vídeo HD). Tudo fica em `%APPDATA%\Musike`:
+
+| Pasta | Conteúdo |
+|---|---|
+| `bin` | yt-dlp, Deno e FFmpeg do próprio Musike (atualizáveis em Ajustes) |
+| `data` | `library.json` com playlists, favoritas e histórico |
+| `cache` | vídeos HD já baixados |
+
+> O instalador não é assinado digitalmente. Na primeira execução o Windows mostra "O Windows protegeu o computador": clique em **Mais informações** e depois **Executar assim mesmo**.
+
+### Opção 2: servidor + navegador (computador e celular)
+
+Requisitos:
+
+| Ferramenta | Versão | Windows |
+|---|---|---|
+| Node.js | 22.19+ | `winget install OpenJS.NodeJS.LTS` |
+| pnpm | 10+ | `npm install -g pnpm` |
+| yt-dlp | recente | `winget install yt-dlp.yt-dlp` (instala Deno e FFmpeg junto) |
+
+```powershell
+pnpm install
+pnpm build # compila a interface
+pnpm start # http://localhost:4180
+```
+
+O servidor mostra os endereços de rede ao iniciar. Abra o endereço `Rede:` no celular conectado ao mesmo Wi-Fi (permita o Node no firewall em redes privadas). O servidor encontra o yt-dlp mesmo em terminais abertos antes da instalação, lendo o PATH do registro do Windows.
+
+**Fora de casa:** instale o [Tailscale](https://tailscale.com) no computador e no celular. Para instalar como app (PWA) no celular, o navegador exige HTTPS: rode `tailscale serve --bg 4180` e use o endereço `https://...ts.net`.
+
+> Não hospede em VPS ou nuvem: o YouTube bloqueia IPs de datacenter ("Sign in to confirm you're not a bot"). Rodar no seu computador usa seu IP residencial.
+
+### Desenvolvimento
+
+```powershell
+pnpm dev # servidor (4180) + Vite com recarga automática (5173)
+pnpm desktop # abre o app Electron em modo de desenvolvimento
+pnpm typecheck # checa os três pacotes
+```
+
+## Levar sua biblioteca para outra instância (backup)
+
+Enquanto a sincronização em nuvem não existe, o Musike exporta tudo num arquivo que **qualquer instância** lê: web, desktop, outro computador.
+
+1. Na instância de origem, abra **Ajustes > Seus dados > Exportar** (ou o ícone de banco de dados na Biblioteca). Um arquivo `musike-backup-AAAA-MM-DD.musike.json` é salvo.
+2. Na instância de destino, **Ajustes > Seus dados > Importar** e escolha o arquivo.
+3. Confira a prévia (quantas playlists, faixas, favoritas) e escolha:
+ - **Juntar com a minha biblioteca** (padrão): adiciona o que falta e nunca apaga. Playlists com o mesmo nome ganham as faixas novas; importar duas vezes não duplica nada.
+ - **Substituir tudo:** deixa a biblioteca exatamente como no backup (pede confirmação).
+4. Opcionalmente, aplica também o tema e as preferências do player.
+
+O arquivo é JSON legível e versionado:
+
+```json
+{
+ "format": "musike-backup",
+ "version": 1,
+ "exportedAt": "2026-10-12T22:33:00.000Z",
+ "app": "Musike 0.1.0",
+ "library": {
+ "favorites": [{ "id": "UpvruBhcH38", "title": "Oceano", "artist": "Djavan", "duration": 297, "thumb": "https://...", "art": "https://...", "kind": "song" }],
+ "playlists": [{ "id": "…", "name": "Foco", "createdAt": 1791842422955, "updatedAt": 1791842422955, "tracks": [] }],
+ "history": []
+ },
+ "settings": { "theme": "dark", "preferVideo": false, "quality": "sd", "autoRadio": true, "volume": 0.9 }
+}
+```
+
+Na importação o servidor valida cada faixa (ID do YouTube, tamanhos, só imagens `https://`), descarta entradas inválidas em vez de recusar o arquivo inteiro e recusa backups de versões mais novas com uma mensagem clara.
+
+## Atalhos de teclado
+
+| Tecla | Ação |
+|---|---|
+| `Espaço` | Tocar / pausar |
+| `←` `→` | Voltar / avançar 5 s |
+| `Shift` + `←` `→` | Faixa anterior / próxima |
+| `↑` `↓` | Volume |
+| `M` | Mudo |
+| `L` | Favoritar a faixa atual |
+| `S` | Ordem aleatória |
+| `R` | Repetir (desligado, fila, faixa) |
+| `V` | Alternar Áudio / Vídeo |
+| `F` | Modo cinema |
+| `Q` | Fila |
+| `/` | Buscar |
+| `?` | Lista de atalhos |
+
+## Configuração
+
+Variáveis de ambiente do servidor (todas opcionais):
+
+| Variável | Padrão | Uso |
+|---|---|---|
+| `PORT` | `4180` | Porta HTTP |
+| `HOST` | `0.0.0.0` | Use `127.0.0.1` para aceitar só este computador |
+| `YTDLP_PATH` | automático | Força um executável específico do yt-dlp |
+| `YTDLP_EXTRA_ARGS` | | Flags extras, ex.: `--cookies-from-browser firefox` |
+| `MUSIKE_DATA_DIR` | `server/data` | Onde fica `library.json` |
+| `MUSIKE_CACHE_DIR` | `server/cache` | Vídeos HD baixados |
+| `MUSIKE_CACHE_MAX_MB` | `2048` | Limite do cache de vídeo (apaga os menos tocados) |
+| `MUSIKE_BIN_DIR` | | Pasta privada de ferramentas (o app desktop usa `%APPDATA%\Musike\bin`) |
+| `MUSIKE_LANG` / `MUSIKE_LOCATION` | `pt` / `BR` | Idioma e região da busca |
+
+## API
+
+Todas as rotas respondem JSON. Erros vêm como `{ "error": "mensagem", "code"?: "tool_missing" | "maybe_outdated" | "bot_check" }`.
+
+| Método | Rota | Descrição |
+|---|---|---|
+| `GET` | `/api/search?q=&type=song\|video` | Busca no YouTube Music |
+| `GET` | `/api/suggest?q=` | Sugestões de busca |
+| `GET` | `/api/radio/:id` | Faixas relacionadas (rádio) |
+| `GET` | `/api/video-for/:id?title=&artist=&duration=` | Clipe oficial de uma música |
+| `POST` | `/api/prepare/:id` | Resolve o stream antes de tocar |
+| `GET` | `/api/stream/:id/audio` | Áudio com HTTP Range |
+| `GET` | `/api/stream/:id/video?q=sd\|hd` | Vídeo com HTTP Range |
+| `GET` | `/api/library` | Biblioteca completa |
+| `PUT` / `DELETE` | `/api/favorites/:id` | Favoritar / desfavoritar |
+| `POST` | `/api/history` | Registra uma faixa tocada |
+| `POST` | `/api/playlists` | Cria playlist |
+| `PATCH` / `DELETE` | `/api/playlists/:pid` | Renomeia / exclui |
+| `POST` / `DELETE` | `/api/playlists/:pid/tracks[/:id]` | Adiciona / remove faixa |
+| `POST` | `/api/library/import` | Importa backup (`{ backup, mode: "merge" \| "replace" }`) |
+| `GET` | `/api/system` | Versões do yt-dlp, Deno, FFmpeg e downloads |
+| `POST` | `/api/system/ytdlp` | Atualiza ou instala o yt-dlp (`{ channel: "stable" \| "nightly" }`) |
+
+## Estrutura do projeto
+
+```
+musike/
+├─ server/ Fastify + yt-dlp + youtubei.js
+│ └─ src/
+│ ├─ app.ts rotas e inicialização (usado pelo CLI e pelo desktop)
+│ ├─ ytdlp.ts resolução de streams, cache HD, tradução de erros
+│ ├─ stream.ts proxy com HTTP Range
+│ ├─ search.ts busca, sugestões, rádio e escolha do clipe oficial
+│ ├─ library.ts playlists, favoritas, histórico e import de backup
+│ ├─ tools.ts localiza yt-dlp, Deno, FFmpeg (registro do Windows, winget)
+│ ├─ bootstrap.ts baixa as ferramentas para o app desktop
+│ └─ system.ts versão e atualização do yt-dlp
+├─ web/ React 19 + Vite + Tailwind v4 + Motion + Phosphor (PWA)
+│ └─ src/
+│ ├─ player/ motor de reprodução (áudio, vídeo, fila, Media Session)
+│ ├─ components/ player, painéis, modo cinema, Ajustes, backup
+│ ├─ views/ Início, Buscar, Biblioteca, playlists
+│ └─ stores/ estado (zustand)
+├─ desktop/ Electron: janela, servidor embutido, instalador NSIS
+└─ docs/ benchmark de UX, design system e capturas de tela
+```
+
+**Stack:** TypeScript em tudo · Fastify 5 · youtubei.js · yt-dlp · React 19 · Vite 8 · Tailwind CSS 4 · Motion · Zustand · React Router · Phosphor Icons · Geist · Electron 44 · electron-builder.
+
+**Design:** a identidade (marca de equalizador em M, cor Volt, Geist) e as regras de layout estão em [docs/design-system.md](docs/design-system.md). O estudo de UX que guiou o layout está em [docs/ux-benchmark.md](docs/ux-benchmark.md): observação do web player do Spotify, sem descompilar código.
+
+## Solução de problemas
+
+**Parou de tocar ou "O YouTube recusou o stream"**
+O YouTube muda com frequência e o yt-dlp acompanha. Abra **Ajustes** e toque em **Atualizar**. Se a correção ainda não chegou ao canal Estável, escolha **Nightly**.
+
+**"O YouTube pediu verificação anti-bot"**
+Passe cookies de um navegador logado (o Firefox funciona melhor no Windows):
+
+```powershell
+$env:YTDLP_EXTRA_ARGS = "--cookies-from-browser firefox"; pnpm start
+```
+
+**"yt-dlp não encontrado"**
+No app desktop, use **Instalar** em Ajustes. No servidor, instale com `winget install yt-dlp.yt-dlp` ou defina `YTDLP_PATH`.
+
+**O vídeo demora para começar**
+Muitos vídeos não têm versão SD combinada; o servidor baixa e junta vídeo e áudio antes de tocar (alguns segundos na primeira vez, instantâneo depois, pelo cache).
+
+**"Esta música não tem clipe no YouTube"**
+O Musike só aceita clipes publicados pelo canal do próprio artista, para não tocar covers ou versões erradas. A música continua tocando em áudio.
+
+**iPhone**
+O iOS limita a reprodução em segundo plano de PWAs; o modo Áudio funciona melhor que o Vídeo.
+
+## Roadmap
+
+- [ ] Sincronização da biblioteca em nuvem (hoje: [backup em arquivo](#levar-sua-biblioteca-para-outra-instância-backup))
+- [ ] Baixar faixas em MP3 / MP4
+- [ ] Importar playlists do YouTube por link
+- [ ] Instaladores para macOS e Linux
+- [ ] Atualização automática do app desktop
+
+## Aviso legal
+
+O Musike é um projeto para **uso pessoal e educacional**. Reproduzir conteúdo do YouTube sem anúncios por extração de stream viola os [Termos de Serviço do YouTube](https://www.youtube.com/t/terms); serviços públicos que fizeram isso, como os bots Groovy e Rythm, foram encerrados após notificação do Google. Não publique o Musike como serviço, não o monetize e respeite os direitos dos artistas. O projeto não hospeda, distribui nem armazena conteúdo do YouTube além do cache local temporário de quem o executa.
+
+## Licença
+
+[MIT](LICENSE) © 2026 Ernani Neto
diff --git a/desktop/build/icon.ico b/desktop/build/icon.ico
new file mode 100644
index 0000000..a0a0e35
Binary files /dev/null and b/desktop/build/icon.ico differ
diff --git a/desktop/build/icon.png b/desktop/build/icon.png
new file mode 100644
index 0000000..99683a1
Binary files /dev/null and b/desktop/build/icon.png differ
diff --git a/desktop/package.json b/desktop/package.json
new file mode 100644
index 0000000..bc89c15
--- /dev/null
+++ b/desktop/package.json
@@ -0,0 +1,71 @@
+{
+ "name": "musike-desktop",
+ "productName": "Musike",
+ "version": "0.1.0",
+ "description": "Sua música, sem interrupção.",
+ "author": "Musike",
+ "private": true,
+ "main": "dist/main.mjs",
+ "scripts": {
+ "bundle": "node scripts/bundle.mjs",
+ "start": "pnpm --filter @musike/web build && node scripts/bundle.mjs && electron .",
+ "dist": "pnpm --filter @musike/web build && node scripts/bundle.mjs && electron-builder --win nsis --publish never",
+ "typecheck": "tsc --noEmit"
+ },
+ "build": {
+ "appId": "app.musike.desktop",
+ "productName": "Musike",
+ "copyright": "Musike",
+ "directories": {
+ "output": "release",
+ "buildResources": "build"
+ },
+ "files": [
+ "dist/**",
+ "package.json"
+ ],
+ "extraResources": [
+ {
+ "from": "../web/dist",
+ "to": "web"
+ }
+ ],
+ "asar": true,
+ "npmRebuild": false,
+ "win": {
+ "target": [
+ {
+ "target": "nsis",
+ "arch": [
+ "x64"
+ ]
+ }
+ ],
+ "icon": "build/icon.ico",
+ "artifactName": "Musike-Setup-${version}.${ext}"
+ },
+ "nsis": {
+ "oneClick": false,
+ "perMachine": false,
+ "allowToChangeInstallationDirectory": true,
+ "createDesktopShortcut": "always",
+ "createStartMenuShortcut": true,
+ "shortcutName": "Musike",
+ "runAfterFinish": true,
+ "installerIcon": "build/icon.ico",
+ "uninstallerIcon": "build/icon.ico",
+ "installerLanguages": [
+ "pt_BR"
+ ],
+ "language": "1046",
+ "deleteAppDataOnUninstall": false
+ }
+ },
+ "devDependencies": {
+ "@types/node": "^22.20.5",
+ "electron": "44.7.0",
+ "electron-builder": "26.15.3",
+ "esbuild": "0.28.2",
+ "typescript": "^7.0.2"
+ }
+}
diff --git a/desktop/scripts/bundle.mjs b/desktop/scripts/bundle.mjs
new file mode 100644
index 0000000..2c4eb68
--- /dev/null
+++ b/desktop/scripts/bundle.mjs
@@ -0,0 +1,40 @@
+// Bundles the Electron main process (with the whole Musike server inside) and the preload script.
+// The packaged app then needs no node_modules at all.
+import { copyFileSync, mkdirSync } from "node:fs";
+import path from "node:path";
+import { fileURLToPath } from "node:url";
+import { build } from "esbuild";
+
+const root = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..");
+const out = path.join(root, "dist");
+mkdirSync(out, { recursive: true });
+
+await build({
+ entryPoints: [path.join(root, "src", "main.mts")],
+ outfile: path.join(out, "main.mjs"),
+ bundle: true,
+ platform: "node",
+ format: "esm",
+ target: "node22",
+ external: ["electron"],
+ // Some bundled CommonJS dependencies call require() for Node built-ins.
+ banner: { js: "import { createRequire as __cr } from 'node:module'; const require = __cr(import.meta.url);" },
+ sourcemap: false,
+ minify: false,
+ logLevel: "warning",
+});
+
+await build({
+ entryPoints: [path.join(root, "src", "preload.ts")],
+ outfile: path.join(out, "preload.cjs"),
+ bundle: true,
+ platform: "node",
+ format: "cjs",
+ target: "node22",
+ external: ["electron"],
+ logLevel: "warning",
+});
+
+copyFileSync(path.join(root, "src", "splash.html"), path.join(out, "splash.html"));
+copyFileSync(path.join(root, "build", "icon.png"), path.join(out, "icon.png"));
+console.log("desktop bundle ok");
diff --git a/desktop/src/main.mts b/desktop/src/main.mts
new file mode 100644
index 0000000..fc8e80a
--- /dev/null
+++ b/desktop/src/main.mts
@@ -0,0 +1,185 @@
+import { readFileSync, writeFileSync } from "node:fs";
+import path from "node:path";
+import { fileURLToPath } from "node:url";
+import { app, BrowserWindow, ipcMain, Menu, screen, shell } from "electron";
+import type { RunningServer } from "../../server/src/app.js";
+
+// No top-level await in this file: Electron only fires "ready" after the entry module finishes
+// evaluating, so awaiting it at the top level would hang forever.
+
+const here = path.dirname(fileURLToPath(import.meta.url));
+const PORT = 4280; // fixed so the web origin (and its saved settings) stays the same between launches
+
+if (!app.requestSingleInstanceLock()) {
+ app.quit();
+ process.exit(0);
+}
+
+// Everything the user owns lives in their profile, so updates and reinstalls keep it.
+const userData = app.getPath("userData");
+process.env.MUSIKE_DATA_DIR = path.join(userData, "data");
+process.env.MUSIKE_CACHE_DIR = path.join(userData, "cache");
+process.env.MUSIKE_BIN_DIR = path.join(userData, "bin");
+process.env.MUSIKE_WEB_DIST = app.isPackaged ? path.join(process.resourcesPath, "web") : path.resolve(here, "..", "..", "web", "dist");
+
+// The server reads its config when first imported, so load it only after the env above is set.
+const loadServer = async () => ({
+ ...(await import("../../server/src/app.js")),
+ ...(await import("../../server/src/bootstrap.js")),
+ ...(await import("../../server/src/tools.js")),
+});
+
+const THEME = {
+ dark: { color: "#0B0C0F", symbolColor: "#ECEEF2" },
+ light: { color: "#E9EBEF", symbolColor: "#12141A" },
+};
+const TITLEBAR_HEIGHT = 40;
+
+interface WindowState {
+ width: number;
+ height: number;
+ x?: number;
+ y?: number;
+ maximized?: boolean;
+}
+
+const stateFile = path.join(userData, "window.json");
+
+function readWindowState(): WindowState {
+ try {
+ const s = JSON.parse(readFileSync(stateFile, "utf8")) as WindowState;
+ // Ignore a position that is no longer on any screen (monitor unplugged).
+ const onScreen = screen
+ .getAllDisplays()
+ .some(({ workArea: a }) => s.x !== undefined && s.y !== undefined && s.x >= a.x - 50 && s.y >= a.y - 50 && s.x < a.x + a.width && s.y < a.y + a.height);
+ return onScreen ? s : { width: s.width, height: s.height, maximized: s.maximized };
+ } catch {
+ return { width: 1280, height: 820 };
+ }
+}
+
+function saveWindowState(win: BrowserWindow) {
+ try {
+ writeFileSync(stateFile, JSON.stringify({ ...win.getNormalBounds(), maximized: win.isMaximized() }));
+ } catch {
+ /* not critical */
+ }
+}
+
+function createSplash(): BrowserWindow {
+ const splash = new BrowserWindow({
+ width: 420,
+ height: 300,
+ frame: false,
+ resizable: false,
+ center: true,
+ show: false,
+ icon: path.join(here, "icon.png"),
+ backgroundColor: THEME.dark.color,
+ webPreferences: { preload: path.join(here, "preload.cjs"), sandbox: true, contextIsolation: true },
+ });
+ void splash.loadFile(path.join(here, "splash.html"));
+ splash.once("ready-to-show", () => splash.show());
+ return splash;
+}
+
+function createMainWindow(url: string): BrowserWindow {
+ const state = readWindowState();
+ const win = new BrowserWindow({
+ ...state,
+ minWidth: 380,
+ minHeight: 560,
+ show: false,
+ title: "Musike",
+ icon: path.join(here, "icon.png"),
+ backgroundColor: THEME.dark.color,
+ // Our own title bar (drawn by the web app) with native window buttons on top.
+ titleBarStyle: "hidden",
+ titleBarOverlay: { ...THEME.dark, height: TITLEBAR_HEIGHT },
+ webPreferences: {
+ preload: path.join(here, "preload.cjs"),
+ contextIsolation: true,
+ sandbox: true,
+ spellcheck: false,
+ autoplayPolicy: "no-user-gesture-required",
+ },
+ });
+
+ win.once("ready-to-show", () => {
+ if (state.maximized) win.maximize();
+ win.show();
+ });
+ win.on("close", () => saveWindowState(win));
+
+ // Links to YouTube etc. open in the user's browser, never inside the app.
+ win.webContents.setWindowOpenHandler(({ url: target }) => {
+ if (/^https?:\/\//.test(target)) void shell.openExternal(target);
+ return { action: "deny" };
+ });
+ win.webContents.on("will-navigate", (event, target) => {
+ if (!target.startsWith(url)) {
+ event.preventDefault();
+ if (/^https?:\/\//.test(target)) void shell.openExternal(target);
+ }
+ });
+
+ void win.loadURL(url);
+ return win;
+}
+
+let mainWindow: BrowserWindow | null = null;
+let server: RunningServer | null = null;
+
+async function launch() {
+ const splash = createSplash();
+ const s = await loadServer();
+ // Show progress while yt-dlp and Deno download on the first launch.
+ const report = setInterval(() => {
+ splash.webContents.executeJavaScript(`window.update(${JSON.stringify(s.downloads())})`).catch(() => {});
+ }, 250);
+
+ try {
+ await s.refreshTools();
+ await s.ensureEssentials();
+ server ??= await s.startServer({ port: PORT, host: "127.0.0.1", portFallback: true });
+ // FFmpeg is only needed for HD and some videos: fetch it in the background.
+ s.ensureComponent("ffmpeg").catch(() => {});
+ } catch (err) {
+ clearInterval(report);
+ const message = JSON.stringify((err as Error).message);
+ await splash.webContents.executeJavaScript(`window.fail(${message})`).catch(() => {});
+ return;
+ }
+
+ clearInterval(report);
+ mainWindow = createMainWindow(`http://127.0.0.1:${server.port}`);
+ mainWindow.once("ready-to-show", () => splash.destroy());
+}
+
+ipcMain.on("musike:theme", (event, theme: "dark" | "light") => {
+ const win = BrowserWindow.fromWebContents(event.sender);
+ const colors = THEME[theme] ?? THEME.dark;
+ win?.setTitleBarOverlay({ ...colors, height: TITLEBAR_HEIGHT });
+ win?.setBackgroundColor(colors.color);
+});
+
+ipcMain.on("musike:retry", (event) => {
+ const failed = BrowserWindow.fromWebContents(event.sender);
+ // Open the new splash before closing the old one, or "window-all-closed" would quit the app.
+ void launch();
+ failed?.destroy();
+});
+
+app.on("second-instance", () => {
+ if (!mainWindow) return;
+ if (mainWindow.isMinimized()) mainWindow.restore();
+ mainWindow.focus();
+});
+
+app.on("window-all-closed", () => app.quit());
+app.on("before-quit", () => void server?.close());
+
+void app.whenReady().then(() => {
+ Menu.setApplicationMenu(null);
+ return launch();
+});
diff --git a/desktop/src/preload.ts b/desktop/src/preload.ts
new file mode 100644
index 0000000..88f74e6
--- /dev/null
+++ b/desktop/src/preload.ts
@@ -0,0 +1,8 @@
+import { contextBridge, ipcRenderer } from "electron";
+
+// The only bridge between the web app and the desktop shell.
+contextBridge.exposeInMainWorld("musikeDesktop", {
+ platform: process.platform,
+ setTheme: (theme: "dark" | "light") => ipcRenderer.send("musike:theme", theme),
+ retry: () => ipcRenderer.send("musike:retry"),
+});
diff --git a/desktop/src/splash.html b/desktop/src/splash.html
new file mode 100644
index 0000000..38e9baa
--- /dev/null
+++ b/desktop/src/splash.html
@@ -0,0 +1,158 @@
+<!doctype html>
+<html lang="pt-BR">
+ <head>
+ <meta charset="UTF-8" />
+ <meta http-equiv="Content-Security-Policy" content="default-src 'self'; style-src 'unsafe-inline'; script-src 'unsafe-inline'" />
+ <title>Musike</title>
+ <style>
+ :root {
+ --bg: #0b0c0f;
+ --surface: #181a20;
+ --line: rgb(255 255 255 / 0.08);
+ --fg: #eceef2;
+ --fg-2: #9ba1ad;
+ --accent: #c3ec52;
+ --danger: #ff7a6b;
+ }
+ * {
+ box-sizing: border-box;
+ }
+ html,
+ body {
+ margin: 0;
+ height: 100%;
+ background: var(--bg);
+ color: var(--fg);
+ font: 14px/1.4 "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
+ -webkit-app-region: drag;
+ user-select: none;
+ }
+ main {
+ height: 100%;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ gap: 18px;
+ padding: 32px;
+ border: 1px solid var(--line);
+ border-radius: 12px;
+ }
+ .brand {
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ font-size: 20px;
+ font-weight: 600;
+ letter-spacing: -0.02em;
+ }
+ .brand svg {
+ width: 34px;
+ height: 34px;
+ }
+ @keyframes eq {
+ 0%, 100% { transform: scaleY(0.35); }
+ 50% { transform: scaleY(1); }
+ }
+ .brand rect {
+ transform-box: fill-box;
+ transform-origin: top;
+ animation: eq 1s cubic-bezier(0.16, 1, 0.3, 1) infinite;
+ }
+ .brand rect:nth-child(2) { animation-delay: -0.35s; }
+ .brand rect:nth-child(3) { animation-delay: -0.6s; }
+ #status {
+ color: var(--fg-2);
+ min-height: 20px;
+ }
+ .rows {
+ display: grid;
+ gap: 10px;
+ }
+ .row span {
+ display: flex;
+ justify-content: space-between;
+ font-size: 12px;
+ color: var(--fg-2);
+ margin-bottom: 5px;
+ font-variant-numeric: tabular-nums;
+ }
+ .bar {
+ height: 4px;
+ border-radius: 99px;
+ background: var(--surface);
+ overflow: hidden;
+ }
+ .bar i {
+ display: block;
+ height: 100%;
+ width: 0;
+ background: var(--accent);
+ border-radius: 99px;
+ transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
+ }
+ .error {
+ color: var(--danger);
+ }
+ button {
+ -webkit-app-region: no-drag;
+ align-self: flex-start;
+ height: 40px;
+ padding: 0 20px;
+ border: 0;
+ border-radius: 99px;
+ background: var(--accent);
+ color: var(--bg);
+ font: inherit;
+ font-weight: 600;
+ cursor: pointer;
+ }
+ @media (prefers-reduced-motion: reduce) {
+ .brand rect { animation: none; }
+ }
+ </style>
+ </head>
+ <body>
+ <main>
+ <div class="brand">
+ <svg viewBox="10 10 28 28" aria-hidden="true">
+ <g fill="#C3EC52">
+ <rect x="10" y="10" width="8" height="28" rx="4" />
+ <rect x="20" y="10" width="8" height="16" rx="4" />
+ <rect x="30" y="10" width="8" height="28" rx="4" />
+ </g>
+ </svg>
+ musike
+ </div>
+ <div id="status">Iniciando</div>
+ <div class="rows" id="rows"></div>
+ </main>
+ <script>
+ const names = { "yt-dlp": "yt-dlp (busca no YouTube)", deno: "Deno (desafios do YouTube)", ffmpeg: "FFmpeg (vídeo HD)" };
+ const mb = (n) => (n / 1048576).toFixed(1);
+
+ window.update = (state) => {
+ const essentials = Object.entries(state).filter(([k]) => k !== "ffmpeg");
+ if (!essentials.length) return;
+ document.getElementById("status").textContent = "Baixando componentes na primeira execução";
+ document.getElementById("rows").innerHTML = essentials
+ .map(([key, s]) => {
+ const pct = s.total ? Math.round((s.received / s.total) * 100) : 0;
+ const label = s.status === "done" ? "pronto" : s.status === "extracting" ? "extraindo" : s.total ? `${mb(s.received)} de ${mb(s.total)} MB` : `${mb(s.received)} MB`;
+ const width = s.status === "done" || s.status === "extracting" ? 100 : pct;
+ return `<div class="row"><span><b>${names[key] ?? key}</b><em>${label}</em></span><div class="bar"><i style="width:${width}%"></i></div></div>`;
+ })
+ .join("");
+ };
+
+ window.fail = (message) => {
+ const status = document.getElementById("status");
+ status.className = "error";
+ status.textContent = "Não foi possível iniciar: " + message;
+ const retry = document.createElement("button");
+ retry.textContent = "Tentar de novo";
+ retry.onclick = () => window.musikeDesktop.retry();
+ document.querySelector("main").appendChild(retry);
+ };
+ </script>
+ </body>
+</html>
diff --git a/desktop/tsconfig.json b/desktop/tsconfig.json
new file mode 100644
index 0000000..f22d044
--- /dev/null
+++ b/desktop/tsconfig.json
@@ -0,0 +1,12 @@
+{
+ "compilerOptions": {
+ "target": "ES2023",
+ "module": "NodeNext",
+ "moduleResolution": "NodeNext",
+ "strict": true,
+ "skipLibCheck": true,
+ "noEmit": true,
+ "types": ["node"]
+ },
+ "include": ["src"]
+}
diff --git a/docs/design-system.md b/docs/design-system.md
new file mode 100644
index 0000000..41dd7d3
--- /dev/null
+++ b/docs/design-system.md
@@ -0,0 +1,68 @@
+# Musike: Design System
+
+## Design read
+
+App de player de música pessoal para uso diário em celular e desktop, linguagem escura, simples e levemente gamer (atalhos de teclado, números em mono, indicadores vivos), apoiado em Tailwind v4 + Motion + Phosphor Icons.
+
+Dials (`design-taste-frontend`): `DESIGN_VARIANCE 4` (app, previsível para o polegar) · `MOTION_INTENSITY 5` (feedback e transições de estado, nada decorativo) · `VISUAL_DENSITY 5` (listas de faixas precisam de densidade de app).
+
+## Marca (estratégia `brandkit`)
+
+- **Categoria:** player pessoal, cultural/gamer-adjacent.
+- **Promessa:** sua música, sem interrupção.
+- **Metáfora:** o equalizador. Três barras (alta, baixa, alta) formam um **M** com a silhueta de um medidor de áudio.
+- **Sistema:** a marca e o indicador "tocando agora" são o mesmo objeto. O logo parado é a marca. As barras animadas na faixa ativa são a marca viva.
+- **Tagline:** "Sem interrupção."
+
+## Cor
+
+Uma única cor de acento, **Volt**, sobre grafite frio. Distante do blurple do Discord, do verde do Spotify e do vermelho do YouTube.
+
+| Token | Dark (padrão) | Light |
+|---|---|---|
+| `--bg` | `#0B0C0F` | `#F3F4F6` |
+| `--surface-1` | `#121318` | `#FFFFFF` |
+| `--surface-2` | `#181A20` | `#EEF0F3` |
+| `--surface-3` | `#20232B` | `#E3E6EB` |
+| `--line` | `rgb(255 255 255 / .07)` | `rgb(15 18 25 / .08)` |
+| `--text` | `#ECEEF2` | `#12141A` |
+| `--text-2` | `#9BA1AD` | `#555B67` |
+| `--text-3` | `#6B717D` | `#7D8390` |
+| `--accent` | `#C3EC52` (Volt) | `#C3EC52` |
+| `--accent-ink` | `#0B0C0F` (texto sobre Volt) | `#0B0C0F` |
+| `--accent-text` | `#C3EC52` | `#4A6300` (contraste AA em fundo claro) |
+
+## Tipografia
+
+- **Geist Variable:** UI e títulos (títulos com `tracking-tight`, peso 600-700).
+- **Geist Mono Variable:** tempos, contadores, atalhos (`tabular-nums`). É o toque "gamer".
+- Sem Inter, sem serif.
+
+## Forma (regra única)
+
+- Controles interativos (botões, chips, inputs, play): **pill / círculo**.
+- Capas e tiles: **10 px** (lista) e **14 px** (cards e rail).
+- Painéis e ilhas (player bar, painel lateral, sheet): **20 px**.
+
+## Profundidade
+
+- Superfícies se separam por tom (`surface-1/2/3`), não por sombra.
+- Ilhas flutuantes (player bar, sheet) usam borda dupla: casca `surface-1` com hairline + núcleo `surface-2` com highlight interno `inset 0 1px 0 rgb(255 255 255 / .06)`.
+- Sem glow neon. Estado ativo = anel interno Volt.
+- `backdrop-blur` só em elementos fixos (player bar, tab bar, header).
+
+## Movimento
+
+- Curva padrão: `cubic-bezier(0.16, 1, 0.3, 1)`, 200-320 ms.
+- Sheet Tocando agora: spring (`stiffness 380, damping 36`), arrastar para fechar.
+- Feedback de toque: `active:scale-[0.97]`.
+- Equalizador animado só na faixa que está tocando.
+- `prefers-reduced-motion`: tudo vira instantâneo, equalizador estático.
+
+## Layout responsivo
+
+| Faixa | Estrutura |
+|---|---|
+| < 768 px | Header compacto · conteúdo · mini player · tab bar inferior (safe-area) · Tocando agora em tela cheia |
+| 768-1279 px | Rail de ícones (72 px) · conteúdo · player bar flutuante · fila como gaveta sobreposta |
+| ≥ 1280 px | Rail expandido com rótulos (240 px) · conteúdo · painel direito fixo (Fila / Tocando agora + vídeo) · player bar |
diff --git a/docs/screenshots/atualizar-yt-dlp.png b/docs/screenshots/atualizar-yt-dlp.png
new file mode 100644
index 0000000..198581d
Binary files /dev/null and b/docs/screenshots/atualizar-yt-dlp.png differ
diff --git a/docs/screenshots/backup.png b/docs/screenshots/backup.png
new file mode 100644
index 0000000..6d2e32e
Binary files /dev/null and b/docs/screenshots/backup.png differ
diff --git a/docs/screenshots/desktop-app.png b/docs/screenshots/desktop-app.png
new file mode 100644
index 0000000..9897d25
Binary files /dev/null and b/docs/screenshots/desktop-app.png differ
diff --git a/docs/screenshots/mobile-busca.png b/docs/screenshots/mobile-busca.png
new file mode 100644
index 0000000..4ad72ba
Binary files /dev/null and b/docs/screenshots/mobile-busca.png differ
diff --git a/docs/screenshots/mobile-tocando.png b/docs/screenshots/mobile-tocando.png
new file mode 100644
index 0000000..5918e40
Binary files /dev/null and b/docs/screenshots/mobile-tocando.png differ
diff --git a/docs/screenshots/modo-cinema.png b/docs/screenshots/modo-cinema.png
new file mode 100644
index 0000000..3212fa3
Binary files /dev/null and b/docs/screenshots/modo-cinema.png differ
diff --git a/docs/ux-benchmark.md b/docs/ux-benchmark.md
new file mode 100644
index 0000000..41c2d51
--- /dev/null
+++ b/docs/ux-benchmark.md
@@ -0,0 +1,41 @@
+# Benchmark de UX: Spotify Web Player
+
+Observação passiva do web player público (`open.spotify.com`, deslogado, 12/10/2026) com o REA (`inspect_web_page`, árvore de acessibilidade) e screenshots via CDP em 1440×900 e 390×844. Nenhum código do Spotify foi descompilado ou copiado. O objetivo é entender padrões de interação e decidir o que adotar, adaptar ou evitar no Musike.
+
+## Anatomia observada (desktop)
+
+| Região (landmark) | Conteúdo |
+|---|---|
+| `navigation "Principal"` | Topo: logo, botão Início, combobox de busca "O que você quer ouvir?" com atalho para "Navegar" |
+| Barra lateral | "Sua Biblioteca" com botão "Criar playlist"; largura ajustável (`slider "Redimensionar navegação principal"`) |
+| `main` | Fileiras horizontais (`region`): "Músicas em alta", "Artistas populares", "Paradas", cada uma com "Mostrar tudo" |
+| `complementary "Barra Tocando agora"` | Shuffle, Voltar, Play/Pause, Avançar, Repeat (checkbox de 3 estados), slider de progresso, Mudo + slider de volume, "Mostrar a tela Tocando agora" |
+| Painel direito | Tela "Tocando agora" e fila, alternável |
+
+Cada card tem um botão "Tocar X" separado do card em si: clicar no card navega, e o botão play flutuante toca direto.
+
+## Mobile web
+
+Em 390 px o Spotify não oferece um player utilizável: mostra "Abrir o app", um banner de Premium que ocupa metade da tela e um banner de cookies que cobre o resto. **Essa é a maior oportunidade do Musike:** uma experiência mobile web completa.
+
+## Decisões para o Musike
+
+**Adotar**
+- Três zonas fixas no desktop: navegação à esquerda, conteúdo no centro, player embaixo. Painel direito alternável para Fila e Tocando agora (vídeo aparece aqui).
+- Separar "abrir" de "tocar": clique na linha toca, ações secundárias em botões dedicados.
+- Repeat com 3 estados (off, todos, um) e shuffle na barra.
+- Busca sempre a um toque (atalho `/` no desktop, aba no mobile).
+
+**Adaptar**
+- Barra lateral vira **rail estreito** (identidade gamer): ícones de seção e playlists como tiles quadrados arredondados. Expande com rótulos em telas ≥1280 px.
+- Fileiras horizontais só na Home. Busca e playlists usam lista vertical densa (mais rápida de escanear no celular).
+- Player bar desktop flutuante (ilha com bordas duplas), não colada na borda.
+
+**Mobile (padrão de apps nativos, que o web do Spotify não entrega)**
+- Tab bar inferior (Início, Buscar, Biblioteca) respeitando `safe-area-inset-bottom`.
+- Mini player acima da tab bar. Toque abre a tela Tocando agora em tela cheia; arrastar para baixo fecha.
+- Alvos de toque ≥ 44 px, sem hover-only.
+
+**Evitar**
+- Banners de upsell, pop-ups de cookie, qualquer interrupção. Zero anúncios é a proposta do produto.
+- Excesso de fileiras promocionais. A Home mostra o que é seu: recentes, favoritos, playlists.
diff --git a/package.json b/package.json
new file mode 100644
index 0000000..88c9051
--- /dev/null
+++ b/package.json
@@ -0,0 +1,15 @@
+{
+ "name": "musike",
+ "private": true,
+ "version": "0.1.0",
+ "type": "module",
+ "scripts": {
+ "dev": "pnpm --parallel --filter ./server --filter ./web dev",
+ "build": "pnpm --filter ./web build",
+ "start": "pnpm --filter ./server start",
+ "desktop": "pnpm --filter musike-desktop start",
+ "installer": "pnpm --filter musike-desktop dist",
+ "typecheck": "pnpm -r typecheck"
+ },
+ "packageManager": "[email protected]"
+}
\ No newline at end of file
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
new file mode 100644
index 0000000..9af696f
--- /dev/null
+++ b/pnpm-lock.yaml
@@ -0,0 +1,7135 @@
+lockfileVersion: '9.0'
+
+settings:
+ autoInstallPeers: true
+ excludeLinksFromLockfile: false
+
+importers:
+
+ .: {}
+
+ desktop:
+ devDependencies:
+ '@types/node':
+ specifier: ^22.20.5
+ version: 22.20.5
+ electron:
+ specifier: 44.7.0
+ version: 44.7.0
+ electron-builder:
+ specifier: 26.15.3
+ version: 26.15.3([email protected])
+ esbuild:
+ specifier: 0.28.2
+ version: 0.28.2
+ typescript:
+ specifier: ^7.0.2
+ version: 7.0.2
+
+ server:
+ dependencies:
+ '@fastify/static':
+ specifier: 10.1.6
+ version: 10.1.6
+ fastify:
+ specifier: 5.12.5
+ version: 5.12.5
+ youtubei.js:
+ specifier: 18.1.0
+ version: 18.1.0
+ devDependencies:
+ '@types/node':
+ specifier: ^22.20.5
+ version: 22.20.5
+ tsx:
+ specifier: 4.23.15
+ version: 4.23.15
+ typescript:
+ specifier: ^7.0.2
+ version: 7.0.2
+
+ web:
+ dependencies:
+ '@fontsource-variable/geist':
+ specifier: 5.3.0
+ version: 5.3.0
+ '@fontsource-variable/geist-mono':
+ specifier: 5.3.0
+ version: 5.3.0
+ '@phosphor-icons/react':
+ specifier: 2.1.10
+ motion:
+ specifier: 14.1.0
+ react:
+ specifier: 19.3.0
+ version: 19.3.0
+ react-dom:
+ specifier: 19.3.0
+ version: 19.3.0([email protected])
+ react-router:
+ specifier: 8.4.0
+ zustand:
+ specifier: 5.0.15
+ version: 5.0.15(@types/[email protected])([email protected])
+ devDependencies:
+ '@tailwindcss/vite':
+ specifier: 4.3.3
+ '@types/react':
+ specifier: ^19.3.0
+ version: 19.3.0
+ '@types/react-dom':
+ specifier: ^19.3.0
+ version: 19.3.0(@types/[email protected])
+ '@vitejs/plugin-react':
+ specifier: ^6.1.2
+ tailwindcss:
+ specifier: 4.3.3
+ version: 4.3.3
+ typescript:
+ specifier: ^7.0.2
+ version: 7.0.2
+ vite:
+ specifier: 8.3.4
+ vite-plugin-pwa:
+ specifier: 2.0.0
+ workbox-window:
+ specifier: ^7.4.1
+ version: 7.4.1
+
+packages:
+
+ '@apideck/[email protected]':
+ resolution: {integrity: sha512-TajUJwGWbDwkCx/CZi7tRE8PVB7simCvKJfHUsSdvps+aTM/PDPP4gkLmKnc+x3CE//y9i/nj74GqdL/hwk7Iw==}
+ engines: {node: '>=10'}
+ peerDependencies:
+ ajv: '>=8'
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-locTkQyKvwIEgBzVrn8693ebc97F2U8ZHjbXwDXJ5Fn2TCpNwTlKcaKLkdHop5c/icOFE7qt7Q9JC5hnKNa6Gg==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-RgHBCvtjbOK2gXSNBNIkNoEc9qoVEtau3hj8gEqKQuL3HZAibKarWFEI3Lfm6EYKkLalOh8eSrj9b+ch9H/VBA==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-gZbepsdh3WDtgZKWL+vTPh71LSBrm/Y4/QDZBVCcYfmeTEEuoOYwlSy+G1StfJg+/Zy550u/3TATbm7qDbbMtg==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-OoK6239jHPuSQOoS0kfTVKn0b/rVTk0seKq4Gd2UMLtmOVLjDC0ki3e+c90Trqv2gMfvJFqkiljrr568+qddiw==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-wem6WaBj4NaVYVdNhLPPVacES6ZJ+KBBfSkTMD3YZxbP3rm3Di85tJU5ljaUNhaOynt+Aj0xruhYuzQBt8n71g==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-IY3ZD9Tmooqr3TUhc3DUWxiuo8xx1DWLhd5M7hQ+ZWJamqM2BbalrBJb2MisSLoYorOj75U03qULCxQTY9r3hg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-/YY9soQuWa8TURtHXHT+GbklpbAA+dZErxFGHIr6qgDg96xuGWrTAs1+MfjgVJPF0YLQsOVsOYs8lhgsPbOinQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-47UwBLPpQi1NoWzLuHNjRoHlYXMwIJoBf7MFou6viC/sIHWYygpvr0B6IAyh5sBdA2nr2LPIRww8lfaUVQINBA==}
+ peerDependencies:
+ '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-j+7JYmk1JYDtACIGj0QJqqWZjoUpMoEikQGADMaHgCMCSDqd2+P32rfcibUNrGOMWrlzK1WJBdxrB3JJQZwWtg==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-ejHwrQQYcm9xnTivShn2IDOlIzInN34AXskvq9QicvCtEzq1Vzclu/tKF8Jq1Cg8JG2GL6/EmjgsCT7lXepE3g==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-UPUVSyXbOh627KiCIGQSgwWzGeBKLkaJ9PJEdrngIwMSzxLR4jS4+f1f1jb7VzBbg8nFLaYotvVPFCTqdrmTAg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-+kmGVjcT9RGYzoDwdwEqEvGgKe3BYq+O1iGzjFubaNgZHwYHP6lsF2Yghf4kEuv9BV7tYDZ913aBW9am6YKong==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-G7sHYigPY17oO5SYWnfD/0MTBwVR781S/JI643e/JhUYgVgWE/61SoW3NH9KWUKyKq5LVh3npif99Wkt6j86Jw==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-16AMiW26DbXWBbr3B8wNozKM0ydMLB892vaOaJW/fPJdnT8vJk5sdkQcU/isqUxyCE0cEoa8wZOcbgDuC4b6Og==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-atfGXWSeCiF4DnKZIfmJfQRkSw9b9gNNXR1kqKjbhG4pGYCOnkp8OcTB8E3NXjBu8NpheSnOeNKz8KT7UNFTmQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-brcMGQaVzIeUb+6/bs1Av0f8YuNNjKY2JyvfRCsFuFsdKccEQ5Ges2y74D74NZ1Rz8lKJ9ksJkfqwQFJ/iNEyQ==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-N9ZErrD+yW5geCDtBqnOoxmR8+tNKiGuxKlDpuJxfsqpa2dFcexaziGAE/qoHLiDDreVNMupxGmSoNlyvsA3gw==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-iES0Skag9ERIF68aXadpO6dbXa03mNWK3sEqJaMnLNs/eC3l0lkImdfoy6Y09/SfkpawdAB4RjQ7PVA7TcVGdw==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-EMCx3AGZ3WfAl6ht7AyQoPm2Lh+BGYEMdc4Q6Hf7uSCDOZFuLq44qNwL+iaim8VlyYhRAo4X43+weadK8ZB4Yg==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-CjXrNHTnvqBVqHgdBysY3vk2T8tpJHb5/RMeHJBTyVa9xgugCB0CJTx/3oO8RV2QRQP391RWpB7D6hLjm8V9uA==}
+ engines: {node: '>=6.0.0'}
+ hasBin: true
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-j8SrR0zLZrRsC09DlszEx8FpMiwukKffYXMK0d5LmOglO7vGG6sz/BR/20yHqWH+Lnn31JTt2PE3hIWNgM2J6w==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-r8j8escF+U2FUHo0KOhPUdMzUO+jp9fInva6+ACVAF3Y97Ev+5iNZwiqTghmzNeWwDkOPlYuTcfb1vDaoZKmAQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.29.7':
+ resolution: {integrity: sha512-GE1TFSiuFeGsCxmYXZl8HwoPrVlwe4rHPFE8weieGKZqnDORK+Ar3vgWMgW+AOxQ6/2TgLSKx9p6W7O4rC6qgQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-oBNVCvnO5tND+xSopWvV8WNGfpTfgP4Zr/YXXSj8zfmcPktp5Ku/aZlsIowgSD4fjmgHn6sGmB9APVsU5zOdhA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-QQt9qKHZ2sg/kivaLr7lnQr8HVrQDdBNSfCsTjiDxRuX/K5ORyKq+Bu8Xr0cDE3Dfkv0cw28Ve0EKyKMvulkOw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.13.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-pn6QacGLgvCcwc+syUhKE/qSjV2D1IHDB84RNxWYSt1mW3K/SCtjinZ2p0cETJxAWBjPy3K/1lHwG5BjjPxNlw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2':
+ resolution: {integrity: sha512-SOSkfJDddaM7mak6cPEpswyTRnuRltl429hMraQEglW+OkovnCzsiszTmsrlY//qLFjCpQDFRvjdm2wA5pPm9w==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-/An1OCBN93thpBAGyfsK2pcf0jvju1SAtKkL2Ny++B5Sy6sqgzXDQH1cZxWbF96Wuk+bn41MDA9bLd4VVAw6rw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-zGYcYfq/WmZ4V+kBIXQon9dSSc8ircGZqw9ZaNhhGj9nZkeBu1jHLBDQqYYi5WA9uawvA2sIMbry2nCFhf5Djg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-727YkEAPwSIQTv5im8QHz3upqp92JTWhidIC81Tdx4VJYIte/VndKf1qKrfnnhPLiPghStWfvC/iFaMCQu7Nqg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-N7zArUXWzAMzm+/N0uPBeVB3Fam5lMxtUwMmDK5f/IBBS7a7p1qeUoxd/6CckXoxUdgsntq1Dh8xNW06maZbDQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-d98gXZkgswvkyohMBABkhm3GeXhYj8psWfwQ2C7gtfrKGTykQa/iOIi+JJhwMjPlZ6Vm2XN+DCf3Es1EoG4ZLA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-pcUb2SS+RMo9TWVBwKGI5ShtoG7R+zBsFmCKDa6fe8c+hPr3XJlZgoE5j6i8W7gDjhyvy+85vmYexanvXh3d1w==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-cUSmjh72N+rN4PrkFlN1dJwNCwjVp5d38/CQrEsFggkD10UiFlBFgdH3tv5dNsLuHY+3S8db2xCHjhZcv5WgvA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-ONyr4+AZhKh8yKWInVxU9AXA9EbsyeLcL6V0dJy6M2/62vuvpGm29zzuymbTpdc451GEpDIdAyPLP3r+P61yKQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-GtcpjFvanPfzNQi3eTitsCqtRRmmqzpy/A+yhTR1HaZo1Ly3EA8ZXxlPyHdR8/IuRMYc3E4wdGBewB2QKQjAaA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-kibJgmEdX2iMwsHY2tSZNDgj8PwIlCQz7FK9KuGKO8zsuoUwSEhoNnNVp/emKWrbY4HeO6kkXfdMqRKKKXBm2A==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.12.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-qV0OGGBVacduzQHE649JyCneOFI/maT+YKsO+K4Yi3xv2wTPNjM/W2o2gdzMwEAZz7fXNTHAe0NcSg30bIN69g==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-RK7/IyU5phpuCdBAuig5VkzG/EnbDaui5SQGdU9BFrHdV+mV4cUjLMQ9lJDjLNtWHsqtiefpGZUXQP2BiTYMsA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-iPX8aD6H9zV5s7ZsqTdNocPN/MGQ5sSMnElKrktxjJRMnB2jN/1p2+R7GkfD6CAYoVFqy5A4XnSIUeGgJzIWpg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-3qc18hsD2RdZiyJNDNc7HQpv6xbncwh8FYtxNFFzclSyh/trPD9KkVR9BDECUjDLvb7yJVF15GfYUuC+LMkkiQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-6IvRRriEMqnBwD6chtxdLpMYCHWEzN+oL5cyQtjykya19UgzbmKhxmhZgKC/LHxS2nYr9Q/qYPZ5Lr6jOL9+yQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-2wiIyo2BjtgU7HufSeDnL9L2O7zr8jmhFKuSr65VpRkUiRKRNpb0mdlk56+XPPKoIrfHqzbMuglDvZun0RISsA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-giOlEm/EFjfjr+te9NsdjkUo2v4f8rS/SXPumRVHAtbNcyNlvtREkU1dZzaIDclNpnaVhlCqRdFKhJBjBikzLg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-Rstj7coNz8sE+7Ju7ihpHLI564lsK5pUpNNlvptCIC/16E/S5hbl6n3kESPKdNRmqEWlpn5xpS5Q2dvXBsySLw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-zFpMOTLZBdW5LfObqcSbL6kefg4R4eLdmvS0wbN9M6D5Mym/sKm9toOoWyVOa+xDjvCnuWcHls2YonXwHvH3CQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-24B2nOy2TeJSMheqwPD4DDQOV/elLSIlKxjZt4i05H5AgdPdWR3n18HnNrcJ+j76WJd9gbwb9jPjNYUy6RautA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-zeSIHh0+E1Um1WJRXCFlHQYu2ieJNdivLLjlBEp+dIBu3S51n+SZZmIXjxnItw6pz56Cn+KvK68BIBVsxq2JiQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-otRWaHXE6fbAGkePvaj/kvs3HsqXfPhlnzwSOlnFgbqCPMd975dW+4wZ00WFBt+/YlBGcJwNrARQTOJOb4ZrIg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-RRnE2+eon1rJAq8MnoF1b5kTpY1vU88twHcvcKMrsqP/jxIRqDVs9iJB5fqPuqyeFAW0wJo4MlUIPpQCq/aRsg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-DZ/oLP21ZuWx1vKqnoNv6/tvEK48AQOBRai40CX9dTjGluvT/YZCyY3rryDtyUqCEoyNroy5KKPwX2iQCiRvyw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-A0H91hh6W8MFRkp5TqJmMr39jzGD1A1E1Ysiv2O06Sfbhkapm+XyIzxWCEh5kqwOZ1/8QZ0dY3SeQ7XBqfJd5Q==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-hl1kwFZCCiDyfH25Xmco9jTrkPgnS9pmOzSG7W5I4SaGbLeqKv417hcU2RKmaxoPEgsoJh7ZPOrnPGq99bHoUg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-fxtQoH3m5ywUSIfaH0FGCzWu4McsYon5bD3K4XnskC7f+OyQMj7rsOMi4NvvmJ83WwBAg4UCe+ov4VZlqEvyew==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-j0vCldybPC5b5dwCQOJ21uKtHzt7hxLygJTg9eF1ScfaikEDNfzn94XoW5Fi+seBR0nCyL23xaBFFkq7dTM8XQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-6iSnEK0zlkLKU4heofK/AdmRD4e2SHVpJMtrwnTCzhnaM98ria4rTrOXBBi45BTTYnJtO8txnPsX4fChYXkmeA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-B4UkaTK3QpgCwJnrxKfMPKdo92CN7OKXAlpAAnM3UPu0Q0lCCk57ylA9AJbRy2v8dDKOPAAWcoR6CMyeoHwRCA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-vuFoLwr4qnv2xbZ16SQd6uPcH5FNrLHhk/Jzo++0XJFcaDsr4gjJVg6j398oMHiC+83k/GiBzviwF5KBJkPUtQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-fEo41GmsOUhOBlw8ioo6zvjX5Xc2Lqkzlyfqbpsk3eB6TReV18uhxZ0esfEokVbY2+PVJAQHNKxER6lGrzNd3A==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-idmp1dFaekP9GbcMvG24Kvw2BfhFZjHnNJCkV4WuIY4PskJzwI3f1N5OdgYke38T7rftO6ERulFRn2cFeZwRkg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-zR7fv/z14OjgHl4AgRtkDBvBMhIzCxqV/qN/2BCRC7LjFwvuzjYe7gDWxC4Wl/SNsLM6SE1IWvRPYMgSJaUvNw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-Ld98jn4c0smUywL57m7SgsHq3OpThOa6LqZJif3G6jYOovPleoFhVrBJ1WegRApSFB2wu4+RelAj9AC9G08Z4A==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-Ea/diGcw0twB5IlZPO5sgET6fJsLJqPABqTuFWIR+iMPGPZJkATEIWx0wa+aEQ5UY1CBQyP/gkAiLEqn1vBiQA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-sLsyndxK2VwX6yNUOakMb7Sh553ZTe/vVM1XJ+9Z5aW1ytsc8xOIwmyk05NNjN60vkc5/KqoTH6hB4V41LJhng==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-6GM1dhvK3gNODkXcEcMCOLEDCLSoZ/sBbro2Ax8HURyasQ4NshagQixkRFdh5niI6E4gmA/jYI/4aT7rRos3ZQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-ZDOBqV/qLYJI0YElr8DcENEyARsFQeESqWXH6gZlghYXuPPjvweuDhP4VyEi4BlUBlLRFZVjxoZDMjxhLW766g==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-/6Rz4DK1ETDEM/bWHsPHcaEe7ZaT1EqSXjtSP/L0DijOYuaUhiRiOKcwpZ8P7zR4xXEHc2ITdiCgBm9Tpyv9ug==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-+BNo06dnrzdNNqCm1X6YUaVv0DKk8Q+JYcoZfOkLhYWNCXzlwTSRq8zGWayT1csjcpNXV9CQTBRRbmTLZac5cA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-bOMRLQuI0A5ZqHq3OWJ89/rXpJ/NJrbVhXiP4zwPGMs6kpcVsuTUNjwoE30K0Qm3mf48a/TnRYYD6vPNqcg6jA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-0UpIXPtdDtMXfnV2OJAVMLpj3H/92vmkA6lpSRakmycJvj3VUy6Xs1dM8tXRugupykr5WB+LpiVl0J8LMVg2mg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-mB5Fs0VWrJ42ZCmc8114v60qetdaUVNkj9PmSZRmanCZM3S9hm0CFRLjRmYIsuXav14l2jvZ+4T8iiCGnhj3nQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-5+YhdpVgmfSmwZyLMftfaiffLRMHjzIRHFHHLdibcSyJm2pasMrKHrO3Ptrt2DRshjvpgjEJJ1zVW14WPq/6QA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-I+WYbGBAiCn7nA6xBrlgPH+MB7HWb4u8pv5S0Pv7OtwNvIFvCCb24YlttKEeUFVurfBCEaOTnuhlqsb7f0Z5Dg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-4S9ksMGVWUshvgK0mKfvZky7leuG5/uoFVwMpAomJ8bMoDJiNHRVmc1EglwW/CmGVSqqWpEbXm9FmbRit22qoA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-BCHzNYJGe9l7EpwwDBN/ztlL2NYFFq8hp9ddjtUEM9f2O7S7kKV/lL6Fwo7IF7NSkYhPK2vO+86nIGltA90MsA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-NCSEJ4sLFU2gqAub45HYh4fus2yQ36rr6ei6vpU7NdoJqCpxvEG8E6eJpscGyXP3VHD2Ny+fSXr04k1hoUrFqA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-223mNGoTkBiTEWFoK+Q6Go3tueMRclO8vxxxxquNCYuNI4jWOofFKJRRDu6SDrB8Sgo1UEGW9T4GAQ8ZyRso1A==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-jCfXxSjf94lf4E0hKE0AByxF6F3/pVFqRdUUNkDJhsY0m1ZKjnN6ZYyMeHNpzflxb/0q5b7t3p+BE+SLF1WOtA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-OgZ+zoAJgZLUCunsTRQ5LAjOywDv5zzZ2/hQ5aMw1pGXyY2rtE8/chXYUmu3AlVHKpm10KEdG9aMwbI/K76ZGw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-7D/x/23/d/3VqZ0QA+LGbZMlGwZjztBygSWWWsfTPoQ1oQ6Q1P6Mr3d0kk42XabyUVw+fha3LqdRsFqeKqvCyA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-BLOhLht9DOJwIxlmp91wHvkXv1lguuHS3/FwUO8HL1H0u8s4hR1gASVFyilu9iGtcTRYqjTZmlsFFeQletntEg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-GYzX36n1nsciIb0uyH0GHwxwtNwPQIcpxSeiVLDtG/B7jB5xXgchnmL1f/jCX5o+pwnaDBtO60ONSJhEBJfxYA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-HrcgcIESLm9aIR842yhJ5RWan/gebQUJ6E/E5+rf0y9o6oj7w0Br+sWuL6kEQ/o/AdfvR1Je9jG18/gnpwjEyA==}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0 || ^8.0.0-0 <8.0.0
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-NpugTzbKgGrNe45Ui32cN8vCFFMxVtP/9rtfwv0nP5FRDAjvYBxJcLVpYA9mr1jxP6cnIT7x9LUzuDTbWYYNRA==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-B3lYAs2nkKskbgQ1nfy8Ma9ao9Q1rntTAQHrzzyDuj+TSO+X3le6PfWwqDvodsb+OumE10eMFfuMCTQSQ5iuIQ==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==}
+ engines: {node: '>=6.9.0'}
+
+ '@bufbuild/[email protected]':
+ resolution: {integrity: sha512-FWa0sPlqYGJgpTs6OxBRcL/AW4JT0OIO+W1ajerluoTVh8CV0B7XM1qsNCRgnkSCkRCgOICKHRQlY17jrsm0+Q==}
+
+ '@electron-internal/[email protected]':
+ resolution: {integrity: sha512-+bqFCP98pLI0Tt0XQo1TmlXtwjWchISndDOxCkEcIuUgXWpBnLyRI+2DU+mesvnMMX6L1XDqYNA0lXNDHd/yiA==}
+ engines: {node: '>=22.12.0'}
+
+ '@electron/[email protected]':
+ resolution: {integrity: sha512-i4/rNPRS84t0vSRa2HorerGRXWyF4vThfHesw0dmcWHp+cspK743UanA0suA5Q5y8kzY2y6YKrvbIUn69BCAiA==}
+ engines: {node: '>=10.12.0'}
+ hasBin: true
+
+ '@electron/[email protected]':
+ resolution: {integrity: sha512-zx0EIq78WlY/lBb1uXlziZmDZI4ubcCXIMJ4uGjXzZW0nS19TjSPeXPAjzzTmKQlJUZm0SbmZhPKP7tuQ1SsEw==}
+ hasBin: true
+
+ '@electron/[email protected]':
+ resolution: {integrity: sha512-F+nKc0xW+kVbBRhFzaMgPy3KwmuNTYX1fx6+FxxoSnNgwYX6LD7AKBTWkU0MQ6IBoe7dz069CNkR673sPAgkCQ==}
+ engines: {node: '>=14'}
+
+ '@electron/[email protected]':
+ resolution: {integrity: sha512-3kSBtG8ObcTVfXanm5vVJ6UnBLEVmVsRk1M+vGqCuMBV+XLCbJYuWQful+yIy0GQDsSlK0kHEriEHn7SPk4EnA==}
+ engines: {node: '>=22.12.0'}
+
+ '@electron/[email protected]':
+ resolution: {integrity: sha512-jNT8nwH1f9X5GEITXaQ8IF/KdskvIkOFfB2CvwumsveVidzpSc+mvhhTMdAGSYF3O+Nq49lJ7y+ssODRXu06+A==}
+ engines: {node: '>= 10.0.0'}
+
+ '@electron/[email protected]':
+ resolution: {integrity: sha512-KZ8mhXvWv2rIEgMbWZ4y33bDHyUKMXnx4M0sTyPNK/vcB81ImdeY9Ggdqy0SWbMDgmbqyQ+phgejh6V3R2QuSg==}
+ engines: {node: '>=12.0.0'}
+ hasBin: true
+
+ '@electron/[email protected]':
+ resolution: {integrity: sha512-IS4pG3BysRrCLJ8xTAfvg+IQDbiUoAzdJy2SfjcYKnLDy5DpCdjnPdhS5Zf5UMfrkB24xu0KC+TqcOxg+eG+6w==}
+ engines: {node: '>=22.12.0'}
+ hasBin: true
+
+ '@electron/[email protected]':
+ resolution: {integrity: sha512-Wn9sPYIVFRFl5HmwMJkARCCf7rqK/EurkfQ/rJZ14mHP3iYTjZSIOSVonEAnhWeAXwtw7zOekGRlc6yTtZ0t+g==}
+ engines: {node: '>=16.4'}
+
+ '@electron/[email protected]':
+ resolution: {integrity: sha512-dfZeox66AvdPtb2lD8OsIIQh12Tp0GNCRUDfBHIKGpbmopZto2/A8nSpYYLoedPIHpqkeblZ/k8OV0Gy7PYuyQ==}
+ engines: {node: '>=14.14'}
+ hasBin: true
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-XExcO+dvLKvVtNTibSTBej1NCAbaGhWn9Ww1ZPx80qsahhPFe/8jgWP0IchNe0F3HwkU7n8ejhH8bjonqht8mQ==}
+ engines: {node: '>=18'}
+ cpu: [ppc64]
+ os: [aix]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-5YfKeeI8qWfBZIX+u2xZC3Zlb3Os/gLS2sbEKM+I4ZOcsWmHS2WLysCcQZDAFRslDUU5Oiq44gf6PYN1vGwG5A==}
+ engines: {node: '>=18'}
+ cpu: [arm64]
+ os: [android]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-kXXoiPVVGQcnIYGOeaovwOURpniDBpSq4A03qkQ+BMQqtGG6HYap3xne9C1O1yo4TR3qxlCX5IqqmX6fFo2Lqg==}
+ engines: {node: '>=18'}
+ cpu: [arm]
+ os: [android]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-O387ite7SzUyCcy3JQX4P4bLtEA7bLLkx+esve5JHnyYfNTxcVpXZo9jhdB0lTKN44gztELTdU7nS8Nr16Fs1Q==}
+ engines: {node: '>=18'}
+ cpu: [x64]
+ os: [android]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-n4KqkOQrraxHJcgjM1RvwbigfQKIKJVpM7xp+KsxiyUSrRdIXnt73VhrPAx0fV44hgfmIVKjxMN9J1t5jySVkw==}
+ engines: {node: '>=18'}
+ cpu: [arm64]
+ os: [darwin]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-uq6suIWYP37qzGddBKPw5QEQPi6HiLGsO7UmkpfyaYNQ3D+rN6w6WfwH+nuqcGXWvawGwxOEroO4YGnFh95azw==}
+ engines: {node: '>=18'}
+ cpu: [x64]
+ os: [darwin]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-n+I0BTSRIoy+d6RPKnEVwql5UwBJolytvY4mAOIEJorKlqgPII8ix6slVVrfZ5Tnj7glIZvloylbB/EJPMWEXw==}
+ engines: {node: '>=18'}
+ cpu: [arm64]
+ os: [freebsd]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-78XJTJkvPs0kz2w61301PJjXl4g7q3JqiYMZ/M/yVI73EHBrCRTgkhu9oqG7vPqq+a/yadEW8aD+agKlk5xrmg==}
+ engines: {node: '>=18'}
+ cpu: [x64]
+ os: [freebsd]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-pW4AC0P3it8c7do9MVM4p51FzHzdM/TZrerurgRcHJ2WTa1VQ1CIq18xncfpBJw4ojkiZZrKW2yIBWBP92j6Ug==}
+ engines: {node: '>=18'}
+ cpu: [arm64]
+ os: [linux]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-XlDnu2q5yoqems+xay6wSAcg9DDD7K9RLKZEBOMZm3ckNpJBvOX20tSfby8KfrrhINDyv9V2YVZKY/SpoGJI8w==}
+ engines: {node: '>=18'}
+ cpu: [arm]
+ os: [linux]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-CYbnj78HsIeA+DhgUKgFCfvNsTHFhMMrinUrMZpDXJXKN8T3XViTZ/+wtHeVxEWY8ewSzTFN+nRmSwO2tZaLUQ==}
+ engines: {node: '>=18'}
+ cpu: [ia32]
+ os: [linux]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-buwkd8nsph4R+ajRvw0qM5Hja/TXQow3ptzWO2EbG/cqcIkHloRrdlBtQlshyYGTNFvfkfJ5tpPLVkY4DtsPfQ==}
+ engines: {node: '>=18'}
+ cpu: [loong64]
+ os: [linux]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-ZVykbDyk7519VwiNb9Lcj9m8XM6v5V9uKPvrEMkkEedVewf+0itkhahp4HDpgERXhwLRpWFypsGbG/J8s0QjJA==}
+ engines: {node: '>=18'}
+ cpu: [mips64el]
+ os: [linux]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-CAXl+Dtd9UUuJd8pKKdwh6MLm3MUMiqMPmhZ3tTSXPqfyQ3vDl6R5hZdZ/kYojK4ofXtdfSv1tFq8XzWx3heNQ==}
+ engines: {node: '>=18'}
+ cpu: [ppc64]
+ os: [linux]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-GeXCej4IQtU1B+QlDV8W/RRvbzI3O/Stss+/bCXv4lZls5WGRtu2a+3JkA3i4qIUlMXpcHebWpF8AkJhATowuA==}
+ engines: {node: '>=18'}
+ cpu: [riscv64]
+ os: [linux]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-3H1weTYZPxt/WOhByszQZybS9w5lKzUn1FDMsgEChbHWQwHYQQRfBxgCcZvPhjHfKyJjIievvMmEUawJrdY9Dg==}
+ engines: {node: '>=18'}
+ cpu: [s390x]
+ os: [linux]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-4xTZr1FUmSoQW4XIWmit3tzQrUTZM+N3P0XV8xROKYF50XfI7xeO90+1bZvNwxIufQ9hDQVRJH5YhgPVF8A/HQ==}
+ engines: {node: '>=18'}
+ cpu: [x64]
+ os: [linux]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-sSATRjPeDBg3pdgHoQfoYBob11Kk1FGa9lui5RIHZCoCkJa9QKlvl3/vKz2usCmYYjs7ymJR/2Nnsqe+Hjt5nw==}
+ engines: {node: '>=18'}
+ cpu: [arm64]
+ os: [netbsd]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-lqnzCV+mM0gIADaKihiCg6ifgfU2L3h5E33rNQBN1Y4MaVGnzryzmvvf7UHxprpQdE8hpqLolJ9Rl+SkIRDpyw==}
+ engines: {node: '>=18'}
+ cpu: [x64]
+ os: [netbsd]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-AL2qJILH7lNjrDmCQDvdxMfAUIv8KMNZOvrwAQ8i8//ntL9FflhOyMJ8OZSMBb8/AWXe3/5v5S20y3zCoZWKoQ==}
+ engines: {node: '>=18'}
+ cpu: [arm64]
+ os: [openbsd]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-QtiuPytchRyC4rwUKhexJdQKvDuZ6hWloi3igqPQNUJCS1/v9EiO3UTOXR6A3FoMo4fnAKbWJdqaIwhOzh8qEw==}
+ engines: {node: '>=18'}
+ cpu: [x64]
+ os: [openbsd]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-WkhYDmpTjLvGlScA1rwjRUmhl4k8oXR3cIbtqWmELgU/dFeHHlEllxDvdWcNJV9rbzCexB5vz8gtNewWLgCT7Q==}
+ engines: {node: '>=18'}
+ cpu: [arm64]
+ os: [openharmony]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-GPMSkTOtMnv2U2F8gxe4Io6qmVs+YKyp832Etqqxr0hFngmXQ3rzwytelm3GIn7T4VviRUlf3sOgBOiTdvaf7g==}
+ engines: {node: '>=18'}
+ cpu: [x64]
+ os: [sunos]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-PIhhEkE9uPBleRBrQEJpUn7MBnibZzbGzYWPmY3x+YoVg/95zbjB4CxPPOQ8l5tYYM4mMaCthF8/1DIfBQQyWQ==}
+ engines: {node: '>=18'}
+ cpu: [arm64]
+ os: [win32]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-YmJbfTlvU7Sdn9BB+4PRES4oB6pxgS37MAONj+hBr/cpXS1aBPKXxNnDbu+QCWPj0o9dgyxeq79g6c5P8KeuYA==}
+ engines: {node: '>=18'}
+ cpu: [ia32]
+ os: [win32]
+
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-5ebpxr3nWMzrL/rnUI755Jkuee0bHL/Gq0WTF9lvcpv73wAp5eu8MfBUgWK9bhWvZjj7yX8etf/8tI8Ney695g==}
+ engines: {node: '>=18'}
+ cpu: [x64]
+ os: [win32]
+
+ '@fastify/[email protected]':
+ resolution: {integrity: sha512-gO48sJ/4+P9hYE24tEoWQF4fZvCfRmStf6NFhuT5hwXkH+3JXGdemoE/7ympeQZglieeLJx256rbg8e58IrCyA==}
+
+ '@fastify/[email protected]':
+ resolution: {integrity: sha512-VP0yIfwlc1ohj733keYDqyHm1VWeP9VQxYomunhr90jkC4aNNibbkrRiaNgPgqj1ORxUenILR4qzA/ppYBNAtQ==}
+
+ '@fastify/[email protected]':
+ resolution: {integrity: sha512-155eqA/WMQdN6gUD4RrhS2K0Pcz2Ou9pQ86L0sipOpP9ONbTA6oYw/hW4VdBjR4egcDHqmWUK9x80oUX7S1mDQ==}
+
+ '@fastify/[email protected]':
+ resolution: {integrity: sha512-MYBumuIwP+5MIpXSyKm6/o1Eigcoij186lWUssX3LH5U8KWqU0ktZhzC4CErIX9EJeQeRGI+zJZQWakBlFbUcg==}
+
+ '@fastify/[email protected]':
+ resolution: {integrity: sha512-pyxRKk7UpUnnrztP9pF4+ZYxusEQ4LifTyzRdiXmyql1QezNHxO02D25MVU2o4kMeAMYWAjG6RKRlojgkbiDAw==}
+
+ '@fastify/[email protected]':
+ resolution: {integrity: sha512-XfDtW2Icvhqi6DP1YHFK4q/E8WpNd3+raBdzAyVZxmTInbFTtnEEKvEAMMOVdFuRyv+ynYipaA9D8FvjPqACkw==}
+
+ '@fastify/[email protected]':
+ resolution: {integrity: sha512-d/gx9sRbUCVgGRGzma46wLcwiY8noTqO2Nmjg/vbTARxHRE5bdh5PIL8s97Lt1X7ScRWRW52eVYxwIoPwIdVUA==}
+
+ '@fastify/[email protected]':
+ resolution: {integrity: sha512-uqB4QsgVoro0XDC+DIftIMGXHdBPn+lK6Ek3xXAIxPMCJfqxnbtyEoMCm2KPUVOuIosd7Cyw9HawEqMFM/UA+g==}
+
+ '@fastify/[email protected]':
+ resolution: {integrity: sha512-PitRBXg/N4IrE5ToLuP7lITI5Mz8MmP13dv2aMtMNfaGfc5W5hNOwHqcsdQdqu0Lwm5cpDiYLkiOsZTgmhyt2Q==}
+
+ '@fastify/[email protected]':
+ resolution: {integrity: sha512-f3x9XisI+y6AIhIfA/+Q3SFsuXeqNNk5HQh5htgHsPxmMLb4pLFskV6eFaLSW3IbI4azrS5np+/tkzXNH99LyQ==}
+
+ '@fontsource-variable/[email protected]':
+ resolution: {integrity: sha512-vBbuwDEo9AkrqADMXOrlAR3DFcJi4/JxeuU43FoiQERnNwsfXNnvxvReZG02cQKmyk4DZkZdBZX3oTDvy2zBAw==}
+
+ '@fontsource-variable/[email protected]':
+ resolution: {integrity: sha512-j0m+vLQuG5XAYoHtGCVu0spvlGreR3EzpECUVzkFmI1mTVnAO38l/NEPDCFgZ177JxzYJCLSmTQibIiYPilGrA==}
+
+ '@isaacs/[email protected]':
+ resolution: {integrity: sha512-AokJm4tuBHillT+FpMtxQ60n8ObyXBatq7jD2/JA9dxbDDokKQm8KMht5ibGzLVU9IJDIKK4TPKgMHEYMn3lMg==}
+ engines: {node: '>=18'}
+
+ '@isaacs/[email protected]':
+ resolution: {integrity: sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==}
+ engines: {node: '>=18.0.0'}
+
+ '@jridgewell/[email protected]':
+ resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==}
+
+ '@jridgewell/[email protected]':
+ resolution: {integrity: sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==}
+
+ '@jridgewell/[email protected]':
+ resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==}
+ engines: {node: '>=6.0.0'}
+
+ '@jridgewell/[email protected]':
+ resolution: {integrity: sha512-ZMp1V8ZFcPG5dIWnQLr3NSI1MiCU7UETdS/A0G8V/XWHvJv3ZsFqutJn1Y5RPmAPX6F3BiE397OqveU/9NCuIA==}
+
+ '@jridgewell/[email protected]':
+ resolution: {integrity: sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==}
+
+ '@jridgewell/[email protected]':
+ resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==}
+
+ '@lukeed/[email protected]':
+ resolution: {integrity: sha512-9I2Zn6+NJLfaGoz9jN3lpwDgAYvfGeNYdbAIjJOqzs4Tpc+VU3Jqq4IofSUBKajiDS8k9fZIg18/z13mpk1bsA==}
+ engines: {node: '>=8'}
+
+ '@malept/[email protected]':
+ resolution: {integrity: sha512-1DpKU0Z5ThltBwjNySMC14g0CkbyhCaz9FkhxqNsZI6uAPJXFS8cMXlBKo26FJ8ZuW6S9GCMcR9IO5k2X5/9Fg==}
+ engines: {node: '>= 12.13.0'}
+
+ '@malept/[email protected]':
+ resolution: {integrity: sha512-9QOtNffcOF/c1seMCDnjckb3R9WHcG34tky+FHpNKKCW0wc/scYLwMtO+ptyGUfMW0/b/n4qRiALlaFHc9Oj7Q==}
+ engines: {node: '>= 10.0.0'}
+
+ '@napi-rs/[email protected]':
+ resolution: {integrity: sha512-oTXEIha4SsuXdTA4Iyskj0kpdx2yVXdhd75c2v3xGrHFfVMsbhTPZU/nMPL4sWKo4pBHm3aucLaqGlF696dTyQ==}
+ engines: {node: ^22.20 || ^24.12 || >=25}
+ cpu: [x64]
+ os: [linux]
+
+ '@noble/[email protected]':
+ resolution: {integrity: sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==}
+ engines: {node: ^14.21.3 || >=16}
+
+ '@noble/[email protected]':
+ resolution: {integrity: sha512-X5XaVWZIBCT7HHZGm5I7ZQXDwLG+bGXuSrMQAW+7Zvl87h1kmc1ZB1VSRJcpUfoUrGQp4Fkoxm5kZ+Ms+aW+eA==}
+ engines: {node: '>= 20.19.0'}
+
+ '@oxc-project/[email protected]':
+ resolution: {integrity: sha512-jSNrRIyvPVLL5E1z/tS5zLAprosGz/FuI1PWwEOz59j3E4TTTzSpqKb/RDGqJhhW0QHYISGXxq582wGx6T11Tw==}
+
+ '@peculiar/[email protected]':
+ resolution: {integrity: sha512-8xh4avo53/vXO6UEv9yaoJ83hY581geaLTygf61NPIXP5AeIZCPjJhpTaYU23IZkG+NpLN/C9FYzWp7hphIT9A==}
+ engines: {node: '>=14'}
+
+ '@peculiar/[email protected]':
+ resolution: {integrity: sha512-coUfuoMeIB7B8/NMekxaDzLhaYmp0HZNPEjYRm9goRou8UZIC3z21s0sL9AWoCw4EG876QyO3kYrc61WNF9B/w==}
+ engines: {node: '>=8.0.0'}
+
+ '@peculiar/[email protected]':
+ resolution: {integrity: sha512-+oL3HPFRIZ1St2K50lWCXiioIgSoxzz7R1J3uF6neO2yl1sgmpgY6XXJH4BdpoDkMWznQTeYF6oWNDZLCdQ4eQ==}
+
+ '@peculiar/[email protected]':
+ resolution: {integrity: sha512-ODOov0sGMJMf3jPonOkgGqPknTsu+DdQ7kD++gz8aI+aFMOMHFbWAA2taqXXVTdP+OTOQR/znGvSpmkeI0WTYQ==}
+ engines: {node: '>=14.18.0'}
+
+ '@phosphor-icons/[email protected]':
+ resolution: {integrity: sha512-vt8Tvq8GLjheAZZYa+YG/pW7HDbov8El/MANW8pOAz4eGxrwhnbfrQZq0Cp4q8zBEu8NIhHdnr+r8thnfRSNYA==}
+ engines: {node: '>=10'}
+ peerDependencies:
+ react: '>= 16.8'
+ react-dom: '>= 16.8'
+
+ '@pinojs/[email protected]':
+ resolution: {integrity: sha512-k2ENnmBugE/rzQfEcdWHcCY+/FM3VLzH9cYEsbdsoqrvzAKRhUZeRNhAZvB8OitQJ1TBed3yqWtdjzS6wJKBwg==}
+
+ '@remix-run/[email protected]':
+ resolution: {integrity: sha512-czdGJWh09Lapvcqt7Vb09KlrU2PhRJ8xQaI+AItTuD9aDJ5MAgxnS38lnys6Ll+6RJEqPiaUqTwIQhVLwFvv+w==}
+
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-Vu/NICrgdRvUOeaJZIyB2FP63s6fO/4ud5l8dXmxDx9yDyn+mN0y+gsvsVviSli+T361Aqo0h46EuMoobrwawA==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [arm]
+ os: [android]
+
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-6LEoIrGy5vvCd2boNnv2soPSUZj/PRvhp8R/t9KlX+mIZxThIE/ZqxrGXxmuNX0FuvQFvLdZr7S4HrYpYBVhEQ==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [arm64]
+ os: [android]
+
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-CaJSRzlQ6Q+zkDMVA9OkVxBjVoPRCDEE3v0FSJ9kIQBgRjFApA3Si4ijhbNVUji7ZJt+PfO0e46qy4nPInHUPA==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [arm64]
+ os: [darwin]
+
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-e4r340I5hxSzJkD3YJBxgzq/rJ3wwxwdLLb2FPt1Zpyem20nrQPT11DDEEkazwxaHumH8wpglsp/Ozgj/wT6mw==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [x64]
+ os: [darwin]
+
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-hoBWDZ4/K/mJKVMbsgUd1jfpA2DiOrJ54mpegObU9TBHBBrtX4FLIXJJQRDPZ/2Dn91GvPob+Z2hwKJzf4E5SQ==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [x64]
+ os: [freebsd]
+
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-oF9fZu3vTWnTiVAkDFxU9PJLt1nh20K9RRpuHsR7ZnE2L7XookBbDBVLojCVSLGbvtSlxeUNnjAj6DbNsKyzbg==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [arm]
+ os: [linux]
+
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-DTpb/+jMiqWMPgphn4ksW1zW+XLJ6dJJ9FMvnIk9I291LhCctMPhMYJrP5t9p6C9qa3KXadDdUEZHBaPh3kNxQ==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [arm64]
+ os: [linux]
+
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-xU+Kvv9N2A3SY35zFh1FWWNjxbadE/BKeqnkXe7vScU4GZsw757BlVmDLITZEq8DPpk6m7uoDYkK7P+x/uU5Ow==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [arm64]
+ os: [linux]
+
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-XMk/hnhh25oQ756Lclb1Q11h4ll0xC0Esa5w4Vzp+mAE2S3AGJgeM0SonrIgY8fHhjarb6hcoTuwoFG0VVP2ig==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [ppc64]
+ os: [linux]
+
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-U1BoTHYmlywE2n3HUWjzZ+8EQsKr+OwpxYuDWaubx42tUL8QSL7nOqRz/NVHanibbFP3M1Rxuprz/wNcbMKjqw==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [s390x]
+ os: [linux]
+
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-J4cm80Pc6wEwV5AZ42o62sIQgDk+Y7R2s646jIwuvO+4V46QB58N4vVuMPWCBaNgursXLpmUWJV//WQAkPvHBQ==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [x64]
+ os: [linux]
+
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-W0euZS40U4V6JkmEnVCIX9mcsL6cbXQ4X8c2w+MMOIjFg68TXUW+u3RT+2e1t1pv9mg/EP3pDtK3POXdQ7Rxyw==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [x64]
+ os: [linux]
+
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-do/AF/4n9MRshia3a5aXoy8xM2c6mgfT6D7H/dY6my5z+hfCIR4ab7mk4IRj++nsEQpKy39kd0DQnDq+r692tw==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [arm64]
+ os: [openharmony]
+
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-6FtUf2cJZobutJdxnGYX8z0vtbgqU0b2v8vfBhkXb9wp2MppMFtkunE+IaOntyi01rkIQoPW2GHABtfzsC0BRQ==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [arm64]
+ os: [win32]
+
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-UKhFaZTeTcbKrb3iU82m17jVcPEAoqDkCN5MBqgPyZSwp/cQmib21crTS0DdH7T1B7wZRWEI89YQAOJMet5yhg==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [x64]
+ os: [win32]
+
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw==}
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-dFZNuFD2YRcoomP4oYf+DvQNSUA9ih+A3vUqopQx5EdtPGo3WBnQcI/S8pwpz91UsGfL0HsMSOlaMld8HrbubA==}
+ engines: {node: '>=14.0.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+ '@types/babel__core': ^7.1.9
+ rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0
+ peerDependenciesMeta:
+ '@types/babel__core':
+ optional: true
+ rollup:
+ optional: true
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-lUYM3UBGuM93CnMPG1YocWu7X802BrNF3jW2zny5gQyLQgRFJhV1Sq0Zi74+dh/6NBx1DxFC4b4GXg9wUCG5Qg==}
+ engines: {node: '>=14.0.0'}
+ peerDependencies:
+ rollup: ^2.78.0||^3.0.0||^4.0.0
+ peerDependenciesMeta:
+ rollup:
+ optional: true
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-J4RZarRvQAm5IF0/LwUUg+obsm+xZhYnbMXmXROyoSE1ATJe3oXSb9L5MMppdxP2ylNSjv6zFBwKYjcKMucVfA==}
+ engines: {node: '>=14.0.0'}
+ peerDependencies:
+ rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0
+ peerDependenciesMeta:
+ rollup:
+ optional: true
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-FnCxhTBx6bMOYQrar6C8h3scPt8/JwIzw3+AJ2K++6guogH5fYaIFia+zZuhqv0eo1RN7W1Pz630SyvLbDjhtQ==}
+ engines: {node: '>=20.0.0'}
+ peerDependencies:
+ rollup: ^2.0.0||^3.0.0||^4.0.0
+ peerDependenciesMeta:
+ rollup:
+ optional: true
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-MfPp06CjRLfXQ3wY0R8vJDYBy/MvVcc9OulEfR0B8Iv9ko+GCNaRZ+EpJYFl27LhKsZK0o420sYCRHCjfCgeUg==}
+ engines: {node: '>=14.0.0'}
+ peerDependencies:
+ rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0
+ peerDependenciesMeta:
+ rollup:
+ optional: true
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-MrfgRQSpD5hkkRg6XI16B6EDLb+6+xp8xje6bpdSwkYw+qxrBKbUVrRAQu9h82UT+QumSIVQ8HXsXjPd2dlhqw==}
+ cpu: [arm]
+ os: [android]
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-+uu2p/R9Tzn8GpoQyX1pAo5dmKT1DhXevfaCzqzmPFhnLjHLWw7uWkaVGlxmhwYoRiYYhsGfRcD5cTBpL7rgSw==}
+ cpu: [arm64]
+ os: [android]
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-17dys+YEmzwzzFVHQAVDONg5FALXY9kd99HFEpfk4gJVHYxoh5bGea3D4t1fXXnwkTcOe25wPyd6nWS0I8IdLQ==}
+ cpu: [arm64]
+ os: [darwin]
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-wg0zQEKkEvFZf1UaaX1UELOoPs//OSKUG7D+yITuqOsAvza7LvHTv5Wu4nmMfzNG7EYI2jp2PJC7Id6OETmsYQ==}
+ cpu: [x64]
+ os: [darwin]
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-CoJmWcpEMuwin+TZ/ev/H9uDyF/uxUKQSWXdmIPn/UBx/uGV9+4ebMp0FwnlhWR9PE1AdzYsKf3bZevhif38+A==}
+ cpu: [arm64]
+ os: [freebsd]
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-PxZnLAaTUAL5xG0W2BXLeYPKrK2b3LIASV2/e/Kf7PZvSLI1iAQIm9B9aJD+YyFIT7hc6qaMV3+OOO35R28LfA==}
+ cpu: [x64]
+ os: [freebsd]
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-uPo3IvnONjhbFXwWgroBeFwOicuhT7ZwQrnzkzmOtBJzeQbkUJUE1SJDfDI31ijQ5+ZUIA6sPrdUMxTSnxUWAg==}
+ cpu: [arm]
+ os: [linux]
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-ywI8Jyuc4LyHYTjC0mw4yA1ulvZBkHusdpWnoiEBsmBuHvSnt90btTBGCZ+s/2y+YNNfVAEKy33nPo5UI9zTmg==}
+ cpu: [arm]
+ os: [linux]
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-tmuXJoQ/3ovSr637aykZMdQteU/CB2APAz2CrvsbibuoHZi1BS1Db13cVViBdEARGwXCLn1DSJ8wsjoThLJPGA==}
+ cpu: [arm64]
+ os: [linux]
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-5FMjSYNcUOHx7oW8Qu9KB6jGPpvF/8sG7+BDHwU/Ihh1/6FMJ9ySmsFG4tJ1qbNRuP8OLzCBDso4sF0mQaLuFQ==}
+ cpu: [arm64]
+ os: [linux]
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-K8ZJ+neLDbUkIrL8dqF/5LtuVCrKwo27kREgOlxjBEjlOXwHvDnHLU8Z/UKv/B49qi7e8hsSDOyoJwhwqhvX4w==}
+ cpu: [loong64]
+ os: [linux]
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-NlVxsq7PFPv0DBKGuNWRDKixQYQCjM53zl04mxEcKMBmJbCBIUm1JdPfIWDRHyOOFzzYPmLQzfeEwh4716ayQg==}
+ cpu: [loong64]
+ os: [linux]
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-ARhRHJYs5eCFet5azfrHD97vOkD8OzNW2RSMlvo5CcBqXaTOLfp0OHDtUQh7/K5AL5fUYoFp2fgC9KDg4vVYMQ==}
+ cpu: [ppc64]
+ os: [linux]
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-atSgreM5C7jpxd9aEXN+6vJ5wTd05iYw+S3FiQpw7VsoEl8B90llbq35ARON+GOHj5QlVQEq2vOKWCHTob/BSQ==}
+ cpu: [ppc64]
+ os: [linux]
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-vmlmwBFGnjVWxSRoVabNkyYuscSmg52Pd0fM8jEbNT3Jmka4A6HcB84x4uAmuumznWfBVaxKOqU6jbEgomWKCA==}
+ cpu: [riscv64]
+ os: [linux]
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-hhJrP6S9WkbsbcHgUkvCBS5Cn8IdsG8XjlLZyxjnv9+NdoYfbbZE4TWJYr8apdaj1M5t5Y1id2StnEslxpNFyA==}
+ cpu: [riscv64]
+ os: [linux]
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-NNVCyN9pGrwFmQa4bf+Cnf5aVH3g6ZpnlOg1Cs/H9swIHT9bRixijfzUqyEIWm1WtiAuR1LJ+rJH6zpBm8kgQA==}
+ cpu: [s390x]
+ os: [linux]
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-dR9nd6OKnvSS60Ifz/L7Mj5zzYyoqyRn2NwTuaOONKaa3xsVGXyp8YusMbvFyEOR94DxnwgcbgsFqkHd29ZSzQ==}
+ cpu: [x64]
+ os: [linux]
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-1tzsMjaqhsh3bAO6SJiJqh8hIr9sSPRd+i2vPPxJHod8/XYnf9TEnK0z/u3r1z1AkI347X0KbRSg9dWcxeGahw==}
+ cpu: [x64]
+ os: [linux]
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-01mWMQblKoXXsmk28KXtpbA96w7g/aOWUoV3AC16fdHdqkykGalqyyM+5u8M7uP5/MEMiiPv69Hv7iv/hEH/dA==}
+ cpu: [x64]
+ os: [openbsd]
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-trdnMPb/DNm4V/CgsaoGgr90HfQQ071wfK0KoIs4YpLvjBgVQGXhGabg2Z6nK4EcYNilrb9ZZPcsP6+zpJIdxQ==}
+ cpu: [arm64]
+ os: [openharmony]
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-x2LxZlfdfsw99T6/qb9EqE/Qi84JWzibjyOJyhJsgFJy6CafaTiqIXCCnslCGrV5XWNh7fwrS3FbRENcuKnooA==}
+ cpu: [arm64]
+ os: [win32]
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-/Qd/9aDQIo0+jmItgBmPIs8195YVbDxRRApn47GyufgbutCDOh7eP5vSKKlI4QNFeaI+wKQAkSMsPnF3EuMpaA==}
+ cpu: [ia32]
+ os: [win32]
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-ngUJ/XvOWrqbd2IMsfXfh2xXFLTP3sY7sCKvxbGvYdBZ1KmXFd3ewDZ9n3/GNzAUgzRuhLT/UvJRivbNoAQRBw==}
+ cpu: [x64]
+ os: [win32]
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-IhV6ew/DuzUWwHaYmlh7MrPCV3lKFUq/amTEwysi4r/mwNPAEfAMh5dYWeTSPTeMy2pFHGMEWYtPkHzfX3tG5A==}
+ cpu: [x64]
+ os: [win32]
+
+ '@sindresorhus/[email protected]':
+ resolution: {integrity: sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==}
+ engines: {node: '>=10'}
+
+ '@szmarczak/[email protected]':
+ resolution: {integrity: sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w==}
+ engines: {node: '>=10'}
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-/T8IKEsf9VTU6tLjgC7+sv2mOPtQxzE2jMw7u4Tt40Tx+QSZxpzh95/H6cMKoja9XuW7iMdLJYBB0o9G1CaAgg==}
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-Y85A2gmPSkl5Ve5qR86GL4HT509cFqQh1aes9p3sSkyTPwt0Pppf3GkwGe4JPACcRYjgJIEhQgM6dBClnr0NYw==}
+ engines: {node: '>= 20'}
+ cpu: [arm64]
+ os: [android]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-BiaWatpBcERQFDlOjRDpIVXuFK5PJez5SA4JMg6VYZdBYU+qKfV/vqjcIs+IYmtitf1xYQZTwXvU/8y4lfZUGw==}
+ engines: {node: '>= 20'}
+ cpu: [arm64]
+ os: [darwin]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-fAeUqfV5ndhxRwai8cXGzdLvul9utWOmeTkv69unv4ZXixjn61Z+p9lCWdwOwA3TYboG3BwdVuN/RDjhBRl0mw==}
+ engines: {node: '>= 20'}
+ cpu: [x64]
+ os: [darwin]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-iyf5bV6+wnAlflVeEy7R25dupxTNECZN5QMI0qNT6eT+EgaGdZcKhGkr5SdoaWiLJ3spLqIY9VCeSGrwmtg4kw==}
+ engines: {node: '>= 20'}
+ cpu: [x64]
+ os: [freebsd]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-aAYUprJAJQWWbRrPvtjdroZ56Md+JM8pMiopS6xGEwDfLhqj+2ver2p4nU4Mb3CRqcMmNBjo8KkUgcxhkzVQGQ==}
+ engines: {node: '>= 20'}
+ cpu: [arm]
+ os: [linux]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-nDxldcEENOxZRzC2uu9jrutZdAAQtb+8WWDCSnWL1zvBk1+FN+x6MtDViPB5AJMfttVCUhehGWus3XBPgatM/w==}
+ engines: {node: '>= 20'}
+ cpu: [arm64]
+ os: [linux]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-Md44bD6veX/PC5iyF8cDVnw4HBIANZepRZZ7a8DQOvkfo5WUBwcp6iAuCUz23u+4SUkhJlD3eL7hNdW8ezd/kA==}
+ engines: {node: '>= 20'}
+ cpu: [arm64]
+ os: [linux]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-tx7us1muwOKAKWao2v/GaafFeQboE6aj88vC6ziN2NCGcRm8gWUhwjzg+YdVB1e4boAtdtma4L43onunI6NS4w==}
+ engines: {node: '>= 20'}
+ cpu: [x64]
+ os: [linux]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-SJxX60smvHgasZoBy11dX6YRjXJFovwWBoedhbQPOBzgFWBHGB+TVPWB9BxzR7TTxU8FQZAI2AyiNCMzFm8Img==}
+ engines: {node: '>= 20'}
+ cpu: [x64]
+ os: [linux]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-jx1+rPhY/5Ympkktd656HBWEBLxP7dH06losBLjjf5vgCODXvi9KhtftWcMIwTFIDqBr7cRnQkdLnAG+IOlGvQ==}
+ engines: {node: '>=14.0.0'}
+ cpu: [wasm32]
+ bundledDependencies:
+ - '@napi-rs/wasm-runtime'
+ - '@emnapi/core'
+ - '@emnapi/runtime'
+ - '@tybys/wasm-util'
+ - '@emnapi/wasi-threads'
+ - tslib
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-3rc292Ca2ceK6Ulcc/bAVnTs/3nDtoPhyEKlgPv+yQJQi/JS/AMJlqzxvlDacL1nekbrcf6bTqp/jV4qgnPxNQ==}
+ engines: {node: '>= 20'}
+ cpu: [arm64]
+ os: [win32]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-yJ0pwIVc/nYeGoV02WtsN8KYyLQv7kyI2wDnkezyJlGGjkd4QLwDGAwl47YpPJeuI0M0ObaXGSPjvWDPeTPggw==}
+ engines: {node: '>= 20'}
+ cpu: [x64]
+ os: [win32]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-krXjAikiaFSPaK/FkAQT5UTx3VormQaiZ5hBFlJZ9UFQGB/rwg1MZIhHAG9smMQRTdyJxP6Qt5MwMtdyU5FWrA==}
+ engines: {node: '>= 20'}
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-yYU8cogLeSh/ms2jh8Fj7jaba/EWa7Ja6GoUqYZaraEuCI5YS6ms6ObZgjjedm+jm6XZjdNRWBpPP6Z86oOxcw==}
+ peerDependencies:
+ vite: ^5.2.0 || ^6 || ^7 || ^8
+
+ '@trickfilm400/[email protected]':
+ resolution: {integrity: sha512-/67zpWDBLV+oYAEL682s1ktXL0HgqX76f6gaVGkGnVZlBbm1zd0v4Bz8MFF2GGhoX9rvfq3KSQHubFHwa6w6/Q==}
+ engines: {node: '>=12'}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-IQ3EbTzGxIigb1I3qPZc1rWJnH0BmSKv5QYTalEwweFvyBDLSAe24zP0le/hyi7ecGfZVlIVAg4BZqb8WBwKqw==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-KSVgmQmzMwPlmtljOomayoR89W4FynCAi3E8PPs7vmDVPe84hT+vGPKkJfThkmXs0x0jAaa9U8uW8bbfyS2fWw==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-L3LgimLHXtGkWikKnsPg0/VFx9OGZaC+eN1u4r+OB1XRqH3meBIAVC2zr1WdMH+RHmnRkqliQAOHNJ/E0j/e0Q==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-U2+DNr+wSjpsTS/wZGYHq7GcwfuSmKiKvoPvK22zwTlRhU91yOniN4qRR5KhIjvif7ysw/dz/hKmfDH0Ris4aA==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-93d49wCWJkCyN87MxLpNN6KXPCwFw7bVUg79mGUV1OS40JGWwVCr8n61DXCSqz7CV6/VfPkb7xec7uP2M+QHWQ==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-ZI7bU42mZXXKHn/qNLEw2IrbiINU7X5+vfgdixBHkCNpYWXjKgfQ/P+uyGb5CjOLB9UcnTeg3rylQtV2hym44Q==}
+ peerDependencies:
+ '@types/react': ^19.3.0
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-N0rFCuH9YoxG9/m61l9MfpJKfmLOVU0em7ipIz6TRgSSkvReLB9vL85GB+yr8Bs5leqpvg96JSwF4ZS1s4viQg==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-H/+L+UkTV33uf49PH5pCAUBVPNj2nDBXTN+qS1dOwyyg24l3CcicicCA7ca+HMvJBZcFgl5r8e+RR6elsb4Lyw==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==}
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-MTKKkWB7p/0E9xi1d1tHtZ5PiLkGEMIq88pK2CubZjOsLtYTLqhgIgi6zepFa+9GHZ6h05NMCkQxGKiPXMxXtQ==}
+ engines: {node: '>=16.20.0'}
+ cpu: [ppc64]
+ os: [aix]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-gowzar9MwS/aRWp6f3a4KUqzRjAZjOsmGNCM6LcTgXum+dBfgsBVMN+AgvOCCbguXyick6LJhpBszxMebJ8syA==}
+ engines: {node: '>=16.20.0'}
+ cpu: [arm64]
+ os: [darwin]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-SZ9xZInqApNlNGc9s0W1VSsktYSOe9cFqNOIqmN1Gs8SmkjKZYFt017G4VwPxASInODuAdbTW7sXiFUf893RgA==}
+ engines: {node: '>=16.20.0'}
+ cpu: [x64]
+ os: [darwin]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-W5NH4y/J0plIIS5b2xvTEkU7JFxyqdMAOgf+Ilhl0vHQXKO5dZoxd+C/jEtq56c4F3wk71RB4BMRQ2XdI+bwYQ==}
+ engines: {node: '>=16.20.0'}
+ cpu: [arm64]
+ os: [freebsd]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-UMGDx5sTpzNw3WiPebH7l90IWfJggEd+egHt/q6p7/Cm3zqoV7VxkGXt+3DxPIw8CcmvAB0j3sVVfbhX+M4Tpw==}
+ engines: {node: '>=16.20.0'}
+ cpu: [x64]
+ os: [freebsd]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-Qh4eU4/y3yDjnfjjyPYihMj5/ODIlmt+Bzu17OI+fiSRDW57QmU5SiN63exPRNJPKUzcc1INa1NXdrJ+MqHjUQ==}
+ engines: {node: '>=16.20.0'}
+ cpu: [arm64]
+ os: [linux]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-gffT3xPz9sR7j/YJExkyPntrI0P2EP9XbOyWzth2/Gs0RstK+90RBcO0ncXoXy/beYll1SXw846Nf2zdnEz0QQ==}
+ engines: {node: '>=16.20.0'}
+ cpu: [arm]
+ os: [linux]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-uEHck9i8hoAzXPiYRib1O7miOnz23SxIeVl6F4LXox+qov1K35jHcEW6VHKvZI+pyvl7fZEP4MCU5LYvIq1GuQ==}
+ engines: {node: '>=16.20.0'}
+ cpu: [loong64]
+ os: [linux]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-R4KvAMnE43W5Qeqb0Ly56O3mWMWIAgsMyz36DCaycd5nbg/9kzm0liw3JocfRqyJY0KPmzFjbswozXyW0DnIYA==}
+ engines: {node: '>=16.20.0'}
+ cpu: [mips64el]
+ os: [linux]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-DORx5b3sd/4S7eayxm4FQv+A7CrkUIGRaHiwI8oiHTAI1fAPWhF4J0vAlkC8biAlHSVVwxMQ3tjZ2/DVbnQiiA==}
+ engines: {node: '>=16.20.0'}
+ cpu: [ppc64]
+ os: [linux]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-wf0jqEDOjrPRnKwYRyyJDRo11KMbvMFrU+q4zqKyChODBzvlkbhNQfKvLxQCcwTpdDaXSHZTVuh0JoCrKCUMHQ==}
+ engines: {node: '>=16.20.0'}
+ cpu: [riscv64]
+ os: [linux]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-IkwJc3L7yhytWd/ewjyxNDfOmswCm9GWMJT/ue/dU4aZNbwZeYAetq42VyLmsmSjvoX7z74X6ZaYCtzAr0EuGw==}
+ engines: {node: '>=16.20.0'}
+ cpu: [s390x]
+ os: [linux]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-EYdf2cNg7rgCWJnxCdJ+F3V39O8ihb37eHAu1LK8oAFizgTQbPOK7zHHXbPt8rX24COqODXeI3sIf0fCXG7H/A==}
+ engines: {node: '>=16.20.0'}
+ cpu: [x64]
+ os: [linux]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-+polYF4MF04aPpO5FTkHran9yUQDSXqy5GiSDKpsll5jy3l3+g9QLhpf39T+ePtefhXLOGrLl0QIjkQP6VnelA==}
+ engines: {node: '>=16.20.0'}
+ cpu: [arm64]
+ os: [netbsd]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-8YIT0EHM/3dq10ZOVF/A7pc/YSMtbcecct4rWtexrnSCHOPcpC2KTLXfTCR6vDpnSiY12heNb1GiN/wu+T/FyA==}
+ engines: {node: '>=16.20.0'}
+ cpu: [x64]
+ os: [netbsd]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-APT8+ClYnuYm1u9+kgGXoMj2VzWzcymwh2gNSQVySHfkRDGOTVkoWLjCmOQSaO+PoqQ57B0flRp9SA+7GnnkzQ==}
+ engines: {node: '>=16.20.0'}
+ cpu: [arm64]
+ os: [openbsd]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-yX7s+Q0Dln0Dt9tEzZsAjXXR/+ytBM7AlglaqyeMPxQszJ1JhlJdZ6jLA+IzldHtflX81em7lDao1xXu+aRRkg==}
+ engines: {node: '>=16.20.0'}
+ cpu: [x64]
+ os: [openbsd]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-dLJDGaLZ1D4HPQn62u1n8mBDkJREwMsAkCdkwd4Ieqw+x3TUyTsqY0YiBCtE6H6OzzgGk3iuZ3vFWRS+E8/d1g==}
+ engines: {node: '>=16.20.0'}
+ cpu: [x64]
+ os: [sunos]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-Gyl1Vy6OsWesLzmq+EP0Fb7b4Nid5232AvcA2SFcdYreldpNtYFFofPjnt62y9hQy7VTaZp65ICJjuAQRaVcIQ==}
+ engines: {node: '>=16.20.0'}
+ cpu: [arm64]
+ os: [win32]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-0BQ3HkAHHlKLSp1qRvf3SUhGpGsDuhB/jgFw75guyqbxJqEaS0Cw/VFO8i2nHglJUzQCRtMMR/IBAKE3ETMC4g==}
+ engines: {node: '>=16.20.0'}
+ cpu: [x64]
+ os: [win32]
+
+ '@vitejs/[email protected]':
+ resolution: {integrity: sha512-fhJNGUdscQa4HkI0xFxwonWyhnVReCPDbXI7FH7jmzpnVCrFQI7PRrhWecO263610vOrs9tr2Y4xcf8uAdFxbw==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ peerDependencies:
+ '@rolldown/plugin-babel': ^0.1.7 || ^0.2.0
+ babel-plugin-react-compiler: ^1.0.0
+ oxc-transform-react: ^0.152.0
+ vite: ^8.0.0
+ peerDependenciesMeta:
+ '@rolldown/plugin-babel':
+ optional: true
+ babel-plugin-react-compiler:
+ optional: true
+ oxc-transform-react:
+ optional: true
+
+ '@xmldom/[email protected]':
+ resolution: {integrity: sha512-/5NV/vDALVFDXgLmfsy9TRCBlKwO2LNBFzpzvb9iIj+jR+eSc6DLYYvVOdivT/jm7MtU6TebYuRmzEOI7w40UA==}
+ engines: {node: '>=10.0.0'}
+
+ resolution: {integrity: sha512-a1wflyaL0tHtJSmLSOVybYhy22vRih4eduhhrkcjgrWGnRfrZtovJ2FRjxuTtkkj47O/baf0R86QU5OuYpz8fA==}
+ engines: {node: ^20.17.0 || >=22.9.0}
+
+ resolution: {integrity: sha512-2BjRTZxTPvheOvGbBslFSYOUkr+SjPtOnrLP33f+VIWLzezQpZcqVg7ja3L4dBXmzzgwT+a029jRx5PCi3JuiA==}
+
+ resolution: {integrity: sha512-oJlA3XiRm7Cyk6qFD2Jn8ak9B7jSy0qy00ADO3+8dpT0LSjFihQYv4C02LFCSYJV3Q37xYwwRy5m+IpIiUzqWw==}
+ engines: {node: '>=0.4.0'}
+ hasBin: true
+
+ resolution: {integrity: sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==}
+ engines: {node: '>= 14'}
+
+ resolution: {integrity: sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==}
+ peerDependencies:
+ ajv: ^8.0.0
+ peerDependenciesMeta:
+ ajv:
+ optional: true
+
+ resolution: {integrity: sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==}
+
+ resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-2VnyWkqsP5v5XbBhL3tD5Syx8iNPBYsoU7kY4S2fz7wg8Rj/nztWKCUzGKaFRTv0Xwf3/H058CR1Kvtd/3lRow==}
+ engines: {node: '>=14.0.0'}
+ peerDependencies:
+ dmg-builder: 26.15.3
+ electron-builder-squirrel-windows: 26.15.3
+
+ resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==}
+
+ resolution: {integrity: sha512-LHE+8BuR7RYGDKvnrmcuSq3tDcKv9OFEXQt/HpbZhY7V6h0zlUXutnAD82GiFx9rdieCMjkvtcsPqBwgUl1Iiw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-BNoCY6SXXPQ7gF2opIP4GBE+Xw7U+pHMYKuzjgCN3GwiaIR09UUeKfheyIry77QtrCBlC0KK0q5/TER/tYh3PQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-S2s3aOytiKdFRdulw2qPE51MzjzVOisppcVv7jVFR+Kw0kxwvFrDcYA0h7Ndqbmj0HkMIXYWaoj7fli8kgx1eg==}
+ engines: {node: '>=12.0.0'}
+
+ resolution: {integrity: sha512-NW2cX8m1Q7KPA7a5M2ULQeZ2wR5qI5PAbw5L0UOMxdioVk9PMZ0h1TmyZEkPYrCvYjDlFICusOu1dlEKAAeXBw==}
+ engines: {node: '>=0.12.0'}
+
+ resolution: {integrity: sha512-hsU18Ae8CDTR6Kgu9DYf0EbCr/a5iGL0rytQDobUcdpYOKokk8LEjVphnXkDkgpi0wYVsqrXuP0bZxJaTqdgoA==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==}
+
+ resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==}
+
+ resolution: {integrity: sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==}
+ engines: {node: '>= 4.0.0'}
+
+ resolution: {integrity: sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==}
+ engines: {node: '>=8.0.0'}
+
+ resolution: {integrity: sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-QyTKW61/qlba+cUQBm/sT9X8lri4UdomqSDwCnrnj1IvLVDRRiXRkz4CgBRWB+/cmfC7SK5WQc8T1vSdGvaUcQ==}
+
+ resolution: {integrity: sha512-lHe62zvbTB5eEABUVi/AwVh0ZKY9rMMDhmm+eeyuuUQbQ3+J+fONVQOZyj+DdrvD4BY33uYniyRJ4UJIaSKAfw==}
+
+ resolution: {integrity: sha512-aTyf30K/rqAsNwN76zYrdtx8obu0E4KoUME29B1xj+B3WxgvWkp943vYQ+z8Mv3lw9xHXMHpvSPOBxzAkIa94w==}
+ peerDependencies:
+ '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0
+
+ resolution: {integrity: sha512-coWpDLJ410R781Npmn/SIBZEsAetR4xVi0SxLMXPaMO4lSf1MwnkGYMtkFxew0Dn8B3/CpbpYxN0JCgg8mn67g==}
+ peerDependencies:
+ '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0
+
+ resolution: {integrity: sha512-M762rNHfSF1EV3SLtnCJXFoQbbIIz0OyRwnCmV0KPC7qosSfCO0QLTSuJX3ayAebubhE6oYBAYPrBA5ljowaZg==}
+ peerDependencies:
+ '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0
+
+ resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}
+
+ resolution: {integrity: sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==}
+ engines: {node: 18 || 20 || >=22}
+
+ resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==}
+
+ resolution: {integrity: sha512-br0LOmjJqr6Rt4AEkadbcNf67Zpo7EPwKsWbjnRrJIa1QYFHQBqM4C7F2WTbV8ahTEcg1Eo+Y0aWjjORInYFyA==}
+ engines: {node: '>=6.0.0'}
+ hasBin: true
+
+ resolution: {integrity: sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==}
+
+ resolution: {integrity: sha512-d0II/GO9uf9lfUHH2BQsjxzRJZBdsjgsBiW4BvhWk/3qoKwQFjIDVN19PfX8F2D/r9PCMTtLWjYVCFrpeYUzsw==}
+ deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
+
+ resolution: {integrity: sha512-9zeA+KLZNNzglF2TPKRQEDyx6Yby7daAkuy8MiPzpXPsYDWi/DRM8jmwUDxokQjYqBpv5DgPiwD4h4ZZSy1Ujw==}
+
+ resolution: {integrity: sha512-uZbew1NqdmPDTMJ8ah1y+b+9QEJrfkXFk3RcTQw3X0jW/xRUvFKsg1CfQdSYGdTbXZWExtU3J3ccxtnfw1Fi0g==}
+
+ resolution: {integrity: sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ==}
+ engines: {node: 20 || >=22}
+
+ resolution: {integrity: sha512-1R4kiYKXGViqEN0CnoDrXc1StD9niAwu+j2dukWzrD4bJgsD4lDmEp0CRbc6E/vYJIfTHwPmwyaKtVSudICdPA==}
+ engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
+ hasBin: true
+
+ resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==}
+
+ resolution: {integrity: sha512-g/kR520giAFYkSXTzcmF3kqQq7wi8F6N6SzeDgZrqTBN+VHdmgWOyTdD1yD7AATDId/yXLvuP34CxW46/BwCdw==}
+ engines: {node: '>=12.0.0'}
+
+ resolution: {integrity: sha512-q2hn7Mbo2nFNkVekPiHFx6Nfo3hURmES3tfBn+k5Pqxl2RkmP3QGqZUhH/q9Pch/4G05NRhPjDlVj1O8q4Txvw==}
+ engines: {node: '>=14.0.0'}
+
+ resolution: {integrity: sha512-U1Z/ob71V/bXfVABvNr/Kumf5VyeQRBEm6Txb0PQ6S7V5GpBM3w4Cbqz/xPDicR5tN0uvDifng8C+5qECeGwyQ==}
+ engines: {node: '>=6.0.0'}
+
+ resolution: {integrity: sha512-2/kNscPhpcxrOigMZzbiWF7dz8ilhb/nIHU3EyZiXWXpeq/au8qJ8VhdftMkty3n7Gj6HIGalQG8oiBNB3AJgA==}
+ engines: {node: '>=10.6.0'}
+
+ resolution: {integrity: sha512-v+p6ongsrp0yTGbJXjgxPow2+DL93DASP4kXCDKb8/bwRtt9OEF3whggkkDkGNzgcWy2XaF4a8nZglC7uElscg==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-a/hy+pNsFUTR+Iz8TCJvXudKVLAnz/DyeSUo10I5yvFDQJBFU2s9uqQpoSrJlroHUKoKqzg+epxyP9lqFdzfBQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-uDybUEyfgbyJJ93J1vikTylBX31AkdVYeVPeffMQpf8XN7hSfr0oZOn4VFOIMNvtU5+rHvC5Udg2TgtJKHm23Q==}
+
+ resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-1R5Fho+jBq0DDydt+/vHWj5KJNJCKdARKOCwZUen84I5BreWoLqRLANH1U87eJy1tiASPtMnGqJJq0ZsLoRPOw==}
+
+ resolution: {integrity: sha512-Wdy2Igu8OcBpI2pZePZ5oWjPC38tmDVx5WKUXKwlLYkA0ozo85sLsLvkBbBn/sZaSCMFOGZJ14fvW9t5/d7kdA==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-77PSwercCZU2Fc4sX94eF8k8Pxte6JAwL4/ICZLFjJLqegs7kCuAsqqj/70NQF6TvDpgFjkubQB2FW2ZZddvQg==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-ROoL94jJH2dUVML2Y/5PEDNaSHgeOdSDicUyS7izcF63G6sTc/FTjLub4b8Il9S8S0beOfYt0TaA5qvFK+w0wA==}
+
+ resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==}
+ engines: {node: '>=7.0.0'}
+
+ resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==}
+
+ resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==}
+ engines: {node: '>= 0.8'}
+
+ resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==}
+
+ resolution: {integrity: sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==}
+ engines: {node: '>= 6'}
+
+ resolution: {integrity: sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==}
+ engines: {node: ^12.20.0 || >=14}
+
+ resolution: {integrity: sha512-gk/Z852D2Wtb//0I+kRFNKKE9dIIVirjoqPoA1wJU+XePVXZfGeBpk45+A1rKO4Q43prqWBNY/MiIeRLbPWUaA==}
+ engines: {node: '>=4.0.0'}
+
+ resolution: {integrity: sha512-pJDh5/4wrEnXX/VWRZvruAGHkzKdr46z11OlTPN+VrATlWWhSKewNCJ1futCO5C7eJB3nPMFZA1LeYtcFboZ2A==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==}
+
+ resolution: {integrity: sha512-ZH/0Xs9rMIFWCOmGdmS9eHBTF62qqQYNz4nVjQhkdIO/a0fCP4UIM3mRz/wiqL0L14YgAz/1xio4OaSY4+ON/A==}
+ engines: {node: '>=22'}
+
+ resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==}
+
+ resolution: {integrity: sha512-UaXxwISYJPTr9hwQxMFYZ7kNhSXboMXP+Z3TRX6f1/NyaGPfuNUZOWP1pUEb75B2HjfklIYLVRfWiFZJyC6Npg==}
+
+ resolution: {integrity: sha512-yuToqVvRrj6pfDXREyQAAv8SkAEk/8GS3jQRTiUMm66TVtBYmqQeoEjL2Lmq8Rpo6271vH76InTChTitEAm65w==}
+ engines: {node: '>=22'}
+
+ resolution: {integrity: sha512-XGpFGbMLHwSt74YLTKho7Ib242qi6O8MSX+sRokV4oz7iKXvQWGYZthjIhjRGMxjzVkAubBO512dKGYcefmX3Q==}
+ engines: {node: '>=6.4.0'}
+
+ resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==}
+
+ resolution: {integrity: sha512-+R08/oI0nl3vfPcqftZRpytksBXDzOUveBq/NBVx0sUp1axwzPQrKinNx5yd5sxPu8j1wIy8AfnVQ+5eFdha6Q==}
+
+ resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==}
+ engines: {node: '>= 8'}
+
+ resolution: {integrity: sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==}
+
+ resolution: {integrity: sha512-EmKO5V3OLXh1rtK2wgXRansaK1/mtVdTUEiEI0W8RkvgT05kfxaH29PliLnpLP73yYO6142Q72QNa8Wx/A5CqQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-tuhGbE6CfTM9+5ANGf+oQb72Ky/0+s3xKUpHvShfiz2RxMFgFPjsXuRLBVMtvMs15awe45SRb83D6wH4ew6wlQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-BS8PfmtDGnrgYdOonGZQdLZslWIeCGFP9tpan0hi1Co2Zr2NKADsvGYA8XxuG/4UWgJ6Cjtv+YJnB6MM69QGlQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==}
+ engines: {node: '>=6.0'}
+ peerDependencies:
+ supports-color: '*'
+ peerDependenciesMeta:
+ supports-color:
+ optional: true
+
+ resolution: {integrity: sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==}
+ engines: {node: '>=0.4.0'}
+
+ resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==}
+ engines: {node: '>= 0.8'}
+
+ resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==}
+
+ resolution: {integrity: sha512-2xMCmOoMrdQIPHdsTawECdNPwlVFB9zGcz3kuhmBO6U3oU+UQjsue0i8ayLKpgBcm+hcXPMVSGUN9d+pvJ6+VQ==}
+
+ resolution: {integrity: sha512-O3zJUFUYHJKgzPqioHxfxzBzlSC1eXCSr79gMSBKBP5AgjjpmrydMsMLotEg9fAJF36vdUncb+4ndRNxoPdlSQ==}
+
+ resolution: {integrity: sha512-zIHwmZPRshsCdpMDyVsqGmgyP0yT8GAgXUnkdAoJisxvf33k7yO6OuoKmcTGuXPWSsm8Oh88nZicRLA9Y0rUeA==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-asLFVfWWtJ90ZyOUHMqk7/S2w2guQKxUI2itj3d92ADHhxUSbCMGi1f1cBcJ7xM1To+pE/Khbwo1yuNbMEPKeA==}
+
+ resolution: {integrity: sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA==}
+ engines: {node: '>=0.10.0'}
+ hasBin: true
+
+ resolution: {integrity: sha512-Jc19XPV9y9+2bAdZPkXuVNGNIEFBq9poHC61l8Kv6FdK7DRG3+Ic0rerC0DXOaeHNz8yW0fg/JnF8GQROOF5MA==}
+
+ resolution: {integrity: sha512-a1KM5heqS3gQCZzizXEI8RjJy3QVogULPdeSknt76uLDpBIW/HDGsMg/XgP0riP6PI9COsRvFITKKGDqA8fJxA==}
+ engines: {node: '>=14.0.0'}
+ hasBin: true
+
+ resolution: {integrity: sha512-g/2bn8YTavY4cuS5F+jOS7zmZbXXBV8KZ8yHKfJjFPoKtzBqrpCdNPxBd3tqdBwP7BVd0lGzf7Bk2s0KesWZ4Q==}
+
+ resolution: {integrity: sha512-cVvk1YBSj6571VmV6hdJTqj94Y79xSu8cj6Y9t6ae4Y4431z8/7EJFvu3rVp90xhfuv9BpPKUmaLfTo4+FOGBg==}
+
+ resolution: {integrity: sha512-bO3y10YikuUwUuDUQRM4KfwNkKhnpVO7IPdbsrejwN9/AABJzzTQ4GeHwyzNSrVO+tEH3/Np255a3sVZpZDjvg==}
+ engines: {node: '>=8.0.0'}
+
+ resolution: {integrity: sha512-aUq9/zLAAFYc+a9gy6cd0C3Y/N/RmovLCD8TV8LhIzNhuND6HEgsu96jJz9cbAxvckSPv+Trf2PKEjktoZgFkw==}
+ engines: {node: '>= 22.12.0'}
+ hasBin: true
+
+ resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==}
+
+ resolution: {integrity: sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==}
+
+ resolution: {integrity: sha512-9vhedylFonb2YGogzUKX6+Ja72gOJbN1QHAqdrvqLwhdl/QWbKopzoUC9EbQNVsAns/bx/4uyqalrQAoy1IByw==}
+ engines: {node: '>=10.13.0'}
+
+ resolution: {integrity: sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-dtJUTepzMW3Lm/NPxRf3wP4642UWhjL2sQxc+ym2YMj1m/H2zDNQOlezafzkHwn6sMstjHTwG6iQQsctDW/b1A==}
+ engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
+
+ resolution: {integrity: sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==}
+
+ resolution: {integrity: sha512-6PMWXpdhshVvFp+FoWYs1EvG1Nj0tvk0dZM+XcK0xMEM1czRVcP6ohqPWHy6qPagSpC8j4+p89WXlT+xXJs/fg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-2FpH9Q5i2RRwyEP1AylXe6nYLR5OhaJTZwmlcP0dL/+JCbgg7yyEo/sEK6HeGZRf3dFpWwThaRHVApXSkW3xeg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-HWcBoN6NileqtSydK2FqHbS/LoDd2pqrnQHLyJzBj4kOp/ky2MWMN694xOfkK8/SnUsW2DH7EfyVlydKCsm1Zw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-yPDz7wqpg1/mmHLmS3tcfTfbw5f1eryXvyghYBffGdERwe+mV7ZcWzTR8LR17Kvqt3qfPurjlonmnq3MKXIOXw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==}
+
+ resolution: {integrity: sha512-HKVLS8dvII+xoKW9kmqxbRKrnWEXfJJr/FZhhJmiqIB0e053QNYFqOBouTMO/k5sID4MvCiUCvv8b9M4h32wIA==}
+ engines: {node: '>=18'}
+ hasBin: true
+
+ resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==}
+
+ resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==}
+
+ resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-lW6is4T1NFOYnmqGZIfvixqj7A7sSvScF+DN8EK6K58xI5MZ5UvYe0GjopxOXQtZvUn4eDdVuZ8XSoYWTMEKwA==}
+ engines: {node: '>=20'}
+
+ resolution: {integrity: sha512-ZgEeZXj30q+I0EN+CbSSpIyPaJ5HVQD18Z1m+u1FXbAeT94mr1zw50q4q6jiiC447Nl/YTcIYSAftiGqetwXCA==}
+
+ resolution: {integrity: sha512-WKgKWg5eUxvRZGwW8FvfbaH7AXSh2cL+3j5fMGzUMCxWBJ3dV3a7Wz8y2f/uQ0e3B6WmodD3oS54jTQ9HVTIIg==}
+
+ resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==}
+
+ resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==}
+
+ resolution: {integrity: sha512-wAhAQ+es0aH+x5OofdCHlZZFdqwtiM6lpEosaRIwfg271WYeEQ/tPcXdu5vpzlqZpbJ4WNqaW4QR5UjfG4Dc2w==}
+
+ resolution: {integrity: sha512-g6KuKWmFXc0fID8WWH0jit4g0AGBoJhCkJMb1RmbsSEUNvQ+ZC8D6CUZ+GtF8nMzSPXnhiePyyqqipzNNEnHjg==}
+
+ resolution: {integrity: sha512-GZMtZUTNRpOVIECoXwLNZS5xUGE+mVNbTB8h/7Rwh2TFWcBQiPzTgyZi05BF9UMZKkLJv8XBRJTlU7zg8+ZfMg==}
+
+ resolution: {integrity: sha512-EwVpUMzLVNOmcWW0zi5G3JJwkopB6XXjnVvNBGfqrMMsVew2hkQWl5e/pe/CfYUeS6jt4cIO2MnamEW7v/7wPw==}
+
+ resolution: {integrity: sha512-4wW4RxSmvPXLrh5mgQEiu43qU3bw44N2ss4FTkTkQIbprUhE+/s43QX0j/ttcztdWK7PEkHqVthdc5GdEGDvjA==}
+
+ resolution: {integrity: sha512-OB2k1dlxs5/NAABqeKV2FUHkSD2BbENsCak8yULVcymn3fHIPDVa9TI3SDnJSWYSllZmSYuZXy2gTnsT+Sut1A==}
+
+ resolution: {integrity: sha512-XKv5nnLs6nLF71NgiKJLIZFLkPyIEuOselLG7ujZnGrRfQK8HpvY+WqKhAJUAdLomwVHErVS4LfxFlPq0/FTAw==}
+
+ resolution: {integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==}
+ engines: {node: '>=12.0.0'}
+ peerDependencies:
+ picomatch: ^3 || ^4
+ peerDependenciesMeta:
+ picomatch:
+ optional: true
+
+ resolution: {integrity: sha512-tbZNuJrLwGUp3zshBtdy4W+ORxZuIh8a5ilyIEQDC5rY1f3U20JMry0Ll3WBzU58EZKsEuJFXhb5gwv8CsPvgA==}
+
+ resolution: {integrity: sha512-5giy2PkLYY1cP39p17Ech+2xlpTRL9HLspOfEgm0L6CwBXBTgsK5ou0JtzYuepxkaQ/tvhCFIJ5uXo0OrM2DxA==}
+
+ resolution: {integrity: sha512-eru+uCPQ2g+nLBkf84MHP/KyNNMar0BDy0j+i8Fb72GF9/YHBZ58q7FODUtfVV7XU9nfRUHXSmaM8NmZcIbZ4Q==}
+ engines: {node: '>=20'}
+
+ resolution: {integrity: sha512-dKx12eRCVIzqCxFGplyFKJMPvLEWgmNtUrpTiJIR5u97zEhRG8ySrtboPHZXx7daLxQVrl643cTzbab2tkQjxg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==}
+ engines: {node: '>=14'}
+
+ resolution: {integrity: sha512-vKatAh4SlVfgbv+YtmhiRjhEMJsYpsG1Y2rMQtR+SVSbytsSD1YGzDIcrAJmdFec88u/+VoGmxnl+80gL1tRCQ==}
+ engines: {node: '>= 6'}
+
+ resolution: {integrity: sha512-QsdZSdWoyQfUmgi+GZfow8Du5COG6VRYEo9FlgKUPgH87/Le/fYekHCAKwLdYKHdCZcZfWHg4iOxlD6RoqXciQ==}
+ peerDependencies:
+ react: ^18.0.0 || ^19.0.0
+ react-dom: ^18.0.0 || ^19.0.0
+ peerDependenciesMeta:
+ react:
+ optional: true
+ react-dom:
+ optional: true
+
+ resolution: {integrity: sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-eXvGGwZ5CL17ZSwHWd3bbgk7UUpF6IFHtP57NYYakPvHOs8GDgDe5KJI36jIJzDkJ6eJjuzRA8eBQb6SkKue0g==}
+ engines: {node: '>=14.14'}
+
+ resolution: {integrity: sha512-KYAb4c9BJQI6QqGKthV68OHe0badztdXJWKo0WtBA9IuCFPTKvE5ZdUBglP833aMjhaSPNO4A5j/EkzZtGlKjA==}
+ engines: {node: '>=14.14'}
+
+ resolution: {integrity: sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==}
+ engines: {node: '>=6 <7 || >=8'}
+
+ resolution: {integrity: sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==}
+ engines: {node: '>=6 <7 || >=8'}
+
+ resolution: {integrity: sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==}
+
+ resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==}
+ engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
+ os: [darwin]
+
+ resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==}
+
+ resolution: {integrity: sha512-jObKIik1P2QjPHP5nz5BaOtUlfgS0fWo8IUByNXkM+o+02sJOi94em77GwJKQSJ3gfPHdgzLNrHc1uokV4P/ew==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==}
+
+ resolution: {integrity: sha512-SFdFmIJi+ybC0vjlHN0ZGVGHc3lgE0DxPAT0djjVg+kjOnSqclqmj0KQ7ykTOLP6YxoqOvuAODGdcHJn+43q3g==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==}
+ engines: {node: '>=6.9.0'}
+
+ resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==}
+ engines: {node: 6.* || 8.* || >= 10.*}
+
+ resolution: {integrity: sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-I0UBV/XOz1XkIJHEUDMZAbzCThU/H8DxmSfmdGcKPnVhu2VfFqr34jr9777IyaTYvxjedWhqVIilEDsCdP5G6g==}
+
+ resolution: {integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-w9UMqWwJxHNOvoNzSJ2oPF5wvYcvP7jUvYzhp67yEhTi17ZDBBC1z9pTdGuzjD+EFIqLSYRweZjqfiPzQ06Ebg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-vuNwKSaKiqm7g0THUBu2x7ckSs3XJLXE+2ssL7/MfTGPLLcrJQ/4Uq1CjPTtO5cCIiRxqvN6Twy1qOwhL0Xjcw==}
+ engines: {node: 20 || >=22}
+ deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]
+ hasBin: true
+
+ resolution: {integrity: sha512-Wjlyrolmm8uDpm/ogGyXZXb1Z+Ca2B8NbJwqBVg0axK9GbBeoS7yGV6vjXnYdGm6X53iehEuxxbyiKp8QmN4Vw==}
+ engines: {node: 18 || 20 || >=22}
+
+ resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==}
+ deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]
+
+ resolution: {integrity: sha512-PT6XReJ+D07JvGoxQMkT6qji/jVNfX/h364XHZOWeRzy64sSFr+xJ5OX7LI3b4MPQzdL4H8Y8M0xzPpsVMwA8Q==}
+ engines: {node: '>=10.0'}
+
+ resolution: {integrity: sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-6tfZ91bOr7bOXnK7PRDCGBLa1H4U080YHNaAQ2KsMGlLEzRbk44nsZF2E1IeRc3vtJHPVbKCYgdFbaGO2ljd8g==}
+ engines: {node: '>=10.19.0'}
+
+ resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==}
+
+ resolution: {integrity: sha512-R3pbpkcIqv2Pm3dUwgjclDRVmWpTJW2DcMzcIhEXEx1oh/CEMObMm3KLmRJOdvhM7o4uQBnwr8pzRK2sJWIqfg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==}
+
+ resolution: {integrity: sha512-KIL7eQPfHQRC8+XluaIw7BHUwwqL19bQn4hzNgdr+1wXoU0KKj6rufu47lhY7KbJR2C6T6+PfyN0Ea7wkSS+qQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-M5t5LlJpS1UHMjvwRQVdFHvPISGeLAxNcrWuJkeGh0KxsqCHZ1O3NXZU/8x7cD0BDcGW8kapxMKTvwlqrNkHkA==}
+
+ resolution: {integrity: sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==}
+ engines: {node: '>= 0.8'}
+
+ resolution: {integrity: sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==}
+ engines: {node: '>= 14'}
+
+ resolution: {integrity: sha512-V+23sDMr12Wnz7iTcDeJr3O6AIxlnvT/bmaAAAP/Xda35C90p9599p0F1eHR/N1KILWSoWVAiOMFjBBXaXSMxg==}
+ engines: {node: '>=10.19.0'}
+
+ resolution: {integrity: sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==}
+ engines: {node: '>= 14'}
+
+ resolution: {integrity: sha512-gchesWBzyvGHRO9W8tzUWFDycow5gwjvFKfyV9FF32Y7F50yZMp7mP+T2mJIWFx49zicqyC4uefHM17o6xKIVQ==}
+
+ resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==}
+ deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
+
+ resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==}
+
+ resolution: {integrity: sha512-4gd7VpWNQNB4UKKCFFVcp1AVv+FMOgs9NKzjHKusc8jTMhd5eL1NqQqOpE0KzMds804/yHlglp3uxgluOqAPLw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-aq+t5NAc+cS6rZQQVWC2x98CPqGtKKTMDd4Gaodv0wShnItdKg/51djkGJ1hqH+Oy0ivDftCbSLCQob8zso01w==}
+ engines: {node: '>= 10'}
+
+ resolution: {integrity: sha512-DDfANUiiG2wC1qawP66qlTugJeL5HyzMpfr8lLK+jMQirGzNod0B12cFB/9q838Ru27sBwfw78/rdoU7RERz6A==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-9dgM/cZBnNvjzaMYHVoxxfPj2QXt22Ev7SuuPrs+xav0ukGB0S6d4ydZdEiM48kLx5kDV+QBPrpVnFyefL8kkQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-n4ZT37wG78iz03xPRKJrHTdZbe3IicyucEtdRsV5yglwc3GyUfbAfpSeD0FJ41NbUNSt5wbhqfp1fS+BgnvDFQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-wa56o2/ElJMYqjCjGkXri7it5FbebW5usLw/nPmCMs5DeZ7eziSYZhSmPRn0txqeW4LnAmQQU7FgqLpsEFKM4A==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-J/vG0zBCbIKOQFfufSwyXdMrsohyJIUNkrnmo6WZGzoM7tr/lsbfW5b2BvisL6zsyMzK9UxV9L6c7AoFbyXHOA==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-RKtWF8pGmS87i2D6gqQu/l7EYRlVdfzemCJN/P3UOs//x1QE7mfhvzHIApBTRf7axvT6DMGwSwBXYCT0nfB9xw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-PwwhEakHVKTdRNVOw+/Gyh0+MzlCl4R6qKvkhuvLtPMggI1WAHt9sOwZxQLSGpUaDnrdyDsomoRgNnCfKNSXXg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-+XSoyS05OdBbhFuELhgTCpFNHkpBOJqtsZfUFFpe5QTw+9Sjbh8zitxhQkYAo6wV7e1Vb8cAPvpCk9jGam/82g==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-1pC6N8qWJbWoPtEjgcL2xyhQOP491EQjeUo3qTKcmV8YSDDJrOepfG8pcC7h/QgnQHYSv0mJ3Z/ZWxmatVrysg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-upqt1SkGkODW9tsGNG5mtXTXtECizwtS2kA161M+gJPc1xdb/Ax629af6YrTwcOeQHbewrPNlE5Dx7kzvXTizA==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==}
+
+ resolution: {integrity: sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-lZhclumE1G6VYD8VHe35wFaIif+CTy5SJIi5+3y4psDgWu4wPDoBhF8NxUOinEc7pHgiTsT6MaBb92rKhhD+Xw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-l4RyHgRqGN4Y3+9JHVrNqO+tN0rV5My76uW5/nuO4K1b6vw5G8d/cmFjP9tRfEsdhZNt0IFdZuK/c2Vr4Nb+Qg==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-7zjFAPO4/gwyQAAgRRmqeEeyIICSdmCqa3tsVHMdBzaXXRiqopZL4Cyghg/XulGWrtABTpbnYYzzIRffLkP4oA==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-ISWac8drv4ZGfwKl5slpHG9OwPNty4jOWPRIhBpxOoD+hqITiwuipOQ2bNthAzwA3B4fIjO4Nln74N0S9byq8A==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-BtEeSsoaQjlSPBemMQIrY1MY0uM6vnS1g5fmufYOtnxLGUZM2178PKbhsk7Ffv58IX+ZtcvoGwccYsh0PglkAA==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-9gGx6GTtCQM73BgmHQXfDmLtfjjTUDSyoxTCbp5WtoixAhfgsDirWIcVQ/IHpvI5Vgd5i/J5F7B9cN/WlVbC/w==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-p3EcsicXjit7SaskXHs1hA91QxgTw46Fv6EFKKGS5DRFLD8yKnohjF3hxoju94b/OcMZoQukzpPpBE9uLVKzgQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-6i9mGWSlqzNMEqpCp93KwRS1uUOodk2OJ6b+sq7ZPDSy2WuI5NFIxp/254TytR8ftefexkWn5xNiHUNpPOfSew==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-mfcwb6IzQyOKTs84CQMrOwW4gQcaTOAWJ0zzJCl2WSPDrWk/OzDaImWFH3djXhb24g4eudZfLRozAvPGw4d9hQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==}
+
+ resolution: {integrity: sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==}
+
+ resolution: {integrity: sha512-iHrqe5shvBUcFbmZq9zOQHBoeOhZJu6RQGrDpBgenUm/Am+F3JM2MgQj+rK3Z601fzrL5gLZWtAPH2OBaSVcyw==}
+ engines: {node: '>= 8.0.0'}
+
+ resolution: {integrity: sha512-gnWD14Jh3FzS3CPhF0AxNOJ8CxqeblPTADzI38r0wt8ZyQl5edpy75myt08EG2oKvpyiqSqsx+Wkz9vtkbTqYQ==}
+ engines: {node: '>= 18.0.0'}
+
+ resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==}
+
+ resolution: {integrity: sha512-6B3tLtFqtQS4ekarvLVMZ+X+VlvQekbe4taUkf/rhVO3d/h0M2rfARm/pXLcPEsjjMsFgrFgSrhQIxcSVrBz8w==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-FFUtZMpoZ8RqHS3XeXEmHWLA4thH+ZxCv2lOiPIn1Xc7CxrqhWzNSDzD+/chS/zbYezmiwWLdQC09JdQKmthOw==}
+ engines: {node: '>=20'}
+
+ resolution: {integrity: sha512-ykkVRwrYvFm1nb2AJfKKYPr0emF6IiXDYUaFx4Zn9ZuIH7MrzEZ3sD5RlqGXNRpHtvUHJyOnCEFxOlNDtGo7wg==}
+ engines: {node: 20 || >=22}
+
+ resolution: {integrity: sha512-wpHYzhxiVQL+IV05BLE2Xn34zW1S223hvjtqk0+gsPrwd/8JNLXJgZZM/iPFsYc1xyphF+6M6EvdE5E9MBGkDA==}
+ engines: {node: '>=10'}
+ hasBin: true
+
+ resolution: {integrity: sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ==}
+ hasBin: true
+
+ resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==}
+
+ resolution: {integrity: sha512-SFNOvSJ+Dgf/9An904Yx+CgSlIPCkIpao4qo51lpee25TIRejdH3rhR4EZMGoNx3/TP3O+wzWuiTFl4sqbltzA==}
+ hasBin: true
+
+ resolution: {integrity: sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==}
+ engines: {node: '>=6'}
+ hasBin: true
+
+ resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==}
+
+ resolution: {integrity: sha512-w+HwgljXpVwZ3IidoUR1qPZxSOQ+NRQWuVe6a5pe8XbHsNZE4UAwVPUvzZagn7yBKbJtt6UJnRFYbNTRPZI45Q==}
+
+ resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==}
+
+ resolution: {integrity: sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==}
+
+ resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==}
+ engines: {node: '>=6'}
+ hasBin: true
+
+ resolution: {integrity: sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==}
+
+ resolution: {integrity: sha512-zwOTdL3rFQ/lRdBnntKVOX6k5cKJwEc1HdilT71BWEu7J41gXIB2MRp+vxduPSwZJPWBxEzv4yH1wYLJGUHX4Q==}
+
+ resolution: {integrity: sha512-p/nXbhSEcu3pZRdkW1OfJhpsVtW1gd4Wa1fnQc9YLiTfAjn0312eMKimbdIQzuZl9aa9xUGaRlP9T/CJE/ditQ==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==}
+
+ resolution: {integrity: sha512-0/BnGCCfyUMkBpeDgWihanIAF9JmZhHBgUhEqzvf+adhNGLoP6TaiI5oF8oyb3I45P+PcnrqihSf01M0l0G5+Q==}
+
+ resolution: {integrity: sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-5Q8PjoSEdtGIB8fikZsTem5vgRo4F2mR6vUKTDW/H1g6MtAt8e3duQbg/QxL5yzg6BZhor2KOUm3hhWMWLTZwg==}
+
+ resolution: {integrity: sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [android]
+
+ resolution: {integrity: sha512-gEpRTalKdosp4Bb8qWtc2iOgE5SeIHlpS1up9bFq2wAyYhl1UdTObYiHe98zEM9SQvSoqQZ1IQD0JNpg3Ml5pg==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [android]
+
+ resolution: {integrity: sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [darwin]
+
+ resolution: {integrity: sha512-Sciaz8eenNTKn9b3t7+xr0ipTp9YxKQY4npwQ3mrRuL0BAVHBLyZxofhaKBAVtzmtRZ/zTyo0/to4B1uWG/Djg==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [darwin]
+
+ resolution: {integrity: sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [darwin]
+
+ resolution: {integrity: sha512-Z5UPAxzrjlWNNyGy6i65cJzzvgJ5D3T6wMvs+gWpY9d7qRhANrxqAp6LhxIgZhWEw18RfJTGcRxjuLIBr+m8XQ==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [darwin]
+
+ resolution: {integrity: sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [freebsd]
+
+ resolution: {integrity: sha512-QQM/Ti/hQajJwCY+RiWuCZ9sdtI/XQk7nDK5vC8kkdwixezOlDgvDx7+RT+QjK6FcFT4MpsuoBnHIo/O3StRRg==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [freebsd]
+
+ resolution: {integrity: sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm]
+ os: [linux]
+
+ resolution: {integrity: sha512-N7FVBe6iS24MlM6R/4RBTxGhQheZGs7tiQ9U32UtF75NzP5Q7xWPRqLBCKxlRQRk3rY1jCIPLzx7WzOhuUIRLQ==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm]
+ os: [linux]
+
+ resolution: {integrity: sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [linux]
+
+ resolution: {integrity: sha512-j2v/itmy4HlNxlc6voKXYgBqNi0Ng2LShg4z7GufpEgs05P+2suBVyi9I6YHq5uoVFx9ETin3eCEhLVyXGQnKg==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [linux]
+
+ resolution: {integrity: sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [linux]
+
+ resolution: {integrity: sha512-yiO5ROMuYQgXbC60yjZU5CYSFZGKXL0HFATXt9mHJn1+zW55oCtMI9NfcVhYLMFDL7gV7oBPon/EmMMGg2OvtQ==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [linux]
+
+ resolution: {integrity: sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [linux]
+
+ resolution: {integrity: sha512-ar+Ju7LmcN0Jo4FpL4hpFybwNG9/3A/Br5KW2n2jyODg3MEZXaDYADdemoNS+BDNfMgKvylJLj4S5tyRActuAg==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [linux]
+
+ resolution: {integrity: sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [linux]
+
+ resolution: {integrity: sha512-RYiYbkokw0trfKqqzfF55lginwEPrD3OJDfTuJzFs1MK6iFnDenaz1fqLLtX4ITG3OktJQXOeTaw1awrBAlZPw==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [linux]
+
+ resolution: {integrity: sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [win32]
+
+ resolution: {integrity: sha512-1K+MPfLSFVpphzpdbfkhlWk6wBrTObBzS2T6db10PNOZgR9GoVsAWzwNyuhUYYbTp23j+4RrncfujZ4uAzXvwA==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [win32]
+
+ resolution: {integrity: sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [win32]
+
+ resolution: {integrity: sha512-OlEICDx/Xl0FqSp4bry8zFnCvGpig3Gl4gCquvYwHuqJKEC1+n9NgDniFvqHGmMv1ZkqDJrDqKKSykTDX+ehuA==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [win32]
+
+ resolution: {integrity: sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==}
+ engines: {node: '>= 12.0.0'}
+
+ resolution: {integrity: sha512-WkUDrojuJs0xkgGf2udWxa3yGBRxPtxUkB79i6aCZLRgc7PM8fZe9TosfPDcvEpQZbuFASnHYmRLBLUbmLOIIA==}
+ engines: {node: '>= 12.0.0'}
+
+ resolution: {integrity: sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==}
+
+ resolution: {integrity: sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==}
+
+ resolution: {integrity: sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-U4N8FgzmWxc8k1VH8Kr6lQg18U7Fjvby6wXHVRX/ZZ7IwWbRMgrRbP0Wrb5q5NVinryp4SQampHKdvtecItxUg==}
+ engines: {node: 20 || >=22}
+
+ resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==}
+
+ resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==}
+
+ resolution: {integrity: sha512-OkeDaAZ/bQCxeFAozM55PKcKU0yJMPGifLwV4Qgjitu+5MoAfSQN4lsLJeXZ1b8w0x+/Emda6MZgXS1jvsapng==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-4npg8C/aeb+kOZo8/6XZrwzo+neA+NQU7U6BHP3KxqTzprtYQb+Fs752GRuvsJLREvblRjQng4F76DEe2QKblQ==}
+ engines: {node: '>=20.0.0'}
+
+ resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==}
+ engines: {node: '>= 0.6'}
+
+ resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==}
+ engines: {node: '>= 0.6'}
+
+ resolution: {integrity: sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==}
+ engines: {node: '>=4.0.0'}
+ hasBin: true
+
+ resolution: {integrity: sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A==}
+ engines: {node: '>=10.0.0'}
+ hasBin: true
+
+ resolution: {integrity: sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==}
+ engines: {node: '>=4'}
+
+ resolution: {integrity: sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==}
+ engines: {node: 18 || 20 || >=22}
+
+ resolution: {integrity: sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==}
+
+ resolution: {integrity: sha512-7o1wEA2RyMP7Iu7GNba9vc0RWWGACJOCZBJX2GJWip0ikV+wcOsgVuY9uE8CPiyQhkGFSlhuSkZPavN7u1c2Fw==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==}
+ engines: {node: '>=16 || 14 >=14.17'}
+
+ resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==}
+
+ resolution: {integrity: sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==}
+ engines: {node: '>=16 || 14 >=14.17'}
+
+ resolution: {integrity: sha512-KZxYo1BUkWD2TVFLr0MQoM8vUUigWD3LlD83a/75BqC+4qE0Hb1Vo5v1FgcfaNXvfXzr+5EhQ6ing/CaBijTlw==}
+ engines: {node: '>= 18'}
+
+ resolution: {integrity: sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==}
+ hasBin: true
+
+ resolution: {integrity: sha512-FyFLkNUAAETzCvf851mZcl+v+kaZrKq+UM+XmkY4G8n+ny/WYfiWh9j0fhSQ1KOKVQrM9/cLO11THO2k71HJlg==}
+
+ resolution: {integrity: sha512-xd4FeWOnnXsJHmAaRCLNbOS7mEaNOangjMt3Pl241H07f1kxW48fADQ/8O5hLLNhf1qdlozgY3PPAHBdOoU7AA==}
+
+ resolution: {integrity: sha512-lsCsW9uJ+iMJj8MSiLccpUC+ZUpoSspaX6Pm78KrnZKMioCPAPG6WeG1d1d/Ywg+z1mny+STP6VyEYW+3nAqNw==}
+ peerDependencies:
+ react: ^18.0.0 || ^19.0.0
+ react-dom: ^18.0.0 || ^19.0.0
+ peerDependenciesMeta:
+ react:
+ optional: true
+ react-dom:
+ optional: true
+
+ resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}
+
+ resolution: {integrity: sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ==}
+ engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
+ hasBin: true
+
+ resolution: {integrity: sha512-O9XXMXLeRHQtvh43NCah3y9N1K69tecOmu8Y5p2ay4iXvtpbQr0VaroJF9EmRVp3vkdoj3qn4IFfX+ZYtC94fw==}
+ engines: {node: '>=22.12.0'}
+
+ resolution: {integrity: sha512-2xP/IGGMmmSQpI1+O/k72jF/ykvZ89JeuKX3TLJAYPDVLUalrshrLHkeVcCCZqG/eEa635cr8IBYzgnDvM2O8Q==}
+
+ resolution: {integrity: sha512-OMcPNvqTCFUnNaBlmdgq+lfNqY7gTiSmNRDjY3uAXRyudeKZEZxu3CLtjMQrx4zZxCX2b/mpNqTtwuCJgXhHkw==}
+ engines: {node: ^20.17.0 || >=22.9.0}
+ hasBin: true
+
+ resolution: {integrity: sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==}
+
+ resolution: {integrity: sha512-BdiKAgbfRlvfMq/XzO/AF9NPmaA8a+YpLAyAFTVFBj3gARrAIfWvNq7Q7NE4se3KgFu0KkrvQMxTS0XVnsGzHg==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-Zhq3a+yFKrYwSBluL4H9XP3m3y5uvQkB/09CwDruCiRmR/UJYnn9W4R48ry0uGC70aeTPKLynBtscP9efFFcPw==}
+ engines: {node: ^20.17.0 || >=22.9.0}
+ hasBin: true
+
+ resolution: {integrity: sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-nK28WOo+QIjBkDduTINE4JkF/UJJKyf2EJxvJKfblDpyg0Q+pkOHNTL0Qwy6NP6FhE/EnzV73BxxqcJaXY9anw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-0eJJY6hXLGf1udHwfNftBqH+g73EU4B504nZeKpz1sYRKafAghwxEJunB2O7rDZkL4PGfsMVnTXZ2EjibbqcsA==}
+ engines: {node: '>=14.0.0'}
+
+ resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==}
+
+ resolution: {integrity: sha512-19YVAg7T+WTrxggPukVq7DjTv6+PJ867TmhCvBsYwmbFCsZd344rq2Ld1p0wo8f8Qrrhgp82c6FJRqdXWtSEhg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-BZOr3nRQHOntUjTrH8+Lh54smKHoHyur8We1V8DSMVrl5A2malOOwuJRnKRDjSnkoeBh4at6BwEnb5I7Jl31wg==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==}
+
+ resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==}
+
+ resolution: {integrity: sha512-3O/iVVsJAPsOnpwWIeD+d6z/7PmqApyQePUtCndjatj/9I5LylHvt5qluFaBT3I5h3r1ejfR056c+FCv+NnNXg==}
+ engines: {node: 18 || 20 || >=22}
+
+ resolution: {integrity: sha512-eRWB5LBz7PpDu4PUlwT0PhnQfTQJlDDdPa35urV4Osrm0t0AqQFGn+UIkU3klZvwJ8KPO3VbBFsXquA6p6kqZw==}
+ engines: {node: '>=12', npm: '>=6'}
+
+ resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==}
+
+ resolution: {integrity: sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-wlfUczU+n7Hy/Ha5j9a/gZNy7We5+cXp8YL+X+PG8S0KXxw7n/JXA3c46Y0zQznIJ83URJiwy7Lh56WLokNuxg==}
+
+ resolution: {integrity: sha512-BndPH67/JxGExRgiX1dX0w1FvZck5Wa4aal9198SrRhZjH3GxKQUKIBnYJTdj2HDN3UQAS06HlfcSbQj2OHmaw==}
+
+ resolution: {integrity: sha512-bk1ZMTwG/Vymx+zPoa28MhNzucFvXJWp3csrSuxuHPSMeUettaCoQ5Jvg07mtC4JGNpcfTwz41oVCnNgBK9+vA==}
+ hasBin: true
+
+ resolution: {integrity: sha512-Oo/NZcSWccq8KyoG7gLE9fnltgHns+pNCjCAp/WmjsUySi+sX7y4z4Xqu4fVb42CDHzRPl33fjzT15V1wvcyhA==}
+ engines: {node: '>=16.0.0'}
+
+ resolution: {integrity: sha512-uysumyrvkUX0rX/dEVqt8gC3sTBzd4zoWfLeS29nb53imdaXVvLINYXTI2GNqzaMuvacNx4uJQ8+b3zXR0pkgQ==}
+ engines: {node: '>=10.4.0'}
+
+ resolution: {integrity: sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-zkd+e9S1AQHhmaBKye9zlFHWjOwVgqXl1q3ECYy8561K7qxR2cREf/STLskulBFd78k6AOFeA+ff1TtEzk9bAA==}
+ engines: {node: ^10 || ^12 || >=14}
+
+ resolution: {integrity: sha512-b9Eb8h2eVqNE8edvKdwqkrY6O7kAwmI8kcnBv1NScolYJbo59XUF0noFq+lxbC1yN20bmC0WBEbDC5H/7ASb0A==}
+ engines: {node: '>=14.0.0'}
+ hasBin: true
+
+ resolution: {integrity: sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-mQUvGU6aUFQ+rNvTIAcZuWGRT9a6f6Yrg9bHs4ImKF+HZCEK+plBvnAZYSIQztknZF2qnzNtr6F8s0+IuptdlQ==}
+ engines: {node: ^14.13.1 || >=16.0.0}
+
+ resolution: {integrity: sha512-iG+GYldRf2BQ0UDUAd6JQ/RwzaQy6mXmsk/IzlYyal4A4SNFw54MeH4/tLkF4I5WoWG9SQwuqWzS99jaFQHBuQ==}
+ engines: {node: ^20.17.0 || >=22.9.0}
+
+ resolution: {integrity: sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==}
+
+ resolution: {integrity: sha512-oCkNVj4OKnKEcocVBcDfiIugN1/cE6rgfT3nCtzeqZPA8+rIxMaQ0xXzIkGP8Gj2qUaP1UR7uhJ1VD8lUCpzCg==}
+
+ resolution: {integrity: sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==}
+ engines: {node: '>=0.4.0'}
+
+ resolution: {integrity: sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-TjNPblN4BwAWMXU8s9AEz4JmQxnD1NNL7bNOY/AKUzyamc379FWASUhc/K1pL2noVb+XmZKLL68cjzLsiOAMaA==}
+
+ resolution: {integrity: sha512-VS7sjc6KR7e1ukRFhQSY5LM2uBWAUPiOPa/A3mkKmiMwSmRFUITt0xuj+/lesgnCv+dPIEYlkzrcyXgquIHMcA==}
+
+ resolution: {integrity: sha512-PLgQXQ6H2FWCaeRak8vvk1GW462lMxB5s3Jm673N82zI4vqtVUPuZdffdZbPDFRoU8kAhItWFtPCWiPpp4/EDg==}
+
+ resolution: {integrity: sha512-BbubeCEyTuQjVMakvJQ/Sxbc93F2pwmbsxONT/ZRrwU7Ua38d8unYTwXpTVLAKJ4BDuH9IGztCjQcd/N/39Dvg==}
+ engines: {node: '>=16.0.0'}
+
+ resolution: {integrity: sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg==}
+
+ resolution: {integrity: sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-JDk8dgif51OjFoDE70+OT9ICyYr+69HlmihNwp1+Nsfbna3t5sIiCa9ZJktDmQ4/1b/rn26hIAR2uYXDMr5r0Q==}
+ peerDependencies:
+ react: ^19.3.0
+
+ resolution: {integrity: sha512-JtydAkBvU9UTEe5qNC+POhu+ZBNM7rlKY2IegwXc7Idj7xfRG16x5RZrw3mju+XlqBxfvb2ky9P3jUp9WyWC1g==}
+ engines: {node: '>=22.22.0'}
+ peerDependencies:
+ react: '>=19.2.7'
+ react-dom: '>=19.2.7'
+ peerDependenciesMeta:
+ react-dom:
+ optional: true
+
+ resolution: {integrity: sha512-E8LUcbtBWt20bbl2YoHfx4ZDBdxVTfOKtCZn9cDSJ4l6/nuoApcpIBcj47t2wZoVX8g2ZHuMHbiShgCR1T5Sog==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-BNg9EN3DD3GsDXX7Aa8O4p92sryjkmzYYgmgTAc6CA4uGLEDzFfxOxugu21akOxpcXHiEgsYkC6nPsQvLLLmEg==}
+ hasBin: true
+
+ resolution: {integrity: sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==}
+
+ resolution: {integrity: sha512-P4nbQYQfePJxRSmY+v/KINxVucm4NF3p3s7pJveMTtom52FR4YGltUQLB8idDXwDDWW+eYrWDFbuzUnjoWHF7g==}
+
+ resolution: {integrity: sha512-00o4I+DVrefhv+nX0ulyi3biSHCPDe+yLv5o/p6d/UVlirijB8E16FtfwSAi4g3tcqrQ4lRAqQSoFEZJehYEcw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-9ns8odR8e9q3otKeHj3DE80jZYKg6zVeZKE+zQmRKXFoVUcuiTGeO6iusDhPRoIQQPVPRvH+SfBhrTud4eczuw==}
+ engines: {node: '>=4'}
+
+ resolution: {integrity: sha512-1s+CxXjJ71i7LNVy8nYwg47XV4y6lAnOEhsMtSKq3WpmPfhl9LuKlTqKIn/3yUpE8lBz+W+TT88Bxyhnr0U4yw==}
+
+ resolution: {integrity: sha512-dYqgNSZbDwkaJ2ceRd9ojCGjBq+mOm9LmtXnAnEGyHhN/5R7iDW2TRw3h+o/jCFxus3P2LfWIIiwowAjANm7IA==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-E8VgUoSK+LMQrLboDxavm76MTBGrQhx9RiNuomRmYnZ10Uw12HrI8fkxOOncktb2hBpzIZ9SV/347euQHG5z+g==}
+ engines: {node: '>=4'}
+
+ resolution: {integrity: sha512-RvwtGe3d7LvWiDQXeQw8p5asZUmfU1G/l6WbUXeHta7Y2PEIvBTwH6E2EfmYUK8pxcxEdEmaomqyp0vZZ7C+3Q==}
+
+ resolution: {integrity: sha512-EWV80YgFaVgFrjGCAsV7oybp4GOxbls5RzBg8OB0nKEVXsBJR1JlV8Di1JhCROg3MzTfe1RI8yitIm1eOs68iA==}
+ hasBin: true
+
+ resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-vHjcY2MlAITJhC0eRD/Vv8Vlgmu9Sd3LX9zZvtGzU5ZImdTN3+d6e/4mnTyV8vEbyf1sgNIrWxhWlrys52OkEA==}
+ engines: {node: '>=12', npm: '>=6'}
+
+ resolution: {integrity: sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g==}
+
+ resolution: {integrity: sha512-Dj/cW9zBV2aRj6XzCxuGIs3ESZKv02jixne3q6jFZYZ3/Tg09gHHviSMDL4kObh9pqSahdRHEnDoaP2gn8YLhA==}
+ engines: {node: '>= 0.4'}
+ hasBin: true
+
+ resolution: {integrity: sha512-4gl03wn3hj1HP3yzgdI7d3lCkF95F21Pz4BPGvKHinyQzALR5CapwC8yIi0Rh58DEMQ/SguC03wFj2k0M/mHhw==}
+
+ resolution: {integrity: sha512-I1XxrZSQ+oErkRR4jYbAyEEu2I0avBvvMM5JN+6EBprOGRCs63ENqZ3vjavq8fBw2+62G5LF5XelKwuJpcvcxw==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==}
+ engines: {node: '>= 4'}
+
+ resolution: {integrity: sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==}
+ engines: {iojs: '>=1.0.0', node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==}
+
+ resolution: {integrity: sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==}
+ deprecated: Rimraf versions prior to v4 are no longer supported
+ hasBin: true
+
+ resolution: {integrity: sha512-CHhPh+UNHD2GTXNYhPWLnU8ONHdI+5DI+4EYIAOaiD63rHeYlZvyh8P+in5999TTSFgUYuKUAjzRI4mdh/p+2A==}
+ engines: {node: '>=8.0'}
+
+ resolution: {integrity: sha512-/5apOkwWxtACcQtZ5WlrAsKS4JwXVThQPJZ3RqIruRY9UG9M8e0VlXN068xum/JRKA4aIUoJ13ghe/kGCvidiQ==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ hasBin: true
+
+ resolution: {integrity: sha512-EAP5ZHcz2ijbgCWwPkpI7zh6bfsri2Ez5FtCy2dCp1k62duXzfG7DLGGh7RU2QQXWwavT+u4qpvDF/TWOiiGTw==}
+ engines: {node: '>=18.0.0', npm: '>=8.0.0'}
+ hasBin: true
+
+ resolution: {integrity: sha512-wtZlHyOje6OZTGqAoaDKxFkgRtkF9CnHAVnCHKfuj200wAgL+bSJhdsCD2l0Qx/2ekEXjPWcyKkfGb5CPboslg==}
+ engines: {node: '>=0.4'}
+
+ resolution: {integrity: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==}
+
+ resolution: {integrity: sha512-iKE9w/Z7xCzUMIZqdBsp6pEQvwuEebH4vdpjcDWnyzaI6yl6O9FHvVpmGelvEHNsoY6wGblkxR6Zty/h00WiSA==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-x/+Cz4YrimQxQccJf5mKEbIa1NzeCRNI5Ecl/ekmlYaampdNLPalVyIcCZNNH3MvmqBugV5TMYZXv0ljslUlaw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-tAtCGFPPP02VroDVzp4daGi6bC7jWG+41D47GKf18FeH/ubvKQHT9VmhAkvtjNOmJwqtApzWeUpEhkyEYULvmw==}
+ hasBin: true
+
+ resolution: {integrity: sha512-b3rppTKm9T+PsVCBEOUR46GWI7fdOs00VKZ1+9c1EWDaDMvjQc6tUwuFyIprgGgTcWoVHSKrU8H31ZHA2e0RHA==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-9ZyI08PsvdQl2r/bBIGubpVdR3RR9sY6RDiWFPreA21C/EFlQhmgo20UZlNjZMMZNubusLhAQozkA0Od5J21Eg==}
+
+ resolution: {integrity: sha512-42tBVwLWnaQvW5zc4HbZrTuWccECCZfBi92FDuwtqxasH+JbPB3/FOKb1m222K42R4WxuxzzMsTswfzgtSu64Q==}
+ engines: {node: '>=11.0.0'}
+
+ resolution: {integrity: sha512-juorfCmIkIw8tT+p5BXSm6PJjQF/ycEYmKyzURCIt/RaZIhL+PulbQ9Yu2z1HdOJDdqDTlxA1+xKBmHXJsczAw==}
+
+ resolution: {integrity: sha512-lnd81MQEZKjhW/Gd2TQqdd4XP6QYNdDW/EP+I7nTrFHP9y2LmaGPIHk9xsnzcOiEr1c39c/e84xFgGviQKBTRw==}
+
+ resolution: {integrity: sha512-YM3/ITh2MJ5MtzaM429anh+x2jiLVjqILF4m4oyQB18W7Ggea7BfqdH/wGMK7dDiMghv/6WG7znWMwUDzJiXow==}
+
+ resolution: {integrity: sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==}
+ hasBin: true
+
+ resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==}
+ hasBin: true
+
+ resolution: {integrity: sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==}
+ engines: {node: '>=10'}
+ hasBin: true
+
+ resolution: {integrity: sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==}
+ engines: {node: '>=10'}
+ hasBin: true
+
+ resolution: {integrity: sha512-8I8TjW5KMOKsZQTvoxjuSIa7foAwPWGOts+6o7sgjz41/qMD9VQHEDxi6PBvK2l0MXUmqZyNpUK+T2tQaaElvw==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-GL2BWwVa6JydKO6l/ljVgjAZF4QJ3S7dWDWi53s5GZT8PJzD2fNxi67HANQGKAqPrwEpL5ba7gUBGi0Ls/sEoQ==}
+ engines: {node: '>=20.0.0'}
+
+ resolution: {integrity: sha512-xletSdAI5efyVJjsatBbzDkXl3M/Zmad3xfnQe7ZXuBB0yNwW7C2WFsNGjdRNfZunmNHQuX79xs/ACMTLCdcew==}
+
+ resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-RJRdvCo6IAnPdsvP/7m6bsQqNnn1FCBX5ZNtFL98MmFF/4xAIJTIg1YbHW5DC2W5SKZanrC6i4HsJqlajw/dZw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==}
+
+ resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-mjn/0bi/oUURjc5Xl7IaWi/OJJJumuoJFQJfDDyO46+hBWsfaVM65TBHq2eoZBhzl9EchxOijpkbRC8SVBQU0w==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-6x6dK6zJdpTzF4sQeNYxwtvBzf6Eg4GtlesS94HOvTudUeyK2WXAaIfmDgsyslYrRBeFIlsi54AYsFGUuhmvrQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==}
+
+ resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==}
+ engines: {node: '>=14'}
+
+ resolution: {integrity: sha512-a2B9Y0KlNXl9u/vsW6sTIu9vGEpfKu2wRV6l1H3XEas/0gUIzGzBoP/IouTcUQbm9JWZLH3COxyn03TYlFax6w==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-RQsvleCbF8cVHEv+xuDGaA4pOizFqJ0GgjtMSRo6oP8pnN7WsigHgVGey6aILRBKv4W2YOMHLqbKdnB6hpB9fw==}
+ engines: {node: '>=20.0.0'}
+
+ resolution: {integrity: sha512-w6AxtubXa2wTXAUsZMMWERrsIRAdrK0Sc+FUytWvYAhBJLyuI4llrMIC1DtlNSdI99EI86KZum2MMq3EAZlF9Q==}
+
+ resolution: {integrity: sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==}
+
+ resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-d8EqvL+k/SOXCreS/SUzg2ciyHqBBLcN/yuRjFsbvVhHTE2pgei7oAhmPM7kWFbkX6OSMQfUq4KbkF3au9lhYQ==}
+ engines: {node: '>= 12'}
+
+ resolution: {integrity: sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==}
+ engines: {node: '>= 10.x'}
+
+ resolution: {integrity: sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==}
+
+ resolution: {integrity: sha512-jH9EhtKIjuXZ2cWxmXS8ZP80XyC3iasQxMDV8jzhNJpfDb7VbQLVW4Wvsxz9QZvzV+G4YoSfBUVKDOyxLzi/sg==}
+ engines: {node: '>= 6'}
+
+ resolution: {integrity: sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==}
+ engines: {node: '>= 0.8'}
+
+ resolution: {integrity: sha512-eLoXW/DHyl62zxY4SCaIgnRhuMr6ri4juEYARS8E6sCEqzKpOiE521Ucofdx+KnDZl5xmvGYaaKCk5FEOxJCoQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-tHNHTxInrYLCga9O9YGxWA3G9/nnzQw8UGAyqGx3Ar1pSTTzIuM4woFSq4SowkXCjJIwq5sIiQvEfRI9tCH1qQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-PwvK7BU+CMTJGYQCTZb5RWXIML92lftJLhQz1tBzgKiqGxJaMlBAa48POXaNAC2s4y8jr3EFqrkF9+44neS46w==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-2+3aDAOmPTmuFwjDnmJG2ctEkQKVki7vOSqaxkv42Mowj1V6PnvuwFCRrR5lChUux1TBskPjfkeTOhqczDMxTw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==}
+
+ resolution: {integrity: sha512-rHqiFh1elqCQ9WPLIC8I0Q/g/wj5J1eMkyoiD6eoQApWHP0FtlK7rqnhmabL5VUY9JQCcqwwvlOaSuutekgyrw==}
+ engines: {node: '>=4'}
+
+ resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-ZprKx+bBLXv067WTCALv8SSz5l2+XhpYCsVtSqlMnkAXMWDq+/ekVbl1ghqP9rUHTzv6sm/DwCOiYutU/yp1fw==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-MvjXzkz/BOfyVDkG0oFOtBxHX2u3gKbMHIF/dXblZsgD3BWOFLmHovIpZY7BykJdAjcqRCBi1WYBNdEC9yI7vg==}
+ engines: {node: '>= 8.0'}
+
+ resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-gOhV3P7ufE62QDGg1zVaTgCR+EtPv92k2nIhVcVKcLmxT1sUBsQGhnZj175j+MqRt4zLF7ic+sCYjfhxMxj7YQ==}
+
+ resolution: {integrity: sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-MFO/QzvtAOmJbkhOaCTvbGcFN9L9b+JunIsDwaKljSOdcLMea3NJ1k9Usz/rjdfSXTq4dfzfeS7W4p4YOAAHeA==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-aoBAniQmmwtcKp/7BzsH8Cxzv8OL736p7v1ihGb5e9DJ9kTwGWHrQrVB5+lfVDzfGrdRzXch+ig7LHaY1JTOrg==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-C5tjlC/HCtVUOi3KWVokd4vHVViOmGjtLwIh4MuzPo/nMYTV/p1urt3RnMz2IWXDdKEGJH3k5+KPxtqRsUYGtg==}
+
+ resolution: {integrity: sha512-yYrrsWnrXMcdsnu/7YMYAofM1ktpL5By7vZhf15CrXijWWrEYZks5AXBudalfSWJLlnen/QUJUB5aoB0kqZUGA==}
+ engines: {node: '>=6.0.0'}
+
+ resolution: {integrity: sha512-G13vtMYPT/J8A4X2SjdtBTphZlrp1gKv6hZiOjw14RCWg6GbHuQBGtjlx75xLbYV/wEc0D7G5K4rxKP/cXk8Bw==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-bWnjSNscmuI+GJze6ZupnHP8G/cTcsJF+bXCeQknk2SHQsgbNJnLrqiH9jZ2W4STPVXH2mDKKRX3iwPhc9Cn/Q==}
+ engines: {node: '>=10'}
+ hasBin: true
+
+ resolution: {integrity: sha512-e2zZ96wSChazBsbENf/Pcm/4swHt2cEKQ92rhUjkL9GCKiTDJIaTBenjE/m9DXi0QBmTMDkFDdOomUy20A1tDQ==}
+ engines: {node: '>=20'}
+
+ resolution: {integrity: sha512-01EAw5EDrcVrdgyCLgoSPvqznC0sVxDSVeiOz09FUpjh71G79VCqneOr+xvt7T1r76CF6ZZfPjHorN2+d+3mqA==}
+
+ resolution: {integrity: sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==}
+ engines: {node: '>=12.0.0'}
+
+ resolution: {integrity: sha512-RwM7MoPojPxsOBYnyd2hy0bxtIlVrihNs9pj5SUvY8Zz1sQcQG2tG1hSr8PDxfgEB8RNKDhqbIlroIarSNDNsQ==}
+
+ resolution: {integrity: sha512-e0votIpp4Uo2AJYSzVHV6xCcawuiez3DzqDAbrTc3YxBkplN6e+dM13ZeIcZnDg/QpSuU2zfZ3rzwY8ukEnaXw==}
+ engines: {node: '>=14.14'}
+
+ resolution: {integrity: sha512-m1TdR/rvT7kgGJZhspNtXdsdYk0fddFpJJFlG5s+UkPFo6lkLoZ3YLOaovPYjq1R75NP5JfeTlSHaOsE09peCg==}
+ engines: {node: '>=20'}
+
+ resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==}
+ engines: {node: '>=0.6'}
+
+ resolution: {integrity: sha512-95Pu1QXQvruGEhv62XCMO3Mm90GscOCClvrIUwCM0PYOXK3kaF3l3sIHxx71ThJfcbM2O5Au6SO3AWCSEfW4mQ==}
+
+ resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==}
+
+ resolution: {integrity: sha512-Yiex1Ovn8z2xPpOWckIiysV1SSyRMY9BkLF++q0yKiDxCqRhosKfMg3janKkiLBwZ5c/YryloKwGZcrEmtwxKw==}
+ engines: {node: '>=18.0.0'}
+ hasBin: true
+
+ resolution: {integrity: sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-eaBzG6MxNzEn9kiwvtre90cXaNLkmadMWa1zQMs3XORCXNbsH/OewwbxC5ia9dCxIxnTAsSxXJaa/p5y8DlvJg==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-BaXgOuIxz8n8pIq3e7Atg/7s+DpiYrxn4vdot3w9KbnBhcRQq6o3xemQdIfynqSeXeDrF32x+WvfzmOjPiY9lg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-0FHJvLPqZ7KJzp17O13jfsAjsqazgrxBu2zEK95PmUz8lv2+GjRuxUInCr2Rk9Dms3ihN21zJ929ZO43yJ95QQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-phPGCwqr2+Qo0fwniCE8e4pKnGu/yFb5nD5Y8bf0EEeiI5GklnACYA9GFy/DrAeRrKHXvHn+1SUsOWgJp6RO+g==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-8FYau96o3NKOhbjKi/qNvG/W5jhzxkbdm5sj9AbZ/5T5sWqn3hJgLfGx27sRKZWTvyzCP8dLRBTf5tBTSRVUNA==}
+ engines: {node: '>=16.20.0'}
+ hasBin: true
+
+ resolution: {integrity: sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==}
+
+ resolution: {integrity: sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg==}
+
+ resolution: {integrity: sha512-R+RODBqp6i2pPflGdq+xIOUkl+RNfGgHwoinecKu/JCuf2uO06cOKoDbI2P7Dn6KcswdKwrczbU6IYJ6K8X+wg==}
+ engines: {node: '>=18.17'}
+
+ resolution: {integrity: sha512-dkrQXeHSaoamnItlYbmzG0wFYrM0ZwDxCIg0A7aKjTyyhh9svRzCNFEzV+Vm05/yehjCzjDZ31KXfGEjYSztDQ==}
+ engines: {node: '>=20.18.1'}
+
+ resolution: {integrity: sha512-dA8WbNeb2a6oQzAQ55YlT5vQAWGV9WXOsi3SskE3bcCdM0P4SDd+24zS/OCacdRq5BkdsRj9q3Pg6YyQoxIGqg==}
+ engines: {node: '>=4'}
+
+ resolution: {integrity: sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==}
+ engines: {node: '>=4'}
+
+ resolution: {integrity: sha512-JQ84qTuMg4nVkx8ga4A16a1epI9H6uTXAknqxkGF/aFfRLw1xC/Bp24HNLaZhHSkWd3+84t8iXnp1J0kYcZHhg==}
+ engines: {node: '>=4'}
+
+ resolution: {integrity: sha512-hpbDzxUY9BFwX+UeBnxv3Sh1q7HFxj48DTmXchNgRa46lO8uj3/1iEn3MiNUYTg1g9ctIqXCCERn8gYZhHC5lQ==}
+ engines: {node: '>=4'}
+
+ resolution: {integrity: sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==}
+ engines: {node: '>= 4.0.0'}
+
+ resolution: {integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==}
+ engines: {node: '>= 10.0.0'}
+
+ resolution: {integrity: sha512-tXYOi9R57Uj/2Z25SOs5RRSzq886MBQj2gY8dPL+xl/kv6s6SvByoKfAtvfVeEuhntWDgjd2o9p2lb4TVPAz0A==}
+
+ resolution: {integrity: sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg==}
+ engines: {node: '>=4'}
+
+ resolution: {integrity: sha512-t8wonIOdQyOjtPd2VktlBu6QjTVTks6v8bSi7kd0r2Vll8TK1JYDZtRRdbmCHOAMphkZgrzK+L+vXK4pyZ8t4A==}
+ hasBin: true
+ peerDependencies:
+ browserslist: '>= 4.21.0'
+
+ resolution: {integrity: sha512-Xn0w3MtiQ6zoz2vFyUVruaCL53O/DwUvkEeOvj+uulMm0BkUGYWmBYVyElqZaSLhY6ZD0ulfU3aBra2aVT4xfA==}
+
+ resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==}
+
+ resolution: {integrity: sha512-6G9dsPKT9QKYpeTuTLJM28zZL3HsXUTUM/QUZBEgQk2jbfrPJDq2i8gTewAKqi1c9Mt6MiidrL4SFI+HthiQMg==}
+ engines: {node: '>=20.19.0'}
+ peerDependencies:
+ '@vite-pwa/assets-generator': ^1.0.0 || ^2.0.0
+ vite: ^3.1.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0
+ workbox-build: ^7.4.1
+ workbox-window: ^7.4.1
+ peerDependenciesMeta:
+ '@vite-pwa/assets-generator':
+ optional: true
+
+ resolution: {integrity: sha512-IftLE8phJhdNRIGNEV4JCCvfNScoZQVfcXaN8TQropWGJtOHcu+iAB9pHcuGvmEb/kddw0LBe/jS8ztdC6xdiQ==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ hasBin: true
+ peerDependencies:
+ '@types/node': ^20.19.0 || >=22.12.0
+ '@vitejs/devtools': ^0.7.1
+ 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
+
+ resolution: {integrity: sha512-gsXecm82UQNlTBURJGuqOWy1Ww08S3kZUcr3aOJS02Pk0xLtkfeUAVC0u0xhgdonFme80edSJUIJyuvL/7250Q==}
+
+ resolution: {integrity: sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-6iBczoX+kDQ7a3+YJBnh3T+KZRxM/iYNPXicqk66/Qfm1b93iu+yOImkg0zHbj5LNOcNv1TEADiZ0xa34B4q6Q==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-wk4Mf4pR5mRP7eYuuTBCIQ9d0ud2Fv2jRLQpfgnRjbOxAFHmjKFValgTpitVKzJJS8ajnYQV2Du1SZ8j6b/EUQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==}
+ engines: {node: '>= 8'}
+ hasBin: true
+
+ resolution: {integrity: sha512-JEdGzHwwkrbWoGOlIHqQ5gtprKGOenpDHpxE9zVR1bWbOtYRyPPHMe9FaP6x61CmNaTThSkb0DAJte5jD+DmzQ==}
+ engines: {node: ^18.17.0 || >=20.5.0}
+ hasBin: true
+
+ resolution: {integrity: sha512-oGLe46MIrCRqX7ytPUf66EAYvdeMIZYn3WaocqqKZAxrBpkqHfL/qvTyJ/bTk5+AqHCjXmrv3CEWgy368zhRUg==}
+ engines: {node: ^20.17.0 || >=22.9.0}
+ hasBin: true
+
+ resolution: {integrity: sha512-HhT7KE8tOWDm02wRNshXUnUPofMlhenF2DBdUnDPOubhizzPeItkYTmAB6td1Z2cjYPa98vzEiPLEuzn5hN66g==}
+
+ resolution: {integrity: sha512-uAlgslKLvbQY+suirIdnBCSYrcgBhjp81Nj4l1lj/Jmj0MJO2CJERnCJjT0GFVwmReV0N+zs78K6gqd5gr9/+A==}
+
+ resolution: {integrity: sha512-SDhxIvEAde9Gy/5w4Yo1Jh/M49Z0qE3q0oteyE8zGq0DScxFqVBcCtIXFuLtmtxRQZCMbf0prco4VyEu3KBQuw==}
+ engines: {node: '>=20.0.0'}
+
+ resolution: {integrity: sha512-8xaFoJdDc2OjrlbbL3gEeBO1WKcMwRqwLRupgqahYXu75yXajPLuwrbXMrIGZuWYXrQwk0xDjOxZ/ujCy/oJYw==}
+
+ resolution: {integrity: sha512-DT+vu46eh/2vRsSHTY4Xmc32Z1rr9PRlQUXr1Dx30ZuXRWwOsvZgGgcwxcasubQLQmbTNYZjv44LkBAQ4tT5tQ==}
+
+ resolution: {integrity: sha512-lRKUF7b+OGbeXkQk1s6MHXOa3d7Xxf7Of31W6c6hCfipfIyrtdWZ89stq21AHZMaoG7VNFoHply4Ox+rU31TWg==}
+
+ resolution: {integrity: sha512-Mks1JwLEt++ZAkF6sS1OpSh9RtAMIsiDgRpK+codiHGIPXeaUOgi4cPc3GFadUl8V5QPeypEk8Oxgl3HlwVzHw==}
+
+ resolution: {integrity: sha512-C4KVsjPcYKJOhr631AxR9XoG2rLF3QiTk5aMv36MXOjtWvm8axwNFAtKUPGsWUwLXXAMgYM1En7fsvndaXeXRQ==}
+
+ resolution: {integrity: sha512-cdr/9qByww7yzEp7zg/qI4ukUrrNjQLgN+ONQRpjy/VqGQXwkgHwr00KksGJK8v0VifwDXBb8a4cWNZH71jn3Q==}
+
+ resolution: {integrity: sha512-7i2oxAUE82gHdAJBCAQ04JzNOdRPqzuOzGfoUyJpFSmeqBNYGPrAH8GPoPjUQTfp+NycwrD2H68VtuF8qxv0vQ==}
+
+ resolution: {integrity: sha512-gnbVfmV4/TtmQaM4x9AtuXhcdstJsep3XMVeztOrQVPT+R6+6DeBjGTCQ7fFCXm+4GEHUA5VEBTyi5+4gWGeog==}
+
+ resolution: {integrity: sha512-yubJGErZOusuidAenaL5ypfhQOa7urxP/f8E0ws7FPb4039RiWXUWBAyUkmUoOL/BcQGen3h0J8872d51IYxtA==}
+
+ resolution: {integrity: sha512-GZxpaw9NbmOelj7667uZ2kpk5BFpOGbO4X0qjwh5ls8XQ8C+Lha5LQchTiUzsTFSS+NlUpftYAyOVXvQUrcqOQ==}
+
+ resolution: {integrity: sha512-HWWtraKUbJknd9kgqGcpQ3G114HOPYvqs8HaJMDs2ebLNAimDkVDaWfAXE6Ybl+m8U6KsCE6pWyLYuigWmnAXw==}
+
+ resolution: {integrity: sha512-fez5f2DUlDJWTFYkCWQpY10N8gtztd849NswCbVFk0QlcSM4HT5A8x4g4ii650yem4I8tHY0R7JZahwp3ltIPw==}
+
+ resolution: {integrity: sha512-notZDH2u8VXaqyuD7xaqIfEFi6SRM4SUSd7ewe9PDsVqADuepxX2ZMY3uvuZGxzY5ZOsGC/vD3A/3smFtJt4/A==}
+
+ resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==}
+
+ resolution: {integrity: sha512-yMqGBqtXyeN1e3TGYvgNgDVZ3j84W4cwkOXQswghol6APgZWaff9lnbvN7MHYJOiXsvGPXtjTYJEiC9J2wv9Eg==}
+ engines: {node: '>=8.0'}
+
+ resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==}
+
+ resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==}
+
+ resolution: {integrity: sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-GZtjxm/J/4TSxuL3FNYjCmLktBTnIw/rVmKSIyKeYAZpmJB2ig9VauCC5xsa82GNKVKDAqpOn3KVzNt0zmrU0g==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-4Goo3ZeO6/kE8Mq67eC8Z9K1rijeqRwyKxf/YM4lqf8bB4r/s8JC0V3YFx7+l/AJR3LnAsulTsiIj+AFe0cduA==}
+
+ resolution: {integrity: sha512-MpSEjRiBkA9crSYeOUH32rJC7SVqAbm0Fqcqge/bUi2PPoLcBWKOsG+C8mevmpr8TwXHBVkChbbJiyvkE+i/3A==}
+ engines: {node: '>=12.20.0'}
+ peerDependencies:
+ '@types/react': '>=18.0.0'
+ immer: '>=9.0.6'
+ react: '>=18.0.0'
+ use-sync-external-store: '>=1.2.0'
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+ immer:
+ optional: true
+ react:
+ optional: true
+ use-sync-external-store:
+ optional: true
+
+snapshots:
+
+ dependencies:
+ ajv: 8.20.0
+ jsonpointer: 5.0.1
+ leven: 3.1.0
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/helper-validator-identifier': 7.29.7
+ js-tokens: 4.0.0
+ picocolors: 1.1.1
+
+ '@babel/[email protected]': {}
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/code-frame': 7.29.7
+ '@babel/generator': 7.29.8
+ '@babel/helper-compilation-targets': 7.29.7
+ '@babel/helper-module-transforms': 7.29.7(@babel/[email protected])
+ '@babel/helpers': 7.29.10
+ '@babel/parser': 7.29.9
+ '@babel/template': 7.29.7
+ '@babel/traverse': 7.29.10
+ '@babel/types': 7.29.8
+ '@jridgewell/remapping': 2.3.5
+ convert-source-map: 2.0.0
+ debug: 4.4.3
+ gensync: 1.0.0-beta.2
+ json5: 2.2.3
+ semver: 6.3.1
+ transitivePeerDependencies:
+ - supports-color
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/parser': 7.29.9
+ '@babel/types': 7.29.8
+ '@jridgewell/gen-mapping': 0.3.13
+ '@jridgewell/trace-mapping': 0.3.31
+ jsesc: 3.1.0
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/types': 7.29.8
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/compat-data': 7.29.7
+ '@babel/helper-validator-option': 7.29.7
+ browserslist: 4.29.3
+ lru-cache: 5.1.1
+ semver: 6.3.1
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-annotate-as-pure': 7.29.7
+ '@babel/helper-member-expression-to-functions': 7.29.7
+ '@babel/helper-optimise-call-expression': 7.29.7
+ '@babel/helper-replace-supers': 7.29.7(@babel/[email protected])
+ '@babel/helper-skip-transparent-expression-wrappers': 7.29.7
+ '@babel/traverse': 7.29.10
+ semver: 6.3.1
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-annotate-as-pure': 7.29.7
+ regexpu-core: 6.5.3
+ semver: 6.3.1
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-compilation-targets': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+ debug: 4.4.3
+ lodash.debounce: 4.0.8
+ resolve: 1.22.13
+ transitivePeerDependencies:
+ - supports-color
+
+ '@babel/[email protected]': {}
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/traverse': 7.29.10
+ '@babel/types': 7.29.8
+ transitivePeerDependencies:
+ - supports-color
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/traverse': 7.29.10
+ '@babel/types': 7.29.8
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-module-imports': 7.29.7
+ '@babel/helper-validator-identifier': 7.29.7
+ '@babel/traverse': 7.29.10
+ transitivePeerDependencies:
+ - supports-color
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/types': 7.29.8
+
+ '@babel/[email protected]': {}
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-annotate-as-pure': 7.29.7
+ '@babel/helper-wrap-function': 7.29.7
+ '@babel/traverse': 7.29.10
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-member-expression-to-functions': 7.29.7
+ '@babel/helper-optimise-call-expression': 7.29.7
+ '@babel/traverse': 7.29.10
+ transitivePeerDependencies:
+ - supports-color
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/traverse': 7.29.10
+ '@babel/types': 7.29.8
+ transitivePeerDependencies:
+ - supports-color
+
+ '@babel/[email protected]': {}
+
+ '@babel/[email protected]': {}
+
+ '@babel/[email protected]': {}
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/template': 7.29.7
+ '@babel/traverse': 7.29.10
+ '@babel/types': 7.29.8
+ transitivePeerDependencies:
+ - supports-color
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/template': 7.29.7
+ '@babel/types': 7.29.8
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/types': 7.29.8
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+ '@babel/traverse': 7.29.10
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+
+ '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.29.7(@babel/[email protected])':
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+ '@babel/helper-skip-transparent-expression-wrappers': 7.29.7
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+ '@babel/helper-skip-transparent-expression-wrappers': 7.29.7
+ '@babel/plugin-transform-optional-chaining': 7.29.7(@babel/[email protected])
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+ '@babel/traverse': 7.29.10
+ transitivePeerDependencies:
+ - supports-color
+
+ '@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2(@babel/[email protected])':
+ dependencies:
+ '@babel/core': 7.29.7
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-create-regexp-features-plugin': 7.29.10(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.29.7
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+ '@babel/helper-remap-async-to-generator': 7.29.7(@babel/[email protected])
+ '@babel/traverse': 7.29.10
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-module-imports': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+ '@babel/helper-remap-async-to-generator': 7.29.7(@babel/[email protected])
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-create-class-features-plugin': 7.29.7(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.29.7
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-create-class-features-plugin': 7.29.7(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.29.7
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-annotate-as-pure': 7.29.7
+ '@babel/helper-compilation-targets': 7.29.7
+ '@babel/helper-globals': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+ '@babel/helper-replace-supers': 7.29.7(@babel/[email protected])
+ '@babel/traverse': 7.29.10
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+ '@babel/template': 7.29.7
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+ '@babel/traverse': 7.29.10
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-create-regexp-features-plugin': 7.29.10(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.29.7
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-create-regexp-features-plugin': 7.29.10(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.29.7
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+ '@babel/plugin-transform-destructuring': 7.29.7(@babel/[email protected])
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+ '@babel/helper-skip-transparent-expression-wrappers': 7.29.7
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-compilation-targets': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+ '@babel/traverse': 7.29.10
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-module-transforms': 7.29.7(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.29.7
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-module-transforms': 7.29.7(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.29.7
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-module-transforms': 7.29.7(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.29.7
+ '@babel/helper-validator-identifier': 7.29.7
+ '@babel/traverse': 7.29.10
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-module-transforms': 7.29.7(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.29.7
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-create-regexp-features-plugin': 7.29.10(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.29.7
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-compilation-targets': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+ '@babel/plugin-transform-destructuring': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-parameters': 7.29.7(@babel/[email protected])
+ '@babel/traverse': 7.29.10
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+ '@babel/helper-replace-supers': 7.29.7(@babel/[email protected])
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+ '@babel/helper-skip-transparent-expression-wrappers': 7.29.7
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-create-class-features-plugin': 7.29.7(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.29.7
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-annotate-as-pure': 7.29.7
+ '@babel/helper-create-class-features-plugin': 7.29.7(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.29.7
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-create-regexp-features-plugin': 7.29.10(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.29.7
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+ '@babel/helper-skip-transparent-expression-wrappers': 7.29.7
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-create-regexp-features-plugin': 7.29.10(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.29.7
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-create-regexp-features-plugin': 7.29.10(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.29.7
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-create-regexp-features-plugin': 7.29.10(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.29.7
+
+ dependencies:
+ '@babel/compat-data': 7.29.7
+ '@babel/core': 7.29.7
+ '@babel/helper-compilation-targets': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+ '@babel/helper-validator-option': 7.29.7
+ '@babel/plugin-bugfix-firefox-class-in-computed-class-key': 7.29.7(@babel/[email protected])
+ '@babel/plugin-bugfix-safari-class-field-initializer-scope': 7.29.7(@babel/[email protected])
+ '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression': 7.29.7(@babel/[email protected])
+ '@babel/plugin-bugfix-safari-rest-destructuring-rhs-array': 7.29.7(@babel/[email protected])
+ '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining': 7.29.7(@babel/[email protected])
+ '@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly': 7.29.7(@babel/[email protected])
+ '@babel/plugin-proposal-private-property-in-object': 7.21.0-placeholder-for-preset-env.2(@babel/[email protected])
+ '@babel/plugin-syntax-import-assertions': 7.29.7(@babel/[email protected])
+ '@babel/plugin-syntax-import-attributes': 7.29.7(@babel/[email protected])
+ '@babel/plugin-syntax-unicode-sets-regex': 7.18.6(@babel/[email protected])
+ '@babel/plugin-transform-arrow-functions': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-async-generator-functions': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-async-to-generator': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-block-scoped-functions': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-block-scoping': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-class-properties': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-class-static-block': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-classes': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-computed-properties': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-destructuring': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-dotall-regex': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-duplicate-keys': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-duplicate-named-capturing-groups-regex': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-dynamic-import': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-explicit-resource-management': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-exponentiation-operator': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-export-namespace-from': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-for-of': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-function-name': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-json-strings': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-literals': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-logical-assignment-operators': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-member-expression-literals': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-modules-amd': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-modules-commonjs': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-modules-systemjs': 7.29.8(@babel/[email protected])
+ '@babel/plugin-transform-modules-umd': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-named-capturing-groups-regex': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-new-target': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-nullish-coalescing-operator': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-numeric-separator': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-object-rest-spread': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-object-super': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-optional-catch-binding': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-optional-chaining': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-parameters': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-private-methods': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-private-property-in-object': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-property-literals': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-regenerator': 7.29.8(@babel/[email protected])
+ '@babel/plugin-transform-regexp-modifiers': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-reserved-words': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-shorthand-properties': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-spread': 7.29.8(@babel/[email protected])
+ '@babel/plugin-transform-sticky-regex': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-template-literals': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-typeof-symbol': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-unicode-escapes': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-unicode-property-regex': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-unicode-regex': 7.29.7(@babel/[email protected])
+ '@babel/plugin-transform-unicode-sets-regex': 7.29.7(@babel/[email protected])
+ '@babel/preset-modules': 0.1.6-no-external-plugins(@babel/[email protected])
+ babel-plugin-polyfill-corejs2: 0.4.17(@babel/[email protected])
+ babel-plugin-polyfill-corejs3: 0.14.2(@babel/[email protected])
+ babel-plugin-polyfill-regenerator: 0.6.8(@babel/[email protected])
+ core-js-compat: 3.50.0
+ semver: 6.3.1
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-plugin-utils': 7.29.7
+ '@babel/types': 7.29.8
+ esutils: 2.0.3
+
+ '@babel/[email protected]': {}
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/code-frame': 7.29.7
+ '@babel/parser': 7.29.9
+ '@babel/types': 7.29.8
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/code-frame': 7.29.7
+ '@babel/generator': 7.29.8
+ '@babel/helper-globals': 7.29.7
+ '@babel/parser': 7.29.9
+ '@babel/template': 7.29.7
+ '@babel/types': 7.29.8
+ debug: 4.4.3
+ transitivePeerDependencies:
+ - supports-color
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/helper-string-parser': 7.29.7
+ '@babel/helper-validator-identifier': 7.29.7
+
+ '@bufbuild/[email protected]': {}
+
+ '@electron-internal/[email protected]': {}
+
+ '@electron/[email protected]':
+ dependencies:
+ commander: 5.1.0
+ glob: 7.2.3
+ minimatch: 3.1.5
+
+ '@electron/[email protected]':
+ dependencies:
+ chalk: 4.1.2
+ fs-extra: 9.1.0
+ minimist: 1.2.8
+
+ '@electron/[email protected]':
+ dependencies:
+ debug: 4.4.3
+ env-paths: 2.2.1
+ fs-extra: 8.1.0
+ got: 11.8.6
+ progress: 2.0.3
+ semver: 6.3.1
+ sumchecker: 3.0.1
+ optionalDependencies:
+ global-agent: 3.0.0
+ transitivePeerDependencies:
+ - supports-color
+
+ '@electron/[email protected]':
+ dependencies:
+ debug: 4.4.3
+ env-paths: 3.0.0
+ graceful-fs: 4.2.11
+ progress: 2.0.3
+ semver: 7.8.5
+ sumchecker: 3.0.1
+ optionalDependencies:
+ undici: 7.30.0
+ transitivePeerDependencies:
+ - supports-color
+
+ '@electron/[email protected]':
+ dependencies:
+ debug: 4.4.3
+ fs-extra: 9.1.0
+ promise-retry: 2.0.1
+ transitivePeerDependencies:
+ - supports-color
+
+ '@electron/[email protected]':
+ dependencies:
+ compare-version: 0.1.2
+ debug: 4.4.3
+ fs-extra: 10.1.0
+ isbinaryfile: 4.0.10
+ minimist: 1.2.8
+ plist: 3.1.0
+ transitivePeerDependencies:
+ - supports-color
+
+ '@electron/[email protected]':
+ dependencies:
+ '@malept/cross-spawn-promise': 2.0.0
+ debug: 4.4.3
+ node-abi: 4.37.0
+ node-api-version: 0.2.1
+ node-gyp: 12.4.0
+ read-binary-file-arch: 1.0.6
+ transitivePeerDependencies:
+ - supports-color
+
+ '@electron/[email protected]':
+ dependencies:
+ '@electron/asar': 3.4.1
+ '@malept/cross-spawn-promise': 2.0.0
+ debug: 4.4.3
+ dir-compare: 4.2.0
+ fs-extra: 11.4.1
+ minimatch: 9.0.9
+ plist: 3.1.0
+ transitivePeerDependencies:
+ - supports-color
+
+ '@electron/[email protected]':
+ dependencies:
+ cross-dirname: 0.1.0
+ debug: 4.4.3
+ fs-extra: 11.4.1
+ minimist: 1.2.8
+ postject: 1.0.0-alpha.6
+ transitivePeerDependencies:
+ - supports-color
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@esbuild/[email protected]':
+ optional: true
+
+ '@fastify/[email protected]': {}
+
+ '@fastify/[email protected]':
+ dependencies:
+ ajv: 8.20.0
+ ajv-formats: 3.0.1([email protected])
+ fast-uri: 4.2.2
+
+ '@fastify/[email protected]': {}
+
+ '@fastify/[email protected]': {}
+
+ '@fastify/[email protected]':
+ dependencies:
+ fast-json-stringify: 7.1.0
+
+ '@fastify/[email protected]': {}
+
+ '@fastify/[email protected]':
+ dependencies:
+ dequal: 2.0.3
+
+ '@fastify/[email protected]':
+ dependencies:
+ '@fastify/forwarded': 3.1.1
+ ipaddr.js: 2.5.0
+
+ '@fastify/[email protected]':
+ dependencies:
+ '@lukeed/ms': 2.0.2
+ escape-html: 1.0.3
+ fast-decode-uri-component: 1.0.1
+ http-errors: 2.0.1
+ mime: 3.0.0
+
+ '@fastify/[email protected]':
+ dependencies:
+ '@fastify/accept-negotiator': 2.1.1
+ '@fastify/error': 4.2.1
+ '@fastify/send': 4.1.2
+ content-disposition: 3.0.0
+ fastify-plugin: 6.0.1
+ fastq: 1.20.3
+ glob: 13.0.6
+
+ '@fontsource-variable/[email protected]': {}
+
+ '@fontsource-variable/[email protected]': {}
+
+ '@isaacs/[email protected]': {}
+
+ '@isaacs/[email protected]':
+ dependencies:
+ minipass: 7.1.3
+
+ '@jridgewell/[email protected]':
+ dependencies:
+ '@jridgewell/sourcemap-codec': 1.6.0
+ '@jridgewell/trace-mapping': 0.3.31
+
+ '@jridgewell/[email protected]':
+ dependencies:
+ '@jridgewell/gen-mapping': 0.3.13
+ '@jridgewell/trace-mapping': 0.3.31
+
+ '@jridgewell/[email protected]': {}
+
+ '@jridgewell/[email protected]':
+ dependencies:
+ '@jridgewell/gen-mapping': 0.3.13
+ '@jridgewell/trace-mapping': 0.3.31
+
+ '@jridgewell/[email protected]': {}
+
+ '@jridgewell/[email protected]':
+ dependencies:
+ '@jridgewell/resolve-uri': 3.1.2
+ '@jridgewell/sourcemap-codec': 1.6.0
+
+ '@lukeed/[email protected]': {}
+
+ '@malept/[email protected]':
+ dependencies:
+ cross-spawn: 7.0.6
+
+ '@malept/[email protected]':
+ dependencies:
+ debug: 4.4.3
+ fs-extra: 9.1.0
+ lodash: 4.18.1
+ tmp-promise: 3.0.3
+ transitivePeerDependencies:
+ - supports-color
+
+ '@napi-rs/[email protected]':
+ optional: true
+
+ '@noble/[email protected]': {}
+
+ '@noble/[email protected]': {}
+
+ '@oxc-project/[email protected]': {}
+
+ '@peculiar/[email protected]':
+ dependencies:
+ '@peculiar/utils': 2.0.3
+ asn1js: 3.0.10
+ tslib: 2.8.1
+
+ '@peculiar/[email protected]':
+ dependencies:
+ tslib: 2.8.1
+
+ '@peculiar/[email protected]':
+ dependencies:
+ tslib: 2.8.1
+
+ '@peculiar/[email protected]':
+ dependencies:
+ '@peculiar/asn1-schema': 2.11.0
+ '@peculiar/json-schema': 1.1.12
+ '@peculiar/utils': 2.0.3
+ tslib: 2.8.1
+ webcrypto-core: 1.9.2
+
+ dependencies:
+ react: 19.3.0
+ react-dom: 19.3.0([email protected])
+
+ '@pinojs/[email protected]': {}
+
+ '@remix-run/[email protected]': {}
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]': {}
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-module-imports': 7.29.7
+ '@rollup/pluginutils': 5.4.0([email protected])
+ optionalDependencies:
+ rollup: 4.64.5
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@rollup/pluginutils': 5.4.0([email protected])
+ '@types/resolve': 1.20.2
+ deepmerge: 4.3.1
+ is-module: 1.0.0
+ resolve: 1.22.13
+ optionalDependencies:
+ rollup: 4.64.5
+
+ dependencies:
+ '@rollup/pluginutils': 5.4.0([email protected])
+ magic-string: 0.30.21
+ optionalDependencies:
+ rollup: 4.64.5
+
+ dependencies:
+ serialize-javascript: 7.1.2
+ smob: 1.6.2
+ terser: 5.51.2
+ optionalDependencies:
+ rollup: 4.64.5
+
+ dependencies:
+ '@types/estree': 1.0.9
+ estree-walker: 2.0.2
+ picomatch: 4.0.7
+ optionalDependencies:
+ rollup: 4.64.5
+
+ '@rollup/[email protected]':
+ optional: true
+
+ '@rollup/[email protected]':
+ optional: true
+
+ '@rollup/[email protected]':
+ optional: true
+
+ '@rollup/[email protected]':
+ optional: true
+
+ '@rollup/[email protected]':
+ optional: true
+
+ '@rollup/[email protected]':
+ optional: true
+
+ '@rollup/[email protected]':
+ optional: true
+
+ '@rollup/[email protected]':
+ optional: true
+
+ '@rollup/[email protected]':
+ optional: true
+
+ '@rollup/[email protected]':
+ optional: true
+
+ '@rollup/[email protected]':
+ optional: true
+
+ '@rollup/[email protected]':
+ optional: true
+
+ '@rollup/[email protected]':
+ optional: true
+
+ '@rollup/[email protected]':
+ optional: true
+
+ '@rollup/[email protected]':
+ optional: true
+
+ '@rollup/[email protected]':
+ optional: true
+
+ '@rollup/[email protected]':
+ optional: true
+
+ '@rollup/[email protected]':
+ optional: true
+
+ '@rollup/[email protected]':
+ optional: true
+
+ '@rollup/[email protected]':
+ optional: true
+
+ '@rollup/[email protected]':
+ optional: true
+
+ '@rollup/[email protected]':
+ optional: true
+
+ '@rollup/[email protected]':
+ optional: true
+
+ '@rollup/[email protected]':
+ optional: true
+
+ '@rollup/[email protected]':
+ optional: true
+
+ '@sindresorhus/[email protected]': {}
+
+ '@szmarczak/[email protected]':
+ dependencies:
+ defer-to-connect: 2.0.1
+
+ '@tailwindcss/[email protected]':
+ dependencies:
+ '@jridgewell/remapping': 2.3.5
+ enhanced-resolve: 5.26.0
+ jiti: 2.7.0
+ lightningcss: 1.32.0
+ magic-string: 0.30.21
+ source-map-js: 1.2.2
+ tailwindcss: 4.3.3
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optionalDependencies:
+ '@tailwindcss/oxide-android-arm64': 4.3.3
+ '@tailwindcss/oxide-darwin-arm64': 4.3.3
+ '@tailwindcss/oxide-darwin-x64': 4.3.3
+ '@tailwindcss/oxide-freebsd-x64': 4.3.3
+ '@tailwindcss/oxide-linux-arm-gnueabihf': 4.3.3
+ '@tailwindcss/oxide-linux-arm64-gnu': 4.3.3
+ '@tailwindcss/oxide-linux-arm64-musl': 4.3.3
+ '@tailwindcss/oxide-linux-x64-gnu': 4.3.3
+ '@tailwindcss/oxide-linux-x64-musl': 4.3.3
+ '@tailwindcss/oxide-wasm32-wasi': 4.3.3
+ '@tailwindcss/oxide-win32-arm64-msvc': 4.3.3
+ '@tailwindcss/oxide-win32-x64-msvc': 4.3.3
+
+ dependencies:
+ '@tailwindcss/node': 4.3.3
+ '@tailwindcss/oxide': 4.3.3
+ tailwindcss: 4.3.3
+
+ '@trickfilm400/[email protected]':
+ dependencies:
+ ejs: 3.1.10
+ json5: 2.2.3
+ magic-string: 0.30.21
+ string.prototype.matchall: 4.1.0
+
+ '@types/[email protected]':
+ dependencies:
+ '@types/http-cache-semantics': 4.2.0
+ '@types/keyv': 3.1.4
+ '@types/node': 22.20.5
+ '@types/responselike': 1.0.3
+
+ '@types/[email protected]':
+ dependencies:
+ '@types/ms': 2.1.0
+
+ '@types/[email protected]': {}
+
+ '@types/[email protected]':
+ dependencies:
+ '@types/node': 22.20.5
+
+ '@types/[email protected]': {}
+
+ '@types/[email protected]':
+ dependencies:
+ '@types/node': 22.20.5
+
+ '@types/[email protected]': {}
+
+ '@types/[email protected]':
+ dependencies:
+ undici-types: 6.21.0
+
+ '@types/[email protected]':
+ dependencies:
+ undici-types: 7.24.6
+
+ dependencies:
+ '@types/react': 19.3.0
+
+ '@types/[email protected]':
+ dependencies:
+ csstype: 3.2.3
+
+ '@types/[email protected]': {}
+
+ '@types/[email protected]':
+ dependencies:
+ '@types/node': 22.20.5
+
+ '@types/[email protected]': {}
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ dependencies:
+ '@rolldown/pluginutils': 1.0.1
+
+ '@xmldom/[email protected]': {}
+
+
+
+
+
+ optionalDependencies:
+ ajv: 8.20.0
+
+ dependencies:
+ fast-deep-equal: 3.1.3
+ fast-uri: 3.1.8
+ json-schema-traverse: 1.0.0
+ require-from-string: 2.0.2
+
+
+ dependencies:
+ color-convert: 2.0.1
+
+ dependencies:
+ '@electron/asar': 3.4.1
+ '@electron/fuses': 1.8.0
+ '@electron/get': 3.1.0
+ '@electron/notarize': 2.5.0
+ '@electron/osx-sign': 1.3.3
+ '@electron/rebuild': 4.2.1
+ '@electron/universal': 2.0.3
+ '@malept/flatpak-bundler': 0.4.0
+ '@noble/hashes': 2.4.0
+ '@peculiar/webcrypto': 1.7.1
+ '@types/fs-extra': 9.0.13
+ ajv: 8.20.0
+ asn1js: 3.0.10
+ async-exit-hook: 2.0.1
+ builder-util: 26.15.3
+ builder-util-runtime: 9.7.0
+ chromium-pickle-js: 0.2.0
+ ci-info: 4.3.1
+ debug: 4.4.3
+ dmg-builder: 26.15.3([email protected])
+ dotenv: 16.6.1
+ dotenv-expand: 11.0.7
+ ejs: 3.1.10
+ electron-builder-squirrel-windows: 26.15.3([email protected])
+ electron-publish: 26.15.3
+ fs-extra: 10.1.0
+ hosted-git-info: 4.1.0
+ isbinaryfile: 5.0.7
+ jiti: 2.7.0
+ js-yaml: 4.3.2
+ json5: 2.2.3
+ lazy-val: 1.0.5
+ minimatch: 10.2.6
+ pkijs: 3.4.1
+ plist: 3.1.0
+ proper-lockfile: 4.1.2
+ resedit: 1.7.2
+ semver: 7.7.4
+ tar: 7.5.22
+ temp-file: 3.4.0
+ tiny-async-pool: 1.3.0
+ unzipper: 0.12.5
+ which: 5.0.0
+ transitivePeerDependencies:
+ - supports-color
+
+
+ dependencies:
+ call-bound: 1.0.4
+ is-array-buffer: 3.0.5
+
+ dependencies:
+ array-buffer-byte-length: 1.0.2
+ call-bind: 1.0.9
+ define-properties: 1.2.1
+ es-abstract: 1.24.2
+ es-errors: 1.3.0
+ get-intrinsic: 1.3.0
+ is-array-buffer: 3.0.5
+
+ dependencies:
+ pvtsutils: 1.3.6
+ pvutils: 1.2.0
+ tslib: 2.8.1
+
+
+
+
+
+
+
+ dependencies:
+ possible-typed-array-names: 1.1.0
+
+ dependencies:
+ '@fastify/error': 4.2.1
+ fastq: 1.20.3
+
+
+ dependencies:
+ '@babel/compat-data': 7.29.7
+ '@babel/core': 7.29.7
+ '@babel/helper-define-polyfill-provider': 0.6.8(@babel/[email protected])
+ semver: 6.3.1
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-define-polyfill-provider': 0.6.8(@babel/[email protected])
+ core-js-compat: 3.50.0
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-define-polyfill-provider': 0.6.8(@babel/[email protected])
+ transitivePeerDependencies:
+ - supports-color
+
+
+
+
+
+
+ optional: true
+
+ dependencies:
+ balanced-match: 1.0.2
+ concat-map: 0.0.1
+
+ dependencies:
+ balanced-match: 1.0.2
+
+ dependencies:
+ balanced-match: 4.0.4
+
+ dependencies:
+ baseline-browser-mapping: 2.11.28
+ caniuse-lite: 1.0.30001815
+ electron-to-chromium: 1.5.452
+ node-releases: 2.0.58
+ update-browserslist-db: 1.3.4([email protected])
+
+
+ dependencies:
+ debug: 4.4.3
+ sax: 1.6.1
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@types/debug': 4.1.13
+ builder-util-runtime: 9.7.0
+ chalk: 4.1.2
+ cross-spawn: 7.0.6
+ debug: 4.4.3
+ fs-extra: 10.1.0
+ http-proxy-agent: 7.0.2
+ https-proxy-agent: 7.0.6
+ js-yaml: 4.3.2
+ sanitize-filename: 1.6.4
+ source-map-support: 0.5.21
+ stat-mode: 1.0.0
+ temp-file: 3.4.0
+ tiny-async-pool: 1.3.0
+ transitivePeerDependencies:
+ - supports-color
+
+
+
+ dependencies:
+ clone-response: 1.0.3
+ get-stream: 5.2.0
+ http-cache-semantics: 4.3.0
+ keyv: 4.5.4
+ lowercase-keys: 2.0.0
+ normalize-url: 6.1.0
+ responselike: 2.0.1
+
+ dependencies:
+ es-errors: 1.3.0
+ function-bind: 1.1.2
+
+ dependencies:
+ call-bind-apply-helpers: 1.0.2
+ es-define-property: 1.0.1
+ get-intrinsic: 1.3.0
+ set-function-length: 1.2.2
+
+ dependencies:
+ call-bind-apply-helpers: 1.0.2
+ get-intrinsic: 1.3.0
+
+
+ dependencies:
+ ansi-styles: 4.3.0
+ supports-color: 7.2.0
+
+
+
+
+
+ dependencies:
+ string-width: 4.2.3
+ strip-ansi: 6.0.1
+ wrap-ansi: 7.0.0
+
+ dependencies:
+ mimic-response: 1.0.1
+
+ dependencies:
+ color-name: 1.1.4
+
+
+ dependencies:
+ delayed-stream: 1.0.0
+
+
+
+ optional: true
+
+
+
+
+
+
+
+
+ dependencies:
+ browserslist: 4.29.3
+
+
+ optional: true
+
+ dependencies:
+ path-key: 3.1.1
+ shebang-command: 2.0.0
+ which: 2.0.2
+
+
+
+ dependencies:
+ call-bound: 1.0.4
+ es-errors: 1.3.0
+ is-data-view: 1.0.2
+
+ dependencies:
+ call-bound: 1.0.4
+ es-errors: 1.3.0
+ is-data-view: 1.0.2
+
+ dependencies:
+ call-bound: 1.0.4
+ es-errors: 1.3.0
+ is-data-view: 1.0.2
+
+ dependencies:
+ ms: 2.1.3
+
+ dependencies:
+ mimic-response: 3.1.0
+
+
+
+ dependencies:
+ es-define-property: 1.0.1
+ es-errors: 1.3.0
+ gopd: 1.2.0
+
+ dependencies:
+ define-data-property: 1.1.4
+ has-property-descriptors: 1.0.2
+ object-keys: 1.1.1
+
+
+
+
+
+ optional: true
+
+ dependencies:
+ minimatch: 3.1.5
+ p-limit: 3.1.0
+
+ dependencies:
+ app-builder-lib: 26.15.3([email protected])([email protected])
+ builder-util: 26.15.3
+ fs-extra: 10.1.0
+ js-yaml: 4.3.2
+ transitivePeerDependencies:
+ - electron-builder-squirrel-windows
+ - supports-color
+
+ dependencies:
+ dotenv: 16.6.1
+
+
+ dependencies:
+ call-bind-apply-helpers: 1.0.2
+ es-errors: 1.3.0
+ gopd: 1.2.0
+
+ dependencies:
+ readable-stream: 2.3.8
+
+ dependencies:
+ jake: 10.9.4
+
+ dependencies:
+ app-builder-lib: 26.15.3([email protected])([email protected])
+ builder-util: 26.15.3
+ electron-winstaller: 5.4.0
+ transitivePeerDependencies:
+ - dmg-builder
+ - supports-color
+
+ dependencies:
+ app-builder-lib: 26.15.3([email protected])([email protected])
+ builder-util: 26.15.3
+ builder-util-runtime: 9.7.0
+ chalk: 4.1.2
+ ci-info: 4.4.0
+ dmg-builder: 26.15.3([email protected])
+ fs-extra: 10.1.0
+ lazy-val: 1.0.5
+ simple-update-notifier: 2.0.0
+ yargs: 17.7.3
+ transitivePeerDependencies:
+ - electron-builder-squirrel-windows
+ - supports-color
+
+ dependencies:
+ '@types/fs-extra': 9.0.13
+ aws4: 1.13.2
+ builder-util: 26.15.3
+ builder-util-runtime: 9.7.0
+ chalk: 4.1.2
+ form-data: 4.0.6
+ fs-extra: 10.1.0
+ lazy-val: 1.0.5
+ mime: 2.6.0
+ transitivePeerDependencies:
+ - supports-color
+
+
+ dependencies:
+ '@electron/asar': 3.4.1
+ debug: 4.4.3
+ fs-extra: 7.0.1
+ lodash: 4.18.1
+ temp: 0.9.4
+ optionalDependencies:
+ '@electron/windows-sign': 1.2.2
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@electron-internal/extract-zip': 1.0.5
+ '@electron/get': 5.1.0
+ '@types/node': 24.19.2
+ transitivePeerDependencies:
+ - supports-color
+
+
+ dependencies:
+ once: 1.4.0
+
+ dependencies:
+ graceful-fs: 4.2.11
+ tapable: 2.3.3
+
+
+
+
+ dependencies:
+ es-errors: 1.3.0
+ es-object-atoms: 1.1.2
+ is-callable: 1.2.7
+ object-inspect: 1.13.4
+
+ dependencies:
+ array-buffer-byte-length: 1.0.2
+ arraybuffer.prototype.slice: 1.0.4
+ available-typed-arrays: 1.0.7
+ call-bind: 1.0.9
+ call-bound: 1.0.4
+ data-view-buffer: 1.0.2
+ data-view-byte-length: 1.0.2
+ data-view-byte-offset: 1.0.1
+ es-define-property: 1.0.1
+ es-errors: 1.3.0
+ es-object-atoms: 1.1.2
+ es-set-tostringtag: 2.1.0
+ es-to-primitive: 1.3.4
+ function.prototype.name: 1.2.0
+ get-intrinsic: 1.3.0
+ get-proto: 1.0.1
+ get-symbol-description: 1.1.0
+ globalthis: 1.0.4
+ gopd: 1.2.0
+ has-property-descriptors: 1.0.2
+ has-proto: 1.2.0
+ has-symbols: 1.1.0
+ hasown: 2.0.4
+ internal-slot: 1.1.0
+ is-array-buffer: 3.0.5
+ is-callable: 1.2.7
+ is-data-view: 1.0.2
+ is-negative-zero: 2.0.3
+ is-regex: 1.2.1
+ is-set: 2.0.3
+ is-shared-array-buffer: 1.0.4
+ is-string: 1.1.1
+ is-typed-array: 1.1.15
+ is-weakref: 1.1.1
+ math-intrinsics: 1.1.0
+ object-inspect: 1.13.4
+ object-keys: 1.1.1
+ object.assign: 4.1.7
+ own-keys: 1.0.2
+ regexp.prototype.flags: 1.5.4
+ safe-array-concat: 1.1.4
+ safe-push-apply: 1.0.0
+ safe-regex-test: 1.1.0
+ set-proto: 1.0.0
+ stop-iteration-iterator: 1.1.0
+ string.prototype.trim: 1.2.11
+ string.prototype.trimend: 1.0.10
+ string.prototype.trimstart: 1.0.8
+ typed-array-buffer: 1.0.3
+ typed-array-byte-length: 1.0.3
+ typed-array-byte-offset: 1.0.5
+ typed-array-length: 1.0.8
+ unbox-primitive: 1.1.0
+ which-typed-array: 1.1.24
+
+
+
+ dependencies:
+ es-errors: 1.3.0
+
+ dependencies:
+ es-errors: 1.3.0
+ get-intrinsic: 1.3.0
+ has-tostringtag: 1.0.2
+ hasown: 2.0.4
+
+ dependencies:
+ es-abstract-get: 1.0.0
+ es-define-property: 1.0.1
+ es-errors: 1.3.0
+ is-callable: 1.2.7
+ is-date-object: 1.1.0
+ is-symbol: 1.1.1
+
+ optional: true
+
+ 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
+
+
+
+ optional: true
+
+
+
+
+
+
+
+
+ dependencies:
+ '@fastify/merge-json-schemas': 0.2.2
+ ajv: 8.20.0
+ ajv-formats: 3.0.1([email protected])
+ fast-uri: 4.2.2
+ json-schema-ref-resolver: 3.0.1
+ rfdc: 1.4.1
+
+ dependencies:
+ fast-decode-uri-component: 1.0.1
+
+
+
+
+ dependencies:
+ '@fastify/ajv-compiler': 4.0.7
+ '@fastify/error': 4.2.1
+ '@fastify/fast-json-stringify-compiler': 5.1.1
+ '@fastify/proxy-addr': 5.1.2
+ abstract-logging: 2.0.1
+ avvio: 9.3.1
+ fast-json-stringify: 7.1.0
+ find-my-way: 9.10.0
+ light-my-request: 6.8.0
+ pino: 10.4.0
+ process-warning: 5.1.1
+ rfdc: 1.4.1
+ secure-json-parse: 4.1.1
+ semver: 7.8.5
+ toad-cache: 3.7.4
+
+ dependencies:
+ reusify: 1.1.0
+
+ optionalDependencies:
+ picomatch: 4.0.7
+
+
+ dependencies:
+ minimatch: 5.1.9
+
+ dependencies:
+ fast-deep-equal: 3.1.3
+ fast-querystring: 1.1.2
+ safe-regex2: 5.1.2
+
+ dependencies:
+ is-callable: 1.2.7
+
+ dependencies:
+ cross-spawn: 7.0.6
+ signal-exit: 4.1.0
+
+ dependencies:
+ asynckit: 0.4.0
+ combined-stream: 1.0.8
+ es-set-tostringtag: 2.1.0
+ hasown: 2.0.4
+ mime-types: 2.1.35
+
+ dependencies:
+ motion-dom: 14.1.0
+ motion-utils: 14.1.0
+ tslib: 2.8.1
+ optionalDependencies:
+ react: 19.3.0
+ react-dom: 19.3.0([email protected])
+
+ dependencies:
+ graceful-fs: 4.2.11
+ jsonfile: 6.2.1
+ universalify: 2.0.1
+
+ dependencies:
+ graceful-fs: 4.2.11
+ jsonfile: 6.2.1
+ universalify: 2.0.1
+
+ dependencies:
+ graceful-fs: 4.2.11
+ jsonfile: 6.2.1
+ universalify: 2.0.1
+
+ dependencies:
+ graceful-fs: 4.2.11
+ jsonfile: 4.0.0
+ universalify: 0.1.2
+
+ dependencies:
+ graceful-fs: 4.2.11
+ jsonfile: 4.0.0
+ universalify: 0.1.2
+
+ dependencies:
+ at-least-node: 1.0.0
+ graceful-fs: 4.2.11
+ jsonfile: 6.2.1
+ universalify: 2.0.1
+
+
+ optional: true
+
+
+ dependencies:
+ call-bind: 1.0.9
+ call-bound: 1.0.4
+ es-define-property: 1.0.1
+ es-errors: 1.3.0
+ functions-have-names: 1.2.3
+ has-property-descriptors: 1.0.2
+ hasown: 2.0.4
+ is-callable: 1.2.7
+ is-document.all: 1.0.0
+
+
+
+
+
+ dependencies:
+ call-bind-apply-helpers: 1.0.2
+ es-define-property: 1.0.1
+ es-errors: 1.3.0
+ es-object-atoms: 1.1.2
+ function-bind: 1.1.2
+ get-proto: 1.0.1
+ gopd: 1.2.0
+ has-symbols: 1.1.0
+ hasown: 2.0.4
+ math-intrinsics: 1.1.0
+
+
+ dependencies:
+ dunder-proto: 1.0.1
+ es-object-atoms: 1.1.2
+
+ dependencies:
+ pump: 3.0.4
+
+ dependencies:
+ call-bound: 1.0.4
+ es-errors: 1.3.0
+ get-intrinsic: 1.3.0
+
+ dependencies:
+ foreground-child: 3.3.1
+ jackspeak: 4.2.3
+ minimatch: 10.2.6
+ minipass: 7.1.3
+ package-json-from-dist: 1.0.1
+ path-scurry: 2.0.2
+
+ dependencies:
+ minimatch: 10.2.6
+ minipass: 7.1.3
+ path-scurry: 2.0.2
+
+ dependencies:
+ fs.realpath: 1.0.0
+ inflight: 1.0.6
+ inherits: 2.0.4
+ minimatch: 3.1.5
+ once: 1.4.0
+ path-is-absolute: 1.0.1
+
+ dependencies:
+ boolean: 3.2.0
+ es6-error: 4.1.1
+ matcher: 3.0.0
+ roarr: 2.15.4
+ semver: 7.8.5
+ serialize-error: 7.0.1
+ optional: true
+
+ dependencies:
+ define-properties: 1.2.1
+ gopd: 1.2.0
+
+
+ dependencies:
+ '@sindresorhus/is': 4.6.0
+ '@szmarczak/http-timer': 4.0.6
+ '@types/cacheable-request': 6.0.3
+ '@types/responselike': 1.0.3
+ cacheable-lookup: 5.0.4
+ cacheable-request: 7.0.4
+ decompress-response: 6.0.0
+ http2-wrapper: 1.0.3
+ lowercase-keys: 2.0.0
+ p-cancelable: 2.1.1
+ responselike: 2.0.1
+
+
+
+
+ dependencies:
+ es-define-property: 1.0.1
+
+ dependencies:
+ dunder-proto: 1.0.1
+
+
+ dependencies:
+ has-symbols: 1.1.0
+
+ dependencies:
+ function-bind: 1.1.2
+
+ dependencies:
+ lru-cache: 6.0.0
+
+
+ dependencies:
+ depd: 2.0.0
+ inherits: 2.0.4
+ setprototypeof: 1.2.0
+ statuses: 2.0.2
+ toidentifier: 1.0.1
+
+ dependencies:
+ agent-base: 7.1.4
+ debug: 4.4.3
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ quick-lru: 5.1.1
+ resolve-alpn: 1.2.1
+
+ dependencies:
+ agent-base: 7.1.4
+ debug: 4.4.3
+ transitivePeerDependencies:
+ - supports-color
+
+
+ dependencies:
+ once: 1.4.0
+ wrappy: 1.0.2
+
+
+ dependencies:
+ es-errors: 1.3.0
+ hasown: 2.0.4
+ side-channel: 1.1.1
+
+
+ dependencies:
+ call-bind: 1.0.9
+ call-bound: 1.0.4
+ get-intrinsic: 1.3.0
+
+ dependencies:
+ async-function: 1.0.0
+ call-bound: 1.0.4
+ get-proto: 1.0.1
+ has-tostringtag: 1.0.2
+ safe-regex-test: 1.1.0
+
+ dependencies:
+ has-bigints: 1.1.0
+
+ dependencies:
+ call-bound: 1.0.4
+ has-tostringtag: 1.0.2
+
+
+ dependencies:
+ hasown: 2.0.4
+
+ dependencies:
+ call-bound: 1.0.4
+ get-intrinsic: 1.3.0
+ is-typed-array: 1.1.15
+
+ dependencies:
+ call-bound: 1.0.4
+ has-tostringtag: 1.0.2
+
+ dependencies:
+ call-bound: 1.0.4
+
+ dependencies:
+ call-bound: 1.0.4
+
+
+ dependencies:
+ call-bound: 1.0.4
+ generator-function: 2.0.1
+ get-proto: 1.0.1
+ has-tostringtag: 1.0.2
+ safe-regex-test: 1.1.0
+
+
+
+
+ dependencies:
+ call-bound: 1.0.4
+ has-tostringtag: 1.0.2
+
+
+ dependencies:
+ call-bound: 1.0.4
+ gopd: 1.2.0
+ has-tostringtag: 1.0.2
+ hasown: 2.0.4
+
+
+
+ dependencies:
+ call-bound: 1.0.4
+
+
+ dependencies:
+ call-bound: 1.0.4
+ has-tostringtag: 1.0.2
+
+ dependencies:
+ call-bound: 1.0.4
+ has-symbols: 1.1.0
+ safe-regex-test: 1.1.0
+
+ dependencies:
+ which-typed-array: 1.1.24
+
+
+ dependencies:
+ call-bound: 1.0.4
+
+ dependencies:
+ call-bound: 1.0.4
+ get-intrinsic: 1.3.0
+
+
+
+
+
+
+
+
+ dependencies:
+ '@isaacs/cliui': 9.0.0
+
+ dependencies:
+ async: 3.2.6
+ filelist: 1.0.6
+ picocolors: 1.1.1
+
+
+
+ dependencies:
+ argparse: 2.0.1
+
+
+
+ dependencies:
+ dequal: 2.0.3
+
+
+ optional: true
+
+
+ optionalDependencies:
+ graceful-fs: 4.2.11
+
+ dependencies:
+ universalify: 2.0.1
+ optionalDependencies:
+ graceful-fs: 4.2.11
+
+
+ dependencies:
+ json-buffer: 3.0.1
+
+
+
+ dependencies:
+ '@fastify/deepmerge': 3.2.2
+ cookie: 2.0.1
+ process-warning: 5.1.1
+ set-cookie-parser: 3.1.3
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ dependencies:
+ detect-libc: 2.1.2
+ optionalDependencies:
+ lightningcss-android-arm64: 1.32.0
+ lightningcss-darwin-arm64: 1.32.0
+ lightningcss-darwin-x64: 1.32.0
+ lightningcss-freebsd-x64: 1.32.0
+ lightningcss-linux-arm-gnueabihf: 1.32.0
+ lightningcss-linux-arm64-gnu: 1.32.0
+ lightningcss-linux-arm64-musl: 1.32.0
+ lightningcss-linux-x64-gnu: 1.32.0
+ lightningcss-linux-x64-musl: 1.32.0
+ lightningcss-win32-arm64-msvc: 1.32.0
+ lightningcss-win32-x64-msvc: 1.32.0
+
+ dependencies:
+ detect-libc: 2.1.2
+ 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
+
+
+
+
+
+ dependencies:
+ yallist: 3.1.1
+
+ dependencies:
+ yallist: 4.0.0
+
+ dependencies:
+ '@jridgewell/sourcemap-codec': 1.6.0
+
+ dependencies:
+ escape-string-regexp: 4.0.0
+ optional: true
+
+
+
+
+ dependencies:
+ mime-db: 1.52.0
+
+
+
+
+
+ dependencies:
+ brace-expansion: 5.0.12
+
+ dependencies:
+ brace-expansion: 1.1.21
+
+ dependencies:
+ brace-expansion: 2.1.7
+
+ dependencies:
+ brace-expansion: 2.1.7
+
+
+
+ dependencies:
+ minipass: 7.1.3
+
+ dependencies:
+ minimist: 1.2.8
+
+ dependencies:
+ motion-utils: 14.1.0
+
+
+ dependencies:
+ tslib: 2.8.1
+ optionalDependencies:
+ react: 19.3.0
+ react-dom: 19.3.0([email protected])
+
+
+
+ dependencies:
+ semver: 7.8.5
+
+ dependencies:
+ semver: 7.8.5
+
+ dependencies:
+ env-paths: 2.2.1
+ exponential-backoff: 3.1.3
+ graceful-fs: 4.2.11
+ nopt: 9.0.0
+ proc-log: 6.1.0
+ semver: 7.8.5
+ tar: 7.5.22
+ tinyglobby: 0.2.17
+ undici: 6.29.0
+ which: 6.0.1
+
+
+
+ dependencies:
+ abbrev: 4.0.0
+
+
+
+
+ dependencies:
+ call-bind: 1.0.9
+ call-bound: 1.0.4
+ define-properties: 1.2.1
+ es-object-atoms: 1.1.2
+ has-symbols: 1.1.0
+ object-keys: 1.1.1
+
+
+ dependencies:
+ wrappy: 1.0.2
+
+ dependencies:
+ call-bound: 1.0.4
+ get-intrinsic: 1.3.0
+ object-keys: 1.1.1
+ safe-push-apply: 1.0.0
+
+
+ dependencies:
+ yocto-queue: 0.1.0
+
+
+
+
+
+ dependencies:
+ lru-cache: 11.5.3
+ minipass: 7.1.3
+
+
+
+
+ dependencies:
+ split2: 4.2.0
+
+
+ dependencies:
+ '@pinojs/redact': 0.4.0
+ atomic-sleep: 1.0.0
+ on-exit-leak-free: 2.1.2
+ pino-abstract-transport: 3.0.0
+ pino-std-serializers: 7.1.0
+ process-warning: 5.1.1
+ quick-format-unescaped: 4.0.4
+ real-require: 1.0.0
+ safe-stable-stringify: 2.5.0
+ sonic-boom: 4.2.1
+ thread-stream: 4.2.0
+
+ dependencies:
+ '@noble/hashes': 1.8.0
+ asn1js: 3.0.10
+ bytestreamjs: 2.0.1
+ pvtsutils: 1.3.6
+ pvutils: 1.2.0
+ tslib: 2.8.1
+
+ dependencies:
+ '@xmldom/xmldom': 0.8.15
+ base64-js: 1.5.1
+ xmlbuilder: 15.1.1
+
+
+ dependencies:
+ nanoid: 3.3.20
+ picocolors: 1.1.1
+ source-map-js: 1.2.2
+
+ dependencies:
+ commander: 9.5.0
+ optional: true
+
+
+
+
+
+
+
+ dependencies:
+ err-code: 2.0.3
+ retry: 0.12.0
+
+ dependencies:
+ graceful-fs: 4.2.11
+ retry: 0.12.0
+ signal-exit: 3.0.7
+
+ dependencies:
+ end-of-stream: 1.4.5
+ once: 1.4.0
+
+ dependencies:
+ tslib: 2.8.1
+
+
+
+
+ dependencies:
+ react: 19.3.0
+ scheduler: 0.28.0
+
+ dependencies:
+ '@remix-run/route-pattern': 0.22.1
+ cookie-es: 3.1.1
+ react: 19.3.0
+ optionalDependencies:
+ react-dom: 19.3.0([email protected])
+
+
+ dependencies:
+ debug: 4.4.3
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ core-util-is: 1.0.3
+ inherits: 2.0.4
+ isarray: 1.0.0
+ process-nextick-args: 2.0.1
+ safe-buffer: 5.1.2
+ string_decoder: 1.1.1
+ util-deprecate: 1.0.2
+
+
+ dependencies:
+ call-bind: 1.0.9
+ define-properties: 1.2.1
+ es-abstract: 1.24.2
+ es-errors: 1.3.0
+ es-object-atoms: 1.1.2
+ get-intrinsic: 1.3.0
+ get-proto: 1.0.1
+ which-builtin-type: 1.2.1
+
+ dependencies:
+ regenerate: 1.5.0
+
+
+ dependencies:
+ call-bind: 1.0.9
+ define-properties: 1.2.1
+ es-errors: 1.3.0
+ get-proto: 1.0.1
+ gopd: 1.2.0
+ set-function-name: 2.0.2
+
+ dependencies:
+ regenerate: 1.5.0
+ regenerate-unicode-properties: 10.3.0
+ regjsgen: 0.8.0
+ regjsparser: 0.13.4
+ unicode-match-property-ecmascript: 2.0.0
+ unicode-match-property-value-ecmascript: 2.2.1
+
+
+ dependencies:
+ jsesc: 3.1.0
+
+
+
+ dependencies:
+ pe-library: 0.4.1
+
+
+ dependencies:
+ es-errors: 1.3.0
+ is-core-module: 2.17.0
+ path-parse: 1.0.7
+ supports-preserve-symlinks-flag: 1.0.0
+
+ dependencies:
+ lowercase-keys: 2.0.0
+
+
+
+
+
+ dependencies:
+ glob: 7.2.3
+
+ dependencies:
+ boolean: 3.2.0
+ detect-node: 2.1.0
+ globalthis: 1.0.4
+ json-stringify-safe: 5.0.1
+ semver-compare: 1.0.0
+ sprintf-js: 1.1.3
+ optional: true
+
+ dependencies:
+ '@oxc-project/types': 0.153.0
+ '@rolldown/pluginutils': 1.0.1
+ optionalDependencies:
+ '@rolldown/binding-android-arm-eabi': 1.2.13
+ '@rolldown/binding-android-arm64': 1.2.13
+ '@rolldown/binding-darwin-arm64': 1.2.13
+ '@rolldown/binding-darwin-x64': 1.2.13
+ '@rolldown/binding-freebsd-x64': 1.2.13
+ '@rolldown/binding-linux-arm-gnueabihf': 1.2.13
+ '@rolldown/binding-linux-arm64-gnu': 1.2.13
+ '@rolldown/binding-linux-arm64-musl': 1.2.13
+ '@rolldown/binding-linux-ppc64-gnu': 1.2.13
+ '@rolldown/binding-linux-s390x-gnu': 1.2.13
+ '@rolldown/binding-linux-x64-gnu': 1.2.13
+ '@rolldown/binding-linux-x64-musl': 1.2.13
+ '@rolldown/binding-openharmony-arm64': 1.2.13
+ '@rolldown/binding-win32-arm64-msvc': 1.2.13
+ '@rolldown/binding-win32-x64-msvc': 1.2.13
+
+ dependencies:
+ '@types/estree': 1.0.9
+ optionalDependencies:
+ '@napi-rs/lzma-linux-x64-gnu': 1.5.1
+ '@rollup/rollup-android-arm-eabi': 4.64.5
+ '@rollup/rollup-android-arm64': 4.64.5
+ '@rollup/rollup-darwin-arm64': 4.64.5
+ '@rollup/rollup-darwin-x64': 4.64.5
+ '@rollup/rollup-freebsd-arm64': 4.64.5
+ '@rollup/rollup-freebsd-x64': 4.64.5
+ '@rollup/rollup-linux-arm-gnueabihf': 4.64.5
+ '@rollup/rollup-linux-arm-musleabihf': 4.64.5
+ '@rollup/rollup-linux-arm64-gnu': 4.64.5
+ '@rollup/rollup-linux-arm64-musl': 4.64.5
+ '@rollup/rollup-linux-loong64-gnu': 4.64.5
+ '@rollup/rollup-linux-loong64-musl': 4.64.5
+ '@rollup/rollup-linux-ppc64-gnu': 4.64.5
+ '@rollup/rollup-linux-ppc64-musl': 4.64.5
+ '@rollup/rollup-linux-riscv64-gnu': 4.64.5
+ '@rollup/rollup-linux-riscv64-musl': 4.64.5
+ '@rollup/rollup-linux-s390x-gnu': 4.64.5
+ '@rollup/rollup-linux-x64-gnu': 4.64.5
+ '@rollup/rollup-linux-x64-musl': 4.64.5
+ '@rollup/rollup-openbsd-x64': 4.64.5
+ '@rollup/rollup-openharmony-arm64': 4.64.5
+ '@rollup/rollup-win32-arm64-msvc': 4.64.5
+ '@rollup/rollup-win32-ia32-msvc': 4.64.5
+ '@rollup/rollup-win32-x64-gnu': 4.64.5
+ '@rollup/rollup-win32-x64-msvc': 4.64.5
+ fsevents: 2.3.3
+
+ dependencies:
+ call-bind: 1.0.9
+ call-bound: 1.0.4
+ get-intrinsic: 1.3.0
+ has-symbols: 1.1.0
+ isarray: 2.0.5
+
+
+ dependencies:
+ es-errors: 1.3.0
+ isarray: 2.0.5
+
+ dependencies:
+ call-bound: 1.0.4
+ es-errors: 1.3.0
+ is-regex: 1.2.1
+
+ dependencies:
+ ret: 0.5.0
+
+
+ dependencies:
+ truncate-utf8-bytes: 1.0.2
+
+
+
+
+ optional: true
+
+
+
+
+
+ dependencies:
+ type-fest: 0.13.1
+ optional: true
+
+
+
+ dependencies:
+ define-data-property: 1.1.4
+ es-errors: 1.3.0
+ function-bind: 1.1.2
+ get-intrinsic: 1.3.0
+ gopd: 1.2.0
+ has-property-descriptors: 1.0.2
+
+ dependencies:
+ define-data-property: 1.1.4
+ es-errors: 1.3.0
+ functions-have-names: 1.2.3
+ has-property-descriptors: 1.0.2
+
+ dependencies:
+ dunder-proto: 1.0.1
+ es-errors: 1.3.0
+ es-object-atoms: 1.1.2
+
+
+ dependencies:
+ shebang-regex: 3.0.0
+
+
+ dependencies:
+ es-errors: 1.3.0
+ object-inspect: 1.13.4
+
+ dependencies:
+ call-bound: 1.0.4
+ es-errors: 1.3.0
+ get-intrinsic: 1.3.0
+ object-inspect: 1.13.4
+
+ dependencies:
+ call-bound: 1.0.4
+ es-errors: 1.3.0
+ get-intrinsic: 1.3.0
+ object-inspect: 1.13.4
+ side-channel-map: 1.0.1
+
+ dependencies:
+ es-errors: 1.3.0
+ object-inspect: 1.13.4
+ side-channel-list: 1.0.1
+ side-channel-map: 1.0.1
+ side-channel-weakmap: 1.0.2
+
+
+
+ dependencies:
+ semver: 7.8.5
+
+
+ dependencies:
+ atomic-sleep: 1.0.0
+
+
+ dependencies:
+ buffer-from: 1.1.2
+ source-map: 0.6.1
+
+
+
+
+ optional: true
+
+
+
+ dependencies:
+ es-errors: 1.3.0
+ internal-slot: 1.1.0
+
+ dependencies:
+ emoji-regex: 8.0.0
+ is-fullwidth-code-point: 3.0.0
+ strip-ansi: 6.0.1
+
+ dependencies:
+ call-bind: 1.0.9
+ call-bound: 1.0.4
+ define-properties: 1.2.1
+ es-abstract: 1.24.2
+ es-errors: 1.3.0
+ es-object-atoms: 1.1.2
+ get-intrinsic: 1.3.0
+ gopd: 1.2.0
+ has-symbols: 1.1.0
+ internal-slot: 1.1.0
+ regexp.prototype.flags: 1.5.4
+ set-function-name: 2.0.2
+ side-channel: 1.1.1
+
+ dependencies:
+ call-bind: 1.0.9
+ call-bound: 1.0.4
+ define-data-property: 1.1.4
+ define-properties: 1.2.1
+ es-abstract: 1.24.2
+ es-object-atoms: 1.1.2
+ has-property-descriptors: 1.0.2
+ safe-regex-test: 1.1.0
+
+ dependencies:
+ call-bind: 1.0.9
+ call-bound: 1.0.4
+ define-properties: 1.2.1
+ es-object-atoms: 1.1.2
+
+ dependencies:
+ call-bind: 1.0.9
+ define-properties: 1.2.1
+ es-object-atoms: 1.1.2
+
+ dependencies:
+ safe-buffer: 5.1.2
+
+ dependencies:
+ get-own-enumerable-property-symbols: 3.0.2
+ is-obj: 1.0.1
+ is-regexp: 1.0.0
+
+ dependencies:
+ ansi-regex: 5.0.1
+
+
+ dependencies:
+ debug: 4.4.3
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ has-flag: 4.0.0
+
+
+
+
+ dependencies:
+ '@isaacs/fs-minipass': 4.0.1
+ chownr: 3.0.0
+ minipass: 7.1.3
+ minizlib: 3.1.0
+ yallist: 5.0.0
+
+
+ dependencies:
+ async-exit-hook: 2.0.1
+ fs-extra: 10.1.0
+
+ dependencies:
+ mkdirp: 0.5.6
+ rimraf: 2.6.3
+
+ dependencies:
+ is-stream: 2.0.1
+ temp-dir: 2.0.0
+ type-fest: 0.16.0
+ unique-string: 2.0.0
+
+ dependencies:
+ '@jridgewell/source-map': 0.3.11
+ acorn: 8.19.0
+ commander: 2.20.3
+ source-map-support: 0.5.21
+
+ dependencies:
+ real-require: 1.0.0
+
+ dependencies:
+ semver: 5.7.2
+
+ dependencies:
+ fdir: 6.5.0([email protected])
+ picomatch: 4.0.7
+
+ dependencies:
+ tmp: 0.2.7
+
+
+
+
+ dependencies:
+ utf8-byte-length: 1.0.5
+
+
+ dependencies:
+ esbuild: 0.28.2
+ optionalDependencies:
+ fsevents: 2.3.3
+
+ optional: true
+
+
+ dependencies:
+ call-bound: 1.0.4
+ es-errors: 1.3.0
+ is-typed-array: 1.1.15
+
+ dependencies:
+ call-bind: 1.0.9
+ for-each: 0.3.5
+ gopd: 1.2.0
+ has-proto: 1.2.0
+ is-typed-array: 1.1.15
+
+ dependencies:
+ available-typed-arrays: 1.0.7
+ call-bind: 1.0.9
+ for-each: 0.3.5
+ gopd: 1.2.0
+ is-typed-array: 1.1.15
+ reflect.getprototypeof: 1.0.10
+
+ dependencies:
+ call-bind: 1.0.9
+ for-each: 0.3.5
+ gopd: 1.2.0
+ is-typed-array: 1.1.15
+ possible-typed-array-names: 1.1.0
+ reflect.getprototypeof: 1.0.10
+
+ optionalDependencies:
+ '@typescript/typescript-aix-ppc64': 7.0.2
+ '@typescript/typescript-darwin-arm64': 7.0.2
+ '@typescript/typescript-darwin-x64': 7.0.2
+ '@typescript/typescript-freebsd-arm64': 7.0.2
+ '@typescript/typescript-freebsd-x64': 7.0.2
+ '@typescript/typescript-linux-arm': 7.0.2
+ '@typescript/typescript-linux-arm64': 7.0.2
+ '@typescript/typescript-linux-loong64': 7.0.2
+ '@typescript/typescript-linux-mips64el': 7.0.2
+ '@typescript/typescript-linux-ppc64': 7.0.2
+ '@typescript/typescript-linux-riscv64': 7.0.2
+ '@typescript/typescript-linux-s390x': 7.0.2
+ '@typescript/typescript-linux-x64': 7.0.2
+ '@typescript/typescript-netbsd-arm64': 7.0.2
+ '@typescript/typescript-netbsd-x64': 7.0.2
+ '@typescript/typescript-openbsd-arm64': 7.0.2
+ '@typescript/typescript-openbsd-x64': 7.0.2
+ '@typescript/typescript-sunos-x64': 7.0.2
+ '@typescript/typescript-win32-arm64': 7.0.2
+ '@typescript/typescript-win32-x64': 7.0.2
+
+ dependencies:
+ call-bound: 1.0.4
+ has-bigints: 1.1.0
+ has-symbols: 1.1.0
+ which-boxed-primitive: 1.1.1
+
+
+
+
+ optional: true
+
+
+ dependencies:
+ unicode-canonical-property-names-ecmascript: 2.0.1
+ unicode-property-aliases-ecmascript: 2.2.0
+
+
+
+ dependencies:
+ crypto-random-string: 2.0.0
+
+
+
+ dependencies:
+ bluebird: 3.7.2
+ duplexer2: 0.1.4
+ fs-extra: 11.3.1
+ graceful-fs: 4.2.11
+ node-int64: 0.4.0
+
+
+ dependencies:
+ browserslist: 4.29.3
+ escalade: 3.2.0
+ picocolors: 1.1.1
+
+
+
+ dependencies:
+ debug: 4.4.3
+ pretty-bytes: 6.1.1
+ tinyglobby: 0.2.17
+ workbox-build: 7.4.1
+ workbox-window: 7.4.1
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ lightningcss: 1.33.0
+ picomatch: 4.0.7
+ postcss: 8.5.30
+ rolldown: 1.2.13
+ tinyglobby: 0.2.17
+ optionalDependencies:
+ '@types/node': 24.19.2
+ esbuild: 0.28.2
+ fsevents: 2.3.3
+ jiti: 2.7.0
+ terser: 5.51.2
+ tsx: 4.23.15
+
+ dependencies:
+ '@peculiar/asn1-schema': 2.11.0
+ '@peculiar/json-schema': 1.1.12
+ '@peculiar/utils': 2.0.3
+ asn1js: 3.0.10
+ tslib: 2.8.1
+
+ dependencies:
+ is-bigint: 1.1.0
+ is-boolean-object: 1.2.2
+ is-number-object: 1.1.1
+ is-string: 1.1.1
+ is-symbol: 1.1.1
+
+ dependencies:
+ call-bound: 1.0.4
+ function.prototype.name: 1.2.0
+ has-tostringtag: 1.0.2
+ is-async-function: 2.1.1
+ is-date-object: 1.1.0
+ is-finalizationregistry: 1.1.1
+ is-generator-function: 1.1.2
+ is-regex: 1.2.1
+ is-weakref: 1.1.1
+ isarray: 2.0.5
+ which-boxed-primitive: 1.1.1
+ which-collection: 1.0.2
+ which-typed-array: 1.1.24
+
+ dependencies:
+ is-map: 2.0.3
+ is-set: 2.0.3
+ is-weakmap: 2.0.2
+ is-weakset: 2.0.4
+
+ dependencies:
+ available-typed-arrays: 1.0.7
+ call-bind: 1.0.9
+ call-bound: 1.0.4
+ for-each: 0.3.5
+ get-proto: 1.0.1
+ gopd: 1.2.0
+ has-tostringtag: 1.0.2
+
+ dependencies:
+ isexe: 2.0.0
+
+ dependencies:
+ isexe: 3.1.5
+
+ dependencies:
+ isexe: 4.0.0
+
+ dependencies:
+ idb: 7.1.1
+ workbox-core: 7.4.1
+
+ dependencies:
+ workbox-core: 7.4.1
+
+ dependencies:
+ '@apideck/better-ajv-errors': 0.3.7([email protected])
+ '@babel/core': 7.29.7
+ '@babel/preset-env': 7.29.7(@babel/[email protected])
+ '@babel/runtime': 7.29.10
+ '@rollup/plugin-babel': 6.1.0(@babel/[email protected])([email protected])
+ '@rollup/plugin-node-resolve': 16.0.3([email protected])
+ '@rollup/plugin-replace': 6.0.3([email protected])
+ '@rollup/plugin-terser': 1.0.0([email protected])
+ '@trickfilm400/rollup-plugin-off-main-thread': 3.0.0-pre1
+ ajv: 8.20.0
+ common-tags: 1.8.2
+ eta: 4.6.0
+ fast-json-stable-stringify: 2.1.0
+ fs-extra: 9.1.0
+ glob: 11.1.0
+ pretty-bytes: 5.6.0
+ rollup: 4.64.5
+ source-map: 0.8.0
+ stringify-object: 3.3.0
+ strip-comments: 2.0.1
+ tempy: 0.6.0
+ upath: 1.2.0
+ workbox-background-sync: 7.4.1
+ workbox-broadcast-update: 7.4.1
+ workbox-cacheable-response: 7.4.1
+ workbox-core: 7.4.1
+ workbox-expiration: 7.4.1
+ workbox-google-analytics: 7.4.1
+ workbox-navigation-preload: 7.4.1
+ workbox-precaching: 7.4.1
+ workbox-range-requests: 7.4.1
+ workbox-recipes: 7.4.1
+ workbox-routing: 7.4.1
+ workbox-strategies: 7.4.1
+ workbox-streams: 7.4.1
+ workbox-sw: 7.4.1
+ workbox-window: 7.4.1
+ transitivePeerDependencies:
+ - '@types/babel__core'
+ - supports-color
+
+ dependencies:
+ workbox-core: 7.4.1
+
+
+ dependencies:
+ idb: 7.1.1
+ workbox-core: 7.4.1
+
+ dependencies:
+ workbox-background-sync: 7.4.1
+ workbox-core: 7.4.1
+ workbox-routing: 7.4.1
+ workbox-strategies: 7.4.1
+
+ dependencies:
+ workbox-core: 7.4.1
+
+ dependencies:
+ workbox-core: 7.4.1
+ workbox-routing: 7.4.1
+ workbox-strategies: 7.4.1
+
+ dependencies:
+ workbox-core: 7.4.1
+
+ dependencies:
+ workbox-cacheable-response: 7.4.1
+ workbox-core: 7.4.1
+ workbox-expiration: 7.4.1
+ workbox-precaching: 7.4.1
+ workbox-routing: 7.4.1
+ workbox-strategies: 7.4.1
+
+ dependencies:
+ workbox-core: 7.4.1
+
+ dependencies:
+ workbox-core: 7.4.1
+
+ dependencies:
+ workbox-core: 7.4.1
+ workbox-routing: 7.4.1
+
+
+ dependencies:
+ '@types/trusted-types': 2.0.7
+ workbox-core: 7.4.1
+
+ dependencies:
+ ansi-styles: 4.3.0
+ string-width: 4.2.3
+ strip-ansi: 6.0.1
+
+
+
+
+
+
+
+
+ dependencies:
+ cliui: 8.0.1
+ escalade: 3.2.0
+ get-caller-file: 2.0.5
+ require-directory: 2.1.1
+ string-width: 4.2.3
+ y18n: 5.0.8
+ yargs-parser: 21.1.1
+
+
+ dependencies:
+ '@bufbuild/protobuf': 2.16.0
+ fflate: 0.8.3
+ meriyah: 7.4.0
+
+ optionalDependencies:
+ '@types/react': 19.3.0
+ react: 19.3.0
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
new file mode 100644
index 0000000..bf66e43
--- /dev/null
+++ b/pnpm-workspace.yaml
@@ -0,0 +1,8 @@
+packages:
+ - server
+ - web
+ - desktop
+
+onlyBuiltDependencies:
+ - esbuild
+ - electron
diff --git a/server/package.json b/server/package.json
new file mode 100644
index 0000000..c78d124
--- /dev/null
+++ b/server/package.json
@@ -0,0 +1,21 @@
+{
+ "name": "@musike/server",
+ "private": true,
+ "version": "0.1.0",
+ "type": "module",
+ "scripts": {
+ "dev": "tsx watch --clear-screen=false src/index.ts",
+ "start": "tsx src/index.ts",
+ "typecheck": "tsc --noEmit"
+ },
+ "dependencies": {
+ "@fastify/static": "10.1.6",
+ "fastify": "5.12.5",
+ "youtubei.js": "18.1.0"
+ },
+ "devDependencies": {
+ "@types/node": "^22.20.5",
+ "tsx": "4.23.15",
+ "typescript": "^7.0.2"
+ }
+}
diff --git a/server/src/app.ts b/server/src/app.ts
new file mode 100644
index 0000000..a47ca13
--- /dev/null
+++ b/server/src/app.ts
@@ -0,0 +1,186 @@
+import { existsSync } from "node:fs";
+import { createServer } from "node:net";
+import fastifyStatic from "@fastify/static";
+import Fastify from "fastify";
+import { config } from "./config.js";
+import * as library from "./library.js";
+import { findVideoFor, radio, search, suggestions } from "./search.js";
+import { proxyStream, serveFile } from "./stream.js";
+import { startJob, systemInfo, type Channel } from "./system.js";
+import { refreshTools, type Tools } from "./tools.js";
+import { HttpError, VIDEO_ID } from "./types.js";
+import { downloadHd, pruneCache, resolveStreams } from "./ytdlp.js";
+
+function videoId(params: unknown): string {
+ const id = (params as { id?: string }).id ?? "";
+ if (!VIDEO_ID.test(id)) throw new HttpError(400, "ID de vídeo inválido.");
+ return id;
+}
+
+function query(q: unknown): string {
+ const s = typeof q === "string" ? q.trim() : "";
+ if (!s) throw new HttpError(400, "Digite algo para buscar.");
+ return s.slice(0, 200);
+}
+
+export interface StartOptions {
+ port?: number;
+ host?: string;
+ /** Try the next ports when the preferred one is taken (the desktop app does this). */
+ portFallback?: boolean;
+}
+
+export interface RunningServer {
+ port: number;
+ tools: Tools;
+ close: () => Promise<void>;
+}
+
+/** Builds the Musike HTTP server (API + web app) and starts listening. */
+export async function startServer(opts: StartOptions = {}): Promise<RunningServer> {
+ const found = await refreshTools();
+ const app = Fastify({ logger: { level: process.env.LOG_LEVEL ?? "warn" } });
+
+ app.setErrorHandler((err, _req, reply) => {
+ const e = err as Error & { statusCode?: number };
+ const status = e instanceof HttpError ? e.status : e.statusCode ?? 500;
+ if (status >= 500) app.log.error(e);
+ if (!reply.sent) reply.code(status).send({ error: e.message, code: e instanceof HttpError ? e.code : undefined });
+ });
+
+ app.get("/api/health", async () => ({ ok: true }));
+
+ // System: yt-dlp status and one-click update
+
+ app.get("/api/system", () => systemInfo());
+
+ app.post("/api/system/ytdlp", async (req) => {
+ const { channel } = (req.body ?? {}) as { channel?: string };
+ return startJob((channel === "nightly" ? "nightly" : "stable") satisfies Channel);
+ });
+
+ // Discovery
+
+ app.get("/api/search", async (req) => {
+ const { q, type } = req.query as { q?: string; type?: string };
+ return { tracks: await search(query(q), type === "video" ? "video" : "song") };
+ });
+
+ app.get("/api/suggest", async (req) => {
+ const { q } = req.query as { q?: string };
+ if (!q?.trim()) return { suggestions: [] };
+ return { suggestions: await suggestions(q.trim().slice(0, 100)).catch(() => []) };
+ });
+
+ app.get("/api/radio/:id", async (req) => ({ tracks: await radio(videoId(req.params)) }));
+
+ /** The music video for a song, so "Vídeo" mode can show the clip instead of a still cover. */
+ app.get("/api/video-for/:id", async (req) => {
+ const { title, artist, duration } = req.query as { title?: string; artist?: string; duration?: string };
+ if (!title?.trim()) throw new HttpError(400, "Informe o título da música.");
+ const track = await findVideoFor(videoId(req.params), title.slice(0, 200), (artist ?? "").slice(0, 200), Number(duration) || 0);
+ return { track };
+ });
+
+ // Playback
+
+ /** Resolves stream URLs ahead of time so the next track starts instantly. */
+ app.post("/api/prepare/:id", async (req) => {
+ const r = await resolveStreams(videoId(req.params));
+ return { id: r.id, title: r.title, duration: r.duration, hasSdVideo: !!r.video };
+ });
+
+ app.get("/api/stream/:id/audio", (req, reply) => proxyStream(req, reply, videoId(req.params), "audio"));
+
+ app.get("/api/stream/:id/video", async (req, reply) => {
+ const id = videoId(req.params);
+ const { q } = req.query as { q?: string };
+ if (q === "hd") return serveFile(req, reply, await downloadHd(id), "video/mp4");
+ const resolved = await resolveStreams(id);
+ if (!resolved.video) return serveFile(req, reply, await downloadHd(id), "video/mp4");
+ return proxyStream(req, reply, id, "video");
+ });
+
+ // Library
+
+ app.get("/api/library", () => library.getLibrary());
+
+ /** Restores a backup file exported by any Musike instance. Big libraries need more than the 1 MB default body. */
+ app.post("/api/library/import", { bodyLimit: 25 * 1024 * 1024 }, async (req) => {
+ const body = (req.body ?? {}) as { backup?: { format?: unknown; version?: unknown; library?: unknown }; mode?: unknown };
+ const backup = body.backup;
+ if (backup?.format !== "musike-backup") throw new HttpError(400, "Este arquivo não é um backup do Musike.");
+ if (typeof backup.version !== "number" || backup.version > 1) {
+ throw new HttpError(400, "Backup de uma versão mais nova do Musike. Atualize o app para importar.");
+ }
+ return library.importLibrary(backup.library, body.mode === "replace" ? "replace" : "merge");
+ });
+
+ app.put("/api/favorites/:id", async (req) => {
+ const track = library.sanitizeTrack(req.body);
+ if (track.id !== videoId(req.params)) throw new HttpError(400, "ID não confere.");
+ return { favorites: await library.addFavorite(track) };
+ });
+
+ app.delete("/api/favorites/:id", async (req) => ({ favorites: await library.removeFavorite(videoId(req.params)) }));
+
+ app.post("/api/history", async (req) => ({ history: await library.pushHistory(library.sanitizeTrack(req.body)) }));
+
+ app.post("/api/playlists", async (req) => {
+ const body = (req.body ?? {}) as { name?: unknown; tracks?: unknown };
+ const tracks = Array.isArray(body.tracks) ? body.tracks.slice(0, 500).map(library.sanitizeTrack) : [];
+ return library.createPlaylist(typeof body.name === "string" ? body.name : "", tracks);
+ });
+
+ app.patch("/api/playlists/:pid", async (req) => {
+ const { pid } = req.params as { pid: string };
+ const { name } = (req.body ?? {}) as { name?: unknown };
+ return library.renamePlaylist(pid, typeof name === "string" ? name : "");
+ });
+
+ app.delete("/api/playlists/:pid", async (req, reply) => {
+ await library.deletePlaylist((req.params as { pid: string }).pid);
+ return reply.code(204).send();
+ });
+
+ app.post("/api/playlists/:pid/tracks", async (req) =>
+ library.addToPlaylist((req.params as { pid: string }).pid, library.sanitizeTrack(req.body)),
+ );
+
+ app.delete("/api/playlists/:pid/tracks/:id", async (req) =>
+ library.removeFromPlaylist((req.params as { pid: string }).pid, videoId(req.params)),
+ );
+
+ // Web app (production build)
+
+ if (existsSync(config.webDist)) {
+ // Wildcard mode resolves files per request, so rebuilding the web app never needs a server restart.
+ await app.register(fastifyStatic, { root: config.webDist });
+ app.setNotFoundHandler((req, reply) => {
+ if (req.method === "GET" && !req.url.startsWith("/api/")) return reply.sendFile("index.html");
+ reply.code(404).send({ error: "Rota não encontrada." });
+ });
+ }
+
+ const host = opts.host ?? config.host;
+ const preferred = opts.port ?? config.port;
+ const port = opts.portFallback ? await freePort(preferred, host) : preferred;
+ await app.listen({ port, host });
+
+ pruneCache().catch(() => {});
+ return { port, tools: found, close: () => app.close() };
+}
+
+/** First free port from `start` (up to 10 tries), so a second copy or a dev server doesn't block launch. */
+async function freePort(start: number, host: string): Promise<number> {
+ for (let port = start; port < start + 10; port++) {
+ const free = await new Promise<boolean>((resolve) => {
+ const probe = createServer()
+ .once("error", () => resolve(false))
+ .once("listening", () => probe.close(() => resolve(true)))
+ .listen(port, host);
+ });
+ if (free) return port;
+ }
+ throw new Error(`Nenhuma porta livre entre ${start} e ${start + 9}.`);
+}
diff --git a/server/src/bootstrap.ts b/server/src/bootstrap.ts
new file mode 100644
index 0000000..e1e6eb3
--- /dev/null
+++ b/server/src/bootstrap.ts
@@ -0,0 +1,104 @@
+import { execFile } from "node:child_process";
+import { createWriteStream, existsSync } from "node:fs";
+import { cp, mkdir, readdir, rename, rm } from "node:fs/promises";
+import path from "node:path";
+import { Readable, Transform } from "node:stream";
+import { pipeline } from "node:stream/promises";
+import { promisify } from "node:util";
+import { config } from "./config.js";
+import { refreshTools, tools } from "./tools.js";
+import { HttpError } from "./types.js";
+
+const exec = promisify(execFile);
+
+export type Component = "yt-dlp" | "deno" | "ffmpeg";
+
+export interface DownloadState {
+ received: number;
+ total: number;
+ status: "downloading" | "extracting" | "done" | "error";
+ error?: string;
+}
+
+/** Official Windows builds. FFmpeg is the LGPL "shared" build: about half the size of the static one. */
+const SOURCES: Record<Component, string> = {
+ "yt-dlp": "https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp.exe",
+ deno: "https://github.com/denoland/deno/releases/latest/download/deno-x86_64-pc-windows-msvc.zip",
+ ffmpeg: "https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/ffmpeg-master-latest-win64-lgpl-shared.zip",
+};
+
+const states = new Map<Component, DownloadState>();
+const inflight = new Map<Component, Promise<void>>();
+
+export const downloads = (): Partial<Record<Component, DownloadState>> => Object.fromEntries(states);
+
+const isInstalled = (c: Component) => !!(c === "yt-dlp" ? tools().ytdlp : c === "deno" ? tools().deno : tools().ffmpeg);
+
+/** Downloads one tool into the app's private bin folder (no-op if already available anywhere). */
+export function ensureComponent(c: Component): Promise<void> {
+ if (isInstalled(c)) return Promise.resolve();
+ const bin = config.binDir;
+ if (!bin) return Promise.reject(new HttpError(503, `${c} não encontrado neste computador.`, "tool_missing"));
+ const running = inflight.get(c);
+ if (running) return running;
+
+ const state: DownloadState = { received: 0, total: 0, status: "downloading" };
+ states.set(c, state);
+
+ const job = (async () => {
+ await mkdir(bin, { recursive: true });
+ const tmp = path.join(bin, `.${c}.download`);
+ const res = await fetch(SOURCES[c], { headers: { "user-agent": "musike" }, redirect: "follow" });
+ if (!res.ok || !res.body) throw new Error(`Download de ${c} falhou (HTTP ${res.status}).`);
+ state.total = Number(res.headers.get("content-length")) || 0;
+
+ const count = new Transform({
+ transform(chunk: Buffer, _enc, done) {
+ state.received += chunk.length;
+ done(null, chunk);
+ },
+ });
+ await pipeline(Readable.fromWeb(res.body as never), count, createWriteStream(tmp));
+
+ if (c === "yt-dlp") {
+ await rename(tmp, path.join(bin, "yt-dlp.exe"));
+ } else {
+ state.status = "extracting";
+ const out = path.join(bin, `.${c}-extract`);
+ await rm(out, { recursive: true, force: true });
+ await mkdir(out, { recursive: true });
+ // Windows 10+ ships bsdtar, which reads zip files.
+ const tar = path.join(process.env.SystemRoot ?? "C:\\Windows", "System32", "tar.exe");
+ await exec(existsSync(tar) ? tar : "tar", ["-xf", tmp, "-C", out], { windowsHide: true });
+ if (c === "deno") {
+ await rename(path.join(out, "deno.exe"), path.join(bin, "deno.exe"));
+ } else {
+ // ffmpeg-<build>/bin holds ffmpeg.exe, ffprobe.exe and the DLLs they need.
+ const root = (await readdir(out)).find((d) => d.startsWith("ffmpeg"));
+ if (!root) throw new Error("Pacote do FFmpeg inesperado.");
+ const target = path.join(bin, "ffmpeg");
+ await rm(target, { recursive: true, force: true });
+ await cp(path.join(out, root, "bin"), target, { recursive: true });
+ }
+ await rm(out, { recursive: true, force: true });
+ await rm(tmp, { force: true });
+ }
+
+ await refreshTools();
+ state.status = "done";
+ })()
+ .catch((err: Error) => {
+ state.status = "error";
+ state.error = err.message;
+ throw err;
+ })
+ .finally(() => inflight.delete(c));
+
+ inflight.set(c, job);
+ return job;
+}
+
+/** What playback needs: yt-dlp and Deno. FFmpeg (HD and some videos) can follow in the background. */
+export async function ensureEssentials(): Promise<void> {
+ await Promise.all([ensureComponent("yt-dlp"), ensureComponent("deno")]);
+}
diff --git a/server/src/config.ts b/server/src/config.ts
new file mode 100644
index 0000000..449e7b0
--- /dev/null
+++ b/server/src/config.ts
@@ -0,0 +1,26 @@
+import { fileURLToPath } from "node:url";
+import path from "node:path";
+
+// Folder of the server package (bundled builds pass every path through env instead).
+const root = typeof import.meta.url === "string" ? path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..") : process.cwd();
+
+export const config = {
+ port: Number(process.env.PORT ?? 4180),
+ host: process.env.HOST ?? "0.0.0.0",
+ /** Explicit yt-dlp executable. When unset it is located automatically (see tools.ts). */
+ ytdlpPath: process.env.YTDLP_PATH || null,
+ // Extra yt-dlp flags, e.g. YTDLP_EXTRA_ARGS="--cookies-from-browser firefox"
+ ytdlpExtraArgs: (process.env.YTDLP_EXTRA_ARGS ?? "").split(" ").filter(Boolean),
+ dataDir: process.env.MUSIKE_DATA_DIR ?? path.join(root, "data"),
+ cacheDir: process.env.MUSIKE_CACHE_DIR ?? path.join(root, "cache"),
+ /** HD video cache limit; least recently played videos are evicted first. */
+ cacheMaxBytes: Number(process.env.MUSIKE_CACHE_MAX_MB ?? 2048) * 1024 * 1024,
+ webDist: process.env.MUSIKE_WEB_DIST ?? path.resolve(root, "..", "web", "dist"),
+ /**
+ * Private folder for yt-dlp, Deno and FFmpeg downloaded by Musike itself (the desktop app sets it).
+ * Searched before the system PATH, and where "Instalar" puts the tools when set.
+ */
+ binDir: process.env.MUSIKE_BIN_DIR || null,
+ lang: process.env.MUSIKE_LANG ?? "pt",
+ location: process.env.MUSIKE_LOCATION ?? "BR",
+};
diff --git a/server/src/index.ts b/server/src/index.ts
new file mode 100644
index 0000000..7e2b92d
--- /dev/null
+++ b/server/src/index.ts
@@ -0,0 +1,20 @@
+import { existsSync } from "node:fs";
+import { networkInterfaces } from "node:os";
+import path from "node:path";
+import { startServer } from "./app.js";
+import { config } from "./config.js";
+
+const { port, tools } = await startServer();
+
+const lan = Object.values(networkInterfaces())
+ .flat()
+ .filter((i) => i && i.family === "IPv4" && !i.internal)
+ .map((i) => `http://${i!.address}:${port}`);
+console.log(`\n Musike rodando`);
+console.log(` Local: http://localhost:${port}`);
+for (const url of lan) console.log(` Rede: ${url}`);
+if (!existsSync(config.webDist)) console.log(` (web não compilado: rode "pnpm build" ou use "pnpm dev")`);
+console.log(` yt-dlp: ${tools.ytdlp ?? "NÃO ENCONTRADO (instale pelo Musike em Ajustes)"}`);
+if (!tools.deno) console.log(` Deno: não encontrado (o YouTube pode falhar sem ele)`);
+if (!tools.ffmpeg) console.log(` FFmpeg: não encontrado (vídeo HD indisponível)`);
+console.log(` Dados: ${path.relative(process.cwd(), config.dataDir) || config.dataDir}\n`);
diff --git a/server/src/library.ts b/server/src/library.ts
new file mode 100644
index 0000000..56a0d02
--- /dev/null
+++ b/server/src/library.ts
@@ -0,0 +1,230 @@
+import { randomUUID } from "node:crypto";
+import { existsSync } from "node:fs";
+import { mkdir, readFile, rename, writeFile } from "node:fs/promises";
+import path from "node:path";
+import { config } from "./config.js";
+import { HttpError, VIDEO_ID, type Library, type Playlist, type Track } from "./types.js";
+
+const FILE = path.join(config.dataDir, "library.json");
+const HISTORY_LIMIT = 60;
+
+let state: Library | null = null;
+let writeChain: Promise<void> = Promise.resolve();
+
+async function load(): Promise<Library> {
+ if (state) return state;
+ if (existsSync(FILE)) {
+ state = JSON.parse(await readFile(FILE, "utf8")) as Library;
+ } else {
+ state = { favorites: [], playlists: [], history: [] };
+ }
+ return state;
+}
+
+/** Serialized, atomic writes so concurrent requests never corrupt the file. */
+function persist(): Promise<void> {
+ const snapshot = JSON.stringify(state, null, 2);
+ writeChain = writeChain.then(async () => {
+ await mkdir(config.dataDir, { recursive: true });
+ const tmp = `${FILE}.tmp`;
+ await writeFile(tmp, snapshot, "utf8");
+ await rename(tmp, FILE);
+ });
+ return writeChain;
+}
+
+const str = (v: unknown, max: number) => (typeof v === "string" ? v.slice(0, max) : "");
+
+export function sanitizeTrack(input: unknown): Track {
+ const t = (input ?? {}) as Record<string, unknown>;
+ const id = str(t.id, 11);
+ if (!VIDEO_ID.test(id)) throw new HttpError(400, "Faixa inválida.");
+ const url = (v: unknown) => {
+ const s = str(v, 500);
+ return /^https:\/\//.test(s) ? s : "";
+ };
+ return {
+ id,
+ title: str(t.title, 300) || "Sem título",
+ artist: str(t.artist, 300),
+ album: str(t.album, 300) || undefined,
+ duration: typeof t.duration === "number" && Number.isFinite(t.duration) ? Math.max(0, Math.round(t.duration)) : 0,
+ thumb: url(t.thumb),
+ art: url(t.art),
+ kind: t.kind === "video" ? "video" : "song",
+ };
+}
+
+function findPlaylist(lib: Library, pid: string): Playlist {
+ const p = lib.playlists.find((x) => x.id === pid);
+ if (!p) throw new HttpError(404, "Playlist não encontrada.");
+ return p;
+}
+
+export async function getLibrary(): Promise<Library> {
+ return load();
+}
+
+export async function addFavorite(track: Track): Promise<Track[]> {
+ const lib = await load();
+ lib.favorites = [track, ...lib.favorites.filter((t) => t.id !== track.id)];
+ await persist();
+ return lib.favorites;
+}
+
+export async function removeFavorite(id: string): Promise<Track[]> {
+ const lib = await load();
+ lib.favorites = lib.favorites.filter((t) => t.id !== id);
+ await persist();
+ return lib.favorites;
+}
+
+export async function pushHistory(track: Track): Promise<Track[]> {
+ const lib = await load();
+ lib.history = [track, ...lib.history.filter((t) => t.id !== track.id)].slice(0, HISTORY_LIMIT);
+ await persist();
+ return lib.history;
+}
+
+export async function createPlaylist(name: string, tracks: Track[] = []): Promise<Playlist> {
+ const lib = await load();
+ const clean = name.trim().slice(0, 80);
+ if (!clean) throw new HttpError(400, "Dê um nome à playlist.");
+ const now = Date.now();
+ const playlist: Playlist = { id: randomUUID(), name: clean, createdAt: now, updatedAt: now, tracks };
+ lib.playlists.unshift(playlist);
+ await persist();
+ return playlist;
+}
+
+export async function renamePlaylist(pid: string, name: string): Promise<Playlist> {
+ const lib = await load();
+ const p = findPlaylist(lib, pid);
+ const clean = name.trim().slice(0, 80);
+ if (!clean) throw new HttpError(400, "Dê um nome à playlist.");
+ p.name = clean;
+ p.updatedAt = Date.now();
+ await persist();
+ return p;
+}
+
+export async function deletePlaylist(pid: string): Promise<void> {
+ const lib = await load();
+ findPlaylist(lib, pid);
+ lib.playlists = lib.playlists.filter((p) => p.id !== pid);
+ await persist();
+}
+
+export async function addToPlaylist(pid: string, track: Track): Promise<Playlist> {
+ const lib = await load();
+ const p = findPlaylist(lib, pid);
+ if (!p.tracks.some((t) => t.id === track.id)) p.tracks.push(track);
+ p.updatedAt = Date.now();
+ await persist();
+ return p;
+}
+
+export async function removeFromPlaylist(pid: string, trackId: string): Promise<Playlist> {
+ const lib = await load();
+ const p = findPlaylist(lib, pid);
+ p.tracks = p.tracks.filter((t) => t.id !== trackId);
+ p.updatedAt = Date.now();
+ await persist();
+ return p;
+}
+
+// Backup import: a library exported from any Musike instance (web, desktop, another computer).
+
+const MAX_PLAYLISTS = 1000;
+const MAX_TRACKS = 5000;
+
+/** Keeps the valid tracks of an untrusted list, without duplicates. */
+function cleanTracks(input: unknown, limit = MAX_TRACKS): Track[] {
+ if (!Array.isArray(input)) return [];
+ const seen = new Set<string>();
+ const out: Track[] = [];
+ for (const raw of input.slice(0, limit * 2)) {
+ try {
+ const t = sanitizeTrack(raw);
+ if (seen.has(t.id)) continue;
+ seen.add(t.id);
+ out.push(t);
+ if (out.length >= limit) break;
+ } catch {
+ // skip invalid entries instead of rejecting the whole backup
+ }
+ }
+ return out;
+}
+
+function cleanLibrary(input: unknown): Library {
+ const lib = (input ?? {}) as Record<string, unknown>;
+ const playlists = (Array.isArray(lib.playlists) ? lib.playlists : []).slice(0, MAX_PLAYLISTS).flatMap((raw): Playlist[] => {
+ const p = (raw ?? {}) as Record<string, unknown>;
+ const name = str(p.name, 80).trim();
+ if (!name) return [];
+ const now = Date.now();
+ const num = (v: unknown) => (typeof v === "number" && Number.isFinite(v) ? v : now);
+ const id = str(p.id, 64);
+ return [{ id: /^[\w-]{8,64}$/.test(id) ? id : randomUUID(), name, createdAt: num(p.createdAt), updatedAt: num(p.updatedAt), tracks: cleanTracks(p.tracks) }];
+ });
+ return { favorites: cleanTracks(lib.favorites), playlists, history: cleanTracks(lib.history, HISTORY_LIMIT) };
+}
+
+export interface ImportResult {
+ playlistsAdded: number;
+ playlistsMerged: number;
+ tracksAdded: number;
+ favoritesAdded: number;
+}
+
+/**
+ * "merge" adds what is missing and never deletes (playlists match by id, then by name).
+ * "replace" swaps the whole library for the backup's.
+ */
+export async function importLibrary(input: unknown, mode: "merge" | "replace"): Promise<ImportResult> {
+ const incoming = cleanLibrary(input);
+ const lib = await load();
+ const result: ImportResult = { playlistsAdded: 0, playlistsMerged: 0, tracksAdded: 0, favoritesAdded: 0 };
+
+ if (mode === "replace") {
+ state = incoming;
+ result.playlistsAdded = incoming.playlists.length;
+ result.favoritesAdded = incoming.favorites.length;
+ result.tracksAdded = incoming.playlists.reduce((n, p) => n + p.tracks.length, 0);
+ await persist();
+ return result;
+ }
+
+ const union = (mine: Track[], theirs: Track[]) => {
+ const have = new Set(mine.map((t) => t.id));
+ const added = theirs.filter((t) => !have.has(t.id));
+ return { list: [...mine, ...added], added: added.length };
+ };
+
+ const fav = union(lib.favorites, incoming.favorites);
+ lib.favorites = fav.list;
+ result.favoritesAdded = fav.added;
+
+ for (const p of incoming.playlists) {
+ const match =
+ lib.playlists.find((x) => x.id === p.id) ??
+ lib.playlists.find((x) => x.name.toLocaleLowerCase("pt-BR") === p.name.toLocaleLowerCase("pt-BR"));
+ if (match) {
+ const merged = union(match.tracks, p.tracks);
+ if (!merged.added) continue; // already had every track: nothing changed
+ match.tracks = merged.list.slice(0, MAX_TRACKS);
+ match.updatedAt = Date.now();
+ result.tracksAdded += merged.added;
+ result.playlistsMerged++;
+ } else {
+ lib.playlists.push(p);
+ result.tracksAdded += p.tracks.length;
+ result.playlistsAdded++;
+ }
+ }
+
+ lib.history = union(lib.history, incoming.history).list.slice(0, HISTORY_LIMIT);
+ await persist();
+ return result;
+}
diff --git a/server/src/search.ts b/server/src/search.ts
new file mode 100644
index 0000000..e7d0fe8
--- /dev/null
+++ b/server/src/search.ts
@@ -0,0 +1,186 @@
+import { Innertube } from "youtubei.js";
+import { config } from "./config.js";
+import type { Track } from "./types.js";
+import { VIDEO_ID } from "./types.js";
+import { ytdlpSearch } from "./ytdlp.js";
+
+let client: Promise<Innertube> | null = null;
+
+function yt(): Promise<Innertube> {
+ client ??= Innertube.create({ retrieve_player: false, lang: config.lang, location: config.location }).catch((err) => {
+ client = null;
+ throw err;
+ });
+ return client;
+}
+
+/** Retries once with a fresh InnerTube session, since sessions can go stale. */
+async function withClient<T>(fn: (yt: Innertube) => Promise<T>): Promise<T> {
+ try {
+ return await fn(await yt());
+ } catch {
+ client = null;
+ return fn(await yt());
+ }
+}
+
+function sized(url: string | undefined, px: number): string {
+ if (!url) return "";
+ // googleusercontent / ggpht thumbnails encode their size after "="
+ if (/googleusercontent\.com|ggpht\.com/.test(url)) return url.replace(/=w\d+-h\d+[^&]*$/, `=w${px}-h${px}-l90-rj`);
+ return url;
+}
+
+function videoThumbs(id: string) {
+ // mqdefault and hq720 are true 16:9 (hqdefault is letterboxed 4:3). The web app falls back to mqdefault if hq720 is missing.
+ return { thumb: `https://i.ytimg.com/vi/${id}/mqdefault.jpg`, art: `https://i.ytimg.com/vi/${id}/hq720.jpg` };
+}
+
+const text = (v: unknown): string => (v == null ? "" : typeof v === "string" ? v : String((v as { toString(): string }).toString()));
+
+// youtubei.js node shapes differ between item types, so read them defensively.
+function toTrack(item: any, kind: Track["kind"]): Track | null {
+ const id: string | undefined = item.id ?? item.video_id;
+ if (!id || !VIDEO_ID.test(id)) return null;
+ const artists: string[] = (item.artists ?? item.authors ?? []).map((a: { name: string }) => a.name).filter(Boolean);
+ const artist = artists.join(", ") || text(item.author?.name) || "";
+ const thumbs = item.thumbnail?.contents ?? item.thumbnail ?? item.thumbnails ?? [];
+ const best = Array.isArray(thumbs) ? thumbs[0]?.url : undefined;
+ const isSquare = typeof best === "string" && /googleusercontent\.com|ggpht\.com/.test(best);
+ const images = isSquare ? { thumb: sized(best, 120), art: sized(best, 544) } : videoThumbs(id);
+ return {
+ id,
+ title: text(item.title) || text(item.name),
+ artist,
+ album: item.album?.name || undefined,
+ duration: item.duration?.seconds ?? 0,
+ ...images,
+ kind: isSquare ? kind : "video",
+ };
+}
+
+export async function search(query: string, type: "song" | "video"): Promise<Track[]> {
+ try {
+ const result = await withClient((yt) => yt.music.search(query, { type }));
+ const shelf = result.contents?.[0] as { contents?: unknown[] } | undefined;
+ const tracks = (shelf?.contents ?? []).map((i) => toTrack(i, type)).filter((t): t is Track => !!t);
+ if (tracks.length) return tracks;
+ } catch {
+ // fall through to yt-dlp search
+ }
+ const entries = await ytdlpSearch(query);
+ return entries
+ .filter((e) => VIDEO_ID.test(e.id))
+ .map((e) => ({
+ id: e.id,
+ title: e.title,
+ artist: e.channel ?? e.uploader ?? "",
+ duration: e.duration ?? 0,
+ ...videoThumbs(e.id),
+ kind: "video" as const,
+ }));
+}
+
+export async function suggestions(query: string): Promise<string[]> {
+ const sections = await withClient((yt) => yt.music.getSearchSuggestions(query));
+ const first = sections[0] as { contents?: { suggestion?: unknown }[] } | undefined;
+ return (first?.contents ?? [])
+ .map((s) => text(s.suggestion))
+ .filter(Boolean)
+ .slice(0, 8);
+}
+
+/** Lowercase, accent-free words. Keeps everything, for spotting "(ao vivo)", "(clipe oficial)" etc. */
+const flat = (s: string) =>
+ s
+ .normalize("NFD")
+ .replace(/[̀-ͯ]/g, "")
+ .toLowerCase()
+ .replace(/[^a-z0-9]+/g, " ")
+ .trim();
+
+/** Like `flat`, minus parentheticals, for comparing titles ("Trevo (Tu) (part. X)" → "trevo"). */
+const norm = (s: string) => flat(s.replace(/\(.*?\)|\[.*?\]/g, " "));
+
+const NOT_THE_CLIP =
+ /\b(cover|karaoke|nightcore|8d|slowed|reverb|sped up|lyrics?|letra|traducao|legendado|tutorial|reaction|ao vivo|live|version|versao|remix|mashup|parody|parodia|instrumental|metal)\b/;
+const OFFICIAL_CLIP = /\b(official (music )?video|clipe oficial|videoclipe|music video|video oficial)\b/;
+// Parentheticals that don't change which recording it is.
+const NEUTRAL_EXTRA = /official|oficial|video|clipe|audio|visualizer|part|feat|ft|with|com|hd|4k|remaster/;
+
+const compact = (s: string) => flat(s).replace(/ /g, "");
+
+/** The uploader is the artist's own channel (also "<Artist>VEVO", "<Artist> Oficial"), not a fan or cover channel. */
+function isArtistChannel(channel: string, artist: string): boolean {
+ const want = compact(artist);
+ if (!want) return false;
+ return channel.split(",").some((c) => {
+ const have = compact(c);
+ return have === want || [want + "vevo", want + "oficial", want + "official", want + "tv", want + "music"].includes(have);
+ });
+}
+
+const videoForCache = new Map<string, Track | null>();
+
+/**
+ * Finds the music video for a song (YouTube Music "art tracks" are audio with a still cover).
+ * Scores video search results by artist, title, duration and red flags like covers or live versions.
+ */
+export async function findVideoFor(id: string, title: string, artist: string, duration: number): Promise<Track | null> {
+ if (videoForCache.has(id)) return videoForCache.get(id)!;
+ // Two phrasings: results differ enough that the second often finds a clip the first missed.
+ let found = pickClip(await videoSearch(`${title} ${artist}`), title, artist, duration);
+ found ??= pickClip(await videoSearch(`${artist.split(",")[0]} ${title} clipe`), title, artist, duration);
+ videoForCache.set(id, found);
+ return found;
+}
+
+async function videoSearch(query: string): Promise<Track[]> {
+ const result = await withClient((yt) => yt.music.search(query, { type: "video" }));
+ const shelf = result.contents?.[0] as { contents?: unknown[] } | undefined;
+ return (shelf?.contents ?? []).map((i) => toTrack(i, "video")).filter((t): t is Track => !!t);
+}
+
+function pickClip(candidates: Track[], title: string, artist: string, duration: number): Track | null {
+ const wantTitle = norm(title);
+ const mainArtist = artist.split(",")[0] ?? "";
+ const songWords = flat(title);
+ const songRedFlags = NOT_THE_CLIP.test(songWords);
+
+ let best: { track: Track; score: number } | null = null;
+ for (const c of candidates.slice(0, 10)) {
+ // Must be the artist's own upload of this song; anything else risks covers and fan re-uploads.
+ if (!isArtistChannel(c.artist, mainArtist)) continue;
+ const bare = norm(c.title);
+ if (!wantTitle || !bare.includes(wantTitle)) continue;
+
+ const words = flat(c.title);
+ let score = 0;
+ // "Artist - Title (Official Video)" reduced to just the title is the cleanest match.
+ if (bare.replace(norm(mainArtist), "").trim() === wantTitle) score += 2;
+ if (duration && c.duration) {
+ const diff = Math.abs(c.duration - duration);
+ score += diff <= 10 ? 3 : diff <= 30 ? 1 : diff > 90 ? -2 : 0;
+ }
+ if (!songRedFlags && NOT_THE_CLIP.test(words)) score -= 3;
+ if (OFFICIAL_CLIP.test(words)) score += 3;
+ // An "audio" upload is a still image; acceptable, but a real clip wins.
+ if (/\baudio\b/.test(words)) score -= 1;
+ for (const extra of c.title.match(/\((.*?)\)|\[(.*?)\]/g) ?? []) {
+ const e = flat(extra);
+ if (!NEUTRAL_EXTRA.test(e) && !songWords.includes(e)) score -= 2;
+ }
+ if (!best || score > best.score) best = { track: c, score };
+ }
+
+ // Better to say "no clip" than to play the wrong one.
+ return best?.track ?? null;
+}
+
+/** YouTube Music "radio" for a track: related songs to continue playback. */
+export async function radio(id: string): Promise<Track[]> {
+ const panel = await withClient((yt) => yt.music.getUpNext(id, true));
+ return (panel.contents ?? [])
+ .map((i) => toTrack(i, "song"))
+ .filter((t): t is Track => !!t && t.id !== id);
+}
diff --git a/server/src/stream.ts b/server/src/stream.ts
new file mode 100644
index 0000000..ca0d6bb
--- /dev/null
+++ b/server/src/stream.ts
@@ -0,0 +1,92 @@
+import { createReadStream } from "node:fs";
+import { stat } from "node:fs/promises";
+import { Readable } from "node:stream";
+import type { FastifyReply, FastifyRequest } from "fastify";
+import { HttpError } from "./types.js";
+import { invalidate, resolveStreams, type StreamFormat } from "./ytdlp.js";
+
+const PASS_HEADERS = ["content-length", "content-range", "accept-ranges", "last-modified"];
+
+/**
+ * Proxies a googlevideo stream, forwarding Range so the browser can seek natively.
+ * googlevideo URLs are bound to the IP that resolved them, so the bytes must flow through this server.
+ */
+export async function proxyStream(req: FastifyRequest, reply: FastifyReply, id: string, kind: "audio" | "video") {
+ const pick = async (fresh: boolean): Promise<StreamFormat> => {
+ if (fresh) invalidate(id);
+ const resolved = await resolveStreams(id);
+ const fmt = kind === "audio" ? resolved.audio : resolved.video;
+ if (!fmt) throw new HttpError(404, "Este vídeo não tem versão SD combinada. Use HD.");
+ return fmt;
+ };
+
+ const controller = new AbortController();
+ reply.raw.on("close", () => {
+ if (!reply.raw.writableFinished) controller.abort();
+ });
+
+ const request = async (fmt: StreamFormat) => {
+ const headers: Record<string, string> = { ...fmt.headers };
+ const range = req.headers.range;
+ if (typeof range === "string") headers.Range = range;
+ return fetch(fmt.url, { headers, signal: controller.signal });
+ };
+
+ let fmt = await pick(false);
+ let upstream = await request(fmt);
+ // Expired or rejected URL: resolve again once.
+ if (upstream.status === 403 || upstream.status === 410) {
+ await upstream.body?.cancel();
+ fmt = await pick(true);
+ upstream = await request(fmt);
+ }
+ if (!upstream.ok || !upstream.body) {
+ throw new HttpError(502, `O YouTube recusou o stream (HTTP ${upstream.status}). Tente atualizar o yt-dlp em Sistema.`, "maybe_outdated");
+ }
+
+ reply.code(upstream.status);
+ reply.header("content-type", fmt.mime);
+ reply.header("cache-control", "no-store");
+ for (const h of PASS_HEADERS) {
+ const v = upstream.headers.get(h);
+ if (v) reply.header(h, v);
+ }
+ if (!upstream.headers.get("accept-ranges")) reply.header("accept-ranges", "bytes");
+
+ const body = Readable.fromWeb(upstream.body as any);
+ body.on("error", () => body.destroy());
+ return reply.send(body);
+}
+
+/** Serves a local file with byte-range support (used for cached HD video). */
+export async function serveFile(req: FastifyRequest, reply: FastifyReply, file: string, mime: string) {
+ const { size } = await stat(file);
+ const range = typeof req.headers.range === "string" ? /bytes=(\d*)-(\d*)/.exec(req.headers.range) : null;
+
+ reply.header("content-type", mime);
+ reply.header("accept-ranges", "bytes");
+ reply.header("cache-control", "no-store");
+
+ if (!range) {
+ reply.header("content-length", size);
+ return reply.send(createReadStream(file));
+ }
+
+ let start = range[1] ? Number(range[1]) : NaN;
+ let end = range[2] ? Number(range[2]) : size - 1;
+ if (Number.isNaN(start)) {
+ // suffix range: bytes=-N
+ start = Math.max(0, size - end);
+ end = size - 1;
+ }
+ end = Math.min(end, size - 1);
+ if (start > end || start >= size) {
+ reply.code(416).header("content-range", `bytes */${size}`);
+ return reply.send();
+ }
+
+ reply.code(206);
+ reply.header("content-range", `bytes ${start}-${end}/${size}`);
+ reply.header("content-length", end - start + 1);
+ return reply.send(createReadStream(file, { start, end }));
+}
diff --git a/server/src/system.ts b/server/src/system.ts
new file mode 100644
index 0000000..6230c59
--- /dev/null
+++ b/server/src/system.ts
@@ -0,0 +1,190 @@
+import { spawn } from "node:child_process";
+import { downloads, ensureEssentials } from "./bootstrap.js";
+import { config } from "./config.js";
+import { refreshTools, tools } from "./tools.js";
+import { HttpError } from "./types.js";
+import { clearResolved, holdDuring } from "./ytdlp.js";
+
+export type Channel = "stable" | "nightly";
+
+export interface Job {
+ kind: "update" | "install";
+ channel: Channel;
+ status: "running" | "done" | "error";
+ startedAt: number;
+ finishedAt?: number;
+ from: string | null;
+ to: string | null;
+ message: string;
+ log: string[];
+}
+
+const RELEASES: Record<Channel, string> = {
+ stable: "https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest",
+ nightly: "https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest",
+};
+
+let version: string | null | undefined;
+let job: Job | null = null;
+const latest = new Map<Channel, { tag: string | null; at: number }>();
+
+/** Runs a command and streams its output lines into `onLine`. Resolves with the exit code. */
+function stream(cmd: string, args: string[], onLine: (line: string) => void, timeoutMs: number): Promise<number> {
+ return new Promise((resolve) => {
+ const child = spawn(cmd, args, { windowsHide: true, env: tools().env });
+ const timer = setTimeout(() => child.kill(), timeoutMs);
+ const feed = (chunk: Buffer) =>
+ chunk
+ .toString()
+ .split(/\r?\n|\r/)
+ .map((l) => l.trim())
+ .filter(Boolean)
+ .forEach(onLine);
+ child.stdout.on("data", feed);
+ child.stderr.on("data", feed);
+ child.on("error", (err) => {
+ clearTimeout(timer);
+ onLine(err.message);
+ resolve(-1);
+ });
+ child.on("close", (code) => {
+ clearTimeout(timer);
+ resolve(code ?? -1);
+ });
+ });
+}
+
+async function readVersion(): Promise<string | null> {
+ const { ytdlp } = tools();
+ if (!ytdlp) return null;
+ let out = "";
+ const code = await stream(ytdlp, ["--version"], (l) => (out ||= l), 20_000);
+ return code === 0 && out ? out : null;
+}
+
+async function latestTag(channel: Channel): Promise<string | null> {
+ const cached = latest.get(channel);
+ if (cached && Date.now() - cached.at < 30 * 60_000) return cached.tag;
+ try {
+ const res = await fetch(RELEASES[channel], {
+ headers: { "user-agent": "musike", accept: "application/vnd.github+json" },
+ signal: AbortSignal.timeout(8000),
+ });
+ const tag = res.ok ? (((await res.json()) as { tag_name?: string }).tag_name ?? null) : null;
+ latest.set(channel, { tag, at: Date.now() });
+ return tag;
+ } catch {
+ return cached?.tag ?? null;
+ }
+}
+
+/** Compares dotted numeric versions like 2026.08.19 and 2026.10.10.232345. */
+function newer(a: string, b: string): boolean {
+ const pa = a.split(".").map(Number);
+ const pb = b.split(".").map(Number);
+ for (let i = 0; i < Math.max(pa.length, pb.length); i++) {
+ const d = (pa[i] ?? 0) - (pb[i] ?? 0);
+ if (d) return d > 0;
+ }
+ return false;
+}
+
+export async function systemInfo() {
+ const t = tools();
+ // Re-read when yt-dlp showed up since the last check (e.g. downloaded on first launch).
+ if (version === undefined || (version === null && t.ytdlp)) version = await readVersion();
+ const channel: Channel = version && version.split(".").length > 3 ? "nightly" : "stable";
+ const [stable, nightly] = await Promise.all([latestTag("stable"), latestTag("nightly")]);
+ const target = channel === "nightly" ? nightly : stable;
+ return {
+ ytdlp: {
+ path: t.ytdlp,
+ version,
+ channel,
+ latest: { stable, nightly },
+ updateAvailable: !!(version && target && newer(target, version)),
+ },
+ deno: t.deno,
+ ffmpeg: t.ffmpeg,
+ canInstall: !!t.winget || !!config.binDir,
+ downloads: downloads(),
+ job,
+ };
+}
+
+export function startJob(channel: Channel) {
+ if (job?.status === "running") return job;
+ const t = tools();
+ const kind: Job["kind"] = t.ytdlp ? "update" : "install";
+ if (kind === "install" && !t.winget && !config.binDir) {
+ throw new HttpError(400, "yt-dlp não encontrado e o winget não está disponível. Instale manualmente: https://github.com/yt-dlp/yt-dlp");
+ }
+
+ const current: Job = {
+ kind,
+ channel,
+ status: "running",
+ startedAt: Date.now(),
+ from: version ?? null,
+ to: null,
+ message: kind === "install" ? "Instalando yt-dlp" : "Atualizando yt-dlp",
+ log: [],
+ };
+ job = current;
+ const log = (line: string) => {
+ current.log = [...current.log, line].slice(-40);
+ };
+
+ const work = async () => {
+ let code: number;
+ if (kind === "update") {
+ code = await stream(t.ytdlp!, ["--update-to", channel], log, 5 * 60_000);
+ // Builds that can't self-update (e.g. installed by a package manager) fall back to winget.
+ if (code !== 0 && t.winget) {
+ log("Atualização direta falhou, tentando pelo winget");
+ code = await stream(t.winget, wingetArgs("upgrade"), log, 10 * 60_000);
+ }
+ } else if (config.binDir) {
+ // Desktop app: download the official builds into Musike's own folder (no admin, no winget).
+ log("Baixando yt-dlp e Deno do GitHub");
+ code = await ensureEssentials().then(
+ () => 0,
+ (err: Error) => (log(err.message), 1),
+ );
+ } else {
+ code = await stream(t.winget!, wingetArgs("install"), log, 10 * 60_000);
+ }
+
+ await refreshTools();
+ version = await readVersion();
+ clearResolved();
+ current.to = version;
+ current.finishedAt = Date.now();
+ if (version && (code === 0 || current.from !== version)) {
+ current.status = "done";
+ current.message =
+ current.from === version ? `Já está na versão mais recente (${version})` : `yt-dlp ${version} pronto para uso`;
+ } else {
+ current.status = "error";
+ current.message = current.log.findLast((l) => /error|erro|failed|falha/i.test(l)) ?? "Não foi possível atualizar o yt-dlp.";
+ }
+ };
+
+ void holdDuring(work().catch((err: Error) => {
+ current.status = "error";
+ current.finishedAt = Date.now();
+ current.message = err.message;
+ }));
+ return current;
+}
+
+const wingetArgs = (verb: "install" | "upgrade") => [
+ verb,
+ "--id",
+ "yt-dlp.yt-dlp",
+ "--exact",
+ "--silent",
+ "--accept-source-agreements",
+ "--accept-package-agreements",
+ "--disable-interactivity",
+];
diff --git a/server/src/tools.ts b/server/src/tools.ts
new file mode 100644
index 0000000..4e44d2b
--- /dev/null
+++ b/server/src/tools.ts
@@ -0,0 +1,107 @@
+import { execFile } from "node:child_process";
+import { existsSync, lstatSync, readdirSync } from "node:fs";
+import path from "node:path";
+import { promisify } from "node:util";
+import { config } from "./config.js";
+
+const exec = promisify(execFile);
+const isWindows = process.platform === "win32";
+
+export interface Tools {
+ ytdlp: string | null;
+ deno: string | null;
+ ffmpeg: string | null;
+ winget: string | null;
+ /** Environment for child processes, with a PATH that can see every tool found. */
+ env: NodeJS.ProcessEnv;
+}
+
+let current: Tools = { ytdlp: null, deno: null, ffmpeg: null, winget: null, env: process.env };
+
+export const tools = (): Tools => current;
+
+const pathKey = (env: NodeJS.ProcessEnv) => Object.keys(env).find((k) => k.toUpperCase() === "PATH") ?? "PATH";
+
+/**
+ * The PATH stored in the Windows registry. Processes started before an install (VS Code and every
+ * terminal it opens) keep a stale copy, so a freshly installed yt-dlp would look missing.
+ */
+async function registryPath(): Promise<string[]> {
+ if (!isWindows) return [];
+ const keys = ["HKLM\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Environment", "HKCU\\Environment"];
+ const parts: string[] = [];
+ for (const key of keys) {
+ try {
+ const { stdout } = await exec("reg", ["query", key, "/v", "Path"], { windowsHide: true });
+ const value = /\bPath\s+REG_(?:EXPAND_)?SZ\s+(.*)$/im.exec(stdout)?.[1] ?? "";
+ const expanded = value.replace(/%([^%]+)%/g, (m, name: string) => process.env[name] ?? m);
+ parts.push(...expanded.split(";"));
+ } catch {
+ // key or value missing
+ }
+ }
+ return parts;
+}
+
+/** winget portable packages live here even when their folder never made it onto any PATH. */
+function wingetPackageDirs(): string[] {
+ const root = process.env.LOCALAPPDATA && path.join(process.env.LOCALAPPDATA, "Microsoft", "WinGet");
+ if (!root) return [];
+ const dirs = [path.join(root, "Links")];
+ const packages = path.join(root, "Packages");
+ if (!existsSync(packages)) return dirs;
+ for (const pkg of readdirSync(packages)) {
+ if (!/^(yt-dlp\.yt-dlp|yt-dlp\.FFmpeg|Gyan\.FFmpeg|DenoLand\.Deno)_/i.test(pkg)) continue;
+ const dir = path.join(packages, pkg);
+ dirs.push(dir);
+ // FFmpeg builds nest the binaries: <pkg>/ffmpeg-<version>/bin
+ for (const sub of readdirSync(dir)) {
+ const bin = path.join(dir, sub, "bin");
+ if (existsSync(bin)) dirs.push(bin);
+ }
+ }
+ return dirs;
+}
+
+function find(name: string, dirs: string[]): string | null {
+ const exts = isWindows ? [".exe", ".cmd", ".bat"] : [""];
+ for (const dir of dirs) {
+ for (const ext of exts) {
+ const file = path.join(dir, name + ext);
+ // lstat, not stat: winget.exe is an app execution alias (a reparse point stat can't follow).
+ if (lstatSync(file, { throwIfNoEntry: false })) return file;
+ }
+ }
+ return null;
+}
+
+/** Locates yt-dlp, Deno, FFmpeg and winget. Call again after installing or updating tools. */
+export async function refreshTools(): Promise<Tools> {
+ const key = pathKey(process.env);
+ const seen = new Set<string>();
+ // With a private bin folder (desktop app), use only Musike's own copies: known versions that can self-update,
+ // instead of whatever happens to be on the user's PATH.
+ const own = config.binDir ? [config.binDir, path.join(config.binDir, "ffmpeg")] : [];
+ const system = config.binDir ? [] : [...(process.env[key] ?? "").split(path.delimiter), ...(await registryPath()), ...wingetPackageDirs()];
+ const dirs = [...own, ...system]
+ .map((d) => d.trim().replace(/^"|"$/g, ""))
+ .filter((d) => {
+ const id = isWindows ? d.toLowerCase() : d;
+ if (!d || seen.has(id)) return false;
+ seen.add(id);
+ return true;
+ });
+
+ const ytdlp = config.ytdlpPath ?? find("yt-dlp", dirs);
+ const deno = find("deno", dirs);
+ const ffmpeg = find("ffmpeg", dirs);
+ const winget = isWindows ? find("winget", dirs) : null;
+
+ // Put the tool folders first so yt-dlp itself finds Deno (YouTube challenges) and FFmpeg (HD merge).
+ const toolDirs = [ytdlp, deno, ffmpeg].filter((p): p is string => !!p).map((p) => path.dirname(p));
+ const inherited = (process.env[key] ?? "").split(path.delimiter).filter(Boolean);
+ const env = { ...process.env, [key]: [...new Set([...toolDirs, ...dirs, ...inherited])].join(path.delimiter) };
+
+ current = { ytdlp, deno, ffmpeg, winget, env };
+ return current;
+}
diff --git a/server/src/types.ts b/server/src/types.ts
new file mode 100644
index 0000000..0be4f9c
--- /dev/null
+++ b/server/src/types.ts
@@ -0,0 +1,35 @@
+export interface Track {
+ id: string;
+ title: string;
+ artist: string;
+ album?: string;
+ duration: number;
+ thumb: string;
+ art: string;
+ kind: "song" | "video";
+}
+
+export interface Playlist {
+ id: string;
+ name: string;
+ createdAt: number;
+ updatedAt: number;
+ tracks: Track[];
+}
+
+export interface Library {
+ favorites: Track[];
+ playlists: Playlist[];
+ history: Track[];
+}
+
+export const VIDEO_ID = /^[A-Za-z0-9_-]{11}$/;
+
+/** Machine-readable reason so the web app can offer the right fix (e.g. "update yt-dlp"). */
+export type ErrorCode = "tool_missing" | "maybe_outdated" | "bot_check";
+
+export class HttpError extends Error {
+ constructor(public status: number, message: string, public code?: ErrorCode) {
+ super(message);
+ }
+}
diff --git a/server/src/ytdlp.ts b/server/src/ytdlp.ts
new file mode 100644
index 0000000..504e1f4
--- /dev/null
+++ b/server/src/ytdlp.ts
@@ -0,0 +1,246 @@
+import { spawn } from "node:child_process";
+import { existsSync } from "node:fs";
+import { mkdir, readdir, rename, rm, stat, utimes } from "node:fs/promises";
+import path from "node:path";
+import { ensureComponent } from "./bootstrap.js";
+import { config } from "./config.js";
+import { tools } from "./tools.js";
+import { HttpError } from "./types.js";
+
+export interface StreamFormat {
+ formatId: string;
+ url: string;
+ headers: Record<string, string>;
+ mime: string;
+}
+
+export interface Resolved {
+ id: string;
+ title: string;
+ duration: number;
+ audio: StreamFormat;
+ video?: StreamFormat;
+ expiresAt: number;
+}
+
+interface RawFormat {
+ format_id: string;
+ url?: string;
+ ext: string;
+ acodec?: string;
+ vcodec?: string;
+ height?: number;
+ abr?: number;
+ protocol?: string;
+ http_headers?: Record<string, string>;
+}
+
+const RESOLVE_TIMEOUT_MS = 45_000;
+const DOWNLOAD_TIMEOUT_MS = 10 * 60_000;
+
+let maintenance: Promise<unknown> | null = null;
+
+/** While yt-dlp is being updated or installed, new runs wait instead of racing the executable swap. */
+export function holdDuring<T>(job: Promise<T>): Promise<T> {
+ const p = job.finally(() => {
+ if (maintenance === p) maintenance = null;
+ });
+ maintenance = p;
+ return p;
+}
+
+async function run(args: string[], timeoutMs: number): Promise<string> {
+ if (maintenance) await maintenance.catch(() => {});
+ const { ytdlp, env } = tools();
+ if (!ytdlp) {
+ throw new HttpError(503, "O yt-dlp não foi encontrado neste computador. Abra Sistema no Musike para instalar.", "tool_missing");
+ }
+ return new Promise((resolve, reject) => {
+ const child = spawn(ytdlp, [...config.ytdlpExtraArgs, ...args], { windowsHide: true, env });
+ let stdout = "";
+ let stderr = "";
+ const timer = setTimeout(() => {
+ child.kill();
+ reject(new HttpError(504, "O yt-dlp demorou demais para responder."));
+ }, timeoutMs);
+ child.stdout.on("data", (d) => (stdout += d));
+ child.stderr.on("data", (d) => (stderr += d));
+ child.on("error", (err) => {
+ clearTimeout(timer);
+ reject(new HttpError(503, `Não foi possível executar o yt-dlp (${err.message}). Abra Sistema no Musike.`, "tool_missing"));
+ });
+ child.on("close", (code) => {
+ clearTimeout(timer);
+ if (code === 0) return resolve(stdout);
+ reject(toHttpError(stderr));
+ });
+ });
+}
+
+// Failures that usually mean YouTube changed and yt-dlp needs an update.
+const OUTDATED = /nsig|signature|n challenge|JavaScript runtime|Unable to extract|Failed to extract|player response|Requested format is not available|HTTP Error 403/i;
+
+function toHttpError(stderr: string): HttpError {
+ const line = stderr.split("\n").find((l) => l.includes("ERROR")) ?? stderr.trim().split("\n").pop() ?? "";
+ if (/confirm you.re not a bot|Sign in to confirm/i.test(line)) {
+ return new HttpError(503, "O YouTube pediu verificação anti-bot. Configure YTDLP_EXTRA_ARGS com cookies (veja o README).", "bot_check");
+ }
+ if (/Video unavailable|Private video|removed/i.test(line)) {
+ return new HttpError(404, "Vídeo indisponível no YouTube.");
+ }
+ if (/age-restricted|inappropriate|confirm your age/i.test(line)) {
+ return new HttpError(403, "Vídeo com restrição de idade. Requer cookies de uma conta logada.");
+ }
+ const detail = line.replace(/^ERROR:\s*/, "").slice(0, 240) || "Falha no yt-dlp.";
+ if (OUTDATED.test(stderr)) {
+ return new HttpError(502, `${detail} O YouTube pode ter mudado: atualize o yt-dlp em Sistema.`, "maybe_outdated");
+ }
+ return new HttpError(502, detail, "maybe_outdated");
+}
+
+/** Forget resolved stream URLs, e.g. after updating yt-dlp so the next play uses the new version. */
+export function clearResolved() {
+ resolvedAt.clear();
+}
+
+const isAudioOnly = (f: RawFormat) => !!f.url && f.vcodec === "none" && !!f.acodec && f.acodec !== "none";
+const isMuxed = (f: RawFormat) => !!f.url && !!f.vcodec && f.vcodec !== "none" && !!f.acodec && f.acodec !== "none";
+const isHttps = (f: RawFormat) => !f.protocol || f.protocol === "https";
+
+function toStream(f: RawFormat, kind: "audio" | "video"): StreamFormat {
+ const mime = kind === "audio" ? (f.ext === "webm" ? "audio/webm" : "audio/mp4") : "video/mp4";
+ return { formatId: f.format_id, url: f.url!, headers: f.http_headers ?? {}, mime };
+}
+
+function pickAudio(formats: RawFormat[]): RawFormat | undefined {
+ const audio = formats.filter((f) => isAudioOnly(f) && isHttps(f));
+ // AAC in MP4 plays everywhere, including iOS Safari. Opus/WebM is the fallback.
+ return (
+ audio.find((f) => f.format_id === "140") ??
+ audio.filter((f) => f.ext === "m4a").sort((a, b) => (b.abr ?? 0) - (a.abr ?? 0))[0] ??
+ audio.sort((a, b) => (b.abr ?? 0) - (a.abr ?? 0))[0]
+ );
+}
+
+function pickVideo(formats: RawFormat[]): RawFormat | undefined {
+ const muxed = formats.filter((f) => isMuxed(f) && isHttps(f) && f.ext === "mp4");
+ return muxed.find((f) => f.format_id === "18") ?? muxed.sort((a, b) => (b.height ?? 0) - (a.height ?? 0))[0];
+}
+
+function expiryOf(url: string): number {
+ const expire = Number(new URL(url).searchParams.get("expire"));
+ const fallback = Date.now() + 4 * 3600_000;
+ // Refresh 10 minutes before googlevideo URLs expire.
+ return Number.isFinite(expire) && expire > 0 ? expire * 1000 - 10 * 60_000 : fallback;
+}
+
+const cache = new Map<string, Promise<Resolved>>();
+const resolvedAt = new Map<string, Resolved>();
+
+export function resolveStreams(id: string): Promise<Resolved> {
+ const done = resolvedAt.get(id);
+ if (done && done.expiresAt > Date.now()) return Promise.resolve(done);
+ const inflight = cache.get(id);
+ if (inflight) return inflight;
+
+ const job = run(["-J", "--no-playlist", "--no-warnings", `https://www.youtube.com/watch?v=${id}`], RESOLVE_TIMEOUT_MS)
+ .then((stdout) => {
+ const info = JSON.parse(stdout) as { title: string; duration?: number; formats: RawFormat[] };
+ const audio = pickAudio(info.formats);
+ if (!audio) throw new HttpError(404, "Nenhum formato de áudio disponível para este vídeo.");
+ const video = pickVideo(info.formats);
+ const resolved: Resolved = {
+ id,
+ title: info.title,
+ duration: info.duration ?? 0,
+ audio: toStream(audio, "audio"),
+ video: video ? toStream(video, "video") : undefined,
+ expiresAt: expiryOf(audio.url!),
+ };
+ resolvedAt.set(id, resolved);
+ return resolved;
+ })
+ .finally(() => cache.delete(id));
+
+ cache.set(id, job);
+ return job;
+}
+
+export function invalidate(id: string) {
+ resolvedAt.delete(id);
+}
+
+const downloads = new Map<string, Promise<string>>();
+
+/** Keeps the video cache under `config.cacheMaxBytes`, evicting least recently played files first. */
+export async function pruneCache(): Promise<void> {
+ if (!existsSync(config.cacheDir)) return;
+ const names = (await readdir(config.cacheDir)).filter((n) => n.endsWith(".720.mp4"));
+ const files = await Promise.all(
+ names.map(async (n) => {
+ const p = path.join(config.cacheDir, n);
+ const s = await stat(p);
+ return { p, size: s.size, used: s.mtimeMs };
+ }),
+ );
+ let total = files.reduce((sum, f) => sum + f.size, 0);
+ for (const f of files.sort((a, b) => a.used - b.used)) {
+ if (total <= config.cacheMaxBytes) break;
+ await rm(f.p, { force: true });
+ total -= f.size;
+ }
+}
+
+/** Downloads and merges a 720p H.264 + AAC MP4 into the cache, for HD video playback with seeking. */
+export function downloadHd(id: string): Promise<string> {
+ const file = path.join(config.cacheDir, `${id}.720.mp4`);
+ if (existsSync(file)) {
+ // Mark as recently used for cache eviction.
+ const now = new Date();
+ utimes(file, now, now).catch(() => {});
+ return Promise.resolve(file);
+ }
+ const inflight = downloads.get(id);
+ if (inflight) return inflight;
+
+ const tmp = path.join(config.cacheDir, `${id}.720.part.mp4`);
+ // Merging video + audio needs FFmpeg; the desktop app fetches it on first use if it isn't there yet.
+ const job = (tools().ffmpeg || !config.binDir ? Promise.resolve() : ensureComponent("ffmpeg"))
+ .then(() => mkdir(config.cacheDir, { recursive: true }))
+ .then(() =>
+ run(
+ [
+ "--no-playlist",
+ "--no-warnings",
+ "--no-part",
+ "-N", "4",
+ "-f", "bv*[height<=720][vcodec^=avc1]+ba[ext=m4a]/b[ext=mp4][height<=720]/bv*[height<=720]+ba",
+ "--merge-output-format", "mp4",
+ "-o", tmp,
+ `https://www.youtube.com/watch?v=${id}`,
+ ],
+ DOWNLOAD_TIMEOUT_MS,
+ ),
+ )
+ .then(async () => {
+ await rename(tmp, file);
+ pruneCache().catch(() => {});
+ return file;
+ })
+ .catch(async (err) => {
+ await rm(tmp, { force: true });
+ throw err;
+ })
+ .finally(() => downloads.delete(id));
+
+ downloads.set(id, job);
+ return job;
+}
+
+export async function ytdlpSearch(query: string, limit = 20) {
+ const stdout = await run(["-J", "--flat-playlist", "--no-warnings", `ytsearch${limit}:${query}`], RESOLVE_TIMEOUT_MS);
+ const data = JSON.parse(stdout) as {
+ entries: { id: string; title: string; duration?: number; channel?: string; uploader?: string }[];
+ };
+ return data.entries ?? [];
+}
diff --git a/server/tsconfig.json b/server/tsconfig.json
new file mode 100644
index 0000000..1e0ac9e
--- /dev/null
+++ b/server/tsconfig.json
@@ -0,0 +1,14 @@
+{
+ "compilerOptions": {
+ "target": "ES2023",
+ "module": "NodeNext",
+ "moduleResolution": "NodeNext",
+ "strict": true,
+ "esModuleInterop": true,
+ "skipLibCheck": true,
+ "resolveJsonModule": true,
+ "noEmit": true,
+ "types": ["node"]
+ },
+ "include": ["src"]
+}
diff --git a/skills-lock.json b/skills-lock.json
new file mode 100644
index 0000000..87ec70f
--- /dev/null
+++ b/skills-lock.json
@@ -0,0 +1,23 @@
+{
+ "version": 1,
+ "skills": {
+ "brandkit": {
+ "source": "Leonxlnx/taste-skill",
+ "sourceType": "github",
+ "skillPath": "skills/brandkit/SKILL.md",
+ "computedHash": "f2b8e1f285f363ce07610d764e5b5e3d815bbde8bea29e4a1a8c75a3beb73bd6"
+ },
+ "design-taste-frontend": {
+ "source": "Leonxlnx/taste-skill",
+ "sourceType": "github",
+ "skillPath": "skills/taste-skill/SKILL.md",
+ "computedHash": "52fa30810ae93ef288f8926e27624561ebd2e5b70d35682f4de70cb7131c92d1"
+ },
+ "high-end-visual-design": {
+ "source": "Leonxlnx/taste-skill",
+ "sourceType": "github",
+ "skillPath": "skills/soft-skill/SKILL.md",
+ "computedHash": "f730e4132775f13eea19e3dc39afc6bb453cfc0498872b127ad8f0d47cfd802d"
+ }
+ }
+}
diff --git a/web/index.html b/web/index.html
new file mode 100644
index 0000000..acc60bd
--- /dev/null
+++ b/web/index.html
@@ -0,0 +1,25 @@
+<!doctype html>
+<html lang="pt-BR" data-theme="dark">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
+ <meta name="theme-color" content="#0B0C0F" />
+ <meta name="description" content="Sua música, sem interrupção." />
+ <meta name="apple-mobile-web-app-capable" content="yes" />
+ <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
+ <meta name="apple-mobile-web-app-title" content="Musike" />
+ <link rel="icon" href="/favicon.svg" type="image/svg+xml" />
+ <link rel="apple-touch-icon" href="/apple-touch-icon.png" />
+ <title>Musike</title>
+ <script>
+ try {
+ var t = localStorage.getItem("musike:theme");
+ if (t === "light" || t === "dark") document.documentElement.dataset.theme = t;
+ } catch (e) {}
+ </script>
+ </head>
+ <body>
+ <div id="root"></div>
+ <script type="module" src="/src/main.tsx"></script>
+ </body>
+</html>
diff --git a/web/package.json b/web/package.json
new file mode 100644
index 0000000..455951e
--- /dev/null
+++ b/web/package.json
@@ -0,0 +1,33 @@
+{
+ "name": "@musike/web",
+ "private": true,
+ "version": "0.1.0",
+ "type": "module",
+ "scripts": {
+ "dev": "vite --host",
+ "build": "tsc --noEmit && vite build",
+ "preview": "vite preview --host",
+ "typecheck": "tsc --noEmit"
+ },
+ "dependencies": {
+ "@fontsource-variable/geist": "5.3.0",
+ "@fontsource-variable/geist-mono": "5.3.0",
+ "@phosphor-icons/react": "2.1.10",
+ "motion": "14.1.0",
+ "react": "19.3.0",
+ "react-dom": "19.3.0",
+ "react-router": "8.4.0",
+ "zustand": "5.0.15"
+ },
+ "devDependencies": {
+ "@tailwindcss/vite": "4.3.3",
+ "@types/react": "^19.3.0",
+ "@types/react-dom": "^19.3.0",
+ "@vitejs/plugin-react": "^6.1.2",
+ "tailwindcss": "4.3.3",
+ "typescript": "^7.0.2",
+ "vite": "8.3.4",
+ "vite-plugin-pwa": "2.0.0",
+ "workbox-window": "^7.4.1"
+ }
+}
diff --git a/web/public/apple-touch-icon.png b/web/public/apple-touch-icon.png
new file mode 100644
index 0000000..af4576c
Binary files /dev/null and b/web/public/apple-touch-icon.png differ
diff --git a/web/public/favicon.svg b/web/public/favicon.svg
new file mode 100644
index 0000000..0f9df22
--- /dev/null
+++ b/web/public/favicon.svg
@@ -0,0 +1,8 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48">
+ <rect width="48" height="48" rx="12" fill="#121318"/>
+ <g fill="#C3EC52">
+ <rect x="10" y="10" width="8" height="28" rx="4"/>
+ <rect x="20" y="10" width="8" height="16" rx="4"/>
+ <rect x="30" y="10" width="8" height="28" rx="4"/>
+ </g>
+</svg>
diff --git a/web/public/icon-192.png b/web/public/icon-192.png
new file mode 100644
index 0000000..26254d0
Binary files /dev/null and b/web/public/icon-192.png differ
diff --git a/web/public/icon-512.png b/web/public/icon-512.png
new file mode 100644
index 0000000..e6ff391
Binary files /dev/null and b/web/public/icon-512.png differ
diff --git a/web/public/icon-maskable-512.png b/web/public/icon-maskable-512.png
new file mode 100644
index 0000000..df950a2
Binary files /dev/null and b/web/public/icon-maskable-512.png differ
diff --git a/web/src/App.tsx b/web/src/App.tsx
new file mode 100644
index 0000000..3e42ebb
--- /dev/null
+++ b/web/src/App.tsx
@@ -0,0 +1,127 @@
+import { useEffect, useRef } from "react";
+import { Route, Routes, useLocation, useNavigate } from "react-router";
+import { AddToPlaylistDialog, ShortcutsDialog } from "./components/Dialogs";
+import { MiniPlayer, TabBar } from "./components/MobileChrome";
+import { NowPlayingSheet, PanelDrawer, SidePanel } from "./components/NowPlaying";
+import { PlayerBar } from "./components/PlayerBar";
+import { Rail } from "./components/Rail";
+import { TitleBar } from "./components/TitleBar";
+import { desktop } from "./lib/desktop";
+import { SettingsDialog } from "./components/SettingsDialog";
+import { Toasts } from "./components/Toasts";
+import { TrackMenu } from "./components/TrackMenu";
+import { FloatingVideo, Theater } from "./components/Video";
+import { MD, useMediaQuery } from "./hooks/useMediaQuery";
+import { useShortcuts } from "./hooks/useShortcuts";
+import { cn } from "./lib/format";
+import { usePlayer } from "./player/player";
+import { useLibrary } from "./stores/library";
+import { openSettings, useSystem } from "./stores/system";
+import { toast, useUi } from "./stores/ui";
+import Collection from "./views/Collection";
+import Home from "./views/Home";
+import Library from "./views/Library";
+import Search from "./views/Search";
+
+const SHEET_HASH = "#tocando";
+
+export default function App() {
+ const location = useLocation();
+ const navigate = useNavigate();
+ const isMd = useMediaQuery(MD);
+ const panelOpen = useUi((s) => s.panelOpen);
+ const hasTrack = usePlayer((s) => s.queue.length > 0);
+ const loadLibrary = useLibrary((s) => s.load);
+ const loadSystem = useSystem((s) => s.load);
+ const main = useRef<HTMLElement>(null);
+
+ useShortcuts();
+
+ useEffect(() => {
+ void loadLibrary();
+ }, [loadLibrary]);
+
+ // Check yt-dlp shortly after start and say so once if something needs doing.
+ useEffect(() => {
+ const t = setTimeout(async () => {
+ await loadSystem();
+ const info = useSystem.getState().info;
+ if (!info) return;
+ if (!info.ytdlp.path) {
+ toast("O yt-dlp não foi encontrado. Sem ele nenhuma música toca.", "error", { label: "Instalar", run: openSettings });
+ return;
+ }
+ const latest = info.ytdlp.latest[info.ytdlp.channel];
+ if (info.ytdlp.updateAvailable && latest) {
+ try {
+ if (sessionStorage.getItem("musike:update-notice") === latest) return;
+ sessionStorage.setItem("musike:update-notice", latest);
+ } catch {
+ /* private mode */
+ }
+ toast(`Nova versão do yt-dlp disponível (${latest})`, "info", { label: "Atualizar", run: openSettings });
+ }
+ }, 1500);
+ return () => clearTimeout(t);
+ }, [loadSystem]);
+
+ // New page, back to the top (the sheet hash is not a page change).
+ useEffect(() => {
+ main.current?.scrollTo({ top: 0 });
+ }, [location.pathname]);
+
+ const sheetOpen = !isMd && location.hash === SHEET_HASH;
+ const closeSheet = () => {
+ // Pop the history entry the sheet pushed, so Back and the close button behave the same.
+ const idx = (window.history.state as { idx?: number } | null)?.idx ?? 0;
+ if (idx > 0) navigate(-1);
+ else navigate({ hash: "" }, { replace: true });
+ };
+
+ return (
+ <div className={cn("grain flex h-dvh flex-col bg-bg md:gap-2 md:p-2", desktop && "md:pt-0")}>
+ {desktop && <TitleBar />}
+ <div className="flex min-h-0 flex-1 md:gap-2">
+ <Rail />
+ <main
+ ref={main}
+ className={cn(
+ "scroll-area relative min-w-0 flex-1 overflow-y-auto md:rounded-[20px] md:bg-surface-1 md:ring-1 md:ring-line",
+ hasTrack ? "pb-[calc(152px+env(safe-area-inset-bottom))]" : "pb-[calc(88px+env(safe-area-inset-bottom))]",
+ "md:pb-0",
+ )}
+ >
+ <Routes>
+ <Route path="/" element={<Home />} />
+ <Route path="/buscar" element={<Search />} />
+ <Route path="/biblioteca" element={<Library />} />
+ <Route path="/favoritas" element={<Collection kind="favorites" />} />
+ <Route path="/historico" element={<Collection kind="history" />} />
+ <Route path="/playlist/:id" element={<Collection kind="playlist" />} />
+ <Route path="*" element={<Home />} />
+ </Routes>
+ </main>
+ {panelOpen && hasTrack && <SidePanel />}
+ </div>
+
+ {isMd ? (
+ <PlayerBar />
+ ) : (
+ <>
+ <MiniPlayer />
+ <TabBar />
+ </>
+ )}
+
+ <PanelDrawer />
+ <NowPlayingSheet open={sheetOpen} onClose={closeSheet} />
+ <FloatingVideo />
+ <Theater />
+ <TrackMenu />
+ <AddToPlaylistDialog />
+ <ShortcutsDialog />
+ <SettingsDialog />
+ <Toasts />
+ </div>
+ );
+}
diff --git a/web/src/components/Artwork.tsx b/web/src/components/Artwork.tsx
new file mode 100644
index 0000000..f6fa6cd
--- /dev/null
+++ b/web/src/components/Artwork.tsx
@@ -0,0 +1,59 @@
+import { MusicNotesIcon } from "@phosphor-icons/react";
+import { useCallback, useState } from "react";
+import { cn } from "../lib/format";
+
+interface Props {
+ src?: string;
+ /** Used when `src` fails, e.g. hq720 thumbnails that do not exist for older videos. */
+ fallback?: string;
+ alt?: string;
+ className?: string;
+ iconSize?: number;
+}
+
+export function Artwork(props: Props) {
+ // Keyed by source so a new image starts from a clean loading state, without a reset effect
+ // (an effect could run after a cached image already fired onLoad and leave it stuck invisible).
+ return <ArtworkImage key={`${props.src ?? ""}|${props.fallback ?? ""}`} {...props} />;
+}
+
+function ArtworkImage({ src, fallback, alt = "", className, iconSize = 20 }: Props) {
+ const [current, setCurrent] = useState(src || fallback);
+ const [state, setState] = useState<"loading" | "ok" | "error">(src || fallback ? "loading" : "error");
+
+ // Images served from cache can be complete before React attaches onLoad.
+ const imgRef = useCallback((img: HTMLImageElement | null) => {
+ if (img?.complete && img.naturalWidth > 0) setState("ok");
+ }, []);
+
+ return (
+ <div className={cn("relative shrink-0 overflow-hidden bg-surface-3", className)}>
+ {state !== "error" && current && (
+ <img
+ ref={imgRef}
+ src={current}
+ alt={alt}
+ loading="lazy"
+ decoding="async"
+ draggable={false}
+ referrerPolicy="no-referrer"
+ onLoad={() => setState("ok")}
+ onError={() => {
+ if (fallback && current !== fallback) setCurrent(fallback);
+ else setState("error");
+ }}
+ className={cn(
+ "h-full w-full object-cover transition-opacity duration-300 ease-out-expo",
+ state === "ok" ? "opacity-100" : "opacity-0",
+ )}
+ />
+ )}
+ {state === "loading" && <div className="skeleton absolute inset-0" />}
+ {state === "error" && (
+ <div className="absolute inset-0 grid place-items-center text-fg-3">
+ <MusicNotesIcon size={iconSize} />
+ </div>
+ )}
+ </div>
+ );
+}
diff --git a/web/src/components/BackupSection.tsx b/web/src/components/BackupSection.tsx
new file mode 100644
index 0000000..3ae31f9
--- /dev/null
+++ b/web/src/components/BackupSection.tsx
@@ -0,0 +1,181 @@
+import { ArrowsMergeIcon, DownloadSimpleIcon, SwapIcon, UploadSimpleIcon } from "@phosphor-icons/react";
+import { useRef, useState } from "react";
+import { createBackup, downloadBackup, readBackup, restoreBackup, summarize, type Backup } from "../lib/backup";
+import { cn, plural } from "../lib/format";
+import { toast } from "../stores/ui";
+
+type Mode = "merge" | "replace";
+
+/** Export the library to a file and import it in any other Musike (web, desktop, another computer). */
+export function BackupSection() {
+ const input = useRef<HTMLInputElement>(null);
+ const [pending, setPending] = useState<{ backup: Backup; file: string } | null>(null);
+ const [mode, setMode] = useState<Mode>("merge");
+ const [withSettings, setWithSettings] = useState(true);
+ const [busy, setBusy] = useState<"export" | "import" | null>(null);
+ const [confirmReplace, setConfirmReplace] = useState(false);
+
+ const onExport = async () => {
+ setBusy("export");
+ try {
+ const backup = await createBackup();
+ downloadBackup(backup);
+ const s = summarize(backup);
+ toast(`Backup criado: ${plural(s.playlists, "playlist", "playlists")} e ${plural(s.favorites, "favorita", "favoritas")}`);
+ } catch (e) {
+ toast((e as Error).message, "error");
+ } finally {
+ setBusy(null);
+ }
+ };
+
+ const onPick = async (file: File | undefined) => {
+ if (!file) return;
+ try {
+ setPending({ backup: await readBackup(file), file: file.name });
+ setMode("merge");
+ setConfirmReplace(false);
+ } catch (e) {
+ toast((e as Error).message, "error");
+ } finally {
+ if (input.current) input.current.value = "";
+ }
+ };
+
+ const onImport = async () => {
+ if (!pending) return;
+ if (mode === "replace" && !confirmReplace) return setConfirmReplace(true);
+ setBusy("import");
+ try {
+ const r = await restoreBackup(pending.backup, mode, withSettings);
+ const parts = [
+ r.playlistsAdded && plural(r.playlistsAdded, "playlist nova", "playlists novas"),
+ r.playlistsMerged && plural(r.playlistsMerged, "playlist atualizada", "playlists atualizadas"),
+ r.tracksAdded && plural(r.tracksAdded, "faixa adicionada", "faixas adicionadas"),
+ r.favoritesAdded && plural(r.favoritesAdded, "favorita", "favoritas"),
+ ].filter(Boolean);
+ toast(parts.length ? `Importado: ${parts.join(", ")}` : "Nada novo: sua biblioteca já tinha tudo deste backup");
+ setPending(null);
+ } catch (e) {
+ toast((e as Error).message, "error");
+ } finally {
+ setBusy(null);
+ }
+ };
+
+ const s = pending && summarize(pending.backup);
+ const action = "flex h-11 items-center justify-center gap-2 rounded-full text-sm font-medium transition-[transform,background-color] active:scale-[0.98] disabled:opacity-50";
+
+ return (
+ <section className="flex flex-col gap-3">
+ <h3 className="text-xs font-medium text-fg-3">Seus dados</h3>
+ <p className="text-sm text-fg-2">
+ Leve playlists, favoritas e histórico para outro computador ou para o app desktop: exporte um arquivo aqui e importe na outra instância do Musike.
+ </p>
+
+ <div className="grid grid-cols-2 gap-2">
+ <button type="button" onClick={onExport} disabled={!!busy} className={cn(action, "bg-surface-1 ring-1 ring-line hover:bg-surface-3")}>
+ <DownloadSimpleIcon size={18} /> {busy === "export" ? "Exportando" : "Exportar"}
+ </button>
+ <button type="button" onClick={() => input.current?.click()} disabled={!!busy} className={cn(action, "bg-surface-1 ring-1 ring-line hover:bg-surface-3")}>
+ <UploadSimpleIcon size={18} /> Importar
+ </button>
+ <input
+ ref={input}
+ type="file"
+ accept=".json,application/json"
+ className="hidden"
+ aria-label="Escolher arquivo de backup do Musike"
+ onChange={(e) => void onPick(e.target.files?.[0])}
+ />
+ </div>
+
+ {pending && s && (
+ <div className="flex flex-col gap-3 rounded-[16px] bg-surface-1 p-4 ring-1 ring-line">
+ <div>
+ <p className="truncate text-sm font-medium" title={pending.file}>
+ {pending.file}
+ </p>
+ <p className="text-xs text-fg-2">
+ Exportado em {s.exportedAt.toLocaleDateString("pt-BR")} às {s.exportedAt.toLocaleTimeString("pt-BR", { hour: "2-digit", minute: "2-digit" })}
+ </p>
+ </div>
+
+ <ul className="grid grid-cols-3 gap-2 text-center">
+ {[
+ [s.playlists, s.playlists === 1 ? "playlist" : "playlists", `${s.playlistTracks} faixas`],
+ [s.favorites, s.favorites === 1 ? "favorita" : "favoritas", null],
+ [s.history, "no histórico", null],
+ ].map(([n, label, sub]) => (
+ <li key={String(label)} className="rounded-[12px] bg-surface-2 px-2 py-2.5">
+ <span className="block font-mono text-lg font-semibold tabular-nums">{n}</span>
+ <span className="block text-xs text-fg-2">{label}</span>
+ {sub && <span className="block text-[11px] text-fg-3">{sub}</span>}
+ </li>
+ ))}
+ </ul>
+
+ <div role="radiogroup" aria-label="Como importar" className="grid gap-2">
+ {(
+ [
+ ["merge", ArrowsMergeIcon, "Juntar com a minha biblioteca", "Adiciona o que falta. Nada é apagado; playlists com o mesmo nome ganham as faixas novas."],
+ ["replace", SwapIcon, "Substituir tudo", "Apaga a biblioteca atual e deixa exatamente como no backup."],
+ ] as const
+ ).map(([value, Icon, title, body]) => (
+ <button
+ key={value}
+ type="button"
+ role="radio"
+ aria-checked={mode === value}
+ onClick={() => {
+ setMode(value);
+ setConfirmReplace(false);
+ }}
+ className={cn(
+ "flex items-start gap-3 rounded-[12px] p-3 text-left ring-1 transition-colors",
+ mode === value ? "bg-accent-soft ring-accent/50" : "ring-line hover:bg-surface-2",
+ )}
+ >
+ <Icon size={20} className={cn("mt-0.5 shrink-0", mode === value ? "text-accent-text" : "text-fg-2")} />
+ <span>
+ <span className="block text-sm font-medium">{title}</span>
+ <span className="block text-xs text-fg-2">{body}</span>
+ </span>
+ </button>
+ ))}
+ </div>
+
+ {pending.backup.settings && (
+ <label className="flex cursor-pointer items-center gap-2.5 text-sm text-fg-2">
+ <input type="checkbox" checked={withSettings} onChange={(e) => setWithSettings(e.target.checked)} className="size-4 accent-[var(--accent)]" />
+ Aplicar também tema e preferências do player
+ </label>
+ )}
+
+ {confirmReplace && (
+ <p role="alert" className="text-sm text-danger">
+ Isso apaga suas playlists, favoritas e histórico atuais. Toque em "Substituir agora" para confirmar.
+ </p>
+ )}
+
+ <div className="flex justify-end gap-2">
+ <button type="button" onClick={() => setPending(null)} className="h-11 rounded-full px-5 text-sm font-medium text-fg-2 hover:text-fg">
+ Cancelar
+ </button>
+ <button
+ type="button"
+ disabled={busy === "import"}
+ onClick={() => void onImport()}
+ className={cn(
+ "h-11 rounded-full px-6 text-sm font-semibold transition-transform active:scale-[0.97] disabled:opacity-50",
+ mode === "replace" ? "bg-danger text-white" : "bg-accent text-accent-ink",
+ )}
+ >
+ {busy === "import" ? "Importando" : mode === "replace" ? (confirmReplace ? "Substituir agora" : "Substituir") : "Importar"}
+ </button>
+ </div>
+ </div>
+ )}
+ </section>
+ );
+}
diff --git a/web/src/components/Brand.tsx b/web/src/components/Brand.tsx
new file mode 100644
index 0000000..54f3cbf
--- /dev/null
+++ b/web/src/components/Brand.tsx
@@ -0,0 +1,34 @@
+import { cn } from "../lib/format";
+
+/** The Musike mark: three equalizer bars forming an M. */
+export function LogoMark({ className }: { className?: string }) {
+ return (
+ <svg viewBox="0 0 48 48" className={className} aria-hidden="true">
+ <g fill="currentColor">
+ <rect x="10" y="10" width="8" height="28" rx="4" />
+ <rect x="20" y="10" width="8" height="16" rx="4" />
+ <rect x="30" y="10" width="8" height="28" rx="4" />
+ </g>
+ </svg>
+ );
+}
+
+export function Logo({ className }: { className?: string }) {
+ return (
+ <span className={cn("inline-flex items-center gap-1.5", className)}>
+ <LogoMark className="size-7 text-accent-text" />
+ <span className="text-[17px] font-semibold tracking-tight">musike</span>
+ </span>
+ );
+}
+
+/** The mark in motion: marks the track that is playing. */
+export function Equalizer({ live, className }: { live: boolean; className?: string }) {
+ return (
+ <span aria-hidden="true" className={cn("inline-flex h-3.5 items-end gap-[2px]", live && "eq-live", className)}>
+ <span className="eq-bar h-full w-[3px] rounded-full bg-accent-text" />
+ <span className="eq-bar h-full w-[3px] rounded-full bg-accent-text" />
+ <span className="eq-bar h-full w-[3px] rounded-full bg-accent-text" />
+ </span>
+ );
+}
diff --git a/web/src/components/Controls.tsx b/web/src/components/Controls.tsx
new file mode 100644
index 0000000..47b6c6a
--- /dev/null
+++ b/web/src/components/Controls.tsx
@@ -0,0 +1,202 @@
+import {
+ HeartIcon,
+ MusicNotesIcon,
+ PauseIcon,
+ PlayIcon,
+ RepeatIcon,
+ RepeatOnceIcon,
+ ShuffleIcon,
+ SkipBackIcon,
+ SkipForwardIcon,
+ SpeakerHighIcon,
+ SpeakerLowIcon,
+ SpeakerXIcon,
+ VideoCameraIcon,
+} from "@phosphor-icons/react";
+import { useState } from "react";
+import { useShallow } from "zustand/react/shallow";
+import { cn, formatTime } from "../lib/format";
+import type { Track } from "../lib/types";
+import { usePlayer } from "../player/player";
+import { useLibrary } from "../stores/library";
+import { IconButton, PlayDisc } from "./IconButton";
+import { Slider } from "./Slider";
+
+export function PlayPauseIcon({ size = 22 }: { size?: number }) {
+ const status = usePlayer((s) => s.status);
+ if (status === "loading") {
+ return <span className="block size-[18px] animate-spin rounded-full border-2 border-current border-t-transparent" />;
+ }
+ return status === "playing" ? <PauseIcon size={size} weight="fill" /> : <PlayIcon size={size} weight="fill" />;
+}
+
+export function Transport({ big = false }: { big?: boolean }) {
+ const p = usePlayer(
+ useShallow((s) => ({
+ hasQueue: s.queue.length > 0,
+ status: s.status,
+ shuffle: s.shuffle,
+ repeat: s.repeat,
+ toggle: s.toggle,
+ prev: s.prev,
+ next: s.next,
+ toggleShuffle: s.toggleShuffle,
+ cycleRepeat: s.cycleRepeat,
+ })),
+ );
+ const hasTrack = p.hasQueue;
+ const RepeatGlyph = p.repeat === "one" ? RepeatOnceIcon : RepeatIcon;
+ const repeatLabel = { off: "Repetir: desligado", all: "Repetir: fila", one: "Repetir: faixa" }[p.repeat];
+ const iconSize = big ? 26 : 19;
+
+ return (
+ <div className={cn("flex items-center", big ? "justify-between" : "gap-2")}>
+ <IconButton
+ label={p.shuffle ? "Ordem aleatória: ligada" : "Ordem aleatória: desligada"}
+ active={p.shuffle}
+ size={big ? "lg" : "sm"}
+ onClick={p.toggleShuffle}
+ disabled={!hasTrack}
+ >
+ <ShuffleIcon size={big ? 22 : 17} />
+ {p.shuffle && <span className="absolute bottom-0.5 size-1 rounded-full bg-accent-text" />}
+ </IconButton>
+ <IconButton label="Anterior" size={big ? "lg" : "md"} onClick={p.prev} disabled={!hasTrack} className="text-fg">
+ <SkipBackIcon size={iconSize} weight="fill" />
+ </IconButton>
+ <PlayDisc
+ label={p.status === "playing" ? "Pausar" : "Tocar"}
+ px={big ? 72 : 40}
+ onClick={p.toggle}
+ disabled={!hasTrack}
+ >
+ <PlayPauseIcon size={big ? 30 : 20} />
+ </PlayDisc>
+ <IconButton label="Próxima" size={big ? "lg" : "md"} onClick={p.next} disabled={!hasTrack} className="text-fg">
+ <SkipForwardIcon size={iconSize} weight="fill" />
+ </IconButton>
+ <IconButton
+ label={repeatLabel}
+ active={p.repeat !== "off"}
+ size={big ? "lg" : "sm"}
+ onClick={p.cycleRepeat}
+ disabled={!hasTrack}
+ >
+ <RepeatGlyph size={big ? 22 : 17} />
+ {p.repeat !== "off" && <span className="absolute bottom-0.5 size-1 rounded-full bg-accent-text" />}
+ </IconButton>
+ </div>
+ );
+}
+
+export function Scrubber({ touch = false, className }: { touch?: boolean; className?: string }) {
+ const position = usePlayer((s) => s.position);
+ const duration = usePlayer((s) => s.duration);
+ const buffered = usePlayer((s) => s.buffered);
+ const seek = usePlayer((s) => s.seek);
+ const [scrub, setScrub] = useState<number | null>(null);
+ const shown = scrub ?? position;
+
+ const time = <span className="w-10 shrink-0 font-mono text-[11px] text-fg-3 tabular-nums">{formatTime(shown)}</span>;
+ const total = <span className="w-10 shrink-0 text-right font-mono text-[11px] text-fg-3 tabular-nums">{formatTime(duration)}</span>;
+
+ if (touch) {
+ return (
+ <div className={className}>
+ <Slider label="Progresso" value={position} max={duration} buffered={buffered} onChange={seek} onScrub={setScrub} showThumb step={5} valueText={formatTime} />
+ <div className="mt-0.5 flex justify-between">
+ {time}
+ {total}
+ </div>
+ </div>
+ );
+ }
+ return (
+ <div className={cn("flex items-center gap-2", className)}>
+ <span className="text-right">{time}</span>
+ <Slider label="Progresso" value={position} max={duration} buffered={buffered} onChange={seek} onScrub={setScrub} step={5} valueText={formatTime} className="flex-1" />
+ {total}
+ </div>
+ );
+}
+
+export function Volume({ className }: { className?: string }) {
+ const volume = usePlayer((s) => s.volume);
+ const muted = usePlayer((s) => s.muted);
+ const setVolume = usePlayer((s) => s.setVolume);
+ const toggleMute = usePlayer((s) => s.toggleMute);
+ const level = muted ? 0 : volume;
+ const Glyph = level === 0 ? SpeakerXIcon : level < 0.5 ? SpeakerLowIcon : SpeakerHighIcon;
+ return (
+ <div className={cn("flex items-center gap-1", className)}>
+ <IconButton label={muted ? "Ativar som" : "Mudo"} size="sm" onClick={toggleMute}>
+ <Glyph size={18} />
+ </IconButton>
+ <Slider label="Volume" value={level} max={1} step={0.05} live onChange={setVolume} valueText={(v) => `${Math.round(v * 100)}%`} className="w-24" />
+ </div>
+ );
+}
+
+export function FavoriteButton({ track, size = "md" }: { track: Track | null; size?: "sm" | "md" | "lg" }) {
+ const isFavorite = useLibrary((s) => !!track && s.favorites.some((t) => t.id === track.id));
+ const toggle = useLibrary((s) => s.toggleFavorite);
+ return (
+ <IconButton
+ label={isFavorite ? "Remover das Favoritas" : "Adicionar às Favoritas"}
+ active={isFavorite}
+ size={size}
+ disabled={!track}
+ onClick={() => track && void toggle(track)}
+ >
+ <HeartIcon size={size === "lg" ? 24 : 19} weight={isFavorite ? "fill" : "regular"} />
+ </IconButton>
+ );
+}
+
+/** Audio / Video segmented switch. For songs, Video plays the song's music video when YouTube has one. */
+export function ModeSwitch({ className }: { className?: string }) {
+ const preferVideo = usePlayer((s) => s.preferVideo);
+ const setPreferVideo = usePlayer((s) => s.setPreferVideo);
+ const quality = usePlayer((s) => s.quality);
+ const setQuality = usePlayer((s) => s.setQuality);
+ const showingVideo = usePlayer((s) => s.mediaKind === "video");
+
+ const seg = (on: boolean) =>
+ cn(
+ "flex h-9 items-center gap-1.5 rounded-full px-3.5 text-[13px] font-medium transition-colors duration-200",
+ on ? "bg-surface-4 text-fg shadow-[inset_0_1px_0_var(--highlight)]" : "text-fg-2 hover:text-fg",
+ );
+
+ return (
+ <div className={cn("flex items-center gap-2", className)}>
+ <div role="radiogroup" aria-label="Modo de reprodução" className="flex rounded-full bg-surface-1 p-1 ring-1 ring-line">
+ <button type="button" role="radio" aria-checked={!preferVideo} className={seg(!preferVideo)} onClick={() => setPreferVideo(false)}>
+ <MusicNotesIcon size={15} /> Áudio
+ </button>
+ <button
+ type="button"
+ role="radio"
+ aria-checked={preferVideo}
+ className={seg(preferVideo)}
+ onClick={() => setPreferVideo(true)}
+ title="Ver o clipe"
+ >
+ <VideoCameraIcon size={15} /> Vídeo
+ </button>
+ </div>
+ {showingVideo && (
+ <button
+ type="button"
+ onClick={() => setQuality(quality === "sd" ? "hd" : "sd")}
+ title={quality === "sd" ? "Mudar para HD (720p, baixa antes de tocar)" : "Mudar para SD (360p, começa mais rápido quando disponível)"}
+ className={cn(
+ "h-9 rounded-full px-3 font-mono text-[12px] font-semibold ring-1 transition-colors",
+ quality === "hd" ? "bg-accent-soft text-accent-text ring-accent/40" : "text-fg-2 ring-line hover:text-fg",
+ )}
+ >
+ {quality === "hd" ? "HD" : "SD"}
+ </button>
+ )}
+ </div>
+ );
+}
diff --git a/web/src/components/Cover.tsx b/web/src/components/Cover.tsx
new file mode 100644
index 0000000..bfd3b48
--- /dev/null
+++ b/web/src/components/Cover.tsx
@@ -0,0 +1,35 @@
+import { ClockCounterClockwiseIcon, HeartIcon } from "@phosphor-icons/react";
+import { cn } from "../lib/format";
+import type { Track } from "../lib/types";
+import { Artwork } from "./Artwork";
+
+export type CoverKind = "playlist" | "favorites" | "history";
+
+/** Playlist cover: a 2x2 mosaic from the first distinct covers, or a single cover / icon tile. */
+export function Cover({ kind, tracks, className, iconSize = 40 }: { kind: CoverKind; tracks: Track[]; className?: string; iconSize?: number }) {
+ if (kind === "favorites") {
+ return (
+ <span className={cn("grid place-items-center bg-accent text-accent-ink", className)}>
+ <HeartIcon size={iconSize} weight="fill" />
+ </span>
+ );
+ }
+ if (kind === "history") {
+ return (
+ <span className={cn("grid place-items-center bg-surface-4 text-fg", className)}>
+ <ClockCounterClockwiseIcon size={iconSize} />
+ </span>
+ );
+ }
+ const arts = [...new Map(tracks.map((t) => [t.thumb, t])).values()].slice(0, 4);
+ if (arts.length < 4) {
+ return <Artwork src={arts[0]?.art} fallback={arts[0]?.thumb} className={className} iconSize={iconSize} />;
+ }
+ return (
+ <span className={cn("grid grid-cols-2 grid-rows-2 overflow-hidden", className)}>
+ {arts.map((t) => (
+ <Artwork key={t.id} src={t.thumb} className="size-full" />
+ ))}
+ </span>
+ );
+}
diff --git a/web/src/components/Dialogs.tsx b/web/src/components/Dialogs.tsx
new file mode 100644
index 0000000..649aec4
--- /dev/null
+++ b/web/src/components/Dialogs.tsx
@@ -0,0 +1,192 @@
+import { CheckIcon, PlusIcon } from "@phosphor-icons/react";
+import { useEffect, useState, type FormEvent } from "react";
+import { cn, plural } from "../lib/format";
+import { useLibrary } from "../stores/library";
+import { useUi } from "../stores/ui";
+import { Artwork } from "./Artwork";
+import { Modal } from "./Modal";
+
+export function AddToPlaylistDialog() {
+ const track = useUi((s) => s.addToPlaylist);
+ const close = useUi((s) => s.openAddToPlaylist);
+ const playlists = useLibrary((s) => s.playlists);
+ const add = useLibrary((s) => s.addToPlaylist);
+ const create = useLibrary((s) => s.createPlaylist);
+ const [creating, setCreating] = useState(false);
+ const [name, setName] = useState("");
+
+ useEffect(() => {
+ if (track) {
+ setCreating(playlists.length === 0);
+ setName("");
+ }
+ }, [track]);
+
+ const onCreate = async (e: FormEvent) => {
+ e.preventDefault();
+ if (!track || !name.trim()) return;
+ const p = await create(name, [track]);
+ if (p) close(null);
+ };
+
+ return (
+ <Modal open={!!track} onClose={() => close(null)} title="Adicionar à playlist">
+ {creating ? (
+ <form onSubmit={onCreate} className="flex flex-col gap-3">
+ <label htmlFor="new-playlist" className="text-sm text-fg-2">
+ Nome da nova playlist
+ </label>
+ <input
+ id="new-playlist"
+ autoFocus
+ value={name}
+ maxLength={80}
+ onChange={(e) => setName(e.target.value)}
+ placeholder="Ex.: Treino, Foco, Estrada"
+ className="h-12 rounded-full border border-line-strong bg-surface-1 px-5 text-[15px] placeholder:text-fg-3 focus:border-accent focus:outline-none"
+ />
+ <div className="flex justify-end gap-2 pt-1">
+ {playlists.length > 0 && (
+ <button type="button" onClick={() => setCreating(false)} className="h-11 rounded-full px-5 text-sm font-medium text-fg-2 hover:text-fg">
+ Voltar
+ </button>
+ )}
+ <button
+ type="submit"
+ disabled={!name.trim()}
+ className="h-11 rounded-full bg-accent px-6 text-sm font-semibold text-accent-ink transition-transform active:scale-[0.97] disabled:opacity-40"
+ >
+ Criar e adicionar
+ </button>
+ </div>
+ </form>
+ ) : (
+ <div className="-mx-1 flex max-h-[55dvh] flex-col overflow-y-auto scroll-area">
+ <button
+ type="button"
+ onClick={() => setCreating(true)}
+ className="flex items-center gap-3 rounded-xl px-2 py-2 text-left hover:bg-surface-3"
+ >
+ <span className="grid size-11 place-items-center rounded-[10px] bg-accent-soft text-accent-text">
+ <PlusIcon size={20} />
+ </span>
+ <span className="font-medium">Nova playlist</span>
+ </button>
+ {playlists.map((p) => {
+ const has = !!track && p.tracks.some((t) => t.id === track.id);
+ return (
+ <button
+ key={p.id}
+ type="button"
+ disabled={has}
+ onClick={() => {
+ if (!track) return;
+ void add(p.id, track);
+ close(null);
+ }}
+ className={cn("flex items-center gap-3 rounded-xl px-2 py-2 text-left hover:bg-surface-3", has && "opacity-60")}
+ >
+ <Artwork src={p.tracks[0]?.thumb} className="size-11 rounded-[10px]" />
+ <span className="min-w-0 flex-1">
+ <span className="block truncate font-medium">{p.name}</span>
+ <span className="block text-sm text-fg-2">{plural(p.tracks.length, "faixa", "faixas")}</span>
+ </span>
+ {has && <CheckIcon size={18} className="text-accent-text" />}
+ </button>
+ );
+ })}
+ </div>
+ )}
+ </Modal>
+ );
+}
+
+export function NamePlaylistDialog({
+ open,
+ initial = "",
+ title,
+ action,
+ onSubmit,
+ onClose,
+}: {
+ open: boolean;
+ initial?: string;
+ title: string;
+ action: string;
+ onSubmit: (name: string) => void;
+ onClose: () => void;
+}) {
+ const [name, setName] = useState(initial);
+ useEffect(() => {
+ if (open) setName(initial);
+ }, [open, initial]);
+
+ return (
+ <Modal open={open} onClose={onClose} title={title}>
+ <form
+ onSubmit={(e) => {
+ e.preventDefault();
+ if (name.trim()) onSubmit(name.trim());
+ }}
+ className="flex flex-col gap-3"
+ >
+ <label htmlFor="playlist-name" className="text-sm text-fg-2">
+ Nome
+ </label>
+ <input
+ id="playlist-name"
+ autoFocus
+ value={name}
+ maxLength={80}
+ onChange={(e) => setName(e.target.value)}
+ placeholder="Ex.: Treino, Foco, Estrada"
+ className="h-12 rounded-full border border-line-strong bg-surface-1 px-5 text-[15px] placeholder:text-fg-3 focus:border-accent focus:outline-none"
+ />
+ <div className="flex justify-end pt-1">
+ <button
+ type="submit"
+ disabled={!name.trim()}
+ className="h-11 rounded-full bg-accent px-6 text-sm font-semibold text-accent-ink transition-transform active:scale-[0.97] disabled:opacity-40"
+ >
+ {action}
+ </button>
+ </div>
+ </form>
+ </Modal>
+ );
+}
+
+const SHORTCUTS: [string, string][] = [
+ ["Espaço", "Tocar / pausar"],
+ ["← →", "Voltar / avançar 5 s"],
+ ["Shift + ← →", "Faixa anterior / próxima"],
+ ["↑ ↓", "Volume"],
+ ["M", "Mudo"],
+ ["L", "Favoritar faixa atual"],
+ ["S", "Ordem aleatória"],
+ ["R", "Repetir"],
+ ["V", "Alternar vídeo"],
+ ["F", "Maximizar vídeo"],
+ ["Q", "Fila"],
+ ["/", "Buscar"],
+ ["?", "Esta lista"],
+];
+
+export function ShortcutsDialog() {
+ const open = useUi((s) => s.shortcutsOpen);
+ const setOpen = useUi((s) => s.setShortcutsOpen);
+ return (
+ <Modal open={open} onClose={() => setOpen(false)} title="Atalhos de teclado">
+ <dl className="grid grid-cols-[auto_1fr] items-center gap-x-4 gap-y-2.5 text-sm">
+ {SHORTCUTS.map(([keys, what]) => (
+ <div key={keys} className="contents">
+ <dt className="flex justify-end">
+ <kbd className="kbd">{keys}</kbd>
+ </dt>
+ <dd className="text-fg-2">{what}</dd>
+ </div>
+ ))}
+ </dl>
+ </Modal>
+ );
+}
diff --git a/web/src/components/IconButton.tsx b/web/src/components/IconButton.tsx
new file mode 100644
index 0000000..acd93b6
--- /dev/null
+++ b/web/src/components/IconButton.tsx
@@ -0,0 +1,59 @@
+import { forwardRef, type ButtonHTMLAttributes } from "react";
+import { cn } from "../lib/format";
+
+interface Props extends ButtonHTMLAttributes<HTMLButtonElement> {
+ label: string;
+ active?: boolean;
+ size?: "sm" | "md" | "lg";
+}
+
+const sizes = { sm: "size-8", md: "size-10", lg: "size-11" };
+
+export const IconButton = forwardRef<HTMLButtonElement, Props>(function IconButton(
+ { label, active, size = "md", className, children, ...rest },
+ ref,
+) {
+ return (
+ <button
+ ref={ref}
+ type="button"
+ aria-label={label}
+ title={label}
+ className={cn(
+ "relative grid shrink-0 place-items-center rounded-full transition-[transform,color,background-color] duration-200 ease-out-expo",
+ "hover:bg-surface-3 active:scale-[0.92] disabled:pointer-events-none disabled:opacity-35",
+ active ? "text-accent-text" : "text-fg-2 hover:text-fg",
+ sizes[size],
+ className,
+ )}
+ {...rest}
+ >
+ {children}
+ </button>
+ );
+});
+
+/** The primary play button: a solid Volt disc. */
+export const PlayDisc = forwardRef<HTMLButtonElement, Omit<Props, "active"> & { px?: number }>(function PlayDisc(
+ { label, className, children, px = 48, ...rest },
+ ref,
+) {
+ return (
+ <button
+ ref={ref}
+ type="button"
+ aria-label={label}
+ title={label}
+ style={{ width: px, height: px }}
+ className={cn(
+ "grid shrink-0 place-items-center rounded-full bg-accent text-accent-ink",
+ "shadow-[inset_0_1px_0_rgb(255_255_255/0.45)] transition-transform duration-200 ease-out-expo",
+ "hover:scale-[1.04] active:scale-[0.95] disabled:opacity-40",
+ className,
+ )}
+ {...rest}
+ >
+ {children}
+ </button>
+ );
+});
diff --git a/web/src/components/MobileChrome.tsx b/web/src/components/MobileChrome.tsx
new file mode 100644
index 0000000..24d88d0
--- /dev/null
+++ b/web/src/components/MobileChrome.tsx
@@ -0,0 +1,97 @@
+import { BooksIcon, HouseIcon, MagnifyingGlassIcon } from "@phosphor-icons/react";
+import { NavLink, useNavigate } from "react-router";
+import { cn } from "../lib/format";
+import { selectCurrent, usePlayer } from "../player/player";
+import { Artwork } from "./Artwork";
+import { PlayPauseIcon } from "./Controls";
+
+const tabs = [
+ { to: "/", label: "Início", Icon: HouseIcon, end: true },
+ { to: "/buscar", label: "Buscar", Icon: MagnifyingGlassIcon, end: false },
+ { to: "/biblioteca", label: "Biblioteca", Icon: BooksIcon, end: false },
+];
+
+export function TabBar() {
+ return (
+ <nav
+ aria-label="Navegação principal"
+ className="safe-bottom fixed inset-x-0 bottom-0 z-20 border-t border-line bg-bg/85 backdrop-blur-xl"
+ >
+ <ul className="mx-auto grid h-16 max-w-md grid-cols-3">
+ {tabs.map(({ to, label, Icon, end }) => (
+ <li key={to}>
+ <NavLink
+ to={to}
+ end={end}
+ className={({ isActive }) =>
+ cn(
+ "relative flex h-full flex-col items-center justify-center gap-1 text-[11px] font-medium transition-colors",
+ isActive ? "text-fg" : "text-fg-3",
+ )
+ }
+ >
+ {({ isActive }) => (
+ <>
+ <span
+ className={cn(
+ "absolute top-0 h-[3px] w-8 rounded-b-full bg-accent transition-transform duration-300 ease-out-expo",
+ isActive ? "scale-x-100" : "scale-x-0",
+ )}
+ />
+ <Icon size={24} weight={isActive ? "fill" : "regular"} />
+ {label}
+ </>
+ )}
+ </NavLink>
+ </li>
+ ))}
+ </ul>
+ </nav>
+ );
+}
+
+export function MiniPlayer() {
+ const track = usePlayer(selectCurrent);
+ const position = usePlayer((s) => s.position);
+ const duration = usePlayer((s) => s.duration);
+ const status = usePlayer((s) => s.status);
+ const statusText = usePlayer((s) => s.statusText);
+ const toggle = usePlayer((s) => s.toggle);
+ const navigate = useNavigate();
+ if (!track) return null;
+ const pct = duration > 0 ? Math.min(100, (position / duration) * 100) : 0;
+
+ return (
+ <div className="fixed inset-x-2 bottom-[calc(72px+env(safe-area-inset-bottom))] z-20">
+ <div className="island p-1! shadow-[0_10px_30px_rgb(0_0_0/0.35)]">
+ <div className="island-core relative flex h-14 items-center gap-3 overflow-hidden pr-1 pl-1.5">
+ <button
+ type="button"
+ onClick={() => navigate({ hash: "tocando" })}
+ className="flex min-w-0 flex-1 items-center gap-3 text-left"
+ aria-label={`Abrir Tocando agora: ${track.title}`}
+ >
+ <Artwork src={track.thumb} className="size-11 rounded-[10px]" />
+ <span className="min-w-0">
+ <span className="block truncate text-sm font-medium">{track.title}</span>
+ <span className={cn("block truncate text-xs", status === "error" ? "text-danger" : "text-fg-2")}>
+ {statusText ?? track.artist}
+ </span>
+ </span>
+ </button>
+ <button
+ type="button"
+ onClick={toggle}
+ aria-label={status === "playing" ? "Pausar" : "Tocar"}
+ className="grid size-11 shrink-0 place-items-center rounded-full text-fg active:scale-90"
+ >
+ <PlayPauseIcon size={24} />
+ </button>
+ <span className="absolute inset-x-3 bottom-0 h-[2px] rounded-full bg-surface-4">
+ <span className="block h-full rounded-full bg-accent" style={{ width: `${pct}%` }} />
+ </span>
+ </div>
+ </div>
+ </div>
+ );
+}
diff --git a/web/src/components/Modal.tsx b/web/src/components/Modal.tsx
new file mode 100644
index 0000000..b0d7a74
--- /dev/null
+++ b/web/src/components/Modal.tsx
@@ -0,0 +1,68 @@
+import { XIcon } from "@phosphor-icons/react";
+import { AnimatePresence, motion, useReducedMotion } from "motion/react";
+import { useEffect, type ReactNode } from "react";
+import { createPortal } from "react-dom";
+import { MD, useMediaQuery } from "../hooks/useMediaQuery";
+import { IconButton } from "./IconButton";
+
+/**
+ * Layering (z-index) used across the app:
+ * 10 sticky headers · 20 app chrome · 30 floating video · 40 sheet/drawer · 50 modal/menu · 60 toasts
+ */
+interface Props {
+ open: boolean;
+ onClose: () => void;
+ title: string;
+ children: ReactNode;
+}
+
+export function Modal({ open, onClose, title, children }: Props) {
+ const isMd = useMediaQuery(MD);
+ const reduce = useReducedMotion();
+
+ useEffect(() => {
+ if (!open) return;
+ const onKey = (e: KeyboardEvent) => e.key === "Escape" && onClose();
+ window.addEventListener("keydown", onKey);
+ return () => window.removeEventListener("keydown", onKey);
+ }, [open, onClose]);
+
+ const from = reduce ? { opacity: 0 } : isMd ? { opacity: 0, scale: 0.96, y: 8 } : { y: "100%" };
+
+ return createPortal(
+ <AnimatePresence>
+ {open && (
+ <div className="fixed inset-0 z-50 flex items-end justify-center md:items-center">
+ <motion.div
+ className="absolute inset-0 bg-scrim"
+ initial={{ opacity: 0 }}
+ animate={{ opacity: 1 }}
+ exit={{ opacity: 0 }}
+ onClick={onClose}
+ />
+ <motion.div
+ role="dialog"
+ aria-modal="true"
+ aria-label={title}
+ initial={from}
+ animate={{ opacity: 1, scale: 1, y: 0 }}
+ exit={from}
+ transition={{ type: "spring", stiffness: 420, damping: 38 }}
+ className="island safe-bottom relative w-full rounded-b-none md:mx-4 md:max-w-md md:rounded-[20px]"
+ >
+ <div className="island-core p-4 md:p-5">
+ <div className="mb-3 flex items-center justify-between gap-3">
+ <h2 className="text-lg font-semibold tracking-tight">{title}</h2>
+ <IconButton label="Fechar" size="sm" onClick={onClose}>
+ <XIcon size={18} />
+ </IconButton>
+ </div>
+ {children}
+ </div>
+ </motion.div>
+ </div>
+ )}
+ </AnimatePresence>,
+ document.body,
+ );
+}
diff --git a/web/src/components/NowPlaying.tsx b/web/src/components/NowPlaying.tsx
new file mode 100644
index 0000000..af51758
--- /dev/null
+++ b/web/src/components/NowPlaying.tsx
@@ -0,0 +1,291 @@
+import {
+ CaretDownIcon,
+ MagnifyingGlassIcon,
+ QueueIcon,
+ RadioIcon,
+ VideoCameraSlashIcon,
+ XIcon,
+} from "@phosphor-icons/react";
+import { AnimatePresence, motion, useDragControls, useReducedMotion } from "motion/react";
+import { useState } from "react";
+import { createPortal } from "react-dom";
+import { cn } from "../lib/format";
+import type { Track } from "../lib/types";
+import { selectCurrent, usePlayer } from "../player/player";
+import { useUi, type PanelTab } from "../stores/ui";
+import { Artwork } from "./Artwork";
+import { FavoriteButton, ModeSwitch, Scrubber, Transport } from "./Controls";
+import { IconButton } from "./IconButton";
+import { QueueList } from "./Queue";
+import { SLOT, VideoSlot } from "./Video";
+
+/** Artwork or the live video, with a soft ambient glow from the cover behind it. */
+function Stage({ track, slot, className }: { track: Track; slot: number; className?: string }) {
+ const showsVideo = usePlayer((s) => s.mediaKind === "video");
+ const aspect = usePlayer((s) => s.videoAspect);
+ // In Video mode on a song: say we're looking for its clip, or that it has none.
+ const note = usePlayer((s) =>
+ s.preferVideo ? (s.videoNote ?? (s.statusText === "Procurando o clipe" ? s.statusText : null)) : null,
+ );
+ if (showsVideo) {
+ const portrait = aspect < 1;
+ return (
+ <div className="flex justify-center">
+ <VideoSlot
+ priority={slot}
+ expandable
+ className={cn("rounded-[16px]", portrait ? "h-[min(52dvh,560px)]" : "w-full")}
+ style={{ aspectRatio: Math.min(16 / 9, Math.max(9 / 16, aspect)) }}
+ />
+ </div>
+ );
+ }
+ return (
+ <div className={cn("relative mx-auto aspect-square w-full", className)}>
+ <img
+ src={track.thumb}
+ alt=""
+ aria-hidden="true"
+ className="absolute inset-[8%] h-[84%] w-[84%] scale-110 rounded-full object-cover opacity-50 blur-3xl"
+ />
+ <Artwork
+ src={track.art}
+ fallback={track.thumb}
+ alt={`Capa de ${track.title}`}
+ iconSize={48}
+ className="relative size-full rounded-[18px] shadow-[0_24px_60px_rgb(0_0_0/0.45)]"
+ />
+ {note && (
+ <span className="absolute inset-x-3 bottom-3 flex items-center justify-center gap-2 rounded-full bg-black/65 px-3 py-2 text-center text-[13px] font-medium text-white backdrop-blur-md">
+ {note === "Procurando o clipe" ? (
+ <MagnifyingGlassIcon size={16} className="shrink-0" />
+ ) : (
+ <VideoCameraSlashIcon size={16} className="shrink-0" />
+ )}{" "}
+ {note}
+ </span>
+ )}
+ </div>
+ );
+}
+
+function TrackHeading({ track, large = false }: { track: Track; large?: boolean }) {
+ const statusText = usePlayer((s) => s.statusText);
+ const status = usePlayer((s) => s.status);
+ return (
+ <div className="flex items-center gap-3">
+ <div className="min-w-0 flex-1">
+ <h2 className={cn("truncate font-semibold tracking-tight", large ? "text-[22px] leading-tight" : "text-lg")}>{track.title}</h2>
+ <p className={cn("truncate", large ? "text-base" : "text-sm", status === "error" ? "text-danger" : "text-fg-2")}>
+ {statusText ?? [track.artist, track.album].filter(Boolean).join(" · ")}
+ </p>
+ </div>
+ <FavoriteButton track={track} size={large ? "lg" : "md"} />
+ </div>
+ );
+}
+
+function PanelBody({ tab, slot }: { tab: PanelTab; slot: number }) {
+ const track = usePlayer(selectCurrent);
+ const startRadio = usePlayer((s) => s.startRadio);
+ const queue = usePlayer((s) => s.queue);
+ const index = usePlayer((s) => s.index);
+
+ if (tab === "queue") return <QueueList />;
+ if (!track) {
+ return <p className="px-2 py-16 text-center text-sm text-fg-2">Toque algo para ver aqui.</p>;
+ }
+ const nextUp = queue[index + 1];
+ return (
+ <div className="flex flex-col gap-5 px-1 pb-4">
+ <Stage track={track} slot={slot} />
+ <TrackHeading track={track} />
+ <ModeSwitch />
+ <button
+ type="button"
+ onClick={() => void startRadio(track)}
+ className="flex h-11 items-center justify-center gap-2 rounded-full bg-surface-1 text-sm font-medium ring-1 ring-line transition-colors hover:bg-surface-3 active:scale-[0.98]"
+ >
+ <RadioIcon size={18} /> Iniciar rádio desta faixa
+ </button>
+ {nextUp && (
+ <div className="rounded-[14px] bg-surface-1 p-3 ring-1 ring-line">
+ <p className="pb-2 text-xs font-medium text-fg-3">A seguir</p>
+ <div className="flex items-center gap-3">
+ <Artwork src={nextUp.thumb} className="size-10 rounded-[8px]" />
+ <div className="min-w-0">
+ <p className="truncate text-sm font-medium">{nextUp.title}</p>
+ <p className="truncate text-xs text-fg-2">{nextUp.artist}</p>
+ </div>
+ </div>
+ </div>
+ )}
+ </div>
+ );
+}
+
+function PanelTabs({ tab, onTab }: { tab: PanelTab; onTab: (t: PanelTab) => void }) {
+ return (
+ <div role="tablist" className="flex gap-1">
+ {(
+ [
+ ["playing", "Tocando"],
+ ["queue", "Fila"],
+ ] as const
+ ).map(([id, label]) => (
+ <button
+ key={id}
+ role="tab"
+ type="button"
+ aria-selected={tab === id}
+ onClick={() => onTab(id)}
+ className={cn(
+ "h-9 rounded-full px-4 text-sm font-medium transition-colors",
+ tab === id ? "bg-surface-4 text-fg" : "text-fg-2 hover:text-fg",
+ )}
+ >
+ {label}
+ </button>
+ ))}
+ </div>
+ );
+}
+
+/** Docked right column (≥1280px). */
+export function SidePanel() {
+ const tab = useUi((s) => s.panelTab);
+ const openPanel = useUi((s) => s.openPanel);
+ const togglePanel = useUi((s) => s.togglePanel);
+ return (
+ <aside className="island hidden w-[360px] shrink-0 xl:flex" aria-label="Tocando agora e fila">
+ <div className="island-core flex w-full flex-col overflow-hidden">
+ <div className="flex h-16 items-center justify-between px-3">
+ <PanelTabs tab={tab} onTab={openPanel} />
+ <IconButton label="Fechar painel" size="sm" onClick={() => togglePanel(tab)}>
+ <XIcon size={18} />
+ </IconButton>
+ </div>
+ <div className="scroll-area flex-1 overflow-y-auto px-2">
+ <PanelBody tab={tab} slot={SLOT.panel} />
+ </div>
+ </div>
+ </aside>
+ );
+}
+
+/** Same content as an overlay drawer for tablets and small laptops (768-1279px). */
+export function PanelDrawer() {
+ const open = useUi((s) => s.drawerOpen);
+ const tab = useUi((s) => s.panelTab);
+ const openPanel = useUi((s) => s.openPanel);
+ const close = useUi((s) => s.closePanel);
+ const reduce = useReducedMotion();
+
+ return createPortal(
+ <AnimatePresence>
+ {open && (
+ <div className="fixed inset-0 z-40 hidden md:block xl:hidden">
+ <motion.div className="absolute inset-0 bg-scrim" initial={{ opacity: 0 }} animate={{ opacity: 1 }} exit={{ opacity: 0 }} onClick={close} />
+ <motion.aside
+ aria-label="Tocando agora e fila"
+ initial={reduce ? { opacity: 0 } : { x: "105%" }}
+ animate={{ x: 0, opacity: 1 }}
+ exit={reduce ? { opacity: 0 } : { x: "105%" }}
+ transition={{ type: "spring", stiffness: 380, damping: 38 }}
+ className="island drawer-top absolute right-2 bottom-2 flex w-[380px] max-w-[calc(100vw-16px)]"
+ >
+ <div className="island-core flex w-full flex-col overflow-hidden">
+ <div className="flex h-16 items-center justify-between px-3">
+ <PanelTabs tab={tab} onTab={openPanel} />
+ <IconButton label="Fechar" size="sm" onClick={close}>
+ <XIcon size={18} />
+ </IconButton>
+ </div>
+ <div className="scroll-area flex-1 overflow-y-auto px-2">
+ <PanelBody tab={tab} slot={SLOT.panel} />
+ </div>
+ </div>
+ </motion.aside>
+ </div>
+ )}
+ </AnimatePresence>,
+ document.body,
+ );
+}
+
+/** Full-screen Now Playing for phones. Drag down (or Back) to close. */
+export function NowPlayingSheet({ open, onClose }: { open: boolean; onClose: () => void }) {
+ const track = usePlayer(selectCurrent);
+ const reduce = useReducedMotion();
+ const drag = useDragControls();
+ const [view, setView] = useState<"player" | "queue">("player");
+
+ return createPortal(
+ <AnimatePresence onExitComplete={() => setView("player")}>
+ {open && track && (
+ <motion.div
+ role="dialog"
+ aria-modal="true"
+ aria-label="Tocando agora"
+ initial={reduce ? { opacity: 0 } : { y: "100%" }}
+ animate={{ y: 0, opacity: 1 }}
+ exit={reduce ? { opacity: 0 } : { y: "100%" }}
+ transition={{ type: "spring", stiffness: 380, damping: 36 }}
+ drag="y"
+ dragListener={false}
+ dragControls={drag}
+ dragConstraints={{ top: 0, bottom: 0 }}
+ dragElastic={{ top: 0, bottom: 0.9 }}
+ onDragEnd={(_, info) => {
+ if (info.offset.y > 120 || info.velocity.y > 700) onClose();
+ }}
+ className="fixed inset-0 z-40 flex flex-col overflow-hidden bg-bg md:hidden"
+ >
+ <img
+ src={track.thumb}
+ alt=""
+ aria-hidden="true"
+ className="pointer-events-none absolute inset-0 h-1/2 w-full scale-125 object-cover opacity-25 blur-3xl"
+ />
+ <div className="pointer-events-none absolute inset-0 bg-linear-to-b from-transparent via-bg/70 to-bg" />
+
+ <div className="overlay-top relative flex flex-1 flex-col px-5">
+ <div className="flex h-14 touch-none items-center justify-between" onPointerDown={(e) => drag.start(e)}>
+ <IconButton label="Fechar" onClick={onClose} className="-ml-2 text-fg">
+ <CaretDownIcon size={24} />
+ </IconButton>
+ <div className="mx-auto mt-0 h-1 w-10 rounded-full bg-fg-3/50" />
+ <IconButton
+ label={view === "queue" ? "Voltar ao player" : "Ver fila"}
+ active={view === "queue"}
+ onClick={() => setView(view === "queue" ? "player" : "queue")}
+ className="-mr-2"
+ >
+ <QueueIcon size={22} />
+ </IconButton>
+ </div>
+
+ {view === "queue" ? (
+ <div className="scroll-area -mx-3 flex-1 overflow-y-auto pb-6">
+ <QueueList />
+ </div>
+ ) : (
+ <div className="flex flex-1 flex-col justify-evenly gap-4 pb-[calc(16px+env(safe-area-inset-bottom))]">
+ <div className="touch-none" onPointerDown={(e) => drag.start(e)}>
+ <Stage track={track} slot={SLOT.sheet} className="max-w-[min(100%,46dvh)]" />
+ </div>
+ <div className="flex flex-col gap-4">
+ <TrackHeading track={track} large />
+ <Scrubber touch />
+ <Transport big />
+ <ModeSwitch className="justify-center" />
+ </div>
+ </div>
+ )}
+ </div>
+ </motion.div>
+ )}
+ </AnimatePresence>,
+ document.body,
+ );
+}
diff --git a/web/src/components/Page.tsx b/web/src/components/Page.tsx
new file mode 100644
index 0000000..30507ce
--- /dev/null
+++ b/web/src/components/Page.tsx
@@ -0,0 +1,72 @@
+import { GearSixIcon } from "@phosphor-icons/react";
+import type { ReactNode } from "react";
+import { cn } from "../lib/format";
+import { needsAttention, useSystem } from "../stores/system";
+import { useUi } from "../stores/ui";
+import { LogoMark } from "./Brand";
+import { IconButton } from "./IconButton";
+
+/** Sticky page header. On phones it carries the brand mark and the settings entry, since there is no rail. */
+export function PageHeader({
+ title,
+ actions,
+ mobileOnly,
+ className,
+}: {
+ title?: ReactNode;
+ actions?: ReactNode;
+ /** Pages with their own large hero title only need the compact bar on phones. */
+ mobileOnly?: boolean;
+ className?: string;
+}) {
+ const setSettingsOpen = useUi((s) => s.setSettingsOpen);
+ const attention = useSystem((s) => needsAttention(s.info));
+ return (
+ <header
+ className={cn(
+ "safe-top sticky top-0 z-10 bg-bg/80 backdrop-blur-xl md:bg-surface-1/80",
+ // Without a title or actions the header only exists for the phone brand bar.
+ ((!title && !actions) || mobileOnly) && "md:hidden",
+ className,
+ )}
+ >
+ <div className="flex h-14 items-center gap-3 px-4 md:h-16 md:px-6">
+ <LogoMark className="size-7 shrink-0 text-accent-text md:hidden" />
+ {title && <h1 className="min-w-0 flex-1 truncate text-lg font-semibold tracking-tight md:text-xl">{title}</h1>}
+ {!title && <span className="flex-1" />}
+ {actions}
+ <IconButton
+ label={attention ? "Ajustes (atualização do yt-dlp disponível)" : "Ajustes"}
+ onClick={() => setSettingsOpen(true)}
+ className="-mr-2 md:hidden"
+ >
+ <GearSixIcon size={22} />
+ {attention && <span className="absolute top-2 right-2 size-2 rounded-full bg-accent ring-2 ring-bg" />}
+ </IconButton>
+ </div>
+ </header>
+ );
+}
+
+export function Section({ title, action, children, className }: { title: string; action?: ReactNode; children: ReactNode; className?: string }) {
+ return (
+ <section className={cn("flex flex-col gap-3", className)}>
+ <div className="flex items-end justify-between gap-4 px-4 md:px-6">
+ <h2 className="text-xl font-semibold tracking-tight">{title}</h2>
+ {action}
+ </div>
+ {children}
+ </section>
+ );
+}
+
+export function EmptyState({ icon, title, body, action }: { icon: ReactNode; title: string; body: string; action?: ReactNode }) {
+ return (
+ <div className="flex flex-col items-center gap-3 px-6 py-16 text-center">
+ <span className="grid size-16 place-items-center rounded-[18px] bg-surface-3 text-fg-2">{icon}</span>
+ <p className="text-lg font-semibold tracking-tight">{title}</p>
+ <p className="max-w-[40ch] text-sm text-fg-2">{body}</p>
+ {action}
+ </div>
+ );
+}
diff --git a/web/src/components/PlayerBar.tsx b/web/src/components/PlayerBar.tsx
new file mode 100644
index 0000000..8189387
--- /dev/null
+++ b/web/src/components/PlayerBar.tsx
@@ -0,0 +1,77 @@
+import { KeyboardIcon, QueueIcon, SidebarSimpleIcon } from "@phosphor-icons/react";
+import { cn } from "../lib/format";
+import { selectCurrent, usePlayer } from "../player/player";
+import { useUi } from "../stores/ui";
+import { Artwork } from "./Artwork";
+import { FavoriteButton, ModeSwitch, Scrubber, Transport, Volume } from "./Controls";
+import { IconButton } from "./IconButton";
+
+/** Desktop and tablet player: a floating island under the content. */
+export function PlayerBar() {
+ const track = usePlayer(selectCurrent);
+ const statusText = usePlayer((s) => s.statusText);
+ const status = usePlayer((s) => s.status);
+ const panelOpen = useUi((s) => s.panelOpen || s.drawerOpen);
+ const panelTab = useUi((s) => s.panelTab);
+ const togglePanel = useUi((s) => s.togglePanel);
+ const setShortcutsOpen = useUi((s) => s.setShortcutsOpen);
+
+ return (
+ <div className="island shrink-0">
+ <div className="island-core grid h-[84px] grid-cols-[minmax(0,1fr)_auto_minmax(0,1fr)] items-center gap-4 px-3 lg:px-4">
+ <div className="flex min-w-0 items-center gap-3">
+ {track ? (
+ <>
+ <button
+ type="button"
+ onClick={() => togglePanel("playing")}
+ aria-label="Mostrar Tocando agora"
+ className="group relative shrink-0 rounded-[10px] transition-transform active:scale-[0.96]"
+ >
+ <Artwork src={track.thumb} className="size-14 rounded-[10px]" />
+ </button>
+ <div className="min-w-0">
+ <p className="truncate text-sm font-medium">{track.title}</p>
+ <p className={cn("truncate text-[13px]", status === "error" ? "text-danger" : "text-fg-2")}>
+ {statusText ?? track.artist}
+ </p>
+ </div>
+ <FavoriteButton track={track} size="sm" />
+ </>
+ ) : (
+ <p className="truncate pl-1 text-sm text-fg-3">Nada tocando. Busque algo para começar.</p>
+ )}
+ </div>
+
+ <div className="flex w-[min(44vw,560px)] flex-col items-center gap-1">
+ <Transport />
+ <Scrubber className="w-full" />
+ </div>
+
+ <div className="flex items-center justify-end gap-1">
+ <ModeSwitch className="max-2xl:hidden" />
+ <IconButton
+ label="Fila"
+ size="sm"
+ active={panelOpen && panelTab === "queue"}
+ onClick={() => togglePanel("queue")}
+ >
+ <QueueIcon size={18} />
+ </IconButton>
+ <IconButton
+ label="Painel Tocando agora"
+ size="sm"
+ active={panelOpen && panelTab === "playing"}
+ onClick={() => togglePanel("playing")}
+ >
+ <SidebarSimpleIcon size={18} mirrored />
+ </IconButton>
+ <Volume className="max-lg:hidden" />
+ <IconButton label="Atalhos de teclado (?)" size="sm" onClick={() => setShortcutsOpen(true)} className="max-xl:hidden">
+ <KeyboardIcon size={18} />
+ </IconButton>
+ </div>
+ </div>
+ </div>
+ );
+}
diff --git a/web/src/components/Queue.tsx b/web/src/components/Queue.tsx
new file mode 100644
index 0000000..a562ed6
--- /dev/null
+++ b/web/src/components/Queue.tsx
@@ -0,0 +1,117 @@
+import { QueueIcon, XIcon } from "@phosphor-icons/react";
+import { cn, formatTime } from "../lib/format";
+import { usePlayer } from "../player/player";
+import { Artwork } from "./Artwork";
+import { Equalizer } from "./Brand";
+
+export function QueueList({ compact = false }: { compact?: boolean }) {
+ const queue = usePlayer((s) => s.queue);
+ const index = usePlayer((s) => s.index);
+ const live = usePlayer((s) => s.status === "playing" || s.status === "loading");
+ const jumpTo = usePlayer((s) => s.jumpTo);
+ const removeAt = usePlayer((s) => s.removeAt);
+ const clearUpcoming = usePlayer((s) => s.clearUpcoming);
+ const autoRadio = usePlayer((s) => s.autoRadio);
+ const setAutoRadio = usePlayer((s) => s.setAutoRadio);
+
+ const current = queue[index];
+ const upcoming = queue.slice(index + 1);
+
+ if (!current) {
+ return (
+ <div className="flex flex-col items-center gap-3 px-6 py-16 text-center">
+ <span className="grid size-14 place-items-center rounded-[14px] bg-surface-3 text-fg-3">
+ <QueueIcon size={26} />
+ </span>
+ <p className="font-medium">A fila está vazia</p>
+ <p className="max-w-[28ch] text-sm text-fg-2">Toque uma música ou use "Adicionar à fila" no menu de qualquer faixa.</p>
+ </div>
+ );
+ }
+
+ const row = (i: number, isCurrent: boolean) => {
+ const t = queue[i];
+ return (
+ <li key={`${t.id}-${i}`} className="group relative flex items-center gap-3 rounded-xl px-2 py-1.5 hover:bg-surface-3">
+ <button type="button" onClick={() => jumpTo(i)} className="absolute inset-0 rounded-xl" aria-label={`Tocar ${t.title}`} />
+ <Artwork src={t.thumb} className="pointer-events-none size-10 rounded-[8px]" />
+ <div className="pointer-events-none min-w-0 flex-1">
+ <p className={cn("truncate text-sm font-medium", isCurrent ? "text-accent-text" : "text-fg")}>{t.title}</p>
+ <p className="truncate text-xs text-fg-2">{t.artist}</p>
+ </div>
+ {isCurrent ? (
+ <Equalizer live={live} className="mr-2" />
+ ) : (
+ <>
+ <span className="pointer-events-none font-mono text-xs text-fg-3 tabular-nums group-hover:hidden">
+ {t.duration ? formatTime(t.duration) : ""}
+ </span>
+ <button
+ type="button"
+ onClick={() => removeAt(i)}
+ aria-label={`Remover ${t.title} da fila`}
+ title="Remover da fila"
+ className="relative z-10 hidden size-8 place-items-center rounded-full text-fg-2 hover:bg-surface-4 hover:text-fg group-hover:grid max-md:grid"
+ >
+ <XIcon size={16} />
+ </button>
+ </>
+ )}
+ </li>
+ );
+ };
+
+ return (
+ <div className={cn("flex flex-col gap-4", compact ? "" : "pb-4")}>
+ <section>
+ <h3 className="px-2 pb-1.5 text-xs font-medium text-fg-3">Tocando agora</h3>
+ <ul>{row(index, true)}</ul>
+ </section>
+
+ <section>
+ <div className="flex items-center justify-between px-2 pb-1.5">
+ <h3 className="text-xs font-medium text-fg-3">
+ A seguir <span className="font-mono">{upcoming.length}</span>
+ </h3>
+ {upcoming.length > 0 && (
+ <button type="button" onClick={clearUpcoming} className="text-xs font-medium text-fg-2 hover:text-fg">
+ Limpar
+ </button>
+ )}
+ </div>
+ {upcoming.length ? (
+ <ul>{upcoming.map((_, k) => row(index + 1 + k, false))}</ul>
+ ) : (
+ <p className="px-2 text-sm text-fg-2">Nada na fila. {autoRadio ? "O rádio continua quando acabar." : ""}</p>
+ )}
+ </section>
+
+ <label className="mx-2 flex cursor-pointer items-center justify-between gap-3 rounded-xl bg-surface-1 px-3 py-2.5 ring-1 ring-line">
+ <span>
+ <span className="block text-sm font-medium">Rádio automático</span>
+ <span className="block text-xs text-fg-2">Continua com músicas parecidas quando a fila acabar</span>
+ </span>
+ <input
+ type="checkbox"
+ checked={autoRadio}
+ onChange={(e) => setAutoRadio(e.target.checked)}
+ className="peer sr-only"
+ />
+ <span
+ aria-hidden="true"
+ className={cn(
+ "relative h-6 w-10 shrink-0 rounded-full transition-colors duration-200 peer-focus-visible:outline-2 peer-focus-visible:outline-accent",
+ autoRadio ? "bg-accent" : "bg-surface-4",
+ )}
+ >
+ <span
+ className={cn(
+ "absolute top-1 left-1 size-4 rounded-full transition-transform duration-200 ease-out-expo",
+ autoRadio ? "translate-x-4 bg-accent-ink" : "bg-fg-2",
+ )}
+ />
+ </span>
+ </label>
+ </div>
+ );
+}
diff --git a/web/src/components/Rail.tsx b/web/src/components/Rail.tsx
new file mode 100644
index 0000000..aceed3d
--- /dev/null
+++ b/web/src/components/Rail.tsx
@@ -0,0 +1,183 @@
+import {
+ BooksIcon,
+ ClockCounterClockwiseIcon,
+ GearSixIcon,
+ HeartIcon,
+ HouseIcon,
+ MagnifyingGlassIcon,
+ PlusIcon,
+} from "@phosphor-icons/react";
+import { useState, type ReactNode } from "react";
+import { NavLink, useNavigate } from "react-router";
+import { cn, plural } from "../lib/format";
+import { useLibrary } from "../stores/library";
+import { needsAttention, useSystem } from "../stores/system";
+import { useUi } from "../stores/ui";
+import { Artwork } from "./Artwork";
+import { Logo, LogoMark } from "./Brand";
+import { NamePlaylistDialog } from "./Dialogs";
+
+const nav = [
+ { to: "/", label: "Início", Icon: HouseIcon, end: true },
+ { to: "/buscar", label: "Buscar", Icon: MagnifyingGlassIcon, end: false },
+ { to: "/biblioteca", label: "Biblioteca", Icon: BooksIcon, end: false },
+];
+
+/** Settings entry. Shows a dot (and on the wide rail, an "Atualizar" pill) when yt-dlp needs attention. */
+function SettingsButton() {
+ const info = useSystem((s) => s.info);
+ const setOpen = useUi((s) => s.setSettingsOpen);
+ const attention = needsAttention(info);
+ const updatable = !!info?.ytdlp.updateAvailable || !info?.ytdlp.path;
+ return (
+ <button
+ type="button"
+ onClick={() => setOpen(true)}
+ aria-label={attention ? "Ajustes (atenção necessária)" : "Ajustes"}
+ title="Ajustes"
+ className="relative flex h-10 w-full items-center justify-center gap-2 rounded-full px-3 text-sm text-fg-2 transition-colors hover:bg-surface-3 hover:text-fg xl:justify-start"
+ >
+ <GearSixIcon size={19} />
+ <span className="hidden flex-1 text-left xl:inline">Ajustes</span>
+ {attention && (
+ <>
+ <span className="absolute top-2 right-[calc(50%-14px)] size-2 rounded-full bg-accent ring-2 ring-surface-2 xl:hidden" />
+ <span className="hidden rounded-full bg-accent-soft px-2 py-0.5 text-[11px] font-semibold text-accent-text xl:inline">
+ {updatable ? "Atualizar" : "Verificar"}
+ </span>
+ </>
+ )}
+ </button>
+ );
+}
+
+/** Shared tile: square icon/art with an active Volt ring. Labels appear on the expanded rail (≥1280px). */
+function RailLink({ to, label, sub, end, children }: { to: string; label: string; sub?: string; end?: boolean; children: ReactNode }) {
+ return (
+ <NavLink
+ to={to}
+ end={end}
+ title={label}
+ className={({ isActive }) =>
+ cn(
+ "group flex items-center justify-center gap-3 rounded-[14px] p-1.5 transition-colors duration-200 xl:justify-start",
+ "hover:bg-surface-3 xl:pr-3",
+ isActive && "xl:bg-surface-3",
+ )
+ }
+ >
+ {({ isActive }) => (
+ <>
+ <span
+ className={cn(
+ "relative grid size-11 shrink-0 place-items-center overflow-hidden rounded-[12px] transition-[box-shadow,transform] duration-200 ease-out-expo group-active:scale-95",
+ isActive ? "ring-2 ring-accent ring-offset-2 ring-offset-surface-2" : "",
+ )}
+ >
+ {children}
+ </span>
+ <span className="hidden min-w-0 xl:block">
+ <span className={cn("block truncate text-sm font-medium", isActive ? "text-fg" : "text-fg-2 group-hover:text-fg")}>
+ {label}
+ </span>
+ {sub && <span className="block truncate text-xs text-fg-3">{sub}</span>}
+ </span>
+ </>
+ )}
+ </NavLink>
+ );
+}
+
+export function Rail() {
+ const playlists = useLibrary((s) => s.playlists);
+ const favorites = useLibrary((s) => s.favorites);
+ const createPlaylist = useLibrary((s) => s.createPlaylist);
+ const navigate = useNavigate();
+ const [creating, setCreating] = useState(false);
+
+ return (
+ <aside className="island hidden w-[78px] shrink-0 md:flex xl:w-[256px]">
+ <div className="island-core flex w-full flex-col overflow-hidden">
+ <div className="flex h-16 items-center justify-center xl:justify-start xl:px-4">
+ <LogoMark className="size-8 text-accent-text xl:hidden" />
+ <span className="hidden xl:block">
+ <Logo />
+ </span>
+ </div>
+
+ <nav aria-label="Navegação principal" className="flex flex-col gap-1 px-2">
+ {nav.map(({ to, label, Icon, end }) => (
+ <NavLink
+ key={to}
+ to={to}
+ end={end}
+ title={label}
+ className={({ isActive }) =>
+ cn(
+ "flex h-11 items-center justify-center gap-3 rounded-full transition-colors duration-200 xl:justify-start xl:px-4",
+ isActive ? "bg-surface-4 text-fg" : "text-fg-2 hover:bg-surface-3 hover:text-fg",
+ )
+ }
+ >
+ {({ isActive }) => (
+ <>
+ <Icon size={22} weight={isActive ? "fill" : "regular"} />
+ <span className="hidden text-sm font-medium xl:inline">{label}</span>
+ </>
+ )}
+ </NavLink>
+ ))}
+ </nav>
+
+ <div className="mx-4 my-3 h-px bg-line" />
+
+ <div className="flex items-center justify-between px-4 pb-1">
+ <span className="hidden text-xs font-medium text-fg-3 xl:block">Sua coleção</span>
+ <button
+ type="button"
+ onClick={() => setCreating(true)}
+ aria-label="Nova playlist"
+ title="Nova playlist"
+ className="mx-auto grid size-8 place-items-center rounded-full text-fg-2 transition-colors hover:bg-surface-3 hover:text-fg xl:mx-0"
+ >
+ <PlusIcon size={18} />
+ </button>
+ </div>
+
+ <div className="scroll-area flex flex-1 flex-col gap-0.5 overflow-y-auto px-2 pb-2">
+ <RailLink to="/favoritas" label="Favoritas" sub={plural(favorites.length, "faixa", "faixas")}>
+ <span className="grid size-full place-items-center bg-accent-soft text-accent-text">
+ <HeartIcon size={20} weight="fill" />
+ </span>
+ </RailLink>
+ <RailLink to="/historico" label="Tocadas recentemente" sub="Histórico">
+ <span className="grid size-full place-items-center bg-surface-3 text-fg-2">
+ <ClockCounterClockwiseIcon size={20} />
+ </span>
+ </RailLink>
+ {playlists.map((p) => (
+ <RailLink key={p.id} to={`/playlist/${p.id}`} label={p.name} sub={plural(p.tracks.length, "faixa", "faixas")}>
+ <Artwork src={p.tracks[0]?.thumb} className="size-full" iconSize={18} />
+ </RailLink>
+ ))}
+ </div>
+
+ <div className="flex border-t border-line p-2">
+ <SettingsButton />
+ </div>
+ </div>
+
+ <NamePlaylistDialog
+ open={creating}
+ title="Nova playlist"
+ action="Criar"
+ onClose={() => setCreating(false)}
+ onSubmit={async (name) => {
+ const p = await createPlaylist(name);
+ setCreating(false);
+ if (p) navigate(`/playlist/${p.id}`);
+ }}
+ />
+ </aside>
+ );
+}
diff --git a/web/src/components/SettingsDialog.tsx b/web/src/components/SettingsDialog.tsx
new file mode 100644
index 0000000..38d80a8
--- /dev/null
+++ b/web/src/components/SettingsDialog.tsx
@@ -0,0 +1,225 @@
+import {
+ ArrowsClockwiseIcon,
+ CheckCircleIcon,
+ DownloadSimpleIcon,
+ MoonIcon,
+ SunIcon,
+ WarningCircleIcon,
+} from "@phosphor-icons/react";
+import { useEffect, useRef, useState, type ReactNode } from "react";
+import type { Channel } from "../lib/api";
+import { cn } from "../lib/format";
+import { useSystem } from "../stores/system";
+import { useUi } from "../stores/ui";
+import { BackupSection } from "./BackupSection";
+import { Modal } from "./Modal";
+
+function Segmented<T extends string>({
+ label,
+ value,
+ options,
+ onChange,
+}: {
+ label: string;
+ value: T;
+ options: [T, ReactNode][];
+ onChange: (v: T) => void;
+}) {
+ return (
+ <div role="radiogroup" aria-label={label} className="flex rounded-full bg-surface-1 p-1 ring-1 ring-line">
+ {options.map(([v, content]) => (
+ <button
+ key={v}
+ type="button"
+ role="radio"
+ aria-checked={value === v}
+ onClick={() => onChange(v)}
+ className={cn(
+ "flex h-9 flex-1 items-center justify-center gap-1.5 rounded-full px-3 text-[13px] font-medium transition-colors duration-200",
+ value === v ? "bg-surface-4 text-fg shadow-[inset_0_1px_0_var(--highlight)]" : "text-fg-2 hover:text-fg",
+ )}
+ >
+ {content}
+ </button>
+ ))}
+ </div>
+ );
+}
+
+function Dependency({ name, role, path, fix }: { name: string; role: string; path: string | null; fix: string }) {
+ return (
+ <li className="flex items-center gap-3 py-2.5" title={path ?? undefined}>
+ {path ? (
+ <CheckCircleIcon size={20} weight="fill" className="shrink-0 text-accent-text" />
+ ) : (
+ <WarningCircleIcon size={20} weight="fill" className="shrink-0 text-danger" />
+ )}
+ <span className="min-w-0 flex-1">
+ <span className="block text-sm font-medium">{name}</span>
+ <span className="block text-xs text-fg-2">
+ {path ? (
+ role
+ ) : (
+ <>
+ Não encontrado. No terminal: <code className="font-mono text-fg">{fix}</code> e reinicie o Musike.
+ </>
+ )}
+ </span>
+ </span>
+ </li>
+ );
+}
+
+export function SettingsDialog() {
+ const open = useUi((s) => s.settingsOpen);
+ const setOpen = useUi((s) => s.setSettingsOpen);
+ const theme = useUi((s) => s.theme);
+ const setTheme = useUi((s) => s.setTheme);
+ const { info, status, load, update } = useSystem();
+ const [channel, setChannel] = useState<Channel>("stable");
+ const logBox = useRef<HTMLPreElement>(null);
+
+ useEffect(() => {
+ if (open) void load();
+ }, [open, load]);
+
+ useEffect(() => {
+ if (info) setChannel(info.ytdlp.channel);
+ }, [info?.ytdlp.channel]);
+
+ const job = info?.job;
+ const running = job?.status === "running";
+
+ useEffect(() => {
+ logBox.current?.scrollTo({ top: logBox.current.scrollHeight });
+ }, [job?.log.length]);
+
+ const y = info?.ytdlp;
+ const missing = !!info && !y?.path;
+ const switching = !!y?.version && channel !== y.channel;
+ const target = y?.latest[channel];
+
+ let action: string;
+ if (running) action = job?.kind === "install" ? "Instalando" : "Atualizando";
+ else if (missing) action = "Instalar yt-dlp";
+ else if (switching) action = channel === "nightly" ? "Mudar para Nightly" : "Voltar para Estável";
+ else if (y?.updateAvailable && target) action = `Atualizar para ${target}`;
+ else action = "Verificar e atualizar";
+
+ const chip = !info ? null : missing ? (
+ <span className="rounded-full bg-danger/15 px-2.5 py-1 text-xs font-medium text-danger">Não encontrado</span>
+ ) : y?.updateAvailable ? (
+ <span className="rounded-full bg-accent-soft px-2.5 py-1 text-xs font-medium text-accent-text">Atualização disponível</span>
+ ) : (
+ <span className="rounded-full bg-surface-3 px-2.5 py-1 text-xs font-medium text-fg-2">Atualizado</span>
+ );
+
+ return (
+ <Modal open={open} onClose={() => setOpen(false)} title="Ajustes">
+ {/* Side padding keeps outset rings and the scrollbar from clipping the cards' edges. */}
+ <div className="scroll-area -mx-2 flex max-h-[70dvh] flex-col gap-5 overflow-y-auto px-2 pb-1">
+
+ <section className="flex flex-col gap-2">
+ <h3 className="text-xs font-medium text-fg-3">Aparência</h3>
+ <Segmented
+ label="Tema"
+ value={theme}
+ onChange={setTheme}
+ options={[
+ ["dark", <><MoonIcon size={15} /> Escuro</>],
+ ["light", <><SunIcon size={15} /> Claro</>],
+ ]}
+ />
+ </section>
+
+ <BackupSection />
+
+ <section className="flex flex-col gap-3">
+ <h3 className="text-xs font-medium text-fg-3">Motor do YouTube</h3>
+
+ <div className="flex flex-col gap-4 rounded-[16px] bg-surface-1 p-4 ring-1 ring-line">
+ <div className="flex items-start justify-between gap-3">
+ <div>
+ <p className="font-semibold tracking-tight">yt-dlp</p>
+ <p className="font-mono text-[13px] text-fg-2 tabular-nums">
+ {status === "loading" && !info ? "verificando" : y?.version ?? "sem versão"}
+ {y?.version && <span className="text-fg-3"> · {y.channel === "nightly" ? "nightly" : "estável"}</span>}
+ </p>
+ </div>
+ {chip}
+ </div>
+
+ <p className="text-sm text-fg-2">
+ É quem busca o áudio e o vídeo no YouTube. O YouTube muda com frequência: se as músicas pararem de tocar, atualize aqui.
+ </p>
+
+ {!missing && (
+ <div className="flex flex-col gap-1.5">
+ <Segmented
+ label="Canal de atualização"
+ value={channel}
+ onChange={setChannel}
+ options={[
+ ["stable", "Estável"],
+ ["nightly", "Nightly"],
+ ]}
+ />
+ <p className="px-1 text-xs text-fg-3">
+ {channel === "nightly"
+ ? `Recebe correções no mesmo dia em que o YouTube muda.${y?.latest.nightly ? ` Última: ${y.latest.nightly}` : ""}`
+ : `Versões testadas, lançadas a cada poucas semanas.${y?.latest.stable ? ` Última: ${y.latest.stable}` : ""}`}
+ </p>
+ </div>
+ )}
+
+ <button
+ type="button"
+ disabled={running || !info || (missing && !info.canInstall)}
+ onClick={() => void update(channel)}
+ className="flex h-12 items-center justify-center gap-2 rounded-full bg-accent px-6 font-semibold text-accent-ink transition-transform active:scale-[0.98] disabled:opacity-60"
+ >
+ {running ? (
+ <ArrowsClockwiseIcon size={20} weight="bold" className="animate-spin" />
+ ) : missing ? (
+ <DownloadSimpleIcon size={20} weight="bold" />
+ ) : (
+ <ArrowsClockwiseIcon size={20} weight="bold" />
+ )}
+ {action}
+ </button>
+
+ {missing && info && !info.canInstall && (
+ <p className="text-sm text-danger">
+ O winget não está disponível. Instale o yt-dlp manualmente e reinicie o Musike.
+ </p>
+ )}
+
+ {job && (job.status === "running" || Date.now() - (job.finishedAt ?? 0) < 5 * 60_000) && (
+ <div className="flex flex-col gap-2">
+ {job.status !== "running" && (
+ <p className={cn("text-sm font-medium", job.status === "error" ? "text-danger" : "text-accent-text")}>
+ {job.message}
+ </p>
+ )}
+ <pre
+ ref={logBox}
+ aria-live="polite"
+ className="max-h-36 overflow-y-auto rounded-[10px] bg-bg p-3 font-mono text-[11px] leading-relaxed whitespace-pre-wrap text-fg-2 scroll-area"
+ >
+ {job.log.length ? job.log.join("\n") : "Iniciando"}
+ </pre>
+ </div>
+ )}
+ </div>
+
+ {info && (
+ <ul className="divide-y divide-line px-1">
+ <Dependency name="Deno" role="Resolve os desafios do YouTube" path={info.deno} fix="winget install DenoLand.Deno" />
+ <Dependency name="FFmpeg" role="Junta vídeo e áudio no modo HD" path={info.ffmpeg} fix="winget install yt-dlp.FFmpeg" />
+ </ul>
+ )}
+ </section>
+ </div>
+ </Modal>
+ );
+}
diff --git a/web/src/components/Slider.tsx b/web/src/components/Slider.tsx
new file mode 100644
index 0000000..c089b65
--- /dev/null
+++ b/web/src/components/Slider.tsx
@@ -0,0 +1,121 @@
+import { useRef, useState, type KeyboardEvent, type PointerEvent } from "react";
+import { cn } from "../lib/format";
+
+interface Props {
+ value: number;
+ max: number;
+ label: string;
+ /** Called continuously while dragging when `live`, otherwise once on release. */
+ onChange: (v: number) => void;
+ live?: boolean;
+ buffered?: number;
+ step?: number;
+ valueText?: (v: number) => string;
+ /** Show the thumb at rest (touch layouts), not only on hover. */
+ showThumb?: boolean;
+ onScrub?: (v: number | null) => void;
+ className?: string;
+}
+
+export function Slider({
+ value,
+ max,
+ label,
+ onChange,
+ live,
+ buffered,
+ step,
+ valueText,
+ showThumb,
+ onScrub,
+ className,
+}: Props) {
+ const track = useRef<HTMLDivElement>(null);
+ const [drag, setDrag] = useState<number | null>(null);
+ const shown = drag ?? value;
+ const pct = max > 0 ? Math.min(100, Math.max(0, (shown / max) * 100)) : 0;
+ const bufPct = max > 0 && buffered ? Math.min(100, (buffered / max) * 100) : 0;
+
+ const valueAt = (clientX: number) => {
+ const r = track.current!.getBoundingClientRect();
+ return Math.min(1, Math.max(0, (clientX - r.left) / r.width)) * max;
+ };
+
+ const update = (v: number | null) => {
+ setDrag(v);
+ onScrub?.(v);
+ };
+
+ const onPointerDown = (e: PointerEvent<HTMLDivElement>) => {
+ if (max <= 0) return;
+ e.stopPropagation();
+ e.currentTarget.setPointerCapture(e.pointerId);
+ const v = valueAt(e.clientX);
+ update(v);
+ if (live) onChange(v);
+ };
+ const onPointerMove = (e: PointerEvent<HTMLDivElement>) => {
+ if (drag === null) return;
+ const v = valueAt(e.clientX);
+ update(v);
+ if (live) onChange(v);
+ };
+ const onPointerUp = (e: PointerEvent<HTMLDivElement>) => {
+ if (drag === null) return;
+ onChange(valueAt(e.clientX));
+ update(null);
+ };
+
+ const onKeyDown = (e: KeyboardEvent<HTMLDivElement>) => {
+ const s = step ?? max / 20;
+ const map: Record<string, number> = {
+ ArrowRight: value + s,
+ ArrowUp: value + s,
+ ArrowLeft: value - s,
+ ArrowDown: value - s,
+ Home: 0,
+ End: max,
+ };
+ if (e.key in map) {
+ e.preventDefault();
+ e.stopPropagation();
+ onChange(Math.min(max, Math.max(0, map[e.key])));
+ }
+ };
+
+ return (
+ <div
+ role="slider"
+ tabIndex={0}
+ aria-label={label}
+ aria-valuemin={0}
+ aria-valuemax={Math.round(max)}
+ aria-valuenow={Math.round(shown)}
+ aria-valuetext={valueText?.(shown)}
+ onPointerDown={onPointerDown}
+ onPointerMove={onPointerMove}
+ onPointerUp={onPointerUp}
+ onPointerCancel={() => update(null)}
+ onKeyDown={onKeyDown}
+ className={cn("group relative flex h-5 cursor-pointer touch-none items-center select-none", className)}
+ >
+ <div ref={track} className="relative h-1 w-full overflow-hidden rounded-full bg-surface-4 transition-[height] duration-200 group-hover:h-1.5">
+ <div className="absolute inset-y-0 left-0 bg-fg-3/40" style={{ width: `${bufPct}%` }} />
+ <div
+ className={cn(
+ "absolute inset-y-0 left-0 rounded-full transition-colors",
+ drag !== null ? "bg-accent" : "bg-fg group-hover:bg-accent",
+ )}
+ style={{ width: `${pct}%` }}
+ />
+ </div>
+ <div
+ className={cn(
+ "pointer-events-none absolute top-1/2 size-3 -translate-x-1/2 -translate-y-1/2 rounded-full bg-fg shadow-[0_1px_4px_rgb(0_0_0/0.4)] transition-opacity",
+ showThumb || drag !== null ? "opacity-100" : "opacity-0 group-hover:opacity-100 group-focus-visible:opacity-100",
+ )}
+ style={{ left: `${pct}%` }}
+ />
+ </div>
+ );
+}
diff --git a/web/src/components/TitleBar.tsx b/web/src/components/TitleBar.tsx
new file mode 100644
index 0000000..943de85
--- /dev/null
+++ b/web/src/components/TitleBar.tsx
@@ -0,0 +1,33 @@
+import { selectCurrent, usePlayer } from "../player/player";
+import { Equalizer, LogoMark } from "./Brand";
+
+/**
+ * Title bar for the desktop app. The window is frameless; Windows draws its native buttons over the
+ * right end (the "titlebar area" env variables tell us how much room they take).
+ */
+export function TitleBar() {
+ const track = usePlayer(selectCurrent);
+ const live = usePlayer((s) => s.status === "playing");
+
+ return (
+ <div
+ className="app-drag flex shrink-0 items-center gap-2.5 pl-3.5 select-none"
+ style={{
+ height: "env(titlebar-area-height, 40px)",
+ paddingRight: "calc(100vw - env(titlebar-area-x, 0px) - env(titlebar-area-width, 100vw) + 12px)",
+ }}
+ >
+ <LogoMark className="size-[18px] shrink-0 text-accent-text" />
+ <span className="shrink-0 text-[13px] font-semibold tracking-tight">musike</span>
+ {track && (
+ <span className="flex min-w-0 items-center gap-2 pl-2 text-xs text-fg-3">
+ <Equalizer live={live} className="h-3 shrink-0" />
+ <span className="truncate">
+ {track.title}
+ {track.artist && <span className="text-fg-3/70"> - {track.artist}</span>}
+ </span>
+ </span>
+ )}
+ </div>
+ );
+}
diff --git a/web/src/components/Toasts.tsx b/web/src/components/Toasts.tsx
new file mode 100644
index 0000000..8a1ef5c
--- /dev/null
+++ b/web/src/components/Toasts.tsx
@@ -0,0 +1,52 @@
+import { CheckCircleIcon, WarningCircleIcon } from "@phosphor-icons/react";
+import { AnimatePresence, motion } from "motion/react";
+import { useUi } from "../stores/ui";
+
+export function Toasts() {
+ const toasts = useUi((s) => s.toasts);
+ const dismiss = useUi((s) => s.dismissToast);
+
+ return (
+ <div
+ aria-live="polite"
+ className="pointer-events-none fixed inset-x-0 bottom-[calc(140px+env(safe-area-inset-bottom))] z-[60] flex flex-col items-center gap-2 px-4 md:bottom-28"
+ >
+ <AnimatePresence initial={false}>
+ {toasts.map((t) => (
+ <motion.div
+ key={t.id}
+ layout
+ initial={{ opacity: 0, y: 12, scale: 0.96 }}
+ animate={{ opacity: 1, y: 0, scale: 1 }}
+ exit={{ opacity: 0, scale: 0.96 }}
+ transition={{ type: "spring", stiffness: 500, damping: 40 }}
+ className="pointer-events-auto flex max-w-md items-center gap-2.5 rounded-full border border-line-strong bg-surface-3 py-1.5 pr-1.5 pl-3 text-sm shadow-[0_8px_30px_rgb(0_0_0/0.35)]"
+ >
+ <button type="button" onClick={() => dismiss(t.id)} className="flex min-w-0 items-center gap-2.5 py-1 text-left" aria-label={`${t.message}. Fechar aviso`}>
+ {t.tone === "error" ? (
+ <WarningCircleIcon size={18} weight="fill" className="shrink-0 text-danger" />
+ ) : (
+ <CheckCircleIcon size={18} weight="fill" className="shrink-0 text-accent-text" />
+ )}
+ <span className="line-clamp-2">{t.message}</span>
+ </button>
+ {t.action ? (
+ <button
+ type="button"
+ onClick={() => {
+ t.action!.run();
+ dismiss(t.id);
+ }}
+ className="h-8 shrink-0 rounded-full bg-accent px-3.5 text-[13px] font-semibold text-accent-ink transition-transform active:scale-95"
+ >
+ {t.action.label}
+ </button>
+ ) : (
+ <span className="w-1.5" />
+ )}
+ </motion.div>
+ ))}
+ </AnimatePresence>
+ </div>
+ );
+}
diff --git a/web/src/components/TrackList.tsx b/web/src/components/TrackList.tsx
new file mode 100644
index 0000000..0b0789f
--- /dev/null
+++ b/web/src/components/TrackList.tsx
@@ -0,0 +1,170 @@
+import { ClockIcon, DotsThreeIcon, HeartIcon, VideoCameraIcon } from "@phosphor-icons/react";
+import { memo, type MouseEvent } from "react";
+import { cn, formatTime } from "../lib/format";
+import type { Track } from "../lib/types";
+import { selectCurrent, usePlayer } from "../player/player";
+import { useLibrary } from "../stores/library";
+import { useUi } from "../stores/ui";
+import { Artwork } from "./Artwork";
+import { Equalizer } from "./Brand";
+
+interface RowProps {
+ track: Track;
+ position: number;
+ onPlay: () => void;
+ playlistId?: string;
+ showAlbum: boolean;
+}
+
+const TrackRow = memo(function TrackRow({ track, position, onPlay, playlistId, showAlbum }: RowProps) {
+ const isCurrent = usePlayer((s) => selectCurrent(s)?.id === track.id);
+ const isPlaying = usePlayer((s) => s.status === "playing" || s.status === "loading");
+ const isFavorite = useLibrary((s) => s.favorites.some((t) => t.id === track.id));
+ const toggleFavorite = useLibrary((s) => s.toggleFavorite);
+ const openMenu = useUi((s) => s.openMenu);
+
+ const menuAt = (e: MouseEvent) => {
+ e.preventDefault();
+ e.stopPropagation();
+ const r = (e.currentTarget as HTMLElement).getBoundingClientRect();
+ const fromButton = e.type === "click";
+ openMenu({ track, playlistId, x: fromButton ? r.right - 256 : e.clientX, y: fromButton ? r.bottom + 6 : e.clientY });
+ };
+
+ return (
+ <li
+ onContextMenu={menuAt}
+ className={cn(
+ "group relative grid items-center gap-3 rounded-xl px-2 py-1.5 transition-colors duration-150 hover:bg-surface-2 md:px-3",
+ showAlbum
+ ? "grid-cols-[auto_1fr_auto] md:grid-cols-[28px_auto_1fr_auto_auto] lg:grid-cols-[28px_auto_minmax(0,1.4fr)_minmax(0,1fr)_auto_auto]"
+ : "grid-cols-[auto_1fr_auto] md:grid-cols-[28px_auto_1fr_auto_auto]",
+ )}
+ >
+ <button
+ type="button"
+ onClick={onPlay}
+ aria-label={`Tocar ${track.title}`}
+ className="absolute inset-0 rounded-xl focus-visible:outline-offset-[-2px]"
+ />
+
+ <span className="pointer-events-none hidden justify-center font-mono text-[13px] text-fg-3 tabular-nums md:flex">
+ {isCurrent ? <Equalizer live={isPlaying} /> : position + 1}
+ </span>
+
+ <div className="pointer-events-none relative">
+ <Artwork src={track.thumb} className="size-11 rounded-[10px]" />
+ {isCurrent && (
+ <span className="absolute inset-0 grid place-items-center rounded-[10px] bg-black/45 md:hidden">
+ <Equalizer live={isPlaying} />
+ </span>
+ )}
+ </div>
+
+ <div className="pointer-events-none min-w-0">
+ <p className={cn("truncate text-[15px] leading-tight font-medium", isCurrent ? "text-accent-text" : "text-fg")}>
+ {track.title}
+ </p>
+ <p className="mt-0.5 flex items-center gap-1.5 truncate text-[13px] text-fg-2">
+ {track.kind === "video" && <VideoCameraIcon size={13} className="shrink-0 text-fg-3" aria-label="Vídeo" />}
+ <span className="truncate">{track.artist || "YouTube"}</span>
+ </p>
+ </div>
+
+ {showAlbum && <p className="pointer-events-none hidden truncate text-sm text-fg-2 lg:block">{track.album ?? ""}</p>}
+
+ <div className="relative z-10 hidden items-center gap-1 md:flex">
+ <button
+ type="button"
+ onClick={() => void toggleFavorite(track)}
+ aria-label={isFavorite ? "Remover das Favoritas" : "Adicionar às Favoritas"}
+ title={isFavorite ? "Remover das Favoritas" : "Adicionar às Favoritas"}
+ className={cn(
+ "grid size-8 place-items-center rounded-full transition-[opacity,transform] active:scale-90",
+ isFavorite ? "text-accent-text" : "text-fg-2 opacity-0 group-hover:opacity-100 focus-visible:opacity-100 hover:text-fg",
+ )}
+ >
+ <HeartIcon size={17} weight={isFavorite ? "fill" : "regular"} />
+ </button>
+ <span className="pointer-events-none w-11 text-right font-mono text-[13px] text-fg-3 tabular-nums">
+ {track.duration ? formatTime(track.duration) : ""}
+ </span>
+ </div>
+
+ <button
+ type="button"
+ onClick={menuAt}
+ aria-label={`Mais opções para ${track.title}`}
+ title="Mais opções"
+ className="relative z-10 grid size-9 place-items-center rounded-full text-fg-2 transition-[opacity,background-color] hover:bg-surface-3 hover:text-fg md:opacity-0 md:group-hover:opacity-100 md:focus-visible:opacity-100"
+ >
+ <DotsThreeIcon size={22} weight="bold" />
+ </button>
+ </li>
+ );
+});
+
+interface ListProps {
+ tracks: Track[];
+ /** Full list to queue when a row is played, if `tracks` is only a preview of it. */
+ context?: Track[];
+ playlistId?: string;
+ showAlbum?: boolean;
+ header?: boolean;
+}
+
+export function TrackList({ tracks, context, playlistId, showAlbum = true, header = true }: ListProps) {
+ const playList = usePlayer((s) => s.playList);
+ return (
+ <div>
+ {header && (
+ <div
+ className={cn(
+ "mb-1 hidden items-center gap-3 border-b border-line px-3 pb-2 text-xs font-medium tracking-wide text-fg-3 md:grid",
+ showAlbum
+ ? "md:grid-cols-[28px_44px_1fr_auto_auto] lg:grid-cols-[28px_44px_minmax(0,1.4fr)_minmax(0,1fr)_auto_auto]"
+ : "md:grid-cols-[28px_44px_1fr_auto_auto]",
+ )}
+ >
+ <span className="text-center font-mono">#</span>
+ <span />
+ <span>Título</span>
+ {showAlbum && <span className="hidden lg:block">Álbum</span>}
+ <span className="flex w-[84px] justify-end pr-0.5">
+ <ClockIcon size={15} aria-label="Duração" />
+ </span>
+ <span className="w-9" />
+ </div>
+ )}
+ <ul className="flex flex-col">
+ {tracks.map((t, i) => (
+ <TrackRow
+ key={`${t.id}-${i}`}
+ track={t}
+ position={i}
+ playlistId={playlistId}
+ showAlbum={showAlbum}
+ onPlay={() => playList(context ?? tracks, i)}
+ />
+ ))}
+ </ul>
+ </div>
+ );
+}
+
+export function TrackListSkeleton({ rows = 8 }: { rows?: number }) {
+ return (
+ <ul aria-label="Carregando" className="flex flex-col gap-1">
+ {Array.from({ length: rows }, (_, i) => (
+ <li key={i} className="flex items-center gap-3 px-2 py-1.5 md:px-3">
+ <span className="hidden w-7 md:block" />
+ <span className="skeleton size-11 rounded-[10px]" />
+ <span className="flex flex-1 flex-col gap-2">
+ <span className="skeleton h-3.5 rounded-full" style={{ width: `${46 + ((i * 17) % 38)}%` }} />
+ <span className="skeleton h-3 rounded-full" style={{ width: `${22 + ((i * 11) % 20)}%` }} />
+ </span>
+ </li>
+ ))}
+ </ul>
+ );
+}
diff --git a/web/src/components/TrackMenu.tsx b/web/src/components/TrackMenu.tsx
new file mode 100644
index 0000000..b63b530
--- /dev/null
+++ b/web/src/components/TrackMenu.tsx
@@ -0,0 +1,166 @@
+import {
+ ArrowSquareOutIcon,
+ HeartIcon,
+ ListPlusIcon,
+ PlayIcon,
+ PlaylistIcon,
+ QueueIcon,
+ RadioIcon,
+ TrashIcon,
+} from "@phosphor-icons/react";
+import { AnimatePresence, motion } from "motion/react";
+import { useEffect, useLayoutEffect, useRef, useState, type ReactNode } from "react";
+import { createPortal } from "react-dom";
+import { MD, useMediaQuery } from "../hooks/useMediaQuery";
+import { cn } from "../lib/format";
+import { usePlayer } from "../player/player";
+import { useLibrary } from "../stores/library";
+import { useUi } from "../stores/ui";
+import { Artwork } from "./Artwork";
+
+function Item({ icon, children, onClick, danger }: { icon: ReactNode; children: ReactNode; onClick: () => void; danger?: boolean }) {
+ return (
+ <button
+ type="button"
+ role="menuitem"
+ onClick={onClick}
+ className={cn(
+ "flex w-full items-center gap-3 rounded-xl px-3 py-3 text-left text-[15px] transition-colors md:py-2 md:text-sm",
+ "hover:bg-surface-3 focus-visible:bg-surface-3",
+ danger ? "text-danger" : "text-fg",
+ )}
+ >
+ <span className={cn("shrink-0", danger ? "text-danger" : "text-fg-2")}>{icon}</span>
+ {children}
+ </button>
+ );
+}
+
+export function TrackMenu() {
+ const menu = useUi((s) => s.menu);
+ const close = useUi((s) => s.closeMenu);
+ const openAddToPlaylist = useUi((s) => s.openAddToPlaylist);
+ const isFavorite = useLibrary((s) => (menu ? s.favorites.some((t) => t.id === menu.track.id) : false));
+ const isMd = useMediaQuery(MD);
+ const box = useRef<HTMLDivElement>(null);
+ const [pos, setPos] = useState({ left: 0, top: 0 });
+
+ useLayoutEffect(() => {
+ if (!menu || !isMd || !box.current) return;
+ const { width, height } = box.current.getBoundingClientRect();
+ setPos({
+ left: Math.min(menu.x, window.innerWidth - width - 12),
+ top: menu.y + height > window.innerHeight - 12 ? Math.max(12, menu.y - height) : menu.y,
+ });
+ }, [menu, isMd]);
+
+ useEffect(() => {
+ if (!menu) return;
+ const onKey = (e: KeyboardEvent) => e.key === "Escape" && close();
+ window.addEventListener("keydown", onKey);
+ window.addEventListener("resize", close);
+ return () => {
+ window.removeEventListener("keydown", onKey);
+ window.removeEventListener("resize", close);
+ };
+ }, [menu, close]);
+
+ const run = (fn: () => void) => () => {
+ fn();
+ close();
+ };
+
+ const content = menu && (
+ <div role="menu" aria-label={`Ações para ${menu.track.title}`} className="flex flex-col">
+ <Item icon={<PlayIcon size={18} />} onClick={run(() => usePlayer.getState().playTrack(menu.track))}>
+ Tocar agora
+ </Item>
+ <Item icon={<QueueIcon size={18} />} onClick={run(() => usePlayer.getState().playNext(menu.track))}>
+ Tocar a seguir
+ </Item>
+ <Item icon={<ListPlusIcon size={18} />} onClick={run(() => usePlayer.getState().addToQueue(menu.track))}>
+ Adicionar à fila
+ </Item>
+ <Item icon={<RadioIcon size={18} />} onClick={run(() => void usePlayer.getState().startRadio(menu.track))}>
+ Iniciar rádio
+ </Item>
+ <div className="mx-3 my-1 h-px bg-line" />
+ <Item
+ icon={<HeartIcon size={18} weight={isFavorite ? "fill" : "regular"} className={isFavorite ? "text-accent-text" : ""} />}
+ onClick={run(() => void useLibrary.getState().toggleFavorite(menu.track))}
+ >
+ {isFavorite ? "Remover das Favoritas" : "Adicionar às Favoritas"}
+ </Item>
+ <Item icon={<PlaylistIcon size={18} />} onClick={() => openAddToPlaylist(menu.track)}>
+ Adicionar à playlist
+ </Item>
+ {menu.playlistId && (
+ <Item
+ danger
+ icon={<TrashIcon size={18} />}
+ onClick={run(() => void useLibrary.getState().removeFromPlaylist(menu.playlistId!, menu.track.id))}
+ >
+ Remover desta playlist
+ </Item>
+ )}
+ <div className="mx-3 my-1 h-px bg-line" />
+ <Item
+ icon={<ArrowSquareOutIcon size={18} />}
+ onClick={run(() => window.open(`https://www.youtube.com/watch?v=${menu.track.id}`, "_blank", "noopener"))}
+ >
+ Abrir no YouTube
+ </Item>
+ </div>
+ );
+
+ return createPortal(
+ <AnimatePresence>
+ {menu && (
+ <div className="fixed inset-0 z-50" onContextMenu={(e) => e.preventDefault()}>
+ <motion.div
+ className={cn("absolute inset-0", isMd ? "bg-transparent" : "bg-scrim")}
+ initial={{ opacity: 0 }}
+ animate={{ opacity: 1 }}
+ exit={{ opacity: 0 }}
+ onClick={close}
+ />
+ {isMd ? (
+ <motion.div
+ ref={box}
+ initial={{ opacity: 0, scale: 0.97 }}
+ animate={{ opacity: 1, scale: 1 }}
+ exit={{ opacity: 0, scale: 0.97 }}
+ transition={{ duration: 0.16, ease: [0.16, 1, 0.3, 1] }}
+ style={pos}
+ className="absolute w-64 origin-top-left rounded-2xl border border-line-strong bg-surface-2 p-1.5 shadow-[0_16px_48px_rgb(0_0_0/0.45)]"
+ >
+ {content}
+ </motion.div>
+ ) : (
+ <motion.div
+ initial={{ y: "100%" }}
+ animate={{ y: 0 }}
+ exit={{ y: "100%" }}
+ transition={{ type: "spring", stiffness: 420, damping: 40 }}
+ className="island safe-bottom absolute inset-x-0 bottom-0 rounded-b-none"
+ >
+ <div className="island-core p-2">
+ <div className="mx-auto mt-1 mb-2 h-1 w-9 rounded-full bg-surface-4" />
+ <div className="flex items-center gap-3 px-3 pb-3">
+ <Artwork src={menu.track.thumb} className="size-12 rounded-[10px]" />
+ <div className="min-w-0">
+ <p className="truncate font-medium">{menu.track.title}</p>
+ <p className="truncate text-sm text-fg-2">{menu.track.artist}</p>
+ </div>
+ </div>
+ <div className="mx-3 mb-1 h-px bg-line" />
+ {content}
+ </div>
+ </motion.div>
+ )}
+ </div>
+ )}
+ </AnimatePresence>,
+ document.body,
+ );
+}
diff --git a/web/src/components/Video.tsx b/web/src/components/Video.tsx
new file mode 100644
index 0000000..b7582d6
--- /dev/null
+++ b/web/src/components/Video.tsx
@@ -0,0 +1,271 @@
+import { ArrowsInIcon, ArrowsOutIcon, ArrowsOutSimpleIcon, CornersInIcon, CornersOutIcon, XIcon } from "@phosphor-icons/react";
+import { AnimatePresence, motion, useReducedMotion } from "motion/react";
+import { useCallback, useEffect, useLayoutEffect, useRef, useState, type CSSProperties } from "react";
+import { createPortal } from "react-dom";
+import { create } from "zustand";
+import { MD, useMediaQuery } from "../hooks/useMediaQuery";
+import { cn } from "../lib/format";
+import { selectCurrent, usePlayer, videoEl } from "../player/player";
+import { useUi } from "../stores/ui";
+import { FavoriteButton, Scrubber, Transport, Volume } from "./Controls";
+import { IconButton } from "./IconButton";
+
+/**
+ * One <video> element serves every place video can appear. It is re-parented into the highest-priority
+ * mounted slot; moving a media element within the document does not interrupt playback.
+ */
+export const SLOT = { theater: 50, sheet: 30, panel: 20, floating: 5 } as const;
+
+const slots = new Map<number, { el: HTMLElement; priority: number }>();
+let seq = 0;
+
+// Off-screen holder keeps the element rendered (not display:none) so browsers keep it playing.
+const holder = document.createElement("div");
+holder.setAttribute("aria-hidden", "true");
+holder.style.cssText = "position:fixed;left:0;bottom:0;width:2px;height:2px;opacity:0;pointer-events:none;overflow:hidden";
+document.body.appendChild(holder);
+holder.appendChild(videoEl);
+
+const useSlots = create<{ top: number }>(() => ({ top: 0 }));
+
+function place() {
+ const best = [...slots.values()].sort((a, b) => b.priority - a.priority)[0];
+ const target = best?.el ?? holder;
+ if (videoEl.parentElement !== target) target.appendChild(videoEl);
+ useSlots.setState({ top: best?.priority ?? 0 });
+}
+
+const openTheater = () => useUi.getState().setTheater(true);
+
+export function VideoSlot({
+ priority,
+ className,
+ style,
+ expandable,
+}: {
+ priority: number;
+ className?: string;
+ style?: CSSProperties;
+ /** Offer a "maximize" button (and double-click) that opens the cinema view. */
+ expandable?: boolean;
+}) {
+ const ref = useRef<HTMLDivElement>(null);
+ useLayoutEffect(() => {
+ const id = ++seq;
+ slots.set(id, { el: ref.current!, priority });
+ place();
+ return () => {
+ slots.delete(id);
+ place();
+ };
+ }, [priority]);
+
+ return (
+ <div
+ style={style}
+ onDoubleClick={expandable ? openTheater : undefined}
+ className={cn("group/video relative overflow-hidden bg-black", className)}
+ >
+ <div ref={ref} className="absolute inset-0" />
+ {expandable && (
+ <button
+ type="button"
+ onClick={openTheater}
+ aria-label="Maximizar vídeo"
+ title="Maximizar (F)"
+ className="absolute top-2 right-2 grid size-9 place-items-center rounded-full bg-black/55 text-white backdrop-blur-sm transition-[opacity,transform] duration-200 active:scale-90 md:opacity-0 md:group-hover/video:opacity-100 md:focus-visible:opacity-100"
+ >
+ <ArrowsOutIcon size={18} />
+ </button>
+ )}
+ </div>
+ );
+}
+
+/** Small floating player shown when video is playing but no larger video surface is on screen. */
+export function FloatingVideo() {
+ const isVideo = usePlayer((s) => s.mediaKind === "video" && s.queue.length > 0);
+ const top = useSlots((s) => s.top);
+ const isMd = useMediaQuery(MD);
+ const show = isVideo && top < SLOT.panel;
+
+ return (
+ <AnimatePresence>
+ {show && (
+ <motion.div
+ initial={{ opacity: 0, y: 16, scale: 0.96 }}
+ animate={{ opacity: 1, y: 0, scale: 1 }}
+ exit={{ opacity: 0, y: 16, scale: 0.96 }}
+ transition={{ type: "spring", stiffness: 420, damping: 36 }}
+ className={cn(
+ "group fixed z-30 overflow-hidden rounded-2xl border border-line-strong bg-black shadow-[0_16px_40px_rgb(0_0_0/0.5)]",
+ isMd
+ ? "right-4 bottom-[112px] w-72"
+ : "right-3 bottom-[calc(140px+env(safe-area-inset-bottom))] w-44",
+ )}
+ >
+ <VideoSlot priority={SLOT.floating} className="aspect-video w-full" />
+ <button
+ type="button"
+ onClick={openTheater}
+ aria-label="Maximizar vídeo"
+ className="absolute inset-0 grid place-items-end p-2 opacity-100 transition-opacity md:opacity-0 md:group-hover:opacity-100"
+ >
+ <span className="grid size-8 place-items-center rounded-full bg-black/60 text-white backdrop-blur-sm">
+ <ArrowsOutSimpleIcon size={16} />
+ </span>
+ </button>
+ </motion.div>
+ )}
+ </AnimatePresence>
+ );
+}
+
+const IDLE_MS = 2800;
+
+/**
+ * Cinema view: the clip as large as the window allows, with controls that fade out while watching.
+ * Can go true fullscreen (whole screen) from here.
+ */
+export function Theater() {
+ const open = useUi((s) => s.theater);
+ const setTheater = useUi((s) => s.setTheater);
+ const isVideo = usePlayer((s) => s.mediaKind === "video");
+ const playing = usePlayer((s) => s.status === "playing");
+ const toggle = usePlayer((s) => s.toggle);
+ const track = usePlayer(selectCurrent);
+ const statusText = usePlayer((s) => s.statusText);
+ const reduce = useReducedMotion();
+ const box = useRef<HTMLDivElement>(null);
+ const idle = useRef<ReturnType<typeof setTimeout> | null>(null);
+ const [chrome, setChrome] = useState(true);
+ const [fullscreen, setFullscreen] = useState(false);
+ const visible = open && isVideo && !!track;
+
+ // Leaving Video mode (or the queue emptying) closes the cinema view.
+ useEffect(() => {
+ if (open && !isVideo) setTheater(false);
+ }, [open, isVideo, setTheater]);
+
+ const wake = useCallback(() => {
+ setChrome(true);
+ if (idle.current) clearTimeout(idle.current);
+ idle.current = setTimeout(() => {
+ if (usePlayer.getState().status === "playing") setChrome(false);
+ }, IDLE_MS);
+ }, []);
+
+ useEffect(() => {
+ if (!visible) return;
+ wake();
+ const onKey = (e: KeyboardEvent) => {
+ if (e.key === "Escape" && !document.fullscreenElement) setTheater(false);
+ wake();
+ };
+ const onFs = () => setFullscreen(!!document.fullscreenElement);
+ window.addEventListener("keydown", onKey);
+ document.addEventListener("fullscreenchange", onFs);
+ return () => {
+ window.removeEventListener("keydown", onKey);
+ document.removeEventListener("fullscreenchange", onFs);
+ if (idle.current) clearTimeout(idle.current);
+ };
+ }, [visible, wake, setTheater]);
+
+ // Paused: keep the controls on screen.
+ useEffect(() => {
+ if (!playing) setChrome(true);
+ else if (visible) wake();
+ }, [playing, visible, wake]);
+
+ const close = async () => {
+ if (document.fullscreenElement) await document.exitFullscreen().catch(() => {});
+ setTheater(false);
+ };
+
+ const toggleFullscreen = async () => {
+ if (document.fullscreenElement) return document.exitFullscreen().catch(() => {});
+ if (box.current?.requestFullscreen) {
+ await box.current.requestFullscreen().catch(() => {});
+ // Phones: turn sideways for landscape clips (where the browser allows it).
+ const orientation = screen.orientation as ScreenOrientation & { lock?: (o: string) => Promise<void> };
+ if (usePlayer.getState().videoAspect > 1) orientation.lock?.("landscape").catch(() => {});
+ return;
+ }
+ // iOS Safari only allows fullscreen on the <video> itself.
+ (videoEl as HTMLVideoElement & { webkitEnterFullscreen?: () => void }).webkitEnterFullscreen?.();
+ };
+
+ const fade = cn("transition-opacity duration-300 ease-out-expo", chrome ? "opacity-100" : "pointer-events-none opacity-0");
+
+ return createPortal(
+ <AnimatePresence>
+ {visible && (
+ <motion.div
+ ref={box}
+ role="dialog"
+ aria-modal="true"
+ aria-label={`Vídeo: ${track.title}`}
+ initial={reduce ? { opacity: 0 } : { opacity: 0, scale: 0.97 }}
+ animate={{ opacity: 1, scale: 1 }}
+ exit={reduce ? { opacity: 0 } : { opacity: 0, scale: 0.97 }}
+ transition={{ duration: 0.28, ease: [0.16, 1, 0.3, 1] }}
+ onPointerMove={wake}
+ onPointerDown={wake}
+ className={cn("fixed inset-0 z-50 bg-black", !chrome && "cursor-none")}
+ >
+ {/* Click toggles play, double-click toggles fullscreen, like most video players. */}
+ <div className="absolute inset-0" onClick={() => toggle()} onDoubleClick={toggleFullscreen}>
+ <VideoSlot priority={SLOT.theater} className="size-full bg-black" />
+ </div>
+
+ <div
+ className={cn(
+ "overlay-top pointer-events-none absolute inset-x-0 top-0 bg-linear-to-b from-black/80 to-transparent px-4 pb-12 md:px-6",
+ fade,
+ )}
+ >
+ <div className="pointer-events-auto flex items-start gap-3 pt-3">
+ <div className="min-w-0 flex-1 text-white">
+ <p className="truncate text-lg font-semibold tracking-tight md:text-xl">{track.title}</p>
+ <p className="truncate text-sm text-white/70">{statusText ?? track.artist}</p>
+ </div>
+ <IconButton
+ label={fullscreen ? "Sair da tela cheia" : "Tela cheia"}
+ onClick={toggleFullscreen}
+ className="text-white/85 hover:bg-white/15 hover:text-white"
+ >
+ {fullscreen ? <CornersInIcon size={22} /> : <CornersOutIcon size={22} />}
+ </IconButton>
+ <IconButton label="Fechar vídeo (Esc)" onClick={close} className="text-white/85 hover:bg-white/15 hover:text-white">
+ {fullscreen ? <ArrowsInIcon size={22} /> : <XIcon size={22} />}
+ </IconButton>
+ </div>
+ </div>
+
+ <div
+ className={cn(
+ "safe-bottom pointer-events-none absolute inset-x-0 bottom-0 bg-linear-to-t from-black/85 to-transparent px-4 pt-16 pb-4 md:px-8 md:pb-6",
+ fade,
+ )}
+ >
+ {/* Controls use the light-on-dark palette regardless of the app theme. */}
+ <div data-theme="dark" className="pointer-events-auto mx-auto flex max-w-4xl flex-col gap-2 bg-transparent text-fg">
+ <Scrubber />
+ <div className="grid grid-cols-[1fr_auto_1fr] items-center">
+ <div className="flex items-center">
+ <FavoriteButton track={track} />
+ </div>
+ <Transport />
+ <div className="flex justify-end">
+ <Volume className="max-md:hidden" />
+ </div>
+ </div>
+ </div>
+ </div>
+ </motion.div>
+ )}
+ </AnimatePresence>,
+ document.body,
+ );
+}
diff --git a/web/src/hooks/useMediaQuery.ts b/web/src/hooks/useMediaQuery.ts
new file mode 100644
index 0000000..ad31e81
--- /dev/null
+++ b/web/src/hooks/useMediaQuery.ts
@@ -0,0 +1,15 @@
+import { useSyncExternalStore } from "react";
+
+export function useMediaQuery(query: string): boolean {
+ return useSyncExternalStore(
+ (onChange) => {
+ const mql = window.matchMedia(query);
+ mql.addEventListener("change", onChange);
+ return () => mql.removeEventListener("change", onChange);
+ },
+ () => window.matchMedia(query).matches,
+ );
+}
+
+export const MD = "(min-width: 768px)";
+export const XL = "(min-width: 1280px)";
diff --git a/web/src/hooks/useShortcuts.ts b/web/src/hooks/useShortcuts.ts
new file mode 100644
index 0000000..2729844
--- /dev/null
+++ b/web/src/hooks/useShortcuts.ts
@@ -0,0 +1,89 @@
+import { useEffect } from "react";
+import { useNavigate } from "react-router";
+import { selectCurrent, usePlayer } from "../player/player";
+import { useLibrary } from "../stores/library";
+import { useUi } from "../stores/ui";
+
+const isTyping = (el: EventTarget | null) =>
+ el instanceof HTMLElement && (el.isContentEditable || /^(INPUT|TEXTAREA|SELECT)$/.test(el.tagName));
+
+/** Desktop keyboard shortcuts. Listed in the "?" dialog. */
+export function useShortcuts() {
+ const navigate = useNavigate();
+
+ useEffect(() => {
+ const onKey = (e: KeyboardEvent) => {
+ if (e.ctrlKey || e.metaKey || e.altKey || isTyping(e.target)) return;
+ if (useUi.getState().menu || useUi.getState().addToPlaylist) return;
+ const p = usePlayer.getState();
+ const ui = useUi.getState();
+ const current = selectCurrent(p);
+ const handled = () => e.preventDefault();
+
+ switch (e.key) {
+ case " ":
+ // Let focused buttons handle their own Space.
+ if (e.target instanceof HTMLButtonElement || (e.target as HTMLElement)?.getAttribute?.("role") === "slider") return;
+ handled();
+ p.toggle();
+ break;
+ case "ArrowRight":
+ handled();
+ if (e.shiftKey) p.next();
+ else p.seek(p.position + 5);
+ break;
+ case "ArrowLeft":
+ handled();
+ if (e.shiftKey) p.prev();
+ else p.seek(p.position - 5);
+ break;
+ case "ArrowUp":
+ handled();
+ p.setVolume(p.volume + 0.05);
+ break;
+ case "ArrowDown":
+ handled();
+ p.setVolume(p.volume - 0.05);
+ break;
+ case "m":
+ case "M":
+ p.toggleMute();
+ break;
+ case "l":
+ case "L":
+ if (current) void useLibrary.getState().toggleFavorite(current);
+ break;
+ case "s":
+ case "S":
+ p.toggleShuffle();
+ break;
+ case "r":
+ case "R":
+ p.cycleRepeat();
+ break;
+ case "v":
+ case "V":
+ p.setPreferVideo(!p.preferVideo);
+ break;
+ case "f":
+ case "F":
+ if (p.mediaKind === "video") ui.setTheater(!ui.theater);
+ break;
+ case "q":
+ case "Q":
+ ui.togglePanel("queue");
+ break;
+ case "/":
+ handled();
+ navigate("/buscar");
+ requestAnimationFrame(() => document.getElementById("search-input")?.focus());
+ break;
+ case "?":
+ ui.setShortcutsOpen(true);
+ break;
+ }
+ };
+ window.addEventListener("keydown", onKey);
+ return () => window.removeEventListener("keydown", onKey);
+ }, [navigate]);
+}
diff --git a/web/src/lib/api.ts b/web/src/lib/api.ts
new file mode 100644
index 0000000..c66e49d
--- /dev/null
+++ b/web/src/lib/api.ts
@@ -0,0 +1,108 @@
+import type { Library, Playlist, Track } from "./types";
+
+export type ErrorCode = "tool_missing" | "maybe_outdated" | "bot_check";
+
+export class ApiError extends Error {
+ constructor(public status: number, message: string, public code?: ErrorCode) {
+ super(message);
+ }
+}
+
+export type Channel = "stable" | "nightly";
+
+export interface ImportResult {
+ playlistsAdded: number;
+ playlistsMerged: number;
+ tracksAdded: number;
+ favoritesAdded: number;
+}
+
+export interface SystemJob {
+ kind: "update" | "install";
+ channel: Channel;
+ status: "running" | "done" | "error";
+ startedAt: number;
+ finishedAt?: number;
+ from: string | null;
+ to: string | null;
+ message: string;
+ log: string[];
+}
+
+export interface SystemInfo {
+ ytdlp: {
+ path: string | null;
+ version: string | null;
+ channel: Channel;
+ latest: Record<Channel, string | null>;
+ updateAvailable: boolean;
+ };
+ deno: string | null;
+ ffmpeg: string | null;
+ canInstall: boolean;
+ job: SystemJob | null;
+}
+
+async function request<T>(path: string, init?: RequestInit & { json?: unknown }): Promise<T> {
+ const { json, ...rest } = init ?? {};
+ const res = await fetch(path, {
+ ...rest,
+ headers: json !== undefined ? { "content-type": "application/json", ...rest.headers } : rest.headers,
+ body: json !== undefined ? JSON.stringify(json) : rest.body,
+ });
+ if (res.status === 204) return undefined as T;
+ const body = await res.json().catch(() => ({}));
+ if (!res.ok) throw new ApiError(res.status, body.error ?? `Erro ${res.status}`, body.code);
+ return body as T;
+}
+
+export const api = {
+ search: (q: string, type: "song" | "video", signal?: AbortSignal) =>
+ request<{ tracks: Track[] }>(`/api/search?q=${encodeURIComponent(q)}&type=${type}`, { signal }).then((r) => r.tracks),
+ suggest: (q: string, signal?: AbortSignal) =>
+ request<{ suggestions: string[] }>(`/api/suggest?q=${encodeURIComponent(q)}`, { signal }).then((r) => r.suggestions),
+ radio: (id: string) => request<{ tracks: Track[] }>(`/api/radio/${id}`).then((r) => r.tracks),
+ /** The music video matching a song, or null when YouTube has none. */
+ videoFor: (t: Track) =>
+ request<{ track: Track | null }>(
+ `/api/video-for/${t.id}?${new URLSearchParams({ title: t.title, artist: t.artist, duration: String(t.duration || "") })}`,
+ ).then((r) => r.track),
+ prepare: (id: string, signal?: AbortSignal) =>
+ request<{ id: string; title: string; duration: number; hasSdVideo: boolean }>(`/api/prepare/${id}`, {
+ method: "POST",
+ signal,
+ }),
+
+ library: () => request<Library>("/api/library"),
+ addFavorite: (t: Track) => request<{ favorites: Track[] }>(`/api/favorites/${t.id}`, { method: "PUT", json: t }),
+ removeFavorite: (id: string) => request<{ favorites: Track[] }>(`/api/favorites/${id}`, { method: "DELETE" }),
+ pushHistory: (t: Track) => request<{ history: Track[] }>("/api/history", { method: "POST", json: t }),
+ createPlaylist: (name: string, tracks: Track[] = []) =>
+ request<Playlist>("/api/playlists", { method: "POST", json: { name, tracks } }),
+ renamePlaylist: (id: string, name: string) => request<Playlist>(`/api/playlists/${id}`, { method: "PATCH", json: { name } }),
+ deletePlaylist: (id: string) => request<void>(`/api/playlists/${id}`, { method: "DELETE" }),
+ addToPlaylist: (id: string, t: Track) => request<Playlist>(`/api/playlists/${id}/tracks`, { method: "POST", json: t }),
+ removeFromPlaylist: (id: string, trackId: string) =>
+ request<Playlist>(`/api/playlists/${id}/tracks/${trackId}`, { method: "DELETE" }),
+
+ importLibrary: (backup: unknown, mode: "merge" | "replace") =>
+ request<ImportResult>("/api/library/import", { method: "POST", json: { backup, mode } }),
+
+ system: () => request<SystemInfo>("/api/system"),
+ updateYtdlp: (channel: Channel) => request<SystemJob>("/api/system/ytdlp", { method: "POST", json: { channel } }),
+};
+
+export const streamUrl = (id: string, kind: "audio" | "video", quality: "sd" | "hd") =>
+ kind === "audio" ? `/api/stream/${id}/audio` : `/api/stream/${id}/video?q=${quality}`;
+
+/** Media elements hide the HTTP error body; fetch it to show the real reason. */
+export async function explainStreamError(url: string): Promise<{ message: string; code?: ErrorCode }> {
+ try {
+ const res = await fetch(url, { headers: { Range: "bytes=0-0" } });
+ if (res.ok) return { message: "O navegador não conseguiu reproduzir este formato." };
+ const body = await res.json().catch(() => ({}));
+ return { message: body.error ?? `Erro ${res.status}`, code: body.code };
+ } catch {
+ return { message: "Servidor do Musike inacessível. Ele está rodando?" };
+ }
+}
diff --git a/web/src/lib/backup.ts b/web/src/lib/backup.ts
new file mode 100644
index 0000000..995e898
--- /dev/null
+++ b/web/src/lib/backup.ts
@@ -0,0 +1,97 @@
+import { usePlayer } from "../player/player";
+import { useLibrary } from "../stores/library";
+import { useUi } from "../stores/ui";
+import { api, type ImportResult } from "./api";
+import type { Library } from "./types";
+
+/**
+ * Portable backup of a Musike instance: the library plus a few preferences.
+ * Version 1 is read by every Musike from this release on; bump `version` only for breaking changes.
+ */
+export interface Backup {
+ format: "musike-backup";
+ version: 1;
+ exportedAt: string;
+ app: string;
+ library: Library;
+ settings?: {
+ theme?: "dark" | "light";
+ preferVideo?: boolean;
+ quality?: "sd" | "hd";
+ autoRadio?: boolean;
+ volume?: number;
+ };
+}
+
+export async function createBackup(): Promise<Backup> {
+ const library = await api.library();
+ const p = usePlayer.getState();
+ return {
+ format: "musike-backup",
+ version: 1,
+ exportedAt: new Date().toISOString(),
+ app: `Musike ${__APP_VERSION__}`,
+ library: { favorites: library.favorites, playlists: library.playlists, history: library.history },
+ settings: {
+ theme: useUi.getState().theme,
+ preferVideo: p.preferVideo,
+ quality: p.quality,
+ autoRadio: p.autoRadio,
+ volume: p.volume,
+ },
+ };
+}
+
+/** Saves the backup as a file (browsers download it; the desktop app shows a "Save as" dialog). */
+export function downloadBackup(backup: Backup) {
+ const blob = new Blob([JSON.stringify(backup, null, 2)], { type: "application/json" });
+ const url = URL.createObjectURL(blob);
+ const a = document.createElement("a");
+ a.href = url;
+ a.download = `musike-backup-${backup.exportedAt.slice(0, 10)}.musike.json`;
+ document.body.appendChild(a);
+ a.click();
+ a.remove();
+ setTimeout(() => URL.revokeObjectURL(url), 10_000);
+}
+
+export async function readBackup(file: File): Promise<Backup> {
+ let data: Partial<Backup>;
+ try {
+ data = JSON.parse(await file.text()) as Partial<Backup>;
+ } catch {
+ throw new Error("Não foi possível ler o arquivo. Ele precisa ser um backup .musike.json.");
+ }
+ if (data?.format !== "musike-backup" || !data.library) throw new Error("Este arquivo não é um backup do Musike.");
+ if (typeof data.version !== "number" || data.version > 1) {
+ throw new Error("Backup feito por uma versão mais nova do Musike. Atualize o app para importar.");
+ }
+ return data as Backup;
+}
+
+export function summarize(backup: Backup) {
+ const lib = backup.library;
+ const playlists = Array.isArray(lib.playlists) ? lib.playlists : [];
+ return {
+ playlists: playlists.length,
+ playlistTracks: playlists.reduce((n, p) => n + (Array.isArray(p.tracks) ? p.tracks.length : 0), 0),
+ favorites: Array.isArray(lib.favorites) ? lib.favorites.length : 0,
+ history: Array.isArray(lib.history) ? lib.history.length : 0,
+ exportedAt: new Date(backup.exportedAt),
+ };
+}
+
+export async function restoreBackup(backup: Backup, mode: "merge" | "replace", applySettings: boolean): Promise<ImportResult> {
+ const result = await api.importLibrary(backup, mode);
+ const s = backup.settings;
+ if (applySettings && s) {
+ const player = usePlayer.getState();
+ if (s.theme === "dark" || s.theme === "light") useUi.getState().setTheme(s.theme);
+ if (typeof s.autoRadio === "boolean") player.setAutoRadio(s.autoRadio);
+ if (typeof s.volume === "number") player.setVolume(s.volume);
+ if (s.quality === "sd" || s.quality === "hd") player.setQuality(s.quality);
+ if (typeof s.preferVideo === "boolean") player.setPreferVideo(s.preferVideo);
+ }
+ await useLibrary.getState().load();
+ return result;
+}
diff --git a/web/src/lib/desktop.ts b/web/src/lib/desktop.ts
new file mode 100644
index 0000000..8d20060
--- /dev/null
+++ b/web/src/lib/desktop.ts
@@ -0,0 +1,13 @@
+/** Bridge exposed by the Electron preload script when Musike runs as the desktop app. */
+interface DesktopBridge {
+ platform: string;
+ setTheme: (theme: "dark" | "light") => void;
+}
+
+export const desktop = (window as Window & { musikeDesktop?: DesktopBridge }).musikeDesktop;
+
+if (desktop) {
+ document.documentElement.dataset.desktop = "true";
+ // Match the native window buttons to the theme picked before this script ran.
+ desktop.setTheme(document.documentElement.dataset.theme === "light" ? "light" : "dark");
+}
diff --git a/web/src/lib/format.ts b/web/src/lib/format.ts
new file mode 100644
index 0000000..f03b97c
--- /dev/null
+++ b/web/src/lib/format.ts
@@ -0,0 +1,37 @@
+export function formatTime(seconds: number): string {
+ if (!Number.isFinite(seconds) || seconds < 0) return "0:00";
+ const s = Math.floor(seconds);
+ const h = Math.floor(s / 3600);
+ const m = Math.floor((s % 3600) / 60);
+ const sec = String(s % 60).padStart(2, "0");
+ return h ? `${h}:${String(m).padStart(2, "0")}:${sec}` : `${m}:${sec}`;
+}
+
+export function formatTotal(seconds: number): string {
+ const m = Math.round(seconds / 60);
+ if (m < 60) return `${m} min`;
+ return `${Math.floor(m / 60)} h ${m % 60} min`;
+}
+
+export function plural(n: number, one: string, many: string): string {
+ return `${n} ${n === 1 ? one : many}`;
+}
+
+export function greeting(date = new Date()): string {
+ const h = date.getHours();
+ if (h < 5) return "Boa madrugada";
+ if (h < 12) return "Bom dia";
+ if (h < 18) return "Boa tarde";
+ return "Boa noite";
+}
+
+export const cn = (...parts: (string | false | null | undefined)[]) => parts.filter(Boolean).join(" ");
+
+export function shuffled<T>(items: T[]): T[] {
+ const a = items.slice();
+ for (let i = a.length - 1; i > 0; i--) {
+ const j = Math.floor(Math.random() * (i + 1));
+ [a[i], a[j]] = [a[j], a[i]];
+ }
+ return a;
+}
diff --git a/web/src/lib/types.ts b/web/src/lib/types.ts
new file mode 100644
index 0000000..ae10d6a
--- /dev/null
+++ b/web/src/lib/types.ts
@@ -0,0 +1,24 @@
+export interface Track {
+ id: string;
+ title: string;
+ artist: string;
+ album?: string;
+ duration: number;
+ thumb: string;
+ art: string;
+ kind: "song" | "video";
+}
+
+export interface Playlist {
+ id: string;
+ name: string;
+ createdAt: number;
+ updatedAt: number;
+ tracks: Track[];
+}
+
+export interface Library {
+ favorites: Track[];
+ playlists: Playlist[];
+ history: Track[];
+}
diff --git a/web/src/main.tsx b/web/src/main.tsx
new file mode 100644
index 0000000..05660b6
--- /dev/null
+++ b/web/src/main.tsx
@@ -0,0 +1,20 @@
+import "@fontsource-variable/geist";
+import "@fontsource-variable/geist-mono";
+import { StrictMode } from "react";
+import { createRoot } from "react-dom/client";
+import { BrowserRouter } from "react-router";
+import { registerSW } from "virtual:pwa-register";
+import App from "./App";
+import { desktop } from "./lib/desktop";
+import "./styles.css";
+
+// The desktop app ships its files locally; a service worker would only risk serving an old version after updates.
+if (!desktop) registerSW({ immediate: true });
+
+createRoot(document.getElementById("root")!).render(
+ <StrictMode>
+ <BrowserRouter>
+ <App />
+ </BrowserRouter>
+ </StrictMode>,
+);
diff --git a/web/src/player/player.ts b/web/src/player/player.ts
new file mode 100644
index 0000000..7742cec
--- /dev/null
+++ b/web/src/player/player.ts
@@ -0,0 +1,615 @@
+import { create } from "zustand";
+import { api, explainStreamError, streamUrl } from "../lib/api";
+import { shuffled } from "../lib/format";
+import type { Track } from "../lib/types";
+import { useLibrary } from "../stores/library";
+import { openSettings } from "../stores/system";
+import { toast } from "../stores/ui";
+
+export type Repeat = "off" | "all" | "one";
+export type Status = "idle" | "loading" | "playing" | "paused" | "error";
+type Kind = "audio" | "video";
+type Quality = "sd" | "hd";
+
+interface PlayerState {
+ queue: Track[];
+ /** Queue order before shuffle was turned on, restored when it is turned off. */
+ original: Track[] | null;
+ index: number;
+ status: Status;
+ statusText: string | null;
+ /** Which media element is driving playback right now. */
+ mediaKind: Kind;
+ /** Set when Video mode is on but the current song has no music video on YouTube. */
+ videoNote: string | null;
+ /** Intrinsic width/height of the current video, so vertical videos get a vertical stage. */
+ videoAspect: number;
+ position: number;
+ duration: number;
+ buffered: number;
+ volume: number;
+ muted: boolean;
+ shuffle: boolean;
+ repeat: Repeat;
+ preferVideo: boolean;
+ quality: Quality;
+ autoRadio: boolean;
+
+ playList: (tracks: Track[], start?: number) => void;
+ playTrack: (track: Track) => void;
+ playNext: (track: Track) => void;
+ addToQueue: (track: Track) => void;
+ removeAt: (i: number) => void;
+ jumpTo: (i: number) => void;
+ clearUpcoming: () => void;
+ startRadio: (track: Track) => Promise<void>;
+ toggle: () => void;
+ next: () => void;
+ prev: () => void;
+ seek: (seconds: number) => void;
+ setVolume: (v: number) => void;
+ toggleMute: () => void;
+ toggleShuffle: () => void;
+ cycleRepeat: () => void;
+ setPreferVideo: (on: boolean) => void;
+ setQuality: (q: Quality) => void;
+ setAutoRadio: (on: boolean) => void;
+}
+
+// Media elements live outside React so playback survives any re-render or route change.
+const audio = new Audio();
+audio.preload = "auto";
+
+export const videoEl = document.createElement("video");
+videoEl.playsInline = true;
+videoEl.preload = "auto";
+videoEl.setAttribute("playsinline", "");
+videoEl.className = "block h-full w-full object-contain bg-black";
+
+const mediaFor = (k: Kind): HTMLMediaElement => (k === "video" ? videoEl : audio);
+
+let loaded: { id: string; kind: Kind; quality: Quality } | null = null;
+let pendingSeek = 0;
+let token = 0;
+let recordedToken = -1;
+
+const STORAGE_KEY = "musike:player";
+
+interface Saved {
+ queue: Track[];
+ original: Track[] | null;
+ index: number;
+ position: number;
+ volume: number;
+ muted: boolean;
+ shuffle: boolean;
+ repeat: Repeat;
+ preferVideo: boolean;
+ quality: Quality;
+ autoRadio: boolean;
+}
+
+function readSaved(): Partial<Saved> {
+ try {
+ return JSON.parse(localStorage.getItem(STORAGE_KEY) ?? "{}") as Partial<Saved>;
+ } catch {
+ return {};
+ }
+}
+
+const saved = readSaved();
+
+/**
+ * Songs from YouTube Music are "art tracks": audio with a still cover. In Video mode we play the
+ * song's music video instead. Song id → video id, or null when YouTube has no clip for it.
+ */
+const clipFor = new Map<string, string | null>();
+const clipLookups = new Map<string, Promise<string | null>>();
+const NO_CLIP = "Esta música não tem clipe no YouTube";
+
+function lookupClip(track: Track): Promise<string | null> {
+ if (track.kind === "video") return Promise.resolve(track.id);
+ if (clipFor.has(track.id)) return Promise.resolve(clipFor.get(track.id)!);
+ let lookup = clipLookups.get(track.id);
+ if (!lookup) {
+ lookup = api
+ .videoFor(track)
+ .then(
+ (v) => {
+ const id = v?.id ?? null;
+ clipFor.set(track.id, id);
+ return id;
+ },
+ () => null, // network hiccup: don't remember it, try again next time
+ )
+ .finally(() => clipLookups.delete(track.id));
+ clipLookups.set(track.id, lookup);
+ }
+ return lookup;
+}
+
+const needsClipLookup = (track: Track, preferVideo: boolean) =>
+ preferVideo && track.kind === "song" && !clipFor.has(track.id);
+
+export const usePlayer = create<PlayerState>((set, get) => {
+ const kindFor = (track: Track): Kind =>
+ get().preferVideo && (track.kind === "video" || !!clipFor.get(track.id)) ? "video" : "audio";
+ /** The YouTube id to stream: the song itself, or its music video in Video mode. */
+ const mediaIdFor = (track: Track, kind: Kind) =>
+ kind === "video" && track.kind !== "video" ? clipFor.get(track.id)! : track.id;
+ const noteFor = (track: Track) =>
+ get().preferVideo && track.kind === "song" && clipFor.get(track.id) === null ? NO_CLIP : null;
+ const activeMedia = (): HTMLMediaElement | null => (loaded ? mediaFor(loaded.kind) : null);
+
+ function play(media: HTMLMediaElement) {
+ media.play().catch((err: DOMException) => {
+ if (err.name === "AbortError") return; // src changed mid-start
+ if (err.name === "NotAllowedError") set({ status: "paused" }); // autoplay blocked
+ });
+ }
+
+ function load(index: number, opts: { autoplay?: boolean; startAt?: number } = {}) {
+ const s = get();
+ const track = s.queue[index];
+ if (!track) return;
+
+ // Video mode on a song: find its music video first, then load whichever fits.
+ if (needsClipLookup(track, s.preferVideo)) {
+ const mine = ++token;
+ set({
+ index,
+ status: "loading",
+ statusText: "Procurando o clipe",
+ videoNote: null,
+ position: opts.startAt ?? 0,
+ duration: track.duration,
+ buffered: 0,
+ });
+ activeMedia()?.pause();
+ setMetadata(track);
+ void lookupClip(track).then(() => mine === token && load(index, opts));
+ return;
+ }
+
+ const kind = kindFor(track);
+ const media = mediaFor(kind);
+ const other = mediaFor(kind === "video" ? "audio" : "video");
+ other.pause();
+ if (other.getAttribute("src")) {
+ other.removeAttribute("src");
+ other.load();
+ }
+
+ token++;
+ loaded = { id: track.id, kind, quality: s.quality };
+ pendingSeek = opts.startAt ?? 0;
+ const autoplay = opts.autoplay !== false;
+ set({
+ index,
+ mediaKind: kind,
+ status: autoplay ? "loading" : "paused",
+ // Video may need a server-side download first (HD, or videos without a combined SD stream).
+ statusText: kind === "video" ? (s.quality === "hd" ? "Preparando vídeo HD" : "Carregando vídeo") : null,
+ videoNote: noteFor(track),
+ position: pendingSeek,
+ duration: track.duration,
+ buffered: 0,
+ });
+ media.volume = s.volume;
+ media.muted = s.muted;
+ media.src = streamUrl(mediaIdFor(track, kind), kind, s.quality);
+ if (autoplay) play(media);
+ setMetadata(track);
+ }
+
+ async function continueWithRadio() {
+ const s = get();
+ const last = s.queue[s.index];
+ if (!last) return;
+ set({ status: "loading", statusText: "Buscando rádio" });
+ try {
+ const known = new Set(get().queue.map((t) => t.id));
+ const more = (await api.radio(last.id)).filter((t) => !known.has(t.id)).slice(0, 25);
+ if (!more.length) throw new Error("vazio");
+ set((st) => ({
+ queue: [...st.queue, ...more],
+ original: st.original ? [...st.original, ...more] : null,
+ }));
+ toast(`Continuando com o rádio de "${last.title}"`);
+ load(get().index + 1);
+ } catch {
+ set({ status: "paused", statusText: null, position: 0 });
+ }
+ }
+
+ function onStarted() {
+ const s = get();
+ const track = s.queue[s.index];
+ if (!track || recordedToken === token) return;
+ recordedToken = token;
+ useLibrary.getState().recordPlay(track);
+ // Warm up the next track (and, in Video mode, find and resolve its clip) so it starts quickly.
+ const upcoming = s.queue[s.index + 1];
+ if (!upcoming) return;
+ if (s.preferVideo) void lookupClip(upcoming).then((id) => api.prepare(id ?? upcoming.id).catch(() => {}));
+ else api.prepare(upcoming.id).catch(() => {});
+ }
+
+ function onEnded() {
+ const s = get();
+ if (s.repeat === "one") {
+ const media = activeMedia();
+ if (media) {
+ media.currentTime = 0;
+ play(media);
+ }
+ return;
+ }
+ if (s.index < s.queue.length - 1) return load(s.index + 1);
+ if (s.repeat === "all" && s.queue.length) return load(0);
+ if (s.autoRadio) return void continueWithRadio();
+ set({ status: "paused", position: 0 });
+ }
+
+ function onError(media: HTMLMediaElement) {
+ const mine = token;
+ const url = media.currentSrc || media.src;
+ set({ status: "error" });
+ explainStreamError(url).then(({ message, code }) => {
+ if (mine !== token) return;
+ set({ statusText: message });
+ const track = get().queue[get().index];
+ // Tool problems hit every track: offer the fix instead of skipping through the whole queue.
+ const toolProblem = code === "tool_missing" || code === "maybe_outdated";
+ toast(
+ `Não foi possível tocar "${track?.title ?? "faixa"}". ${message}`,
+ "error",
+ toolProblem ? { label: code === "tool_missing" ? "Instalar" : "Atualizar", run: openSettings } : undefined,
+ );
+ if (code !== "tool_missing" && get().index < get().queue.length - 1) {
+ setTimeout(() => mine === token && get().next(), 2500);
+ }
+ });
+ }
+
+ function wire(media: HTMLMediaElement) {
+ const isActive = () => activeMedia() === media;
+ media.addEventListener("loadedmetadata", () => {
+ if (!isActive()) return;
+ if (pendingSeek > 0) {
+ media.currentTime = pendingSeek;
+ pendingSeek = 0;
+ }
+ if (Number.isFinite(media.duration)) set({ duration: media.duration });
+ if (media === videoEl && videoEl.videoWidth && videoEl.videoHeight) {
+ set({ videoAspect: videoEl.videoWidth / videoEl.videoHeight });
+ }
+ syncPositionState();
+ });
+ media.addEventListener("durationchange", () => {
+ if (isActive() && Number.isFinite(media.duration)) set({ duration: media.duration });
+ });
+ media.addEventListener("playing", () => {
+ if (!isActive()) return;
+ set({ status: "playing", statusText: null });
+ onStarted();
+ syncPlaybackState();
+ });
+ media.addEventListener("pause", () => {
+ if (!isActive() || media.ended || get().status === "loading" || get().status === "error") return;
+ set({ status: "paused" });
+ syncPlaybackState();
+ });
+ media.addEventListener("waiting", () => {
+ if (isActive() && !media.paused) set({ status: "loading" });
+ });
+ media.addEventListener("timeupdate", () => {
+ if (!isActive() || pendingSeek > 0) return;
+ if (Math.abs(media.currentTime - get().position) >= 0.2) set({ position: media.currentTime });
+ });
+ media.addEventListener("progress", () => {
+ if (!isActive() || !media.buffered.length) return;
+ set({ buffered: media.buffered.end(media.buffered.length - 1) });
+ });
+ media.addEventListener("seeked", () => isActive() && syncPositionState());
+ media.addEventListener("ended", () => isActive() && onEnded());
+ media.addEventListener("error", () => isActive() && media.getAttribute("src") && onError(media));
+ }
+ wire(audio);
+ wire(videoEl);
+
+ const reloadIfKindChanged = () => {
+ const s = get();
+ const track = s.queue[s.index];
+ if (!track) return;
+ set({ videoNote: noteFor(track) });
+ if (!loaded || loaded.id !== track.id) return;
+ const wasPlaying = s.status === "playing" || s.status === "loading";
+ if (needsClipLookup(track, s.preferVideo)) return load(s.index, { startAt: s.position, autoplay: wasPlaying });
+ const kind = kindFor(track);
+ if (loaded.kind === kind && (kind === "audio" || loaded.quality === s.quality)) return;
+ load(s.index, { startAt: s.position, autoplay: wasPlaying });
+ };
+
+ return {
+ queue: saved.queue ?? [],
+ original: saved.original ?? null,
+ index: saved.index ?? 0,
+ status: saved.queue?.length ? "paused" : "idle",
+ statusText: null,
+ mediaKind: "audio",
+ videoNote: null,
+ videoAspect: 16 / 9,
+ position: saved.position ?? 0,
+ duration: saved.queue?.[saved.index ?? 0]?.duration ?? 0,
+ buffered: 0,
+ volume: saved.volume ?? 0.9,
+ muted: saved.muted ?? false,
+ shuffle: saved.shuffle ?? false,
+ repeat: saved.repeat ?? "off",
+ preferVideo: saved.preferVideo ?? false,
+ quality: saved.quality ?? "sd",
+ autoRadio: saved.autoRadio ?? true,
+
+ playList: (tracks, start = 0) => {
+ if (!tracks.length) return;
+ const first = tracks[start] ?? tracks[0];
+ if (get().shuffle) {
+ const rest = tracks.filter((_, i) => i !== start);
+ set({ queue: [first, ...shuffled(rest)], original: tracks.slice() });
+ load(0);
+ } else {
+ set({ queue: tracks.slice(), original: null });
+ load(start);
+ }
+ },
+
+ playTrack: (track) => {
+ const s = get();
+ const at = s.queue.findIndex((t) => t.id === track.id);
+ if (at >= 0) return load(at);
+ if (!s.queue.length) return get().playList([track]);
+ const insert = s.index + 1;
+ set({
+ queue: [...s.queue.slice(0, insert), track, ...s.queue.slice(insert)],
+ original: s.original ? [...s.original, track] : null,
+ });
+ load(insert);
+ },
+
+ playNext: (track) => {
+ const s = get();
+ if (!s.queue.length) return get().playList([track]);
+ const insert = s.index + 1;
+ set({
+ queue: [...s.queue.slice(0, insert), track, ...s.queue.slice(insert)],
+ original: s.original ? [...s.original, track] : null,
+ });
+ toast(`"${track.title}" toca a seguir`);
+ },
+
+ addToQueue: (track) => {
+ const s = get();
+ if (!s.queue.length) return get().playList([track]);
+ set({ queue: [...s.queue, track], original: s.original ? [...s.original, track] : null });
+ toast(`"${track.title}" adicionada à fila`);
+ },
+
+ removeAt: (i) => {
+ const s = get();
+ if (i < 0 || i >= s.queue.length) return;
+ const removed = s.queue[i];
+ const queue = s.queue.filter((_, j) => j !== i);
+ const original = s.original?.filter((t) => t !== removed) ?? null;
+ if (i < s.index) return set({ queue, original, index: s.index - 1 });
+ if (i > s.index) return set({ queue, original });
+ // Removing the current track: move on to whatever takes its place.
+ set({ queue, original });
+ if (queue[i]) load(i, { autoplay: s.status === "playing" });
+ else {
+ activeMedia()?.pause();
+ loaded = null;
+ set({ index: Math.max(0, queue.length - 1), status: queue.length ? "paused" : "idle", position: 0 });
+ }
+ },
+
+ jumpTo: (i) => load(i),
+
+ clearUpcoming: () => {
+ const s = get();
+ const keep = s.queue.slice(0, s.index + 1);
+ set({ queue: keep, original: s.original ? keep.slice() : null });
+ },
+
+ startRadio: async (track) => {
+ toast(`Montando rádio de "${track.title}"`);
+ try {
+ const related = await api.radio(track.id);
+ get().playList([track, ...related.filter((t) => t.id !== track.id)], 0);
+ } catch (e) {
+ toast((e as Error).message, "error");
+ }
+ },
+
+ toggle: () => {
+ const s = get();
+ const track = s.queue[s.index];
+ if (!track) return;
+ const kind = kindFor(track);
+ const stale =
+ !loaded ||
+ loaded.id !== track.id ||
+ loaded.kind !== kind ||
+ (kind === "video" && loaded.quality !== s.quality) ||
+ needsClipLookup(track, s.preferVideo);
+ if (stale || s.status === "error") return load(s.index, { startAt: s.position });
+ const media = mediaFor(kind);
+ if (media.paused) play(media);
+ else media.pause();
+ },
+
+ next: () => {
+ const s = get();
+ if (s.index < s.queue.length - 1) return load(s.index + 1);
+ if (s.repeat === "all" && s.queue.length) return load(0);
+ if (s.autoRadio) void continueWithRadio();
+ },
+
+ prev: () => {
+ const s = get();
+ if (s.position > 3 || s.index === 0) return get().seek(0);
+ load(s.index - 1);
+ },
+
+ seek: (seconds) => {
+ const t = Math.max(0, Math.min(seconds, get().duration || seconds));
+ set({ position: t });
+ const media = activeMedia();
+ const track = get().queue[get().index];
+ if (!media || !track || loaded?.id !== track.id || media.readyState === 0) {
+ pendingSeek = t;
+ return;
+ }
+ media.currentTime = t;
+ },
+
+ setVolume: (v) => {
+ const volume = Math.max(0, Math.min(1, v));
+ audio.volume = videoEl.volume = volume;
+ const muted = volume === 0 ? true : false;
+ audio.muted = videoEl.muted = muted;
+ set({ volume, muted });
+ },
+
+ toggleMute: () => {
+ const muted = !get().muted;
+ audio.muted = videoEl.muted = muted;
+ if (!muted && get().volume === 0) get().setVolume(0.6);
+ else set({ muted });
+ },
+
+ toggleShuffle: () => {
+ const s = get();
+ const current = s.queue[s.index];
+ if (!s.shuffle) {
+ const rest = s.queue.filter((_, i) => i !== s.index);
+ set({ shuffle: true, original: s.queue, queue: current ? [current, ...shuffled(rest)] : shuffled(rest), index: 0 });
+ return;
+ }
+ const present = new Set(s.queue);
+ const base = (s.original ?? s.queue).filter((t) => present.has(t));
+ const extra = s.queue.filter((t) => !base.includes(t));
+ const queue = [...base, ...extra];
+ set({ shuffle: false, original: null, queue, index: Math.max(0, current ? queue.indexOf(current) : 0) });
+ },
+
+ cycleRepeat: () => {
+ const order: Repeat[] = ["off", "all", "one"];
+ set({ repeat: order[(order.indexOf(get().repeat) + 1) % order.length] });
+ },
+
+ setPreferVideo: (on) => {
+ set({ preferVideo: on });
+ reloadIfKindChanged();
+ },
+
+ setQuality: (quality) => {
+ set({ quality });
+ reloadIfKindChanged();
+ },
+
+ setAutoRadio: (autoRadio) => set({ autoRadio }),
+ };
+});
+
+audio.volume = videoEl.volume = usePlayer.getState().volume;
+audio.muted = videoEl.muted = usePlayer.getState().muted;
+
+export const selectCurrent = (s: PlayerState): Track | null => s.queue[s.index] ?? null;
+
+/** Whether the track can be shown as video (art tracks are audio with a still image). */
+
+// Persistence: resume the same queue and position after a reload.
+
+function persist() {
+ const s = usePlayer.getState();
+ const data: Saved = {
+ queue: s.queue.slice(0, 500),
+ original: s.original?.slice(0, 500) ?? null,
+ index: s.index,
+ position: s.position,
+ volume: s.volume,
+ muted: s.muted,
+ shuffle: s.shuffle,
+ repeat: s.repeat,
+ preferVideo: s.preferVideo,
+ quality: s.quality,
+ autoRadio: s.autoRadio,
+ };
+ try {
+ localStorage.setItem(STORAGE_KEY, JSON.stringify(data));
+ } catch {
+ /* storage full or blocked */
+ }
+}
+setInterval(persist, 4000);
+addEventListener("pagehide", persist);
+document.addEventListener("visibilitychange", () => document.visibilityState === "hidden" && persist());
+
+// Media Session: lock-screen, headset and notification controls.
+
+function setMetadata(track: Track) {
+ if (!("mediaSession" in navigator)) return;
+ navigator.mediaSession.metadata = new MediaMetadata({
+ title: track.title,
+ artist: track.artist,
+ album: track.album ?? "",
+ artwork:
+ track.kind === "video"
+ ? [
+ { src: track.art, sizes: "1280x720", type: "image/jpeg" },
+ { src: track.thumb, sizes: "320x180", type: "image/jpeg" },
+ ]
+ : [{ src: track.art, sizes: "544x544", type: "image/jpeg" }],
+ });
+}
+
+function syncPlaybackState() {
+ if (!("mediaSession" in navigator)) return;
+ navigator.mediaSession.playbackState = usePlayer.getState().status === "playing" ? "playing" : "paused";
+ syncPositionState();
+}
+
+function syncPositionState() {
+ if (!("mediaSession" in navigator) || !navigator.mediaSession.setPositionState) return;
+ const { duration, position } = usePlayer.getState();
+ if (!Number.isFinite(duration) || duration <= 0) return;
+ try {
+ navigator.mediaSession.setPositionState({ duration, position: Math.min(position, duration), playbackRate: 1 });
+ } catch {
+ /* some browsers reject transient states */
+ }
+}
+
+if ("mediaSession" in navigator) {
+ const ms = navigator.mediaSession;
+ const p = () => usePlayer.getState();
+ const handlers: [MediaSessionAction, MediaSessionActionHandler][] = [
+ ["play", () => p().status !== "playing" && p().toggle()],
+ ["pause", () => p().status === "playing" && p().toggle()],
+ ["previoustrack", () => p().prev()],
+ ["nexttrack", () => p().next()],
+ ["seekto", (d) => d.seekTime != null && p().seek(d.seekTime)],
+ ["seekbackward", (d) => p().seek(p().position - (d.seekOffset ?? 10))],
+ ["seekforward", (d) => p().seek(p().position + (d.seekOffset ?? 10))],
+ ];
+ for (const [action, handler] of handlers) {
+ try {
+ ms.setActionHandler(action, handler);
+ } catch {
+ /* action not supported */
+ }
+ }
+ const restored = selectCurrent(usePlayer.getState());
+ if (restored) setMetadata(restored);
+}
diff --git a/web/src/stores/library.ts b/web/src/stores/library.ts
new file mode 100644
index 0000000..2e05def
--- /dev/null
+++ b/web/src/stores/library.ts
@@ -0,0 +1,115 @@
+import { create } from "zustand";
+import { api } from "../lib/api";
+import type { Library, Playlist, Track } from "../lib/types";
+import { toast } from "./ui";
+
+interface LibraryState extends Library {
+ status: "idle" | "loading" | "ready" | "error";
+ load: () => Promise<void>;
+ isFavorite: (id: string) => boolean;
+ toggleFavorite: (t: Track) => Promise<void>;
+ recordPlay: (t: Track) => void;
+ createPlaylist: (name: string, tracks?: Track[]) => Promise<Playlist | null>;
+ renamePlaylist: (id: string, name: string) => Promise<void>;
+ deletePlaylist: (id: string) => Promise<void>;
+ addToPlaylist: (id: string, t: Track) => Promise<void>;
+ removeFromPlaylist: (id: string, trackId: string) => Promise<void>;
+}
+
+const replacePlaylist = (list: Playlist[], p: Playlist) => list.map((x) => (x.id === p.id ? p : x));
+
+export const useLibrary = create<LibraryState>((set, get) => ({
+ favorites: [],
+ playlists: [],
+ history: [],
+ status: "idle",
+
+ load: async () => {
+ set({ status: "loading" });
+ try {
+ const lib = await api.library();
+ set({ ...lib, status: "ready" });
+ } catch {
+ set({ status: "error" });
+ }
+ },
+
+ isFavorite: (id) => get().favorites.some((t) => t.id === id),
+
+ toggleFavorite: async (track) => {
+ const prev = get().favorites;
+ const on = !prev.some((t) => t.id === track.id);
+ // Optimistic: the heart responds instantly, then reconciles with the server.
+ set({ favorites: on ? [track, ...prev] : prev.filter((t) => t.id !== track.id) });
+ try {
+ const { favorites } = on ? await api.addFavorite(track) : await api.removeFavorite(track.id);
+ set({ favorites });
+ toast(on ? "Adicionada às Favoritas" : "Removida das Favoritas");
+ } catch (e) {
+ set({ favorites: prev });
+ toast((e as Error).message, "error");
+ }
+ },
+
+ recordPlay: (track) => {
+ set((s) => ({ history: [track, ...s.history.filter((t) => t.id !== track.id)].slice(0, 60) }));
+ api.pushHistory(track).catch(() => {});
+ },
+
+ createPlaylist: async (name, tracks = []) => {
+ try {
+ const p = await api.createPlaylist(name, tracks);
+ set((s) => ({ playlists: [p, ...s.playlists] }));
+ toast(`Playlist "${p.name}" criada`);
+ return p;
+ } catch (e) {
+ toast((e as Error).message, "error");
+ return null;
+ }
+ },
+
+ renamePlaylist: async (id, name) => {
+ try {
+ const p = await api.renamePlaylist(id, name);
+ set((s) => ({ playlists: replacePlaylist(s.playlists, p) }));
+ } catch (e) {
+ toast((e as Error).message, "error");
+ }
+ },
+
+ deletePlaylist: async (id) => {
+ const prev = get().playlists;
+ set({ playlists: prev.filter((p) => p.id !== id) });
+ try {
+ await api.deletePlaylist(id);
+ toast("Playlist excluída");
+ } catch (e) {
+ set({ playlists: prev });
+ toast((e as Error).message, "error");
+ }
+ },
+
+ addToPlaylist: async (id, track) => {
+ try {
+ const p = await api.addToPlaylist(id, track);
+ set((s) => ({ playlists: replacePlaylist(s.playlists, p) }));
+ toast(`Adicionada a "${p.name}"`);
+ } catch (e) {
+ toast((e as Error).message, "error");
+ }
+ },
+
+ removeFromPlaylist: async (id, trackId) => {
+ const prev = get().playlists;
+ set({
+ playlists: prev.map((p) => (p.id === id ? { ...p, tracks: p.tracks.filter((t) => t.id !== trackId) } : p)),
+ });
+ try {
+ const p = await api.removeFromPlaylist(id, trackId);
+ set((s) => ({ playlists: replacePlaylist(s.playlists, p) }));
+ } catch (e) {
+ set({ playlists: prev });
+ toast((e as Error).message, "error");
+ }
+ },
+}));
diff --git a/web/src/stores/system.ts b/web/src/stores/system.ts
new file mode 100644
index 0000000..c6cdac1
--- /dev/null
+++ b/web/src/stores/system.ts
@@ -0,0 +1,68 @@
+import { create } from "zustand";
+import { api, type Channel, type SystemInfo } from "../lib/api";
+import { toast, useUi } from "./ui";
+
+interface SystemState {
+ info: SystemInfo | null;
+ status: "idle" | "loading" | "ready" | "error";
+ load: () => Promise<void>;
+ update: (channel: Channel) => Promise<void>;
+}
+
+let polling: ReturnType<typeof setTimeout> | null = null;
+
+export const openSettings = () => useUi.getState().setSettingsOpen(true);
+
+export const useSystem = create<SystemState>((set, get) => {
+ /** Polls while an update runs, then announces the result once. */
+ const watch = () => {
+ if (polling) return;
+ const tick = async () => {
+ polling = null;
+ try {
+ const info = await api.system();
+ set({ info, status: "ready" });
+ const job = info.job;
+ if (job?.status === "running") {
+ polling = setTimeout(tick, 1000);
+ return;
+ }
+ if (job?.status === "done") toast(job.message);
+ if (job?.status === "error") toast(job.message, "error");
+ } catch {
+ polling = setTimeout(tick, 2000);
+ }
+ };
+ polling = setTimeout(tick, 800);
+ };
+
+ return {
+ info: null,
+ status: "idle",
+
+ load: async () => {
+ set({ status: get().info ? "ready" : "loading" });
+ try {
+ const info = await api.system();
+ set({ info, status: "ready" });
+ if (info.job?.status === "running") watch();
+ } catch {
+ set({ status: "error" });
+ }
+ },
+
+ update: async (channel) => {
+ try {
+ const job = await api.updateYtdlp(channel);
+ set((s) => ({ info: s.info ? { ...s.info, job } : s.info }));
+ watch();
+ } catch (e) {
+ toast((e as Error).message, "error");
+ }
+ },
+ };
+});
+
+/** Something needs the user's attention: missing tools or a newer yt-dlp. */
+export const needsAttention = (info: SystemInfo | null) =>
+ !!info && (!info.ytdlp.path || !info.deno || info.ytdlp.updateAvailable);
diff --git a/web/src/stores/ui.ts b/web/src/stores/ui.ts
new file mode 100644
index 0000000..2f25a73
--- /dev/null
+++ b/web/src/stores/ui.ts
@@ -0,0 +1,128 @@
+import { create } from "zustand";
+import { desktop } from "../lib/desktop";
+import type { Track } from "../lib/types";
+
+export interface ToastAction {
+ label: string;
+ run: () => void;
+}
+
+export interface Toast {
+ id: number;
+ message: string;
+ tone: "info" | "error";
+ action?: ToastAction;
+}
+
+export interface TrackMenuState {
+ track: Track;
+ /** Anchor point for the desktop popover. Mobile renders a bottom sheet instead. */
+ x: number;
+ y: number;
+ playlistId?: string;
+}
+
+type Theme = "dark" | "light";
+export type PanelTab = "playing" | "queue";
+
+interface UiState {
+ theme: Theme;
+ panelOpen: boolean;
+ drawerOpen: boolean;
+ panelTab: PanelTab;
+ toasts: Toast[];
+ menu: TrackMenuState | null;
+ addToPlaylist: Track | null;
+ shortcutsOpen: boolean;
+ settingsOpen: boolean;
+ /** Cinema view: the video maximized over everything. */
+ theater: boolean;
+ setTheme: (t: Theme) => void;
+ toggleTheme: () => void;
+ openPanel: (tab: PanelTab) => void;
+ togglePanel: (tab: PanelTab) => void;
+ closePanel: () => void;
+ toast: (message: string, tone?: Toast["tone"], action?: ToastAction) => void;
+ dismissToast: (id: number) => void;
+ openMenu: (m: TrackMenuState) => void;
+ closeMenu: () => void;
+ openAddToPlaylist: (t: Track | null) => void;
+ setShortcutsOpen: (open: boolean) => void;
+ setSettingsOpen: (open: boolean) => void;
+ setTheater: (open: boolean) => void;
+}
+
+const readTheme = (): Theme => (document.documentElement.dataset.theme === "light" ? "light" : "dark");
+const readPanel = (): boolean => {
+ try {
+ return localStorage.getItem("musike:panel") !== "closed";
+ } catch {
+ return true;
+ }
+};
+
+let toastSeq = 0;
+
+export const useUi = create<UiState>((set, get) => ({
+ theme: readTheme(),
+ panelOpen: readPanel(),
+ drawerOpen: false,
+ panelTab: "playing",
+ toasts: [],
+ menu: null,
+ addToPlaylist: null,
+ shortcutsOpen: false,
+ settingsOpen: false,
+ theater: false,
+
+ setTheme: (theme) => {
+ document.documentElement.dataset.theme = theme;
+ document.querySelector('meta[name="theme-color"]')?.setAttribute("content", theme === "dark" ? "#0B0C0F" : "#E9EBEF");
+ desktop?.setTheme(theme);
+ try {
+ localStorage.setItem("musike:theme", theme);
+ } catch {
+ /* private mode */
+ }
+ set({ theme });
+ },
+ toggleTheme: () => get().setTheme(get().theme === "dark" ? "light" : "dark"),
+
+ openPanel: (panelTab) => {
+ if (window.matchMedia("(min-width: 1280px)").matches) set({ panelOpen: true, panelTab });
+ else set({ drawerOpen: true, panelTab });
+ },
+ togglePanel: (tab) => {
+ const { panelOpen, drawerOpen, panelTab } = get();
+ // ≥1280px the panel is a docked column (remembered); below it is a temporary drawer.
+ if (!window.matchMedia("(min-width: 1280px)").matches) {
+ return set({ drawerOpen: !(drawerOpen && panelTab === tab), panelTab: tab });
+ }
+ const open = !(panelOpen && panelTab === tab);
+ try {
+ localStorage.setItem("musike:panel", open ? "open" : "closed");
+ } catch {
+ /* private mode */
+ }
+ set({ panelOpen: open, panelTab: tab });
+ },
+ closePanel: () => set({ drawerOpen: false }),
+
+ toast: (message, tone = "info", action) => {
+ const id = ++toastSeq;
+ set((s) => ({ toasts: [...s.toasts.slice(-2), { id, message, tone, action }] }));
+ // Toasts with an action stay longer so there is time to reach the button.
+ setTimeout(() => get().dismissToast(id), action ? 9000 : tone === "error" ? 5200 : 2800);
+ },
+ dismissToast: (id) => set((s) => ({ toasts: s.toasts.filter((t) => t.id !== id) })),
+
+ openMenu: (menu) => set({ menu }),
+ closeMenu: () => set({ menu: null }),
+ openAddToPlaylist: (addToPlaylist) => set({ addToPlaylist, menu: null }),
+ setShortcutsOpen: (shortcutsOpen) => set({ shortcutsOpen }),
+ setSettingsOpen: (settingsOpen) => set({ settingsOpen }),
+ setTheater: (theater) => set({ theater }),
+}));
+
+export const toast = (message: string, tone?: Toast["tone"], action?: ToastAction) =>
+ useUi.getState().toast(message, tone, action);
diff --git a/web/src/styles.css b/web/src/styles.css
new file mode 100644
index 0000000..b504f71
--- /dev/null
+++ b/web/src/styles.css
@@ -0,0 +1,229 @@
+@import "tailwindcss";
+
+@custom-variant light (&:where([data-theme="light"], [data-theme="light"] *));
+
+/* Theme tokens. Dark is the default; see docs/design-system.md */
+:root,
+[data-theme="dark"] {
+ color-scheme: dark;
+ --bg: #0b0c0f;
+ --surface-1: #121318;
+ --surface-2: #181a20;
+ --surface-3: #20232b;
+ --surface-4: #2a2e38;
+ --line: rgb(255 255 255 / 0.07);
+ --line-strong: rgb(255 255 255 / 0.12);
+ --fg: #eceef2;
+ --fg-2: #9ba1ad;
+ --fg-3: #6b717d;
+ --accent: #c3ec52;
+ --accent-ink: #0b0c0f;
+ --accent-text: #c3ec52;
+ --accent-soft: rgb(195 236 82 / 0.12);
+ --highlight: rgb(255 255 255 / 0.06);
+ --scrim: rgb(5 6 8 / 0.72);
+ --danger: #ff7a6b;
+}
+
+[data-theme="light"] {
+ color-scheme: light;
+ --bg: #e9ebef;
+ --surface-1: #ffffff;
+ --surface-2: #f2f3f6;
+ --surface-3: #e4e7ec;
+ --surface-4: #d6dae1;
+ --line: rgb(15 18 25 / 0.08);
+ --line-strong: rgb(15 18 25 / 0.14);
+ --fg: #12141a;
+ --fg-2: #555b67;
+ --fg-3: #7d8390;
+ --accent: #c3ec52;
+ --accent-ink: #0b0c0f;
+ --accent-text: #4a6300;
+ --accent-soft: rgb(110 150 0 / 0.12);
+ --highlight: rgb(255 255 255 / 0.8);
+ --scrim: rgb(20 22 28 / 0.45);
+ --danger: #c4372a;
+}
+
+@theme inline {
+ --color-bg: var(--bg);
+ --color-surface-1: var(--surface-1);
+ --color-surface-2: var(--surface-2);
+ --color-surface-3: var(--surface-3);
+ --color-surface-4: var(--surface-4);
+ --color-line: var(--line);
+ --color-line-strong: var(--line-strong);
+ --color-fg: var(--fg);
+ --color-fg-2: var(--fg-2);
+ --color-fg-3: var(--fg-3);
+ --color-accent: var(--accent);
+ --color-accent-ink: var(--accent-ink);
+ --color-accent-text: var(--accent-text);
+ --color-accent-soft: var(--accent-soft);
+ --color-scrim: var(--scrim);
+ --color-danger: var(--danger);
+ --font-sans: "Geist Variable", ui-sans-serif, system-ui, sans-serif;
+ --font-mono: "Geist Mono Variable", ui-monospace, "SFMono-Regular", monospace;
+ --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
+ --radius-tile: 14px;
+ --radius-art: 10px;
+ --radius-panel: 20px;
+}
+
+@layer base {
+ html,
+ body,
+ #root {
+ height: 100%;
+ }
+ body {
+ background: var(--bg);
+ color: var(--fg);
+ font-family: var(--font-sans);
+ -webkit-font-smoothing: antialiased;
+ -webkit-tap-highlight-color: transparent;
+ overscroll-behavior: none;
+ font-feature-settings: "ss01";
+ }
+ button {
+ cursor: pointer;
+ }
+ :focus-visible {
+ outline: 2px solid var(--accent);
+ outline-offset: 2px;
+ border-radius: 8px;
+ }
+ ::selection {
+ background: var(--accent);
+ color: var(--accent-ink);
+ }
+}
+
+@layer components {
+ /* Floating island with a nested bezel: outer shell + inner core (high-end-visual-design). */
+ .island {
+ background: var(--surface-1);
+ border: 1px solid var(--line);
+ border-radius: var(--radius-panel);
+ padding: 5px;
+ }
+ .island-core {
+ background: var(--surface-2);
+ border-radius: calc(var(--radius-panel) - 5px);
+ box-shadow: inset 0 1px 0 var(--highlight);
+ }
+
+ .scroll-area {
+ scrollbar-width: thin;
+ scrollbar-color: var(--surface-4) transparent;
+ }
+
+ .safe-bottom {
+ padding-bottom: env(safe-area-inset-bottom);
+ }
+ .safe-top {
+ padding-top: env(safe-area-inset-top);
+ }
+ /* Full-window overlays clear the phone notch and, in the desktop app, the native window buttons. */
+ .overlay-top {
+ padding-top: max(env(safe-area-inset-top), env(titlebar-area-height, 0px));
+ }
+ .drawer-top {
+ top: calc(env(titlebar-area-height, 0px) + 0.5rem);
+ }
+
+ /* Desktop app title bar: draggable, with clicks still reaching buttons inside it. */
+ .app-drag {
+ -webkit-app-region: drag;
+ app-region: drag;
+ }
+ .app-no-drag {
+ -webkit-app-region: no-drag;
+ app-region: no-drag;
+ }
+
+ .no-scrollbar {
+ scrollbar-width: none;
+ }
+ .no-scrollbar::-webkit-scrollbar {
+ display: none;
+ }
+
+ .kbd {
+ font-family: var(--font-mono);
+ font-size: 11px;
+ line-height: 1;
+ padding: 3px 6px;
+ border-radius: 6px;
+ background: var(--surface-3);
+ border: 1px solid var(--line-strong);
+ color: var(--fg-2);
+ }
+}
+
+/* Film grain, fixed and non-interactive so it never repaints with scroll. */
+.grain::after {
+ content: "";
+ position: fixed;
+ inset: 0;
+ z-index: 1;
+ pointer-events: none;
+ opacity: 0.035;
+ background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
+}
+[data-theme="light"] .grain::after {
+ opacity: 0.025;
+}
+
+/* Living brand mark: the equalizer that marks the playing track. */
+@keyframes eq {
+ 0%,
+ 100% {
+ transform: scaleY(0.3);
+ }
+ 50% {
+ transform: scaleY(1);
+ }
+}
+.eq-bar {
+ transform-origin: bottom;
+ transform: scaleY(0.45);
+}
+.eq-live .eq-bar {
+ animation: eq 0.9s var(--ease-out-expo) infinite;
+}
+.eq-live .eq-bar:nth-child(2) {
+ animation-duration: 0.7s;
+ animation-delay: -0.3s;
+}
+.eq-live .eq-bar:nth-child(3) {
+ animation-duration: 1.05s;
+ animation-delay: -0.55s;
+}
+
+@keyframes shimmer {
+ from {
+ background-position: -200% 0;
+ }
+ to {
+ background-position: 200% 0;
+ }
+}
+.skeleton {
+ background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 50%, var(--surface-2) 75%);
+ background-size: 200% 100%;
+ animation: shimmer 1.6s linear infinite;
+}
+
+@media (prefers-reduced-motion: reduce) {
+ .eq-live .eq-bar,
+ .skeleton {
+ animation: none;
+ }
+ *,
+ *::before,
+ *::after {
+ transition-duration: 0.01ms !important;
+ }
+}
diff --git a/web/src/views/Collection.tsx b/web/src/views/Collection.tsx
new file mode 100644
index 0000000..56de283
--- /dev/null
+++ b/web/src/views/Collection.tsx
@@ -0,0 +1,199 @@
+import { DotsThreeIcon, MagnifyingGlassIcon, PauseIcon, PencilSimpleIcon, PlayIcon, ShuffleIcon, TrashIcon } from "@phosphor-icons/react";
+import { useState } from "react";
+import { Link, useNavigate, useParams } from "react-router";
+import { Cover, type CoverKind } from "../components/Cover";
+import { NamePlaylistDialog } from "../components/Dialogs";
+import { IconButton, PlayDisc } from "../components/IconButton";
+import { Modal } from "../components/Modal";
+import { EmptyState, PageHeader } from "../components/Page";
+import { TrackList } from "../components/TrackList";
+import { formatTotal, plural, shuffled } from "../lib/format";
+import type { Track } from "../lib/types";
+import { usePlayer } from "../player/player";
+import { useLibrary } from "../stores/library";
+
+interface Props {
+ kind: CoverKind;
+}
+
+/** Playlist, Favorites and History share one layout. */
+export default function Collection({ kind }: Props) {
+ const { id } = useParams();
+ const navigate = useNavigate();
+ const lib = useLibrary();
+ const playList = usePlayer((s) => s.playList);
+ const toggle = usePlayer((s) => s.toggle);
+ const queue = usePlayer((s) => s.queue);
+ const status = usePlayer((s) => s.status);
+ const [renaming, setRenaming] = useState(false);
+ const [confirmDelete, setConfirmDelete] = useState(false);
+ const [moreOpen, setMoreOpen] = useState(false);
+
+ const playlist = kind === "playlist" ? lib.playlists.find((p) => p.id === id) : undefined;
+ const tracks: Track[] = kind === "favorites" ? lib.favorites : kind === "history" ? lib.history : playlist?.tracks ?? [];
+ const name = kind === "favorites" ? "Favoritas" : kind === "history" ? "Tocadas recentemente" : playlist?.name ?? "";
+ const label = kind === "playlist" ? "Playlist" : kind === "favorites" ? "Coleção" : "Histórico";
+
+ if (kind === "playlist" && !playlist) {
+ if (lib.status !== "ready") return <PageHeader />;
+ return (
+ <>
+ <PageHeader />
+ <EmptyState
+ icon={<MagnifyingGlassIcon size={28} />}
+ title="Playlist não encontrada"
+ body="Ela pode ter sido excluída."
+ action={
+ <Link to="/biblioteca" className="mt-2 h-11 rounded-full bg-surface-3 px-6 text-sm leading-[44px] font-medium">
+ Ir para a Biblioteca
+ </Link>
+ }
+ />
+ </>
+ );
+ }
+
+ const total = tracks.reduce((sum, t) => sum + (t.duration || 0), 0);
+ // The queue holds exactly these tracks, so this collection is the current playback context.
+ const isThisPlaying = tracks.length > 0 && queue.length === tracks.length && queue.every((t) => tracks.some((x) => x.id === t.id));
+ const playing = isThisPlaying && (status === "playing" || status === "loading");
+
+ return (
+ <div className="pb-8">
+ <PageHeader title={name} mobileOnly />
+
+ <div className="relative">
+ <div aria-hidden="true" className="pointer-events-none absolute inset-x-0 -top-20 h-72 bg-linear-to-b from-accent-soft to-transparent" />
+ <div className="relative flex flex-col items-center gap-5 px-4 pt-2 pb-6 md:flex-row md:items-end md:gap-6 md:px-6 md:pt-10">
+ <Cover
+ kind={kind}
+ tracks={tracks}
+ iconSize={64}
+ className="size-44 shrink-0 rounded-[18px] shadow-[0_24px_60px_rgb(0_0_0/0.4)] md:size-52"
+ />
+ <div className="flex min-w-0 flex-col items-center gap-2 text-center md:items-start md:text-left">
+ <span className="hidden text-xs font-medium text-fg-2 md:block">{label}</span>
+ <h1 className="max-w-full text-[28px] leading-[1.1] font-bold tracking-tight break-words md:text-5xl lg:text-6xl">{name}</h1>
+ <p className="font-mono text-[13px] text-fg-2">
+ {plural(tracks.length, "faixa", "faixas")}
+ {total > 0 && <> · {formatTotal(total)}</>}
+ </p>
+ </div>
+ </div>
+ </div>
+
+ <div className="flex items-center gap-2 px-4 pb-4 md:px-6">
+ <PlayDisc
+ label={playing ? "Pausar" : `Tocar ${name}`}
+ px={56}
+ disabled={!tracks.length}
+ onClick={() => (isThisPlaying ? toggle() : playList(tracks, 0))}
+ >
+ {playing ? <PauseIcon size={24} weight="fill" /> : <PlayIcon size={24} weight="fill" />}
+ </PlayDisc>
+ <IconButton
+ label="Tocar em ordem aleatória"
+ size="lg"
+ disabled={!tracks.length}
+ onClick={() => {
+ const order = shuffled(tracks);
+ playList(order, 0);
+ }}
+ >
+ <ShuffleIcon size={24} />
+ </IconButton>
+ {kind === "playlist" && (
+ <IconButton label="Mais opções da playlist" size="lg" onClick={() => setMoreOpen(true)}>
+ <DotsThreeIcon size={26} weight="bold" />
+ </IconButton>
+ )}
+ </div>
+
+ <div className="px-2 md:px-3">
+ {tracks.length > 0 ? (
+ <TrackList tracks={tracks} playlistId={playlist?.id} showAlbum />
+ ) : (
+ <EmptyState
+ icon={<MagnifyingGlassIcon size={28} />}
+ title={kind === "history" ? "Nada tocado ainda" : "Ainda vazia"}
+ body={
+ kind === "favorites"
+ ? "Toque no coração de qualquer faixa para guardá-la aqui."
+ : kind === "history"
+ ? "As músicas que você ouvir aparecem aqui."
+ : 'Busque músicas e use "Adicionar à playlist" no menu de cada faixa.'
+ }
+ action={
+ <Link to="/buscar" className="mt-2 h-11 rounded-full bg-accent px-6 text-sm leading-[44px] font-semibold text-accent-ink">
+ Buscar música
+ </Link>
+ }
+ />
+ )}
+ </div>
+
+ {playlist && (
+ <>
+ <Modal open={moreOpen} onClose={() => setMoreOpen(false)} title={playlist.name}>
+ <div className="flex flex-col">
+ <button
+ type="button"
+ onClick={() => {
+ setMoreOpen(false);
+ setRenaming(true);
+ }}
+ className="flex items-center gap-3 rounded-xl px-3 py-3 text-left hover:bg-surface-3"
+ >
+ <PencilSimpleIcon size={18} className="text-fg-2" /> Renomear
+ </button>
+ <button
+ type="button"
+ onClick={() => {
+ setMoreOpen(false);
+ setConfirmDelete(true);
+ }}
+ className="flex items-center gap-3 rounded-xl px-3 py-3 text-left text-danger hover:bg-surface-3"
+ >
+ <TrashIcon size={18} /> Excluir playlist
+ </button>
+ </div>
+ </Modal>
+
+ <NamePlaylistDialog
+ open={renaming}
+ initial={playlist.name}
+ title="Renomear playlist"
+ action="Salvar"
+ onClose={() => setRenaming(false)}
+ onSubmit={(n) => {
+ void lib.renamePlaylist(playlist.id, n);
+ setRenaming(false);
+ }}
+ />
+
+ <Modal open={confirmDelete} onClose={() => setConfirmDelete(false)} title="Excluir playlist?">
+ <p className="text-sm text-fg-2">
+ "{playlist.name}" e a lista de {plural(playlist.tracks.length, "faixa", "faixas")} serão apagadas. Isso não pode ser desfeito.
+ </p>
+ <div className="mt-5 flex justify-end gap-2">
+ <button type="button" onClick={() => setConfirmDelete(false)} className="h-11 rounded-full px-5 text-sm font-medium text-fg-2 hover:text-fg">
+ Cancelar
+ </button>
+ <button
+ type="button"
+ onClick={() => {
+ setConfirmDelete(false);
+ void lib.deletePlaylist(playlist.id);
+ navigate("/biblioteca");
+ }}
+ className="h-11 rounded-full bg-danger px-6 text-sm font-semibold text-white"
+ >
+ Excluir
+ </button>
+ </div>
+ </Modal>
+ </>
+ )}
+ </div>
+ );
+}
diff --git a/web/src/views/Home.tsx b/web/src/views/Home.tsx
new file mode 100644
index 0000000..a4df775
--- /dev/null
+++ b/web/src/views/Home.tsx
@@ -0,0 +1,157 @@
+import { ClockCounterClockwiseIcon, HeartIcon, MagnifyingGlassIcon, PlayIcon } from "@phosphor-icons/react";
+import type { ReactNode } from "react";
+import { Link, useNavigate } from "react-router";
+import { Artwork } from "../components/Artwork";
+import { LogoMark } from "../components/Brand";
+import { PageHeader, Section } from "../components/Page";
+import { TrackList, TrackListSkeleton } from "../components/TrackList";
+import { greeting } from "../lib/format";
+import type { Track } from "../lib/types";
+import { usePlayer } from "../player/player";
+import { useLibrary } from "../stores/library";
+
+function Shortcut({ to, label, tracks, cover }: { to: string; label: string; tracks: Track[]; cover: ReactNode }) {
+ const playList = usePlayer((s) => s.playList);
+ return (
+ <div className="group relative flex h-14 items-center gap-3 overflow-hidden rounded-[12px] bg-surface-2 pr-2 transition-colors hover:bg-surface-3 md:h-16">
+ <Link to={to} className="absolute inset-0" aria-label={label} />
+ <span className="pointer-events-none size-14 shrink-0 overflow-hidden md:size-16">{cover}</span>
+ <span className="pointer-events-none min-w-0 flex-1 truncate text-[13px] font-semibold md:text-sm">{label}</span>
+ {tracks.length > 0 && (
+ <button
+ type="button"
+ onClick={() => playList(tracks, 0)}
+ aria-label={`Tocar ${label}`}
+ className="relative z-10 hidden size-10 shrink-0 place-items-center rounded-full bg-accent text-accent-ink opacity-0 shadow-[0_6px_18px_rgb(0_0_0/0.35)] transition-[opacity,transform] duration-200 ease-out-expo group-hover:opacity-100 hover:scale-105 active:scale-95 md:grid"
+ >
+ <PlayIcon size={18} weight="fill" />
+ </button>
+ )}
+ </div>
+ );
+}
+
+function RecentCard({ track, onPlay }: { track: Track; onPlay: () => void }) {
+ return (
+ <button type="button" onClick={onPlay} className="group flex w-36 shrink-0 snap-start flex-col gap-2 text-left md:w-44">
+ <span className="relative block">
+ <Artwork src={track.art} fallback={track.thumb} className="aspect-square w-full rounded-[14px]" />
+ <span className="absolute right-2 bottom-2 grid size-11 translate-y-1 place-items-center rounded-full bg-accent text-accent-ink opacity-0 shadow-[0_8px_20px_rgb(0_0_0/0.4)] transition-[opacity,transform] duration-200 ease-out-expo group-hover:translate-y-0 group-hover:opacity-100 group-focus-visible:opacity-100">
+ <PlayIcon size={20} weight="fill" />
+ </span>
+ </span>
+ <span className="min-w-0">
+ <span className="block truncate text-sm font-medium">{track.title}</span>
+ <span className="block truncate text-xs text-fg-2">{track.artist}</span>
+ </span>
+ </button>
+ );
+}
+
+export default function Home() {
+ const { favorites, playlists, history, status } = useLibrary();
+ const playList = usePlayer((s) => s.playList);
+ const navigate = useNavigate();
+ const empty = status === "ready" && !favorites.length && !playlists.length && !history.length;
+
+ return (
+ <div className="pb-8">
+ <PageHeader />
+
+ <div className="px-4 pt-2 pb-6 md:px-6 md:pt-8">
+ <h1 className="text-[28px] leading-tight font-semibold tracking-tight md:text-4xl">{greeting()}</h1>
+ </div>
+
+ {status === "loading" && <TrackListSkeleton rows={6} />}
+
+ {empty && (
+ <div className="mx-4 flex flex-col items-start gap-5 rounded-[20px] bg-surface-2 p-6 ring-1 ring-line md:mx-6 md:flex-row md:items-center md:p-8">
+ <span className="grid size-16 shrink-0 place-items-center rounded-[18px] bg-accent text-accent-ink">
+ <LogoMark className="size-10" />
+ </span>
+ <div className="flex-1">
+ <p className="text-xl font-semibold tracking-tight">Comece pela busca</p>
+ <p className="mt-1 max-w-[52ch] text-sm text-fg-2">
+ Procure qualquer música ou clipe do YouTube. Toca como áudio ou vídeo, sem anúncios.
+ </p>
+ </div>
+ <button
+ type="button"
+ onClick={() => navigate("/buscar")}
+ className="flex h-12 items-center gap-2 rounded-full bg-accent pr-6 pl-5 font-semibold text-accent-ink transition-transform active:scale-[0.97]"
+ >
+ <MagnifyingGlassIcon size={20} weight="bold" /> Buscar música
+ </button>
+ </div>
+ )}
+
+ {!empty && status === "ready" && (
+ <div className="flex flex-col gap-10">
+ <div className="grid grid-cols-2 gap-2 px-4 md:px-6 lg:grid-cols-3 2xl:grid-cols-4">
+ <Shortcut
+ to="/favoritas"
+ label="Favoritas"
+ tracks={favorites}
+ cover={
+ <span className="grid size-full place-items-center bg-accent-soft text-accent-text">
+ <HeartIcon size={24} weight="fill" />
+ </span>
+ }
+ />
+ <Shortcut
+ to="/historico"
+ label="Tocadas recentemente"
+ tracks={history}
+ cover={
+ <span className="grid size-full place-items-center bg-surface-3 text-fg-2">
+ <ClockCounterClockwiseIcon size={24} />
+ </span>
+ }
+ />
+ {playlists.slice(0, 6).map((p) => (
+ <Shortcut
+ key={p.id}
+ to={`/playlist/${p.id}`}
+ label={p.name}
+ tracks={p.tracks}
+ cover={<Artwork src={p.tracks[0]?.thumb} className="size-full" />}
+ />
+ ))}
+ </div>
+
+ {history.length > 0 && (
+ <Section
+ title="Tocadas recentemente"
+ action={
+ <Link to="/historico" className="text-sm font-medium text-fg-2 hover:text-fg">
+ Ver tudo
+ </Link>
+ }
+ >
+ <div className="no-scrollbar flex snap-x snap-mandatory scroll-px-4 gap-4 overflow-x-auto px-4 md:scroll-px-6 md:px-6">
+ {history.slice(0, 16).map((t, i) => (
+ <RecentCard key={t.id} track={t} onPlay={() => playList(history, i)} />
+ ))}
+ </div>
+ </Section>
+ )}
+
+ {favorites.length > 0 && (
+ <Section
+ title="Suas favoritas"
+ action={
+ <Link to="/favoritas" className="text-sm font-medium text-fg-2 hover:text-fg">
+ Ver tudo
+ </Link>
+ }
+ >
+ <div className="px-2 md:px-3">
+ <TrackList tracks={favorites.slice(0, 5)} context={favorites} header={false} showAlbum={false} />
+ </div>
+ </Section>
+ )}
+ </div>
+ )}
+ </div>
+ );
+}
diff --git a/web/src/views/Library.tsx b/web/src/views/Library.tsx
new file mode 100644
index 0000000..7df0631
--- /dev/null
+++ b/web/src/views/Library.tsx
@@ -0,0 +1,96 @@
+import { DatabaseIcon, PlusIcon } from "@phosphor-icons/react";
+import { useState } from "react";
+import { Link, useNavigate } from "react-router";
+import { Cover, type CoverKind } from "../components/Cover";
+import { NamePlaylistDialog } from "../components/Dialogs";
+import { PageHeader } from "../components/Page";
+import { plural } from "../lib/format";
+import type { Track } from "../lib/types";
+import { IconButton } from "../components/IconButton";
+import { useLibrary } from "../stores/library";
+import { useUi } from "../stores/ui";
+
+function Entry({ to, name, kind, tracks, sub }: { to: string; name: string; kind: CoverKind; tracks: Track[]; sub: string }) {
+ return (
+ <li>
+ <Link
+ to={to}
+ className="group flex items-center gap-3 rounded-[16px] p-2 transition-colors hover:bg-surface-2 md:flex-col md:items-stretch md:gap-3 md:p-3"
+ >
+ <Cover
+ kind={kind}
+ tracks={tracks}
+ iconSize={26}
+ className="size-16 shrink-0 rounded-[12px] md:aspect-square md:size-auto md:w-full md:rounded-[14px] md:shadow-[0_12px_32px_rgb(0_0_0/0.3)]"
+ />
+ <span className="min-w-0">
+ <span className="block truncate font-medium">{name}</span>
+ <span className="block truncate text-sm text-fg-2">{sub}</span>
+ </span>
+ </Link>
+ </li>
+ );
+}
+
+export default function Library() {
+ const { favorites, playlists, history, createPlaylist } = useLibrary();
+ const [creating, setCreating] = useState(false);
+ const setSettingsOpen = useUi((s) => s.setSettingsOpen);
+ const navigate = useNavigate();
+
+ return (
+ <div className="pb-8">
+ <PageHeader
+ title="Biblioteca"
+ actions={
+ <>
+ <IconButton label="Backup da biblioteca (exportar ou importar)" onClick={() => setSettingsOpen(true)}>
+ <DatabaseIcon size={20} />
+ </IconButton>
+ <button
+ type="button"
+ onClick={() => setCreating(true)}
+ className="flex h-10 items-center gap-1.5 rounded-full bg-accent pr-4 pl-3 text-sm font-semibold text-accent-ink transition-transform active:scale-[0.97]"
+ >
+ <PlusIcon size={18} weight="bold" /> <span className="hidden sm:inline">Nova playlist</span>
+ <span className="sm:hidden">Nova</span>
+ </button>
+ </>
+ }
+ />
+
+ <ul className="grid grid-cols-1 gap-1 px-2 pt-2 md:grid-cols-3 md:gap-2 md:px-4 lg:grid-cols-4 2xl:grid-cols-6">
+ <Entry to="/favoritas" name="Favoritas" kind="favorites" tracks={favorites} sub={plural(favorites.length, "faixa", "faixas")} />
+ <Entry to="/historico" name="Tocadas recentemente" kind="history" tracks={history} sub={plural(history.length, "faixa", "faixas")} />
+ {playlists.map((p) => (
+ <Entry
+ key={p.id}
+ to={`/playlist/${p.id}`}
+ name={p.name}
+ kind="playlist"
+ tracks={p.tracks}
+ sub={`Playlist · ${plural(p.tracks.length, "faixa", "faixas")}`}
+ />
+ ))}
+ </ul>
+
+ {playlists.length === 0 && (
+ <p className="px-4 pt-6 text-sm text-fg-2 md:px-6">
+ Você ainda não tem playlists. Crie uma aqui ou use o menu de qualquer faixa para começar uma.
+ </p>
+ )}
+
+ <NamePlaylistDialog
+ open={creating}
+ title="Nova playlist"
+ action="Criar"
+ onClose={() => setCreating(false)}
+ onSubmit={async (name) => {
+ const p = await createPlaylist(name);
+ setCreating(false);
+ if (p) navigate(`/playlist/${p.id}`);
+ }}
+ />
+ </div>
+ );
+}
diff --git a/web/src/views/Search.tsx b/web/src/views/Search.tsx
new file mode 100644
index 0000000..de54282
--- /dev/null
+++ b/web/src/views/Search.tsx
@@ -0,0 +1,338 @@
+import { ArrowUpLeftIcon, LinkIcon, MagnifyingGlassIcon, PlayIcon, WarningCircleIcon, XIcon } from "@phosphor-icons/react";
+import { useEffect, useRef, useState } from "react";
+import { useSearchParams } from "react-router";
+import { Artwork } from "../components/Artwork";
+import { EmptyState, PageHeader } from "../components/Page";
+import { TrackList, TrackListSkeleton } from "../components/TrackList";
+import { MD, useMediaQuery } from "../hooks/useMediaQuery";
+import { api } from "../lib/api";
+import { cn } from "../lib/format";
+import type { Track } from "../lib/types";
+import { usePlayer } from "../player/player";
+
+const RECENT_KEY = "musike:recent-searches";
+
+function readRecent(): string[] {
+ try {
+ return JSON.parse(localStorage.getItem(RECENT_KEY) ?? "[]") as string[];
+ } catch {
+ return [];
+ }
+}
+
+function saveRecent(list: string[]) {
+ try {
+ localStorage.setItem(RECENT_KEY, JSON.stringify(list));
+ } catch {
+ /* private mode */
+ }
+}
+
+/** Accepts youtube.com/watch?v=, youtu.be/, music.youtube.com and /shorts/ links. */
+function videoIdFromUrl(text: string): string | null {
+ try {
+ const url = new URL(text.trim());
+ if (!/(^|\.)youtube\.com$|^youtu\.be$/.test(url.hostname)) return null;
+ const id = url.hostname === "youtu.be" ? url.pathname.slice(1) : url.searchParams.get("v") ?? url.pathname.split("/shorts/")[1];
+ return id && /^[A-Za-z0-9_-]{11}$/.test(id.slice(0, 11)) ? id.slice(0, 11) : null;
+ } catch {
+ return null;
+ }
+}
+
+type Kind = "song" | "video";
+
+export default function Search() {
+ const [params, setParams] = useSearchParams();
+ const q = params.get("q") ?? "";
+ const kind: Kind = params.get("tipo") === "videos" ? "video" : "song";
+ const [text, setText] = useState(q);
+ const [results, setResults] = useState<Track[] | null>(null);
+ const [state, setState] = useState<"idle" | "loading" | "ok" | "error">("idle");
+ const [error, setError] = useState("");
+ const [suggestions, setSuggestions] = useState<string[]>([]);
+ const [recent, setRecent] = useState(readRecent);
+ const [linkTrack, setLinkTrack] = useState<Track | "loading" | "error" | null>(null);
+ const [retry, setRetry] = useState(0);
+ const input = useRef<HTMLInputElement>(null);
+ const isMd = useMediaQuery(MD);
+ const playTrack = usePlayer((s) => s.playTrack);
+
+ const linkId = videoIdFromUrl(text);
+
+ const setQuery = (next: string, nextKind = kind) => {
+ const p = new URLSearchParams();
+ if (next.trim()) p.set("q", next.trim());
+ if (nextKind === "video") p.set("tipo", "videos");
+ setParams(p, { replace: true });
+ };
+
+ // Keep the box in sync when navigating back to an earlier query (without eating a trailing space while typing).
+ useEffect(() => setText((t) => (t.trim() === q ? t : q)), [q]);
+
+ // Search as you type, debounced.
+ useEffect(() => {
+ if (linkId || text.trim() === q) return;
+ const t = setTimeout(() => setQuery(text), 380);
+ return () => clearTimeout(t);
+ }, [text]);
+
+ useEffect(() => {
+ if (!q) {
+ setResults(null);
+ setState("idle");
+ return;
+ }
+ const ctrl = new AbortController();
+ setState("loading");
+ api
+ .search(q, kind, ctrl.signal)
+ .then((tracks) => {
+ setResults(tracks);
+ setState("ok");
+ const next = [q, ...readRecent().filter((r) => r.toLowerCase() !== q.toLowerCase())].slice(0, 8);
+ saveRecent(next);
+ setRecent(next);
+ })
+ .catch((e: Error) => {
+ if (e.name === "AbortError") return;
+ setError(e.message);
+ setState("error");
+ });
+ return () => ctrl.abort();
+ }, [q, kind, retry]);
+
+ useEffect(() => {
+ const term = text.trim();
+ if (!term || linkId) return setSuggestions([]);
+ const ctrl = new AbortController();
+ const t = setTimeout(() => {
+ api
+ .suggest(term, ctrl.signal)
+ .then((s) => setSuggestions(s.filter((x) => x.toLowerCase() !== term.toLowerCase()).slice(0, 6)))
+ .catch(() => {});
+ }, 140);
+ return () => {
+ clearTimeout(t);
+ ctrl.abort();
+ };
+ }, [text, linkId]);
+
+ useEffect(() => {
+ if (!linkId) return setLinkTrack(null);
+ const ctrl = new AbortController();
+ setLinkTrack("loading");
+ api
+ .prepare(linkId, ctrl.signal)
+ .then((r) =>
+ setLinkTrack({
+ id: r.id,
+ title: r.title,
+ artist: "Link do YouTube",
+ duration: r.duration,
+ thumb: `https://i.ytimg.com/vi/${r.id}/mqdefault.jpg`,
+ art: `https://i.ytimg.com/vi/${r.id}/hq720.jpg`,
+ kind: "video",
+ }),
+ )
+ .catch((e: Error) => e.name !== "AbortError" && setLinkTrack("error"));
+ return () => ctrl.abort();
+ }, [linkId]);
+
+ useEffect(() => {
+ if (isMd && !q) input.current?.focus();
+ }, []);
+
+ const tab = (k: Kind, label: string) => (
+ <button
+ type="button"
+ role="tab"
+ aria-selected={kind === k}
+ onClick={() => setQuery(text || q, k)}
+ className={cn(
+ "h-9 rounded-full px-4 text-sm font-medium transition-colors duration-200",
+ kind === k ? "bg-fg text-bg" : "bg-surface-3 text-fg-2 hover:text-fg",
+ )}
+ >
+ {label}
+ </button>
+ );
+
+ return (
+ <div className="pb-8">
+ <PageHeader title="Buscar" />
+
+ <div className="flex flex-col gap-3 px-4 pt-1 md:px-6">
+ <form
+ role="search"
+ onSubmit={(e) => {
+ e.preventDefault();
+ input.current?.blur();
+ if (!linkId) setQuery(text);
+ }}
+ className="relative"
+ >
+ <label htmlFor="search-input" className="sr-only">
+ Buscar músicas, artistas, vídeos ou colar um link do YouTube
+ </label>
+ <MagnifyingGlassIcon size={20} className="pointer-events-none absolute top-1/2 left-4 -translate-y-1/2 text-fg-2" />
+ <input
+ id="search-input"
+ ref={input}
+ type="search"
+ inputMode="search"
+ enterKeyHint="search"
+ autoComplete="off"
+ value={text}
+ onChange={(e) => setText(e.target.value)}
+ placeholder="Músicas, artistas ou link do YouTube"
+ className="h-12 w-full rounded-full border border-line-strong bg-surface-2 pr-24 pl-12 text-[16px] placeholder:text-fg-3 focus:border-accent focus:bg-surface-1 focus:outline-none md:h-13 [&::-webkit-search-cancel-button]:hidden"
+ />
+ <div className="absolute top-1/2 right-2 flex -translate-y-1/2 items-center gap-2">
+ {!text && <kbd className="kbd hidden md:inline">/</kbd>}
+ {text && (
+ <button
+ type="button"
+ onClick={() => {
+ setText("");
+ setQuery("");
+ input.current?.focus();
+ }}
+ aria-label="Limpar busca"
+ className="grid size-9 place-items-center rounded-full text-fg-2 hover:bg-surface-3 hover:text-fg"
+ >
+ <XIcon size={18} />
+ </button>
+ )}
+ </div>
+ </form>
+
+ {suggestions.length > 0 && (
+ <div className="no-scrollbar -mx-4 flex gap-2 overflow-x-auto px-4 md:mx-0 md:flex-wrap md:px-0">
+ {suggestions.map((s) => (
+ <button
+ key={s}
+ type="button"
+ onClick={() => {
+ setText(s);
+ setQuery(s);
+ }}
+ className="flex h-8 shrink-0 items-center gap-1.5 rounded-full bg-surface-2 px-3 text-[13px] text-fg-2 ring-1 ring-line transition-colors hover:text-fg"
+ >
+ <ArrowUpLeftIcon size={13} className="text-fg-3" /> {s}
+ </button>
+ ))}
+ </div>
+ )}
+
+ {!linkId && (
+ <div role="tablist" aria-label="Tipo de resultado" className="flex gap-2">
+ {tab("song", "Músicas")}
+ {tab("video", "Vídeos")}
+ </div>
+ )}
+ </div>
+
+ <div className="mt-4 px-2 md:px-3">
+ {linkId && (
+ <div className="px-2 md:px-3">
+ {linkTrack === "loading" && <TrackListSkeleton rows={1} />}
+ {linkTrack && linkTrack !== "loading" && linkTrack !== "error" && (
+ <button
+ type="button"
+ onClick={() => playTrack(linkTrack)}
+ className="flex w-full items-center gap-4 rounded-[16px] bg-surface-2 p-3 text-left ring-1 ring-line transition-colors hover:bg-surface-3"
+ >
+ <Artwork src={linkTrack.thumb} className="aspect-video w-28 rounded-[10px] md:w-36" />
+ <span className="min-w-0 flex-1">
+ <span className="flex items-center gap-1.5 text-xs font-medium text-accent-text">
+ <LinkIcon size={14} /> Link do YouTube
+ </span>
+ <span className="mt-1 line-clamp-2 font-medium">{linkTrack.title}</span>
+ </span>
+ <span className="grid size-12 shrink-0 place-items-center rounded-full bg-accent text-accent-ink">
+ <PlayIcon size={22} weight="fill" />
+ </span>
+ </button>
+ )}
+ {linkTrack === "error" && (
+ <p className="px-1 py-6 text-sm text-fg-2">Não foi possível abrir esse link. Confira se o vídeo é público.</p>
+ )}
+ </div>
+ )}
+
+ {!linkId && state === "loading" && <TrackListSkeleton />}
+
+ {!linkId && state === "error" && (
+ <EmptyState
+ icon={<WarningCircleIcon size={28} />}
+ title="A busca falhou"
+ body={error}
+ action={
+ <button
+ type="button"
+ onClick={() => setRetry((n) => n + 1)}
+ className="mt-2 h-11 rounded-full bg-surface-3 px-6 text-sm font-medium hover:bg-surface-4"
+ >
+ Tentar de novo
+ </button>
+ }
+ />
+ )}
+
+ {!linkId && state === "ok" && results && results.length === 0 && (
+ <EmptyState
+ icon={<MagnifyingGlassIcon size={28} />}
+ title="Nada encontrado"
+ body={`Nenhum resultado para "${q}". Tente outro termo ou a aba ${kind === "song" ? "Vídeos" : "Músicas"}.`}
+ />
+ )}
+
+ {!linkId && state === "ok" && results && results.length > 0 && <TrackList tracks={results} showAlbum={kind === "song"} />}
+
+ {!linkId && state === "idle" && (
+ <div className="px-2 md:px-3">
+ {recent.length > 0 ? (
+ <div className="flex flex-col gap-3">
+ <div className="flex items-center justify-between">
+ <h2 className="text-lg font-semibold tracking-tight">Buscas recentes</h2>
+ <button
+ type="button"
+ onClick={() => {
+ saveRecent([]);
+ setRecent([]);
+ }}
+ className="text-sm font-medium text-fg-2 hover:text-fg"
+ >
+ Limpar
+ </button>
+ </div>
+ <div className="flex flex-wrap gap-2">
+ {recent.map((r) => (
+ <button
+ key={r}
+ type="button"
+ onClick={() => {
+ setText(r);
+ setQuery(r);
+ }}
+ className="h-10 rounded-full bg-surface-2 px-4 text-sm ring-1 ring-line transition-colors hover:bg-surface-3"
+ >
+ {r}
+ </button>
+ ))}
+ </div>
+ </div>
+ ) : (
+ <EmptyState
+ icon={<MagnifyingGlassIcon size={28} />}
+ title="O que vai tocar hoje?"
+ body="Busque por música, artista ou álbum. Para clipes e ao vivo, use a aba Vídeos. Também dá para colar um link do YouTube."
+ />
+ )}
+ </div>
+ )}
+ </div>
+ </div>
+ );
+}
diff --git a/web/src/vite-env.d.ts b/web/src/vite-env.d.ts
new file mode 100644
index 0000000..eb4be86
--- /dev/null
+++ b/web/src/vite-env.d.ts
@@ -0,0 +1,2 @@
+/** App version from web/package.json, injected by Vite (see vite.config.ts). */
+declare const __APP_VERSION__: string;
diff --git a/web/tsconfig.json b/web/tsconfig.json
new file mode 100644
index 0000000..28c0ffe
--- /dev/null
+++ b/web/tsconfig.json
@@ -0,0 +1,17 @@
+{
+ "compilerOptions": {
+ "target": "ES2023",
+ "lib": ["ES2023", "DOM", "DOM.Iterable"],
+ "module": "ESNext",
+ "moduleResolution": "Bundler",
+ "jsx": "react-jsx",
+ "strict": true,
+ "noUnusedLocals": true,
+ "noUnusedParameters": true,
+ "skipLibCheck": true,
+ "noEmit": true,
+ "isolatedModules": true,
+ "types": ["vite/client", "vite-plugin-pwa/client"]
+ },
+ "include": ["src", "vite.config.ts"]
+}
diff --git a/web/vite.config.ts b/web/vite.config.ts
new file mode 100644
index 0000000..f9419c8
--- /dev/null
+++ b/web/vite.config.ts
@@ -0,0 +1,55 @@
+import { readFileSync } from "node:fs";
+import tailwindcss from "@tailwindcss/vite";
+import react from "@vitejs/plugin-react";
+import { defineConfig } from "vite";
+import { VitePWA } from "vite-plugin-pwa";
+
+const { version } = JSON.parse(readFileSync(new URL("./package.json", import.meta.url), "utf8")) as { version: string };
+
+export default defineConfig({
+ define: { __APP_VERSION__: JSON.stringify(version) },
+ plugins: [
+ react(),
+ tailwindcss(),
+ VitePWA({
+ registerType: "autoUpdate",
+ includeAssets: ["favicon.svg", "apple-touch-icon.png"],
+ manifest: {
+ name: "Musike",
+ short_name: "Musike",
+ description: "Sua música, sem interrupção.",
+ lang: "pt-BR",
+ theme_color: "#0B0C0F",
+ background_color: "#0B0C0F",
+ display: "standalone",
+ start_url: "/",
+ icons: [
+ { src: "icon-192.png", sizes: "192x192", type: "image/png" },
+ { src: "icon-512.png", sizes: "512x512", type: "image/png" },
+ { src: "icon-maskable-512.png", sizes: "512x512", type: "image/png", purpose: "maskable" },
+ ],
+ },
+ workbox: {
+ navigateFallbackDenylist: [/^\/api\//],
+ runtimeCaching: [
+ {
+ // Artwork only. Streams and API responses are never cached by the service worker.
+ urlPattern: ({ url }) => /(^|\.)ytimg\.com$|googleusercontent\.com$|ggpht\.com$/.test(url.hostname),
+ handler: "CacheFirst",
+ options: {
+ cacheName: "artwork",
+ expiration: { maxEntries: 600, maxAgeSeconds: 60 * 60 * 24 * 30 },
+ cacheableResponse: { statuses: [0, 200] },
+ },
+ },
+ ],
+ },
+ }),
+ ],
+ server: {
+ proxy: { "/api": "http://127.0.0.1:4180" },
+ },
+ preview: {
+ proxy: { "/api": "http://127.0.0.1:4180" },
+ },
+});